

@media (max-width: 1024px) {
    .medium-3 { width: 25%; }
    .medium-4 { width: 33.33333%; }
    .medium-6 { width: 50%; }
    .medium-8 { width: 66.66667%; }
    .medium-9 { width: 75%; }
    .medium-12 { width: 100%; }

    #content_wrapper > .row, 
    #content_wrapper > .row > .subsection {
        display: flex;
        flex-direction: column;
    }

    #content_wrapper > .row::before,
    #content_wrapper > .row::after {
        display: none;
    }

    #content_wrapper > .row > .columns 
    #content_wrapper > .row > .subsection > .columns{
        width: 100%;
        float: none;
    }

    .subsection.productlist > .column,
    .subsection.productlist > .columns, 
    .subsection.customerdata > .column,
    .subsection.customerdata > .columns, 
    #calculator_wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    div.product {
        margin: 0 !important;
    }

    #calculator_wrapper {
        order: -1;
    }

    .customer_data {
        display: flex;
        flex-direction: column;
    }

    div.bubbles .bubbles_container {
        float: none;
        width: auto;
        min-width: 3rem;
        margin-right: 32px;
    }

    div.bubbles form{
        display: flex;
    }
}

@media (max-width: 750px) {
    .subsection.productlist div.prices::after {
        content: "";
        display: block;
        clear: both;
    }

    .subsection.productlist div.prices .accept_btn.button {
        position: static;
        float: left;
        clear: both;
        margin: 20px 0 0;
    }

    .step form {
        padding: 0 !important;
    }

    .white_wrapper > div:first-child {
        padding-left: 0.9375rem !important;
        padding-right: 0.9375rem !important;
    }

    .white_wrapper > .columns {
        padding: 0;
    }

    .data_input > .columns,
    .display-use_billing_address-1 > .columns {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
  
    .forward.button, .backward.button {
        width: 100%;
    }

    .forward.button {
        background: #0b7ed4 url(../elements/arrow_right.png) no-repeat scroll 95% center;
        padding-right: 0;
        padding-left: 0;
    }

    .backward.button {
        padding-left: 0;
        padding-right: 0;
    }

    .left_button,
    .right_button {
        margin: 0;
        padding-right:  0.9375rem;
        padding-left:  0.9375rem;
    }

    div.bubbles .bubbles_container {
        margin-right: 24px;
    }
}


@media (max-width: 640px) {
    .small-3 { width: 25%; }
    .small-4 { width: 33.33333%; }
    .small-6 { width: 50%; }
    .small-8 { width: 66.66667%; }
    .small-9 { width: 75%; }
    .small-12 { width: 100%; }

    .calculator_inner_wrapper {
        padding: 1rem;
    }

    .calculator_inner_wrapper > .column,
    .calculator_inner_wrapper > .columns {
        padding-left: 0;
        padding-right: 0;
    }

    div.product { 
        padding: 1rem !important;
    }

    .product_info.columns, .prices.columns, .details.columns, .details_headline.columns {
        padding: 0;
    }

    .product_info, .prices {
        margin-bottom: 32px !important;
        margin-top: 0 !important;
    }

    .details {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    div.prices > div {
        float: none;
        padding: 5px 0 0;
    }

    div.prices .accept_btn.button {
        width: 100%;
    }
    
    div.bubbles .bubble_button div.bubble {
        border: 4px solid #005ea8;
        line-height: 44px;
    }

    div.bubbles div.bubble {
        border-radius: 48px;
        font-size: 20px;
        height: 48px;
        line-height: 48px;
        width: 48px;
    }

    .hide-for-small {
        display: block !important;
    }

    .left_button,
    .right_button {
        float: none;
        width: 100%;
    }

    div.logo a {
        margin-left: 0;
    }

    .logo img {
        float: none;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    div.ui-datepicker {
        min-width: 0;
        max-width: 100%;
    }

    #ui-datepicker-div {
        min-width: 0;
        max-width: 100%;
    }

}

@media (max-width: 480px) {
    .small-3,
    .small-4,
    .small-6,
    .small-8,
    .small-9 {
        width: 100%;
    }

    div.prop span.prop {
        width: auto;
        display: block;
        padding-bottom: 0;
    }

    div.bubbles form{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    div.bubbles .bubble_button div.bubble {
        border: 2px solid #005ea8;
        line-height: 30px;
    }

    div.bubbles div.bubble {
        border-radius: 32px;
        font-size: 16px;
        height: 32px;
        line-height: 32px;
        width: 32px;
    }

    .label_bubble {
        font-size: 14px;
        font-weight: bold;
    }
}
