/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/

/* Mobile - 360px */

body {
    background-color: #8FBC8F;
}


@media only screen and (min-width: 0rem) {
    #contact-1442 {
      padding: var(--sectionPadding);
      padding-top: 140px;
      position: relative;
      z-index: 1;
    }
    #contact-1442 .cs-container {
      width: 100%;
      /* changes to 1280px at tablet */
      max-width: 36.5rem;
      margin: auto;
      display: flex;
      justify-content: center;
      align-content: center;
      align-items: center;
      flex-direction: column;
      column-gap: auto;
      /* 48px - 64px */
      row-gap: clamp(2rem, 3vw, 3rem);
      column-gap: 1.25rem;
      position: relative;
    }
    #contact-1442 .cs-content {
      /* set text align to left if content needs to be left aligned */
      text-align: left;
      width: 100%;
      display: flex;
      flex-direction: column;
      /* centers content horizontally, set to flex-start to left align */
      align-items: start;
    }
    #contact-1442 .cs-title {
      font-family: 'Haksen';
      font-weight: 400;
      font-size: clamp(3.2rem, 4.4vw, 3.2rem);
      color: var(--text-purple);
      max-width: 18ch;
      margin: 0;
    }
    #contact-1442 .cs-text {
      color: #E8E8E8;
    }
    #contact-1442 .cs-contact-group {
      width: 100%;
      max-width: 40.625rem;
      height: 100%;
      /* min-height: 31.25rem; */
      /* 24px - 32px */
      padding: clamp(1.5rem, 2.5vw, 2rem);
      /* prevents padding from affecting height and width */
      box-sizing: border-box;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2rem;
      /* sends it to the bottom in the 3rd position */
      order: 3;
      position: relative;
      z-index: 1;
      background-color: rgba(255,255,255,.30)
    }

    .cs-contact-group iframe {
      min-height: 300px;
    }

    #contact-1442 .cs-ul {
      text-align: left;
      width: 100%;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      display: flex;
      flex-wrap: wrap;
      align-items: start;
      gap: 1.5rem;
      position: relative;
    }
    
    #contact-1442 .cs-li {
      list-style: none;
      display: flex;
      justify-content: start;
      gap: 1rem;
      width: 47%;
    }

    .map-description {
      color: var(--text-grey);
      font-size: 16px;
    }

    #contact-1442 .cs-header {
        font-family: 'Merriweather';
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1.2em;
        margin-bottom: 0.75rem;
        color: var(--text-purple);
        display: block;
    }
    #contact-1442 .cs-link {
      font-size: 1rem;
      line-height: 1.5em;
      text-decoration: none;
      color: var(--text-grey);
      display: block;
      position: relative;
    }
    #contact-1442 .cs-link:hover {
      text-decoration: underline;
    }

    #contact-1442 iframe {
      width: 100%;
    }

    #contact-1442 .cs-icon {
      width: 1.5rem;
      height: auto;
      display: block;
      color: var(--primary);
    }
    #contact-1442 .cs-background {
      width: 100%;
      height: 100%;
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
    }
    #contact-1442 .cs-background:before {
      /* background color overlay */
      content: '';
      position: absolute;
      display: block;
      height: 100%;
      width: 100%;
      background: linear-gradient(0deg, rgba(26, 26, 26, 0.94) 33.99%, rgba(26, 26, 26, 0) 79.31%);
      top: 0;
      left: 0;
      z-index: 1;
    }
    #contact-1442 .cs-background img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      /* Makes img tag act as a background image */
      object-fit: cover;
    }


    #contact-1442 .cs-form {
      width: 100%;
      max-width: 39.375rem;
      /* 24px - 48px top and bottom */
      /* 16px - 48px left and right */
      padding: clamp(1.5rem, 5.18vw, 3rem) clamp(1rem, 4vw, 3rem);
      /* prevents flexbox from affecting height and width */
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.75rem;
    }


    .cs-form-row {
        display: flex;
        gap: 1rem;
        width: 100%;
    }

    .cs-form-row .cs-label {
        flex: 1;
        margin-bottom: 0;
    }

    .cs-form-row .cs-label:last-child {
        margin-right: 0;
    }

    input {
      font-family: 'Merriweather';
      border-color: var(--text-purple);
    }

    input:valid, textarea:valid {
      border-color: #82ff80 !important;
    }

    .cf-turnstile iframe{
      width: 100% !important;
    }

    #contact-1442 .cs-label {
      /* 14px - 16px */
      font-size: clamp(0.875rem, 1.5vw, 1rem);
      font-family: 'Merriweather';
      width: 100%;
      color: var(--headerColor);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: start;
      gap: 0.25rem;
    }
    #contact-1442 .cs-input {
      font-size: 1rem;
      width: 100%;
      height: 3.5rem;
      padding: 0;
      padding-left: 1.5rem;
      color: var(--headerColor);
      background-color: rgba(255,255,255,.50);
      border: 2px solid var(--text-purple);
      /* prevents padding from adding to height and width */
      box-sizing: border-box;
    }
    #contact-1442 .cs-input::placeholder {
      color: #7D799C;
      opacity: .6;
    }
    #contact-1442 .cs-textarea {
      min-height: 7.5rem;
      padding-top: 1.5rem;
      margin-bottom: 0.75rem;
      font-family: inherit;
    }
    #contact-1442 .cs-button-solid {
      font-size: 1rem;
      line-height: 3.5rem;
      text-decoration: none;
      font-weight: 700;
      overflow: hidden;
      margin: 0;
      color: #fff;
      padding: 0 3rem;
      background-color: var(--primary);
      display: inline-block;
      position: relative;
      z-index: 1;
      transition: color .3s;
    }
    #contact-1442 .cs-button-solid:before {
      content: '';
      position: absolute;
      display: block;
      height: 100%;
      width: 0%;
      background: #1a1a1a;
      opacity: 1;
      top: 0;
      left: 0;
      z-index: -1;
      transition: width .3s;
    }
    #contact-1442 .cs-button-solid:hover {
      color: var(--primary);
    }
    #contact-1442 .cs-button-solid:hover:before {
      width: 100%;
    }
    #contact-1442 .cs-submit {
      width: 100%;
      min-width: 12.5rem;
      border: none;
    }
    #contact-1442 .cs-submit:hover {
      color: #fff;
      cursor: pointer;
    }
  }
  /* Tablet - 768px */
  @media only screen and (min-width: 64rem) {
    #contact-1442 .cs-container {
      max-width: 80rem;
      flex-direction: row;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    #contact-1442 .cs-content {
      width: 100%;
      /* prevents flexbox from squishing it */
      flex: none;
    }
    #contact-1442 .cs-contact-group {
      width: 50vw;
      min-height: 100%;
    }
    #contact-1442 .cs-form {
      width: 45%;
      max-width: 33.875rem;
    }
    #contact-1442 .cs-submit {
      width: auto;
    }

    .cs-contact-group iframe {
      min-height: 450px;
    }
  }
                                  