/* Media Queries
   ========================================================================== */
@media only screen and (max-width: 1168px) {

    header, section, footer, nav {
        width: 100% !important;
    }

    header #nav img, header nav img, header #breadcrumbs div {
        width: 100% !important;
    }

    header, header #nav, header nav {
        height: auto;
    }

    #wrapper {
        width: 100% !important;
    }

    section {
        /* padding: 2vw 2vw 0px; /* non-iframe setting */
    }

    .wrapper_background {
        margin-top: 2vw;
        padding-bottom: 2vw;
    }
}

@media only screen and (max-width: 935px) {
    /* Was 960 for non-iframe */

    #result_column_1, #result_column_2, #result_column_3, #result_column_4, #result_column_5, #result_column_6 {
        margin-bottom: 25px;
    }

    #result_column_2, #result_column_4, #result_column_6 {
        width: calc(100% - 150px);
    }

    #result_column_3, #result_column_5 {
        display: block;
    }

    #result_column_2 .row_header_end, #result_column_4 .row_header_end, #result_column_6 .row_header_end {
        border-right-width: 0px;
    }
}

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

    .p1x {
        width: 30%;
    }

    .p2x {
        width: 60%;
    }

}

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

    .p1x {
        width: 20%;
    }

    .p2x {
        width: calc(80% - 65px);
        padding-bottom: 4vw;
    }

}

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

    .button_division {
        margin-bottom: 2vw;
    }

}

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

    .p1x {
        display: none;
    }

    .p2x {
        width: 100%;
        padding-bottom: 4vw;
    }

}

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

    .button_sector {
        margin-bottom: 2vw;
    }

}