/* 
	External website stylesheet
	April 2018
	Live site 
*/

/* stylesheets[(min-width: 360px) and (max-width: 539px)][] = includes/css/jameshutton320.css */
/* Page structural elements */
body {
/* 	border: 1px red solid !important;
	background-image: url(../../images/structural/320width.png) !important;	*/
	min-width: 320px;
	max-width: 539px;
}

#outer_wrapper {
	margin-left: auto !important;
	margin-right: auto !important;
}

#header {
	margin-left: auto;
	margin-right: auto;
	width: 100% !important;
/*	background-image: url(../../images/structural/360width.png) !important;
	background-repeat: repeat; */
}

/* navigation menu rules */

/* hide the main navigation first on mobile page load - 2019 01 09 */
/*#block-menu-primary-links {display: none;} */

#block-menu-primary-links ul.menu {
/*	max-width: 360px; */
	
	height: auto;
}
/*  https://medialoot.com/blog/how-to-create-a-responsive-navigation-menu-using-only-css/ 
	http://cssmenumaker.com/blog/responsive-menu-tutorial/


*/
#block-menu-primary-links ul.menu > li {float: none; width: 100%; display: block;}
#block-menu-primary-links ul.menu a { line-height: 20px; }
#block-menu-primary-links ul.menu ul { position: relative;}

/* #block-menu-primary-links ul.menu li.tap { background: #555;  }
#block-menu-primary-links ul.menu li.tap ul { display: block;  } */

#block-menu-primary-links ul.menu > li  > ul.menu  {float: none; width: 100%; border: 1px red dashed; display:none;}
#block-menu-primary-links ul.menu > li  > ul.menu  > li {float: none; width: 100%; border: 1px red dashed; display:none;}


/* UN categories */
/*.header-icons {margin-left: 3px !important;} */
#header-icons-outer img, #header-social-icons-outer img, #footer-social-icons-outer img {
	width: 20px !important;
	height: auto !important;
}
.header-icons {
	/* margin-left: 30px; commented out 2018 11 29 */
	padding: 0px 1px 0px 1px !important;
	width: 20px !important;
	height: auto !important;
	display: none !important;
}

/* Social Icons */
/* Footer */
#footer-social-icons-outer {
/*	float: left;	 */
	clear: both;
/*	padding-left: 10px; */
	padding-top: 10px;
}

#footer-social-icons-outer  ul li, #header-social-icons-outer  ul li  {
    display: inline;
    float: left;
    list-style-type: none;
}

#footer-social-icons-outer ul li.footer-social-icons {
	margin-right: 20px;
}

/* Header */

#block-block-35 {
	max-width: 95% !important;
	min-height: 30px !important;
	
}

#header-social-icons-outer {
	float: right;
 	 /* border: 1px dashed gray;*/
	margin-left: 10px;
	margin-top: unset !important;
	margin-bottom: 10px;
/* 	display: none !important;*/
}

#header-social-icons-outer ul li.header-social-icons {
	/* margin-left: 20px; */
	margin-left: 5px !important;
}

#header-social-icons-outer ul li.header-social-icons img#header-social-icons-ibh, 
#header-social-icons-outer ul li.header-social-icons img#header-social-icons-apgc {
	height: 25px !important;
	width: auto !important;
}

#branding {
	width: 25% !important;
	padding-left: 5px;
	padding-top: 5px;
}

#branding img {
	width: 75% !important;
	height: auto !important;
}
/* search box */
#form-search-cont {
	clear: both !important;
	max-height: 25px; !important;
}

#block-block-2 {
	max-width: 90px !important;
}

/* search box */
#form-search-cont #search-text {
  float: right;
  margin: 0;
  width: 130px;
  padding: 3px 90px 3px 8px !important;
  font-style: italic;
  border-radius: 0px;
  color: #888;
  border: 1px solid #ddd;
}

/* spyglass search button */
#form-search-cont #search-submit {
  max-width: 25px !important;
  max-height: 25px !important;
  border: none;
  padding: 0;
  margin: 0;
  float: right;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0px !important; /*	set border radius to be 0px - 2016 12 16 - Andrew Thorburn */
}

/* Search results - 2019 05 10 */
#column-left div#search-form #edit-keys {
	width: 360px !important;
}

/* breadcrumbs */

#breadcrumbs {
  /* margin: 22px 0; */
  padding-top: 5px !important; /* was 20px - updated 2021 10 21 to 5px from 40px */
  padding-left: 5px !important;
  padding-bottom: 0px !important; /* was 20px */

/*  background-color: #FFFFFF; Commented out 2016 11 18 - Andrew Thorburn */
/*  box-shadow:0 1px 1px #aaa, 0 0 1px #aaa inset; */
}

#wrapper {
	width: 100% !important;
}

#main {
	width: 100% !important;
	margin-left: auto;
	margin-right: auto;
}

/* hiding the twitter block */
#column-right {
	display: none !important;
}

#column-left {
	width: 99% !important; 
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Social Bar */
#nav-social a, #nav-social span {
  margin: 0px !important;
  padding: 6px;
  color: #fff;
  cursor: pointer;
}

/* Node default styling
 ---------------------------------------------- */
#column-left div.node ul , #column-left div.node ol  {
  margin: 0 0 15px 15px !important;
}

#footer {
    position: relative;
    clear: both;
/*    width: 360px !important; */
    margin: 0 0 0;
    padding: 0;
    z-index: 10;
/*    box-shadow: 0 1px 1px #aaa, 0 0 1px #aaa inset; */
}


/* Rules to format the awards section - 2018 03 21 */
#footer_awards_outer{
	text-align:center;
}
#footer_awards {
/*	display:inline-block; commented out 2019 04 22 */
	vertical-align:top;
}
#footer_awards_athenaswan  img {
	height: auto !important;
    width: auto !important;
	}
#footer_awards_stonewall img {
	height: auto !important;
    width: auto !important;
	}
.footer_award_logos  img{
	float: left !important;
	margin: 5px;
	max-width: 40% !important;
	height: auto !important;
}

#footer_kings_award {
	text-align: center;
}

#footer_kings_award img {
	width: 180px;
	height: auto;
	max-width: 180px;
	max-height: 180px;
}


/* Font sizes */
h1 {
/*	font-size: 1.5em !important; commented out 2021 10 21 */
}

/* Front page news section */

.front-page-news-title {
/*    border: 1px red dashed; */
    color: #555559;
    font-weight: bold;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
/*    max-width: 250px; */
	max-width: 100% !important;
    min-height: 30px !important;
/*	padding-left: 5px; commented out 2019 04 22 */
}


div.front-page-news-date {
/*    border: 1px blue dashed; */
    color: #555559;
    margin-left: auto;
    margin-right: auto;
	font-size: 0.8em;
	max-width: 100% !important;
/*	padding-left: 5px; commented out 2019 04 22 */
}

div.front-page-news-item {
    margin-bottom: 10px !important;
}

div.front-page-news-photo img {

    display: block;
    margin: auto !important;
    max-width: 100% !important; /**/
    height: auto;

}

/* News and Events Index Page
 ---------------------------------------------- */
/* News page 2017 11 30 */
.news-index-title, .events-index-title {
    font-size: 0.8em !important;
    font-weight: bold; 
}
/* teaser section on news index page */
div.index-list div.view-content p.teaser,
div.view-display-id-block_2 div.view-content p.teaser {
	  width: 100% !important;
	  height: auto;
	  min-height: 80px;
	  margin: 5px 0 0 0;
}

#main div.index-list div.view-content div.more,
#main div.view-display-id-block_2 div.view-content div.more {
  text-align: right;
  width: 95% !important;
  padding-right: 15px !important;
}

div.field-field-event-picture, div.field-field-event-picture img {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	margin: 0px !important;
	float: unset !important;
}

#column-left div.content fieldset.group-event-details {
	background-color: #f0f0f0;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    padding: 5px !important;
    margin-bottom: 5px !important;
/*    min-height: 60px !important; */
}
	


/* Staff Index page */

#column-left .content fieldset {
/*	width: 320px !important; */
}

/* Start of Staff Photo Matrix
 ---------------------------------------------- */
#block-views-Staff-block_4 {
}

[id^="block-views-Staff-block_"] {
/*	border: 1px dashed green; */
}

#block-views-Staff-block_4 div.view div.view-content ul {
  list-style-type: none;
  list-style-image: none;
  margin: 0 0 25px 0;
  padding: 0;
}
#block-views-Staff-block_4 div.view div.view-content ul li  {
  display: block;
  float: left;
  margin-top: 22px;
  margin-right: unset !important;
  width: 50% !important;
}
#block-views-Staff-block_4 div.view div.view-content ul li h3  {
  margin-bottom: 8px;
  font-size: 13px;
}
#block-views-Staff-block_4 div.view div.view-content ul li h3 a {
  color: #333;
  font-weight: bold;
}
#block-views-Staff-block_4 div.view div.view-content ul li .staff-thumb  {
  display: block;
  height: auto !important;
  width: auto !important;
/*  height: 139px;
  width: 183px; */
  border: 1px solid #e6e6e6; /* item added to give an outline to the staff photo gallery thumbnails - 2016 11 16 - Andrew Thorburn */
}
#block-views-Staff-block_4 div.view div.view-content ul li .staff-thumb img , .postgradphoto .staff-thumb img, #body-working .working-profile-row img{
/*  width: 168px;
  height: 122px; */
  height: auto !important;
  width: auto !important;
  padding: 5px 0 0 5px;
  border: none;
  margin: 0;
  max-width: 120px !important;
}

/* End of Staff Photo Matrix
 ---------------------------------------------- */

.group-page-img-quote .field-field-page-image {
/*	border: 1px red solid; */
	width: auto !important;
	height: auto !important;
	float: unset !important;
}

.group-page-img-quote .field-field-page-quote {
	width: 90% !important;
	padding-bottom: 5px !important;
	margin-left: 0px !important;
	margin-right: 0px !important;
	float: unset !important;
}

#body-staff #staff-search {
/*	max-width: 320px !important; */
	word-wrap: break-word;
}

#column-left div ul.pager li {
	line-height: 1.5em;
}

/* Staff page - basic details */
.group-staff-contact {
	/*border: 1px red solid !important;*/
	width: auto !important;
	max-width: 100% !important;
	margin: 0px !important;
	padding: 0px !important;
	float: unset !important;
	}
.group-staff-contact img {
	width: 75% !important;
	height: auto !important; /**/
}

#field-field-staff-picture {
/* 	width: 75% !important;
	height: 75% !important;
	float: right;*/
	width: 75% !important;
	height: 75% !important;
	margin-left: auto;
	margin-right: auto;
}

.field-field-staff-department,
.field-field-staff-role,
.field-field-staff-email,
.field-field-staff-office-tel,
.field-field-staff-address,
.group-staff-contact,
.field-field-staff-programme,
.publication-links,
.field-field-news-date {
/*    display: block;
    margin-right: 10px;
    float: right;
    clear: right;
    max-width: 50% !important;*/
	width: 100% !important;
/*	padding-left: 10px !important; */
	padding-left: 0px !important;
}

/* Senior Management Page */

span.image img {
	width: 75% !important;
	height: auto !important;
}

span.image, span.image span.image-top {
	width: 40% !important;
	height: auto;
	margin-left: 0px !important;
	margin-bottom: 5px;
}

/* Staff Profile Pages */
.staff-profile-row, .working-profile-row {
	height: auto !important;
}

.staff-profile-row img {
	max-width: 100px !important;
}

/* Postgraduate pages */
.postgradphoto {

    float: right;
    padding: 5px;
/*    background: transparent url("../../images/structural/photo-small-bg.gif") no-repeat scroll left top; */
    display: block;
/*    height: 139px;
    width: 183px; */
	height: auto !important;
    width: auto !important;
	max-width: 150px !important;

}

/* Blogs pages */

.page-blogs img, .node-type-blog img {
	width: 100% !important;
	height: auto !important;
	margin-left: auto !important;	
	margin-right: auto !important;
}

.addtoanylink img {
	width: auto !important;
	height: auto !important;
}

.thumb {
	width: 100px !important;
	float: right;
	padding: 5px;
}

.thumb img {
	width: auto !important;
	height: auto !important;
	margin-left: auto !important;	
	margin-right: auto !important;
	float: right;
}

#segsfeedburner, #waterresearchfeedburner {
    float: unset !important;
    width: 100% !important;
    padding-left: 10px;
    font-size: .8em;
    z-index: 9999;
}

#edit-keys-wrapper input[type="text"] {
    width: 190px;
}

#edit-submit-blogs {
    width: 30px;
	height: auto;
}

/* Images on pages */
#body-senior img,
#body-news .news-item img,
#body-events .news-item img,
.news-item img, 
#body-research .research_partner_logo .imagecache-research_partners_thumb, 
#body-games img,
#body-weather img,
#body-exhibits img{
	max-width: 100px !important;
}

/* ExploreScotland */
/*.imageholderexplorescotland, .imageholderexplorescotland img  {
	max-width: 100px !important; */
}

/* Research Partners */
.research_partner_logo {
	width: 100% !important;
}

/* News detail page */
#column-left .content .group-news-image-quote {
/*	max-width: 290px !important; */ 
}

#column-left .content .field-field-news-image  {
/*	max-width: 285px !important; */
	width: 95% !important;
	height: auto !important;
/*	border: 1px red solid !important; */
	float: unset !important;
}

#column-left .content .field-field-news-image img{
	width: 100% !important;
	height: auto !important;
}

.group-news-image-quote .field-field-news-quote {
	width: 100% !important; /**/
	padding-bottom: 5px !important;
	margin-left: 0px !important;
	margin-right: 0px !important;
	float: unset !important;
	line-height: 160% !important;
}

/* Research Page */
#column-left .content .group-research-image-quote {
/*	max-width: 290px !important; */
}

#column-left .content .field-field-research-image  {
/*	max-width: 285px !important;
	width: 95% !important; */
	height: auto !important;
/*	border: 1px red solid !important; */
	float: unset !important;
}

#column-left .content .field-field-research-image img{
	width: 100% !important;
	height: auto !important;
}

.group-page-img-quote .field-field-research-quote {
/*	width: 90% !important; */
	padding-bottom: 5px !important;
	margin-left: 0px !important;
	margin-right: 0px !important;
	float: unset !important;
}

/* Footer */
#footer-middle .column {
	width: 95% !important;
}

#footer-middle .column {
	padding-left: 0px !important;
}

#footer-middle ul.menu li {
	margin: 10px !important;
}

#contactdetails ul li {
	padding: 5px !important;
}

.footer-charity-text {
	width: 95% !important;
	margin-left: auto !important;	
	margin-right: auto !important;
}

#footer-bottom .copyright {
	float: unset !important;
}


/*	Updated Front page Science group layout - 2016 11 26 - Andrew Thorburn */
.view-front-page-science-groups {
/*	width: 350px !important; 
	max-width: 350px !important;*/
	clear: both;
/*	border: 1px solid red; */
	display: table;
	table-layout: auto !important;
/*	margin: 0px !important; */
}

.view-front-page-science-groups .view-content {
	background-color: #555559;
}


div.front-page-science-group {
	margin: auto;
/*    text-align: center; */
	display: table-cell;
	width: 20%;
}

div.front-page-science-group-photo img {
	display: block;
	margin: auto;
    flex-shrink: 0;
    width: 25% !important;
    height: 25% !important;
	float: left !important;
	padding: 5px;
}

div.front-page-science-group-link {
    background-color: #555559;
    height: 65px !important;
	max-height: 65px !important;
	min-height: 65px !important;
    padding: 2px !important;
}

div.front-page-science-group-link h3, div.front-page-science-group-link h3 a  {
	color: #FFFFFF;
/*	float: left; */
	font-weight: bold;
	text-decoration: none;
	margin: auto;
	padding-top: 0.5em  !important;
/*	font-size: 1em !important;
	word-wrap: break-word !important;
	word-break: break-all; */
}

.view-front-page-science-groups .views-fluid-grid-item {
	max-width: 100% !important;
	width: 100% !important;
}

ul.views-fluid-grid-items-v-margin-2em li.views-fluid-grid-item,  ul.views-fluid-grid-items-h-margin-4em li.views-fluid-grid-item{
/*	margin-top: 0em !important;
	margin-bottom: 0em !important; */
	margin: 0em !important;
}

.front-page-science-group-title {
	padding: 10px;
}

table.views-view-grid  {
  max-width: 350px !important;
  }
  
#front-page-slideshow-outer {}
#front-page-news-slideshow-image {
/*	min-height: 300px !important; commented out 2019 04 03 */
	min-height: 115px !important;
}

#front-page-news-slideshow-title h3 a {
	margin-top: 0px !important;
}
  
#block-views-News-block_6, #block-views-News-block_7 {
/*	min-height: 300px !important; commented out 2019 04 03 */
	min-height: 210px !important; 
}

.front-page-slideshow {
	min-height: 112px !important; /* Updated 2021 10 21 was 150px */
}
  
#views_slideshow_singleframe_main_News-block_6, #views_slideshow_singleframe_main_News-block_7 {
/*	border: 1px green dashed; */
	margin-top:1px;  /* Updated 2021 10 21 was 40px */
} 
  
.views_slideshow_singleframe_slide {
/*    left: 50% !important;
    margin-left: 0px !important;
    text-align: center;
    width: 100% !important;*/
}

/* $Id: views_fluid_grid.base.css,v 1.1.2.5 2009/12/03 01:26:12 markuspetrux Exp $ */

/* Fluid grid container. */
div.views-fluid-grid {
	padding-left: 5px;
	padding-right: 5px;
}

/* View title, label of grouping field. */
div.views-fluid-grid h3 {
  text-align: left; /* updated 2017 11 13 from center to left */
/*  font-size: 0.8em !important; */
}

/* Fluid grid is based on an HTML list. */
ul.views-fluid-grid-list {
  margin: 0;
  padding: 0;
}

/* Default item style. */
li.views-fluid-grid-item {
  /* width and height properties are defined at views_fluid_grid.size.css. */
  padding: 0px !important; 
  overflow: hidden; /* needed to clip content when explicit width/height is specified. */
  list-style-type: none;
  background-image: none;
  vertical-align: top;
  color: #444;
  background-color: unset;
/*  border: 1px solid #aaa; */
	border: unset;
/*	width: 330px !important; */
}

ul.views-fluid-grid-items-h-margin-4em li.views-fluid-grid-item {
/*    margin-left: unset !important;
    margin-right: unset !important; */
}

/**
 * List items use inline block style.
 *
 * Works in all modern browsers (except IE7 and lower).
 */
li.views-fluid-grid-inline {
  /* inline-block does not work when applied to block elements in IE7 and lower. */
  display: inline-block;
}

/**
 * Targeting IE7.
 *
 * 1) html > body selector hides declaration from IE6 and lower.
 * 2) Asterisk Hack exploits a bug in IE7 and lower.
 */
html > body li.views-fluid-grid-inline {
  *display: inline;
  *zoom: 1;
}

/**
 * Targeting IE4-6 (excluding MacIE5).
 *
 * 1) Commented Backslash Hack hides declaration from MacIE5.
 * 2) * html selector exploits a bug in IE4-6.
 * 3) Enforce hasLayout using display inline and zoom applied to block elements.
 * \*/
* html li.views-fluid-grid-inline {
  display: inline;
  zoom: 1;
}
/* Ends Commented Backslash Hack. */


.imagecache-front_page_news_slideshow_image {
	/* border: 1px green solid; */
}

/* Headings
 ----------------------------------------------- */
h1 {
  position: relative;
  display: block;
  color: #555559; /* was color: #333; and then #555559 - 2016 12 02 Andrew Thorburn */
/*  letter-spacing: -0.04em; Item commented out - 2016 11 29 - Andrew Thorburn */
  font-weight: normal;
  font-size: 1.5em !important; /* was font-size: 24px; and then set to 2em - 2016 12 02 - Andrew Thorburn */
  margin: 18px 0;
  padding: 0;
  z-index: 0;
  clear: both;
}
h1 a {
  font-weight: normal;
  text-decoration: none !important;
}
h1 a:hover {
  text-decoration: underline !important;
}
h2 {
  color: #555559; /* was color: #333; and then #555559 - 2016 12 02 Andrew Thorburn */
/*  font-size: 16px; 2017 11 21 - Andrew Thorburn */
  font-size: 0.9em !important;
  font-weight: bold;
  margin: 0 0 18px 0;
  padding: 0;
}
h2 a {
  font-weight: normal;
  text-decoration: none !important;
}
h2 a:hover {
  text-decoration: underline !important;
}
.thumb .news-index-title{
	font-size: 1.0em !important;
	border: 1px red solid !important;
}

h3 {
  color: #555559; /* was color: #666666; and then #555559 - 2016 12 02 Andrew Thorburn */
/*  font-size: 16px; 2017 11 21 - Andrew Thorburn */
  font-size: 0.9em !important;
  font-weight: normal;
  margin: 0 0 12px 0;
  padding: 0;
}
h3 a {
  font-weight: normal;
  text-decoration: none !important;
}
h3 a:hover {
  text-decoration: underline !important;
}
h4 {
  color: #555559; /* was color: #666666; and then #555559 - 2016 12 02 Andrew Thorburn */
/*  font-size: 13px; 2017 11 21 - Andrew Thorburn */
  font-size: 0.8em !important;
  font-weight: bold;
  margin: 0 0 0.3em 0;
  padding: 0;
}

/* Page styles
 ---------------------------------------------- */
 
.node-type-page #column-left .content fieldset , .node-type-research-page #column-left .content fieldset, .node-type-project #column-left .content fieldset{
  position: relative;
  margin-bottom: 18px;
/*  */width: 100%  !important; 
  float: unset !important;	
}

/* Start of Publications Index */

#biblio-search-form {
  float: unset !important ;
  position: relative;
}

#biblio-search-form #edit-keys {
	width: 90% !important;
}

#biblio-header div.biblio-export {
  position: relative;
  top: -5px;
  clear: both;
  padding: 10px;
  text-align: center;
}

.biblio-export {
	float: unset !important;
}

#biblio-search-form #edit-submit {
  float: right !important;
  right: 5px !important;
  left: unset !important;
}

/* End of Publications Index */

/* Start of posters Index */

.posters-table #edit-ftitle-1 {
	width: 90% !important;
}

.posters-table #edit-submit-posters {
	left: unset !important;
	right: 5px !important;
}

/* End of posters Index */

 
/* Start of section format the publications listings on the staff web pages */
/* http://code.stephenmorley.org/html-and-css/tabbed-panels/ */
.tabbed{
  float : left;
  width  : 100% !important;
/*    width: 70%;  *//* 2018 11 27 */
  margin-bottom: 20px;
}

.publication_content ul {
	margin: 0 0 18px 10px !important;
}

/* End of section format the publications listings on the staff web pages */


/* images in the left hand column - 2019 01 10 */
#column-left div.node img {
    padding: 0px !important;
/*    border: 1px solid #ddd; */
    margin-top: 0;
    margin-bottom: 7px;
/*	float: unset !important; */
    max-width: 95%;
    height: auto !important;
    width: auto !important;

}

.GooglePageMap, .LargerImagesPageMargin {
    margin-left: 0px !important;
	max-width: 100%;
}

/* Page specific settings - 2019 02 06 */
#body-mission  a[href$=".pdf"], #body-soils  a[href$=".pdf"], #body-soils  a[href$=".PDF"] {background: url(none) right center no-repeat !important;}

#body-mission  a[href$=".pdf"] img {float: unset !important;}

#body-soils #soilhandbook_memoirs {
	width: 95% !important;
}

#body-soils #soilhandbook_memoirs img {
	max-width: 40px !important;
}

/* Alterations to the EU cookie compliance section - 2019 04 03 */

#sliding-popup {}

#sliding-popup .popup-content {
	width: 90% !important; 
	margin: 5px !important;
}

#sliding-popup .popup-content #popup-buttons {
	margin: 10px !important;
	float: unset !important;
}

#sliding-popup .popup-content #popup-text {
	margin: 5px !important;
	width: unset !important;
}

/* An attempt to the hide the deeper items in the dropdown list for navigation - 2019 04 22 */
#block-menu-primary-links option[value^="/about/"] {display: none;}
#block-menu-primary-links option[value^="/news/"] {display: none;}
#block-menu-primary-links option[value^="/events/"] {display: none;}
#block-menu-primary-links option[value^="/research/"] {display: none;}
#block-menu-primary-links option[value^="/research/departments"] {display: unset;}
#block-menu-primary-links option[value^="/staff/"] {display: none;}
#block-menu-primary-links option[value^="/learning/"] {display: none;}
#block-menu-primary-links option[value^="/publications/"] {display: none;}
#block-menu-primary-links option[value^="http:"] {display: none;}

/* Climate change pages - 2019 09 13 */
.climate-change-navigation-outer .views-fluid-grid-inline, .digital-soils-navigation-outer .views-fluid-grid-inline {
    max-width: 100% !important;
    width: 100% !important;
}

/* Site Closure - Coronavirus disease (COVID-19) - 2020 03 12 */

#block-views-covid_19-block_1 {
/*	clear: both; */
/*	max-height: 50px;
	border: 1px red solid;
	max-width: 50%;
	width: 50%; */
/*	float: left;
	margin-left: 5% !important;
	margin-bottom: 5px; */
	padding-left: 0px !important;
	padding-right: 0px !important;
	height: 52px !important;
}

#block-views-covid_19-block_1 h1, #block-views-covid_19-block_1 h2, #block-views-covid_19-block_1 span#covid-19-title {
/*	display: inline; */
/*	font-size: 30px !important; Commented out 2020 07 06 */
/*	font-size: 20px !important; */
/*	line-height: 50px; Commented out 2020 07 06 */
/*	vertical-align: top; */
	display: none !important;
}

span#covid-19-subtext {
	line-height: 20px !important;
	font-size: 14px;
}

#covid-19-outer {
	text-align: center;
	border: 1px solid #555559;
/*	border: 1px red solid; */
}

#block-views-covid_19-block_1 h1, #block-views-covid_19-block_1 h2 {
	display: inline;
	font-size: 30px !important;
	line-height: 50px;
	vertical-align: top;
}

#block-views-covid_19-block_1 h1 a, #block-views-covid_19-block_1 h2 a {
	color: #F40808 !important;
}

#covid-19-image {
	max-height: 45px;
	width: auto;
/*	padding-top: 5px; */
	padding-right: 10px;
}

#covid-events-image {
	float: right;
}

#block-block-41 {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	font-size: 0.9em;
}

#block-block-41 h2 {
	color: red
}

/* Campus Consultaiton - 2020 07 21 */
#block-views-campus_consultation-block_1 {
	clear: both; /**/
	max-height: 50px;
/*	border: 1px red solid;*/
	max-width: 100% !important;
	width: 100% !important; 
	float: left;/* */
	margin-left: 0% !important;

/*	padding-left: 10px; */
	height: 50px; 
	margin-bottom: 5px;
/*	width: 100%; 
	margin-left: auto;
    margin-right: auto;*/
    line-height: 50px;
	border: 1px solid #872175;
	background-color: #872175;
	color: #ffffff;
}

#campus-consultation-outer {
	height: 50px;
	text-align: center;
}

#block-views-campus_consultation-block_1 h1, #block-views-campus_consultation-block_1 h2, #block-views-campus_consultation-block_1 div#campus-consultation-title {
	display: inline;
/*	font-size: 30px !important; Commented out 2020 07 06 */
	font-size: 15px !important;
/*	line-height: 50px; Commented out 2020 07 06 */
	vertical-align: top;
/*	display: none; 
	padding-left: 15px;*/

}

#campus-consultation-title a {
	color: #FFFFFF;
}

div#campus-consultation-subtext {
	line-height: 50px;
	display: none;
}

#block-views-campus_consultation-block_1 h1 a, #block-views-campus_consultation-block_1 h2 a, #block-views-campus-consultation-block_1 a {
/*	color: #F40808 !important; */
	color: #559bbd;
}

#campus-consultation-image {
	max-height: 45px;
	width: auto;
/*	padding-top: 5px; */
	padding-right: 10px;
}

#covid-events-image {
	float: right;
}

#block-block-41 {
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	font-size: 0.9em;
}

#block-block-41 h2 {
	color: red
}

/* Formatting the SEGS Staff page section on topics studied - 2020 08 13 */
#node-14197 #topics-studied, #node-14197 .topics-studied {
/*	float: right; */
	width: 90%;	
	margin-left: auto;
	margin-right: auto;
/*	margin-left: 15px !important;
	background-color: #d5d3d3; */
/*	background-color: #BFDBFF; */ /* updated to be a lighter shade of the blue research colour in the menu bar - 2020 08 26 */
    font-size: 0.8em;
}

#node-14197 #topics-studied ul {
	columns: 3;
	list-style-type: none;
	margin: 0 0 18px 20px !important;
}

/* SEGS twitter block */
#block-block-18 {
    float: unset !important;
	max-height: 45px;
	height: 45px;
	overflow: hidden;
	margin-top:20px; /* updated from margin-top:40px; 2021 10 21 */
}

/* Accreditation layout - 2021 09 14 */
.accreditation-partner-list li.views-fluid-grid-inline {
	width: 100% !important;
	min-height: 180px;
}

.accreditation_list {
/*	min-height: 150px; */
}

.accreditation-partner-list .accreditation_logo {
	width: 150px;
	float: left;
	padding-right: 10px;
}

.accreditation_title {
    text-align: center;
    min-height: 0px !important;
}

.accreditation_title h3 {
	padding-top: 0px !important;
	font-weight: bold;
}

.accreditation_body, .accreditation_text {}

.accreditation_text ul {
	list-style-type: none;
}

#segs-images-outer {}

#segs-images-outer .twocolumns {
	width: 45% !important; /* updated 2021 10 20*/
}

/* hiding the share section - 2021 10 21 */
.at-share-dock-outer {display: none;}

