/* additions to www.crew.ac.uk style rules - 2023 02 01 */

/* ========================|| CUSTOM FONTS ||============================ */

@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700);

@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i');



body {
/*    font-family: 'Lato'; */
	font-family: 'Lato', 'Syntax', MyriadPro-Semibold, "Droid Sans", Helvetica,Arial,sans-serif; 
	margin-left: auto !important;
	margin-right: auto !important;
	color: #666; 
/*	max-width: 1240px !important; */
	background-color: #FFFFFF !important;
/*	width: 100%; */
	
}

h2, h3, h4, h5, h6 {
/*  font-family: 'Lato';
  font-family: 'Lato', 'Syntax', MyriadPro-Semibold, "Droid Sans", Helvetica,Arial,sans-serif; */
  font-style: normal;
  font-weight: normal;
  line-height: 1.3em;
  color: #0C6A94;
}

h1#page-title, h1.page-title, h1.title {
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  color: #0C6A94;
}

#main-wrapper {padding-bottom: 50px;}

h2.page-title {
/* color: #007484;
  color: #0C6A94; */
  font-size: 34px;
/*  font-weight: 600; */
  margin: 0;
  margin-top: 0px;
  
}

#block-crew-content {margin-top: 30px;}

#skip-to-main-content {display:none;}

h3 {
  font-size: 24.5px;
}

a {
/*    color: #1fabc2; */
	color: #009FE3; /* new light blue color updated - 2019 03 06 */
/*    font-weight: 600; */ /* item commented out - 2016 09 16 - Andrew Thorburn */
    text-decoration: none;
}

#navbar-outer {
	/*border: 1px green dashed; */
	background-color: #fff;
	  box-shadow: rgba(33, 35, 38, 0.5) 0px 10px 10px -10px;
	  -webkit-transition: all ease-out .5s;
	  -moz-transition: all ease-out .5s;
	  -o-transition: all ease-out .5s;
	  transition: all ease-out .5s;
}

#navbar-main {
background-color: #fff;
/*  box-shadow: rgba(33, 35, 38, 0.5) 0px 10px 10px -10px;
  -webkit-transition: all ease-out .5s;
  -moz-transition: all ease-out .5s;
  -o-transition: all ease-out .5s;
  transition: all ease-out .5s; */
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

#site-slogan, .site-name-slogan {
	color: #0C6A94 !important;
	text-align: center;
	font-size: 20px !important;
/*	margin-top: 0px !important; 
	display: unset !important;*/
	padding-top: 5px;
	float: right;
	clear: both;
}

#block-crew-search-form-narrow, #block-crew-searchform {
/*	border: 1px red solid; */
	text-align: right;
	max-width: 50%;
	float: right;
}

.search-button input[type="submit"], 
#edit-submit input[type="submit"], 
#search-block-form input[type="submit"],
#block-crew-searchform .btn-primary
{
    font-family: FontAwesome;
/*    color: #fff !important; */
    display: inline;
    font-size: 18px;
}

div.container-fluid {
/*	border: 1px gray dashed !important; */
	max-width: 1240px !important;
}


/* header - 2025 01 15 */
#navbar-main img {
/*	border: 1px red solid; */
	max-height: 70px;
  max-width: none;
}

/* formatting the team member page - 2023 06 02 */
#team-page-content {
/*	border: 1px blue dashed; */
	display: none;
	}

#team-page-image, .team-image {
	float: right;
	}
	
.team-member-outer {}
	
.about_team {}
	
#block-crew-views-block-the-team-block-1 .team-image,
#block-crew-views-block-the-team-block-2 .team-image,
#block-views-the-team-block-2 .team-image {
	float: left;
	min-height: 220px;
	min-width: 220px;
	margin-right: 10px;
	}

#team-page-biography, .team-biography {

	}
	
.crew-team-column {}

.crew-team-row {
	min-height: 250px;
	box-shadow: 0 1px 3px rgba(59,59,59,.14),0 0 5px rgba(59,59,59,.24);
	border: none;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}	

.team-further-information {
	padding-top: 5px;
}


/* Twitter block */

#twitter-icon-block, #linkedin-icon-block, #bluesky-icon-block {
	float: right;
	padding-right: 10px;
}

#twitter-icon-block p {
	margin: 0px;
    display: block;
/*    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate; */

}

#twitter-icon-block img, #linkedin-icon-block img, #bluesky-icon-block img,
.footer-social-icons img {
	max-height: 20px;
	max-width: 20px;
/*	border: 1px red solid; */
}

.fp-twitter{
	max-width:750px;
	margin-left:auto;
	margin-right:auto;
	width:30%;
}
/**************************************************************************************/
@media (max-width: 430px) {
	
		#block-crew-content {margin-top: 0px;}
	
		#team-page-image, .team-image {
			float: right !important;
			min-height: 150px !important;
			min-width: 150px !important;
			height: 150px !important;
			margin-right: 0px !important;
			}
			
		.team-member-outer {} 
			
		.about_team {}
			
		#block-crew-views-block-the-team-block-1 .team-image img,
		#block-crew-views-block-the-team-block-2 .team-image img,
		#block-views-the-team-block-2 .team-image img {
			float: left;
/*			min-height: 200px;
			min-width: 200px; */
			margin-right: 10px;
			width: 200px;
			height: auto;
			}
	
	.slideshowtext-wrapper {
		font-size: 0.7em;
		bottom: 5px !important;
		padding: 5px !important;
		display: none !important;
	}
	
	#breadcrumbs-block {
	  border-radius: 0;
	  border-bottom: 1px solid #1fabc3;
	  color: #1fabc3;
	  color: #009FE3;
	  font-size: 20px;
	  margin: 10px 0 20px !important;
	  min-height: 40px;
	}
	
	.flexslider {
		margin: 0 0 20px !important;
	}
	
	.view-id-news .views-view-responsive-grid,
	#block-crew-views-block-the-team-block-1  .views-view-responsive-grid--horizontal,
	#block-crew-views-block-publications-block-1 .views-view-responsive-grid--horizontal,
	#block-crew-views-block-projects-block-7 .views-view-responsive-grid--horizontal,
	#block-crew-views-block-topics-topics-three-columns .views-view-responsive-grid--horizontal	{
/* 		border: 1px green dashed;*/
		--views-responsive-grid--column-count: 1 !important;
		--views-responsive-grid--cell-min-width: 100px;
		--views-responsive-grid--layout-gap: 10px;
		clear: both;
		padding-top: 10px;
		}
		
		#block-crew-views-block-the-team-block-1,
		#block-crew-views-block-publications-block-1,
		#block-crew-views-block-projects-block-7
		{
		padding-left: 10px;
		padding-right: 10px;
}

	
	.view-publications .publications-main img, .view-projects .projects-main img, .view-news .news-main img {
		max-height: 150px !important;
		max-width: 150px !important;
	}
	
	.news-column, .publications-outer, .projects-outer, .news-outer
	/* */, .news-detail {
		width: 100% !important;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 5px;
	}
	
	.news-detail {
		width: 45% !important;
    float: right;
	}
	
	.news-image {
/*		margin-left: auto;
		margin-right: auto; 
		border: 1px red solid;*/
		width: 150px !important;
		height: 150px !important;
/*		min-height: 100px; */
		float: left;
	}
	
	.carousel_text, .news-body, #themes-outer-header-image {
		display: none;
	}
	
	#themes-outer-header, #themes-outer-header h3,
	#news-outer-header, #news-outer-header h3 
	{
	min-height: 50px !important;
    height: auto !important;

	}
	
	/* Page Date */
	/*.page-date, */
	.news-date, .projects-date, .publications-date, .news-page-date {
		  margin-bottom: unset !important;
		  font-size: 0.9em !important;
	}
	
	.fp-twitter{
/*	border: 1px red solid; */
	width:100%;
	}
	
	#block-crew-views-block-organisations-block-1 .views-view-responsive-grid--horizontal
	

	{
	--views-responsive-grid--column-count: 2 !important;
	--views-responsive-grid--cell-min-width: 100px;
	--views-responsive-grid--layout-gap: 10px;
	}
	
	.organisational-image img {
		width: 150px;
		height: auto;
	}
	
	#navbar-main img {
	  max-height: 50px;
	  max-width: none;
	}
	
	#site-logo, #site-slogan, .site-name-slogan {
		text-align: center;
		float: unset;
	}
	
	#block-crew-mainnavigation {
		clear: both;
		text-align: center;	
		background-color: #0C6A94;
	}
	#block-crew-mainnavigation a#superfish-main-toggle {
		color: #FFFFFF;
		font-weight: bolder;
		font-size: 1.5em;
	} 

	#front-page-news-outer, #front-page-projects-outer,
	#block-crew-views-block-news-block-2 {
		width: 95% !important;
		height: unset !important;
		float: unset !important;
		margin-left: auto;
		margin-right: auto;
		min-height: 180px !important;
	}

	.front-page-news-title, .front-page-outputs-title {
		min-height: 140px !important;
		border: 1px transparent solid;
	}
		
	.news-main-front-page-image img, .outputs-main-front-page-image img,
	.news-main img, .outputs-main img
	 {
		border-radius: 10px;
	/*	max-width: 95%; */
		max-height: 150px !important;
		max-width: 150px !important;
		margin-left: auto;
		margin-right: auto;
		float: left;
		margin-right: 5px;
	}
	
	.news-main-front-page-image, .outputs-main-front-page-image {
		float: unset !important;
		padding-right: 10px;
	}
	
	.publications-title, .news-title, .projects-title {
		min-height: 100px !important;
		width: 95%;
	}

	.publications-grid-title, .projects-grid-title, .news-grid-title {
		clear: both;
		font-size: 0.9em !important;
	}
	
}
/**************************************************************************************/
/* Main */

[role=main]
 {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}


/* Footer */

.site-footer {
/*  background: #FFF !important; */
  background: #1b638b;
  padding: 35px 0px 0px 0px;
}

footer {
	color: white;
}

#content_editor_login, #content_editor_login a,
#content-editor-login-block, #content-editor-login-block a,
#content-editor-logout-block, #content-editor-logout-block a
 {
  color: #FFFFFF !important;

}

#site-footer__top, .site-footer__top {
background: #ddd none repeat scroll 0 0;
  background: #009FE3 none repeat scroll 0 0;
  background: #1b638b;
  margin: 0;
  overflow: hidden;
/*  padding-bottom: 15px;
  padding-top: 15px;
  text-align: center; 
  border-top: #1b638b 5px solid; */
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}

.site-footer__top .region {
/*	width: 33%; */
}

.site-footer__top h2 {
  font-size: 1.1em;
	text-transform: unset !important;

}

.site-footer__bottom {
  letter-spacing: 0.2px;
  margin-top: 30px;
  border-top: 1px solid #555;
    border-top-color: rgb(85, 85, 85);
  border-color: rgba(255, 255, 255, 0.15);
  background-color: white;
}

.site-footer .block {
margin: 0px 0 !important;
  border: 0px solid #444;
  border-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

#footer-outer {
	max-width: 1240px !important;
	margin-left: auto;
	margin-right: auto;
	min-height: 250px;
}

/* .region-footer-first, 
.region-footer-second, 
.region-footer-third, */ 
.region-footer-fourth {
/*	border: 1px red solid; 
	float: right !important;*/
}

#footer_lower_left1 {
	float: left;
	width: 50%;
	}
#footer_lower_left2 {
	float: right;
	width: 50%;
	}

footer a {color: white;}

footer div#block-projectsandcontact {width: 50%;}
footer div#footer-project-links {font-size: 24px;}

footer div#footer-project-links ul, footer div#block-crew-footerlinks ul {list-style: none;}

#footer_logo_outer {
	/*float: right; */
	max-width: 250px;
}

#footer-address {
	padding-top: 10px;
	color: #FFFFFF;
	clear: left;
	display: none;
}

#footer-address h3, #footer-address a {
	color: #FFFFFF;
}

#block-crew-footerlinks {}

#footer_social_icons_outer {
	clear: both;
}

#footer_social_icons_twitter, #footer_social_icons_linkedin {
	float: left;
	padding: 5px;
}

#footer_logo_james_hutton, #footer_logo_scottish_government, #footer_logo_crew {
	padding: 10px 0 10px 0;
	text-align: center;
}

#footer_logo_james_hutton img, 
#footer_logo_crew img
/*#footer_logo_scottish_government img */{
	float: left;
	padding: 10px 0 10px 0;
}

#footer-twitter-link {
	clear: both;
}

.footer-social-icons {
	float: left;
	padding-top: 10px;
	padding-right: 10px;
}



.site-footer__top .content li a {
  display: block;
  border-bottom: 0px solid #555;
    border-bottom-color: rgb(85, 85, 85); 
  border-color: rgba(255, 255, 255, 0.15);
  line-height: 1.2;
  padding: unset !important;
  text-indent: -15px;
}

#block-crew-footerblocklogos {
	max-width: 1240px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Single News page layout */
.field--name-field-news-image {

	float: left;
}

/* Font Awesome clock */
.fa.fa-clock-o, .svg-inline--fa.fa-clock {
  color: #1fabc3;
  color: #009FE3;
  margin-right: 4px;
}
/* Page Date */
.page-date {
  color: #333;
/*  font-weight: 600; */
  margin-bottom: 0.6em;
}

/* Field Topic */
.field--name-field-topic a, .field--name-field-tags a {
/*	border: 1px red solid;
	float: left; */
  font-size: 14px;
  color: #007484;
  color: #009FE3;
  background-image: url("/themes/custom/crew/images/tag.png");
  background-repeat: no-repeat;
  padding-left: 20px;
  padding-right: 20px;
  float: left;
}

.field--name-body {
/*	clear: both; */
}


.news-topic a, .projects-topic a, .publications-topic a, .page-topic a {

}

/************************* Front page **********************/


/* News image */
.news-main-front-page-image, .outputs-main-front-page-image {
	float: left;
	padding-right: 10px;
}

.news-image {
	/*
	min-height: 250px;
	*/
	width: 250px;
	
} 

.news-detail {
	float: right;
	width: 55%;
}

.front-page-news-title, .front-page-outputs-title {
	min-height: 120px;
	border: 1px transparent solid;
}

.news-main-front-page-image img, .outputs-main-front-page-image img,
.news-main img, .outputs-main img
 {
	border-radius: 10px;
/*	max-width: 95%; */
	max-height: 250px;
	max-width: 250px;
	margin-left: auto;
	margin-right: auto;
	float: left;
	margin-right: 5px;
	width: 250px;
	height: 250px;
}

.outputs-main-outer, .news-main-outer {}

.outputs-main-outer-details, .news-main-outer-details {}

.content-type {
	float: left;
	font-style: italic;
}

.path-frontpage .news-date, .path-frontpage .outputs-date {
  margin-left: 0px;
  color: #009FE3 !important;
  padding-left: 0px !important;
  float: right !important;
}

#front-page-news-outer, #news-main-outer {
  width: 45%;
/*  border: 1px green dashed; */
  float: left;
  min-height: 250px;
/*  height: 250px; */
  /* background-color: #009FE3;
  opacity: 0.6; */
}
	
#front-page-projects-outer {
  width: 45%;
/*  border: 1px pink dashed; */
  float: right;
  min-height: 200px;
  height: 200px;
}

.news-column-one {}
.news-column-two,
.publications-column-one,
.publications-column-two,
.our-work-column-one,
.our-work-column-two {
	float: left;
	margin-left: 5px;
/*	max-width: 45%; commented out 2024 02 29 */
	max-width: 50%;
}

.news-date, .projects-date, .publications-date, .news-page-date {
/*	color: #000; commented out 2019 04 19 */
	color: #009FE3;
	font-size:16px;
/*	font-weight: bold; */
	margin-top: 5px;
	margin-bottom: 5px;
	float: right;
	padding-right: 5px;
	}
	
.front .news-date {
	color: unset;
	font-weight: unset;
}

/* Themes */
	#themes-outer-header, #themes-outer-header h3,
	#news-outer-header, #news-outer-header h3,
	#publications-outer-header, #publications-outer-header h3
 {
  text-align: center;
  color: white !important;
  background-color: #0C6A94;
  min-height: 50px;
  font-size: 2em !important;
  height: 90px;
}

	#news-outer-header, #news-outer-header h3,
	#publications-outer-header, #publications-outer-header h3 {
	  min-height: 60px !important;
	  font-size: 1.5em !important;
	  height: unset !important;
	}

#themes-outer-header-image {
	background-image: url("/sites/wwwdev.crew.ac.uk/files/topic/water-and-society-GettyImages-2194786646.jpg");
	height: 300px;
	background-size: cover;
}



#block-crew-views-block-topics-topics-three-columns .views-header {}

/* Topic titles */

.topic-title-426, .topic-title-1152 {
/*  color: #0000FF; */
	color: black;
}

.topic-title-422, .topic-title-1150 {
/*  color: #008000; */
	color: black;
}

.topic-title-404, .topic-title-1151 {
/*  color: #9900CC; */
	color: black;
}

.theme-outer div.topic-title, div.topic-title {
  min-height: 70px;
  text-align: center;
  font-size: 1.5em;
}

.topic-image img, .theme-word-cloud-image {
	width: 100%;
	height: auto;
}

.page-node-1150 .field--type-image,
.page-node-1151 .field--type-image,
.page-node-1152 .field--type-image,
.field--name-field-image img.image-style-letterbox {
	width: 100%;
	height: auto;
	float: unset !important;
}

.theme-word-cloud-image {
/*	border: 1px green dashed; */
}

/* Publications */

.view-publications .publications-main img, .view-projects .projects-main img, .view-news .news-main img {
  max-width: 250px;
  max-height: 250px;
  margin-left: auto;
  margin-right: auto;
}

.publications-outer .publications-image, .projects-outer .projects-image {
  text-align: center;
}

.publications-outer, .projects-outer, .news-outer {
  float: left;
/*  width: 50%; */
  margin-bottom: 20px; 
}

.publications-column-one {
/*  border: dashed 1px red; */
  float: left;
}

.view-id-publications .publications-main {
  width: 100%;
}

.publications-column-two {
/*  border: dashed 1px blue; */
  float: right;
}

.view-id-news .news-title, .view-id-publications .publications-title, .view-id-publications .publications-outer {
  min-height: unset;
}

.publications-title, .news-title, .projects-title {
  min-height: 290px;
  width: 95%;
}

.publications-grid-title, .projects-grid-title, .news-grid-title {
  clear: both;
  font-size: 1.1em;
}

.projects-title {
/*  min-height: 200px;
  width: 95%; */
}


/* Publication - 2025 04 */

#node--type-publication, .node--type-publication {}

.node--type-publication #block-crew-page-title h1,
.node--type-news #block-crew-page-title h1 {
/*	border: 1px green dashed; */
	font-size: 2.5em !important;
	}

#main_content_outer {
/*	border: 1px red solid; */
	clear: both;
	}

/* Edit tabs */
.nav-tabs, nav.tabs {
  border-bottom: 0px solid #ddd;
  height: 20px;
}

.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
    border-bottom-color: rgb(221, 221, 221);
  border-bottom-color: transparent;
}
.nav-tabs > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 20px;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a, .nav-pills > li > a {
  padding-right: 12px;
  padding-left: 12px;
  margin-right: 2px;

}

.nav {
	list-style:none;
}

.nav > li > a {
  display: block;
}

.nav-item {
	/* float: left; 
	max-width: 80px;
	width: 80px;*/
	}

a, .nav-link {

  color: #009FE3;

}

/* Slideshow */

element {
}
.slideshowtext-wrapper {
  margin-left: auto;
  margin-right: auto;
/*  width: 90%; */
  width: 45%;
/*  font-size: 1em;
  color: #fff; */
  font-weight: bold;
/*  margin-bottom: 20px; */
  position: absolute;

  bottom: 25px;
/*  */right: 5px; 
  left: 5px;
  z-index: 10;
background: black; 
  color: white;
  opacity: 0.7; /*  */
/*  filter: alpha(opacity=50); */
  padding: 10px;
  display: block;
}

/* Seperate sections for each of the themes - based on the node ID */

.slideshowtext-wrapper-1266  {
	/* About CREW 
	background: black;
    opacity: 0.7;
  padding: 10px;
  display: block;*/
}

.slideshowtext-wrapper-1150  {
	/* Land and Water Resource Management 
	background: #008000;
    opacity: 0.7;
  padding: 10px;
  display: block;*/
}

.slideshowtext-wrapper-1151  {
	/* Water Quality and Health 
	background: #9900CC;
    opacity: 0.7;
  padding: 10px;
  display: block;*/
}

.slideshowtext-wrapper-1152  {
	/* Hydrological Extremes 
	background: #0000FF;
    opacity: 0.7;
  padding: 10px;
  display: block;*/
}



/* .slideshowtext-wrapper {
  font-size: 1.3em;
  color: #fff; 
  font-weight: bold;
  color: white;
} */

h2.bannerimage-title, .carousel_text {
  color: #FFFFFF;
}

.carousel_text {display: none;}

#front-page-carousel-outer {
  width: 80%;
  border: 1px dashed blue;
  float: left;
  min-height: 400px;
  margin-left: auto;
  margin-right: auto;
}

.view-latest-topics .view-content, #block-crew-views-block-topics-block-4 {
  text-align: center;
}

.steering_group_column {
  float: left;
  max-width: 16%;
  width: 16%;
  height: 100px;
  line-height: 100px;
  padding: 2px;
  text-align: center;
}

.steering_group_column img {
  max-height: 100px;
}

/* Superfish Menu  */

.sf-menu a {/*	padding: 1em 0.5em; */} 
.sf-menu li a {
	background-color:: #FFFFFF;
	  color: #000000;
	  font-weight: 400;
}

#superfish-main {
	padding-top: 20px;
}

#superfish-main .sf-depth-2 a {
	background-color: #FFFFFF;
	color: #000000 !important; 
	font-weight: 400 !important;
	border-top: 2px solid #009fe3;
}	

ul#superfish-main li.active-trail {

/*    background-color: #dd0067; */
	background-color: #009fe3;
    color: #FFFFFF;
}

ul#superfish-main li.active-trail a {
	color: #FFFFFF;
/*    padding: 0px !important; */
    font-weight: 800;
}

#primary-menu-superfish ul.sf-menu, #primary-menu ul.sf-menu {
  line-height: unset;
}

/* pager */

#pagination {
	margin-top:50px;
	text-align: center;
}

.view .item-list .pager li {
/*  background: rgba(0, 0, 0, 0) url(../images/right-arrows.png) no-repeat scroll left center / 20px auto; */
/*  bottom: 30px; */
  color: #1fabc3;
  color: #009FE3;
  margin: 0;
/*  font-size: 14px; */
  padding: 3px 3px 3px 24px;
/*  padding: 5px 5px 5px 5px; */
/*  position: relative; */
/*  left: 0; */
/*	float: left; */
}
.view .item-list .pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
/*  padding: 0; */
}

.page-item.active .page-link {
  background-color: unset !important; 
  border-color: unset !important; 
  font-weight: 800;
  border-bottom: 3px solid #0C6A94;
}

.views-exposed-form .views-exposed-widget, .views-exposed-form .js-form-item {
  float: left;
  padding: .5em 1em 0 0;
/*  width: 100%; */
}

#views-exposed-form-publications-block-1 {}

#views-exposed-form-publications-block-1 .view-content {margin-top: 30px;}

#views-exposed-form-publications-block-1 label {
	font-weight: bold;
	display: block;
    margin-bottom: 5px;
	min-height: 20px;
}

#edit-actions--2 {  padding-top: 20px;}

#views-exposed-form-publications-block-1 input {
	
}

.views-exposed-form .bef-exposed-form {
/*  border: 1px green dashed; */
}

#view-header-text {}

#view-header-count{}

.view-filters {
/*	border: 1px red solid; 
	width: 100%; */
	min-height: 80px;} 
	
input.form-submit, #edit-submit-publications {
  height: 2.5em;
  border: 1px solid #d5d5d5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
/*  background-image: -webkit-linear-gradient(top, white 0%, #e6e6e6 100%);
  background-image: -ms-linear-gradient(top, white 0%, #e6e6e6 100%);
  background-image: -moz-linear-gradient(top, white 0%, #e6e6e6 100%);
  background-image: -o-linear-gradient(top, white 0%, #e6e6e6 100%);
  background-image: webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(1, #e6e6e6)); */
  background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
  width: 200px;
}
	
/* Breadcrumbs */

#breadcrumbs-block {

  border-radius: 0;
  border-bottom: 1px solid #1fabc3;
  color: #1fabc3;
  color: #009FE3;
  font-size: 20px;
  margin: 30px 0 20px;
/*  padding: 5px 10px; */
  min-height: 40px;
}


.breadcrumb-item {
	float: left;
  padding-right: 20px;
  list-style: none;
}

ul#breadcrumbs {
  list-style: none;
  padding: 0;
}

ul#breadcrumbs li {
  display: inline;
  margin-right: 10px; /* optional, adds some spacing between list items */
}

ul#breadcrumbs li:not(:last-child):after {
   content: ">";
   padding-left: 10px;
}

ul#primary-tabs li {
  display: inline;
  margin-right: 10px; /* optional, adds some spacing between list items */
  float: left;
}

ul#primary-tabs li:not(:last-child):after {
/*   content: ">" */
}

/* Publications pages */
#publication_image img, #news_image img, #project_image img {
  border-radius: 12px;
  display: block;
  float: left;
  margin-bottom: 12px;
  
}

#publication_tags, #news_tags, #project_tags {
	
}

#publications_topics,#news_topics, #project_topics {
	border: 1px white solid;
}

#publication_body_text, #news_body_text, #project_body_text {
/*	clear: both; */
}

/* Code to show the type of content item - 2025 04 23 */

.view-latest .view-content .views-row .views-row--research .views-field-type {
  background: #264793;
}
.view-latest .view-content .views-row .views-field-type,
.content-type-news, .content-type-publication
/* , #front-page-projects-outer .views-field-type */
{
  position: absolute;
/*  right: 0; */
/*  top: 1.5rem; */
  min-width: 10rem;
  padding: 0.5rem 1rem;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
/*  background: #1b638b; */
margin-left: auto;
margin-right: auto;

}

.content-type-news {
  background: #1b638b !important;
  opacity: 0.7;
  font-style: unset !important;
}

.content-type-publication {
  background: #009fe3 !important;
  opacity: 0.7;
  font-style: unset !important;
}


/* Hiding the navigation expand button */

#navbar-main button.navbar-toggler {
	display: none;
}

/* Hiding the blue box */ 
#block-crew-searchform .btn-primary {
	background-color: white;
	border-color: white;
}

/* FAQs */

#faq-outer href#top {
	
}

/* File icons - 2025 05 09 */

#news_attachments .file--application-pdf a[href$=".pdf"]:before, #news_attachements .file--application-pdf a[href$=".pdf"]:before {
  content: url(/themes/custom/crew/images/application-pdf.png);
  padding-right:5px;
}

.organisational-image-outer {
	text-align: center;
}
		
.organisational-image {}

/* Login boxes */

#user-login-form {clear: both; }

#user-login-form .form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

/* Topic Pages */

.node--type-topic .field--name-body {}

.node--type-topic .field--name-field-postcard-image {
	float: right !important;
	padding-top: 280px;
	width: 480px;
}

.node--type-topic .field--name-field-postcard-image img {float:right;}

#block-crew-scottishgovermentlogo {
	max-width: 1240px;
  margin-left: auto !important;
  margin-right: auto !important;
}