@font-face {
    font-family: GothamPro;
    src: url(https://work.alfalabit.ru/wp-content/themes/sdth/config/fonts/gothampro.ttf);
}

.config {
    background-color: #E7E7E7;
    margin-bottom: 25px;
}

.config .title h3 {
    margin: 25px 0 5px 0;
}

.config .title h4 {
    text-align: center;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.bconfig {
    float: left;
    width: 100%;
    margin-top: 20px;
    position: relative;
    line-height: 1.1;
}

.bconfig * {
    box-sizing: border-box;
}

.bconfig a {
    color: #d98919;
}

.bconfig-selector-1 {
    float: left;
    width: 350px;
    z-index: 1;
    position: relative;
}

.bconfig-constructor {
    float: left;
    width: 519px;
    margin-right: 30px;
    margin-left: 30px;
    height: 762px;
    position: relative;
}

.bconfig-selector-2 {
    float: left;
    width: 350px;
}

.bconfig-selector-1 .bconfig-selection,
.bconfig-selector-2 .bconfig-selection {
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 24px;
    float: left;

}

.bconfig-constructor-button {
    padding-top: 10px;
    width: 100%;
    position: absolute;
    text-align: center;
    bottom: -70px;
    z-index: 101;
}

.bconfig-selector-2 .bconfig-selection {
    margin-bottom: 24px;
}

.bconfig-selector-2 .bconfig-selection-inside {
    margin-bottom: 24px;
}

.bconfig-selector-2 .bconfig-selection-warm {
    margin-top: -5px;
}

.bconfig-selector-1 .bconfig-selection-option,
.bconfig-selector-2 .bconfig-selection-option {
    float: left;
    font-size: 13px;
    text-transform: none;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
}

.w-90px {
    width: 90px !important;
}

.w-48px {
    width: 48px !important;
}

.ml-25px {
    margin-left: 25px !important;
}

.mt-10px {
    margin-top: 10px !important;
}

.bconfig-selector-2 .bconfig-selection-active .bconfig-selection-option {
    border-radius: 100%;
    margin-top: 10px;
    margin-bottom: 0px;
}

.bconfig-selector-1 .bconfig-selection-option-selected img,
.bconfig-selector-2 .bconfig-selection-option-selected img {
    box-shadow:
        0px 0px 0px 2px white, 0 0 0 4px #005da3;
}

.bconfig-selector-1 .bconfig-selection-option>img {
    margin: 10px auto;
    border-radius: 100%;
    cursor: pointer;
}

.bconfig-selector-2 .bconfig-selection-option>img {
    margin: 10px auto;
    border-radius: 100%;
    cursor: pointer;
}

.bconfig-selector-2 .bconfig-selection-options {
    margin: 10px auto;
    border-radius: 100%;
    cursor: pointer;
}

.bconfig-selector-1 input {
    display: none;
}

.bconfig-selector-2 input {
    display: none;
}

.w125 {
    width: 125px;
}

.bconfig-selector-1 .bconfig-selection label:nth-child(2) {
    clear: left;
}

.bconfig-selector-2 .bconfig-selection label:nth-child(2) {
    clear: left;
}

.bconfig-selector-1 label {
    margin-top: 10px;
    float: left;
    font-size: 15px;
    text-transform: none;
    font-weight: normal;
    padding: 3px 0px 3px 30px;
    background: url(../img/radio-off.png) no-repeat 0px 2px;
    cursor: pointer;
}

.bconfig-selector-2 label {
    margin-top: 10px;
    float: left;
    font-size: 15px;
    text-transform: none;
    font-weight: normal;
    padding: 3px 0px 3px 30px;
    background: url(../img/radio-off.png) no-repeat 0px 2px;
    cursor: pointer;
}

.bconfig-selection-warm {
    margin-top: -25px;
}

.bconfig-selection-warm label {
    width: 100%;
}

.bconfig-selector-1 input:checked+label {
    background: url(../img/radio-on.png) no-repeat 0px 2px;
}

.bconfig-selector-2 input:checked+label {
    background: url(../img/radio-on.png) no-repeat 0px 2px;
}

.bconfig-selection-option-more {
    display: block;
    float: right;
    color: #d98919;
    font-size: 12px;
    text-transform: none;
    font-weight: normal;
    margin-right: 40px;
    border-bottom: 1px dashed #cba167;
    cursor: pointer;
}

.bconfig-selection-option-cancel {
    display: inline-block;
    background: #bfbbbb;
    position: relative;
    margin-left: 10px;
    width: 24px;
    height: 24px;
    overflow: hidden;
    padding: 4px 0px 4px 24px;
    border-radius: 100px;
    text-align: left;
    transition: all .5s;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    box-sizing: border-box;
    opacity: .4;
    color: #515151;
}

.bconfig-selection-option-cancel:before {
    position: absolute;
    content: url(../img/circle-xmark.svg);
    background: #d6d6d6;
    color: #b1b1b1;
    font-weight: 600;
    width: 24px;
    height: 24px;
    line-height: 24px;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

.bconfig-selection-option-cancel:hover {
    opacity: .9;
}

.bconfig-lines {
    position: absolute;
    left: 150px;
    top: 5px;
}

.bconfig-selection-inside .bconfig-selection-options,
.bconfig-selection-floor .bconfig-selection-options {
    display: none;
}

.bconfig-selection-inside .bconfig-selection-active,
.bconfig-selection-floor .bconfig-selection-active,
.bconfig-selection-closet .bconfig-selection-active {
    display: block;
}

.bconfig-selection-inside .bconfig-selection-disabled,
.bconfig-selection-floor .bconfig-selection-disabled,
.bconfig-selection-closet .bconfig-selection-disabled {
    filter: saturate(0);
    opacity: .3;
    pointer-events: none;
}

.bconfig-constructor-roof,
.bconfig-constructor-inside,
.bconfig-constructor-floor,
.bconfig-constructor-warm,
.bconfig-constructor-closet,
.bconfig-constructor-windows,
.bconfig-constructor-light,
.bconfig-constructor-parapet,
.bconfig-constructor-heat {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bconfig-price {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    clear: left;
    float: left;
}

.bconfig-price-title {
    float: left;
    font-size: 16px;
    font-weight: 600;
    width: auto;
    text-transform: uppercase;
    line-height: 18px;
}

.bconfig-price-value {
    font-size: 45px;
    font-weight: 600;
    float: right;
    margin-top: -10px;
    color: #db2a42;
}

.bconfig-price-text {
    color: #888;
    clear: left;
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 13px;
    line-height: 14px;
}

.bconfig-price+div {
    margin-top: 20px;
    float: left;
}

#bconfig-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -350px;
    margin-top: 100px;
    width: 500px;
    border: 1px solid #ccc;
    padding: 20px 30px;
    background: white;
    box-shadow: 15px 15px 1px rgba(0, 0, 0, 0.15);
}

.bconfig-selection-option-more:hover {
    border-bottom: 1px solid #d4ae14;
}

.bconfig-selection-label {
    line-height: 24px !important;
}

.bconfig-icon-small>img {
    width: 60px !important;
    height: 60px !important;
}

.floor-grid {
    display: grid;
    grid-template-columns: 140px;
}

.floor-grid-col-1 {
    grid-column: 1;
}

.floor-grid-col-2 {
    grid-column: 2;
}

.closet-colors {
    margin-top: -10px !important;
}

.closet-options { 
    width: 100%;
}

@media screen and (max-width: 768px) {
    .config .title h3 {
        text-align: center !important;
        font-size: 20px !important;
    }

    .config .title h4 {
        font-size: 0.8rem !important;
    }

    .bconfig-selection-warm label {
        width: auto !important;
    }

    .bconfig {
        margin: 0 !important;
    }

    .bconfig-lines {
        display: none;
    }

    .bconfig-constructor {
        width: 100%;
        height: 370px;
        background-size: contain;
        margin: 0;
        position: relative;
        top: -11px;
        left: 0;
        right: 0;
        z-index: 100;
        background-color: #E7E7E7;
        float: none;
    }
    
    .bconfig-constructor-line {
        bottom: -20px;
        left: 0;
        right: 0;
        height: 20px;
        position: absolute;
        background: linear-gradient(#E7E7E7, transparent);
        z-index: 101;
    }

    .bconfig-constructor-roof,
    .bconfig-constructor-inside,
    .bconfig-constructor-floor,
    .bconfig-constructor-warm,
    .bconfig-constructor-shkaf,
    .bconfig-constructor-windows,
    .bconfig-constructor-light,
    .bconfig-constructor-parapet,
    .bconfig-constructor-heat {
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .bconfig-selector-1 {
        width: 100%;
        margin-top: 400px;
    }

    .bconfig-selector-1 .bconfig-selection {
        float: left;
        width: 100%;
    }

    .bconfig-selector-2 .bconfig-selection-inside {
        margin-top: 20px;
        width: 100%;
    }

    .bconfig-selector-2 .bconfig-selection-closet {
        margin-top: 0;
        width: 100%;
    }

    .bconfig-selector-2 .bconfig-selection-floor {
        margin-top: 0;
        width: 100%;
    }

    .bconfig-selector-2 .bconfig-selection-warm {
        margin-top: 0px;
        width: 100%;
    }

    .bconfig-selection-options {
        display: flex;
        justify-content: center;
    }

    .bconfig-selection-label {
        text-align: center;
    }

    .bconfig-selection-category {
        justify-content: center;
    }

    .bconfig-selector-2 {
        width: 100%;
    }

    .bconfig-selection-inputs {
        justify-content: center;
    }

    .bconfig-selection-inside 
    .bconfig-selection-active, 
    .bconfig-selection-floor 
    .bconfig-selection-active {
        display: flex;
    }
}

@media (min-width: 769px) and (max-width: 1400px) {
    .bconfig-constructor {
        width: 50%;
        height: 510px;
        margin: 0;
        background-size: contain;
    }

    .bconfig-selector-1 {
        width: 50%;
        margin: 0;
    }

    .bconfig-selector-2 {
        margin-top: 20px;
        float: none;
    }

    .bconfig-selection {
        margin: 0;
    }

    .bconfig-constructor-roof,
    .bconfig-constructor-inside,
    .bconfig-constructor-floor,
    .bconfig-constructor-warm,
    .bconfig-constructor-shkaf,
    .bconfig-constructor-windows,
    .bconfig-constructor-light,
    .bconfig-constructor-parapet,
    .bconfig-constructor-heat {
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .bconfig-lines {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px)  {
    .container {
        max-width: 720px;
    }
}