/* home page media query  */
@media screen and (min-width: 1280px) {
  .white-container {
    background-color: #fff;
    border-radius: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 6%;
    margin-right: 6%;
    padding-left: 0%;
    display: flex;
  }
  #askDemo > div > div > form > div > div.width-50 {
    width: 100%;
  }
}

@media only screen and (max-width: 1475px) {
  .header-row {
    padding: 15px 4.33%;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  #askDemo > div > div > form > div > div.width-50 {
    width: 100%;
  }
  .header-row {
    gap: 20px;
  }

  .img-test {
    height: 338px !important;
  }
  #year-select > div > span {
    margin-right: 10px;
    position: relative;
    bottom: 10px;
  }
  body > div:nth-child(7) > div > div.constraint-row.pt-120.flex-2 > div > h3 {
    font-size: 36px !important;
    font-weight: 700;
    line-height: 44px;
  }

  .button-link {
    font-size: 1.15rem;
  }

  .s-body {
    font-size: 14px !important;
    line-height: 1.7;
  }

  .img-box {
    width: 100% !important;
  }

  h2 {
    font-size: 16px;
  }

  .large-body {
    font-size: 18px;
  }

  .page-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
  }

  .pt-24 {
    padding-left: 8.33%;
  }

  #mid-banner {
    padding: 0 8.33% 0 8.33%;
  }

  .page-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 32px;
  }

  .giff {
    width: 80%;
  }

  #actual-gif {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  .gif-box {
    background: transparent !important;
  }

  .constraint-row {
    max-width: 1288px;
  }

  .flexcenter span {
    margin-top: 30px;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
  }

  .head-links {
    gap: 32px;
  }

  .head-left {
    gap: 20px;
  }

  .head-links .head-link {
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-size: 0.75rem;
    color: var(--blue);
    flex: none;
    font-size: 13.6px;
    font-weight: 600;
    text-decoration: none;
    font-family: "Gotham-Book";
  }

  /* .secondary-btn,
    .primary-btn {
        font-size: 0.9rem;
        font-weight: 400;
        line-height: 2rem;


    } */

  #year-select > div > span {
    margin-right: 10px;
    position: relative;
    bottom: 10px;
  }

  .wrapper {
    max-width: 1288px;
    padding-left: 8.33%;
    padding-right: 8.33%;
    position: relative;
    overflow: hidden;
  }

  .xs-body {
    font-size: 12px;
  }

  .section-title {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
  }

  body
    > div:nth-child(7)
    > div
    > div:nth-child(2)
    > div.card-moving-ctn.gap-24.mt-48
    > div:nth-child(1)
    > div
    > div.card-botrow
    > div.card-title,
  body
    > div:nth-child(7)
    > div
    > div:nth-child(2)
    > div.card-moving-ctn.gap-24.mt-48
    > div:nth-child(2)
    > div
    > div.card-botrow
    > div.card-title,
  body
    > div:nth-child(7)
    > div
    > div:nth-child(2)
    > div.card-moving-ctn.gap-24.mt-48
    > div:nth-child(3)
    > div
    > div.card-botrow
    > div.card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
  }

  .card-item {
    height: 620px;
  }

  .footer-link {
    font-size: 16px;
  }

  .footer-subrow {
    align-items: baseline !important;
  }

  #askDemo > div > div > form > div > div.width-50 {
    width: 100%;
  }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
  #year-select > div > span {
    margin-right: 10px;
    position: relative;
    bottom: 10px;
  }
}

/* iPad Air */
@media only screen and (min-device-width: 820px) and (max-device-width: 991px) and (orientation: portrait),
  only screen and (min-device-width: 1112px) and (max-device-width: 1112px) and (orientation: landscape) {
  .giff {
    padding-left: 10%;
  }

  #sources-banner {
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
    height: 728px;
  }

  .layout-img {
    width: 100% !important;
  }

  .flexcol {
    width: 100% !important;
  }

  .head-menu {
    gap: 0px !important;
  }

  #sources-banner .constraint-row {
    display: flex;
    flex-direction: column !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }

  /* hamburger */

  .layout-column {
    display: flex;
    flex-direction: column !important;
  }

  .layout-reversed {
    display: flex;
    flex-direction: column-reverse !important;
  }

  #top-banner > div.header-row.constraint-row {
    display: none;
  }

  .hamburger-right .nav-icon {
    font-size: 22px;
    color: white;
  }

  /* .hamburger-menu {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        align-content: center;
        flex-wrap: nowrap;
        z-index: 9;
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-row {
        display: none !important;
    } */

  #no-access-small-user {
    display: none;
  }

  .card-item {
    height: 650px;
  }
}

/* iPad Mini */
@media only screen and (min-device-width: 768px) and (max-device-width: 768px) and (orientation: portrait),
  only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: landscape) {
  /* .hamburger-menu {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        align-content: center;
        flex-wrap: nowrap;
        z-index: 9;
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .head-menu {
        gap: 0px !important;
    } */

  .header-row {
    display: none !important;
  }

  #no-access-small-user {
    display: none;
  }

  .card-item {
    height: 720px;
  }

  .s-body {
    font-size: 0.875rem;
  }

  .layout-column {
    display: flex;
    flex-direction: column !important;
  }

  .layout-reversed {
    display: flex;
    flex-direction: column-reverse !important;
  }

  .flexcol {
    width: 100% !important;
  }

  .layout-img {
    width: 100% !important;
  }

  #sources-banner {
    height: 728px;
  }

  .large-body {
    font-size: 18px;
    font-weight: 400;
  }

  #no-access-small-user {
    display: none;
  }
}

/* mobile devices */
@media only screen and (max-width: 600px) {
  .card-toprow {
    height: 160px;
  }

  .head-menu {
    gap: 0px !important;
    height: unset !important;
  }

  .items-link,
  .items-link-even {
    padding: 25px;
  }

  .btn-mobile-section {
    margin-bottom: 20px;
  }

  .head-btn {
    font-size: 10.4px;
  }

  .page-title {
    margin-bottom: unset !important;
    font-size: 4rem;
    line-height: normal !important;
    text-align: center;
  }

  .page-subtitle {
    font-size: 1rem;
    margin: 25px 0 25px;
    text-align: center;
    line-height: 1.7 !important;
  }

  .btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-direction: column;
  }

  .giff {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    object-fit: fill;
  }

  #actual-gif {
    width: 90vw;
    overflow: hidden !important;
    padding: 10px;
    margin: 0 20px;
  }

  .gif-box {
    margin: 60px 0 0 0;
    padding: 25px;
    height: auto;
    width: unset !important;
    background: transparent;
  }

  .flexcenter span {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 24px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .logobox {
    display: flex;
    align-items: center;
    justify-content: unset;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 4px 7px rgba(6, 22, 33, 0.13),
      0px 13px 22px rgba(0, 30, 43, 0.12);
    padding: 10px 15px;
    border-radius: 6.13333px;
    height: 55px;
    min-width: 30%;
    overflow: hidden;
  }

  .specialflexrow {
    gap: 20px;
  }

  .layout-column {
    display: flex;
    flex-direction: column !important;
  }

  .layout-reversed {
    display: flex;
    flex-direction: column-reverse !important;
  }

  .large-body {
    font-size: 1rem;
  }

  .layout-img {
    width: 100% !important;
  }

  #sources-banner {
    height: 795px;
    padding-left: 24px;
    padding-right: 24px;
  }

  #mid-banner {
    background: var(--pal-1);
    height: 222px;
    overflow: hidden;
    padding-left: 22px;
    padding-right: 22px;
  }

  .pt-120 {
    padding-top: unset;
  }

  .width-60 {
    width: 100%;
  }

  ._3-grid {
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    grid-template-rows: unset;
    grid-template-columns: unset;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .pb-120 {
    padding-bottom: 40px;
  }

  .card-moving-ctn {
    width: 900%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    transition: transform 900ms ease 0s;
  }

  #askDemo > div > div > h3 {
    text-align: center;
    font-size: 2.25rem !important;
    line-height: 3rem !important;
  }

  .width-50 {
    width: 100%;
  }
  #year-select>div>span {
    margin-right: 10px;
    position: relative;
    bottom: 10px;
}
  .flex-2 {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-direction: column;
  }

  #no-access-small-user {
    display: none;
  }

  .footer-subrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 0 0;
    gap: 10px;
    flex-direction: column-reverse;
  }

  .subfooter.bold {
    font-family: "Gotham-Medium";
    font-size: 1.2rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.25rem;
  }

  .subfooter {
    color: var(--pal-7);
    font-family: "Gotham-Medium";
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.25rem;
  }

  .flex-3 {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-direction: row-reverse;
  }

  .footer-logo {
    width: 99px;
    height: auto;
  }

  .flex-end {
    display: flex;
    justify-content: flex-start;
  }

  .flexcol {
    width: 100% !important;
    gap: 1px;
    margin-top: 15px;
  }

  .title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 95px;
    padding-left: 32px;
    padding-right: 32px;
  }

  #head-logo-box {
    width: 126px;
    height: 43px;
  }

  a.head-btn {
    width: 116px !important;
  }

  .box-layout {
    padding-top: 0px;
  }

  .s-body-text {
    text-align: justify;
  }

  .section-title {
    font-size: 36px;
  }

  .gt-med {
    font-size: 20px !important;
  }

  .button-link {
    font-size: 1rem;
  }

  .card-title {
    font-size: 15px;
  }

  .p2 {
    font-size: 1rem;
  }

  .mt-40 {
    margin-top: 40px;
  }

  .gap-mobile {
    gap: 0 !important;
  }

  .mb-20 {
    margin-top: 20px !important;
  }

  .title-row {
    margin-top: 65px;
  }
}
