/*
Stylesheet exclusive for Responsive
1600px (83%)
1400px (73%)

Only when necessary
1000px (52%)
*/

@media screen and (max-width: 1600px) {
    .wrap {
        max-width: 1400px;
    }

    header .header-middlebar-wrap-inner {
        height: 70px;
    }

    .site-content-contain {
        margin-top: 70px;
    }

    html, body {
        font-size: 15px;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 33px;
    }

    h1 {
        font-size: 33px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 17px;
    }

    h4, h5, h6 {
        font-size: 15px;
    }

    p {
        font-size: 15px;
        margin: 0 0 33px 0;
        line-height: 33px; /* This should be the same as the margin bottom */
    }

    .marginbottom-20px {
        margin-bottom: 17px;
    }

    .marginbottom-40px {
        margin-bottom: 33px;
    }

    .main-navigation ul li:not(:last-child) {
        margin-right: 40px;
    }

    .main-navigation ul li a {
        font-size: 15px;
        line-height: 70px;
    }

    /* Sub Menu */
    .main-navigation ul ul.sub-menu {
        padding: 17px;
        min-width: 200px;
    }

    .main-navigation ul ul.sub-menu li a {
        line-height: 29px;
        padding-left: 15px;
    }

    .main-navigation .menu li.menu-item-has-children .sub-menu .sub-menu {
        left: calc(100% + 17px);
        top: -16px;
    }

    .footer-middlebar {
        padding: 79px 0 125px 0;
    }

    .footer-middlebar ul li {
        line-height: 33px;
        font-size: 16px;
    }
}


@media screen and (max-width: 1400px) and (min-width: 800px) {
    .left-sidebar {
        width: 40%;
    }

    .right-sidebar {
        width: 50%;
    }

}

@media screen and (max-width: 1400px) {
    .wrap {
        max-width: 1200px;
    }

    header .header-middlebar-wrap-inner {
        height: 60px;
    }

    .site-content-contain {
        margin-top: 60px;
    }

    html, body {
        font-size: 14px;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 29px;
    }

    h1 {
        font-size: 29px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 15px;
    }

    h4, h5, h6 {
        font-size: 14px;
    }

    p {
        font-size: 14px;
        margin: 0 0 29px 0;
        line-height: 29px; /* This should be the same as the margin bottom */
    }

    .marginbottom-20px {
        margin-bottom: 15px;
    }

    .marginbottom-40px {
        margin-bottom: 29px;
    }

    .header-middlebar-2 *:not(:last-child),
    .main-navigation ul li:not(:last-child) {
        margin-right: 9px;
    }

    .main-navigation ul li a {
        font-size: 14px;
        line-height: 60px;
    }

    .main-navigation .menu li.menu-item-has-children .sub-menu .sub-menu {
        left: calc(100% + 15px);
        top: -14px;
    }

    /* Sub Menu */
    .main-navigation ul ul.sub-menu {
        padding: 15px;
        min-width: 200px;
    }

    .main-navigation ul ul.sub-menu li a {
        line-height: 26px;
        padding-left: 11px;
    }

    .footer-middlebar {
        padding: 70px 0 110px 0;
    }

    .footer-middlebar ul li {
        line-height: 29px;
        font-size: 16px;
    }
}

@media screen and (max-width: 1000px) {
    .wrap {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1199px) {
    .main-navigation {
        display: none;
    }

    header .header-middlebar-wrap-inner {
        justify-content: space-between;
    }

    .header-middlebar-2 {
        display: none;
    }

    .header-middlebar-3 {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 200px;
    }
}

@media screen and (max-width: 991px) {

}

@media screen and (max-width: 900px) {

}

@media screen and (max-width: 767px) {
    .footer-middlebar-1,
    .footer-middlebar-2,
    .footer-middlebar-3,
    .footer-middlebar-4 {
        margin-bottom: 40px;
    }

    .vc_row-fluid:not(.vc_inner) {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    header .header-middlebar-wrap-inner {
        height: 80px;
    }

    .mobile_marginbottom-0px {
        margin-bottom: 0;
    }

    .mobile_marginbottom-30px {
        margin-bottom: 30px;
    }

    .mobile_marginbottom-60px {
        margin-bottom: 60px;
    }

    #filter-anchor {
        display: none;
    }

    .filter-toggle {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        background-color: #4f4f4f;
        z-index: 99;
        padding: 15px 0;
        color: #ffffff;
        transition: all 0.3s ease;
        font-size: 20px;
        cursor: pointer;
    }

    .filter-toggle:hover {
        color: #ffffff;
        background-color: #393939;
        transition: all 0.3s ease;
    }

    .header-middlebar-1 {
        display: flex;
        height: 50px;
    }

    .widget_sd_widget_logo img {
        height: 40px;
    }
}

@media screen and (max-width: 500px) {

}