/*------------------------------------*\
    THE SALARY CALCULATOR 2017
\*------------------------------------*/


/*------------------------------------*\
    $CONTENTS
\*------------------------------------*/
/**
 * CONTENTS.............You're reading it!
 * GLOBALS..............Anything not covered by normalize
 * SCAFFOLDING..........Main elements
 */

/*------------------------------------*\
    $GLOBALS
\*------------------------------------*/

/**
 * Automagically subtract padding and borders from width declarations using wildcard selector.
 */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*transition-property: all;
    transition-duration: 1s;*/
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/**
 * Make sure overflows aren't an issue
 */

.overflow {
    overflow-x: hidden;
}

.overflow__scroll {
	overflow: scroll;
	width: calc(100% + 36px);
	margin: 0 -18px;
	padding: 0 0 0 18px;
}

/**
/* Defines baseline font size as 16px.
 */

html {
    font-size: 100%;    
}

html, input, textarea {
    text-shadow:0 1px 1px rgba(255,255,255,.5);
}

.dark {
    text-shadow:0 1px 1px rgba(0, 0, 0, .3);
}

/**
 * Remove default margin.
 */

body {
    margin: 0;
}

img {
	vertical-align: bottom;
}

/**
 * 1. Using unitless line heights to maintain scale.
 * 2. Enables ligatures in text smaller than 20px for some fonts.
 * 3. Turn common and discretionary ligatures on.
 * 4. For thinner, smoother font rendering.
 * 5. Better rendering of text on Mac OS.
 */

body { 
    color: #484848;
    font: 100%/1.5 "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; /* 1 */
    text-rendering: optimizeLegibility; /* 2 */
    -moz-font-feature-settings: "liga=1, dlig=1"; /* 3 */
    -ms-font-feature-settings: liga, dlig;
    -o-font-feature-settings: liga, dlig;
    -webkit-font-feature-settings: liga, dlig;  
    -webkit-font-smoothing: antialiased; /* 4 */
    -moz-osx-font-smoothing: grayscale; /* 5 */ 
    overflow-x: hidden;
}

/**
 * Utility class to centre text.
 */

.centred {
    text-align: center;    
}

.nowrap {
	white-space: nowrap;
	}

/*------------------------------------*\
    $SCAFFOLDING
\*------------------------------------*/

/**
 * Header is full width to provide distiction from content
 */

header {
	width: 100%;
	border-bottom: 1px solid #ddd;
}

/**
 * Section is centered to keep content focused
 */

section {
	
}

	.wrap {
		margin: 0 auto;
		max-width: 1266px;
		position: relative;
	}
  
/**
 * Clearfix to clear floated elements.
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
} 
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

.divider, .additional-info {
	position: relative;
	display: inline-block;
	width: 100%;
	margin: 0 0 18px;
}

@media screen and (min-width: 870px) {

	.divider {
		width: auto;
		vertical-align: top;
		padding: 0 48px 0 0;
	}

	.divider--results {
		margin: 0 0 20px;
	}

}

@media screen and (min-width: 1024px) {

	.main-content {
		padding: 0 0 0 248px;
	}

}

@media screen and (min-width: 1280px) {

	.main-content {
		padding: 0 0 0 288px;
	}

}

.panel .divider {
	width: 99%;
	}

.panel .divider p {
	max-width: calc(100% - 36px);
	}

/*------------------------------------*\
    $TYPE
\*------------------------------------*/

h1, h2, h3, h4, h5, h6, p {
	font-weight: 600;
	letter-spacing: -0.029em;
	margin: 0 0 20px;
	color: #450018;
}

h1 {
	font-size: 30px;
	line-height: 40px;
}

h2 {
	font-size: 24px;
	line-height: 36px;
}

h3 {
	font-size: 20px;
	line-height: 24px;
}

h4 {
	font-size: 18px;
	line-height: 24px;
}

p {
	font-size: 16px;
	line-height: 24px;
	font-weight: 300;
	max-width: 840px;
	color: #484848;
}

.underline {
	position: relative;
	padding: 0 0 18px;
}
	
	.underline:after {
		content: "";
		position: absolute;
		bottom: 0;
		height: 4px;
		width: 72px;
		background: #D67B7A;
		left: 0;
	}

.additional-info__headline {
	display: inline-block;
	line-height: 48px;
	margin: 0;
	width: 100%;
}

	.divider:first-child .additional-info__headline {
		margin: 0 24px 0 0;
	}

.additional-info__headline--no-margin {
	margin: 18px 24px 12px 0;
	width: auto;
}

@media (min-width: 560px) {

	.additional-info__headline {
		margin: 0 18px 0 0;
		width: auto;
	}

}

@media (min-width: 836px) {

	.additional-info__headline {
		margin: 0 18px 0 12px;
	}

	.additional-info__headline--no-margin {
		margin: 0 24px 0 0;
	}

}

@media (min-width: 1024px) {

	.additional-info__headline {
		margin: 0 24px 0 36px;
	}

	.additional-info__headline--no-margin {
		margin: 0 24px 0 0;
	}

}

@media (max-width: 1024px) {
	h2, h3, h4, h5, h6 {
		margin: 0 0 10px 0;
	}
		
	h1 {
		font-size: 24px;
		line-height: 32px;
	}
	
	h2 {
		font-size: 18px;
		line-height: 24px;
	}

	h3 {
		font-size: 16px;
		line-height: 20px;
	}

	h4 {
		font-size: 16px;
		line-height: 20px;
	}

	.underline {
		padding: 0 0 12px 0;
	}
        
        #topleaderboardad {
            min-height: 431px;
        }
}

/*------------------------------------*\
    $BANNER
\*------------------------------------*/

.advert {
	position: relative;
	margin-bottom: 15px;
}

.advert--landscape {
	max-width: 840px;
	border-bottom: 1px solid #ddd;
	padding: 0 0 18px 0;
	text-align: center;
}

#topleaderboardad {
    min-height: 311px;
}

.advert--bottom {
	max-width: unset;
	border-top: 1px solid #ddd;
	border-bottom: none;
}

.squaread {
	margin-bottom: 5px;
	border-top: 1px solid #ddd;
	padding: 18px 0 0 0;
	}
        
@media (min-width: 600px) {
    .squaread {
        float: left;
    }
}

	.main-content .advert--bottom {
		margin: 0 -18px 48px;
		width: calc(100% + 36px);
		border-bottom: 1px solid #ddd
	}

.advert--portrait {
	position: fixed;
	top: 50px;
	right: 0px;
	padding: 36px 12px;
	display: none;
}

	.advert--landscape__image {
		max-width: 728px;
		display: none;
	}

	.advert--landscape__image--small {
		display: inline;
	}

	.advert--portrait__image {
		max-width: 160px;
	}

	.advert label {
		position: absolute;
		top: 3px;
		text-transform: uppercase;
		font-size: 12px;
		color: #9F9F9F;
	}

	.secondary-banner label {
		margin: 0 0 0 -12px;
	}

@media (max-width: 528px) {
	.disappear {
		display: none;
		}
	
	#breakdown td {
		font-size: 12px;
		}
		
	}

@media (min-width: 768px) {

	.advert--landscape__image {
		display: inline;
	}

	.advert--landscape__image--small {
		display: none;
	}

}

@media (min-width: 1024px) {

	.advert--bottom {
		left: 248px;
		width: calc(100% - 248px);
		padding: 24px ;
	}

	.advert--bottom {
		left: 0;
		margin: 0 0 48px;
		width: calc(100% + 72px);
	}

}

@media (min-width: 1280px) {

	.advert--bottom {
		left: 288px;
		width: calc(100% - 288px);
		padding: 24px 36px;
	}

}

@media (min-width: 1366px) {

	.advert--portrait {
		display: block;
	}
	
	.squaread {
		display: none;
		}

}

/*------------------------------------*\
    $HEADER
\*------------------------------------*/

.logo {
	margin: 16px auto 33px;
}

/*------------------------------------*\
    $NAV
\*------------------------------------*/

.nav-wrap {
	position: relative;
}

	.nav-wrap:after {
		position: absolute;
		bottom: 7px;
		right: 0;
		width: 36px;
		height: 48px;
		content: "";
		color: #fff;
		background: -moz-linear-gradient(left, rgba(120,18,20,0.01) 0%, rgba(120,18,20,1) 60%);
		background: -webkit-linear-gradient(left, rgba(120,18,20,0.01) 0%,rgba(120,18,20,1) 60%);
		background: linear-gradient(to right, rgba(120,18,20,0.01) 0%,rgba(120,18,20,1) 60%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#03781214', endColorstr='#781214',GradientType=1 );
		z-index: 500;
		text-align: right;
		font-weight: bold;
		line-height: 48px;
		font-size: 24px;
		padding: 0 6px 0 0;
	}

.menu {
	width: 100%;
	display: inline-block;
	vertical-align: bottom;
	background: #781214;
	padding: 24px 18px 0;
	text-transform: uppercase;
	font-size: 12px;
	overflow-x: scroll;
	transition-property: none;
}

	.menu__list {
		margin: 0;
		padding: 48px 0 0;
		/*width: 1284px;*/
		white-space: nowrap;
		display: inline-block;
		-ms-overflow-style: -ms-autohiding-scrollbar;
	}

		.menu__list-item {
			margin: 0;
			padding: 0 10px;
			list-style: none;
			/*float: left;*/
			display: inline;
			position: relative;
			left: 178px;
		}

		.menu__list-item--logo {
			text-align: center;
			padding: 3px 0 24px;
			position: absolute;
			left: 18px;
			right: 18px;
			top: 24px;
		}

		.menu__list-item--active {
			position: absolute;
			left: 0;
			padding: 0 20px 0 18px;
			background: #781214;
			z-index: 100;
		}

			.menu__list-item--active:before {
				content: "";
				position: absolute;
				right: -18px;
				width: 18px;
				background: -moz-linear-gradient(left, rgba(120,18,20,1) 50%, rgba(120,18,20,0.01) 100%);
				background: -webkit-linear-gradient(left, rgba(120,18,20,1) 50%,rgba(120,18,20,0.01) 100%);
				background: linear-gradient(to right, rgba(120,18,20,1) 50%,rgba(120,18,20,0.01) 100%);
				filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#781214', endColorstr='#03781214',GradientType=1 );
				top: 12px; 
				bottom: 12px;
				border-left: 1px solid rgba(255, 255, 255, .675);
			}		

		.styleguide .menu__list-item--logo {
			border-bottom: 1px solid #ddd;
		}

			.menu__logo {
				width: auto;
				height: 36px;
			}

			.menu__link {
				color: rgba(255, 255, 255, .675);
				text-decoration: none;
				line-height: 48px;
				display: inline-block;
				width: 100%;
				font-weight: 600;
			}

				.menu__list-item--logo .menu__link {
					line-height: 36px
				}

			.menu__link--active {
				color: #fff;
			}

@media all and (min-width: 1024px) {

	.menu {
		width: 248px;
		height: 100%;
		top: 0;
		bottom: -70px;
		position: fixed;
		padding: 36px 24px;
		overflow-x: auto;
	}
	
	.nav-wrap:after {
		display: none;
		}
		
	.home-link {
		display: none;
		}

		.menu__list {
			margin: 0;
			padding: 0;
			width: auto;
		}

			.menu__list-item {
				margin: 0;
				padding: 0;
				list-style: none;
				float: left;
				width: 100%;
				position: static;
			}

			.menu__list-item--logo {
				border-bottom: 1px solid rgba(255, 255, 255, .5);
				padding: 3px 0 39px;
				margin: 0 0 24px;
				position: static;
				top: auto;
				left: auto;
				right: auto;
			}

				.menu__logo {
					height: 60px;
				}

					.menu__list-item--logo .menu__link {
						line-height: 48px
					}
				
			.menu__list-item--active {
				position: static;

			}

				.menu__link--active {
					background: url(../images/arrow.png) no-repeat center right;
					background-size: 15%;
				}

				.menu__list-item--active:before {
					display: none;
				}

}

@media screen and (min-width: 1280px) {

	.menu {
		width: 288px;
		padding: 36px;
	}

}

@media (max-width: 1024px) {
	
	.menu__link {
		display: inline;
	}
	
	.menu__list-item:last-child {
		padding-right: 35px;	
	}
	
	/****
	
	Use if you want to break menu items onto new lines.
	
	****/
	
	/*
	.menu__list {
		display: flex;
	}
	
	.menu__list-item.menu__list-item--active {
		height: calc(100% - 78px);
	}

	.menu__list-item:not(.menu__list-item.menu__list-item--logo) {
		white-space: normal;
		display: flex;
		flex-direction: row;
		align-items: center;
		text-align: center;
	}
	
	.menu__list-item a {
		display: inline-block;
	}
	
	.menu__list-item a {
		line-height: 22px;
	}
	*/
	
}

/*------------------------------------*\
    $CONTENT
\*------------------------------------*/

.content {
	padding: 36px 18px;
}

@media screen and (min-width: 768px) {

	.content {
		padding: 36px;
	}

}

.links img {
	float: left;
	margin-right: 10px;
	margin-bottom: 36px;
	}

.links p {
	clear: both;
	}

.links p a {
	text-decoration: none;
	color: #484848;
	}

.links h3 {
	margin-bottom: 4px;
	}

.links h3 a {
	color: #450018;
	}
	
.highlight {
	color: #450018;
	font-size: 18px;
	font-weight: 700;
	}

/*------------------------------------*\
    $FOOTER
\*------------------------------------*/

.footer p, .footer h4 {
	margin: 0px 0px 0px 0px;
	text-align: center;
	max-width: 840px;
	font-size: 13px;
}

/*------------------------------------*\
    $INTRO
\*------------------------------------*/

.mobile-hide {
	display: none;
}

@media screen and (min-width: 768px) {

	.mobile-hide {
		display: inline-block;
		width: 100%;
	}

}

/*------------------------------------*\
    $TABS
\*------------------------------------*/

.tabszzzz {
  position: relative;   
  min-height: 240px; 
  clear: both;
  margin: 48px 0 60px;
  width: 840px;
}

	.tabzzzzz {
	  float: left;
	}

	.tab__label {
	  background: #912424; 
	  padding: 12px 18px; 
	  border: 1px solid #ddd; 
	  margin-left: -1px; 
	  position: relative;
	  left: 1px; 
	  font-size: 14px;
	  line-height: 24px;
	  float: left;
	  color: #fff;
	}

	.tabzzzzz label:hover {
		background: #450018;
	}

	.tabzzzzz [type=radio] {
	  display: none;   
	}

		.tab-inner {
		  position: absolute;
		  top: 48px;
		  left: 0;
		  background: white;
		  right: 0;
		  bottom: 0;
		  padding: 20px;
		  border: 1px solid #ddd; 
		  max-width: 744px;
		}

	[type=radio]:checked ~ label {
	  background: white;
	  border-bottom: 1px solid white;
	  z-index: 2;
	  color: #4e4e4e;
	}

	[type=radio]:checked ~ label ~ .tab-inner {
	  z-index: 1;
	}

@media screen and (min-width: 1024px) {

	.tabsxxxx {
	  min-height: 240px; 
	}

}

/*---*/

.state{
	position: absolute;
	left: -10000px;
} 

.worko-tabs {
	margin: 0 0 36px;
	max-width: 840px;
}

	.worko-tabs .flex-tabs {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	} 

		.worko-tabs .flex-tabs .tab {
			-webkit-box-flex: 1;
			-ms-flex-positive: 1;
			flex-grow: 1;
			max-height: 48px;
			margin: 0 0 0 -1px;
			text-align: center;
		}

		.worko-tabs .tab {
			display: inline-block;
			padding: 0 18px;
			vertical-align: top;
			cursor: hand;
			cursor: pointer;
			border: 1px solid #ddd;
			background: #912424;
			color: #fff;
			font-size: 14px;
			line-height: 46px;
		}

		.panel {
			padding: 24px 18px;
			display: none;
			width: 100%;
			flex-basis: auto;
			border: 1px solid #ddd;
			margin: -1px 0 0;
		}
		
		.panel p {
			margin-bottom: 12px;
			}

		#tab-one:checked ~ .tabs #tab-one-label,
		#tab-two:checked ~ .tabs #tab-two-label,
		#tab-three:checked ~ .tabs #tab-three-label,
		#tab-four:checked ~ .tabs #tab-four-label,
		#tab-five:checked ~ .tabs #tab-five-label,
		#tab-six:checked ~ .tabs #tab-six-label,
		#tab-seven:checked ~ .tabs #tab-seven-label,
		#tab-eight:checked ~ .tabs #tab-eight-label,
		#tab-nine:checked ~ .tabs #tab-nine-label,
		#mini-tab-one:checked ~ .tabs #mini-tab-one-label,
		#mini-tab-two:checked ~ .tabs #mini-tab-two-label,
		#mini2-tab-one:checked ~ .tabs #mini2-tab-one-label,
		#mini2-tab-two:checked ~ .tabs #mini2-tab-two-label{
			background-color: #fff;
			cursor: default;
			border-bottom: 1px solid #fff;
			z-index: 10;
			margin: 0;
			color: #484848;
		}

		#tab-one:checked ~ .tabs #tab-one-panel,
		#tab-two:checked ~ .tabs #tab-two-panel,
		#tab-three:checked ~ .tabs #tab-three-panel,
		#tab-four:checked ~ .tabs #tab-four-panel,
		#tab-five:checked ~ .tabs #tab-five-panel,
		#tab-six:checked ~ .tabs #tab-six-panel,
		#tab-seven:checked ~ .tabs #tab-seven-panel,
		#tab-eight:checked ~ .tabs #tab-eight-panel,
		#tab-nine:checked ~ .tabs #tab-nine-panel,
		#mini-tab-one:checked ~ .tabs #mini-tab-one-panel,
		#mini-tab-two:checked ~ .tabs #mini-tab-two-panel,
		#mini2-tab-one:checked ~ .tabs #mini2-tab-one-panel,
		#mini2-tab-two:checked ~ .tabs #mini2-tab-two-panel{
			display: block;
		}

@media (max-width: 600px) {

	.main-tabs {
		flex-direction: column;
	} 

		.worko-tabs .flex-tabs .tab {
			margin: 0 0 -1px;
			text-align: left;
		}

		#tab-one-label { order: 1; }
		#tab-two-label { order: 3; }
		#tab-three-label { order: 5; }
		#tab-four-label { order: 7; }
		#tab-five-label { order: 9; }
		#tab-six-label { order: 11; }
		#tab-seven-label { order: 13; }
		#tab-eight-label { order: 15; }
		#tab-nine-label { order: 17; }

		#tab-one-panel { order: 2; }
		#tab-two-panel { order: 4; }
		#tab-three-panel { order: 6; }
		#tab-four-panel { order: 8; }
		#tab-five-panel { order: 10; }
		#tab-six-panel { order: 12; }
		#tab-seven-panel { order: 14; }
		#tab-eight-panel { order: 16; }
		#tab-nine-panel { order: 18; }

		#tab-one:checked ~ .tabs #tab-one-label,
		#tab-two:checked ~ .tabs #tab-two-label,
		#tab-three:checked ~ .tabs #tab-three-label,
		#tab-four:checked ~ .tabs #tab-four-label,
		#tab-five:checked ~ .tabs #tab-five-label,
		#tab-six:checked ~ .tabs #tab-six-label,
		#tab-seven:checked ~ .tabs #tab-seven-label,
		#tab-eight:checked ~ .tabs #tab-eight-label,
		#tab-nine:checked ~ .tabs #tab-nine-label{
			background-color: #912424;
			color: #fff;
		}

		.panel {
			margin: -1px 0 0;
		}

}

/*------------------------------------*\
    $FORMS
\*------------------------------------*/

input[type=text],
input[type=number],
textarea {
	border: 1px solid #ddd;
	width: 100%;
	max-width: 720px;
	padding: 12px 18px;
	border-radius: 2px;
	color: #484848
}

input[type='number'] {
    -moz-appearance:textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pensioninput {
	float: left;
	max-width: 380px;
	}

.pensionradio {
	float: right;
	margin-right: 85px;
	}

@media screen and (max-width: 750px) {
	.pensionradio {
		margin-right: 50px;
		}
	
	.pensioninput {
		max-width: 300px;
		}
	}

@media screen and (max-width: 650px) {
	.pensionradio {
		margin-right: 25px;
		}
		
	.pensioninput {
		max-width: 300px;
		}
	}

@media screen and (max-width: 600px) {
	.pensioninput {
		float: none;
		max-width: none;
		}
	
	.pensionradio {
		float: none;
		margin-top: 15px;
		}
	}
	
.checkbox, .radio {
	position: relative;
	cursor: pointer;
	padding: 0 18px 0 0;
	display: inline-block;
	vertical-align: bottom;
	color: #484848;
	min-width: 134px;
	line-height: 48px;
}

.furlough {
	position: relative;
	cursor: pointer;
	padding: 0 18px 0 0;
	/*display: inline-block;*/
	vertical-align: bottom;
	color: #484848;
	min-width: 134px;
	line-height: 48px;
}

p.capmessage {
	position: relative;
	padding: 0 18px 0 0;
	display: inline-block;
	vertical-align: bottom;
	color: #484848;
	min-width: 134px;
	line-height: 48px;
	margin: 0;
	}

.checkbox_furlough {
	padding-right: 0px;
}

@media screen and (min-width: 870px) {
	.checkbox_furlough, p.capmessage {
	/*padding-left: 18px;*/
	}
}

.checkbox__full {
	width: 100%;
}

	.checkbox::-moz-selection, .radio::-moz-selection {
		 background: transparent;
	}

	.checkbox::selection, .radio::selection {
		background: transparent;
	}

	.checkbox input + span, 
	.radio input + span {
		background: white;
		content: "";
		display: inline-block;
		margin: 0 .5em 0 0;
		padding: 0;
		vertical-align: middle;
		width: 2em;
		height: 2em;
		-webkit-transform: translate3d(0, 0, 0);
		      transform: translate3d(0, 0, 0);
		-webkit-backface-visibility: hidden;
	}

	.checkbox input + span::after, .radio input + span::after {
		content: "";
		display: block;
		-webkit-transform: scale(0);
		        transform: scale(0);
		-webkit-transition: -webkit-transform .2s;
				transition: -webkit-transform .2s;
				transition: transform .2s;
				transition: transform .2s, -webkit-transform .2s;
	}
	
	h2 .radio {
		vertical-align: baseline;
		color: #450018;
		padding-right: 12px;
	}
	
	h2 .radio input + span {
		width: unset;
		height: unset;
	}
	
@media screen and (min-width: 700px) {

	.checkbox__full {
		width: auto;
	}

}

@media screen and (min-width: 768px) {
  
	.checkbox:hover input + span, .radio:hover input + span {
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	}

}

		.checkbox input:active + span, .radio input:active + span {
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
		}

		.checkbox input:focus + span, .radio input:focus + span {
			box-shadow: 0 0 0 3px lightblue;
		}

		.checkbox input:checked + span::after, .radio input:checked + span::after {
			-webkit-transform: scale(1);
			      transform: scale(1);
		}

	.checkbox input, .radio input {
		position: absolute;
		cursor: pointer;
		opacity: 0;
	}

	.checkbox input + span {
		border-radius: 2px;
		border: 1px solid #ddd;
	}

	.checkbox input + span::after {
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2NHB4IiBoZWlnaHQ9IjY0cHgiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNjQgNjQiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTMuNzA3LDMyLjI5MyAxMi4yOTMsMzMuODU0IDI0LjI5Myw0NiAyNS43MDcsNDYgNDkuNzA3LDIxLjg1NCA0OC4yOTMsMjAuMzY2IDI1LDQzLjYyMyAiLz48L2c+PC9zdmc+) no-repeat center;
		background-size: contain;
		width: 2em;
		height: 2em;
	}

	.radio input + span {
		border-radius: 100%;
		border: 1px solid #ddd;
	}

	.radio input + span::after {
		border-radius: 100%;
		margin: 9px;
		width: .75em;
		height: .75em;
	}

	.radio input:checked + span::after {
		background: black;
	}


label.dropdown select {
	padding: 11px 72px 11px 12px;
	background: #fff;
	color: #444;
	border: 1px solid #ddd;
	border-radius: 0;
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	outline: none;
    border-radius: 2px;
    font-size: 20px;
    line-height: 24px;
  
}

label.dropdown select:-moz-focusring {
	color: transparent;
	text-shadow: 0 0 0 #444;
}

label.dropdown select::-ms-expand {
	display: none;
}

/*label.dropdown:before {
	content: '';
	right: 2px;
	top: 1px;
	width: 46px;
	height: 46px; 
	background: #fff;
	position: absolute;
	pointer-events: none;
	display: block;
}*/

label.dropdown { 
	position: relative;
	display: inline-block;
}

label.dropdown:after {
	content: '>';
	font: 24px Consolas, monospace;
	color: #444;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	right: -9px;
	top: 9px;
	border-bottom: 1px solid #ddd;
	position: absolute;
	pointer-events: none;
	width: 52px;
	padding: 0 0 4px 0;
	text-indent: 20px;
}


@media screen\0 {

	label.dropdown:after {
		width: 38px;
		text-indent: 15px;
        right: 0;
	}

}

@media screen and (min--moz-device-pixel-ratio:0) {

	label.dropdown select { padding-right: 42px; }

	label.dropdown:before { right: 2px; }

	label.dropdown:after {
		text-indent: 20px;
		right: -9px;
		top: 9px;
		width: 52px;
	}
	
}

input[type="submit"] {
	border-radius: 30px;
	min-height: 60px;
	font-size: 20px;
	line-height: 58px;
	background: #912424;
	color: #fff;
	font-weight: 600;
	text-align: center;
	border: none;
	padding: 0 24px 2px;
}

div.buttons {
    margin: 0 auto;
}

a.button {
    border-radius: 30px;
    min-height: 60px;
    font-size: 20px;
    line-height: 58px;
    background: #912424;
    color: #fff;
    font-weight: 600;
    text-align: center;
    border: none;
    padding: 0 6px;
    margin-left: 20px;
    text-decoration: none;
    float: left;
    width: 150px;
}

a.emptybutton {
    border-radius: 30px;
    min-height: 60px;
    font-size: 20px;
    line-height: 58px;
    background: #fff;
    color: #912424;
    font-weight: 600;
    text-align: center;
    border: solid 2px #912424;
    padding: 0 6px;
    margin-right: 20px;
    text-decoration: none;
    float: right;
    width: 150px;
}

input[type="submit"].compare {
	border-radius: inherit;
	min-height: inherit;
	font-size: inherit;
	line-height: inherit;
	background: transparent;
	color: inherit;
	font-weight: inherit;
	text-align: inherit;
	border: inherit;
	padding: inherit;
	text-decoration: underline;
}

	.button--hero {
		margin: 24px 0 36px;
	}

@media screen and (min-width: 586px) {

	.button--hero {
		margin: 24px 0 36px 24px;
	}

	.button--hero--margin {
		margin: 24px 0 36px;
	}

}

@media screen and (min-width: 1024px) {

	.button--hero {
		min-width: 320px;
		margin: 48px 0 36px 36px;
	}

	.button--hero--margin {
		margin: 36px 0;
	}
	
	h2 .radio input + span {
		height: 1.25em;
		width: 1.25em;
	}
		
	h2 .radio input + span::after {
		margin: 9px;
		width: .6em;
		height: .6em;
	}


}

.mobile-only {
	display: none;
	}

@media screen and (max-width: 1023px) {
	.mobile-only {
		display: inline-block;
		}
	
	.button--hero.mobile-only {
		margin-top: 3px;
		margin-bottom: 24px;
		margin-left: 3px;
		}
	}

/*------------------------------------*\
    $TABLES
\*------------------------------------*/

.table-container {
	border: 1px solid #ddd;
	padding: 16px;
	max-width: 320px; 
}

.results {
	width: 100%;
	max-width: 840px;
	border-bottom: 1px solid #ddd;
	margin: 24px 0 24px;
	display: inline-block;
	border-radius: 2px;
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	overflow: hidden;
    white-space: nowrap;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 12px;
    transition-property: none;
}

.information {
	white-space: nowrap;
    border-collapse: collapse;
    border-spacing: 0;
    transition-property: none;
    width: 100%;
}

.results--small {
	border-bottom: none;
}

	.results__headers {
		display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -ms-flex-negative: 0;
	    flex-shrink: 0;
	    min-width: -webkit-min-content;
	    min-width: -moz-min-content;
	    min-width: min-content;
	    text-align: left;
	}

	.results__content {
		display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    position: relative;
	    overflow-x: auto;
	    overflow-y: hidden;
	    -webkit-overflow-scrolling: touch;
	    background: -webkit-radial-gradient(left ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, -webkit-radial-gradient(right ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
	    background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
	    background-size: 12px 100%, 12px 100%;
	    background-attachment: scroll, scroll;
	    background-repeat: no-repeat;
	}

	.results--small .results__content {
		background: none;
		width: 100%;
		max-width: 240px;
	}

	.results tr {
		display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	    -ms-flex-direction: column;
	    flex-direction: column;
	    /*min-width: -webkit-min-content;
	    min-width: -moz-min-content;
	    min-width: min-content;*/
	    -ms-flex-negative: 0;
	    flex-shrink: 0; 
	    min-width: 108px;
	    width: 25%;
	}
	
	.results tr.columns-1 {
		width: 100%;
		}
	
	.results tr.columns-2 {
		width: calc(100% / 2);
		}
	
	.results tr.columns-3 {
		width: calc(100% / 3);
		}
	
	.results tr.columns-4 {
		width: calc(100% / 4);
		}
	
	.results tr.columns-5 {
		width: calc(100% / 5);
		}
		
	.results tr.columns-6 {
		width: calc(100% / 6);
		}

	.results--small tr {
		width: 100%;
		max-width: 240px;
	}

	.results__column-headers {
		text-align: left;
		background: #912424;
		color: #fff;
		font-weight: 600;
	}

	.results__row {
		height: 48px;
	}

	.information .results__row {
		height: 30px;
	}

	.results__row--large {
		height: 60px;
	}

	.results__row--empty {
		height: 8px !important;
	}

	.results__row:nth-child(odd) {
		background: #f5f5f5;
	}

	.information .results__row:nth-child(odd) {
		background: #fff;
	}

	.results__row--highlighted {
		height: 60px;
		font-size: 20px;
		font-weight: 600;
	}

		.results__title {
			padding: 0 0 0 24px;
			width: 264px;
		}

		.results__cell {
			width: 100%;
			line-height: 48px;
			border: 1px solid rgba(0, 0, 0, .1);
			border-left: none;
			padding: 0 8px;
			min-height: 49px;
			text-align: right;
		}

		th.results__cell {
			border-left: 1px solid rgba(0, 0, 0, .1);
			width: 132px;
			text-align: left;
		}

		.results--small th.results__cell {
			width: 100%; 
			max-width: 240px;
		}

		.results__cell:nth-child(even) {
			background: rgba(0, 0, 0, .05);
		}

		.results__cell--large {
			line-height: 64px;
		}

		.results__cell--underlined {
			border-bottom: 2px solid #ddd !important;
		}
		
		.results__cell--overlined {
			border-top: 2px solid #ddd !important;
		}
		
		.results__oneline {
			line-height: 50px;
		}
		
		.results__twolines {
			line-height: 25px;
		}
		
		.takehome,
		.gross,
		.periodname	{
			font-weight: 700;
			}

		th.results__cell:first-of-type {
			border-left-color: #fff;
			border-top-color: #fff;
		}

		.results--small th.results__cell:first-of-type {
			border-color: #ddd;
		}

		.results td:first-child,
		.results tbody tr:first-child {
			background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
			background-repeat: no-repeat;
			background-size: 20px 100%;
		}

		/*
		.results td:last-child,
		.results tbody tr:last-child {
			background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
			background-repeat: no-repeat;
			background-position: 100% 0;
			background-size: 20px 100%;
		}
		*/

		.results__cell:not(:last-child) {
    		border-bottom: 0;
    	}

			.details,
			.detail__link {
				margin: -12px 0 16px;
				font-size: 10px;
				line-height: 12px;
				text-transform: uppercase;
				font-weight: 700;
			}

				.detail__link {
					display: inline-block;
					margin: 0 0 0 12px;
				}
			
		.overallapr,
		.overalltakehome {
			color: #450018;
			font-size: 24px;
			font-weight: 700;
			}

@media all and (min-width: 375px) {

	.results {
	    font-size: 14px;
	}

		th.results__cell {
			min-width: 168px;
		}

		.rtable--flip tbody {
			width: calc(100% - 184px);
		}

}


@media all and (min-width: 768px) {

	/*.results__cell {
		min-width: 128px;
	}

	th.results__cell {
		min-width: 184px;
	}*/

	.table-container {
		float: right;
		min-width: 300px;
		margin: 0 0 24px 24px;
	}
	
	.results__content {
	    background: none;
	}

	.rtable--flip tbody {
		width: calc(100% - 184px);
	}

}

@media all and (min-width: 1024px) {

	.results__cell {
	/*	min-width: 120px;	causes problems when more timeperiods are chosen to display */
	}

	.results--small th.results__cell {
		min-width: 240px;
	}

}


@media all and (min-width: 1224px) {

	.results__cell {
	/*	min-width: 144px;	causes problems when more timeperiods are chosen to display */
	}

	th.results__cell.columns-1,
	th.results__cell.columns-2,
	th.results__cell.columns-3,
	th.results__cell.columns-4	{
		min-width: 264px;
	}

}

/*------------------------------------*\
    $ACCORDIAN
\*------------------------------------*/

.accordian {
	position: relative;
	width: 100%;
	max-width: 840px;
	color: #fff;
	overflow: hidden;
	border-radius: 2px;
	margin: 0 0 12px;
	display: inline-block;
	grid-columns: 50% 50%;
}

	.accordian__element {
		max-width: 420px;
	}

	.accordian__checkbox {
	  position: absolute;
	  opacity: 0;
	  z-index: -1;
	}

	.accordian__label {
		position: relative;
		display: block;
		padding: 0 0 0 1em;
		background: #16a085;
		font-weight: bold;
		line-height: 3;
		cursor: pointer;
	}

		.accordian__label::after {
			position: absolute;
			right: 0;
			top: 0;
			display: block;
			width: 3em;
			height: 3em;
			line-height: 3;
			text-align: center;
			-webkit-transition: all .35s;
			-o-transition: all .35s;
			transition: all .35s;
		}

		input[type=checkbox] + .accordian__label::after {
			content: "+";
		}

		input[type=radio] + .accordian__label::after {
			content: "\25BC";
		}

		input[type=checkbox]:checked + .accordian__label::after {
			transform: rotate(315deg);
		}

		input[type=radio]:checked + .accordian__label::after {
			transform: rotateX(180deg);
		}

	.accordian__content {
		max-height: 0;
		overflow: hidden;
		-webkit-transition: max-height .35s;
		-o-transition: max-height .35s;
		transition: max-height .35s;
		border: 1px solid #ddd;
		margin: -2px 0 0;
	}

	input:checked ~ .accordian__content {
		max-height: 100em;
		padding: 36px; 	
		max-width: 314px;
	}

/*------------------------------------*\
    $MAIN-FORM
\*------------------------------------*/

.hero {
	max-width: 840px;
	line-height: 50px;
	font-weight: 300;
	margin: 0 0 0 0;
	font-size: 20px;
}

.hero--wee {
	max-width: 720px;
}

	.hero__input,
	.hero__select {
		font-size: 24px;
		line-height: 48px;
		height: 48px;
		font-weight: 600;
		position: relative;
	}

	.hero__input {
		max-width: 120px !important;
		max-height: 50px;
		padding: 0px 12px !important;
	}

	.hero--smaller__input{
		max-width: 144px !important;
	}

	.hero--smallest__input {
		max-width: 67px !important;
	}

	.add {
		border: none;
		margin: -6px 0 0 4px;
		line-height: 48px;
		padding: 0 18px;
		font-size: 16px;
		font-weight: 600;
		background: #912424;
		color: #fff;
		border-radius: 4px;
		display: inline-block;
		vertical-align: middle;
	}

@media screen and (min-width: 1024px) {

	.hero {
		font-size: 30px;
		line-height: 72px;
		margin: 0 0 20px;
	}

	.hero--smaller {
		font-size: 24px;
	}

		.hero__input,
		.hero__select {
			font-size: 30px;
			line-height: 48px;
		}

		.hero__input {
			max-width: 240px !important;
		}

		.hero--smaller__input,
		.hero--smallest__input {
			font-size: 24px;
			line-height: 48px;
			max-width: 144px !important;
		}

		.hero--smallest__input {
			max-width: 67px !important;
		}

	.hero--smaller + .button--hero {
		margin: 0 0 36px;
	}
	
	h2.hero label.dropdown:after {
	right: -9px;
	top: 22px;
	}

}

/*------------------------------------*\
    $MODAL
\*------------------------------------*/

.tooltip {
	width: 48px;
	height: 48px;
	position: absolute;
	top: 0;
	right: 0;
}

	.tooltip span {
		height: 24px;
		width: 24px;
		margin: 12px 0 12px 12px;
		background: #ddd;
		color: #000;
		display: inline-block;
		text-align: center;
		font-weight: bold;
		border-radius: 100%;
		cursor: pointer;
	}
	
	.no-top-margin span {
		margin-top: 0px;
		}

        .july {
            position: static;
            line-height: 24px;
            }
        
        .july span {
            vertical-align: middle;
            margin: 0 0 0 12px;
            }
                
.modal-window {
	position: fixed;
	background-color: rgba(0, 0, 0, .25);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.modal-window:target {
	opacity: 1;
	pointer-events: auto;
}

.modal-window > div {
	width: calc(100% - 36px);
	position: fixed;
	padding: 30px;
	background: #fff;
	color: #444;
	max-width: 480px;
	border-radius: 2px;
	top: 50%;
	left: 50%;
	box-shadow: 0 0 24px rgba(0, 0, 0, .25);
	display: table;
	opacity: 0;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

.modal-window:target > div {
	opacity: 1;
}

	.modal-window h3 {
		margin: 12px 0 24px;
	}

	.modal-window p {
		font-size: 16px;
		margin: 0 0 18px;
	}

	.modal-window p:last-child {
		margin: 0 0 12px;
	}

.modal-window header {
	font-weight: bold;
}

.modal-close {
	color: #aaa;
	line-height: 50px;
	font-size: 80%;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 70px;
	text-decoration: none;
}

.modal-close:hover {
	color: #000;
}


/*------------------------------------*\
    $WARNINGS
\*------------------------------------*/

.warning {
	width: 100%;
	max-width: 840px;
	padding: 18px 36px 24px;
	background: #f5f5f5;
	margin: 0 0 36px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 2px;
}

.warning--error {
	background: #AB3C3C;
	border-color: #5E0415;
}

	.warning p {
		max-width: 1024px;
		margin: 0;
	}

	.warning--error p {
		color: #fff;
	}


/*------------------------------------*\
    $ACCORDION
\*------------------------------------*/

.accorion {
	position: relative;
	margin-bottom: 1px;
	width: 100%;
	overflow: hidden;
}

	.accorion input {
		position: absolute;
		opacity: 0;
		z-index: -1;
	}

	.accorion label {
		position: relative;
		display: block;
		padding: 0 0 0 1em;
		background: #912424;
		color: #fff;
		font-weight: bold;
		line-height: 3;
		cursor: pointer;
	}

		.accorion-content {
			max-height: 0;
			overflow: hidden;
			background: #fff;
			-webkit-transition: max-height .35s;
			-o-transition: max-height .35s;
			transition: max-height .35s;
		}

/* :checked */

.accorion input:checked ~ .accorion-content {
	max-height: 400em;
	padding: 24px;
	border: 1px solid #ddd;
}

.accorion-content table {
	margin: 0;
}

/* Icon */

.accorion label::after {
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 3em;
	height: 3em;
	line-height: 3;
	text-align: center;
	-webkit-transition: all .35s;
	-o-transition: all .35s;
	transition: all .35s;
}

.accorion input[type=checkbox] + label::after {
	content: "+";
}

.accorion input[type=radio] + label::after {
	content: "\25BC";
}

.accorion input[type=checkbox]:checked + label::after {
	transform: rotate(315deg);
}

.accorion input[type=radio]:checked + label::after {
	transform: rotateX(180deg);
}



.rtable {
  display: inline-block;
  vertical-align: top;
  max-width: 840px;
  overflow-x: auto;
  white-space: nowrap;
  border-collapse: collapse;
  border-spacing: 0;
}

.rtable,
.rtable--flip tbody {
  -webkit-overflow-scrolling: touch;
  background: -webkit-radial-gradient(left ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, -webkit-radial-gradient(right ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
  background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
  background-size: 10px 100%, 10px 100%;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat;
}

.rtable td:first-child,
.rtable--flip tbody tr:first-child {
  background-image: -webkit-linear-gradient(left, white 50%, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(to right, white 50%, rgba(255, 255, 255, 0) 100%);
  background-repeat: no-repeat;
  background-size: 20px 100%;
}

.rtable td:last-child,
.rtable--flip tbody tr:last-child {
  background-image: -webkit-linear-gradient(right, white 50%, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(to left, white 50%, rgba(255, 255, 255, 0) 100%);
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 20px 100%;
}

.rtable--flip {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  background: none;
}

.rtable--flip thead {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  min-width: -webkit-min-content;
  min-width: -moz-min-content;
  min-width: min-content;
}

.rtable--flip tbody {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: calc(100% - 132px);
}

.rtable--flip tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.rtable--flip td,
.rtable--flip th {
  display: block;
}

.rtable--flip td {
  background-image: none !important;
  border-left: 0;
}

.rtable--flip th:not(:last-child),
.rtable--flip td:not(:last-child) {
  border-bottom: 0;
}

/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;

  touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;
  overflow: auto;

  text-align: center;

  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;

  height: 100%;
  margin-left: -0.05em;

  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  outline: none;

  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}


/* Clickio High Viewability Header Ad */

#hvhad {
    display: none;
}

@media (max-width: 1024px) {
    #hvhad {
        display: block;
        height: 50px;
    }
}