/********** Template RS CSS **********/
@media only screen and (max-width: 767px) {
    /*-- Foreign --*/
    .foreign-area {
        top: 0;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .foreign-area .foreign-slider {
        left: unset;
    }
    .foreign-area .owl-theme .owl-nav {
        /* position: relative;
        left: 0;
        top: 0; */
        display: none;
    }
    /*-- End Foreign --*/
    .service-font-size {
        text-align: justify;
        font-size: 17px;
    }
    .foreign-item img {
        width: auto;
        /*height: 400px;*/
        margin-bottom: 15px;
        border-radius: 5px;
        display: block;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    /*-- Foreign --*/
    .foreign-area {
        top: 0;
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .foreign-area .foreign-slider {
        left: unset;
    }
    .foreign-area .owl-theme .owl-nav {
        /* position: relative;
        left: 0;
        top: 0; */
        display: none;
    }
    /*-- End Foreign --*/
    .service-font-size {
        text-align: justify;
        font-size: 17px;
    }

    .foreign-item img {
        /*height: 400px;*/
        width: auto;
        margin-bottom: 15px;
        border-radius: 5px;
        display: block;
    }

}

@media only screen and (min-width: 1500px) {
    .foreign-area .foreign-slider {
        left: unset;
    }
    .foreign-area .owl-theme .owl-nav {
        /* margin-top: 0;
        position: relative;
        left: 0;
        top: 0;
        right: 0; */
        display: none;
    }
    .foreign-area {
        top: -100px;
    }
    .counter-area {
        padding-bottom: 170px;
    }
    .service-font-size {
        text-align: justify;
        font-size: 17px;
    }
    .foreign-item img {
        width: 75% !important;
        /*height: 400px;*/
        margin-bottom: 15px;
        border-radius: 5px;
        display: block;
    }

}


@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 100%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    /* .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    } */

    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
    
    .foreign-item img {
        width: 75%!important;
        /*width: 800px !important;*/
        /*height: 400px;*/
        width: auto;
        margin-bottom: 15px;
        border-radius: 5px;
        display: block;
    }


}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}



@media (min-width: 1200px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
    .service-font-size {
        text-align: justify;
        font-size: 17px;
    }
    .foreign-item img {
        width: 75%!important;
        /*width: 800px !important;*/
        /*height: 400px;*/
        width: auto;
        margin-bottom: 15px;
        border-radius: 5px;
        display: block;
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }

    .service-font-size {
        text-align: justify;
        font-size: 17px;
    }
    .foreign-item img {
        width: 75%!important;
        /*width: 800px !important;*/
        /*height: 400px;*/
        width: auto;
        margin-bottom: 15px;
        border-radius: 5px;
        display: block;
    }
}