/* //////////////////////////////////////// */
/* JOBS PAGE  */
/* //////////////////////////////////////// */

/* //////////////////////////////////////// */
/* BELOW 1040px */
@media (max-width: 65em) {
  .jobs-description {
    width: 80%;
  }

  /* JOB LISTSINGS */
  .jobs-pagination-container {
    display: flex;
    justify-content: center;
    margin: 50px;
  }

  table {
    width: 60vw;
    border-collapse: collapse;
  }

  td {
    padding: 20px 0px 30px 20px;
  }

  .jobs-apply {
    margin: 0 auto;
    display: block;
    width: fit-content;
    text-align: center;

    margin-right: 10px;
  }

  /* //// */
  /* CONTACT FORM */
  /* //// */
  .cta {
    /* 3/5 = 60% + 2/5 = 40% */
    grid-template-columns: 3fr 2fr;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }

  .section-cta {
    width: 90%;
  }
}

/* //////////////////////////////////////// */
/* BELOW 960px */
@media (max-width: 60em) {
  .logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .jobs-pagination-container {
    display: flex;
    justify-content: center;
    margin: 50px;
    flex-wrap: wrap;
  }

  table {
    width: 100%;
    border-collapse: collapse;
  }

  td {
    padding: 20px 0px 30px 20px;
  }

  .jobs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .job-title {
    margin-bottom: 10px;
    word-break: break-word;
    max-width: calc(100% - 50px);
  }

  .jobs-apply {
    margin-top: 20px;
    text-align: center;
    width: 100%;
    order: 1;
    margin-left: -10px;
    /* padding-left: 10px; */
  }
}

/* //////////////////////////////////////// */
/* BELOW 752px */
@media (max-width: 47em) {
  .cta {
    grid-template-columns: 1fr;
  }
  .cta-text-box {
    padding: 3.2rem;
  }

  .cta-img-box {
    height: 32rem;
    grid-row: 1;
  }
  select {
    height: 50px;
    border-radius: 4px;
  }

  .btn--form {
    height: 60%;
  }
}

/* //////////////////////////////////////// */
/* OVERVIEW PAGE  */
/* //////////////////////////////////////// */

/* //////////////////////////////////////// */
/* BELOW 1280px */
@media (max-width: 80em) {
  .video-gallery {
    padding-bottom: 50px;
  }
}

/* //////////////////////////////////////// */
/* BELOW 960px */
@media (max-width: 60em) {
  .footer {
    background-color: #000;
    padding: 5rem 0;
  }

  .logo-footer {
    height: 100px;
    margin-bottom: 5px;
  }

  .grid--footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
  }

  .contact-col {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-icons-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 10px;
  }

  .social-icon {
    color: #dd1e27;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    transition-duration: 0.25s, 0.25s;
    transition-timing-function: ease-out, ease-out;
    transition-delay: 0s, 0s;
  }

  .social-icon:hover {
    color: #d94850;
  }

  a {
    text-decoration: none;
  }

  .footer-heading {
    font-size: 26px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
  }

  .address {
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
  }

  .footer-link {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
  }

  .footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* //////////////////////////////////////// */
/* BELOW 872px */
@media (max-width: 54.5em) {
  .video-gallery-header {
    font-size: 7vw;
  }
  .benefits-header {
    font-size: 7vw;
  }
  .offerings-header {
    font-size: 7vw;
  }
  .photo-gallery-header {
    font-size: 7vw;
  }
  .poster-gallery-header {
    font-size: 7vw;
  }
  .photo-gallery {
    padding-bottom: 50px;
  }
}

/* //////////////////////////////////////// */
/* BELOW 688px */
@media (max-width: 43em) {
  body {
    margin: 0;
    padding: 0;
  }

  .master-head {
    flex-direction: column;
    align-items: center;
    padding: 0rem 4rem 0rem 4rem;
  }

  .logo {
    /* height: 9rem; */
  }

  .btn-apply {
    width: 100vw;
    text-align: center;
    margin: 0;
    padding: 1.2rem 0;
    box-sizing: border-box;
    margin-bottom: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .nav {
    margin: 0;
    margin-top: 0;
  }

  .nav-list {
    margin: 0;
    padding: 0;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 1.2rem;
    font-size: 0.9em;
    color: #b8d8e7;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0.025em;
    font-weight: 700;
    font-style: normal;
    line-height: 1;

    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    transition: color 0.25s ease-out, color 0.25s ease-out;
    transition-duration: 0.25s, 0.25s;
    transition-timing-function: ease-out, ease-out;
    transition-delay: 0s, 0s;
  }

  /* HERO SECTION */
  .btn-hero {
    padding: 0.5em 0.5em;
    font-size: 1rem;
  }

  /* POSTER SECTION */
  .pdf-preview {
    width: 70%;
  }
  .poster-section-container {
    flex-direction: column;
    align-items: center;
  }
  .btn-poster-section {
    font-size: 0.5rem;
    width: 150px;
    padding: 20px 0px 20px 0px;
  }
  .btn-work-section {
    font-size: 1rem;
    /* width: 150px; */
    padding: 1.2em 1.2em;
  }
  .btn-community {
    font-size: 1rem;
    /* width: 150px; */
    padding: 1.2em 1.2em;
  }
}

/* //////////////////////////////////////// */
/* BELOW 640px */
@media (max-width: 40em) {
  .grid {
    display: grid;
    column-gap: 4rem;
    row-gap: 4rem;
  }

  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }

  .offerings-header {
    font-family: "Open Sans", sans-serif;
    display: flex;
    justify-content: center;
    padding-top: 5%;
    margin-bottom: 60px;
  }

  .icon {
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* //////////////////////////////////////// */
/* BELOW 368px */
@media (max-width: 23em) {
  .grid {
    display: grid;
    column-gap: 4rem;
    row-gap: 4rem;
  }

  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }

  .offerings-header {
    font-size: 8vw;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
    font-weight: bold;
    display: flex;
    justify-content: center;
    padding-top: 5%;
    margin-bottom: 60px;
  }

  .icon {
    color: #007aff;
    width: 3.2rem;
    height: 3.2rem;
  }

  .what-we-offer-section {
    padding-bottom: 10px;
  }

  .photo-gallery {
    padding-bottom: 10px;
  }

  .copyright {
    text-align: center;
    color: #fff;
  }

  .logo-footer {
    margin: 0 auto;
    display: block;
  }
}

/* FOOTER SECTION */
/* //////////////////////////////////////// */
/* BELOW 520px */
@media (max-width: 32.5em) {
  .logo-footer {
    /* width: 80vw; */
    height: auto;
  }
  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

/* //////////////////////////////////////// */
/* BELOW 432px */
@media (max-width: 27em) {
  .logo-footer {
    /* width: 80vw; */
  }
  .logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .job-title {
    font-size: 1em;
  }
}
