/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@font-face {
	font-family: publicsans;
	src: url('/fonts/PublicSans-Regular.woff') format('woff'), url('/fonts/PublicSans-Regular.ttf') format('truetype'), url('/fonts/PublicSans-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: publicsanslight;
	src: url('/fonts/PublicSans-ExtraLight.woff') format('woff'), url('/fonts/PublicSans-ExtraLight.ttf') format('truetype'), url('/fonts/PublicSans-ExtraLight.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}


html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
	background: #003bb5;
	font-family: publicsans, SansSerif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

nav ul, nav li {
	margin: 0;
	list-style: none;
	list-style-image: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

.la {

}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
	display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
	/* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	white-space: inherit;
	width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
	visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
	content: " ";
	/* 1 */
	display: table;
	/* 2 */
}

.clearfix:after {
	clear: both;
}

header {
	background: #fff;
	color: #003bb5;
	width: 100%;
	height: 115px;
	border-bottom: 1px solid #003bb5;
}

.inner {
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
}

.tableholder {
	padding-top: 1px;
	background-color: #c0e1be;

}

.logo-holder {
	position: relative;
	float: left;
	width: 500px;
}
.logo-holder:before {
	background: url('/img/logo.svg');
	width: 75px;
	height: 75px;
	content: '';
	float: left;
	margin-top: 20px;
}
.helpholder {
	background-color: #fff;
	float: left;
	width: 100%;
}

nav {
	display: block;
	float: right;
	position: relative;
}

header h1 {
	font-family: publicsanslight;
	font-weight: lighter;
	display: block;
	float: left;
	margin: 55px 0 0 10px;
}

header nav ul {
	margin-top: 65px;
	transition: all ease .5s;
}

header nav ul li {
	float: left;
	padding: 5px 25px;
	position: relative;
	white-space: nowrap;
}

header nav ul li a {
	color: #003bb5;
	font-family: publicsanslight;
	text-decoration: none;
	font-weight: lighter;
	font-size: 20px;
	transition: all ease 0.2s;
}

header nav ul li a:hover {
	opacity: 0.6;
}

.calculatorholder table {
	margin-top: 30px;
	background: #c0e1be;
	border: none;
	width: 100%;
	column-width: 150px;
}

.calculatorholder th {
	font-family: publicsanslight;
	font-weight: normal;
	text-align: center;
	font-size: 12px;
}

.calculatorholder th.mmr-exp, td.mmr-exp {
	display: none;
}

.calculatorholder table .immucheck {
	width: 56px;
	column-width: 56px;
}

.calculatorholder td, th {

	text-align: center;
	align-content: center;
}

.calculatorholder table td.date {
	width: 150px;
}

.datefriendly {
	width: 140px;
}

table .age {
	width: 150px;
}

.helpholder .left {
	width: 48%;
	float: left;
}

.helpholder .right {
	width: 48%;
	float: right;
}

.helpholder table {
	width: 100%;
	position: relative;
	margin: 5px auto;
	border-spacing: 0px;
	border-radius: 5px;
}

.helpholder th,
.helpholder td {
	text-align: left;
	max-width: 30%;
	padding: 10px;
	vertical-align: middle;
}
.helpholder td {
	border-bottom: 1px solid #f2f2f2;
	transition: all ease 0.2s;

}

.helpholder tr {
	border: 1px solid #666666;
	transition: all ease 0.2s;
}

.helpholder tr:hover td {
	background-color: rgba(0, 59, 181, 0.18);
}

.helpholder tr.table-header th {
	background-color: rgba(192, 225, 190, 0.54);
	color: #333;
	padding: 10px;
}

.helpholder .inner,
.calculatorholder .inner {
	padding: 20px 0;
}

.clear {
	clear: both;
}

.remove {
	cursor: pointer;
}

.mmr-open, .mmr-close {
	color: #003bb5;
	cursor: pointer;
	font-size: 16px;
}

.button {
	background: #003bb5;
	border: 1px solid #003bb5;
	font-family: publicsanslight;
	padding: 15px;
	display: block;
	color: #fff;
	font-size: 24px;
	width: 275px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

.button:hover {
	background-color: #fff;
	color: #003bb5;
}

.add-button {
	background-color: #00c44e;
	font-family: publicsanslight;
	padding: 10px;
	display: block;
	color: #fff;
	font-size: 16px;
	width: 170px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	float: right;
	cursor: pointer;
	border: 1px solid #00c44e;
	transition: all ease 0.2s;
}

.add-button:hover {
	background-color: #fff;
	color: #00c44e;
	box-sizing: content-box;
}


.calc-buttons {
	width: 100%;
	float: right;

}

.form-note {
	clear: both;
	width: 50%;
	padding: 15px;
	background-color: rgba(255, 192, 190, 0.4);
	margin: 0 auto;
}

.calc-buttons .button {
	float: right;
	font-size: 18px;
	width: 200px;
	margin: 10px 0 10px 10px;
	line-height: 20px;
	cursor: pointer;
}

.calc-buttons .button .la {
	font-size: 24px;
}

fieldset.details {
	width: 60%;
	position: relative;
	margin: 20px auto;
	display: block;
}

.whole {
	width: 100%;
	float: left;
	margin: 5px auto;
}

.whole label {
	text-align: right;
	width: 250px;
	float: left;
}

.whole input {
	float: left;
	padding: 10px;
	margin-left: 30px;
	background-color: #e7e7e8;
	border: none;
	margin-bottom: 10px;
}

.check {
	height: 20px;
	width: 20px;
	position: relative;
}

.check:after {
	font-family: LineAwesome;
	display: block;
	pointer-events: none;
	font-size: 18px;
	text-indent: -1px;
	position: absolute;
	top: 0;
	left: 0;
	height: 15px;
	width: 15px;
	color: #00c44e;
	content: '';
	transition: .25s all ease-in-out;
	border-radius: 3px;
	line-height: 15px;
	border-width: 2px;
	border-style: solid;
	border-color: transparent;
	background: #fff;
	font-weight: bold;
}

.check:checked:after {
	content: '\f17b';
}

.check:hover:after {
	border-color: #00c44e;
}

.immu-row td {
	padding-bottom: 10px;
}

.foldimage {
	background-image: url('/img/bg.jpg');
	height: 900px;
	background-size: cover;
	background-position: 80% 40%;
}

.foldoverlay {
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 1px 0;
}

.foldcontent {
	float: left;
	font-size: 22px;
	max-width: 45%;
	margin-top: 100px;
	color: #fff;
}

#dob-hidden {
	display: none;
}

.note {
	clear: both;
	float: left;
	width: 100%;
	text-align: center;
	color: #003bb5;
}

.calculatorholder {
	background-color: #fff;
}

.lightbox-overlay {
	background-color: rgba(0, 0, 0, 0.4);
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-content: center;
	justify-content: center;
}

.lightbox-container {
	width: 95%;
	max-width: 800px;
	background-color: #fff;
	position: relative;
	border-radius: 5px;
	height: auto;
	align-self: center;
	max-height: 95vh;
	overflow: auto;
}

.close {
	padding: 10px;
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 20px;
	cursor: pointer;
}

.foldcontent .button {
	margin-top: 75px;
}

footer {
	width: 100%;
	background: #003bb5;
	color: #fff;
	min-height: 400px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
}

.hblogo {
	width: 300px;
	padding: 20px;
}
.wslogo{
	width: 300px;
	padding: 20px;
}

.results-holder {
	padding: 15px;
	float: left;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}
.results-holder.loading {
	height: 200px;
}
.results-holder.loading:after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	font-size: 32px;
	content: "\f311";
	margin: -16px 0 0 -16px;
	animation: fa-spin 2s infinite linear;
	font-family: LineAwesome;
}

.results-holder h1 {
	font-style: 28px;
	font-weight: normal;
}

.results-holder table {
	width: 100%;
	border: 1px solid #ddd;
	border-collapse: collapse;
}

.results-holder th, .results-holder td {
	padding: 10px;
	font-size: 12px;
	vertical-align: top;
}

.results-holder th {
	text-transform: uppercase;
	font-weight: bold;
	text-align: left;
	background: #eee;
}

.results-holder td {
	border-top: 1px solid #ddd;
}

.results-holder dl {
	font-size: 0;
	width: 100%;
	float: left;
	margin-bottom: 15px;
}

.results-holder dt, .results-holder dd {
	display: inline-block;
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
	font-size: 12px;
	float: left;
}

.results-holder dt {
	width: 120px;
	clear: left;
	color: #666;
}

.results-holder dd {
	margin: 0;
	width: 300px;
}

.results-holder dd:after {
	content: "\00a0";
}

.results-holder ul {
	list-style: none;
	padding: 0;
}

.results-holder li {
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}

.hamburger {
	display: none;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1200px) {
	header {
		height: 100px;
	}

	.hamburger {
		display: block;
		position: absolute;
		top: 40px;
		right: 20px;
		border: none;
		background: none;
		opacity: 0.8;
		cursor: pointer;
	}

	.foldcontent {
		float: none;
		max-width: 100%;
		padding: 10px;
	}
	.logo-holder {
		max-width: 80%;
		height: 90px;
		padding: 5px;
	}

	.logo-holder:before {
		width: 50px;
		height: 50px;
	}

	.logo-holder h1 {
		margin-top: 40px;
		font-size: 22px;
	}
	.calculatorholder .inner{
		width: 95%;
	}
	.helpholder .inner{
		width: 95%;
	}
	.helpholder .left{
		float: left;
		width: 100%;
		overflow: auto;
	}
	.helpholder .right{
		float: left;
		width: 100%;
		overflow: auto;
	}
	.helpholder table{
		float: left;
		width: 100%;
		max-width: 100%;
		overflow-x: scroll;
	}

	header nav {
		width: 100%;
		display: none;
		background-color: #fff;
	}
	header nav ul {
		margin: 0;
		padding: 0;
		position: relative;
		z-index: 200;
	}
	header nav ul li {
		float: initial;
		padding: 15px;
		position: relative;
		white-space: nowrap;
		border-bottom: 1px solid rgba(0, 59, 181, 0.4);
		text-align: center;
		width: 80%;
		position: relative;
		margin: 0 auto;
	}
	.inner {
	}

	/* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important;
		/* Black prints faster */
		-webkit-box-shadow: none !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	a[href]:after {
		content: " (" attr(href) ")";
	}
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	/*
	   * Don't show links that are fragment identifiers,
	   * or use the `javascript:` pseudo protocol
	   */
	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}
	pre {
		white-space: pre-wrap !important;
	}
	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	/*
	   * Printing Tables:
	   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
	   */
	thead {
		display: table-header-group;
	}
	tr,
	img {
		page-break-inside: avoid;
	}
	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
}

