@charset "utf-8";
/* CSS Document */

/*--------GENERIC FORM TEMPLATE--------------------*/
.flex-form {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 35px;
  background: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
  border: 2px solid #ddd;
	overflow: hidden;
}

.flex-form h2 {
	font-size:30px;
	margin-bottom:25px;
	color:#982420;
	font-family:'Urbanist', sans-serif;
	font-weight:600;
}

.flex-form.sell {
  max-width: 1500px;
}

.flex-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.02em;
  font-family: 'Barlow', sans-serif;
}


.flex-form input,
.flex-form select,
.flex-form textarea {
  font-family: 'Barlow', sans-serif;
  width: 100%;
  padding: 12px;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #ffffff;
  font-size: 15px;
  color: #333;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.flex-form input:focus,
.flex-form select:focus,
.flex-form textarea:focus {
  border-color: #000;
  outline: none;
}

.flex-form textarea {
  min-height: 100px;
  resize: vertical;
}

.flex-form .form-row,
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-half,
.form-third,
.form-whole {
  min-width: 0;
}

.form-half {
  flex: 1 1 calc(50% - 1rem);
}

.form-third {
  flex: 1 1 calc(33.333% - 1rem);
}

.form-whole {
  flex: 1 1 100%;
}

@media (max-width: 900px) {
  .form-half,
  .form-third {
    width: 100%;
  }
}

.flex-form .form-actions {
  text-align: right;
}

.flex-form button,
.flex-form input[type="submit"],
.flex-form .submit-button, .fake-submit button {
  display: inline-block!important;
  padding: 14px 28px!important;
  width:auto!important;
  background: #982420!important;
  color: #fff!important;
  border: none!important;
  border-radius: 5px!important;
  font-size: 16px!important;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.flex-form button:hover,
.flex-form input[type="submit"]:hover,
.flex-form .submit-button:hover, .flex-form .fake-submit button:hover {
  background: #000;
}

.flex-form .form-note {
  font-size: 13px;
  color: #888;
  margin-bottom: 1rem;
}

.flex-row {
  display: flex;
  width: 100%;
}

.form-whole {
  width: 100%;
}


.submit-button,
.flex-form .submit-button,
.fake-submit button {
  display: inline-block !important;
  padding: 14px 28px !important;
  background: #982420 !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 {
  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;}

.CaptchaMessagePanel {font-family: 'Barlow', sans-serif;}

.CaptchaWhatsThisPanel a{color:#333;font-family: 'Barlow', sans-serif;}

.submit-button{
	padding:10px 0px 10px 0px;
	position:relative;
	text-align:center;
}

/*end form styles*/



@media screen and (max-width: 850px)  {
	.flex-row{flex-wrap: wrap;}
}


