/* ======================================================= */
/*                  THE POPUP                              */
/* ======================================================= */
#the-popup {		
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,.5);
	overflow: hidden;
	
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
		
	display: none;
	z-index: 999999;
}
#the-popup.show {
	display: block !important;	
}
#the-popup #the-popup-content {
	position: absolute;
	
	top: 50%;
	left: 50%;
	
	transform: translate(-50%,-50%);
	
	width: 682px;
	height: 500px;
	
	max-width: 682px;
	max-height: 500px;	
	
	background: #EFEDED;
	
	display: flex;
	
	-webkit-box-shadow: 3px 6px 6px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 3px 6px 6px 0px rgba(0,0,0,0.4);
	box-shadow: 3px 6px 6px 0px rgba(0,0,0,0.4);		
}
#the-popup #the-popup-content  #the-popup-left {
	position: relative;
	min-width: 230px;
}
#the-popup #the-popup-content  #the-popup-left #the-popup-left-image {
	width: 100%;
	height: 100%;
	object-fit: cover;	
}

#the-popup #the-popup-content  #the-popup-right {
	position: relative;
	flex-grow: 1;
	
	display: flex;
	flex-direction: column;

	max-width: 100%;
}

#the-popup #the-popup-content  #the-popup-right-top {
	position: relative;
	min-height: 140px;	
	background: #FDBB30;
	color: #fff;
	font-size: 37px;
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 28px 0 28px;
	line-height: 45px
}
body.the-popup-page-two #the-popup #the-popup-content  #the-popup-right-top {
	justify-content: flex-start;	
}

#the-popup #the-popup-content  #the-popup-right-top #thank-you-checkmark {
	position: relative;
	width: 78px;
	height: auto;
	display:none;
	margin-top: 54px;	
}
body.the-popup-page-two #the-popup-right-top-message { display: none; }
body.the-popup-page-two #the-popup #the-popup-content #the-popup-right-top  #thank-you-checkmark { display: block; }
body.the-popup-page-two .webform-client-form-1090 {
	max-height: 0px;
	overflow: hidden;	
}

#the-popup #the-popup-content  #the-popup-right-bottom { 
	flex-grow: 1;
	padding: 20px 28px 0 28px;	
}
body.the-popup-page-two	#the-popup #the-popup-content #the-popup-right-bottom {
	padding: 28px 30px 0 28px;
}

body.the-popup-page-two #the-popup-right-bottom {
	background: #FDBB30;	
}

#the-popup #the-popup-content #the-popup-right-bottom #page-one-bottom-text {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: #0073D1;
	line-height: 14px;
	font-weight: bold;
	
}

#the-popup #webform-ajax-wrapper-12881 {
	margin-top: 30px;	
}
#the-popup #webform-ajax-wrapper-12881 .form-group {
	margin-bottom: 10px;
}
body.the-popup-page-two #the-popup-right-bottom #page-one-bottom-text {
	display:none;	
}

#the-popup #the-popup-content  #page-two-bottom-text-header {
	color: #fff;
	font-size: 23px;
	font-family: 'Cabin', sans-serif;
	display: none;	
	font-weight: bold;
}
body.the-popup-page-two #the-popup #the-popup-content  #page-two-bottom-text-header { display: block; }
#the-popup #the-popup-content  #the-popup-right-bottom #page-two-bottom-text {
	font-family: 'Cabin', sans-serif;
	font-size: 14px;
	color: #fff;
	font-weight: bold;
	margin-top: 15px;
	display: none;
}
body.the-popup-page-two #the-popup #the-popup-content #the-popup-right-bottom #page-two-bottom-text {
	display: block;
}

#the-popup #the-popup-content #the-popup-right-bottom .webform-client-form  {
	max-width: 322px;		
}
#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form .form-item {
	margin-top: 10px;
	margin-bottom: 0px;
}
#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form .form-item.webform-component--first-name {
	margin-top: 20px;	
}

#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form input {
	min-height: 40px;
	max-height: 40px;
	background: #fff;
	border: 0px;
	border-radius: 0px;	
	outline: none;
}
#the-popup #the-popup-content  #the-popup-right-bottom #webform-ajax-wrapper-12881 #messages,
#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form .form-required { display: none; }

#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form  ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #AED3F2;
  opacity: 1; /* Firefox */
}

#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form  :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #AED3F2;
}

#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form  ::-ms-input-placeholder { /* Microsoft Edge */
  color: #AED3F2;
}
#the-popup #the-popup-content .form-actions	{
	display: flex;
	flex-direction: column;	
	margin-top: .5em;
	margin-bottom: 1em;
}
#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form .form-submit {
	width: 120px;
	height: 40px;
	
	color: #fff;
	background: #0073D1;
	
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 10px;
	
	/*margin-top: 20px;*/
	border-radius: 4px;
}

#the-popup #the-popup-page-two-submit {
	position: relative;
	width: 224px;
	height: 40px;
	border: 2px solid #fff;
	border-radius: .4px;
	text-transform: uppercase;
	color: #fff;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;	
	
	margin-top: 40px;
	border-radius: 2px;
	display: none;
}
#the-popup #the-popup-page-two-submit:hover { cursor:pointer; }
body.the-popup-page-two #the-popup #the-popup-page-two-submit { 
	display: flex; 
	align-items: center;
	justify-content: center;	
}
#the-popup #close-the-popup {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 15.5px;
	height: auto;	
}
#the-popup #close-the-popup:hover {
	cursor: pointer;
}
#the-popup .webform-confirmation,
#the-popup .links { display: none; }


#the-popup-pp-link,
#the-popup-pp-link:active,
#the-popup-pp-link:visited {
	color: #0073D1;
	text-decoration: none;	
	font-size: 10px;
}
@media screen and (max-width: 650px) {
	#the-popup #the-popup-left { display: none; }
	#the-popup #the-popup-content {
		width: 310px;
		max-width: 310px;
		border-radius: 6px;
		overflow: hidden;	
	}
	#the-popup #the-popup-content #the-popup-right-top {
		font-size: 30px;
		text-align: center;
		line-height: 37px;
	}
	
	#the-popup #the-popup-content #the-popup-right-bottom {
		text-align: center;
		padding: 24px 24px 0 24px;
	}
	#the-popup #the-popup-content #the-popup-right-bottom #page-one-bottom-text {
		font-size: 12px;
		line-height: 12px;	
		line-height: 12px;
	}
	
	
	#the-popup #the-popup-content  #the-popup-right-bottom .webform-client-form input {
		padding-left: 0px;
		padding-right: 0px;
		text-align: center;
		border-radius: 4px;	
	}
	#the-popup #the-popup-content  #the-popup-right-bottom #webform-client-form-29495 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	  color: #AED3F2;
	  opacity: 1; /* Firefox */
	  text-align: center;
	  font-size: 10px;
	}
	
	#the-popup #the-popup-content  #the-popup-right-bottom #webform-client-form-29495 :-ms-input-placeholder { /* Internet Explorer 10-11 */
	  color: #AED3F2;
	  text-align: center;
	  font-size: 10px;
	}
	
	#the-popup #the-popup-content  #the-popup-right-bottom #webform-client-form-29495 ::-ms-input-placeholder { /* Microsoft Edge */
	  color: #AED3F2;
	  text-align: center;
	  font-size: 10px;
	}
	#the-popup #the-popup-content .form-actions	{
		align-items: center;	
	}
	
	#the-popup #the-popup-content #the-popup-right-bottom #page-two-bottom-text {
		font-size: 11px;	
	}
	body.the-popup-page-two #the-popup #the-popup-content #the-popup-right-top #thank-you-checkmark {
		margin-left: 0px;	
	}
	body.the-popup-page-two #the-popup #the-popup-content #the-popup-right-top {
		justify-content: center;	
	}
	
	body.the-popup-page-two #the-popup #the-popup-content #page-two-bottom-text-header {
		font-size: 18px;	
	}
	
	body.the-popup-page-two #the-popup #the-popup-content #the-popup-right-bottom { 
		text-align: center;
		padding: 28px 20px 0 20px; 
	}
	body.the-popup-page-two #the-popup #the-popup-content #the-popup-right-bottom #page-two-bottom-text { margin-top: 30px; }
	body.the-popup-page-two #the-popup #the-popup-page-two-submit {
		margin: 40px auto 0 auto;	
	}
	
	#the-popup .g-recaptcha {
		transform:scale(0.87);
	    transform-origin:0 0;
	}	
}


