/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  top: 0; /* Location of the box */
  left: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  /* overflow: auto;  Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #1a2226;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  min-height: 50em;
}
@media (max-width: 767px) {
	.modal-content {
    margin: 80px auto;
    padding: 0;
	  width: 100%;
    max-height: 64em;
	}
}

/* The Close Button */
.close {
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  float: right;
}

.close-button {
  height: 40px;
  width: 100%;
  top: 140px;
  display: block;
}
@media (max-width: 767px) {
	.close-button {
    height: 40px;
    padding-right: 14px;
	}
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
/* END MODAL */

.calc_hide {
	position: absolute;
	width: 0;
	height: 0;
	font-size: 1em;
	line-height: 1;
  visibility: hidden;
}
.maturity-calculator-image {
  max-height: 30em;
  object-fit: contain;
}
  @media (max-width: 767px) {
    .maturity-calculator-image {
      max-height: 26em;
      max-width: 100%;
  }
}
.stage_one {
/* 	change to block */
	display: block;
	width: 100%;
  /* margin-top: 110px;*/
	/* position: absolute;*/
	background-color: #1a2226;
}
.stage_two {
/* 	change back to none */
	display: none;
	/*top: 110px;*/
	width: 100%;
	/* position: absolute;
	background-color: #1a2226;*/
}
.calc_holder {
	width: 100%;
	background-color: #1a2226;
	overflow: hidden;
}
.calc_height {
	/*height: 50em;*/
}
.calc_vert {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.calc_start {
	font-size: 8em;
}
#start_button {
	cursor: pointer;
}
.indicator_holder {
	position: relative;
	width: 100%;
	height: 1em;
	background-color: #04443d;
	border-radius: .5em;
}
.indicator_line {
	position: absolute;
	width: 0%;
	height: 1em;
	background-color: #027569;
	border-radius: .5em;
	transition: 500ms;
}
.indicator-marker {
  width: 90%;
  margin: 20px auto;
}
.progress1 {
	width: 17%;
}
.progress2 {
	width: 32%;
}
.progress3 {
	width: 50%;
}
.progress4 {
	width: 68%;
}
.progress5 {
	width: 100%;
}
.calc_marker {
	position: absolute;
	height: 2em;
	width: 2em;
	background-color: #344955;
	border-radius: 50%;
	-webkit-transform: translateY(-25%);
	-ms-transform: translateY(-25%);
	transform: translateY(-25%);
	z-index: 10;
}
.calc_marker span {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	color: #00D9BC;
}
.calc_marker span {
	display: none;
}
#marker_one {
	left: 15%;
}
#marker_two {
	left: 31%;
}
#marker_three {
	left: calc(50% - 1em);
}
#marker_four {
	right: 31%;
}
#marker_five {
	right: 15%;
}
.calc_nav_holder_left {
	position: absolute;
	height: 4em;
	width: 4em;
	background-color: #344955;
	border-radius: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 0;
	z-index: 10;
}
.calc_nav_holder_right {
	position: absolute;
	height: 4em;
	width: 4em;
	background-color: #344955;
	border-radius: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 0;
	z-index: 10;
}
.calc_nav {
	position: absolute;
	height: 4em;
	width: 4em;
	background-color: #344955;
	border-radius: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 20;
}
.calc_nav span {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	color: #00D9BC;
}
.calc_prev {
	display: none;
	left: 0;
}
.calc_next {
	display: none;
	right: 0;
}
#marker_next1 {
	display: block;
}

.calc_prev, .calc_next {
	cursor: pointer;
	transition: 300ms;
}
.calc_prev:hover, .calc_next:hover {
	background-color: #02828E;
}
.calcSlides  {
	display: none;
  position: absolute;
  left: 0;
  width: 80%;
  margin-left: 10%;
	/*-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);*/
}
@media (max-width: 767px) {
	.calcSlides {
		width: 100%;
		margin-left: initial;
	}
}
.calc_stage_1 {
	display: block;
}
.calc_instructions {
	font-size: 1.6em;
}
.calc_next_button {
	display: none;
	padding: 12px 20px;
	background-color: #ea1d21;
	color: #fff;
	cursor: pointer;
	transition: 300ms;
  border: 2px solid #ED2125;
  border-radius: 4px;
}
.calc_next_button:hover {
  background: transparent;
	color: #ED2125;
}
.val_test {
	color: #000;
}

.calc_flex {
	display: flex;
	display: -ms-flexbox;
    margin: 0px;
    padding: 0px;
    -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.calc_button {
	display: flex;
	display: -ms-flexbox;
	flex-grow: 1;
	flex-basis: 0;
	justify-content: center;
	align-items: center;
	height: inherit;
	width: 100%;
	border: 1px solid #181f22;
	border-bottom: 1em solid #06636c;
	padding: 2em 1em 1em;
	text-align: center;
	background-color: #076d77;
	cursor: pointer;
}
.calc_button_active {
	background-color: #02828e;
	border-bottom: 1em solid #027681;
}
#result1, #result2, #result3, #result4, #result5 {
/* 	change back to none */
	display: none;
}
.result1 {
	position: absolute;
	top: 190px;
	left: 0;
	width: 80%;
	margin: 0 10%;
	background-color: #1a2226;
	/*background: url(../img/calculator/result1_bak.gif) no-repeat center center;
	background-size: cover;*/
	z-index: 50;
}
@media (max-width: 767px) {
  .result1 {
    position: absolute;
  	top: 130px;
    width: 98%;
  	margin: 0 1%;
  }
}
.result2 {
	position: absolute;
	top: 190px;
	left: 0;
	width: 80%;
	margin: 0 10%;
	background-color: #1a2226;
	/*background: url(../img/calculator/result1_bak.gif) no-repeat center center;
	background-size: cover;*/
	z-index: 50;
}
@media (max-width: 767px) {
  .result2 {
    position: absolute;
  	top: 130px;
    width: 98%;
  	margin: 0 1%;
  }
}
.result3 {
  position: absolute;
	top: 190px;
	left: 0;
	width: 80%;
	margin: 0 10%;
	background-color: #1a2226;
	/*background: url(../img/calculator/result1_bak.gif) no-repeat center center;
	background-size: cover;*/
	z-index: 50;
}
@media (max-width: 767px) {
  .result3 {
    position: absolute;
  	top: 130px;
    width: 98%;
  	margin: 0 1%;
  }
}
.result4 {
  position: absolute;
	top: 190px;
	left: 0;
	width: 80%;
	margin: 0 10%;
	background-color: #1a2226;
	/*background: url(../img/calculator/result1_bak.gif) no-repeat center center;
	background-size: cover;*/
	z-index: 50;
}
@media (max-width: 767px) {
  .result4 {
    position: absolute;
  	top: 130px;
    width: 98%;
  	margin: 0 1%;
  }
}
.result5 {
  position: absolute;
	top: 190px;
	left: 0;
	width: 80%;
	margin: 0 10%;
	background-color: #1a2226;
	/*background: url(../img/calculator/result1_bak.gif) no-repeat center center;
	background-size: cover;*/
	z-index: 50;
}
@media (max-width: 767px) {
  .result5 {
    position: absolute;
  	top: 130px;
    width: 98%;
  	margin: 0 1%;
  }
}
.res_fullheight {
	height: 100%;
}
.res_color_01 {
	color: #bf0021;
}
.res_color_02 {
	color: #ED2125;
}
.res_color_03 {
	color: #F28B16;
}
.res_color_04 {
	color: #FFD500;
}
.res_color_05 {
	color: #00D9BC;
}
.result_highlight1 {
	background-color: #bf0021;
}
.result_highlight2 {
	background-color: #ED2125;
}
.result_highlight3 {
	background-color: #F28B16;
}
.result_highlight4 {
	background-color: #FFD500;
}
.result_highlight5 {
	background-color: #00D9BC;
}
.result_highlight {
	display: inline-block;
	padding: .3em 2em;
	border-radius: 1.5em;
	color: #000;
	margin-right: .3em;
}
@media (max-width: 767px) {
  .result_highlight {
	padding: .3em 1em;
  }
}
.result_highlight_off {
	display: inline-block;
	padding: .3em .8em;
	background-color: #30373b;
	border-radius: 1.5em;
	color: #000;
	margin-right: .3em
}
.result_figure {
	font-size: 4em;
}
.result_desc {
	font-size: 2em;
}
.result_progress {
	font-size: 2em;
}
@media (max-width: 767px) {
.result_progress {
  	font-size: 3em;
  }
}
.result_download {
	padding: .5em 2em;
	background-color: #bf0021;
	border-radius: 1.5em;
	color: #000;
	color: #fff;
	margin-right: .3em;
	border: none;
}
.result_download:hover {
	background-color: #fff;
	color: #000;
}
.result_more_bar {
	background-color: rgba(26, 33, 38, .8);
	cursor: pointer;
}
.res_more {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	color: #16E0F2;
}
.res_less {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	color: #16E0F2;
}
.result_more_holder {
	background-color: rgba(26, 33, 38, .8);
	cursor: pointer;
	/*display: none;*/
	z-index: 100;
}
.result_text_holder {
	/*position: absolute;
	bottom: 4em;
	right: 4em;
	width: 50%;*/
}
.hubform_maturity {
	display: none;
	position: absolute;
	top: 230px;
	left: 0;
	width: 80%;
	margin-left: 10%;
	z-index: 50;
}
@media (max-width: 767px) {
	.hubform_maturity {
		display: none;
		position: absolute;
		top:530px;
		width: 98%;
		margin-left: 1%;
	}
}
.more_bar_fix {
	cursor: pointer;
}
.hubform_maturity input[type=text]{
    color:#000;
    z-index: 500;
}

.hubform_maturity ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: red;
  opacity: 1; /* Firefox */
}
.hubform_maturity :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: red;
}
.hubform_maturity ::-ms-input-placeholder { /* Microsoft Edge */
  color: red;
}
.calc_download {
	display: none;
}
.hubform_maturity_thanx {
	display: none;
	color: #fff;
}
.switch_holder {
	width: 100%;
	background-color: #0d5e66;
	border-radius: .5em;
	padding: 2em;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 22px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1a2226;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 22px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #00d9bc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
/*
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
*/
  transform: translateX(38px);
}

/*------ ADDED CSS ---------*/
.slider:after
{
 content:'NO';
 color: white;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 font-size: 8px;
 font-family: Verdana, sans-serif;
}

input:checked + .slider:after
{
  content:'YES';
}

/*--------- END --------*/

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1199px) {



}
@media (max-width: 991px) {



}
@media (max-width: 767px) {

.calc_start {
	font-size: 4em;
	text-align: center;
	margin-top: 2em;
}
.calcSlides  {
	width: 100%;
}
.start_img_mobile {
	width: 70%;
	margin: 2em auto;
}

.calc_flex {
	display: block;
}
.calc_button {
	display: block;
	border-bottom: .5em solid #06636c;
	padding: .5em;

}
.calc_instructions {
	font-size: 1.2em;
}
.result_highlight_off {
	font-size: .8em;
}
.result_highlight {
	font-size: .8em;
}
.result_figure {
	font-size: 3em;
}
.mobile_height_fix {
	height: 64em;
}


}
