/* Title */
@media(min-width: 768px){
  #contact-form-container {
    margin-top: 10px;
  }
}

@media(min-width: 992px){
  #contact-form-container {
    margin-top: 50px;
  }
}

h1.contact-form {
  margin: 55px 0 !important;
}

#contact-form-container > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 10px;
  margin-bottom: 70px;
}

p.contact-form {
  padding: 0 !important;
  color: #000 !important;
  font-size: 14px !important;
  font-family: 'Barlow', Arial, Helvetica, sans-serif !important;
  text-align: center;
  margin: 20px 0 50px 0;
}

.form-group.select_box {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: start;
  column-gap: 2rem !important;
}

label.required_label.toplabel {
  margin-bottom: 0 !important;
  width: auto;
}

/* Global */
.gformbuilderpro_form {
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
}

.gformbuilderpro_form * {
  font-family: 'Barlow', Arial, Helvetica, sans-serif;
}

.gformbuilderpro_form .formbuilder_group {
  margin-bottom: 25px;
}

.gformbuilderpro_form .html_box {
  margin-bottom: 10px;
}

.itemfield {
  padding: 0;
}

.gformbuilderpro_form .html_box p {
  font-weight: 500 !important;
  text-transform: uppercase !important;
  font-size: 14px !important;
  color: #000 !important;
  text-align: left;
  padding: 0 10px;
  margin: 0 0 20px 0;
  font-family: 'Barlow', Arial, Helvetica, sans-serif !important;

}

.gformbuilderpro_form .form-group {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  margin-bottom: 0;
}

 .gformbuilderpro_form .form-group * {
  font-size: 14px!important;
}

/* Input label & ::after */
.gformbuilderpro_form .form-group label, .gformbuilderpro_form .form-group label::after {
  color: black;
  margin-left: 3px;
}

.gformbuilderpro_form .form-group > label {
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 12px;
}

/* Border & padding */
.gformbuilderpro_form input, .gformbuilderpro_form select, .gformbuilderpro_form textarea {
  border: 1px solid #B47855!important;
  border-radius: 8px!important;
  padding: 15px!important;
}

/* Element description */
.gformbuilderpro_form .help-block {
  text-align: right;
  font-style: normal !important;
  color: gray !important;
  margin-top: 10px !important;
}

/* Select */
 #contact-form-select-subject {
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDMzMCAzMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMzMCAzMzA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGlkPSJYTUxJRF8yMjVfIiBkPSJNMzI1LjYwNyw3OS4zOTNjLTUuODU3LTUuODU3LTE1LjM1NS01Ljg1OC0yMS4yMTMsMC4wMDFsLTEzOS4zOSwxMzkuMzkzTDI1LjYwNyw3OS4zOTMNCgljLTUuODU3LTUuODU3LTE1LjM1NS01Ljg1OC0yMS4yMTMsMC4wMDFjLTUuODU4LDUuODU4LTUuODU4LDE1LjM1NSwwLDIxLjIxM2wxNTAuMDA0LDE1MGMyLjgxMywyLjgxMyw2LjYyOCw0LjM5MywxMC42MDYsNC4zOTMNCglzNy43OTQtMS41ODEsMTAuNjA2LTQuMzk0bDE0OS45OTYtMTUwQzMzMS40NjUsOTQuNzQ5LDMzMS40NjUsODUuMjUxLDMyNS42MDcsNzkuMzkzeiIvPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+DQo=) no-repeat 95% 50%!important;
  background-size: 12px!important;
	-moz-appearance: none!important;
	-webkit-appearance: none!important;
	appearance: none!important;
}

 #contact-form-select-subject:after {
  content: '→';
  position: absolute;
  right: 0;
  bottom: 0;
}

.gformbuilderpro_form .select_box {
  margin-bottom: 15px;
}

.gformbuilderpro_form select {
  height: auto!important;
  cursor: pointer;
}

@media(min-width: 992px){
   .gformbuilderpro_form select {
    width: 49%;
  }
}



/* Inline blocks for last group */
@media(min-width: 992px){
   #gformbuilderpro_35 > div {
    width: 50%;
  }

  .form-group.select_box {
    column-gap: 12rem !important;
  }

   .gformbuilderpro_form .formbuilder_group:last-child .itemfield.col-md-6 > div,  #gformbuilderpro_35 > div {
    display: flex!important;
    flex-direction: row!important;
    align-items: center!important;
    justify-content: space-between!important;
    margin: 10px 0!important;
  }

   .gformbuilderpro_form .formbuilder_group:last-child .itemfield.col-md-6:nth-child(4) > div {
    justify-content: flex-end!important;
  }

   .gformbuilderpro_form .formbuilder_group:last-child .itemfield.col-md-6 > div:not(.fileupload_box) label,  #gformbuilderpro_35 > div label {
    width: 25%!important;
    margin-bottom: 0!important;
  }

   .gformbuilderpro_form .formbuilder_group:last-child .itemfield.col-md-6 > div input,  #gformbuilderpro_35 > div select {
    width: 60%!important;
  }
}

/* File uploader */
@media(min-width: 992px){
   .gformbuilderpro_form .fileupload_box {
    flex-direction: row;
    align-items: center;
  }

   .gformbuilderpro_form .fileupload_box label {
    width: 200px!important;
  }
}

.gformbuilderpro_form .bootstrap-filestyle {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
}

 .gformbuilderpro_form .bootstrap-filestyle .group-span-filestyle {
  width: 100%;
}

.gformbuilderpro_form .bootstrap-filestyle .group-span-filestyle label {
  width: 100%;
  background: #FFF;
  color: #000;
  border: 1px solid #B47855;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  padding: 15px;
}

.gformbuilderpro_form .bootstrap-filestyle input {
  border: none!important;
  cursor: default;
  text-align: center;
}

@media(min-width: 992px){
   .gformbuilderpro_form .bootstrap-filestyle {
    flex-direction: row;
    position: relative;
  }
   .gformbuilderpro_form .bootstrap-filestyle .group-span-filestyle {
    width: 100%;
    margin-left: 25px;
  }
   .gformbuilderpro_form .bootstrap-filestyle input {
    text-align: right;
  }
}

/* Dynamically hidden input */
.gformbuilderpro_form .itemfield.hidden {
  display: none;
}

/* Captcha */
.capcha_box {
  margin-top: 10px;
  align-items: center;
}

.capcha_box label {
  display: none;
}

.gformbuilderpro_action {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Submit button */
 #submitForm span {
  display: initial;
  font-weight: 400;
}

 #submitForm::after {
  content: '';
  display: none;
}

#submitForm {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  width: 100%;
  padding: 0rem 10px;
  font-weight: 500;
  height: 50px;
  line-height: 50px;
  background: #000;
  border: none;
  max-width: 350px;
  transition: all .2s ease-in;
  text-transform: uppercase !important; /* justified importants - Reset default PS transformations, colors, changing on some states... */
  color: #fff !important;
  text-decoration: none !important;
  outline: none !important;
}

#submitForm:hover {
  background: #B47855;
  color: white;
}

.success_box {
  background-color: transparent !important;
  border: none !important;
}

.success_box #thankyou-page {
  border-radius: 10px;
}

.alert.alert-success {
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  flex-direction: row-reverse !important;
  justify-content: space-between !important;
}