@media screen and (max-width: 1499px){
    .person-image{ right: 0; }
}
@media screen and (max-width: 1399px){
    .testimonial-slider .testimonial-details p{ line-height: 24px; }
    .testimonial-slider .slick-next{ z-index: 11; }
    .person-image img{ height: 720px; }
}

@media screen and (min-width:1025px){
	.sub-menu-back-btn { display:none !important;}
}
@media (max-width: 1024px){
    .menu-item.open > .sub-menu{left:0 !important; } 
    .header-menu ul li.mobile-link{display: block;}

    .header-side-menu{float:right;}
    .header-side-menu #mobile-nav-button::before{display:none;}
    .header-side-menu #mobile-nav-button{display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 5px;
        background: var(--gradient-bg-horizontal);
        border-radius: 4px;
        overflow: hidden;
    }

    .header-side-menu #main-navigation .main-nav{
        padding-top:50px;
        overflow-y:auto;
        -webkit-transition:right 0.5s;
        transition: left 0.5s;
        width:285px;z-index:99999;
        background: #000;
        /* background: var(--gradient-bg-horizontal); */
        left:-300px;
        position:fixed;
        top:0px;
        bottom:0px;
    }
    .header-side-menu #main-navigation .main-nav > ul{display:block;padding:0;top:0px;position:relative;right:auto;min-width:auto;border-top:none;box-shadow:none;background:transparent;}
    .header-side-menu #main-navigation .main-nav > ul > li{margin:0px;display: block;text-align: left;}
    .header-side-menu #main-navigation.menu-open .main-nav{left:0px;top:0px;padding-left:25px;padding-right:25px;}
    .header-side-menu #main-navigation .main-nav > ul > li > a{font-size:16px;font-weight:normal;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#ffffff;}

    .header-side-menu #main-navigation .main-nav #mob-menu-closed{height:40px;width:40px;position:absolute;top:5px;right:5px;content:"X";font-size:34px;color:#fff;text-align:center;line-height:39px;display:block;cursor:pointer;z-index:99999;}

    .header-side-menu #main-navigation ul li {padding-bottom: 0; margin-bottom: 3px !important; } 
    .header-side-menu #main-navigation ul li:last-child{border: none;}
    .header-side-menu #main-navigation .main-nav > ul > li > a::before, .header-side-menu #main-navigation .main-nav > ul > li > a::after{display:none !important;}
    .header-side-menu #main-navigation .main-nav > ul > li.menu-item-has-children::after{display:none !important;}
    .header-side-menu #main-navigation .main-nav > ul > li.menu-item-has-children a{margin-left:0px;}
    .header-side-menu #main-navigation .main-nav ul > li ul::after{display:none;}
    .header-side-menu #main-navigation .main-nav > ul > li.menu-item-has-children ul li a{
        font-size:12px;
        font-weight:normal;
        font-style:normal;
        font-stretch:normal;
        line-height:normal;
        letter-spacing:normal;
        color:#ffffff;
    }
    .header-side-menu #main-navigation .main-nav ul > li ul li{display:block;text-align:left;margin-left:0px;padding-left: 25px;padding-top:0; padding-bottom:0; margin-bottom:0px !important;}
    .header-side-menu #main-navigation .main-nav > ul > li.menu-item-has-children ul li a{
        margin-left:0px;
        padding: 10px 0;
        font-size: 16px;
    }
    .header-side-menu #main-navigation .main-nav ul > li ul li a{margin-left:0px;padding-left:0px;padding-right:0px;color:#fff !important;background:transparent !important;}
    .header-side-menu #main-navigation .main-nav > ul > li.menu-item-has-children ul li.current-menu-item a{color:#fff; font-weight: 600; }
    .menu-right-button,.header-icons a span{display: none;}

    #main-navigation .main-nav ul li ul.sub-menu{
        position: fixed;
        /* background: var(--gradient-bg-horizontal); */
        background: #000;
        width: 285px;
        top: 0px;
        left: -285px;
        z-index: 9999999;
        -webkit-transition: left 0.5s;
        transition: left 0.5s;
        display: block !important;
        overflow-y:auto;
        height:100vh;
        bottom:0px;
    }

    #main-navigation .main-nav #menu-main-menu li a:after{display:none !important;} 
    #main-navigation .main-nav #menu-main-menu li a{display:block; padding: 8px 0; font-size:18px; color: #fff; /* border-top: 1px solid #fff; */ } 
    #main-navigation .main-nav .menu li .menu_arrow {
        color: #fff;
        cursor: pointer;
        display: inline-block;
        height: 38px;
        line-height: 38px;
        position: absolute;
        right: -30px;
        text-align: center;
        top: -3px;
        width: 40px;
        z-index: 9999;
    } 
    #main-navigation .main-nav .menu li .menu_arrow::after {font-size: 22px; content: "\f105"; font-family: FontAwesome; color: #FFF; } 
    #main-navigation .main-nav .menu li li a::before{display:none;} #main-navigation ul{padding-left:0px;} 
    #main-navigation .main-nav ul li > ul {position: absolute; z-index: 99; width: auto; min-width: 250px; padding: 0; left:0px; top:26px;padding-top:0px !important; } 
    #main-navigation ul li a:hover {background-color: transparent; } .header-search-inner { margin-top:10px; }
    .sub-menu-back-btn {color: #FFF; padding: 8px 25px !important; font-size: 15px; text-transform: uppercase; background-color: #000 !important; font-weight:600; } 
    .sub-menu-back-btn i{margin-right:10px; } 

    .site-navigation .mobilemenu-overlay{position:fixed;top:0px;right:0;bottom:0px;background:rgba(0, 0, 0, 0.6);display:none;box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.6);-webkit-transition:opacity 1s;transition:opacity 1s;left:0;opacity:0;z-index:9999;}
    .site-navigation.menu-open .mobilemenu-overlay{opacity:1;display:block;}


    /* Home Blog */
    .featured-post-image{ height: 340px; }
    .featured-post .featured-post-image img{ width: 100%; height: 100%; max-width: unset; object-fit: cover; }

    /* Testimonial */
    .testimonial-section .slick-slide{ padding: 0 1px; }
    .testimonial-section h2{ font-size: 32px; }

}

@media screen and (max-width:991px){
    .featured-post-image { height: 250px; }
    .featured-post-details { padding: 15px 25px 20px; }

    .testimonial-section{ padding: 50px 0 0; }
    .testimonial-section .col6{ width: 100%; flex: 0 0 100%; max-width: 100%; }
    .auther-info h4{ font-size: 18px; }
    .person-image{ position: relative; text-align: center; margin-top: 20px; }
    .person-image img{ width: 100%; max-width: 500px; height: auto; }
    .testimonial-slider .slick-next{right: -15px;}
    .testimonial-slider .slick-prev{left: -15px;}
    .testimonial{ padding: 0px 15px;}
    .testimonial-section h2{text-align: center;}
    .testimonial-slider .testimonial-details p{ text-align: center;}
    .auther-info h4{text-align: center;}
    .testimonial-section a.btn{
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 300px;
    }
}
@media screen and (max-width: 767px){
    .featured-post{ margin: 15px 0; }

    .our-services-main:after { visibility: visible !important; }
}