/*===================================================
    Desktops, laptops and tablets
=====================================================*/
@media (min-width: 992px) and (max-width: 1920px) {

    /*--------------- Sticky ------------------------*/
    .sticky-header-up header .navbar {
        padding: 0px 0;
        position: fixed;
        background-color: var(--light);
        z-index: 100000;
        top: 0px;
        width: 100%;
        box-shadow: 0px 12px 18px 0px rgba(158,150,158,0.49);
        -webkit-animation: scale-down-ver-top 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation: scale-down-ver-top 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }

    .sticky-header-up .navbar .navbar-brand {
        -webkit-animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .sticky-header-up .navbar .nav-link {
        -webkit-animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .sticky-header-up .navbar .dropdown-menu .dropdown-item {
        -webkit-animation: scale-up-ver-center 0s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-ver-center 0s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .sticky-header-up .navbar .wrap_s {
        -webkit-animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    /*---------------------------------------------------------------------------*/
    .sticky-header-down header .navbar {
        padding: 0px 0;
        position: fixed;
        background-color: transparent;
        z-index: 100000;
        top: 45px;
        width: 100%;
        -webkit-animation: scale-up-ver-top 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-ver-top 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }
    /*--------------------------------------------------------------------------*/


    /*-------------------------------------------------------------------------*/
    .scale-down-ver-top {
        -webkit-animation: scale-down-ver-top 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation: scale-down-ver-top 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }

    /* ----------------------------------------------
    * Generated by Animista 
    * Licensed under FreeBSD License.
    * See http://animista.net/license for more info. 
    * w: http://animista.net, t: @cssanimista
    * ---------------------------------------------- */

    /**
    * ----------------------------------------
    * animation scale-down-ver-top
    * ----------------------------------------
    */
    @-webkit-keyframes scale-down-ver-top {
        0% {
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }

        100% {
            -webkit-transform: scaleY(0.7);
            transform: scaleY(0.7);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }
    }

    @keyframes scale-down-ver-top {
        0% {
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }

        100% {
            -webkit-transform: scaleY(0.7);
            transform: scaleY(0.7);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }
    }


    /*--------------------------------------------------------------------------*/
    .scale-up-ver-center {
        -webkit-animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-ver-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    /* ----------------------------------------------
    * Generated by Animista 
    * Licensed under FreeBSD License.
    * See http://animista.net/license for more info. 
    * w: http://animista.net, t: @cssanimista
    * ---------------------------------------------- */

    /**
    * ----------------------------------------
    * animation scale-up-ver-center
    * ----------------------------------------
    */
    @-webkit-keyframes scale-up-ver-center {
        0% {
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
        }

        100% {
            -webkit-transform: scaleY(1.3);
            transform: scaleY(1.3);
        }
    }

    @keyframes scale-up-ver-center {
        0% {
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
        }

        100% {
            -webkit-transform: scaleY(1.3);
            transform: scaleY(1.3);
        }
    }


    /*---------------------------------------------------------------------------*/
    .scale-up-ver-top {
        -webkit-animation: scale-up-ver-top 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: scale-up-ver-top 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    /* ----------------------------------------------
    * Generated by Animista 
    * Licensed under FreeBSD License.
    * See http://animista.net/license for more info. 
    * w: http://animista.net, t: @cssanimista
    * ---------------------------------------------- */

    /**
    * ----------------------------------------
    * animation scale-up-ver-top
    * ----------------------------------------
    */
    @-webkit-keyframes scale-up-ver-top {
        0% {
            -webkit-transform: scaleY(0.7);
            transform: scaleY(0.7);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }

        100% {
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }
    }

    @keyframes scale-up-ver-top {
        0% {
            -webkit-transform: scaleY(0.7);
            transform: scaleY(0.7);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }

        100% {
            -webkit-transform: scaleY(1);
            transform: scaleY(1);
            -webkit-transform-origin: 100% 0%;
            transform-origin: 100% 0%;
        }
    }


    /*-------------------------------------------------------*/


    /*-----------------------------------------------------
        Nav. bar
    -------------------------------------------------------*/
    .top_nav .navbar {
        height: 100px;
    }

    .sticky-header-up .navbar #navbarSupportedContent ul li a {
        color: #091E3E;
    }

    .sticky-header-up .navbar #navbarSupportedContent ul li a:hover {
        color: #06A3DA;
    }

    .sticky-header-up .navbar .navbar-brand h1 {
        color: #06A3DA;
    }


    /*-----------------------------------------------------
        Carousel 
    -------------------------------------------------------*/
    #carouselExampleInterval {
        position: relative;
        top: -100px;
    }

    .sticky-header-up #carouselExampleInterval {
        top: 0px;
        position: relative;
    }

    .sticky-header-down #carouselExampleInterval {
        top: 0px;
        position: relative;
    }


    /*---------------------------------------------------
        Facts
    ----------------------------------------------------*/
    .facts {
        position: relative;
        top: -100px;
    }

    .sticky-header-up .facts {
        position: relative;
        top: 0px;
    }
    
    .sticky-header-down .facts {
        position: relative;
        top: 0px;
    }

    .facts .shadow_down {
        box-shadow: 0px 12px 18px 0px rgba(158,150,158,0.49);
    }

    .facts .clients {
        margin-top: -75px;
        height: 150px;
    }
    
    .facts .projects {
        margin-top: -75px;
        height: 150px;
    }
    
    .facts .awards { 
        margin-top: -75px;
        height: 150px;
    }


    /*---------------------------------------------------
        About
    ---------------------------------------------------*/
    .about_us {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .about_us {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .about_us {
        position: relative;
        top: 0px;
    }


    /*-------------------------------------------------
        Footer
    --------------------------------------------------*/
    .footer-about {
        margin-bottom: -75px;
    }


    /*===================================================================================
        Pages
    =====================================================================================*/

    /*--------------------------------------------------
        Carousel banner pages
    --------------------------------------------------*/
    #carouselExampleSlidesOnly {
        position: relative;
        top: -100px;
    }

    .sticky-header-up #carouselExampleSlidesOnly {
        top: 0px;
        position: relative;
    }

    .sticky-header-down #carouselExampleSlidesOnly {
        top: 0px;
        position: relative;
    }

    #carouselExampleSlidesOnly .p-2 {
        margin-top: 90px;
    }

    /*--------------------------------------------------
        Service page
    ---------------------------------------------------*/
    .service_page {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .service_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .service_page {
        position: relative;
        top: 0px;
    }

    /*-------------------------------------------------
        Blogs page
    --------------------------------------------------*/
    .blogs_page {
        top: -100px;
        translate: 0px 0px;
    }
    
    .sticky-header-up .blogs_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .blogs_page {
        position: relative;
        top: 0px;
    }

    /*------------------------------------------------
        Pricing page
    ------------------------------------------------*/
    .pricing_page {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .pricing_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .pricing_page {
        position: relative;
        top: 0px;
    } 

    /*-------------------------------------------------
        Features page
    ---------------------------------------------------*/
    .features_page {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .features_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .features_page {
        position: relative;
        top: 0px;
    }

    /*----------------------------------------------------
        Team page
    -----------------------------------------------------*/
    .team_page {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .team_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .team_page {
        position: relative;
        top: 0px;
    }

    /*----------------------------------------------------
        Testimonial page
    -----------------------------------------------------*/
    .testimonial_page {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .testimonial_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .testimonial_page {
        position: relative;
        top: 0px;
    }

    /*----------------------------------------------------
        Quote page
    -----------------------------------------------------*/
    .quote_page {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .quote_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .quote_page {
        position: relative;
        top: 0px;
    }

    /*--------------------------------------------------
        Contact us page
    ---------------------------------------------------*/
    .contact_page {
        top: -100px;
        translate: 0px 0px;
    }

    .sticky-header-up .contact_page {
        position: relative;
        top: 0px;
    }

    .sticky-header-down .contact_page {
        position: relative;
        top: 0px;
    }


}
















/*=====================================================
    Mobile Phones
=======================================================*/
@media (max-width: 991px) {

    /*--------- Top bar -------------------------*/
    #top_bar {
        display: none;
    }

    /*--------- Nav. bar -------------------------*/
    .top_nav .navbar {
        background-color: #EEF9FF;
    }

    header #navbarSupportedContent ul li a {
        font-weight: 600;
        padding: 5px 50px;   
    }

    .navbar .navbar-brand h1 {
        color: #06A3DA;
    }

    .navbar #navbarSupportedContent ul li a {
        color: #091E3E;
    }

    .navbar #navbarSupportedContent .wrap_s {
        padding: 5px 50px;
    }

    /*----- Carousel ---------------------------*/
    #carouselExampleInterval h1 {
        font-weight: 600;
        font-size: 28px;
    }
    
    #carouselExampleInterval h5 {
        font-weight: 400;
        font-size: 14px;
    }
    
    #carouselExampleInterval a {
        font-weight: 300;
        font-size: 14px;
    }


    /*===================================================================
        Pages
    ===================================================================*/

    /*-----------------------------------------------
        Carousel banner pages
    -----------------------------------------------*/
    #carouselExampleSlidesOnly h1 {
        font-size: 30px;
    }

    #carouselExampleSlidesOnly a {
        font-size: 15px;
    }

    #carouselExampleSlidesOnly i {
        font-size: 15px;
    }

    #carouselExampleSlidesOnly .p-2 {
        margin-top: 45px;
    }






}