.detailConstr {
    padding-top: 2rem;
}

.contructor__title {
    margin-bottom: 1.5rem;
    display: block;
    font-size: 1.5rem;
}

.contructor__product {
    margin-bottom: 1.5rem;
}

.contrItems {
    margin: 0 -0.5rem !important;
}

.contrItems > .col, .contrItems > [class*=col-] {
    padding: 1rem 0.5rem 0;
}

.contrItem {
    padding: 0.75rem .75rem 0;
    border-radius: 0.3125rem;
    border: 1px solid #D9D9D9;
}

.contrItem.product-item {
    border: 1px solid #f4f4f4;
    padding: 1rem;
}

.contrItem.product-item {
}

.contrItem__imgContainer {
    height: 0;
    padding-top: 70%;
    position: relative;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.contrItem._main {
    width: 21rem;
}

.contrItem.product-item .contrItem__imgContainer {
    margin-bottom: 0.5rem;
}

.contrItem__imgFlex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: .5rem;
    left: .5rem;
    right: .5rem;
    bottom: .5rem;
}

.contrItem__img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.contrItem__name {
    line-height: 1;
    max-height: 2.375rem;
    overflow: hidden;
    display: block;
    color: #000 !important;
    height: 2.375rem;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contrItem.product-item .contrItem__name {
    margin-bottom: 0;
}

.contrItem__offer {
    padding: 0.5rem 0rem;
}

.contrItem__offerProp {
    font-size: 0.8125rem;
    color: #6d6d6d;
    line-height: 1;
    margin-bottom: 0.125rem;
}

.contrItem__offerPrice {
    font-size: 1.125rem;
    color: #000;
    line-height: 1rem;
    font-weight: 600;
}

.contrItem__offerPrice._old {
    font-size: 0.75rem;
    color: #656565;
    text-decoration: line-through;
}

.contrItem__offerQ {
    font-size: 1rem;
    color: #fff;
    font-weight: 400;
    background: #D32F23;
    border-radius: 0.3125rem;
    padding: 1px 0.375rem;
    overflow: hidden;
}

.contrItem__offerCol._l {
    padding-right: 0.25rem !important;
}

.contructor__dopBlock {

}

.contructor__dopBlockCont {
    background: #F1F1F1;
    border-radius: 0.3125rem;
    position: relative;
    padding-right: 0.5rem;
}

.contructor__dopBlock .quantity,
.contructor__productAct .quantity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    max-width: 150px;
    margin: 0 auto 0;
    border: 1px solid #DFDFDF;
    background: #DFDFDF;
    width: 4rem;
    border-radius: 0.3125rem;
    height: 2.5rem;
}

.contructor__dopBlock .quantity.hide {
    opacity: 0 !important;
}

.contructor__dopBlock .quantity {
    opacity: 1 !important;
    margin-left: 0.5rem;
}

.contructor__dopBlock .quantity button,
.contructor__productAct .quantity button {
    position: relative;
    display: block;
    min-width: 1.125rem;
    height: 2.5rem;
    border-radius: 0px;
    background-color: transparent;
    color: #444343;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    transition: background 300ms ease, opacity 300ms ease;
    line-height: 2.5rem;
    color: #000;
    font-size: 0.875rem;
    border: none !important;
    padding: 0 6px;
}

.contructor__dopBlock .quantity button:hover,
.contructor__productAct .quantity button:hover {
    background-color: #e6e6e6
}

.contructor__dopBlock .quantity input,
.contructor__productAct .quantity input {
    display: block;
    padding: 0;
    height: 2.375rem;
    border: none;
    border-radius: 0px;
    color: #444343;
    vertical-align: middle;
    text-align: center;
    line-height: 2.5rem;
    transition: border 300ms ease;
    font-size: 0.875rem;
    width: 1.5rem;
    background: #fff !important;
}



.contructor__totalSum {
    font-size: 1.25rem;
    color: #fff;
}

.contructor__totalSum span {
    font-weight: 600;
}

.constructor__btnAdd {
    position: relative;
    padding: .375rem 2rem .375rem 2rem !important;
}



.contructor__product.first {
    display: block !important;
}

.constructor__listSelect {
    padding: 0.125rem !important;
    font-size: 0.875rem !important;
    height: 2.5rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 400 !important;
}

.constructor__listSelect span {
    display: inline-block;
    padding-left: 1.25rem;
    position: relative;
}

.constructor__listSelect span.constructor__listIco {
    display: none !important;
}

.constructor__listSelect span:before {
    content: '+';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: 300;
}

.contructor__dop {
    padding: 0 0 0 1rem !important;
    background: #fff;
}

.contructor__dopBlock {
    margin-bottom: 1rem;
}

.contructor__tableText {
    display: none;
}

.constructor__summary {
    position: relative;
    padding: 1.5rem 2rem;
    border-radius: 0.3125rem;
    overflow: hidden;
    font-size: 1.125rem;
    background: #f1f1f1;
}

.contructor__totalBlock {
    background: #D32F23;
    border-radius: 0.3125rem;
    padding: 1.5rem 2rem;
}

.contructor__productPriceDop {
    color: #444343;
}

.contructor__productPriceDop span {
    color: #e31f24;
    font-weight: bold;
}

.contructor__productSum {
    color: #444343;
    font-weight: 400;
    text-align: right;
}

.contructor__productSum span {
    text-transform: none;
    color: #e31f24;
    font-weight: 600;
}

.detailConstr {
    display: none;
}

.detailConstr .dopPic {
    display: block;
    width: 8.5rem;
    height: 9.5rem;
    margin-right: 0.5rem;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    border: 3px solid transparent;
    border-radius: 0.3125rem;
}

.detailConstr .dopPic .dopEdit {
    display: block;
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: -3px;
    top: -3px;
    border: 1px solid #D9D9D9;
    border-radius: 0.3125rem;
}

.detailConstr .contructor__dopBlockCont .dopDel {
    display: block;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 1.375rem;
    height: 1.375rem;
    z-index: 10;
}

.detailConstr .contructor__dopBlockCont .dopDel:before,
.detailConstr .contructor__dopBlockCont .dopDel:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    right: 50%;
    width: 1rem;
    height: 1px;
    background: #b4b4b4;
}

.detailConstr .contructor__dopBlockCont .dopDel:before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.detailConstr .contructor__dopBlockCont .dopDel:after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.detailConstr .contructor__dopBlockCont .dopDel:hover:before,
.detailConstr .contructor__dopBlockCont .dopDel:hover:after {
    background: #e31f24;
}

.detailConstr .contructor__product {
    display: none;
}

.detailConstr .dopName {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    padding-top: 0.75rem;
}

.detailConstr .dopPrice {
    color: #000000;
    font-size: 1.125rem;
    font-weight: 600;
    height: 1.25rem
}

.detailConstr .dopType {
    color: #959595;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1rem;
    width: 100%;
    line-height: 1;
    margin-top: 1.25rem;
}

.detailConstr .tableEditor {
    color: #828282;
    font-size: 0.8125rem;
    text-align: left;
    display: inline-block;
    position: relative;
    vertical-align: top;
    padding-left: 1.25rem;
}

.detailConstr .tableEditor a {
    color: #e31f24;
}

.detailConstr .tableEditor:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background: url(images/textedit.svg) center center no-repeat;
    background-size: contain;
}


.itemSelector__searchBtn:before {
    content: '';
    display: block;
    width: 1.3125rem;
    height: 1.3125rem;
    background: url(images/icon-search.svg) center center no-repeat;
    background-size: contain;
}


.modal-body .itemContainer__itemBtn {
    margin-left: -15px;
    width: calc(100% + 15px);
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1700px) {
    .constructor__listSelect {
        font-size: 0.75rem !important;
    }
}
@media (max-width: 1650px) {

    .detailConstr .dopPic {
        width: 7.5rem;
    }
    .constructor__listSelect span {
        padding-left: 0.75rem;
    }
}

@media (max-width: 1400px) {
    .detailConstr .dopPic {
        width: 6.5rem;
        height: 7.5rem;
    }
}
@media (max-width: 1310px) and (min-width: 1200px) {
    .constructor__listItem {
        -ms-flex: 0 0 33.333333% !important;
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}
@media (max-width: 1300px) {
    .contrItem._main {
        width: 19rem;
    }
    .detailConstr .dopType {
        padding-top: 0;
    }
}



/*desktops*/
@media (max-width: 1200px) {

}

/*tablets*/
@media (max-width: 991px) {

}

/*phones*/
@media (max-width: 767px) {
    .contructor__dop {
        padding: 1rem 0 0 !important;
    }

    .detailConstr .dopName {
        min-height: 1rem;
        height: auto;
    }

    .contrItem {
        padding: 0.5rem .5rem 0;
    }

    .detailConstr .dopPic {
        width: 4.5rem;
        height: 5.5rem;
        margin-right: 0.875rem;
    }

    .contructor__dopBlock {
        margin-bottom: 1rem;
    }

    .contructor__productAct {
        margin-bottom: 0.5rem;
    }

    .contructor__totalSum {
        padding-bottom: 0.5rem;
    }

    .constructor__btnAdd {
        width: 100%;
    }

    .contructor__productSum {
        text-align: left;
    }

    .detailConstr .dopPic {
        border: 3px solid transparent;
        background-size: contain;
    }

    .contrItem__imgContainer {
        width: 4.5rem;
        height: 5.5rem;
        margin-right: 0.875rem;
        padding: 0;
    }

    .itemSelector .contrItem__imgContainer {
        margin: 0 auto;
    }

    .contrItem._main {
        width: auto;
    }

    .detailConstr .dopPrice {
        margin-bottom: 0.5rem;
    }
    .detailConstr .dopPic {
        width: 6.5rem;
        height: 7.625rem;
    }
    .detailConstr .dopName {
        padding-top: 0.25rem;
    }

    .contructor__title {
        font-size: 1rem;
        line-height: 1.3;
    }
}

