/* Minimal Bootstrap grid used by the constructor markup. */

#constructor,
#constructor *,
#constructor *::before,
#constructor *::after {
    box-sizing: border-box;
}

.container,
.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.container::before,
.container::after,
.container-fluid::before,
.container-fluid::after,
.row::before,
.row::after {
    content: " ";
    display: table;
}

.container::after,
.container-fluid::after,
.row::after {
    clear: both;
}

.col-xs-12,
.col-sm-5,
.col-sm-7,
.col-sm-9,
.col-sm-12,
.col-md-3,
.col-md-5,
.col-md-7 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.col-xs-12 {
    float: left;
    width: 100%;
}

@media (min-width: 768px) {
    .col-sm-5,
    .col-sm-7,
    .col-sm-9,
    .col-sm-12 {
        float: left;
    }

    .col-sm-12 {
        width: 100%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-7 {
        width: 58.33333333%;
    }

    .col-sm-5 {
        width: 41.66666667%;
    }
}

@media (min-width: 992px) {
    .col-md-3,
    .col-md-5,
    .col-md-7 {
        float: left;
    }

    .col-md-3 {
        width: 25%;
    }

    .col-md-5 {
        width: 41.66666667%;
    }

    .col-md-7 {
        width: 58.33333333%;
    }
}

/* Local constructor styles extracted from css/main.css. */

.center {
    text-align: center;
}

.white_after {
    position: relative;
}

.white_after::before {
    position: absolute;
    bottom: 0%;
    left: 0;
    content: '';
    width: 50.1%;
    padding-top: 50px;
    background: #fff;
    -ms-transform: skew(0, 2.5deg) translate(0, 50%);
    -webkit-transform: skew(0, 2.5deg) translate(0, 50%);
    -moz-transform: skew(0, 2.5deg) translate(0, 50%);
    -o-transform: skew(0, 2.5deg) translate(0, 50%);
    transform: skew(0, 2.5deg) translate(0, 50%);
    z-index: 9;
}

.white_after::after {
    position: absolute;
    bottom: 0%;
    right: 0;
    content: '';
    width: 50.1%;
    padding-top: 50px;
    background: #fff;
    -ms-transform: skew(0, -2.5deg) translate(0, 50%);
    -webkit-transform: skew(0, -2.5deg) translate(0, 50%);
    -moz-transform: skew(0, -2.5deg) translate(0, 50%);
    -o-transform: skew(0, -2.5deg) translate(0, 50%);
    transform: skew(0, -2.5deg) translate(0, 50%);
    z-index: 9;
}

.constructor {
    margin: 50px auto;
}

#constructor {
    margin: 0 auto;
    background: #fff;
    padding: 120px 0 20px;
}

#constructor .caption {
    margin: 0 auto 70px;
}

#constructor .caption p {
    text-align: center;
    margin: 10px auto 5px;
    font-size: 18px;
}

#constructor .caption h2 {
    font-size: 32px;
    line-height: 1.3;
    text-transform: none;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

#constructor .caption h2 span {
    color: #F5CC00;
    font-weight: 500;
    display: inline-block;
    font-size: 32px;
}

#constructor h3 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .constructor {
        width: 277px;
        height: 352px;
    }

    .constructor .type1 {
        width: 100px;
        height: 53px;
    }

    .constructor .type2 {
        width: 69px;
        height: 19px;
    }

    .constructor .type3 {
        width: 69px;
        height: 17px;
        margin: 1.7px;
    }

    .constructor #size_img {
        position: absolute;
        top: -31px;
        z-index: 1;
        left: 220px;
        width: 490px;
    }

    #characteristic {
        margin: 120px auto 26px;
        font-size: 20px;
        width: 60%;
    }

    .constructor_container .star {
        width: 50%;
        margin: 0 auto;
        font-size: 18px;
    }

    .colors {
        left: 0;
    }

    .layouts {
        left: 0;
    }
}

@media screen and (max-width: 479px) {
    #constr1,
    #constr2 {
        width: 100%;
    }

    #characteristic {
        margin: 50px auto;
        font-size: 14px;
        width: 100%;
    }

    .colors {
        left: 0;
        position: relative;
        margin: 0 auto 50px;
    }

    .layouts {
        left: 0;
        position: relative;
        margin: 150px auto 50px;
    }

    .constructor .block_wrap,
    .constructor .klinker_wrap,
    .constructor .brick_wrap {
        height: 358px;
    }

    .constructor {
        width: 277px;
        height: auto;
    }

    .constructor #size_img {
        display: none;
    }

    .constructor_container .star {
        width: 80%;
    }

    #sizes {
        top: auto;
    }

    .colors div,
    .layouts div {
        max-width: 90%;
        margin: 15px auto 25px;
    }

    .colors img,
    .layouts img {
        margin: 0 0 5px 15px;
    }
}

@media screen and (max-width: 414px) {
    .constructor .price_wrap {
        font-size: 26px;
        margin: 0 auto 10px !important;
    }

    .price_wrap_star {
        margin: 0 auto 100px !important;
        display: block;
    }
}
