@charset "utf-8";
/* CSS Document */


/* FULLSCREEN OVERLAY */
.popup {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0,0,0,0.7);
	z-index: 9999;
	box-sizing: border-box;
	overflow-y: auto;
	overflow: visible;
}

.popup {
    display: none;
}


.popup label {
	display: block;
	width: 100%;
	margin: 1rem 0 0.5rem 0;
	font-weight: 600;
	color: #222;
	letter-spacing: 0.02em;
	text-align: left;
	font-family: 'poppins', san-serif;
	font-size: 14px;
}

.popup input, .popup select, .popup textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #ffffff;
	font-size: 15px;
	color: #333;
	transition: border-color 0.2 ease;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

.popup input:focus, .popup select:focus, .popup textarea:focus {
	border-color: #000;
	outline: none;
}

.popup textarea {
	min-height: 100px;
	resize: vertical;
}

.popup .form-row, .flex-row {
	display: flex;
	gap: 1rem;
	width: 100%;
	flex-wrap: wrap;
}

.popup .form-row > *, .flex-row > * {
	flex: 1 1 0;
}

.form-whole {
	flex: 0 0 100%;
	margin-bottom: 1rem;
}

.form-whole.date {
	flex: 0 0 100%;
	margin-bottom: 0;
}

.form-half {	
	flex: 1;
	min-width: 0;
}

.form-third {
	flex: 1;
	min-width: 0;
}

input[type="text"], input[type="email"], input[type="date"], select, input[type="phone"]{
	width:100%;
	box-sizing:border-box;}

@media (max-width: 900px) {
  .form-half, .form-third {
    flex: 0 0 100%;
  }
}

.popup .form-actions {
	text-align: right;
}

.popup button,
.popup input[type="submit"],
.popup .submit-button, .fake-submit button {
	display: inline-block!important;
	padding: 14px 28px!important;
	width:auto!important;
	background: #B1191F!important;
	color: #fff!important;
	border: none!important;
	border-radius: 5px!important;
	font-size: 16px!important;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s;
}

.popup button:hover,
.popup input[type="submit"]:hover,
.popup .submit-button:hover, .popupForm .fake-submit button:hover {
	background: #000;
}

.popup .form-note {
	font-size: 13px;
	color: #888;
	margin-bottom: 1rem;
}



.submit-button,
.popup .submit-button,
.fake-submit button {
	display: inline-block !important;
	padding: 14px 28px !important;
	background: #B1191F !important;
	color: #fff !important;
	border: none !important;
	border-radius: 5px !important;
	font-size: 16px !important;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
	
}

.submit-button:hover,
.fake-submit button:hover {
	background: #000;
}

/* CAPTCHA AREA (hidden state) */
.include-captcha {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* SHOW STATE */
.include-captcha.show {
  opacity: 1;
  max-height: 350px;
  transform: translateY(0);
}

/* FAKE BUTTON FADE OUT */
.fake-submit {
	margin-top: 1.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.fake-submit.hide {
  opacity: 0;
  pointer-events: none;
  display:none;
}

.CaptchaPanel{
    text-align:left!important;
}

/*===PLACEHOLDER TEXT STYLES===*/

#formpage ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #767676;
}
#formpage ::-moz-placeholder { /* Firefox 19+ */
  color: #767676;
}
#formpage :-ms-input-placeholder { /* IE 10+ */
  color: #767676;
}
#formpage :-moz-placeholder { /* Firefox 18- */
  color: #767676;
}


input[type="button"],
input[type="submit"] {
	-webkit-appearance: none;
}


.CaptchaPanel{width:100%;box-sizing: border-box;}

.CaptchaImagePanel img{width:200px;}


.CaptchaWhatsThisPanel a{color:#333;font-family: 'poppins', san-serif;}

.submit-button{
	padding:10px 0px 10px 0px;
	position:relative;
	text-align:center;
}

.CaptchaMessagePanel {
	font-family: 'poppins', san-serif;
}

.CaptchaPanel {
	padding: 0!important;
	margin-top: 2rem!important;
}

/*end form styles*/



@media screen and (max-width: 850px)  {
	.flex-row{flex-wrap: wrap;}
}


