/*
Stylesheet exclusive for Responsive
1600px (83%)
1400px (73%)

Only when necessary
1000px (52%)
*/

@media screen and (max-width: 1600px) {
    .wrap {
        max-width: 1200px;
    }

    h1 {
        font-size: 33px;
        line-height: 42px;
    }

    h2 {
        font-size: 25px;
        line-height: 29px;
    }

    h3 {
        font-size: 21px;
        line-height: 20px;
    }

    .site-content-contain {
        margin-top: 75px;
    }

    .SD_FormGen_form .SD-pretty-upload + label {
        line-height: 33px;
        padding: 0 17px;
        align-self: flex-start;
    }

    button,
    input[type='button'],
    button[type='submit'],
    input[type='submit'] {
        line-height: 33px;
        padding: 0 17px;
    }

    .sd-vacancies-filter-header button,
    .sd-vacancies-filter-header input[type='button'],
    .sd-vacancies-filter-header button[type='submit'],
    .sd-vacancies-filter-header input[type='submit'] {
        line-height: 40px;
    }

    .sd-form .SD-type-pretty_file {
        display: flex;
        flex-direction: column;
    }

    .SD_FormGen_form .SD-label,
    .SD_FormGen_form .SD-pretty-upload-file-restrictions-label{
        margin: 0;
    }

    .main-navigation ul li {
        line-height: 75px;
    }

    .main-navigation ul li:not(:last-child) {
        margin-right: 50px;
    }

    .main-navigation ul ul.sub-menu {
        top: 75px;
        min-width: 249px;
    }

    .wpcf7 .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:before,
    footer .wpcf7 .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:before,
    .sd-form .SD-type-checkbox label:before,
    footer .sd-form .SD-type-checkbox label:before {
        width: 15px;
        height: 15px;
        top: 4px;
    }

    .wpcf7 .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label,
    .sd-form .SD-type-checkbox label {
        padding-left: 5px !important;
    }

    header .wrap,
    header.site-header.fixed,
    header .header-middlebar-wrap-inner {
        height: 75px;
    }

    .header-middlebar-1 {
        padding-left: 40px;
    }

    footer {
        background-size: 415px;
    }

    footer p,
    footer a {
        line-height: 33px;
    }

    .footer-middlebar {
        padding: 91px 0 120px 0;
    }

    footer .logo-container {
        margin-bottom: 11px;
    }

    footer .address-container{
        margin-bottom: 19px;
    }

    .footer-bottombar-1::after {
        top: 1px;
    }

    h3.widget-title {
        margin-bottom: 29px;
    }
}

@media screen and (max-width: 1500px) {
    header .phone-container .sd-block-button a {
        flex-direction: column;
        line-height: 1;
    }
}

@media screen and (max-width: 1410px) {
    .main-navigation ul li:not(:last-child) {
        margin-right: 25px;
    }
}

@media screen and (max-width: 1400px) {
    .wrap {
        max-width: 1000px;
    }

    html, body {
        font-size: 16px;
    }

    h1 {
        font-size: 29px;
        line-height: 37px;
    }

    h2 {
        font-size: 22px;
        line-height: 26px;
    }

    h3 {
        font-size: 18px;
        line-height: 22px;
    }

    h4, h5, h6 {
        font-size: 16px;
        line-height: 22px;
    }

    p {
        font-size: 16px;
        margin: 0 0 22px 0;
        line-height: 22px; /* This should be the same as the margin bottom */
    }

    .site-content-contain {
        margin-top: 66px;
    }

    .SD_FormGen_form .SD-pretty-upload + label {
        font-size: 16px;
        line-height: 29px;
        padding: 0 16px;
    }

    button,
    input[type='button'],
    button[type='submit'],
    input[type='submit'] {
        font-size: 16px;
        line-height: 29px;
        padding: 0 16px;
    }

    .sd-vacancies-filter-header button,
    .sd-vacancies-filter-header input[type='button'],
    .sd-vacancies-filter-header button[type='submit'],
    .sd-vacancies-filter-header input[type='submit'] {
        line-height: 40px;
    }

    .main-navigation ul li {
        line-height: 66px;
    }

    .main-navigation ul ul.sub-menu {
        top: 66px;
        min-width: 219px;
    }

    .main-navigation ul ul.sub-menu li {
        line-height: 22px;
    }

    header .wrap,
    header.site-header.fixed,
    header .header-middlebar-wrap-inner {
        height: 66px;
    }

    .header-middlebar-1 {
        padding-left: 40px;
    }

    .header-middlebar-2 {
        padding-left: 0;
    }

    footer {
        background-size: 365px;
    }

    footer p,
    footer a {
        line-height: 29px;
    }

    .footer-middlebar {
        padding: 80px 0 106px 0;
    }

    footer .logo-container {
        margin-bottom: 11px;
    }

    footer .address-container{
        margin-bottom: 19px;
    }

    h3.widget-title {
        margin-bottom: 26px;
    }
}

@media screen and (max-width: 1000px) {
    .responsive_half_row_width .vc_col-sm-3 {
        width: 50%;
        margin-bottom: 30px;
    }

    .responsive_half_row_width .vc_col-sm-3:nth-child(3),
    .responsive_half_row_width .vc_col-sm-3:nth-child(4) {
        margin-bottom: 0;
    }

    .responsive_half_row_width .vc_col-sm-6 {
        width: 100%;
    }

    .vertical_align_middle {
        /*vertical-align: middle;*/
    }

    .footer-middlebar {
        padding: 57px 0 75px 0;
    }

    .footer-middlebar-1,
    .footer-middlebar-2,
    .footer-middlebar-3,
    .footer-middlebar-4 {
        width: 50%;
    }

    .footer-middlebar-3,
    .footer-middlebar-4 {
        margin-top: 30px;
    }
}

@media screen and (max-width: 1199px) {
    .main-navigation {
        display: none;
    }

    .header-middlebar-3 {
        width: 30%;
    }

    header .phone-container .sd-block-button a {
        flex-direction: unset;
        line-height: unset;
    }

    .SD_FormGen_form .SD-col.SD-type-divider {
        margin-bottom: 0;
    }
}

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

}

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

}

@media screen and (max-width: 767px) {
    .responsive_half_row_width .vc_col-sm-3:nth-child(3),
    .responsive_half_row_width .vc_col-sm-3:nth-child(4) {
        margin-bottom: 30px;
    }

    .mobile_marginbottom-0px {
        margin-bottom: 0;
    }

    .mobile_marginbottom-15px {
        margin-bottom: 15px;
    }

    .mobile_marginbottom-30px {
        margin-bottom: 30px;
    }

    .responsive_half_row_width .vc_col-sm-3 {
        width: 100%;
    }

    #filter-anchor {
        display: none;
    }

    .filter-toggle {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        background-color: #4e0bde;
        z-index: 99;
        font-size: 16px;
        line-height: 40px;
        color: #ffffff;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .SD_FormGen_form .SD-col {
        padding: 0;
    }

    .SD_FormGen_form .SD-col.SD-type-checkbox {
        padding-left: 20px;
    }

    .filter-toggle:hover {
        color: #ffffff;
        background-color: #400782;
        transition: all 0.3s ease;
    }

    .header-middlebar-1 {
        display: flex;
    }

    .header-middlebar-2 {
        width: calc(100% - 300px);
    }

    .header-middlebar-3 {
        width: 90px;
    }

    .widget_sd_widget_logo img {
        height: 40px;
    }

    .footer-middlebar-1,
    .footer-middlebar-2,
    .footer-middlebar-3,
    .footer-middlebar-4 {
        width: 100%;
    }

    .footer-middlebar-2 {
        margin-top: 30px;
    }
}

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

}

@media screen and (max-width: 400px) {
    .header-middlebar-2 {
        width: calc(100% - 200px);
        margin-left: 0;
    }

    .header-middlebar-3 {
        min-width: 80px;
    }
}