@media only screen and (min-width:1550px) {
    .header-single-slider figure,
    .header-single-slider figure img {
        width: 100%;
    }

    .navbar-area {
        padding: 16px 0;
        min-height: 200px !important;
    }
}

@media only screen and (min-width:1350px) {
    .header-single-slider figure,
    .header-single-slider figure img {
        width: 100%;
    }

    .navbar-area {
        min-height: 146px
    }
}

@media only screen and (max-width:1200px) and (min-width:991px) {
    .main-menu ul li a {
        padding: 10px 5px;
    }
    
    .navbar-area {
        -webkit-background-size: 100% 100%;
        background-size: 100% 100%;
    }

    .main-menu ul li.active a:before {
        bottom: 10px;
        right: -4px;
    }

    .main-menu ul li.active a:after {
        top: 8px;
        left: -4px;
    }

    a.book-now {
        margin-left: 10px;
    }
    nav {
        margin: 22px -30px 22px 0;
    }

    .section-header h2:after {
        right: 40px;
    }

    .team-member {
        height: 370px;
    }

    .member-title {
        height: 125px;
    }
}



/* medium Layout 1280px */

@media only screen and (min-width:992px) {
    #subscribe i {
        float: left;
    }
}




/* Tablet Layout: 768px */

@media only screen and (min-width:768px) and (max-width:991px) {
    .features-list-item {
        padding: 26px 15px;
    }
}




/* Mobile Layout: 320px */

@media only screen and (max-width:992px) {

    /* Navbar */
    .navbar-area {
        background: #fff;
        min-height: 0px;
    }

    .header-right-bar {
        text-align: right;
        margin-right: 100px;
    }

    ul li.book-now-btn {
        display: none !important;
    }

    /* Header top */
    .email:after,
    .header-social:after {
        display: none;
    }

    .address,
    .phone {
        padding-left: 0;
    }

    /* Header slider */
    .header-slider .owl-next,
    .header-slider .owl-prev {
        bottom: 26%;
        top: 77%;
    }

    .header-slider .container.inner-content {
        width: 70%;
    }

    .header-slider .container.inner-content.text-right {
        margin-right: 0;
    }

    /* Portfolio */
    .sorting-btn {
        width: 100%;
    }

    .portfolio figure {
        width: 100%;
        overflow: hidden;
    }

    .portfolio figure img {
        width: 100%;
    }

    .portfolio figure a img {
        width: auto;
    }

    /* Team Member */
    .team-member img {
        width: 100%;
    }

    .post-thumbnail img {
        width: 100%;
    }

    .section-header h2:after {
        display: none;
    }
    #subscribe i {
        margin-right: 0 !important;
    }


    .features-list-item:hover {
        margin-top: 0;
        box-shadow: 0px 15px 16px 0px rgba(0, 0, 0, 0.08);
    }

    .header-single-slider figure img {
       /* height: 100%;*/
         height: 250px;
    }
    #features-list {
        margin-top: -1em;
        margin-bottom: 35px;
    }
    .features-list-item {
        padding: 15px 20px;
    }
    .call-out {
        padding: 25px 0px;
    }

    #blog-content article.blog-post:last-child {
        margin-bottom: 40px;
    }

    /* Blog page */
    .post-new-comment,
    ul.meta-info,
    #blog-content .post-content,
    .post-comment-area .media {
        padding: 30px 30px;
    }

    ul.meta-info li {
        margin-bottom: 10px;
    }

    #blog-content ul.meta-info {
        padding: 15px 30px;
    }

    #gallery .load-btn {
        height: 45px;
    }

    .single-blog-area .tag-share {
        padding: 10px 30px;
    }

    #blog-content ul.meta-info li {
        margin-right: 10px;
    }

    .scrollup {
        right: 5px;
        bottom: 5px;
    }
}





/* Wide Mobile Layout: 480px */

@media only screen and (max-width:767px) {
    .header-slider .container.inner-content {
        width: 100%;
        margin-left: 0;
    }

    .header-right-bar {
        text-align: right;
        margin-right: 80px;
    }

    .header-right-bar ul li a {
        padding: 0 4px 0;
    }

    .portfolio .col-lg-6 figure {
        height: 250px;
    }

    .portfolio .col-lg-6 figure img{
        height: 100%;
    }


    #footer-widgets p {
        margin-bottom: 24px;
    }

    .contact-box {
        width: 80%;
    }

    .container.inner-content {
        width: 100%;
        margin-left: 0;
    }

    ul.meta-info,
    #blog-content .post-content {
        padding: 30px 15px;
    }
       #blog-content {
            padding: 0px 0;
        }

    h4.welcome-title a {
        font-size: 29px;
        color: #d21e2b;
        margin-bottom: 10px;
        line-height: 35px;
        display: inline-block;
        /* text-align: center; */
    }
    #certificate-area {
    position: relative;
    height: 275px;
    }
    .certificate-content h5 {
        color: white;
        line-height: 20px;
        text-align: center;
        font-size: 12px;
    }
    .certificate-content {
    position: absolute;
    background-color: #af0000de;
    top: 15%;
    overflow: hidden;
    width: 90%;
    margin: 0px 0%;
    padding: 2%;
    height: 70%;
    text-align: center;
        }
        .certificate-bg {
            background: url(../../assets/img/certificate.jpg);
            height: 100%;
            width: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
        }
    .section-padding-80 {
    padding: 40px 0;
    }
    .header-slider
    {
            margin-top: 20%;
    }
     .header-slider h1
     {
            font-size: 20px;
     }
     .header-slider p
     {
        font-size: 17px;
     }
     .inner-content
     {
        margin-top: 5%;
     }
     .inner-content.text-center h1
     {
        text-align: center;
        font-size: 20px;
        margin-top: 5%;
     }
     .container.inner-content h1 i
        {
           margin-left: 0px;
           margin-top: 0px;
           font-size: 10px;
        }
        .absolute-bg-img,  .absolute-bg-img2
        {
            display: none;
        }
        .header-single-slider .container.inner-content.text-center {
            width: 100%;
            margin-left: auto;
        }
        .video-section {
            background: url(../img/aboutus/aboutus.jpg) no-repeat center / 100%;
            position: relative;
            z-index: 1;
            height: 200px;
            width: 100%;
        }
        #breadcrumb-area h1 {
            font-size: 23px;
        }
        #breadcrumb-area {
            padding: 135px 0 30px;
        }
    .section-header h2:before, .section-header h2:after{
        display: none;
    }
    .mb-5, .my-5 {
        margin-bottom: 1rem!important;
    }
    .features ul li {
        display: flex;
    }
    .get-in-touch {
        padding: 20px;
        padding-right: 20px;
    }
    #features.section-padding-top {
        padding: 40px 0 0;
    }
    .section-header {
        margin-bottom: 40px;
        text-align: center;
    }
    .section-padding {
        padding: 40px 0;
    }
    .footer_about {
        text-align: center;
        width: 100%;
        margin: 0px auto;
    }
    .footer_links ul li {
        display: inline;
        margin: 0px 5px;
    }
    .footer_address_links {
        margin-top: 0px;
        text-align: center;
    }
    #footer-widgets {
        padding: 10px 0;
        color: #fefefe;
    }
    .how-we-work-img {
        padding: 0px;
    }






}

@media only screen and (max-width:400px) {

    .header-right-bar {
        text-align: right;
        margin-right: 60px;
    }

    .header-right-bar ul li a {
        padding: 0 4px 0;
    }
}



