/* 
******* :: INDEX OF RESPONSIVE CSS :: *******
:: 1.0 COMMON CSS
:: 2.0 HEADER AREA CSS
:: 3.0 WELCOME AREA CSS
****************************** */


/* ******************************
:: 1.0 COMMON CSS
****************************** */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ptb_180 {
        padding: 130px 0;
    }
    .ptb_150 {
        padding: 100px 0;
    }
    .ptb_100 {
        padding: 70px 0;
    }
}

@media (max-width: 991px) {
    .res-margin {
        margin-bottom: 45px;
    }
    .navbar-dark.navbar-sticky-on .navbar-nav .nav-link {
        color: #253a69;
    }
}

@media (max-width: 767px) {
    .inner-wrapper h1,
    .inner-wrapper h2 {
        font-size: 30px;
    }
    .ptb_180 {
        padding: 130px 0;
    }
    .ptb_150,
    .ptb_100 {
        padding: 50px 0;
    }
}

@media (max-width: 575px) {
    .inner-wrapper h1,
    .inner-wrapper h2 {
        font-size: 24px;
    }
    .avatar-lg {
        height: 4rem;
        width: 4rem;
    }
    .container-fluid {
        padding: 0 3%;
    }
    .ptb_180 {
        padding: 80px 0;
    }
}


/*SECTION HEADING*/

@media (max-width: 991px) {
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 36px;
    }
    .section-heading {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 30px;
        line-height: 1.4;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2em;
        line-height: 1.4;
    }
    h2 {
        font-size: 24px;
        line-height: 1.4;
    }
    h3 {
        font-size: 18px;
        line-height: 1.4;
    }
    p {
        line-height: 26px;
    }
    .headings>h2,
    .section-heading>h2 {
        line-height: 1.5;
    }
    .d-md-575 {
        display: none;
    }
    .d-md-block-575 {
        display: block;
    }
}

@media(min-width: 575px) {
    .btn-below-575 {
        display: none;
    }
}


/* ******************************
:: 2.0 HEADER AREA CSS
****************************** */

/* ******************************
:: 2.0 HEADER AREA CSS
****************************** */
@media(max-width: 1440px) {   

    .navbar-expand-lg .navbar-nav li:last-child {
        /* padding: 16px 7px; */
    }

}
@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link {
        /* padding-top: 1.2rem;
        padding-bottom: 0.875rem; */
        padding: 1.2rem 0.875rem 0.875rem;
    }

    .navbar-sticky-on .navbar-nav .nav-link {
        padding-top: 1.625rem;
        padding-bottom: 1.625rem;
    }
}

@media(min-width: 991px) and (max-width: 1200px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: column;
    }
}

@media (max-width: 1200px) {
    
    
    .navbar.active {
        display: block;
    }

    .navbar.active .navbar-inner {
        right: 0;
        display: block;
    }

    .navbar .navbar-inner {
        right: -100%;
        -webkit-transition: right 0.3s 0.2s;
        transition: right 0.3s 0.2s;
    }

    .navbar .nav-link {
        border-bottom: 1px solid #eee;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    [data-theme=dark] .navbar .nav-link {
        border-bottom: 1px solid #1E2745;
    }

    .navbar.navbar-dark .nav-link {
        color: #253a69;
        text-shadow: none;
    }

    .navbar.navbar-dark .nav-link-btn {
        color: #fff;
        margin-right: 10px;
        text-align: center;
    }

    [data-theme=dark] .navbar.navbar-dark .nav-link {
        color: #f6f8f9;
    }

    .navbar.navbar-dark .nav-link:hover,
    .navbar.navbar-dark .nav-link:focus,
    .navbar.navbar-dark .nav-link.active,
    .navbar.navbar-dark .nav-link.current-menu-item {
        color: #259a64;
        /* text-align: center; */
    }

    [data-theme=dark] .navbar.navbar-dark .nav-link {
        color: #e7eaee;
    }

    [data-theme=dark] .navbar.navbar-dark .nav-link:hover {
        background: #01081f;
    }

    .navbar-inner {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 17rem;
        padding-top: 2.5rem;
        background-color: #fff;
        -webkit-box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.15);
        box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.15);
        border-radius: 0;
        overflow-y: auto;
        z-index: 1050;
        max-width: 290px;
    }

    [data-theme=dark] .navbar-inner {
        background: #151c32;
    }

    .navbar-inner .dropdown-menu:before {
        content: none;
    }

    .navbar-inner .dropdown-menu {
        border: medium none;
        background: none;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        float: none;
        margin: 0;
        padding-top: 0;
        position: static;
    }

    [data-theme=dark] .navbar-inner .dropdown-menu .dropdown-item {
        color: #f6f8f9;
    }

    [data-theme=dark] .navbar-inner .dropdown-menu .dropdown-item:hover {
        background: #01081f;
    }

    .nav-open .main-wrapper {
        -webkit-transform: translate3d(-150px, 0, 0);
        transform: translate3d(-150px, 0, 0);
    }

    /*MOBILE NAVBAR TOGGLER*/
    .navbar-toggler {
        position: absolute !important;
        top: -5px;
        right: 0;
        bottom: auto;
        left: auto;
        border: none;
        height: 100%;
        width: 4.75rem;
        background-image: none;
        border-radius: 0;
        z-index: 1;
        display: inline-block !important;
        transition: none;
    }

    .navbar-inner .navbar-toggler {
        position: absolute;
        height: 2.5rem;
        top: 0;
    }

    .navbar-toggler-icon {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
        background-image: none !important;
    }

    /* .navbar-toggler-icon,
    .navbar-toggler-icon:before,
    .navbar-toggler-icon:after {
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    } */

    .navbar-toggler-icon {
        height: 1.5px;
        width: 50%;
        background: #fff;
        display: inline-block;
    }

    .navbar-dark .navbar-toggler-icon {
        background: #fff;
    }

    .navbar-sticky-on .navbar-toggler-icon {
        background: #fff;
    }

    .navbar-dark .navbar-toggler-icon.active:before,
    .navbar-dark .navbar-toggler-icon.active:after {
        background: #259a64;
    }

    .navbar-toggler-icon:before,
    .navbar-toggler-icon:after {
        content: "";
        background: #fff;
        left: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }

    .navbar-dark .navbar-toggler-icon:before,
    .navbar-dark .navbar-toggler-icon:after {
        background: #fff;
    }

    .navbar-sticky-on .navbar-toggler-icon:before,
    .navbar-sticky-on .navbar-toggler-icon:after {
        background: #fff;
    }

    .navbar-toggler-icon::before {
        top: -0.625rem;
    }

    .navbar-toggler-icon::after {
        top: 0.625rem;
    }

    .navbar-toggler-icon.active {
        background-color: transparent;
        -webkit-transform: scale(0.85) rotate(270deg);
        transform: scale(0.85) rotate(270deg);
        top: 54px;
    }

    .navbar-toggler-icon.active:before {
        top: 0;
        -webkit-transform: scale(0.65) rotate(45deg);
        transform: scale(0.65) rotate(45deg);
    }

    .navbar-toggler-icon.active:after {
        top: 0;
        -webkit-transform: scale(0.65) rotate(-45deg);
        transform: scale(0.65) rotate(-45deg);
    }

    .navbar-nav {
        background: #fff;
    }

    .head-top {
        background: #f3f3f4;
    }
    .head-menu {
        bottom: 30px;
    }

    .navbar-inner nav {
        margin-right: 0px;
    }
    .navbar-sticky .login-btn a, 
    .navbar-sticky .register-btn a{
        position: sticky;
        height: 50px;
        width: 100%;
    }

}

@media (min-width: 1201px) {
    .navbar-sticky-on{
        justify-content: center;
        padding-left: 200px;
        padding-right: 200px;
    }
    
}
@media (min-width: 1200px) {
   
    .mob-head-contact{
        display: none;
    }  
    
}


@media (max-width: 1200px) {
    
    .mob-sticky-logo{
        display: block;
    }
    .navbar-expand-lg .navbar-nav li:last-child{
        background: none;
    }

    .navbar .navbar-nav .nav-link {
        padding: 1rem;
        font-weight: 700;
    }
    .navbar-nav {
        padding-left: 20px;
    }

    .navbar  {
        /* background: transparent; */
    }

    .head-contact{
        display: none !important;
    }
   
        .navbar-dark.navbar-sticky-on .navbar-nav .nav-link {
    color: #253a69;
}
.navbar-dark.navbar-sticky-on .navbar-nav .nav-link {
    color: #253a69;
}
.navbar-dark.navbar-sticky-on .navbar-nav .nav-link:hover, .navbar-dark.navbar-sticky-on .navbar-nav .nav-link:focus, .navbar-dark.navbar-sticky-on .navbar-nav .nav-link.active, .navbar-dark.navbar-sticky-on .navbar-nav .nav-link.current-menu-item {
    color: #253a69;
}
.navbar .navbar-nav .nav-item:hover::after {
    width: 100%;
}

}

@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        padding-left: .6rem;
        padding-right: .6rem;
        text-transform: uppercase;
        font-size: .85rem;
    }
    .navbar-dark.navbar-sticky-on .navbar-nav .nav-link {
        font-size: .85rem;
    }

    .navbar-dark .navbar-nav .nav-link-btn {
        padding: .8rem 1.5rem !important;
        margin-top: 5px;
    }

    .navbar-dark.navbar-sticky-on .navbar-nav .nav-link-btn {
        margin-top: 10px;
    }
}

@media(max-width: 1007px) and (min-width: 992px) {
    .navbar-dark .navbar-brand img {
        max-width: 150px;
    }
}
@media(min-width: 991px) {
    .footer-area .ft-border-right{
        border-right: 1px solid #526948 !important;
        margin-right: 30px;
    }
    
}
@media(max-width: 991px) {

    .navbar.navbar-dark .nav-link-btn {
        color: #fff;
        margin-right: 10px;
        text-align: center;
        background: #f58220;
        margin-top: 10px;
        text-transform: uppercase;
    }

    .navbar.navbar-dark .nav-link-btn:hover {
        color: #fff;
    }

    .navbar-dark .navbar-toggler {
        outline: none;
    }

    .navbar-inner .navbar-toggler {
        outline: none;
    }

    .banner-slide-1, .banner-slide-2, .banner-slide-3, .center-slide-1 {
        height: auto;
        padding: 50px 0;
    }

    
        
}


@media (max-width: 767px) {
    .homepage-1 .navbar-dark .navbar-toggler-icon.active {
        background-color: transparent;
        
    }
}

@media(max-width: 575px) {
    .navbar-expand-lg .navbar-nav li:last-child {
        display: flex;
        align-items: center;
        justify-content: start;
        max-width: inherit;
        margin-left: 0;
        /* padding: 1rem !important; */
    }

    .navbar-expand-lg .navbar-nav li:last-child a {
        /* padding: 0.6rem !important; */
        display: flex;
        align-items: flex-start;
        /* text-align: center; */
    }

    .navbar-expand-lg .navbar-nav li:last-child a img {
        max-width: 20px;
    }

    .navbar-toggler-icon {
        width: 42%;
    }

}

/* ******************************
:: 3.0 WELCOME AREA TO Start CSS
****************************** */
@media(max-width: 1440px) {
    .about-area {
        background-size: 640px 470px;
    }
}
@media(max-width: 1200px) {
    .about-area {
        background-size: 500px 370px;
    }
    .about-content p {
        font-size: 17px;
    }
}

@media(max-width: 991px) {
    .ban-popup-head h1 {
        font-size: 32px;
    }
    .ban-popup-head {
        height: 194px;
        width: 324px;
        background-size: 309px 194px;
    }
    .common-head {
        flex-direction: column;
        align-items: center;
    }
    .about-area .common-head {
        align-items: flex-start;
    }
    .about-area{
        background-image:none;
    }
    .services-area .common-head, .testimonials-area .common-head {
        flex-direction: inherit;
    }
    .footer-contact {
        padding: 50px 20px;
    }
    .foot-modal{
        display: none;
    }
    .advantage-area ul li p {
        min-width: 175px;
    }
}

@media(max-width:767px) {
    .welcome-area {
        height: auto;
        height: 514px;
    }
    .ban-popup-head {
        width: 230px;
        background-size: 230px 150px;
        padding: 30px 20px 0 27px;
    }
    .ban-popup-head h1 {
        font-size: 22px;
    }    
    
    .about-area {
        padding: 20px;
    }
    .common-head {
        font-size: 33px;
    }
    .about-area h3,.testimonials-area h3 {
        font-size: 33px;
    }
    .navbar-dark .navbar-brand img {
        max-width: none;
        max-width: 190px;
    }
    
}

@media(max-width:575px) {
    
    .welcome-area {
        height: auto;
        height: 464px;
    }
    .banner {
        left: -32px;
    }
    .ban-popup-head h1 {
        font-size: 20px;
    }
    .ban-popup-head {
        right: -30px;
        width: 225px;
        background-size: 220px 150px;
        padding: 30px 30px 0 27px;
    }
    .vertical_btn {
        right: -40px;
        padding: 2px 15px 5px;
        font-size: 15px;
    }
    .navbar .navbar-nav .nav-item::after{
        display: none;
    }
    .navbar-toggler-icon.active{
        top: 20px;
    }
    .common-head span {
        padding-left: 0;
    }
    
    .about-content p {
        font-size: 17px;
        text-align: justify;
    }
    .footer-copyright p{
        font-size: 13px;
    }
    .navbar-dark .navbar-brand {
        padding-top: 0;
    }
    /* .navbar{
        position: relative;
    }
    .welcome-area{
        margin-top: -101px;
    } */
    .navbar, .navbar-brand{
        padding-top: 5px;
    }
    #toggle_menu{
        height: auto;
        width: 34px;
    }
    #toggle_menu span{
        height: 2px;
    }
    .navbar-sticky-on #toggle_menu{
        top: 18px;
    }
    .navbar{
        z-index: 99;
    }
}

@media(max-width:440px) {
    
    .welcome-area {
        height: auto;
        height: 400px;
    }
    .ban-popup-head h1 {
        font-size: 17px;
    }
    .ban-popup-head {
        right: -50px;
        width: 200px;
        background-size: 190px 125px;
        padding: 20px 30px 0 27px;
        height: 140px;
    }
    .banner {
        left: -47px;
    }
  
}