@import url('root_custom.css');

@media only screen and (max-width: 1650px) {

    .carousel-caption {
        padding: 20px 30px;
    }

    .carousel-caption h2 {
        font-size: 50px;
    }



}

@media only screen and (max-width: 1440px) {

    .carousel-caption {
        padding: 20px 30px;
    }

    .carousel-caption h2 {
        font-size: 46px;
    }

}

@media only screen and (max-width: 1366px) {

    .carousel-caption h2 {
        font-size: 42px;
    }

    .section-heading>h2,
    .presence-heading>h2 {
        font-size: 50px;
    }

    .sub-footer::before {
        width: 85%;
    }

    footer {
        padding: 0 !important;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
   
    .navbar-nav .nav-item .nav-link{
        margin: 0 10px 0 0 ;
    }
    .searchbar {    
        width: 80%;
    }

    .carousel-caption {
        padding: 20px 20px;
        width: 45%;
        left: 2%;
    }
    
    .carousel-caption h2 {
        font-size: 38px;
    }

    .custom-nav-tabs .nav-item .nav-link>span {
        font-size: 14px;
    }

    .custom-nav-tabs .nav-item .nav-link>h3 {
        font-size: 28px;
    }

    .minister-msg>a {
        min-height: 260px;
        padding: 20px 10px;
    }

    .sub-footer::before {
        width: 100%;
    }

    .section-heading>h2,
    .presence-heading>h2 {
        font-size: 40px;
    }

    .carousel-caption a.mt-5 {
        margin-top: 30px !important;
    }

    .sponsor-section {
        margin-top: 73px;
    }

    .nav-login,
    .navbar-nav.user-nav-dd {
        margin-right: 40px;
    }

}
.mobile_toggler{
    top: 16px !important;
}
.mobile_toggler span span:nth-child(1){
    transform: rotate(45deg);
    margin: -3px 5px 0px 8px !important;
}
.mobile_toggler span span:nth-child(2){
    transform: rotate(133deg);
    margin: -3px 5px 0px 8px !important;
}
.mobile_toggler .navbar-toggler-icon{
    background-image: unset !important;
}
@media only screen and (min-width: 989px){
    .mobile_toggler{
        display: none;
    
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .sub-footer::before {
        width: 100%;
    }

    .side-navbar-nav .dropdown-menu {
        display: none;
    }

    .carousel-caption h2 {
        font-size: 22px;
        line-height: 1.5;
    }

    .carousel-caption a.mt-5 {
        margin-top: 10px !important;
        padding: 8px 20px;
    }

    .carousel-caption {
        width: 50%;
        left: 0%;
    }

    .custom-nav-tabs .nav-item .nav-link>span {
        display: block;
    }

    .custom-nav-tabs .nav-item .nav-link>h3 {
        font-size: 20px;
    }

    .nav-login {
        background: transparent;
    }

}
@media only screen and (max-width: 989px){
 
    .home_gallery_wrap .hg_box h4{
        height: fit-content;
    }
    .wrap {
        display: block !important;
    }
    .wrap .nav{
        width: 100% !important;
    }
    .event_glr-img .main{
        width: 100% !important;
    }
    .searchbar{
        width: 100%;
    }
    .dropdown-item:hover .inner_menu{
        position: unset;
        border: none;
        background-color: #f7f7f7 !important;
    }
    .bai-logo{
        text-align: center !important;
    }

}
@media only screen and (max-width: 767px) {
    /*APP CSS*/
    .mig-login-logo {
        background-color: var(--tm-primary);
        display:none !important;
    }
    .main-footer {
        padding: 50px 0 20px;
         display:none !important;
    }
    
/*APP CSS*/

   .modal .modal-body {
    max-height: 100%; 
    /*overflow-y: auto;*/
}
    #archive img{
        max-width: 75%;
        margin: auto;
    }
    .archive_details-wrap a{
        font-size: 14px !important;
    }
    .custom-btn{
        padding: 7px 15px !important;
    }
    .modal-body .custom-btn{
        padding: 10px 30px !important;
    }
    .bg-member-card{
        padding: 15px;
    }
    .member-card-info{
        padding: 15px;
    }
    .section-heading > h3{
        font-size: 20px !important;
    }
    .custom-nav-tabs .nav-item .nav-link::after{
        display: none !important;
    }
    .ch_name{
        font-size: 14px;
    }
    .co_wrap{
        grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    }
    .member_area .commitee_card button{
        font-size: 16px;
    }
    .member_area .commitee_card .card-body{
        padding: 10px !important;
    }
    .service_list {
        padding-left: 25px;
        margin-bottom: 20px;
    }

    .service_list .number {
        font-size: 18px;
    }

    .service_list span {
        font-size: 14px;
    }

    .service_list .number::after {
        bottom: 6px;
    }

    .List-view-card .CategoryProdc {
        width: 100% !important;
    }

    .ql-box {
        margin-bottom: 10px !important;
    }

    .custom-nav-tabs .nav-item {
        width: 100%;
    }

    .custom-nav-tabs {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
        grid-gap: 0px;
    }

    .section-heading h5 {
        font-size: var(--xxs-font);
    }

    .sub-footer::before {
        width: 100%;
    }

    .nav-login {
        padding: 0;
    }

    .side-navbar-nav .dropdown-menu {
        display: none;
    }

    .carousel-caption h2 {
        font-size: 22px;
        padding: 0 10px;
        line-height: 1.5;
    }

    .carousel-caption a.mt-5 {
        margin-top: 25px !important
    }

    .carousel-caption {
        width: 100%;
        left: 0%;
        text-align: center;
        margin: auto;
        justify-content: center;
        padding: 0 !important;
    }

    .custom-nav-tabs .nav-item .nav-link>span {
        display: block;
    }

    .custom-nav-tabs .nav-item .nav-link>h3 {
        font-size: 20px;
    }

    .custom-nav-tabs .nav-item .nav-link {
        min-height: 0px;
        font-size: 18px;
    }

    .nav-login {
        background: transparent;
    }

    .section-heading>h2,
    .presence-heading>h2 {
        font-size: 24px;
    }
    .sponsor-section {
        margin-top: 25px;
    }

    .minister-msg>a {
        min-height: 255px !important;
        margin-bottom: 20px !important;
    }

    .logo-wrap {
        display: inline-block;
        max-width: 25%;
    }

    header .navbar-dark .navbar-nav.navbar-nav-main .nav-link,
    .navbar-nav.user-nav-dd .nav-link {
        padding: 5px 0;
    }

    .dropdown-menu.custom-dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown:hover .dropdown-menu.custom-dropdown-menu {
        transform: translateY(0);
    }

    button.navbar-toggler {
        color: #000;
        border: 1px solid #000;
        position: absolute;
        right: 0;
        top: 50px;
    }

    ul.navbar-nav.user-nav-dd {
        position: absolute;
        top: 13%;
        right: 15%;
        z-index: 999999;
        overflow: visible;
    }

    .navbar-nav.user-nav-dd .dropdown-menu {
        position: absolute;
        left: unset;
        right: 0;
        border: 1px solid #ddd;
    }

    .custom-dropdown-menu::before {
        display: none;
    }


}
@media only screen and (max-width: 575px) {
    .yt_banner img{
        max-width: 75%;
    }
    .yt_banner{
        display: block !important;
        text-align: center;
    }
    .home_gallery_wrap {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
        grid-gap: 1rem;
    }
    .co_of-img{
        display: block;
    }
    .co_of-img .img-up{
        max-width: 100%;
        margin: 0 0 15px;
    }
    .co_of-img .profile-user-img{
        /* margin: 0 !important; */
    }
    #CompanyGallery .owl-nav .owl-next, #CompanyGallery .owl-nav .owl-prev{
        top: unset !important;
        bottom: 5%;
    }
    .custom-carousel .carousel-item>img {
        height: 300px;
        object-fit: cover;
    }

    .custom-carousel .carousel-item::before {
        width: 70%;
    }

    /* .carousel-caption {width: 70%;left: 0%; padding: 20px;} */
    .custom-nav-tabs .nav-item .nav-link.active>span {}

    .custom-nav-tabs .nav-item .nav-link>span {
        /* min-height: 30px; */
        display: block;
        font-size: 10px;
        align-items: center;
    }

    .custom-nav-tabs .nav-item .nav-link {
        min-height: unset;
        padding: 5px 5px;
    }

    .custom-nav-tabs .nav-item .nav-link>h3 {}

    .ql-box h6 {
        font-size: 12px;
        font-weight: 500;
    }

    .ql-box .learn-more-link {
        font-size: 12px;
    }

    .minister-msg>a {
        min-height: unset;
    }

    .blog-slide {
        margin-bottom: 30px
    }

    .president-info>h5,
    .president-info>span {
        font-size: 15px;
    }

    .president-msg {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-list {
        margin-bottom: 30px
    }

    .footer-social.text-right,
    .sub-footer p.text-center {
        text-align: left !important;
    }

    .member-profile>img {
        height: 60px;
        width: 60px;
    }

    .member-profile.president-img>img {
        width: 100%;
        height: auto !important;
    }

}