/*
Stylesheet exclusive for Responsive
1600px (83%)
1400px (73%)

Only when necessary
1000px (52%)
*/

@media screen and (max-width: 1600px) {
    .wrap {
        max-width: 1400px;
    }

    /* Typography */
    html, body {
        font-size: 16px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 33px;
        line-height: 50px;
    }

    h3 {
        font-size: 25px;
    }

    h4, h5, h6 {
        font-size: 17px;
        line-height: 25px;
    }

    p {
        font-size: 16px;
        margin: 0 0 25px 0;
        line-height: 25px; /* This should be the same as the margin bottom */
    }

    h3.widget-title {
        margin-bottom: 26px;
    }

    .wpcf7 .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label,
    .sd-form .SD-type-checkbox label,
    .wpcf7 .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label a,
    .sd-form .SD-type-checkbox label a {
        font-size: 17px;
    }

    button,
    input[type='button'],
    button[type='submit'],
    input[type='submit'] {
        font-size: 17px;
        line-height: 36px;
        padding: 0 33px;
    }

    /* Header */
    .header-middlebar .header-middlebar-wrap-inner {
        grid-template-columns: 210px 1fr 220px;
    }

    /* Footer */
    .footer-topbar .footer-topbar-wrap-inner {
        grid-template-columns: 1fr 220px;
    }

    .site-footer,
    .site-footer p,
    .site-footer a {
        line-height: 25px;
        font-size: 15px;
    }

    .site-footer .widget_text a strong,
    .site-footer h3.widget-title {
        font-size: 17px;
        line-height: 21px;
    }

    .sd-pagination {
        margin-top: 25px;
    }

    .sd-pagination .page-numbers {
        font-size: 16px;
        margin-right: 17px;
    }

    .sd-pagination .page-numbers.current {
        font-size: 16px;
    }

    .sd-pagination .page-numbers.prev,
    .sd-pagination .page-numbers.next {
        height: 37px;
        width: 42px;
    }

    .wpb_gallery.add-padding .wpb_image_grid .wpb_image_grid_ul img {
        width: 230px;
    }

    .footer-middlebar {
        padding: 50px 0;
    }
}

@media screen and (max-width: 1400px) {

    /* Typography */
    h1 {
        font-size: 37px;
    }

    h2 {
        font-size: 29px;
    }

    h3 {
        font-size: 22px;
    }

    h4, h5, h6 {
        font-size: 15px;
        line-height: 22px;
    }

    p {
        margin: 0 0 22px 0;
        line-height: 22px; /* This should be the same as the margin bottom */
    }

    .wpcf7 .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label,
    .sd-form .SD-type-checkbox label,
    .wpcf7 .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label a,
    .sd-form .SD-type-checkbox label a {
        font-size: 16px;
    }

    button,
    input[type='button'],
    button[type='submit'],
    input[type='submit'] {
        font-size: 16px;
        line-height: 31px;
        padding: 0 23px;
    }

    /* Header */
    .header-middlebar .header-middlebar-wrap-inner {
        grid-template-columns: 140px 1fr 200px;
    }

    /* Footer */
    .footer-topbar .footer-topbar-wrap-inner {
        grid-template-columns: 1fr 195px;
    }

    .site-footer,
    .site-footer p,
    .site-footer a {
        line-height: 22px;
        font-size: 14px;
    }

    .site-footer .widget_text a strong,
    .site-footer h3.widget-title {
        font-size: 15px;
        line-height: 18px;
    }

    .wrap {
        max-width: 1200px;
    }

    .sd-pagination {
        margin-top: 22px;
    }

    .sd-pagination .page-numbers {
        margin-right: 15px;
    }

    .sd-pagination .page-numbers.prev,
    .sd-pagination .page-numbers.next {
        height: 32px;
        width: 37px;
    }

    .footer-middlebar {
        padding: 44px 0;
    }

    .footer-bottombar .legal-menu .menu .menu-item a {
        font-size: 14px;
    }
}

@media screen and (max-width: 1199px) {
    html.menu-open {
        overflow: hidden;
    }

    .main-navigation,
    header .header-middlebar-2 {
        display: none;
    }

    .header-middlebar .header-middlebar-wrap-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottombar .footer-bottombar-wrap-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottombar .legal-menu .menu {
        justify-content: flex-start;
        margin-top: 20px;
    }


    /* Header */
    .header-middlebar .header-middlebar-3 {
        display: flex;
        align-items: center;
        justify-content: right;
    }

    header .widget_sd_widget_menu_toggle {
        display: inline-block;
    }

    .footer-middlebar {
        padding: 30px 0;
    }
}

@media screen and (max-width: 991px) {
    .footer-middlebar .footer-middlebar-wrap-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
    }

    .footer-middlebar-3 {
        grid-column: span 2;
    }
}

@media screen and (max-width: 900px) {

}

@media screen and (max-width: 767px) {
    .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;
    }

    .mobile-img-placement .vc_col-sm-3 {
        width: 50%;
        margin-bottom: 20px;
    }

    .header-middlebar-1 {
        display: flex;
    }

    .widget_sd_widget_logo img {
        height: 40px;
    }

    .footer-topbar {
        padding: 10px 0;
    }

    .footer-topbar .footer-topbar-wrap-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-topbar .footer-topbar-2 {
        margin-top: 10px;
    }

    .footer-middlebar .sitemap .menu {
        margin-bottom: 30px;
    }

    .footer-bottombar {
        padding-top: 15px;
        padding-bottom: 60px;
    }

    .footer-bottombar-2 {
        width: 100%;
    }

    .footer-bottombar .footer-bottombar-wrap-inner {
        display: flex;
        flex-direction: column-reverse;
    }

    .footer-bottombar .legal-menu .menu {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .footer-bottombar .legal-menu .menu li {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .footer-bottombar .legal-menu .menu .menu-item a {
        display: inline-flex;
        align-items: center;
        line-height: 30px;
    }

    .footer-bottombar .legal-menu .menu .menu-item:not(:last-child) a:after {
        content: none;
    }

    .wpb_image_grid .wpb_image_grid_ul .isotope-item,
    .wpb_gallery.add-padding .wpb_image_grid .wpb_image_grid_ul img {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .sd-form .input-col-10,
    .sd-form .input-col-20,
    .sd-form .input-col-30,
    .sd-form .input-col-40,
    .sd-form .input-col-50,
    .sd-form .input-col-60,
    .sd-form .input-col-70,
    .sd-form .input-col-80,
    .sd-form .input-col-90,
    .sd-form .input-col-100,
    .sd-form .input-col-110,
    .sd-form .input-col-120 {
        grid-column: span 12;
    }

    .date-label {
        display: block;
    }

    .sd-form .date-input {
        display: inline-block;
        position: relative;
        -webkit-appearance: none;
        line-height: 40px;
    }

    .footer-middlebar .footer-middlebar-wrap-inner {
        grid-template-columns: 1fr;
    }

    .footer-middlebar-3 {
        grid-column: span 1;
    }
}

@media screen and (max-width: 400px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 26px;
    }
}