/*
-----------------------------------
Magnific Popup Content
-----------------------------------
*/
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042 !important;
  overflow: hidden;
  position: fixed;
  background: #19181a;
}
@media (max-width:768px) {
	.mfp-container {
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media (max-width:640px) {
	.mfp-container {
		padding-left: 5px;
		padding-right: 5px;
	}
}
.mfp-wrap {
	-webkit-overflow-scrolling: touch;	
}

.white-popup {
  position: relative;
  background: #fff;
  padding: 0px 0px 0px 0px;
  width: auto;
  max-width: 840px;
  margin: 0px auto;
  margin-top: 30px;
  margin-bottom: 80px;
	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);
}

button.mfp-close {
	width: 55px;
	height: 50px;
	top: 0px;
	right: 0px;
	border-radius: 0;
	color: rgba(31, 55, 69, 1) !important;
	font-size: 1.8rem;
	font-weight: 400;
	background: transparent;
		
	opacity: 1;
	
		-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.mfp-close:active {
	top: 0px;	
}
.mfp-close:hover {
	color: rgba(4, 19, 31, 1) !important;
}

.mfp-iframe-holder .mfp-close {
	text-align: center;
	width: 50px;
	height: 50px;
	top: 0px;
	right: -50px;
	border-radius: 0px;
	color: #e8b2a6 !important;
	font-size: 1.8rem;
	font-weight: 300;
	background-color: #04131f !important;
	opacity: 1;
}


.mfp-close i {
	position: relative;
	top:3px;	
}
.mfp-arrow {
			position: fixed;
}
.mfp-arrow-left {
  left: 5%;
}
.mfp-arrow-right {
  right: 5%;
}
	@media (max-width:1130px) {
		
		.mfp-arrow {
			position: fixed;
			background: #302580 !important;

			width: 60px;
			height: 60px;
			border-radius: 0 !important;
			opacity: 1;
		}
		.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
			margin-top: 0;
			margin-left:0;
			position: absolute;
			top: 50%;
			left:50%;
			transform: translate(-50%, -50%);
		}
		.mfp-arrow-left {
		  left: 0px;
		}
		.mfp-arrow-right {
		  right: 0;
			
		}
		.mfp-arrow-left:before,
		.mfp-arrow-right:before {
			display: none;
		}
	}
	
	
.white-popup.medium {
	max-width: 900px;
}

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

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


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

	}




/* Popup Header */
.modal-header {
	position: relative;
	width:100%;
	line-height: 1;
	height: 50px;
	padding: 1rem 2rem 0.4rem;
	letter-spacing: 1px;
	text-align: left;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	border-radius:  0 0;
	color: rgba(4, 19, 31, 0.3);
	background-color: rgba(4, 19, 31, 0) !important;

}
.modal-header.opac {
	background-color: rgba(255, 255, 255, 0.72) !important;
}
	@media (max-width: 767px) {
		.modal-header {
			padding: 1rem 1rem 0.4rem;
		}
	}

.modal-header .modal-header-title {
		display: inline-block;
		text-transform: uppercase;
		letter-spacing: 2px;
		margin-bottom: 10px;
		font-weight: 700;
		font-size:0.66rem;
		line-height:1;
}

.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%;
	min-height: 42px;
	line-height: 42px;
	padding-left: 0em;
	text-align: center;
	background: rgba(0, 0, 0, 0.07);
	font-size: 0.7em;
	font-weight: 900;
	color: #232226;
	letter-spacing: 1px;
	text-transform: uppercase;
}


.modal-body {
	display: block;
	padding:2.5rem 3rem 3rem;
	position: relative;
}
	@media (max-width: 1130px) {
		.modal-body {
			padding:2rem 1.5rem 3rem;
		}
	}
	@media (max-width: 970px) {
		.modal-body {
			padding:2rem 1rem 3rem;
		}
	}
	@media (max-width: 640px) {
		.modal-body {
			padding:2rem 0rem 3rem;
		}
	}

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

/* Text Devider */

.devider-w-text{
    color:#d1d1d1;
    width:100%;
    margin:30px auto;
    overflow:hidden;
    text-align:center;   
    line-height:1.2em;
    font-size: 1.4em;
    font-weight: 400;
    color: rgba(63, 63, 62, 0.43);
}

.devider-w-text:before, .devider-w-text:after{
    content:"";
    vertical-align:top;
    display:inline-block;
    width:50%;
    height:0.65em;
    border-bottom:1px solid rgba(63, 63, 62, 0.1);
    margin:0 2% 0 -55%;
}
.devider-w-text:after{
    margin:0 -55% 0 2%;
}


/* Search */
.search-wrap {
	display: block;
	padding: 1rem 3rem 0;
}
.search-wrap .searchform {
	display: block;
}
@media (max-width: 640px) {
	.search-wrap {
		padding:1rem 0rem 0rem;
	}
}

.search-wrap .searchform input[type="text"] {
	
	font-size: 1.125rem;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	height: 2.9125rem;
	line-height: 2rem;
	box-shadow: none;
	background: #fff;
	color: #000 !important;
	border: 1px solid rgba(4, 19, 31, 0.15) !important;
	border-right: 0;
	border-radius: 10px 0 0 10px;
	padding-left: 1em;

}
.search-wrap .searchform input[type="text"]:hover,
.search-wrap .searchform input[type="text"]:focus {
	background: #fff;
	border: 1px solid #004A99 !important;
}
.search-wrap .searchform .postfix.button {
	font-size: 0.86em;
	padding-top: 13px;
	height: 2.9125rem;

	border-radius: 0 10px 10px 0;
	color: #fff;

	position: relative;
	left: -2px;
	
	}
.search-wrap .searchform .postfix.button i{
	margin-right: 0px !important;
	font-size: 1.2em;
	top: 0px;
	position: relative;
}

.search-wrap .contactform button {
	margin-top: 10px;
}

/* Contact */
.white-popup .columns {

}
.search-wrap .contactform input[type="text"],
.search-wrap .contactform textarea {
	margin-bottom: 25px;
	font-size: 1em;
	padding-top: 0.8em;
	padding-bottom: 0.8em;
	height: 2.9125rem !important;
	box-shadow: none;
	color: #272e32 !important;
	border: 1px solid rgba(4, 19, 31, 0.15) !important;
	border-radius: 10px;
	padding-left: 1em;
	width: 100% !important;
}
.search-wrap .contactform input[type="text"]:hover,
.search-wrap .contactform input[type="text"]:focus {
	background: #fff;
	border: 1px solid #004A99 !important;
}
.search-wrap .contactform input#telefoon[type="text"] {
 	text-align: center;
 	letter-spacing: 2px;
 	font-weight: 700;
 	font-size: 1.2em;

 }


.search-wrap .contactform textarea {
	min-height: 100px;
}
.search-wrap .contactform textarea:hover,
.search-wrap .contactform textarea:focus {
	background: #fff;
	border: 1px solid #004A99 !important;
}

.search-wrap .contactform .postfix.button {
	margin-top: 20px;
	font-size: 1.3em;
	height: 2.9125rem;
	line-height: 2.9125rem;
	-webkit-border-top-right-radius: 10px !important;
-webkit-border-bottom-right-radius: 10px !important;
-moz-border-radius-topright: 10px !important;
-moz-border-radius-bottomright: 10px !important;
border-top-right-radius: 10px !important;
border-bottom-right-radius: 10px !important;
}
.search-wrap .contactform .postfix.button i{
	margin-right: 5px;
	font-size: 0.9em;
	top: -2px;
	position: relative;
}
.search-wrap label {
	font-size: 0.86em;
	padding-left: 5px;
	line-height: 1.2;
	margin-bottom: 10px;
}


/* Errorsss */

.search-wrap .contactform span.error,
.search-wrap .contactform small.error {
	position: absolute;
	bottom: 8px;
	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: #e30613;
	color: #fff;
	border-radius: 0 0 3px 3px;
}

.search-wrap .contactform .wrong input[type="text"] {
	border-color: #e30613 !important;
	border-bottom-left-radius: 0;
}


.checkbox-wrap {
	padding-top: 5px;
}
.checkbox-wrap label{
	font-weight: 700;
	padding-top: 6px;
}
/* 
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: 1px solid rgba(223, 223, 223, 0.82);
  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: 'Font Awesome 5 Pro';
	font-weight: 700;
  font-style: normal;
  font-weight: normal;
  position: absolute;
  top: -2px; left: -3px;
  font-size: 22px;
  color: #362782;
  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);
}


/* Call Modal */
.call-wrap {
	display: block;
	text-align: center;
}
.call-wrap .big-phone {
	line-height: 1;
	font-size: 3.2rem;
	letter-spacing: 3px;
	font-weight: 400;
	display: block;
	padding-bottom: 10px;

}
.call-wrap p {
font-size: 1rem;
}



/* Shares */
.share-wrap {
	display: block;
	padding: 20px 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: 5px;
	margin: 0 10px;
	outline: 0;
	border: 0px solid rgba(0, 0, 0, 0.16);
	border-radius: 25px;
	font-size: 1.3em;
	color: 	#04131f;
	text-align: center;
	box-shadow: 0px 0px 23px rgba(0, 0, 0, 0);
	-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  {
	color: 	#000;
	box-shadow: 0px 0px 23px rgba(0, 0, 0, 0.1);
}
.share-wrap a i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	font-size: 1.4rem;
	color: #fff;
}

.share-wrap span {
	position: absolute;
	bottom: -30px;
	text-align: center;
	display: block;
	width: 100%;
	font-size: 1rem;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 0px;
}
.share-wrap a:hover span  {
	
}

	@media (max-width: 640px) {
		.share-wrap {
			padding: 20px 0px;
		}
		.share-wrap > a {
			margin-bottom: 30px;
		}
		.share-wrap span {
			font-size: 0.86rem;
			bottom: -25px;
		}
	}
	@media (max-width: 320px) {
		.share-wrap > a {
			font-size: 1.5em;
			width: 50px !important;
			height: 50px !important;
			line-height: 50px !important;
			
		}
		.share-wrap a.email i {
			color: #fff;
			line-height: 50px;
		}
	}		


/* 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;
}
