/*
-----------------------------------
agnific Popup Content
-----------------------------------
*/
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042 !important;
  overflow: hidden;
  position: fixed;
  background: #000;
}
@media (max-width:768px) {
	.mfp-container {
		padding-left: 15px;
		padding-right: 15px;
	}
}

.mfp-wrap {
	-webkit-overflow-scrolling: touch;
}

.white-popup {
  position: relative;
  background: #fff;
  padding: 0px 0px 0px 0px;
  width: auto;
  max-width: 640px;
  margin: 0px auto;
  margin-top: 30px;
  margin-bottom: 40px;
	border-radius: 15px;
	-webkit-box-shadow:  0 14px 80px rgba(0, 0, 0, 0.2);
    			box-shadow: 0 14px 80px rgba(0, 0, 0, 0.2);
}

.white-popup .mfp-close {

	top: -20px;
	right: -20px;

	border-radius: 100px;
	color: #fff;
	font-size: 1.8em;
	font-weight: 300;
		background: rgb(250,199,112);
	background: -moz-linear-gradient(left,  rgba(250,199,112,1) 0%, rgba(247,165,61,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(250,199,112,1) 0%,rgba(247,165,61,1) 100%);
	background: linear-gradient(to right,  rgba(250,199,112,1) 0%,rgba(247,165,61,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fac770', endColorstr='#f7a53d',GradientType=1 );

	opacity: 1;
}
.white-popup .mfp-close i {
	position: relative;
	top:3px;
}
.mfp-arrow-left {
  left: 5%;
}
.mfp-arrow-right {
  right: 5%;
}
	@media (max-width:768px) {
		.white-popup .mfp-close {
			right: -13px;
		}
		.mfp-arrow {
			top: 5px;
			margin-top: 0;
			width: 40px;
			height: 40px;
		}
		.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
			margin-top: 0;
			margin-left:0;
		}
		.mfp-arrow-left {

		  left: 20px;
		}
		.mfp-arrow-right {
		  right: auto;
		  left: 60px;
		}
	}


.white-popup.medium {
	max-width: 900px;
}

.white-popup.wide {
	margin-top: 60px;
	padding: 0px;
	max-width: 1024px;
}
.white-popup.extrawide {
	margin-top: 30px;
	padding: 0px;
	max-width: 1140px;
}

.white-popup.full {
  width: 100%;
  max-width: 100%;
  background: none;
}


	@media (max-width: 640px) {
		.white-popup {
			margin-top: 20px;
			padding: 0px;
		}
	.mfp-search button.mfp-close {
			top: 100px;
			right: 10px;
		}
	.white-popup .inner {
			padding:  0.5em 0.5em;
		}
	}

.white-popup .modal-wrapper {

}

.white-popup.object-popup .modal-wrapper {
	padding: 0 0rem;
}



/* Popup Header */
.modal-header {
	position: relative;
	width:100%;
	line-height: 1;
	padding: 1rem 2rem 0.4rem;
	letter-spacing: 1px;
	text-align: center;
	border-bottom: 1px solid rgba(0, 23, 80, 0.1);
	border-radius: 15px 15px 0 0;
}
.modal-header.opac {
	background-color: rgba(255, 255, 255, 0.72) !important;
}


.modal-header .modal-header-title {
	font-family: 'ahkio-thin', sans-serif;
	display: inline-block;

	letter-spacing: 1px;
	margin-bottom: 10px;
	font-weight: normal;
	font-size:1.125rem;
	line-height:1;
}


.modal-header.check {
	top: -2px;
	position: relative;
	height: 170px;
	padding-top: 2.5rem;
}
.modal-header.check .modal-header-title {
		display: inline-block;
		letter-spacing: 0;
		margin-bottom: 0px;
		font-weight: normal;
		font-size:3rem;
		line-height: 1;
		text-transform: none;
}
.modal-header.check .modal-header-checkmark {
	position: absolute;
	left:50%;
	bottom: 0;
	transform: translateX(-50%) translateY(50%);
	width: 90px;
	height: 90px;
	background: url('../images/form-checked.png') no-repeat center center;
	background-size: contain;
	z-index: 99;
}
.modal-header.check.bg-secondary .modal-header-checkmark {
	background-image: url('../images/form-checked-thanks.png');
}

.modal-header-shape {
	position: absolute;
	bottom:-10px;
	left:0;
	width: 100%;
	height: 60px;
	background: url('../images/section-shape-inversed.svg') no-repeat top center;
	background-size: cover;
	z-index: 98;
}


	@media (max-width: 640px) {
		.modal-header.check {
			height: 150px;
		}
		.modal-header.check .modal-header-title {
			font-size: 2rem;
		}
		.modal-header.check .modal-header-checkmark {
			width: 60px;
			height: 60px;
			bottom: 20px;
		}

	}
	@media (max-width: 400px) {
		.modal-header.check {
			height: 130px;
			padding-top: 2rem;
		}
		.modal-header.check .modal-header-title {
			font-size: 1.8rem;
		}
		.modal-header.check .modal-header-checkmark {
			width: 60px;
			height: 60px;
			bottom: 20px;
		}

	}
	@media (max-width: 360px) {
		.modal-header.check {
			height: 120px;
			padding-top: 1.5rem;
		}
		.modal-header.check .modal-header-title {
			font-size: 1.3rem;
		}
	}


.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: 100px;
  height: 100px;
  text-indent: -9999px;
  overflow:hidden;
  text-align: center;
  margin-top: -50px;
  margin-left: -50px;
  left: 50%;
  right: 8px;
  z-index: 1044;
  background: url('../images/three-dots.svg') no-repeat center;
	background-size: 64px auto; }

/* Popup Footer */
.modal-footer {
	display: block;
	width: 100%;
	height: 120px;
	padding-left: 0em;
	text-align: center;
	background: rgba(0, 0, 0, 0.07);
	position: relative;
}
.modal-footer-title {
	position: absolute;
	top: 1.5rem;
	left:2rem;
	font-size:1.3em;
	display: inline-block;
	color: #000;
}
.modal-footer .zwesd {
	position: absolute;
	top: -1.5rem;
	right: 2rem;
}

	@media (max-width: 640px) {
		.modal-footer {
			height: 80px;
		}
		.modal-footer-title {
			top: 1rem;
			font-size:0.86em;
			left: 1rem
		}
		.modal-footer-title img {
			width: 64px;
		}
		.modal-footer .zwesd {
			position: absolute;
			top: 0rem;
			right: 0.5rem;
			width: 110px;
		}
	}


.modal-body {
	padding: 2rem 3rem;
	padding-bottom: 0;
}
.modal-body.with-padding {
	padding: 2rem 3rem;
}
.white-popup.medium .modal-body {
	padding: 2rem 4rem;
}

	@media (max-width: 640px) {
		.modal-body {
			padding: 1rem 1.5rem;
			padding-bottom: 0;
		}
		.white-popup.medium .modal-body {
			padding: 2rem 1.5rem;
		}
	}


.modal-body .text-wrapper-title {

}
.modal-body .text-wrapper-lead {
	margin-bottom: 20px;
}

.modal-body-bg {
	background-position: right;
	background-size: contain;
	background-repeat: no-repeat;
	border-radius: 5px;
}

.form-wrap  {
	padding-top: 2rem;
}

.contactform {
	padding-top: 2rem;
}
.contactform .input-wrap {
	position: relative;
	display: block;
	padding-top: 3px;
}
.contactform input[type="text"],
.contactform input[type="email"],
.contactform textarea {
	margin-bottom: 25px;
	font-size: 1em;
	padding-top: 0.6em;
	padding-bottom: 0.6em;
	height: 3.1rem !important;
	box-shadow: none;
	color: #272e32 !important;
	border: 3px solid rgba(209, 213, 220, 0.7) !important;
	border-radius: 10px;
	padding-left: 1em;
	width: 100% !important;
	margin-bottom: 10px;
}
.contactform input[type="text"]:hover,
.contactform input[type="text"]:focus,
.contactform input[type="email"]:hover,
.contactform input[type="email"]:focus {
	background: #fff;
	border: 3px solid #d1d5dc !important;
}
.contactform input[type="text"]:focus,
.contactform input[type="email"]:focus {
	border: 3px solid #029d9a !important;
}


	@media (max-width: 640px) {
		.contactform {
			padding-top: 1rem;
			padding-bottom: 3rem;
		}
		.modal-body .text-wrapper-lead {
			margin-bottom: 20px;
		}
		.modal-body .text-wrapper-lead p {
			font-size: 1rem;
		}

	}


.contactform textarea {
	min-height: 120px;
}
.contactform textarea:hover,
.contactform textarea:focus {
	background: #fff;
	border: 3px solid #d1d5dc !important;
}
.contactform textarea:focus {
	border: 3px solid #029d9a !important;
}

.contactform .button {
	position: absolute;
	left:50%;
	bottom: 0;
	transform: translateX(-50%) translateY(50%);
}
.introduction .contactform .button {
	position: relative;
	left:0;
	bottom: 0;
	transform: translateX(0%) translateY(0%);
	margin-top: 20px;
}
.validationbox {
	border: 2px solid #eee;
	border-radius: 20px;
	padding: 20px;
}
	@media (max-width: 640px) {
		.contactform .button {
			padding-left: 2rem;
			padding-right: 2rem;
			width: 70%;
		}
		.introduction .contactform .button {
			position: relative;
			left:0;
			bottom: 0;
			transform: translateX(0%) translateY(0%);
		}
	}

.contactform .input-wrap label {
	position: absolute;
	bottom: 100%;
	left:18px;
	color: #bbc0c7;
	font-size: 0.96em;
	padding: 3px 5px;
	line-height: 1;
	margin-bottom: 0px;
	z-index: 9;

	transform: translateY(37px);
	background: #fff;
	border-radius: 0px;
		-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.contactform .input-wrap :focus + label,
.contactform .input-wrap .filled + label {
	font-size: 0.86em;
	transform: translateY(11px);
}
/* Errorsss */

.contactform span.error,
.contactform small.error {
	position: absolute;
	top: 100%;
	display: block;
	padding: 0 10px;

	text-align: left;
	margin-top: 0px;
	margin-bottom: 0em;
	font-size: 0.75rem;
	font-weight: normal;
	font-style: italic;
	background: #f0505e;
	color: #fff;
	border-radius: 0 0 3px 3px;
}

.wrong {
	display: block;
	position: relative;
}

.contactform .wrong input[type="text"],
.contactform .wrong input[type="email"] {
	border-color: #f0505e !important;
	border-bottom-left-radius: 0;
}
.errors {
	color: red;
}

.checkbox-wrap {
	padding-top: 10px;
}
.checkbox-wrap > label {
	padding-top: 3px;
	font-size: 14px !important;
	font-weight: 700;
	color: #000;
}

/* Base for label styling */
/*.checkbox-wrap [type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
  outline: 0;
}*/
.checkbox-wrap [type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
}

/* checkbox aspect */
.checkbox-wrap [type="checkbox"]:not(:checked) + label:before,
.checkbox-wrap [type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left:-7px; top: 2px;
  width: 25px; height: 25px;
  border: 2px solid #d1d5dc;
  background: #fff;
  border-radius: 100px;
  outline: 0;
  box-shadow: inset 0 0px 0px rgba(0,0,0,.3);
  transition: all .2s;
}
/* checked mark aspect */
.checkbox-wrap [type="checkbox"]:not(:checked) + label:after,
.checkbox-wrap [type="checkbox"]:checked + label:after {
  content: '\f00c';
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  position: absolute;
  top: -1px; left: -3px;
  font-size: 18px;
  color: #029d9a;
  transition: all .2s;
}
/* checked mark aspect changes */
.checkbox-wrap [type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
.checkbox-wrap [type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}
/* disabled checkbox */
.checkbox-wrap [type="checkbox"]:disabled:not(:checked) + label:before,
.checkbox-wrap [type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}
.checkbox-wrap [type="checkbox"]:disabled:checked + label:after {
  color: #999;
}
.checkbox-wrap [type="checkbox"]:disabled + label {
  color: #aaa;
}
/* accessibility */
.checkbox-wrap [type="checkbox"]:checked:focus + label:before,
.checkbox-wrap [type="checkbox"]:not(:checked):focus + label:before {

}

/* hover style just for information */
.checkbox-wrap label:hover:before {
  border: 1px solid rgba(223, 223, 223,1);
}






/* Shares */
.share-wrap {
	display: block;
	padding: 10px 25px 50px;
}
.share-wrap-title {
	font-size: 2rem;
	padding-bottom: 25px;
}
.share-wrap > a {
	position: relative;
	display: inline-block !important;
	width: 80px !important;
	height: 80px;
	line-height: 80px;
	text-align: center;
	padding: 0 !important;
	padding-top: 6px;
	margin: 0 15px;
	outline: 0;
	border: 0px solid #b5b5b2;
	border-radius: 25px;
	font-size: 1em;
	text-align: center;
	background-repeat: no-repeat;
	background-size: 26px auto;
	background-position: center;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;


}
.share-wrap > a:hover {

	}


.share-wrap a {
	color: #fff;
	line-height: 80px;
	font-size: 2.4em;
}
.share-wrap a i {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.share-wrap a.email {
	font-family: 'ahkio-thin', sans-serif;
	background: #d1d5dc;
	color: #fff;
	font-size: 2rem;
}
.share-wrap a.email i {
	left: 44%;
}
.share-wrap span {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	bottom: -20px;
	text-align: center;
	display: block;
	width: 100%;
	color: 	#000;
	font-size: 1rem;
	line-height: 1;

	letter-spacing: 0;
	font-family: 'ahkio-thin', sans-serif;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;

}
.share-wrap > a:hover span,
.share-wrap > a.current span {
	visibility: visible;
	opacity: 1;

}

.modal-body pre {
	margin: auto;
	max-width: 80%;
	padding: 0.6rem 1rem 0.5rem;
	border-radius: 10px;
	border: 2px solid #d1d5dc;
}
.modal-body pre code {
	background: transparent !important;
	border:0;
	color: #029d9a;

	font-size: 1.125rem;
}


	@media (max-width: 640px) {
		.share-wrap {
			display: block;
			padding: 10px 0px 40px;
		}
		.share-wrap-title {
			font-size: 1.8rem;
			padding-bottom: 15px;
		}
		.share-wrap span {
			display: none;
		}
		.share-wrap > a:hover span,
		.share-wrap > a.current span {
			visibility: hidden;
			opacity: 0;
		}
		.share-wrap a {
			margin-top: 1rem;
		}

		.modal-body pre {
			margin: auto;
			max-width: 100%;
			}
	}



/* overlay at start */
.mfp-search.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-search.mfp-bg.mfp-ready {
  opacity: 1;
}
/* overlay animate out */
.mfp-search.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-search.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-search.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-search.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}





/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.7;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}


/*

====== Zoom-out effect ======

*/
.mfp-zoom-out .mfp-with-anim {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3);
}
.mfp-zoom-out.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-zoom-out.mfp-ready .mfp-with-anim {
  opacity: 1;
  transform: scale(1);
}
.mfp-zoom-out.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-zoom-out.mfp-removing .mfp-with-anim {
  transform: scale(1.3);
  opacity: 0;
}
.mfp-zoom-out.mfp-removing.mfp-bg {
  opacity: 0;
}
