/* Contact Us page specific styles (extracted from main.css) */

/* Static banner alignment for contact template */
body.page-template-page-contact-us .static-banner > img,
body.page-template-page-contact-us .static-banner picture > img {
  width: 100%;
}
body.page-template-page-contact-us .static-banner .bannerTxt {
  top: 40%;
  transform: translateY(-40%);
  position: absolute;
  left: 0;
  right: auto;
  color: #fff;
  max-width: 48%;
  z-index: 1;
  text-align: left;
}
body.page-template-page-contact-us .static-banner .bannerTxt h2 { color: #fff; font-size: 2.9rem; line-height: 1.1; font-weight: 400; }
body.page-template-page-contact-us .static-banner .bannerTxt p { color: #fff; }
@media (max-width: 991px) {
  body.page-template-page-contact-us .static-banner .bannerTxt {
    top: 36%;
    transform: translateY(-36%);
  }
  body.page-template-page-contact-us .static-banner .bannerTxt h2 { font-size: 2.4rem; }
}
@media (max-width: 767px) {
  body.page-template-page-contact-us .static-banner .bannerTxt {
    top: 30%;
    transform: translateY(-30%);
  }
  body.page-template-page-contact-us .static-banner .bannerTxt h2 { font-size: 1.8rem; }
}

/* Title and CF7 form sizing */
body.page-template-page-contact-us .contactTitle {
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.2;
  color: #000000;
  padding-bottom: 35px;
  margin: 0;
}
/* body.page-template-page-contact-us .contact-form .wpcf7-form p {
  margin-bottom: 15px;
} */
/* Ensure two-column fields line up and span equally */
body.page-template-page-contact-us .contact-form .row > [class*="col-md-6"] .form-control {
  width: 100%;
  border: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1;
    color: #000000;
    padding: 0 12px;
    border-bottom: #AEAEAE solid 1px;
}
body.page-template-page-contact-us .contact-form .row > [class*="col-md-12"] .form-control {
  width: 100%;
}
/* body.page-template-page-contact-us .contact-form .wpcf7-form input,
body.page-template-page-contact-us .contact-form .wpcf7-form textarea {
  width: 100%;
} */

/* Contact: Tell Us */
body.page-template-page-contact-us .contact-form {
  padding: 32px 0;
}
body.page-template-page-contact-us .contact-tell-us {
  padding: 0 0 50px;
  border-bottom: #D1D1D1 solid 1px;
}
body.page-template-page-contact-us .form-lebel {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: #3B3B3B;
  padding-bottom: 15px;
  padding-left: 20px;
  padding-left: 0;
  display: block;
  text-align: left;
}
/* Inputs: minimalist underline style */

body.page-template-page-contact-us .contact-form .form-control:focus {
  box-shadow: none;
  outline: none;
  border-bottom-color: #000;
}
/* Textarea: same minimalist underline style */
body.page-template-page-contact-us .contact-form textarea.form-control {
  border: none;
  border-bottom: 1px solid #AEAEAE;
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  min-height: 1.2em; /* visually 1 row */
  resize: vertical;
}

/* Simple slider */
body.page-template-page-contact-us .slider-wrapper {
  --thumb-diameter: 2em;
  --thumb-radius: calc(var(--thumb-diameter) / 2);
  --track-border-width: 1px;
  --value: 50;
  --pos: calc(var(--thumb-radius) + .01 * var(--value) *(100% - var(--thumb-diameter)));
  text-align: center;
  font-size: 7px;
}
body.page-template-page-contact-us .slider-tooltip {
  --tooltip-background: #ECECEC;
  --tooltip-border-width: 1px;
  --tooltip-border-color: transparent;
  --tooltip-hight-arrow: 1em;
  display: block;
  width: fit-content;
  margin: auto;
  margin-bottom: 15px;
  margin-left: calc(var(--pos) + var(--track-border-width));
  padding: 3px 25px;
  min-width: 10px;
  border: var(--tooltip-border-width) solid var(--tooltip-border-color);
  border-radius: 5px;
  font-weight: 400;
  white-space: nowrap;
  color: #3B3B3B;
  background-color: var(--tooltip-background);
  transition: .25s;
  translate: calc(-50%);
  font-size: 0.8rem;
}
body.page-template-page-contact-us .slider-tooltip::after {
  content: "";
  position: absolute;
  top: calc(100% + var(--tooltip-border-width));
  left: 50%;
  width: var(--tooltip-hight-arrow);
  height: var(--tooltip-hight-arrow);
  border: inherit;
  border-top: none;
  border-left: none;
  background-color: inherit;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}
body.page-template-page-contact-us input[type="range"].slider {
  --track-height: 9px;
  --track-background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%);
  --thumb-background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%);
  display: block;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: var(--track-height);
  margin: 0;
  border: var(--track-border-width) solid #ECECEC;
  border-radius: 50px;
  font-size: 1em;
  outline: none;
  background: #ECECEC;
  background-image: var(--track-background);
  background-position: 0 center;
  background-repeat: no-repeat;
  background-size: var(--pos) var(--track-height);
  cursor: pointer;
}
body.page-template-page-contact-us input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-sizing: border-box;
  width: var(--thumb-diameter);
  height: var(--thumb-diameter);
  border: var(--thumb-border);
  border-radius: 50%;
  background: var(--thumb-background);
  box-shadow: 0 0 .5em #888;
  cursor: pointer;
}
body.page-template-page-contact-us input[type="range"].slider::-moz-range-thumb {
  box-sizing: border-box;
  width: var(--thumb-diameter);
  height: var(--thumb-diameter);
  border: var(--thumb-border);
  border-radius: 50%;
  background: var(--thumb-background);
  box-shadow: 0 0 .5em #888;
  cursor: pointer;
}
body.page-template-page-contact-us input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: var(--effect-over);
}
body.page-template-page-contact-us input[type="range"]::-moz-range-thumb:hover {
  box-shadow: var(--effect-over);
}

/* Contact section blocks */
body.page-template-page-contact-us .contact-banner { height: inherit; }
body.page-template-page-contact-us .contact-banner img { height: auto; }
body.page-template-page-contact-us .contact-sec { padding: 50px 0 32px; border-bottom: #D1D1D1 solid 1px; }
body.page-template-page-contact-us .contact-sec.pad-50 { padding: 87px 0; }
body.page-template-page-contact-us .checkbox-wrap { display: flex; align-items: center; flex-wrap: wrap; }
body.page-template-page-contact-us .check-label { margin-right: 18px; margin-bottom: 18px; cursor: pointer; }
body.page-template-page-contact-us .btn-check { font-size: 1rem; font-weight: 400; color: #3B3B3B; text-align: center; padding: 10px 23px; display: flex; align-items: center; }
body.page-template-page-contact-us .btn-check { transition: all 0.2s ease; background-color: #ECECEC; border-radius: 55px; }
body.page-template-page-contact-us .btn-check::selection { background: green; }
body.page-template-page-contact-us input[type="checkbox"] { position: absolute; visibility: hidden; }
body.page-template-page-contact-us .btn-check img { width: 22px; height: 22px; margin-right: 8px; }
body.page-template-page-contact-us input[type="checkbox"] + div { position: relative; }
body.page-template-page-contact-us input[type="checkbox"]:checked + div { background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%); }
body.page-template-page-contact-us input[type="checkbox"]:checked + div > span { color: #fff; }

/* Custom slider range used in options */
body.page-template-page-contact-us .custom-slider-wrapper {
  --thumb-diameter: 2em;
  --thumb-radius: calc(var(--thumb-diameter) / 2);
  --track-border-width: 1px;
  --value: 50;
  --pos: calc(var(--thumb-radius) + .01 * var(--value) *(100% - var(--thumb-diameter)));
  text-align: center;
  font-size: 7px;
  width: 50%;
  position: relative;
}
body.page-template-page-contact-us .custom-slider-value.slider-tooltip {
  --tooltip-background: #ECECEC;
  --tooltip-border-width: 1px;
  --tooltip-border-color: transparent;
  --tooltip-hight-arrow: 1em;
  display: block;
  width: fit-content;
  margin: auto;
  margin-bottom: 15px;
  margin-left: calc(var(--pos) + var(--track-border-width));
  padding: 3px 33px;
  min-width: 10px;
  border: var(--tooltip-border-width) solid var(--tooltip-border-color);
  border-radius: 5px;
  font-weight: 400;
  white-space: nowrap;
  color: #3B3B3B;
  background-color: var(--tooltip-background);
  transition: .25s;
  translate: calc(-27%);
  font-size: 0.8rem;
}
body.page-template-page-contact-us .custom-slider-value.slider-tooltip::after {
  content: "";
  position: absolute;
  top: calc(100% + var(--tooltip-border-width));
  left: 50%;
  width: var(--tooltip-hight-arrow);
  height: var(--tooltip-hight-arrow);
  border: inherit;
  border-top: none;
  border-left: none;
  background-color: inherit;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}
body.page-template-page-contact-us input[type="range"].custom-slider-range {
  --track-height: 9px;
  --track-background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%);
  --thumb-background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%);
  display: block;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: var(--track-height);
  margin: 0;
  border: var(--track-border-width) solid #ECECEC;
  border-radius: 50px;
  font-size: 1em;
  outline: none;
  background: #ECECEC;
  background-image: var(--track-background);
  background-position: 0 center;
  background-repeat: no-repeat;
  background-size: var(--pos) var(--track-height);
  cursor: pointer;
  margin: 0 30px;
}
body.page-template-page-contact-us input[type="range"].custom-slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-sizing: border-box;
  width: var(--thumb-diameter);
  height: var(--thumb-diameter);
  border: var(--thumb-border);
  border-radius: 50%;
  background: var(--thumb-background);
  box-shadow: 0 0 .5em #888;
  cursor: pointer;
}
body.page-template-page-contact-us input[type="range"].custom-slider-range::-moz-range-thumb {
  box-sizing: border-box;
  width: var(--thumb-diameter);
  height: var(--thumb-diameter);
  border: var(--thumb-border);
  border-radius: 50%;
  background: var(--thumb-background);
  box-shadow: 0 0 .5em #888;
  cursor: pointer;
}
body.page-template-page-contact-us input[type="range"].custom-slider-range::-webkit-slider-thumb:hover { box-shadow: var(--effect-over); }
body.page-template-page-contact-us input[type="range"].custom-slider-range::-moz-range-thumb:hover { box-shadow: var(--effect-over); }
body.page-template-page-contact-us .slider-labels { display: flex; justify-content: space-between; }
body.page-template-page-contact-us .min-value,
body.page-template-page-contact-us .max-value { color: #3B3B3B; font-weight: 400; font-size: 0.9rem; position: absolute; left: 0; bottom: -6px; }
body.page-template-page-contact-us .max-value { left: 100%; padding-left: 40px; }

/* Buttons */
body.page-template-page-contact-us .contact-sec.btm-contact { border: 0; }
/* Submit: match gradient primary button spec */
body.page-template-page-contact-us .contact-form .btn-primary {
  background: linear-gradient(
    90deg,
    #1310a4 0%,
    #5e0792 18.27%,
    #cd0063 51.44%,
    #f20f07 80.77%,
    #ff4000 100%
  );
  border-radius: 50px;
  padding: 20px 35px;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  color: #fff !important;
  text-decoration: none;
  position: relative;
  z-index: 0;
  transition: 0.3s ease-in-out;
  border: none;
}
body.page-template-page-contact-us .contact-form .btn-primary::after {
  content: "";
  position: absolute;
  background: url('../images/right-arrow-white.svg') no-repeat center;
  background-size: contain;
  width: 16px;
  height: 12px;
  z-index: 5;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
body.page-template-page-contact-us .contact-form .btn-primary:hover {
  background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%);
}

/* Spacing above submit button */
body.page-template-page-contact-us .contact-form #btnSubmit,
body.page-template-page-contact-us .contact-form .wpcf7-submit,
body.page-template-page-contact-us .contact-form .btn-primary {
  margin-top: 24px;
}

/* Location and Contact Cloud Connect */
body.page-template-page-contact-us .location { background: #E9E9E9; padding: 120px 0; }
body.page-template-page-contact-us .locationBox { background: #FAFAFA; padding: 45px 50px; height: 100%; }
body.page-template-page-contact-us .locationBox img { height: 58px; }
/* Ensure featured image within locationBox is sized nicely */
body.page-template-page-contact-us .locationBox-img img { height: 58px; width: auto; }
body.page-template-page-contact-us .locationBox h3 { font-size: 1.5rem; font-weight: 300; line-height: 1; color: #000000; padding-top: 50px; margin-bottom: 15px; }
body.page-template-page-contact-us .locationBox p { font-size: 1rem; line-height: 1.5; font-weight: 400; color: #575757; }
body.page-template-page-contact-us .contact-cloud-connect .cloud-connect-Info a { margin-right: 35px; }
body.page-template-page-contact-us .contact-cloud-connect .cloud-connect-Info a img { margin-right: 12px; height: 25px; width: 25px; }

/* Custom Select */
body.page-template-page-contact-us .custom-select-wrapper { position: relative; margin-bottom: 18px; cursor: pointer; }
body.page-template-page-contact-us .custom-select-wrapper select { display: none; }
body.page-template-page-contact-us .custom-select-trigger { font-size: 1rem; font-weight: 400; color: #3B3B3B; text-align: center; padding: 10px 40px 10px 20px; display: flex; align-items: center; transition: all 0.2s ease; background-color: #ECECEC; border-radius: 55px; }
body.page-template-page-contact-us .custom-select-trigger:after { position: absolute; display: block; content: ""; width: 11px; height: 16px; top: 50%; right: 10px; margin-top: -7px; background: url(../images/select-arrow.svg) no-repeat; transition: all 0.4s ease-in-out; z-index: 4; background-size: 100% 100%; }
body.page-template-page-contact-us .custom-select.opened .custom-select-trigger:after { margin-top: -15px; transform: rotate(-180deg) translateY(-50%); }
body.page-template-page-contact-us .custom-options { position: absolute; display: block; top: 100%; left: 0; right: 0; min-width: 100%; margin: 10px 0; border: 1px solid #ECECEC; border-radius: 4px; background: #fff; transition: all 0.4s ease-in-out; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-15px); }
body.page-template-page-contact-us .custom-select.opened .custom-options { opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0); }
body.page-template-page-contact-us .custom-options:before { position: absolute; display: block; content: ""; bottom: 100%; right: 25px; width: 7px; height: 7px; margin-bottom: -4px; border-top: 1px solid #ECECEC; border-left: 1px solid #ECECEC; background: #fff; transform: rotate(45deg); transition: all 0.4s ease-in-out; }
body.page-template-page-contact-us .option-hover:before { background: #f9f9f9; }
body.page-template-page-contact-us .custom-option { position: relative; display: block; padding: 0 16px; border-bottom: 1px solid #ECECEC; font-size: 0.9rem; font-weight: 400; color: #3B3B3B; line-height: 42px; cursor: pointer; transition: all 0.4s ease-in-out; }
body.page-template-page-contact-us .custom-option:first-of-type { border-radius: 4px 4px 0 0; }
body.page-template-page-contact-us .custom-option:last-of-type { border-bottom: 0; border-radius: 0 0 4px 4px; }
body.page-template-page-contact-us .custom-option:hover,
body.page-template-page-contact-us .custom-option.selection { background: #f9f9f9; }

/* Responsive: large screens (moved from main.css) */
@media (min-width: 1660px) {
  body.page-template-page-contact-us .contact-banner { height: inherit; }
  body.page-template-page-contact-us .contact-banner img { height: auto; }
  body.page-template-page-contact-us .static-banner .bannerTxt h2 { font-size: 4.2rem; }
}

/* Responsive: <=1199px (moved from main.css) */
@media (max-width: 1199px) {
  body.page-template-page-contact-us { padding-top: 60px; }
  body.page-template-page-contact-us .contact-banner { height: inherit; }
  body.page-template-page-contact-us .contact-banner img { height: auto; }
}

/* Responsive: <=991px contact page blocks (moved from main.css) */
@media (max-width: 991px) {
  body.page-template-page-contact-us .location { padding: 90px 0; }
  body.page-template-page-contact-us .locationBox { padding: 30px 25px; }
  body.page-template-page-contact-us .locationBox img { height: 45px; }
  body.page-template-page-contact-us .locationBox h3 { font-size: 1.2rem; padding-top: 30px; margin-bottom: 10px; }
  body.page-template-page-contact-us .locationBox p { font-size: 0.9rem; }
  body.page-template-page-contact-us .contact-cloud-connect .cloud-connect-Info a { margin-right: 10px; }
}

/* Responsive: <=767px contact page blocks (moved from main.css) */
@media (max-width: 767px) {
  body.page-template-page-contact-us { padding-top: 60px; }
  body.page-template-page-contact-us .banner { height: calc(100vh - 60px); }
  body.page-template-page-contact-us .contact-cloud-connect .cloud-connect-Info a { padding: 10px 8px; font-size: 0.8rem; margin-bottom: 0; margin-right: 5px; }
  body.page-template-page-contact-us .contact-cloud-connect .cloud-connect-Info a img { margin-right: 5px; height: 10px; width: 10px; }
}


