.form_wrap.sideleft .row {
    margin: 0 !important;
}

/* Override datapage styles */
/*.form_wrap.sideleft form#caspioform {
    max-width: 400px !important;
    margin: 0 auto !important;
}
.form_wrap.sideleft form#caspioform table tr td {
    padding: 0 0 15px 0 !important;
}
.form_wrap.sideleft select,
.form_wrap.sideleft textarea,
.form_wrap.sideleft input[type="email"],
.form_wrap.sideleft input[type="text"] {
    height: 45px !important;
    padding: 10px !important;
    border: 1px solid #999 !important;
    font-size: 16px !important;
    color: #484848 !important;
    background: transparent !important;
    -webkit-transition: all .3s ease !important;
    -moz-transition: all .3s ease !important;
    -ms-transition: all .3s ease !important;
    -o-transition: all .3s ease !important;
    transition: all .3s ease !important;
    max-width: 400px !important;
}
.form_wrap.sideleft textarea {
    height: auto !important;
    max-height: 132px !important;
}
.form_wrap.sideleft select:focus,
.form_wrap.sideleft textarea:focus,
.form_wrap.sideleft input[type="email"]:focus,
.form_wrap.sideleft input[type="text"]:focus {
    border: 2px solid #1196ba !important;
    -webkit-box-shadow: 0 0 0 30px #fff inset !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}
.form_wrap.sideleft select:hover:not(:focus):hover,
.form_wrap.sideleft textarea:hover:not(:focus):hover,
.form_wrap.sideleft input[type="email"]:not(:focus):hover,
.form_wrap.sideleft input[type="text"]:not(:focus):hover {
    border: 2px solid #666 !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
.form_wrap.sideleft .filled select,
.form_wrap.sideleft .filled textarea,
.form_wrap.sideleft .filled input[type="text"] {
    background-color: #fff !important;
}
.form_wrap.sideleft .cbSubmitButtonContainer_4b7132346dc1db {
    padding: 0 !important;
}
::placeholder {
    color: #ccc !important;
    opacity: 1 !important;
}

:-ms-input-placeholder {
    color: #ccc !important;
}

::-ms-input-placeholder {
    color: #ccc !important;
}

#caspioform table table td .placeholder {
    position: absolute;
    z-index: -1;
    left: 10px;
    top: 10px;
    font-size: 16px;
    color: #747d82 !important;
    line-height: 24px;
    font-weight: 400;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    font-family: Lato,sans-serif;
}

#caspioform table table td.filled .placeholder,
#caspioform table table td.focused .placeholder {
    font-size: 12px;
    top: -12px;
    background: #fff !important;
    z-index: 1;
    padding: 0 3px;
    color: #8a8a8a !important;
}

#datapage-form {
  margin-top: 0;
}*/

#headerContent h2,
#headerContent h1 {
  font-size: 3.6rem !important;
  font-weight: 700;
  margin-bottom: 25px !important;
}

@media (max-width: 991px) {
    .section .form_wrap .mb-30:first-of-type {
        width: 100% !important;
    }

    .section .form_wrap .mb-30 * {
        text-align: center !important;
    }

    .section .form_wrap .mb-30:not(:first-child) {
        width: 50% !important;
        display: inline-block;
        vertical-align: top;
        margin: 0 -1px;
    }
}

@media (max-width: 580px) {
    .section .form_wrap .mb-30:not(:first-child) {
        width: 100% !important;
        margin: 0;
    }
}

/***********************************************************************************/

#caspioform table table td {
  z-index: 1 !important;
}

.branch .address_map,
.branch .image_location {
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;  
}

.branch:hover .address_map {
  opacity: 1;
}

.branch:hover .image_location {
  opacity: 0;
  margin-left: -100%;
}

.branch .image_location {
  width: 100%;
  position: relative;
  z-index: 1;
}

.branch {
  position: relative;
  margin-bottom: 30px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.branch:last-child {
  margin-bottom: 0;
}

.branch .location {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  transform: translatey(-50%);
  font-size: 36px;
  text-shadow: 0px 1px 3px #000000B3;
  font-weight: 500
}

.branch .address_map {
  display: flex;
}

.branch .address {
  width: 100%;
  max-width: 275px;
  padding: 20px;
  font-size: 18px;
}

.branch .address .country {
  font-size: 25px;
  line-height: 1;
}

.branch .address > div {
  /*margin-bottom: 10px;*/
}

.branch .address > div:first-child {
  margin-bottom: 0.65em;
}

.branch .address > div:last-child {
  margin-bottom: 0;
}

.branch .address a {
  font-size: 16px;
}

.branch .map {
  position: relative;
}

.branch .map iframe {
  max-height: 100%;
  max-width: 100%;
  width: 381px;
}

.branch .map .direction {
  position: absolute;
  bottom: 20px;;
  left: 50%;
  transform: translatex(-50%);
  padding: 8px 10px;
  font-size: 12px;
}

.img_wrap {
  width: 100%;
  overflow: hidden;
}

.img_wrap img {
  width: 100%;
  height: auto;
}

.branch,
.branch .image_location,
.branch .map iframe,
.img_wrap {
  height: 210px;
}

.form_wrap {
  max-width: none;
  width: 100%;
  padding: 0;
}

.form_wrap.sideright {
  padding: 0 25px 0 0;
}

/*.form_wrap.sideleft #datapage-form form#caspioform,
.form_wrap.sideleft #datapage-form select,
.form_wrap.sideleft #datapage-form textarea,
.form_wrap.sideleft #datapage-form input[type="email"],
.form_wrap.sideleft #datapage-form input[type="text"] {
  max-width: 100% !important;
}

.form_wrap.sideleft #datapage-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/wp-content/themes/caspio/img/Dropdown.svg) !important;
  background-repeat: no-repeat !important;
  background-position: 97% center !important;
  background-size: 12px auto !important;
}

.form_wrap.sideleft #datapage-form select:focus {
  border-width: 1px !important;
  outline: 0 !important;
}*/

.dpcontact {
  float: right;
}

#headerContent {
  /*display: none;*/
}

.dpcontact .form_wrap h2 {
  text-align: center;
}

#headerContent {
  display: none;
}

/*#datapage-form {
  max-width: 490px !important;
  margin-right: 0 !important;
}*/

.generic-titles {
  margin-bottom: 3rem !important;
}

#datapage-form #caspioform table table td.focused .placeholder {
    background: #fff !important;
}

/*#datapage-form #caspioform input[type=submit] {
  max-width: 100% !important;
  width: 100%;
  margin: 0 !important;
}*/

.featured-img-block {
  text-align: right;
  margin-bottom: 4em;
}

.branch .address {
  max-width: 270px;
}
.branch .address_map {
  position: static;
  display: flex;
  opacity: 1;
}
.branch,
.branch .address_map,
.branch .image_location,
.branch .map iframe,
.img_wrap {
  height: auto;
}
/*#datapage-form-outer #datapage-form {
    max-width: 525px !important;
    margin: 50px 0 !important;
}
#caspioform > table table[data-cb-name="cbTable"] tbody tr:nth-child(4),
#caspioform > table table[data-cb-name="cbTable"] tbody tr:nth-child(3) {
  width: 50%;
  float: left;
  padding-left: 7px;
}
#caspioform > table table[data-cb-name="cbTable"] tbody tr:nth-child(3) {
  padding: 0 7px 0 0;
}
#datapage-form input[type=submit] {
  line-height: 1;
}*/
#datapage-form p.cb-datapage-confirm-p-left,
#datapage-form .cb-datapage-confirm-h2-left {
  text-align: center;
}

#datapage-form .cb-datapage-confirm-h2-left {
  font-size: 2.5rem;
}

.featured-img-block img {
  height: auto !important;
  width: 100% !important;
}

.generic-titles h1 + p {
  font-size: 18px !important;
}

.col-header * {
  text-align: left;
}

.sales-contacts * {
  text-align: left;
}

.inner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 3em;
}

.sales-contacts .col-list {
  margin-bottom: 4em;
}

.inner-list .contact-details {
  width: 100%;
}

.contact-details p {
  margin-bottom: 0;
}

.section-branches {
  background-color: var(--pe_light_bluegray);
}

.branches-block {
  /*max-width: 940px;*/
}

#datapage-form-outer #datapage-form input:-webkit-autofill,
#datapage-form-outer #datapage-form select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #484848 !important;
}

.sales-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 420px;
}

.sales-contacts .col-list {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 155px;
}

.sales-contacts .col-list:last-of-type {
  margin-top: -10em;
}

section.bg_pe_light_bluegray_fadeDown {
  background: transparent linear-gradient(180deg, #004AAA26 0%, #FFFFFF00 25%) 0% 0% no-repeat padding-box !important;
}

@media (min-width: 992px) {
  .form_wrap {
    padding-right: 40px;
  }
  
  #datapage-form .cb-datapage-confirm-h2-left {
    padding-top: 5px;
  }
}

@media (max-width: 1200px) {
  .form_wrap.sideright {
    padding: 0;
  }
}

@media (max-width: 991px), (max-width: 991.33px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .branch .address_map {
    justify-content: center;
  }
  .branch .map, .branch .address {
    max-width: 270px;
  }
  .branches .branch .address a,
  .branches .branch .address {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .branch .map,
  .branch .address {
    max-width: 50%;
    width: 50%;
  }

  .branch .address_map,
  .branch .map iframe {
    width: 100%;
  }

  .form_wrap {
    padding: 0;
  }  

  /*.form_wrap.sideleft #datapage-form form#caspioform {
    max-width: 400px !important;
    margin: 0 auto;
  }*/  

  .dpcontact {
    float: none;
  }

  .dp_title * {
    text-align: center;
  }

  .branches-block * {
    text-align: center;
  }

  .col-header *,
  .sales-contacts * {
    text-align: center;
  }

  .featured-img-block {
    margin-bottom: 5em;
  }

  .inner-list {
    justify-content: space-between;
    flex-direction: column;
    align-content: center;
    align-items: center;
  }

  .sales-contacts {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  .sales-contacts .col-list:last-of-type {
    margin-top: unset;
  }

  .sales-contacts .col-list {
    width: 100%;
  }

  section.bg_pe_light_bluegray_fadeDown {
    background: transparent linear-gradient(180deg, #004AAA26 0%, #FFFFFF00 10%) 0% 0% no-repeat padding-box !important;
  }

  .form-section .row {
    display: flex;
    justify-content: center;
  }

  .sales-contacts {
    max-width: 100%;
    float: none;
  }

  .sales-contacts .col-list {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .branch .map, .branch .address {
    max-width: 270px;
    width: 100%;
  }
}

@media (max-width: 450px) {
  .branch .map,
  .branch .address {
    max-width: 70%;
    width: 70%;
  }

  .branch .address a,
  .branch .address {
    font-size: 14px;
  }

  .branch .address {
    padding: 15px;
  }

  .branch .address .country {
    font-size: 20px;
  }

  #caspioform > table table[data-cb-name="cbTable"] tbody tr:nth-child(4),
  #caspioform > table table[data-cb-name="cbTable"] tbody tr:nth-child(3) {
    width: 100%;
    float: none;
    padding: 0 !important;
  }
}

@media (max-width: 375px) {
  .branch .address a,
  .branch .address {
    font-size: 12px;
  }

  .branch .address .country {
    font-size: 18px;
  }

  .branches .branch .address a,
  .branches .branch .address {
    font-size: 14px;
  }

  .branch .map, .branch .address {
    max-width: 225px;
    width: 100%;
  }
}

/*#datapage-form input:-webkit-autofill,
#datapage-form input:-webkit-autofill:hover, 
#datapage-form input:-webkit-autofill:focus,
#datapage-form textarea:-webkit-autofill,
#datapage-form textarea:-webkit-autofill:hover,
#datapage-form textarea:-webkit-autofill:focus,
#datapage-form input:-internal-autofill-selected {
  -webkit-text-fill-color: #484848;
  -webkit-box-shadow: 0 0 0px 1000px #B3fbff33 inset !important;
}*/

#datapage-form.pe_version section[data-cb-name="cbTable"] > div:nth-child(8) > div > label {
  font-size: 16px;
  font-family: 'latoregular',Arial,Helvetica,sans-serif;
  font-weight: 400;
}
#datapage-form.pe_version section[data-cb-name="cbTable"] > div:nth-child(2) {
  padding-right: 7px
}
#datapage-form.pe_version section[data-cb-name="cbTable"] > div:nth-child(3) {
  padding-left: 7px;
}
#datapage-form.pe_version section[data-cb-name="cbTable"] > div:nth-child(3) .placeholder {
  left: 17px;
}
@media (max-width: 1024.33px) {
  #datapage-form.pe_version section[data-cb-name="cbTable"] > div:nth-child(2) {
    padding-right: 0;
  }
  #datapage-form.pe_version section[data-cb-name="cbTable"] > div:nth-child(3) {
    padding-left: 0;
  }
  #datapage-form.pe_version section[data-cb-name="cbTable"] > div:nth-child(3) .placeholder {
    left: 10px;
  }
}

.form-section.pt-40{padding-top:40px!important}@media (max-width: 991px){.form-section h1{text-align:center}.form-section h1{line-height:1.2}section.bg_pe_light_bluegray_fadeDown{background:transparent linear-gradient(180deg,#004AAA26 0%,#FFFFFF00 10%) 0 0 no-repeat padding-box!important}}@media (max-width:450px){.form_side p,.form_side p a{font-size:18px}}

#datapage-form span[data-cb-name="cbFormDataCheckbox"] {
  display: flex;
  gap: 5px;
  align-items: start;
}
#datapage-form span[data-cb-name="cbFormDataCheckbox"] label a,
#datapage-form span[data-cb-name="cbFormDataCheckbox"] label {
  font-size: 14px;
  line-height: normal;
  font-family: var(--latoregular);
  font-weight: 300;
}