/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  #cs-contact {
    padding: var(--sectionPadding);
  }
  #cs-contact .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 50rem;
    margin: auto;
  }
  #cs-contact .cs-left-section {
    margin-bottom: 2.5rem;
  }
  #cs-contact .cs-left-section .cs-content {
    width: 100%;
  }
  #cs-contact .cs-left-section .cs-content .cs-title {
    text-align: left;
    max-width: 50rem;
  }
  #cs-contact .cs-left-section .cs-content .cs-text {
    text-align: left;
    margin: 0 auto 0 0;
    /* 40px - 48px */
    margin-bottom: clamp(2.5rem, 6.3vw, 3rem);
  }
  #cs-contact .cs-right-section {
    /* 24px - 40px top & bottom */
    /* 20px - 40px left & right */
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    /* cuts off corners on img tag */
    overflow: hidden;
  }
  #cs-contact .cs-right-section .cs-header {
    /* 16px - 20px */
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 0.5rem;
    color: var(--bodyTextColorWhite);
    display: block;
  }
  #cs-contact .cs-right-section .cs-link {
    /* 16px - 20px */
    font-size: 1.25rem;
    line-height: 1.2em;
    text-decoration: none;
    margin-bottom: 1.25rem;
    color: var(--bodyTextColorWhite);
    display: block;
    position: relative;
  }
  #cs-contact .cs-right-section .cs-link:before {
    /* Animated underline */
    content: "";
    width: 0%;
    height: 2px;
    /* current color of the parent */
    background: currentColor;
    opacity: 1;
    display: block;
    position: absolute;
    bottom: calc(-2 / 16 * 1rem);
    left: 0;
    transition: width 0.3s;
  }
  #cs-contact .cs-right-section .cs-link:hover:before {
    width: 100%;
  }
  #cs-contact .cs-right-section .cs-link:last-of-type {
    margin-bottom: 0;
  }
  #cs-contact .cs-right-section .cs-link .cs-block {
    /* sends second address line to the bottom on its own line */
    display: block;
  }
  #cs-contact .cs-right-section .cs-bg-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: transform 0.6s;
  }
  #cs-contact .cs-right-section .cs-bg-picture:before {
    /* background color overlay */
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, #000000 100%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #cs-contact .cs-right-section .cs-bg-picture img {
    width: 100%;
    height: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #cs-contact .cs-right-section .cs-social {
    margin: 1.6rem 0 0 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* 24px - 30px */
    gap: clamp(1.5rem, 3vw, 1.875rem);
  }
  #cs-contact .cs-right-section .cs-social .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #cs-contact .cs-right-section .cs-social .cs-li .cs-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    /* 42px - 50px */
    width: 2.8rem;
    height: 2.8rem;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
  }
  #cs-contact .cs-right-section .cs-social .cs-li .cs-social-link:hover {
    background-color: #ffffff;
    transform: translateY(-0.25rem);
  }
  #cs-contact .cs-right-section .cs-social .cs-li .cs-social-link .cs-icon {
    width: auto;
    /* 18px - 24px */
    height: clamp(1.125rem, 1vw, 1.5rem);
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64em) {
  #cs-contact .cs-container {
    max-width: 80rem;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 5rem;
  }
  #cs-contact .cs-left-section {
    width: 100%;
  }
  #cs-contact .cs-right-section {
    width: 40%;
    max-width: 33.875rem;
    /* changes to 578px at 1300px wide */
    height: 42.875rem;
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #cs-contact .cs-right-section:hover .cs-bg-picture {
    transform: scale(1.1);
  }
  #cs-contact .cs-block {
    /* goes back to inline so it stays "in line" with the rest of the text */
    display: inline-block;
  }
}
/* Small Desktop - 1300px */
@media only screen and (min-width: 81.25em) {
  #cs-contact .cs-right-section {
    height: 36.125rem;
  }
}
/*-- -------------------------- -->
<---       Gravity Forms        -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  body .gform_wrapper {
    text-align: left;
  }
  body .gform_wrapper .gform_body .gform_fields {
    grid-row-gap: 1.75rem;
    grid-column-gap: 1.5rem;
  }
  body .gform_body .gform_fields .gfield input[type="date"],
  body .gform_body .gform_fields .gfield input[type="email"],
  body .gform_body .gform_fields .gfield input[type="password"],
  body .gform_body .gform_fields .gfield input[type="search"],
  body .gform_body .gform_fields .gfield input[type="text"],
  body .gform_body .gform_fields .gfield input[type="url"],
  body .gform_body .gform_fields .gfield input[type="tel"],
  body .gform_body .gform_fields .gfield textarea {
    background-color: rgba(244, 244, 244, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.33);
    font-family: inherit;
    font-weight: 500;
    min-height: 2rem;
    line-height: 2;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 1.2rem;
  }
  body .gform_body .gform_fields .gfield input[type="date"]:focus,
  body .gform_body .gform_fields .gfield input[type="email"]:focus,
  body .gform_body .gform_fields .gfield input[type="password"]:focus,
  body .gform_body .gform_fields .gfield input[type="search"]:focus,
  body .gform_body .gform_fields .gfield input[type="text"]:focus,
  body .gform_body .gform_fields .gfield input[type="url"]:focus,
  body .gform_body .gform_fields .gfield input[type="tel"]:focus,
  body .gform_body .gform_fields .gfield textarea:focus {
    border-color: var(--primaryDark);
    outline: 0;
  }
  body .gform_wrapper .gfield.gf_list_inline .gfield_radio .gchoice {
    margin-bottom: 0.6rem;
    margin-right: 1rem;
    padding-right: 0;
    cursor: pointer;
    display: block !important;
  }
  body .gform_wrapper .gfield.gf_list_inline .gfield_radio .gchoice:last-child {
    padding-bottom: 0;
  }
  body .gform_wrapper .gfield.gf_list_inline .gfield_radio .gchoice label {
    font-size: 1.2rem;
    margin-left: 0.2rem;
  }
  body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
    letter-spacing: 0.05rem;
    font-size: 1.1rem;
    font-weight: 600;
  }
  body .gform_wrapper .gform_footer input[type="submit"] {
    font-size: 1rem;
    font-weight: bold;
    line-height: 3.125em !important;
    min-height: 3.125rem !important;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    width: auto;
    padding: 0 1.875rem;
    border-radius: 0.4rem;
    border: 1px solid var(--primaryDark);
    cursor: pointer;
    color: #fff;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color, background-color 0.3s;
    transition-delay: 0.1s;
  }
  body .gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: var(--primaryDark);
  }
  body .gform_wrapper .gform_footer input[type="submit"]:hover:before {
    width: 100%;
  }
  body .gform_wrapper.gravity-theme .gform_validation_errors {
    margin-bottom: 2rem;
    scroll-margin-top: 10px;
  }
  body .gform_wrapper.gravity-theme .gform_validation_errors > h2 {
    font-size: 1rem;
  }
  body .gform_confirmation_wrapper {
    background: #ffe;
    border-radius: 0.5rem;
    border: 1.5px solid #b3c8b1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.11), 0 0 4px rgba(18, 25, 97, 0.04);
    padding: 1rem;
    position: relative;
    width: 100%;
    color: #4d5f0b;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.1rem;
  }
  .gform_anchor {
    scroll-margin-top: 7.5rem;
    outline: 0;
  }
  .gform_required_legend {
    display: none;
  }
}
@media only screen and (min-width: 641px) {
  body .gform_wrapper .gfield.gf_list_inline .gfield_radio .gchoice {
    display: inline-block !important;
  }
}
