/* X-Small devices (portrait phones, less than 576px)
No media query for `xs` since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}

@media (min-width: 1200px) and (max-width: 1400px) {
    .hotline-heading {
        font-size: 12px;
    }
}

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

    .cid-products .mbr-section-title,
    .cid-products .mbr-section-title a {
        font-size: 1.1rem;
    }

    .card-section .grid .card_title {
        font-size: 18px;
    }
}

@media (min-width: 900px) and (max-width: 1040px) {
    .card-help button {
        font-size: 15px;
    }
}



@media (max-width: 1370px) {
    .col-lg-1-half {
        flex: 0 0 auto;
        width: 12.5%;
      }
      
      .col-lg-2-half {
        flex: 0 0 auto;
        width: 20.833333333333%;
      }
      
      .col-lg-3-half {
        flex: 0 0 auto;
        width: 29.166666666667%;
      }
      
      .col-lg-4-half {
        flex: 0 0 auto;
        width: 37.5%;
      }
      
      .col-lg-5-half {
        flex: 0 0 auto;
        width: 45.833333333333%;
      }
      
      .col-lg-6-half {
        flex: 0 0 auto;
        width: 54.166666666667%;
      }
      
      .col-lg-7-half {
        flex: 0 0 auto;
        width: 62.5%;
      }
      
      .col-lg-8-half {
        flex: 0 0 auto;
        width: 70.833333333333%;
      }
      
      .col-lg-9-half {
        flex: 0 0 auto;
        width: 79.166666666667%;
      }
      
      .col-lg-10-half {
        flex: 0 0 auto;
        width: 87.5%;
      }
      
      .col-lg-11-half {
        flex: 0 0 auto;
        width: 95.833333333333%;
      }
    .gov-hotline img {
        width: 82.5%;
        height: auto;
    }
    .person-message .card-header {
        font-size: 15px;
      }
    .news-scroll-heading, .forms-heading {
        font-size: 15px;
    }
}

@media (max-width: 1172px) {
    #mobilescreen .nav-pills .nav-link {
        font-size: 16px;
    }

    #mobilescreen .tab-content {
        padding-top: 45px;
        overflow: scroll;
    }

    .top-nav-scroll {
        overflow-x: auto;
        white-space: nowrap;
    }

    .top-nav-scroll ul {
        display: inline-flex;
        flex-wrap: nowrap;
    }

    .top-nav-scroll li {
        flex: 0 0 auto;
    }
}


@media (max-width: 767px) {



    #main-nav {
        background-color: rgb(49, 91, 15);
        background-image: linear-gradient(141deg, #2c621a 0%, #1b9d1b 51%, #336c20 75%);

    }

    .mbl-banking,
    .ekyc {
        width: 40%;
        margin-right: 0;
        font-size: 12px;
        background-color: transparent;
        background-image: none;
        color: #fff;
        text-align: center;
        border-color: #20e150;
    }

    .home-about {
        margin-top: 50px;
    }

    #mobilescreen {
        height: 185px;
        margin: 0 auto 15px;
    }

    #mobilescreen .tab-content {
        padding-top: 10px;
    }

    #mobilescreen .nav-pills .nav-link {
        font-size: 16px;
        padding: 6px 3px;
    }

    .download {
        width: 155px;
        height: 54px;
        margin-right: 6px;
    }

    .download>img {
        top: 50%;
        left: 6px;
        width: 20%;
    }

    .df {
        top: 10px;
    }

    .dfn {
        top: 23px;
    }

    .df,
    .dfn {
        left: 44px;
    }


}

@media (max-width: 575.98px) {
    #main-nav .small-d {
        padding: 2px;
    }

    #mobilescreen .nav-pills .nav-link {
        font-size: 13px;
    }

    #mobilescreen ul {
        padding: 2px;
    }

    .mbl-banking,
    .ekyc {
        font-size: 11px;
    }

    .download {
        width: 138px;
    }

    .download>img {
        width: 15%;
    }

    .dfn {
        top: 25px;
        font-size: 16px;
    }

    .card-help button {
        font-size: 16px;
    }

    .tab-content>.tab-pane {
        padding: 5px;
    }

}

/* `lg` applies to medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    .services-card img {
        width: 50px;
        margin-top: 23px !important;
    }
}