/* added 20.06.19 - to fix width bug we spotted, if this cased problem - remove */
@media screen and (min-width: 100em) { 
	.site-header>.grid-container {
		max-width: 98.125rem !important;
	}
	.grid-container {
		max-width: 87.5rem !important;
	}
}

@media screen and (min-width: 90em) { 
	.grid-container {
		max-width: 87.5rem;
	}
}

.grid-container.full {
	max-width: 100% !important;
}

.grid-container {
	max-width: 75rem;
}
/* end width bug fix */


/* Global menu */
/*.menu--primary>li:nth-child(4) a {
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
	padding-left: 0.5rem;
	padding-right: 1rem;
}*/

.site-header.annual-report-menu {
	top: 0;
}

#toolbar-administration + .site-header {
	top: auto;
}

.cookie-message.is-open {
	z-index: 999999999999;
	position: relative;
}

.article-listing .article-item {
	width: 100%;
}

/* Media Factsheet */
.context-media-resources-nsi-factsheet-not-mvp .hero_intro {
	display: none !important;
}

/* Product Timeline page */
.article-centered {
	text-align: center;
}

.section-white-bg {
	background-color: white;
}

.section-no-margin {
	margin-bottom: 0 !important;
	padding-top: 60px;
	padding-bottom: 0 !important;
}

/* NEWS ARTICLE */
.article-item_excerpt {
	margin-bottom: 40px;
}

.margin-right-override {
	margin-right: 15px !important;
}

/*.responsive-embed_image*/
.image-style-news-main {
	bottom: 0;
	left: 0;
	max-width: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}
/* Side blocks*/
.block.card {
	height: auto;
}
.page-node-type-smart-page #main-content {
	padding-top: 0;
}
/* NEWS DISPLAY ALL */
.section-padding-override {
	padding-top: 0;
}

.dropdown-mobile-select {
		max-width: 120px !important;
	}
	
	/* New categories filter dropdown */
	select#edit-field-category-target-id--J6ZtEOGRtQA {
		max-width: 290px !important;
	}

.context-news-research-latest-news #exposed-form-override, .context-news-research-latest-research #exposed-form-override{
	margin-bottom: 40px;
}

.faux-link {
	display: none;
}

.page-node-type-news-article article .node__content img {
	float: left;
	margin-right: 20px;
}

.page-node-type-news-article .hero+.main-content {
	padding-top: 7.1875rem;
}

/* Twitter Feed */
#twitter-widget-0 .SandboxRoot.var-borderless .timeline-TweetList-tweet {
	border-top: 1px solid black !important;
}

/* related content block */
.page-node-type-smart-page .section--related, .page-node-type-vacancy .section--related, .page-node-type-news-article .section--related {
	padding-top:0;
	padding-bottom: 60px;
	margin-top: -40px;
}

/* image library */
.page-node-126 h1 {
	margin-top: 40px !important;
}

.page-node-126 .section {
	padding-bottom: 30px;
}

/* Tags override */
.path-taxonomy .search-results .search-results_header {
	display: block !important;
}

.path-taxonomy .section {
	margin-bottom: 0;
	padding-bottom: 0;
}

.path-taxonomy .pagination {
	padding-bottom: 60px;
}

/* tags filtering results */
.node--type-news-article {
	padding: 40px;
	padding-top: 0;
}

.context-news-research-latest-research .views-exposed-form {
	display: none;
}

.node--view-mode-teaser {
	padding-top: 40px !important;
}

/* breadcrumbs on Governance page */
.page-node-1716 .breadcrumbs {
	display: none;
}

.reveal-overlay {
	overflow: scroll;
}

/* Stats */
.statistic_text p {
		font-size: 1rem;
		line-height: 1.3;
		padding: .625rem 0;
		text-align: center;
}

.p-override p {
	text-align: left !important;
}

/* Search module */
.context-search-results article p {
	font-size: 18px;
}
.path-search .article_category a {
	font-size: 1.125rem;
	line-height: 1.5;
	margin-bottom: .375rem;
	line-height: inherit;
	color: #0073af;
	text-decoration: underline;
	cursor: pointer;
	padding-left: 0;
}

.path-search .article_category li {
	width: 100%;
	margin-right: 0;
}

.search-results_listing .article-item {
	border-bottom: 1px solid #ededed !important;
}

.context-search-results #block-nsi-neat-content {
		padding: 40px;
}

.context-search-node .search-results li article:last-child {
 /* border-bottom: none !important; */
}

#block-nsi-neat-content #search-form {
	display: none;
}

.search-results .search-results_header {
	display: none !important;
}

/* article overrides */
article.article img {
	float: left;
	margin-right: 20px;
}

#news-hero {
	display: none;
}

/* 404 */
.error-page_media__foreground {
 /*  z-index: 0 !important; */
}

/* Exposed form (for filtering views) */
#exposed-form-override {
	margin-bottom: -27px;
}

#edit-submit-files-library {
	height: 40px;
}

/* Careers */
.context-careers .testimonial_media {
	margin-bottom: 20px;
}

/* Heritage Timeline */
button.strategy-list_link:hover {
	cursor: pointer;
}

div.top-button {
	position: absolute;
	right: 65px;
	bottom: 95px;
	z-index: 99999;
}

a#return-top {
	font-family: "nsiface";
	font-size: 1rem;
	font-weight: 500;
	color: #414141;
	text-decoration: none;
	border-radius: 50%;
	padding: 25px;
	padding-top: 35px;
	padding-bottom: 15px;
	background-color: #fab914;
	display: none;
	position: relative;
}

a#return-top::before {
	content: url('../images/icons/top-arrow.png');
	width: 25px;
	height: 16px;
	position: absolute;
	top: 17px;
}

@media only screen and (min-width: 1024px) {
	a#return-top {
		display: block;
	}
}

a#return-top:hover {
	cursor: pointer;
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

/* Individual Job Vacancy */
.page-node-type-vacancy select {
	line-height: normal !important;
}

/* Team Page/Who we are */
.team-section-heading {
	width: 100%;
	display: block;
}

.team-section-heading-second {
	margin-top: 60px;
}

/* News Filter Form */
.form-input-margin {
	margin-right: 15px;
}

/* Annual Report page 2019 */
.report-header {
	margin-top : 115px;
}

.quote_body p {
	line-height: 1.1;
}

/* Large and up */
@media screen and (min-width: 64em) {
	/* Team Page/Who we are */
	.team-section-heading {
		
		display: block !important;
	}
	
	/* Annual Report page 2019 */
	.report-header {
		margin-top : 115px !important;
	}
}

@media screen and (min-width: 56.25em) {
	.page-node-126  .block-views-blockhero-block-hero-block {
		padding-top: 5.625rem;
	}
	
	.page-node-type-smart-page .section--related, .page-node-type-vacancy .section--related, .page-node-type-news-article .section--related  {
		margin-top: 0;
	}
	
	.page-node-126 .section {
	 padding-top: 60px;
	}
	
	.dropdown-mobile-select {
		max-width: 345px;
	}
	
}
@media screen and (min-width: 40em) {
	.page-node-126 .block-views-blockhero-block-hero-block {
		padding-top: 3.75rem;
	}
	
	.page-node-type-smart-page .section--related, .page-node-type-vacancy .section--related, .page-node-type-news-article .section--related  {
		margin-top: 0;
	}
	
	.page-node-126 .section {
		padding-top: 60px;
	}
	
	.dropdown-mobile-select {
		max-width: 345px;
	}
	
}

@media screen and (min-width: 25em) {
	.page-node-126 .block-views-blockhero-block-hero-block {
		padding-top: 3.75rem;
	}
	
	.page-node-type-smart-page .section--related, .page-node-type-vacancy .section--related, .page-node-type-news-article .section--related  {
		margin-top: 0;
	}
	
	.page-node-126 .section {
		padding-top: 60px;
	}
	
	.team-section-heading {
		display: none;
	}
	
	.form-filter-news {
		select {
			width: 98%;
		}
	}
	
	.dropdown-mobile-select {
		max-width: 345px;
	}
	
	/* Annual Report page 2019 */
	.report-header {
		margin-top : 50px;
	}
	
}

/* iPhone 6, 7, & 8 Plus in portrait */
@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) 
and (orientation : portrait) {
	
	/* Annual Report page 2019 */
	.report-header {
		margin-top : 50px !important;
	}
	
}

/* iphone 5 specific */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
	/* Annual Report page 2019 */
		.report-header {
			margin-top : 50px !important;
		}
}

/* iPhone X specific */
@media only screen 
		and (device-width : 375px) 
		and (device-height : 812px) 
		and (-webkit-device-pixel-ratio : 3) {
			
			/* Annual Report page 2019 */
			.report-header {
				margin-top : 50px !important;
			}

}

/* IE11 */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
	 /* IE10+ specific styles go here */
	.search-results .search-results_header {
			/*display: block !important;
			background-color: #ededed; */
	}
	.search-module {
		margin-left: 6px;
	}
}

/* Accessibility additionals */
.menu--primary a:focus, 
.menu--primary a:hover, 
.pagination a:focus, 
.pagination a:hover {
		color: #0073af !important;
}

#edit-submit-files-library {
		margin-top: 35px;
}

.skiplink:active, 
.skiplink:focus {
		background: #0073af;
}

.privacy_prompt {
		overflow-y: auto !important;
}

.privacy_prompt input[type=checkbox].toggle + label .off {
		color: #343434 !important;
		position: relative;
		top: 2px;
}

.privacy_prompt input[type=checkbox].toggle:checked + label .on {
		position: relative;
		top: 2px;
}

.privacy_prompt a:focus {
	outline: 2px solid #0073af !important;
}

.grid-footer > .grid-margin-x:not(.cell) {
		margin: 0 0 0 0 !important;
}

.cookie-revisit-wrap {
	display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 999999;
    cursor: pointer;
	bottom: 15px;
    right: 5px;
}

@media only screen and (max-device-width : 640px) {
	.cookie-revisit-wrap {
		right: 0;
	}
}

form.user-login-form {
	max-width: 600px;
	text-align: center;
	border: solid 1px #d6d6d6;
	padding: 20px 20px 10px;
	margin: 0 auto;
}

form.user-login-form {
	top: 23px;
	position: relative;
}

form.user-login-form > div {
	text-align: left;
}

form.user-login-form label.js-form-required.form-required {
	margin-right: .9375rem;
	margin-left: .9375rem;
	padding: 20px 0 0;
}

.contact-message-personal-form.contact-message-form.contact-form {
	max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #f2f2f2;
}

.tfa-entry-form {
	max-width: 600px;
	margin: 2rem auto;
	border: solid 1px #d6d6d6;
	padding: 20px 20px 10px;
	text-align: left;
}

.tfa-entry-form .document-filter_control {
	margin: 0;        
}

.tfa-entry-form .description {
	margin-bottom: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tfa-entry-form .error {
	color: #d4351c;
	font-weight: 700;
	margin-bottom: 20px;
}
