/*
::
:: Theme Name: Consulto - Consulting Business HTML5 Template
:: Email: Nourramadan144@gmail.com
:: Author URI: https://themeforest.net/user/ar-coder
:: Author: ar-coder
:: Version: 1.0
:: 
*/

/* :: Medium devices */
@media (max-width: 991px){
    /* :: Section Title */
    .sec-title h3{
        margin-bottom: 25px;
    }
    
    /* :: Top Navbar */
    .top-nav-bar{
        display: none;
    }
    
    /* :: Navbar */
    .nav-bar .nav-bar-link{
        display: none;
    }
    .nav-bar .box-content{
        display: block !important;
    }
    .nav-bar .logo{
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .nav-bar .logo .open-nav-bar span{
        width: 30px;
        height: 3px;
        border-radius: 3px;
        background-color: #0B0C26;
        display: block;
    }
    .nav-bar.active .logo .open-nav-bar span{
        background-color: #0B0C26;
    }
    .nav-bar .logo .open-nav-bar:hover span,
    .nav-bar .logo .open-nav-bar.active span{
        background-color: #F71735;
    }
    .nav-bar .logo .open-nav-bar span:nth-of-type(2){
        margin: 5px 0;
    }
    .nav-bar .nav-bar-link.active{
        display: block;
        border-top: 1px solid rgb(34, 34, 34, 0.1);
        max-height: 300px;
        overflow: hidden;
        overflow-y: scroll;
        -webkit-box-shadow: 0 3px 4px rgba(0,0,0,.07);
                box-shadow: 0 3px 4px rgba(0,0,0,.07);
        background-color: #FFF;
    }
    .nav-bar .nav-bar-link > ul > li{
        display: block;
    }
    .nav-bar .nav-bar-link ul li a{
        color: #0B0C26;
        margin: 0;
        padding: 10px;
    }
    .nav-bar .nav-bar-link ul li a:before{
        display: none
    }
    .nav-bar .nav-bar-link > ul ul li a{
        font-weight: 500;
        width: 100%;
    }
    .nav-bar .nav-bar-link ul li.has-menu > a:after{
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        position: absolute;
        right: 10px;
        font-size: 12px;
        width: 25px;
        height: 25px;
        background-color: #F71735;
        color: #FFF;
        text-align: center;
        border-radius: 3px;
        -webkit-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    .nav-bar .nav-bar-link ul li.has-menu > a.active:after{
        -webkit-transform: rotate(-180deg);
            -ms-transform: rotate(-180deg);
                transform: rotate(-180deg);
    }
    .nav-bar .nav-bar-link > ul ul{
        -webkit-transform: unset;
            -ms-transform: unset;
                transform: unset;
        opacity: unset;
        visibility: unset;
        position: unset;
        padding: 0;
        -webkit-box-shadow: none;
                box-shadow: none;
        display: none;
    }
    .nav-bar .nav-bar-link > ul ul.active{
        display: block;
    }
    .nav-bar .icon{
        display: none;
    }
    
    /* :: About */
    .about .img-box{
        margin-top: 50px;
    }
    .about-2 .img-box,
    .about-2 .video-presentation{
        margin-bottom: 50px;
        margin-top: 0;
    }
    .about .img-box img{
        width: 100%
    }
    
    /* :: Quote */
    .quote{
        margin-top: 50px;
    }
    
    /* :: Widget And Pagination */
    .widget:first-of-type{
        margin-top: 50px;
    }
    .pagination.one{
        margin-bottom: 50px;
    }
    
}

/* :: Small devices */
@media (max-width: 768px){
    
    /* :: Header */
    .banner .handline{
        font-size: 48px;
    }
    
}

/* :: Extra small devices */
@media (max-width: 575px){
    
    /* :: Header */
    .banner .handline{
        font-size: 35px;
    }
    
    /* :: About US */
    .about .text-box ul li {
        width: auto;
        float: none;
    }
    
    /* :: Video Presentation */
    .video-presentation{
        background-position: right;
    }
}