/* @media (min-width:1101) and (max-width:1440px){
.risk_box_inner {
    bottom: 85px !important;
}

.risk_box img {
    bottom: 85px !important;
}

.risk_box p {
    bottom: 122px !important;
}
} */

@media  (max-width:1400px){
      .nav-item {
        margin-right: 27px !important;
    }

        .nav-link {
        font-size: 18px !important;
    }
}

@media (max-width:1200px) and (min-width:990px){

  .swap_image{
    display: none;
  }

  .desktop_view{
    display: block;
  }

    .banner_section {
                height: 350px;
        padding-top: 130px;
        margin-top: 100px;
        margin-bottom: 50px;
        background-size: cover;
    }

        h1 {
        font-size: 34px !important;
        line-height: 35px !important;
    }

        h2 {
        font-size: 34px !important;
        line-height: 35px !important;
    }

        .risk_box_inner {
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120px;
        height: 120px;
    }

        .risk_box img {
        width: 120px;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .risk_box p {
        font-size: 15px;
        line-height: 18px;
        top: 93%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .healthy_banner_section {
        background-image: linear-gradient(0deg, rgba(42, 42, 42, 0) 0.25%, rgba(42, 42, 42, 0.225414) -0.79%, rgba(42, 42, 42, 0.65) 78.17%, rgba(42, 42, 42, 0.89) 100.62%, #2a2a2a 100%), url(../images/healthy_swap.png);
        height: 350px;
        margin-top: 100px;
    }

    .navbar-brand img{
        width:80%;
    }

    .hide_mobile img{
        width: 80%;
    }

    .nav-link {
    font-size: 14px !important;
}

.nav-item {
    margin-right: 23px !important;
}

    .lifestyle_banner_section img {
        margin-top: 100px;
    }

        .patient_video {
        padding: 50px 0px;
        margin-top: 80px !important;
    }

        .faq_banner_section {
        height: 350px;
        margin-top: 100px;
    }

    .about_banner_section {
        height: 350px;
        margin-top: 100px;
        padding-top: 100px;
    }

        .about_banner_section h1 {
        font-size: 34px !important;
        line-height: 35px !important;
    }
}

@media (max-width: 991px) {
  .navbar-brand img {
    width: 80px;
  }

    .banner_section {
                height: 260px;
        padding-top: 45px;
        margin-top: 100px;
        margin-bottom: 50px;
        background-size: cover;
    }

        h1 {
        font-size: 34px !important;
        line-height: 35px !important;
    }

  .mobile_logo {
    display: block !important;
  }
  .hide_mobile {
    display: none !important;
  }

  .navbar-nav {
    margin-top: 20px;
  }

  .nav-link {
    height: 30px;
    margin-top: 10px;
  }

  .about_section {
    padding: 50px 0px;
  }

  .life_style {
    padding: 50px 0px;
  }

  .diet {
    padding: 50px 0px;
  }

  .patient_video {
    padding: 50px 0px;
    margin-top: 80px !important;
  }

  .locate {
    padding: 50px 0px;
  }

  .faq {
    padding: 50px 0px;
  }

  .cta_form {
    padding: 50px 0px;
  }

  .life_style_page {
    padding: 50px 0px;
  }

  .risk_form {
    padding: 50px 0px;
  }

  footer {
    padding: 20px 0px;
  }
  .no_br {
    display: none;
  }
}

@media screen and (max-width:990px) and (min-width:767px){
        .mobile_sun_logo {
        display: unset;
    }

        .banner_section {
                height: 260px;
        padding-top: 45px;
        margin-top: 100px;
        margin-bottom: 50px;
        background-size: cover;
    }

        h1 {
        font-size: 34px !important;
        line-height: 35px !important;
    }

        .risk_box_inner {
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120px;
        height: 120px;
    }

        .risk_box img {
        width: 120px;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .risk_box p {
        font-size: 15px;
        line-height: 18px;
        top: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .about_section img {
        margin-top: 20px;
    }

        .life_style img {
        margin-bottom: 20px;
    }

        .diet img {
        margin-top: 20px;
    }

        .lifestyle_banner_section img {
        margin-top: 100px;
    }

    .swap_image{
    display: none;
  }

  .desktop_view{
    display: block;
  }

    .healthy_banner_section {
        background-image: linear-gradient(0deg, rgba(42, 42, 42, 0) 0.25%, rgba(42, 42, 42, 0.225414) -0.79%, rgba(42, 42, 42, 0.65) 78.17%, rgba(42, 42, 42, 0.89) 100.62%, #2a2a2a 100%), url(../images/healthy_swap.png);
        height: 240px;
        margin-top: 100px;
    }

        h2 {
        font-size: 34px !important;
        line-height: 35px !important;
    }

        .grid_box {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 56px;
    }

        .swap_box {
        width: 100%;
    }

        .faq_banner_section {
        height: 240px;
        margin-top: 100px;
    }

        .about_banner_section {
        background-image: url(../images/risk.jpg);
        height: 240px;
        margin-top: 100px;
        padding-top: 45px;
    }

    .about_banner_section h1 {
        font-size: 34px !important;
        line-height: 35px !important;
    }
}

@media (max-width: 768px) {
  h1 {
    font-size: 34px !important;
    line-height: 35px !important;
  }

  h2 {
    font-size: 34px !important;
    line-height: 35px !important;
  }

  h5 {
    font-size: 22px !important;
    line-height: 35px !important;
  }

  h6 {
    font-size: 18px !important;
    line-height: 35px !important;
  }

  p {
    font-size: 16px;
  }

  .about_banner_section h1 {
    font-size: 34px !important;
    line-height: 35px !important;
  }

  .life_style a p {
    font-size: 17px;
    padding: 5px 25px;
    margin: 0px;
  }

  .diet a p {
    font-size: 17px;
    padding: 5px 25px;
  }

  .global_button a p {
    font-size: 17px;
    padding: 5px 25px;
  }

  .cta_form form button {
    font-size: 17px;
    padding: 5px 25px;
    margin-top: 0px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 16px;
  }

  .cta_form form label {
    font-size: 16px;
    margin-top: 0px;
  }

  .cta_form form input {
    height: 40px;
  }

  .risk_form form label {
    font-size: 16px;
    margin-top: 0px;
  }

  .risk_form form input {
    height: 40px;
  }

  .risk_form form button {
    font-size: 17px;
    padding: 5px 25px;
    margin-top: 0px;
    border: none;
  }

  .locate p {
    margin-top: 0px;
  }

  .arrow img {
    width: 20px;
  }

  .diet img {
    margin-top: 20px;
  }

  .diet p {
    margin-top: 0px;
  }

  .life_style img {
    margin-bottom: 20px;
  }

  .life_style p {
    margin-top: 0px;
  }

  .about_section img {
    margin-top: 20px;
  }

  .about_section p {
    margin-top: 0px;
  }

  .swap_section {
    padding: 50px 0px;
  }

  .mobile_sun_logo {
    display: unset;
  }
}

@media (max-width: 768px) and (min-width: 577px) {
  .lifestyle_banner_section img {
    margin-top: 100px;
  }

  .swap_image{
    display: none;
  }

  .desktop_view{
    display: block;
  }

  .healthy_banner_section {
    background-image: linear-gradient(
        0deg,
        rgba(42, 42, 42, 0) 0.25%,
        rgba(42, 42, 42, 0.225414) -0.79%,
        rgba(42, 42, 42, 0.65) 78.17%,
        rgba(42, 42, 42, 0.89) 100.62%,
        #2a2a2a 100%
      ),
      url("../images/healthy_swap.png");
    height: 240px;
    margin-top: 100px;
  }

  .grid_box {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 56px;
  }

  .swap_box {
    width: 100%;
  }

  .faq_banner_section {
    height: 240px;
    margin-top: 100px;
  }

  .about_banner_section {
    background-image: url("../images/risk.jpg");
    height: 240px;
    margin-top: 100px;
    padding-top: 45px;
  }

  .banner_section {
    height: 240px;
    padding-top: 45px;
    margin-top: 100px;
    margin-bottom: 50px;
  }

  .risk_box_inner {
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
  }

  .risk_box img {
    /* bottom: -38px;
        left: 38%; */
    width: 120px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .risk_box p {
    font-size: 15px;
    line-height: 18px;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 576px) {
  .no_br {
    display: none;
  }

  .main_header {
    padding: 0px;
  }

  .diet img {
    margin-top: 20px;
  }

  .life_style_page img:nth-child(1) {
    margin-top: 30px;
  }

  .life_style_page img:last-child {
    margin-bottom: 0px;
  }

  .grid_box {
    display: block;
  }

  .swap_image{
    display: none;
  }

  .desktop_view{
    display: block;
  }

  .healthy_banner_section {
    height: 200px;
    padding-top: 65px;
    background-image: linear-gradient(
        0deg,
        rgba(42, 42, 42, 0) 0.25%,
        rgba(42, 42, 42, 0.225414) -0.79%,
        rgba(42, 42, 42, 0.65) 78.17%,
        rgba(42, 42, 42, 0.89) 100.62%,
        #2a2a2a 100%
      ),
      url("../images/healthy_swap.png");
    margin-top: 80px;
    background-position: center;
  }

  .faq_banner_section {
    height: 200px;
    margin-top: 80px;
  }

  .swap_box {
    margin-top: 30px !important;
    margin: auto;
  }

  .risk_form img {
    width: 100%;
    height: 100%;
  }

  .about_banner_section {
    height: 200px;
    padding-top: 30px;
    margin-top: 80px;
    background-position: center;
  }

  #height_inches {
    margin-top: 20px;
  }

  .lifestyle_banner_section img {
    /* height: 200px !important;
    object-fit: cover !important; */
    margin-top: 80px;
  }

  .banner_section {
    height: 200px;
    padding-top: 40px;
    background-size: cover;
    margin-top: 80px;
    background-position: center;
  }

  .risk_box img {
    bottom: -38px;
    left: 38%;
    width: 100px;
  }

  .risk_box_inner {
    bottom: -38px;
    left: 38%;
    width: 100px;
    height: 100px;
  }

  .risk_box p {
    font-size: 14px;
    line-height: 18px;
    bottom: -19px;
    left: 41.5%;
  }

  footer p {
    font-size: 14px !important;
    text-align: left !important;
  }

  footer img {
    width: 25px;
  }

  footer ul li {
    margin-left: 0;
    margin-right: 20px;
    margin-top: 10px;
  }

  footer ul {
    float: none;
    display: inline-flex;
    margin: 0px;
  }

  .navbar-toggler {
    padding: 0px !important;
  }

  h1 {
    font-size: 25px !important;
    line-height: 35px !important;
  }

  .about_banner_section h1 {
    font-size: 25px !important;
    line-height: 35px !important;
  }
}
