﻿/* Intermediate missing Styles not transferred from dev.css before bash testing 06/03/18 to be checked by simon and moved to appropriate place in app.css */






/* Record View */

#similar-records-list {
	overflow-x: auto;
}

	#similar-records-list li {
		margin-right: 1rem;
		white-space: normal;
		vertical-align: top;
	}

		#similar-records-list li:last-child {
			margin-right: 0;
		}

.record-related-products {
    background-color: #efefef;
    box-shadow: 0 0 .25rem rgba(128, 128, 128, 0.5);
}

#scroll-example, #hire-researcher-img {
	padding-right: 1rem;
}

@media screen and (max-width: 39.9375em) {
	#scroll-example, #hire-researcher-img {
		padding-bottom: 1rem;
		padding-right: 0;
	}
}

.popup-nav
{
	position:fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
}
@media screen and (min-width: 40em) {
	.popup-nav {
		width: 90%;
		max-width: 75rem;
	}
}
.popup-modal .popup-prev, .popup-modal .popup-next {
	position: absolute;
	top: 0;
	color: #484848;
}
.popup-modal .popup-prev:hover, .popup-modal .popup-next:hover {
	color: #000000;
}

/* these values are overwritten in similarRecords.js for best positioning */
.popup-modal .popup-prev {
	left: 0;
}
.popup-modal .popup-next {
	right: 0;
}

.popup-modal .popup-prev [data-icon=square], .popup-modal .popup-next [data-icon=square] {
	color: currentColor;
}

@media screen and (max-width: 39.9375em) {
	.popup-modal .popup-prev, .popup-modal .popup-next {
		font-size: 0.5rem;
	}
}


/* Record Surround */
#record-view-container .rbs {
	background-image: url('/content/images/recordview/RecordBackgroundSprites.png');
	background-repeat: no-repeat;
}

#record-view-container .topLeftCor {
	background-position: -72px -80px;
	height: 48px;
	width: 30px;
}

#record-view-container .topMid {
	background: url('../../Content/images/recordview/top_right_cor_inner.jpg') repeat-x;
	height: 48px;
	overflow: hidden;
}

	#record-view-container .topMid img {
		margin-bottom: -5px;
	}

#record-view-container {
	background: #fff;
	border: 1px solid #ffd57a;
	box-shadow: 0 0 10px 0 #999;
}

	#record-view-container .topRightCor {
		background-position: -124px -80px;
		height: 48px;
		width: 32px;
	}

	#record-view-container .leftMid {
		background: url('../../Content/images/recordview/left_mid.jpg') repeat-y;
		width: 32px;
	}

	#record-view-container .rightMid {
		background: url('../../Content/images/recordview/right_mid.jpg') repeat-y;
		width: 32px;
	}

	#record-view-container .topMid, #record-view-container .botMid {
		width: calc(100% - 62px);
	}

	#record-view-container .midContent {
		width: calc(100% - 64px);
	}

	#record-view-container .botLeftCor {
		background-position: -2px -2px;
		height: 35px;
		width: 30px;
	}

	#record-view-container .botMid {
		background: url('../../Content/images/recordview/bot_right_cor_inner.jpg') repeat-x;
		height: 35px;
		text-align: center;
	}

	#record-view-container .botRightCor {
		background-position: -54px -2px;
		height: 35px;
		width: 32px;
	}

	#record-view-container #record-info .heading {
		background-color: #efefef;
		font-weight: bold;
	}

		#record-view-container #record-info .heading:not(.small-12) {
			border-right: 1px solid rgba(10, 10, 10, 0.25);
		}

	#record-view-container #record-info > .grid-x {
		border-bottom: 1px solid rgba(10, 10, 10, 0.25);
	}

	#record-view-container #record-info .grid-x .cell {
		padding: 0.4rem;
	}

.redacted-cell span.redacted {
	background-color: inherit;
	color: #999999;
	display: inline-block;
	font-size: 0.8em;
	margin-top: 3px;
}

	.redacted-cell span.redacted i.full-access {
		font-size: 1.1em;
	}

#record-order-popup {
	max-width: 850px;
}





/* Wherever a popup subscription form Reveal div is used it needs to have the class 'large' (medium is too narrow) but then with a maximum width restriction 
	either that or we create a new class somewhere between medium & large */

div#view-resource-subscribe-prompt {
	-webkit-overflow-scrolling: touch; /* allows iframe to be scrollable on iOS */
	max-width: 800px;
}

/* For /subscribe (full page subscription form) - Payment form looks bad if too wide */

#subscription-options-container #gateway-container {
	max-width: 30rem;
}


iframe#gatewayFrame {
	border: none;
	height: 400px; /* Just a reasonable starting height - iFrameResizer will adjust anyway as host changes */
	overflow: hidden;
	width: 100%;
}

#gateway-loader {
	background: #ffffff;
	box-shadow: 0 0 10px #777777;
	padding: 1rem;
	position: absolute;
}


/* For document expert file upload dialog */

.fileupload-buttonbar .button {
	font-size: 0.875rem;
}

/* New style added to keep label-for label/button aligned with other buttons */

.fileupload-buttonbar label.button {
	top: 0; /* Because label had top:0.4rem for medium up */
}

#upload-file-dialog .far.green-tick,
#upload-file-dialog .fas.green-tick {
	color: #267f00;
}

.upload-file-gallery-container {
	margin-bottom: 0.5rem;
}

.upload-file-gallery {
	border: 1px solid #c7c7c7;
	display: inline-block;
	margin-bottom: 0.5rem;
	margin-right: 0.5rem;
	padding: 0.5rem;
}

	.upload-file-gallery img {
		width: 3rem;
	}

.progress {
	margin-bottom: 0;
}

.expert-upload-container .no-bullet-container ul {
	list-style: none;
	margin-left: 0;
}



/* Document Tag Cloud - /documents/browse */

div.document-tag-cloud {
	background-color: #EFEFEF;
	line-height: 2em;
	margin-bottom: 0.8rem;
	padding: 0.8rem;
}

	div.document-tag-cloud a {
		margin-right: 0.8rem;
		text-decoration: none;
		white-space: nowrap;
	}

		div.document-tag-cloud a:hover {
			text-decoration: underline;
		}

		div.document-tag-cloud a.w1 {
			font-size: 1em;
		}

		div.document-tag-cloud a.w2 {
			font-size: 1.4em;
		}

		div.document-tag-cloud a.w3 {
			font-size: 1.8em;
		}

		div.document-tag-cloud a.w4 {
			font-size: 2.0em;
		}

		div.document-tag-cloud a.w5 {
			font-size: 2.4em;
		}

div#library div#document-initials span,
div#library div#document-types span {
	color: #888;
	display: inline-block;
	font-weight: bold;
	margin: 0 15px 10px 0;
}



/* Library Filters */

#library-result-filter {
	font-size: 0.75rem;
}

	#library-result-filter h2 {
		background-color: #666;
		border: 1px solid #666;
		border-top: 1px solid #666;
		color: #fff;
		font-size: 1.2rem;
		font-weight: normal;
		margin-bottom: -2px;
		padding: 5px 5px 5px 10px;
	}

	#library-result-filter table tbody td {
		padding: .2rem .3rem .3rem;
	}

	#library-result-filter table.remove-filter-table tr td:nth-child(1) {
		background-color: #b8e5a5;
		color: #333;
	}

	#library-result-filter table.remove-filter-table tr td:nth-child(2) {
		width: 100%;
	}

	#library-result-filter table.remove-filter-table tr td:nth-child(3) {
		background-color: #999;
		color: #fff;
		font-size: 1rem;
		padding-left: 4px;
		padding-right: 4px;
		text-align: left;
	}

		#library-result-filter table.remove-filter-table tr td:nth-child(3) a {
			color: #fff;
		}

	#library-result-filter .tag-holder {
		padding-bottom: 5px;
	}

	#library-result-filter .doc-type {
		background: none repeat scroll 0 0 rgb(220, 218, 218);
		color: black;
		cursor: pointer;
		display: block;
		margin-bottom: 5px;
		padding: 6px;
		text-align: center;
	}

	#library-result-filter a.count {
		border: 1px solid;
		color: #fff;
		font-size: 0.7rem;
		padding: 3px 5px 3px;
		text-align: center;
		text-decoration: none;
	}

		#library-result-filter a.count.related {
			background: #666666;
		}

		#library-result-filter a.count.exact {
			background: #14BA00;
		}

	#library-result-filter a.tag-all-link {
		font-size: 0.7rem;
	}

	#library-result-filter.no-tags-found {
		display: inline-block;
		margin: 10px;
	}

	#library-result-filter .legend {
		margin-top: 0.5rem;
	}

		#library-result-filter .legend .block {
			float: left;
			margin-right: 0.8rem;
			width: 20px;
		}

			#library-result-filter .legend .block.relevant {
				background-color: #666;
			}

			#library-result-filter .legend .block.exact {
				background-color: #14ba00;
			}


#document-controls #indexed-names div {
	background: rgba(0, 0, 0, 0.4);
	color: rgba(255, 255, 255, 1);
	padding: 0.8rem;
}

@media screen and (min-width: 64em) {
	#document-controls #indexed-names {
		background: transparent url("../Content/Images/Library/indexed-document.jpg") no-repeat center;
		background-size: cover;
		padding: 1.625rem;
		position: relative;
	}
}

#library-document-comment-container {
	background-color: #888;
}

	#library-document-comment-container h3 label {
		color: white;
		font-size: 1rem;
		padding: 0 5px 0 5px;
	}

	#library-document-comment-container textarea {
		font-size: 0.8rem;
		height: 100px;
	}

#library-page div#document-image-container,
#library-page div#document-image-container {
	background-color: #f2f2f2;
	border: 1px solid #ccc;
	padding-left: 10px;
	padding-right: 10px;
}

#library-page.image div#document-image-container,
#library-page.image div#document-image-container #document-image {
	max-height: 70vh;
}

.search-highlight {
	-khtml-opacity: 0.50;
	-moz-opacity: 0.50;
	background-color: yellow;
	filter: alpha(opacity=50);
	opacity: 0.50;
	z-index: 1;
}

/* Library Page Controls */

#library-page .page-controls input {
	height: 1.9rem;
	padding: 0px;
}

#library-page .page-controls .pager,
#library-page .page-controls .zooms {
	margin-right: 0.5rem;
}

#library-page .page-controls .goto-container input {
	max-width: 3.5rem;
}

#library-page .page-controls .button {
	max-height: 2.1rem !important;
	padding: 0.35em 0.6em !important;
}

	#library-page .page-controls .button .fa {
		font-size: 1.2rem;
	}

#library-page .page-controls #find-on-page-container input#find-on-page {
	width: 100px;
}

#library-page .page-controls .input-group {
	margin: 0px;
	width: auto;
}

/* We may later have additional classes for alternate button background color (other than warning, success etc) */

button#magnify.active-button {
	background-color: #FF7519;
}

.full-page-library-document {
	background: #F2F2F2;
	border: 1px solid #000000;
	float: left;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1010;
}

#full-screen-container #navigation {
	background-color: #2B4915;
	color: #fff;
	padding-top: 10px;
}

	#full-screen-container #navigation label {
		color: white;
	}

	#full-screen-container #navigation input.page-number {
		margin: 0 0.2rem 0 0.2rem;
		max-width: 3.5rem;
		padding: 0.2rem;
	}

	#full-screen-container #navigation .button {
		font-size: 1rem;
		padding: 0.35em 0.6em;
	}

	#full-screen-container #navigation .page-input {
		margin-right: 0.5rem;
	}

	#full-screen-container #navigation .page-text {
		line-height: 2rem;
	}

#full-screen-images-container img#document-image {
	max-height: 100%;
	max-width: 100%;
}


/* 
#########################################
	tags (i.e. at bottom of library document view)
#########################################
*/

#tag-list {
	margin-top: 10px;
}

	#tag-list .del {
		background: none repeat scroll 0% 0% rgb(204, 204, 204);
		bottom: 0.625rem;
		color: white;
		cursor: pointer;
		display: inline-block;
		margin: 1.25rem 1rem 0 0.3125rem;
		padding: 0.3125rem;
		position: relative;
	}

.ui-autocomplete {
	max-height: 12.5rem;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 99999;
}

html .ui-autocomplete {
	height: 6.25rem;
	z-index: 99999;
}



/* Custom Scroll */

/* This class already partially exists in app.css */

div.custom-scroll-preview-container {
	background: url("/Content/Images/Examples/Scroll-background.jpg") repeat left top;
	border: 1px solid #ccc;
	font-family: Arial, Sans-Serif;
}

.custom-scroll-preview-container div {
	background: url("/Content/Images/Examples/Scroll_Example_Custom.png") no-repeat center top;
	padding: 300px 40px 20px;
}

div .custom-scroll-preview-container #lbTextPreview {
	font-size: 1rem !important;
	line-height: 26px;
}

div.custom-scroll-preview-container #lbNamePreview {
	color: red;
	font-size: 1.2rem;
	font-weight: bold;
	margin: 20px 0;
}

div.custom-scroll-preview-container #lbFootTextPreview {
	font-size: 11pt;
}

div.custom-scroll-preview-container #custom-scroll-input {
	min-width: 320px;
}

#custom-scroll-input ul#validation-list {
	color: red;
	font-weight: bold;
	padding: 3px;
}

/* Order Scroll Form */

#order-scroll-example-container {
	margin-left: 10px;
	width: 360px;
}

	#order-scroll-example-container .order-scroll-example-img {
		border: 1px solid #ccc;
		box-sizing: content-box;
		height: 441px;
		padding: 10px;
		text-align: center;
		width: 318px;
	}

		#order-scroll-example-container .order-scroll-example-img.a3 {
			background: url('../Images/examples/scroll_example_A3.jpg') no-repeat 10px 10px;
		}

		#order-scroll-example-container .order-scroll-example-img.a4 {
			background: url('../Images/examples/scroll_example_A4.jpg') no-repeat 10px 10px;
		}

	#order-scroll-example-container #rank {
		font-size: 0.6875rem;
		font-weight: 700;
		position: relative;
		top: 350px;
	}

	#order-scroll-example-container .otherInfo {
		font-size: 0.6875rem;
		font-weight: 700;
	}

	#order-scroll-example-container #order-scroll-image-text-overlay {
		color: red;
		font-family: 'times new roman', serif;
		font-size: 0.875rem;
		font-weight: 700;
		margin-top: 350px;
	}

/*
#########################################
	dedication wall/gallery
#########################################
*/

.gallery-item h2 {
	font-size: 1.2rem;
}

.gallery-item a.image-link {
	color: inherit;
}

.gallery-item .image-container {
	max-height: 10rem;
	overflow: hidden;
}

	.gallery-item .image-container img {
		max-height: 15rem;
		max-width: 100%;
	}

.gallery-item .social a {
	font-size: 1.6rem;
}

@media screen and (max-width: 39.9375em) {
	.gallery-item .social .grid-x {
		margin: 0 -0.625rem;
	}

		.gallery-item .social .grid-x .cell {
			margin: 0 0.625rem;
		}
}

.gallery-item .social .share-title {
	font-size: 0.85em;
}

/* allow positioning of #remaining */

.create-dedication fieldset {
	position: relative;
}

.create-dedication #remaining {
	bottom: -10px;
	position: absolute;
	right: 0;
}

/* 
#########################################
	miscellaneous
#########################################
*/

/* this class is used to hide content to be shown later. Do not add an important declaration */
.no-show {
	display: none;
}

/* label for checkbox should appear next to it */

input[type=checkbox] ~ label,
input[type=radio] ~ label {
	display: inline-block;
	top: 0;
}

/* slider content initial height */

[data-social-content] {
	overflow: hidden;
}

/* stop links in headers being blue */

h1 a {
	color: inherit;
}

/* individual links not be blue */
.inherit-color {
	color: inherit;
}

/* don't change to blue when hovered */
.inherit-color-hover:hover {
	color: inherit;
}

/* 
	there's an issue with the collection list on ipad. I can't find the cause 
	as it's intermittent (though it may be related to content-loading) but 
	this hack should make the page look correct 
*/

#collections-list tr:nth-of-type(even) {
	background-color: #f1f1f1;
}

.half-space-below {
	margin-bottom: 0.5rem;
}

.enter-discount-code {
	max-width: 12rem;
}


/* allow elements to be vertically middle-aligned */
.vertical-align-container {
	display: table;
	height: 100%;
	width: 100%;
}

	.vertical-align-container div.vertical-middle {
		display: table-cell;
		vertical-align: middle;
	}

	.vertical-align-container div.vertical-bottom {
		display: table-cell;
		vertical-align: bottom;
	}

.static-position {
	position: static;
}

.relative-position {
	position: relative;
}

/* 
#########################################
	library document add/search names
#########################################
*/

#document-name-search-results table {
	margin-top: 1.5rem;
}


/* For Address List popup (Find Address) */

ul.address-response-list {
	background: #fff;
	border: 1px solid #000;
	display: none;
	max-height: 200px;
	overflow-y: scroll;
	position: absolute;
	width: 210px;
	z-index: 1;
}

	ul.address-response-list li.addressResult {
		list-style: none outside none !important;
		margin: 0 !important;
		padding: 0 5px;
	}

		ul.address-response-list li.addressResult:hover {
			background: #DBEAF9;
			cursor: pointer;
		}

.shipping-price-label {
	font-size: 1.1rem;
}


/* Spacing between scroll prices on order form */

#scroll-inputs #scroll-size > span {
	margin-right: 1rem;
}

/* Hitlers Black Book */

#blackbook-index .home-icon {
	color: black;
	float: right;
	font-size: 28px;
}

#blackbook-index #search-form {
	background: #333 url("/content/images/backgrounds/carbon-fine-dark.png") repeat scroll 0 0;
	color: white;
	margin-top: 20px;
	padding-left: 10px;
	padding-right: 10px;
}

#blackbook-index #search-help-text {
	color: #f2f2f2;
}

#blackbook-index form#search-form .input-group {
	margin-bottom: 0px;
}

#blackbook-index form#search-form #search-text {
	padding-bottom: 10px;
}

#blackbook-index #index-info #image1 {
	float: left;
	margin: 0 10px 10px 0;
	width: 160px;
}

#blackbook-index #index-info #image2 {
	float: left;
	margin: 0 10px 10px 0;
	width: 180px;
}

#blackbook-index h2 {
	margin-top: 1rem;
}

#blackbook-index #about-link {
	margin-bottom: 1rem;
}

#blackbook-index #showing-people {
	margin-top: 1rem;
}

#blackbook-index #found-count {
	font-size: 16px;
	font-weight: bold;
}

#blackbook-resultsList ul {
	list-style: none;
	margin: 0.5rem 0 0;
}

	#blackbook-resultsList ul > li {
		list-style: none;
		margin: 0 0 1.6rem;
	}

	#blackbook-resultsList ul #header * {
		font-size: 1.1rem;
		font-weight: 300;
	}

	#blackbook-resultsList ul article, #blackbook-resultsList ul.meta li a {
		display: inline-block;
		margin: 0 0.2rem 0 0.1rem;
	}

		#blackbook-resultsList ul article:not(:last-child):after, #blackbook-resultsList ul.meta li a:not(:last-child):after {
			content: ", ";
		}

		#blackbook-resultsList ul article.description img {
			display: block;
			float: left;
			height: 160px;
			margin: 0.25rem 0.5rem 0.5rem 0;
		}

	#blackbook-resultsList ul.meta, #blackbook-resultsList ul li ul.meta {
		margin: 0;
	}

		#blackbook-resultsList ul.meta, #blackbook-resultsList ul.meta * {
			font-size: 0.8rem;
		}

#blackbook-resultsList a {
	color: #4378bc;
}

#blackbook-resultsList #wantedby a {
	font-size: 13px;
	font-weight: bold;
}

#blackbook-personInfo th {
	/* white-space: nowrap; */
	text-align: left;
	vertical-align: text-top;
	width: 170px;
}

#blackbook-home-link {
	color: black;
	float: right;
}

#blackbook-department #details .grid-x div.cell:first-child,
#blackbook-personInfo .grid-x div.cell:first-child,
#blackbook-minideptbox .grid-x div.cell:first-child {
	background-color: #f2f2f2;
	font-weight: bold;
}

#blackbook-department #details {
	margin-bottom: 20px;
}

#blackbook-department #found-count {
	font-size: 1rem;
	font-weight: bold;
}

#blackbook-minideptbox > a {
	font-size: 1rem;
}



/* Hire a researcher */

#hire-researcher #section-1 h3 {
	margin-top: 0;
}

#hire-researcher .section-space,
#hire-researcher-discount .section-space {
	margin-top: 2rem;
}

.hire-researcher-section3 img {
	float: left;
	margin-bottom: 0.5rem;
	margin-right: 1rem;
}

#hire-researcher #section-6 ul li {
	list-style: none outside none;
	padding-bottom: 1rem;
	padding-left: 2.2rem;
}

	#hire-researcher #section-6 ul li:first-child {
		background: url('/Content/Images/Researcher/one.png') no-repeat scroll left top transparent;
	}

	#hire-researcher #section-6 ul li:nth-child(2) {
		background: url('/Content/Images/Researcher/two.png') no-repeat scroll left top transparent;
	}

	#hire-researcher #section-6 ul li:nth-child(3) {
		background: url('/Content/Images/Researcher/three.png') no-repeat scroll left top transparent;
	}

#hire-researcher-form input[type=checkbox] ~ label {
	display: inline-block;
}

#hire-researcher-form input[type=radio] ~ label {
	margin-right: 1rem;
}

div#hire-researcher a.button {
	font-size: 21px;
}

div#researcher-payment-form #payment-section span#total-price {
	font-size: 1rem;
	font-weight: bold;
}

div#researcher-payment-form #research-type-tooltip {
	font-size: 0.8rem;
	margin-left: 20px;
}

@media screen and (max-width: 63.9375em) {
	#hire-researcher #section-2 .researcher-photo {
		max-height: 75vh;
	}
}

@media screen and (min-width: 64em) {
	#hire-researcher #section-2 .researcher-photo {
		float: left;
		width: 22%;
		margin-right: 1.5rem;
	}
}


/* unit info */
#unit-battle-info .battle-info-more.short {
	max-height: 5rem;
	overflow: hidden;
}

img#unit-history-unit-image {
	margin: 0 0.625rem 1.25rem 0;
	max-width: 8rem;
}


/*
#########################################
		unit search	
#########################################
*/

#service-tabs li a span.smaller {
	font-size: 0.8rem;
}

.striped div {
	padding: 0.5rem;
}

	.striped div:nth-child(even) {
		background-color: #f1f1f1;
	}

/*
#########################################
 Japanese POW and medieval search/records
#########################################
*/

.linked-record {
	cursor: pointer;
}

.japanese-pow-record #record-info {
	border: 1px solid rgba(10, 10, 10, 0.25);
	border-bottom-width: 0;
}

@media screen and (max-width: 63.9375em) {
	.medieval-record-container .grid-x {
		border-bottom: 1px solid rgba(10, 10, 10, 0.25);
	}

	.medieval-record #record-info {
		border: 1px solid rgba(10, 10, 10, 0.25);
		border-bottom-width: 0;
	}
}

@media screen and (min-width: 64em) {
	.medieval-record-container {
		background: url(../images/backgrounds/medieval_scroll.jpg) no-repeat;
		height: 550px;
		padding: 90px 52px 0 33px;
		width: 385px;
	}

	#record-view-container.medieval-record #record-info .cell {
		background-color: transparent;
	}

	#medieval-search-box-container {
		background: url(../images/backgrounds/medieval_search_box_bg.jpg) no-repeat;
		height: 330px;
		margin-bottom: 1rem;
		width: 500px;
	}

	#medieval-search-box {
		background: white;
		margin: 100px 50px 0 60px;
		padding: 0 1rem;
	}
}

#medieval-search-box-container .button {
	margin-bottom: 1rem;
}

/*
#########################################
	profile
#########################################
*/

/* these two styles allow proper styling when table has hidden rows (see setUpStripes() in js) */

.email-references tr.even {
	background-color: #ffffff;
}

.email-references tr.odd {
	background-color: #f1f1f1;
}

@media screen and (max-width: 39.9375em) {
	table.email-references td.small-only-width-50 {
		display: inline-block;
	}
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	table.email-references td.medium-only-half-width {
		display: inline-block;
	}
}

@media screen and (max-width: 63.9375em) {
	table.email-references tr {
		font-size: 0;
	}

		table.email-references tr td {
			font-size: 0.9rem;
		}

	table.email-references i, table.email-references svg {
		font-size: 1.2rem;
	}

	.email-references tr[data-child] {
		padding-left: 1rem;
	}
}

@media screen and (min-width: 64em) {
	.email-references tr[data-child] .child-row-indicator * {
		float: right;
		width: calc(100% - 1rem);
	}
}

table.email-references td .switch label {
	top: 0;
}

.email-references td input[type=text],
.email-references td select,
.email-references td .switch {
	margin-bottom: 0;
}

.email-references .combo-list,
#add-email-setting .combo-list {
	background: #fff;
	border: 1px solid #ccc;
	height: 10rem;
	min-width: 15rem;
	overflow-y: scroll;
	position: absolute;
	z-index: 1;
}

	.email-references .combo-list ul li {
		padding: 5px;
	}

		.email-references .combo-list ul li:hover,
		.email-references .combo-list ul li.hover {
			background: #ffd6bf;
			cursor: pointer;
		}

.saved {
	position: relative;
}

	.saved::after {
		background: #e0ffd3;
		color: green;
		content: "Saved";
		display: block;
		font-weight: 700;
		left: 0;
		line-height: 4;
		opacity: 0.75;
		position: absolute;
		text-align: center;
		top: 0;
		width: 100%;
	}

#email-preferences-form label {
	top: 0;
	line-height: 1.6; /* matches p tag line-height */
}

	#email-preferences-form label:first-letter {
		text-transform: uppercase;
	}

/* 
#########################################

	blog

#########################################
*/

article.post-summary {
	border-top: 1px solid #ddd;
	padding-top: 1rem;
}

	article.post-summary:first-of-type {
		border-top: none;
		padding-top: 0;
	}

	article.post-summary .actions {
		color: #888888;
	}

		article.post-summary .actions a {
			color: inherit;
		}

		article.post-summary .actions .fa {
			margin-right: 0.25rem;
		}

	article.post-summary .categories {
		margin-top: 1rem;
	}

		article.post-summary .categories a {
			margin-right: 0.25rem;
		}

	article.post-summary .read-article:hover {
		background-color: #ff6a00;
		color: #ffffff;
	}

#post-calendar table thead {
	border: none;
	border-bottom: 1px solid rgba(32, 32, 32, 0.2);
}

#post-calendar table tbody,
#post-calendar table tbody tr {
	border: none;
}

#post-calendar .button {
	background-color: #bbbbbb;
	color: #ffffff;
	font-weight: 700;
}

.comment-container {
	border-top: 1px solid #dddddd;
	padding: 1rem 0;
}

.nested-comment-container {
	padding-left: 1rem;
}

	.comment-container .meta,
	.nested-comment-container .meta {
		font-size: 0.9em;
	}

[itemprop="commentText"] {
	word-wrap: break-word;
}

.button.rss {
	background-color: #ff6a00;
}



/* Inline list used for library document - full screen left side paging */

ul.inline-list {
	list-style: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

	ul.inline-list > li {
		display: block;
		float: left;
		list-style: none;
		margin: 0 0.2rem 0;
	}

		ul.inline-list > li > * {
			display: block;
		}

	ul.inline-list .no-margin {
		margin: 0 !important;
	}



/* Namesearch results sorting */

th.sortable {
	background: url('/Content/Images/sort_both.png') no-repeat 100% 10%;
	cursor: pointer;
}

	th.sortable:hover {
		background-color: #d0d0d0 !important;
	}

/* Up/Down arrows in header cells for sorting */

th.sortCol.asc {
	background: url('/Content/Images/sort_asc.png') no-repeat 100% 10%;
	background-color: #e0e0e0;
}

th.sortCol.desc {
	background: url('/Content/Images/sort_desc.png') no-repeat 100% 10%;
	background-color: #e0e0e0;
}



/* Namesearch results */

/* https://github.com/zurb/foundation-sites/issues/10407 */

@media screen and (max-width: 63.9375em) {
	.off-canvas-content.has-reveal-left {
		margin-left: 0 !important;
	}
}

@media screen and (min-width: 64em) {
	#search-side-panel {
		width: 100%;
	}
}

#namesearch-results-container #search-side-panel {
	background-color: white;
}

#namesearch-results-container #results-spinner {
	-moz-box-shadow: 0 0 10px 0 #000; /* Firefox */
	-webkit-box-shadow: 0 0 10px 0 #000; /* Safari / Chrome */
	background-color: white;
	box-shadow: 0 0 10px 0 #000; /* IE */
	display: none;
	left: 50%;
	margin: -100px 0 0 -75px;
	padding: 1rem;
	position: fixed;
	top: 50%;
	width: 150px;
	z-index: 100;
}

#namesearch-results-container #record-filter-updated {
	color: #666;
	display: none;
	font-size: 0.85em;
	padding: 0 10px 4px 0;
}

#namesearch-results-container .panel.clean {
	padding: 0.5rem;
}

#namesearch-results-container .red-cross,
#tag-result-container .red-cross {
	color: red;
	font-size: 1.5rem;
	font-weight: bold;
}

#namesearch-results-container .question-mark,
#tag-result-container .question-mark {
	border-bottom: none;
	color: #1779ba;
	cursor: help;
	font-size: 1rem;
	vertical-align: top;
}

#namesearch-results-container #no-results {
	color: #999;
	font-size: 1.2rem;
}

	#namesearch-results-container #no-results #no-match-icon {
		color: #333;
		font-size: 2rem;
	}

#results-container select#ResultsPerPage {
	max-width: 60px;
	height: 1.8rem;
	padding: 0 1.5rem 0 0.4rem;
	font-size: 0.9rem;
}

@media screen and (max-width: 39.9375em) {
	/* padding between pager and results per page */
	#nameSearchResultRecordListFullMatch .small-margin-under {
		margin-bottom: 0.5rem;
	}
}


/* Default a tag only adds the cursor pointer if it has href, some in search wizard dont */
#search-side-panel a {
	cursor: pointer;
}

img.exclusive-star {
	height: 12px;
	min-height: 12px;
	min-width: 12px;
	width: 12px;
}

img.free-icon {
	min-width: 50px;
	width: 50px;
}

img.new-icon {
	min-width: 32px;
	width: 32px;
}

.record-cell .others .small-view-icons {
	position: relative;
	right: 1rem;
	top: 0.5rem;
}

table#record-list td.record-cell a {
	display: block;
	padding: 0.5rem;
	text-decoration: none;
	/* background: #eee; */
}

table#record-list td.record-cell .name {
	font-size: 1.2rem;
	font-weight: 400;
}

table#record-list td.record-cell .others {
	line-height: 1.75;
	margin-top: 0.5rem;
}

	table#record-list td.record-cell .others .icon-and-text {
		padding-right: 1rem;
		white-space: nowrap;
	}

div#search-wizard {
	font-size: 0.85rem;
}



@media screen and (max-width: 63.9375em) {
	div#search-wizard {
		background-color: white;
		padding: 1.2rem;
	}
}

div#search-wizard #active-service-box {
	background-color: White;
	border: solid 1px #C0C0C0;
	color: #333;
	margin-bottom: 1rem;
	padding: 8px;
}

	div#search-wizard #active-service-box label {
		display: inline;
		font-size: 0.9rem; /* Have to override rather huge .panel label size */
	}

div#search-wizard .info-box {
	background-color: #ffc;
	border: solid 1px #2B4915;
	color: #4f6509;
	display: inline-block;
	font-family: Arial;
	font-size: 0.80rem;
	line-height: 18px;
	margin-bottom: 10px;
	padding: 10px;
}

	div#search-wizard .info-box h2 {
		color: #4f6509;
		font-size: 1.2rem;
		font-weight: bold;
	}

	div#search-wizard .info-box .search-icon {
		color: #000;
		float: left;
		font-size: 2rem;
		padding: 0.5rem;
	}

	div#search-wizard .info-box .broaden-text {
		font-size: 1rem;
	}

div#search-wizard #divSteps .step-heading {
	border-bottom: 2px solid #cccccc;
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 10px;
	padding-bottom: 8px;
	width: 100%;
}

	div#search-wizard #divSteps .step-heading a {
		font-size: 0.9rem;
		font-weight: normal;
		white-space: nowrap;
	}

div#search-wizard #divSteps .advanced-block {
	border: solid 1px #bbbaba;
	/* background-color: #efefef;
	padding-bottom: 5px; */
}

	div#search-wizard #divSteps h2.step-head,
	div#search-wizard #divSteps .advanced-block > h2 {
		background-color: #333;
		color: #fff;
		font-size: 0.9rem;
		height: 26px;
		padding-left: 10px;
		padding-top: 4px;
	}

div#search-wizard .greyed-out {
	color: #838282;
}

div#search-wizard #divSteps .remove-filter-text {
	color: #838282;
	font-family: Arial;
	font-size: 11px;
	font-style: italic;
}

div#search-wizard #divSteps .smaller-text {
	font-size: 0.75rem;
}

div#search-wizard #divSteps .advanced-block .seperator {
	border-color: #C0C0C0;
	border-style: none none solid none;
	border-width: 1px;
	margin-bottom: 0.4rem;
}

div#search-wizard #divSteps .advanced-block .inner-block {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

div#search-wizard #divSteps .advanced-block label {
	font-size: 0.85rem;
	margin: 0;
	position: static;
}

div#search-wizard [type=radio] {
	margin: 0px;
}

div#search-wizard #divSteps #active-service-box label {
	line-height: normal;
	top: 0;
}

div#search-wizard #divSteps .advanced-block [type=checkbox],
div#search-wizard #divSteps .advanced-block [type=radio] {
	margin-right: 0.3rem;
	position: relative;
	top: 2px;
}

#divSteps #searchResultsLiveChat {
	border: 1px solid #333;
	max-width: 268px;
	padding: 0.5rem;
	margin: auto;
	margin-top: 1.5rem;
}

#results-container .table-scroll {
	border-right: 1px solid #f1f1f1;
	margin-bottom: 1rem;
}

	#results-container .table-scroll.more-scroll {
		border-right: 1px dashed #f1f1f1;
	}

	#results-container .table-scroll table {
		margin-bottom: 0;
	}

		#results-container .table-scroll table thead,
		#results-container .table-scroll table tbody {
			border-right: none;
		}

@media screen and (max-width: 63.9375em) {
	#results-container .table-scroll table {
		width: 100%;
	}
}

/* 
#########################################

	forums
#########################################
*/

#bg-register {
	margin-bottom: 1rem;
}

#preview-container .preview-item-thread {
	border: 1px solid #cccccc;
	border-top: none;
	display: block;
	padding: 1.5rem 1rem;
}

	#preview-container .preview-item-thread:first-of-type {
		border-top: 1px solid #cccccc;
	}

	#preview-container .preview-item-thread .preview-icon {
		color: #858585;
		margin-right: 0.5rem;
	}

#preview-container .preview-icon .new {
	color: #7192A8;
}

#preview-container .preview-icon .hot {
	color: #ff6a00;
}

#preview-container .preview-item-thread .single-line {
	line-height: 2rem;
}

.preview-forum-header {
	background-color: #2B4915;
	color: #ffffff;
}

.preview-poster {
	background-color: #f1f1f1;
	color: #000000;
}

	.preview-poster dt,
	.preview-poster dt + dd {
		float: left;
		width: 50%;
	}

#preview-container .preview-poster-name {
	font-weight: 700;
}



/* Accordion Override default tiny font for Hire Researcher page */

ul#hire-researcher-branches .accordion-title {
	font-size: 1rem;
	padding: 0.75rem 0.75rem;
}

	ul#hire-researcher-branches .accordion-title::before {
		font-size: 1.5rem;
		margin-top: -0.8rem;
	}

/* 
#########################################
	tag cloud
#########################################
*/

#letter-nav a {
	background: #ededed;
	display: inline-block;
	margin: 0.3125rem;
	padding: 0.3125rem 0.3125rem 0.25rem;
	text-align: center;
	text-decoration: none;
}

	#letter-nav a.active, #letter-nav a:hover {
		background: #2B4915;
		color: white;
	}



#tag-search .tag-search-type {
	background-color: #ededed;
	border: 1px solid #cccccc;
	margin-bottom: 1rem;
	padding: 0.25rem 0.25rem 0.9rem;
}

	#tag-search .tag-search-type label {
		display: inline;
	}

	#tag-search .tag-search-type input {
		margin-bottom: 0;
	}


#tag-search-result .hide-icon {
	background-color: #EDEDED;
	border: 1px solid #CCCCCC;
	cursor: pointer;
	display: inline-block;
	padding: 0 0.5rem;
}


/* Subscription - Discount Offer (turning off autorenew) */

h2.discount-title {
	background-color: #6c8a4e;
	color: white;
	margin: 0;
	padding: 0.5rem 0 0.5rem;
	text-align: center;
}

.subscription-info-box {
	padding-bottom: 1rem;
}

	.subscription-info-box .duration {
		font-size: 1.4rem;
	}

	.subscription-info-box .amount-normal {
		font-size: 1.6rem;
	}

	.subscription-info-box .new-amount {
		font-size: 1.4rem;
	}

		.subscription-info-box .new-amount.monthly {
			color: #ba4206;
		}

	.subscription-info-box .description {
		display: block;
	}

	.subscription-info-box:hover {
		background: #D8E4CC;
	}

div.subscription-info-box.highlighted {
	background: #d8e4cc;
	border: solid 1px #d0d0d0;
}


/* tooltipster override default theme */

.tooltipster-sidetip .tooltipster-box {
	background: #333 !important; /* or nice green ? #4f6509 */
	border: 1px solid #111 !important;
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background {
	border-bottom-color: #333;
}

.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background {
	border-left-color: #333;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background {
	border-right-color: #333;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
	border-top-color: #333;
}

.tooltipster-sidetip .tooltipster-content {
	font-size: 0.8rem;
}



/* For form error message on dark background */

.form-error.on-dark {
	background-color: red;
	color: white;
	font-size: 0.8rem;
	font-weight: 400;
	padding: 0.2rem 0.5rem;
}


/* bad email banner */

#bad-email-banner p {
	margin-bottom: 0;
}


/* Campaign Landing */

.landing-container {
	margin: 0 auto;
	max-width: 1200px;
}

.landing-background-box {
	background-color: #f2f2f2;
	border: 1px solid #ccc;
}

#campaignlanding-top > div {
	padding: 0;
}

#campaignlanding-top #line1 {
	background-color: #2B4915;
	height: 15px;
}

#campaignlanding-top #line2 {
	background-color: #002E67;
	height: 15px;
}

#campaign-landing-container .bottom-padding {
	margin-bottom: 20px;
}

/* Need to override default header styles to keep as originally designed for IsTok Web font */

#campaign-landing-container .title-row h1 {
	background-color: transparent;
	border-style: none;
	box-shadow: none;
	color: #f26721;
	font-family: 'Istok Web', sans-serif !important;
	font-size: 40pt;
	font-weight: bold;
	line-height: 1.1;
	margin-top: 0;
	text-shadow: none;
}

#campaign-landing-container .title-row h2 {
	color: #000;
	font-family: 'Istok Web', sans-serif !important;
	font-size: 26pt;
	font-weight: bold;
	margin-top: 0;
}

#campaign-landing-container #imageText,
#campaign-landing-container #searchBoxText,
#campaign-landing-container #textAboveCTA {
	font-family: 'Istok Web', sans-serif;
}

#campaign-landing-container #searchBoxText {
	font-style: italic;
}

/* Adjust H1 H2 & Button Sizes for small (standard 40em breakpoint) */

@media only screen and (max-width: 40em) {
	#campaign-landing-container .title-row h1 {
		font-size: 18pt;
	}

	#campaign-landing-container .title-row h2 {
		font-size: 12pt;
	}

	#campaign-landing-container .main-cta {
		font-size: 12pt;
		padding: 5px 20px 10px 20px;
	}

		#campaign-landing-container .main-cta::after {
			font-size: 22pt;
		}
}

/* Medium (standard breakpoint em's */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
	#campaign-landing-container .title-row h1 {
		font-size: 30pt;
	}

	#campaign-landing-container .title-row h2 {
		font-size: 18pt;
	}

	#campaign-landing-container .main-cta {
		font-size: 21pt;
		padding: 5px 20px 10px 20px;
	}

		#campaign-landing-container .main-cta::after {
			font-size: 26pt;
		}
}

#test-bar {
	background-color: #ffffff;
	bottom: 0;
	left: 0;
	opacity: 0.8;
	position: fixed;
	width: 100%;
	color: #000000;
}

	#test-bar label {
		color: inherit;
		text-shadow: none;
		font-size: .875rem;
	}

	#test-bar #hide-link {
		position: absolute;
		right: 1rem;
		top: 1rem;
	}

/* NameSearch box override */

.small-search .panel.carbon label {
	font-size: .875rem;
}

.small-search .panel.carbon h2 {
	font-size: 1.5rem;
}

.panel.carbon .grid-x.space-above .cta.large {
	margin-top: 1rem;
}

.panel.carbon .grid-x.space-below {
	margin-bottom: 1rem;
}

	.panel.carbon .grid-x.space-below input,
	.panel.carbon .grid-x.space-below select {
		margin-bottom: 0;
	}

	.panel.carbon .grid-x.space-below .form-error {
		margin-top: 5px;
		margin-bottom: 0;
	}

/* Because there may still be one or two places that display mvc validation errors, simulates foundation callout alert classes */
.validation-summary-errors {
	position: relative;
	margin: 0 0 1rem 0;
	padding: 1rem;
	border: 1px solid rgba(10,10,10,.25);
	border-radius: 0;
	background-color: #f7e4e1;
	color: #0a0a0a;
}

	.validation-summary-errors ul li {
		list-style: none;
	}

/* New Records page */
#view-matching-records h2 {
	margin-top: 1rem;
}

#showFlaggedOnly {
	margin-left: 0.5rem;
	margin-top: 0.375rem;
}

/* Contact Us Page*/
#is-member-check {
	display: none;
	margin-top: -.5rem;
	margin-bottom: 1rem;
	font-size: .75rem;
	font-weight: 700;
	color: #cc4b37;
}

/* force Collection list columns to be nice width on large */
@media screen and (min-width: 64em) {
	table#collections-list th.force-width {
		width: 40%;
	}
}

/* Landing page documents image  */
#landing-page-examples {
	position: absolute;
	bottom: 0;
	left: 0;
	max-height: 100%;
	max-width: calc(100% - 1rem);
}

/* document thumbnails as displayed on collection info page */
.tag-category-documents .thumbnail img {
	max-height: 10vw;
	min-height: 5rem;
}

@media screen and (min-width: 64em) {
	.tag-category-documents .thumbnail img {
		max-width: 10vw;
	}
}

@media screen and (min-width: 64em) {
	#landing-page-examples {
		bottom: -10px;
	}
}

/* #############################
TrustPilot iframe
   ############################# */

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	#trustpilot-lightbox {
		width: 90%;
	}
}

@media screen and (min-width: 64em) {
	#trustpilot-lightbox {
		width: 80%;
	}
}

#trustpilot-frame {
	border: none;
	width: 100%;
	height: 100%;
	margin-bottom: -.375rem;
	-webkit-overflow-scrolling: touch;
}

#trustpilot-lightbox p#prize-draw {
	color: black;
	padding-right: 4rem;
	font-size: 0.8rem;
	line-height: 1.5;
}

#trustpilot-lightbox #member-code {
	font-size: 1.1em;
	font-weight: 700;
	border: none;
	width: 100px;
	height: 20px;
	box-shadow: none;
	text-align: center;
	display: inline;
	padding: 0;
	margin: 0;
	line-height: 1;
}

@media screen and (min-width: 40em) {
	#trustpilot-lightbox p#prize-draw {
		font-size: 1rem;
		line-height: 1.3;
	}
}

@media screen and (min-width: 64em) {
	.trustpilot-reviews p {
		color: black;
		font-size: 0.8rem;
	}
}

#trustpilot-lightbox .close-button {
	top: 1rem;
	right: 2.5rem;
	background: transparent;
	z-index: 999;
}

	#trustpilot-lightbox .close-button:focus, #trustpilot-lightbox .close-button:hover {
		color: rgba(255, 255, 255, 0.88);
	}

.iframe-wrapper {
	position: relative;
	height: calc(100vh - 17rem);
}

.iframe-container {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	top: 0;
	-webkit-overflow-scrolling: touch;
	overflow: scroll;
}

.trustpilot-reviews p {
	color: black;
	font-size: 0.8rem;
}

.trustpilot-reviews .review-date {
	color: silver;
	font-size: 0.7rem;
	line-height: 1.8;
}

.trustpilot-reviews h2 {
	font-size: 1.5rem;
	margin-top: 0.5rem;
}

.trustpilot-reviews h3 {
	font-size: 1rem;
	margin-top: 0.5rem;
}

.trustpilot-reviews .rating {
	color: silver;
	font-size: 0.8rem;
}

.trustpilot-reviews .rating-5 {
	color: #00B67A;
}

.trustpilot-reviews .rating-4 {
	color: #73CF11;
}

.trustpilot-reviews .rating-3 {
	color: #FFCE00;
}

.trustpilot-reviews .rating-2 {
	color: #FF8622;
}

.trustpilot-reviews .rating-1 {
	color: #FF3722;
}

.trustpilot-reviews .orbit-container {
	padding: 0 1rem;
	height: auto !important;
}

.trustpilot-reviews .orbit-next,
.trustpilot-reviews .orbit-previous {
	padding: 0.5rem;
	color: silver;
}

.trustpilot-reviews .orbit-bullets button {
	width: 0.6rem;
	height: 0.6rem;
}


@media screen and (min-width: 40em) {
	.iframe-container {
		overflow: hidden;
	}
}

@media screen and (max-width: 64em) and (orientation: landscape) {
	.iframe-wrapper {
		height: 40vh;
	}
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.iframe-wrapper {
		height: 40vh;
	}
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) and (orientation: landscape) {
	.iframe-wrapper {
		height: 50vh;
	}
}

@media screen and (min-width: 64em) {
	.iframe-wrapper {
		height: 32vh;
		min-height: 340px;
	}

	#trustpilot-frame {
		height: 100%;
	}
}

.error-text {
	color: red;
}

.position-bottom-left {
	position: absolute;
	bottom: 0;
	left: 0;
}

/* Shop */

#shop-product-types-list img {
	height: 250px;
	margin-bottom: 0.75rem;
}

#step1-inputs h4 {
	margin-top: 1rem;
}

#advanced-filters {	
	padding-bottom: 1rem;
}

#advanced-filters .ui-accordion-content {
	border: none;
	padding: 1em 0;	
}

#advanced-filters h4 {
	font-family: 'Roboto', sans-serif;
	border-radius: 0;
}

#advanced-filters h4.ui-state-default {
	background-color: #e0e0e0;
}

#advanced-filters h4.ui-state-active {
	background-color: #1779ba;
}

#advanced-filters label {
	display: inline;
}