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

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


.border-bottom {
	position: absolute;
	bottom:-1px;
	left:0;
	width: 100%;
	height:8px;
	border-radius: 0 0 5px 5px;
	z-index: 998;
}

.vmez-modal .mfp-close {
	
	top: 10px;
right: 10px;
	
	border-radius: 100px;
	color: #000;
	font-size: 3em;
	font-weight: 300;
		background-color: transparent !important;
	
	opacity: 1;
}

.mfp-arrow-left {
  left: 5%;
}
.mfp-arrow-right {
  right: 5%;
}
	@media (max-width:970px) {
		.vmez-modal .mfp-close {
			top: -50px;
			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;
		}
	}
	

.vmez-modal.medium {
	margin-top: 60px;
	max-width: 900px;
}
.vmez-modal.wide {
	margin-top: 60px;
	padding: 0px;
	max-width: 1024px;
}
.vmez-modal.extrawide {
	margin-top: 30px;
	padding: 0px;
	max-width: 1140px;
}

.vmez-modal.full {
  width: 100%;
  max-width: 100%;
  background: none;
}

.vmez-modal.object-modal {
	margin-top: 50px;
	margin-bottom: 40px;
	padding: 0px;
/* 	max-width: 90%; */
	max-width: 1350px;
}



	@media (max-width:970px) {
		.vmez-modal.object-modal {
			background: transparent
		}
		.vmez-modal .inner {
			padding:  0.5em 1em;
		}
		.vmez-modal .mfp-close {
			color: #fff !important;
		}
	}
	@media (max-width: 500px) {
		.vmez-modal {
	
			padding: 0px;
		}
	.mfp-search button.mfp-close {
			
		}
	.vmez-modal .inner {
			padding:  0.5em 0.5em;
		}
	}

.vmez-modal .modal-wrapper {

}

.vmez-modal.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: 5px 5px 0 0;
}
.modal-header.opac {
	background-color: rgba(255, 255, 255, 0.72) !important;
}


.modal-header .modal-header-title {
		display: inline-block;
		text-transform: uppercase;
		letter-spacing: 2px;
		margin-bottom: 10px;
	
		font-weight: 600;
		font-size:0.86rem;
		line-height:1;
}
.modalheader .fav {
	position: absolute;
	line-height: 46px;
	left: 1.3em;
}
.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 {
	padding: 0;
	
}
.modal-body.with-padding {
	padding:2rem 3rem;
}


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

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


.modal-input,
.form-wrap .addformInput {
	padding-left: 1em !important;
	font-size: 1.4rem !important;
	background: #fff !important;
	height: 58px !important;
	border-radius: 0px !important;

	box-shadow: none;
}
.modal-input:focus,
.form-wrap .addformInput:focus {
	box-shadow:none;
	border-color: rgba(0, 23, 80, 1) !important;
}

	@media (max-width: 500px) {
		.modal-body .modal-headline {
			font-size: 1.1em;
		}
		.modal-body .modal-intro p {
			line-height: 1.2 !important;
		}
	}


/* Text Size */
.textsize-wrap {
	display: block;
	padding: 1rem 0rem;
}
.textsize-wrap .textsize-button {
	
	position: relative;
	display: inline-block !important;
	color: #8494bc;
	width: 80% !important;
	min-height: 40px;
	text-align: left;
	padding: 0.5rem 2rem 0.5rem 4rem !important;
	margin: 0 0px 5px;
	outline: 0;
	border: 1px solid rgba(0, 23, 80, 0.2);
	border-radius: 5px;
	line-height: 40px;
	font-size: 16px !important;
}
.textsize-wrap .textsize-button:hover {
	color: #003b75;
	border-color: rgba(0, 23, 80, 0.5);
}
.textsize-wrap .textsize-button.current {
	color: #00a1d4;
	border: 1px solid #003b75;
}
.textsize-wrap textsize-button.text-normal {
	font-size: 16px !important;
}
.textsize-wrap .textsize-button.text-medium {
	font-size: 20px !important;
}
.textsize-wrap .textsize-button.text-large {
	font-size: 24px !important;
}

.textsize-wrap .textsize-button:before {
	position: absolute !important; 
	top: 50%; 
	left: 15px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	line-height: 27px;
	font-size: 0.76rem;
	text-align: center;
	background: #fff;
	color: #fff;
	border: 2px solid #eee;
	border-radius: 100px;
	content: "";
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
		-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;
	
}

.textsize-wrap .textsize-button.current:before {
	background: #4bda60;
	color: #fff;
	border: 2px solid #4bda60;
	content: "\e934";
}


/* 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: 4px;
	margin: 0 15px;
	outline: 0;
	border: 1px solid #b5b5b2;
	border-radius: 0px;
	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 {
	line-height: 80px;
	font-size: 1.8em;
}
.share-wrap a.facebook {
	background-image: url(../images/facebook.svg);
}
.share-wrap a.twitter {
	background-image: url(../images/twitter.svg);
}
.share-wrap a.email {
	background-image: url(../images/contact.svg)
}
.share-wrap a.snapchat {
	background-image: url(../images/snapchat.svg)
}
.share-wrap a.instagram {
	background-image: url(../images/instagram.svg)
}
.share-wrap a.email i {
	color: #8ed1de;
	line-height: 76px;
}
.share-wrap span {
	position: absolute;
	bottom: -30px;
	text-align: center;
	display: block;
	width: 100%;
	color: 	#b5b5b2;
	font-size: 0.76rem;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 3px;
}
.share-wrap > a:hover span,
.share-wrap > a.current span {
	color: #de0047;
	
}




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