.p-notebooks {
    text-align: left;
}

.p-notebooks__title {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 30px;
    color: #000000;
}

.work-examples-slider-c {
    overflow: hidden;
    clear: both;
}

.work-examples-slider .slick-list {
    margin-left: -12px;
    margin-right: -12px;
}

.work-examples-slider__item-img-container {
    margin: 0 12px;
    cursor: pointer;
    opacity: 1;
    transition: all .3s;
}

.work-examples-slider__item-img-container:hover {
    opacity: 0.7;
}

.work-examples-slider__item-img {
    height: 170px;
    width: auto;
}

.modal-workexamples {
    display: none;
    position: fixed;
    overflow: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.modal-workexamples * {
    box-sizing: border-box;
}

.modal-workexamples.active {
    display: flex;
}

.modal-workexamples__inner {
    max-width: 100%;
    width: 1114px;
    background: #fff;
    padding: 75px 85px 85px 80px;
    position: relative;
}

.modal-workexamples__close-btn {
    outline: none;
    display: block;
    position: absolute;
    border: none;
    background: url('/bitrix/templates/main_1410/img/icon/closek.png') center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
    cursor: pointer;
    transition: all .3s;
    opacity: 1;
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
}

.modal-workexamples__close-btn:hover {
    opacity: 0.7;
}



.modal-workexamples__slider-c {
    position: relative;
}

.modal-workexamples__slider-item-c {
    height: 450px;
    display: flex;
}

.modal-workexamples__slider-item-l {
    flex: 0 0 auto;
    width: 255px;
    margin-right: 23px;
    background: #E7E7E7;
}

.modal-workexamples__slider-item-r {
    flex: 1;
    min-width: 0;
    /* background: #E7E7E7; */
}

.modal-workexamples__slider-item-main-img-container {
    position: relative;
    height: 100%;
}

.modal-workexamples__slider-item-main-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.modal-workexamples__slider-item-sub-img-wrap-templ-1 {
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-workexamples__slider-item-sub-img-container-templ-1 {
    height: 193px;
    width: 100%;
    margin-bottom: 24px;
}

.modal-workexamples__slider-item-sub-img-container-templ-1:last-child {
    margin-bottom: 0;
}

.modal-workexamples__slider-item-sub-img-templ-1 {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.modal-workexamples__slider-item-sub-img-wrap-templ-2 {
    height: 100%;
    padding: 22px 33px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-workexamples__slider-item-sub-img-container-templ-2 {
    margin-bottom: 18px;
}

.modal-workexamples__slider-item-sub-img-container-templ-2:last-child {
    margin-bottom: 0;
}

.modal-workexamples__slider-item-sub-img-cols-templ-2 {
    display: flex;
}

.modal-workexamples__slider-item-sub-img-col-templ-2 {
    flex: 0 0 auto;
    margin-right: 20px;
}

.modal-workexamples__slider-item-sub-img-templ-2 {
    object-fit: contain;
    width: 100%;
    height: 100%;
}






.modal-workexamples__slider .slick-arrow {
    display: block;
    outline: none;
    position: absolute;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: transparent;
    font-size: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    right: 100%;
    margin-right: 15px;
}

.modal-workexamples__slider .slick-arrow:before {
    position: absolute;
    display: block;
    content: "";
    border: 2px solid rgba(0,0,0,0.7);
    border-top: none;
    border-right: none;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-25%, -50%) rotate(45deg);
}

.modal-workexamples__slider .slick-arrow.slick-next {
    right: auto;
    margin-right: 0;
    margin-left: 15px;
    left: 100%;
}

.modal-workexamples__slider .slick-arrow.slick-next:before {
    transform: translate(-75%, -50%) rotate(-135deg);
}

.modal-workexamples__slider .slick-dots {
    position: absolute;
    top: 100%;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    left: 0;
    right: 0;
    padding-left: 0;
    margin-bottom: 0;
}

.modal-workexamples__slider .slick-dots li {
    margin: 10px;
}

.modal-workexamples__slider .slick-dots button {
    display: block;
    outline: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: transparent;
    font-size: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E7E7E7;
}

.modal-workexamples__slider .slick-dots .slick-active button {
    background: #BDBDBD;
}



.p-notebooks-calc {
    margin-bottom: 40px;
    box-sizing: border-box;
}

.p-notebooks-calc * {
    box-sizing: border-box;
}

.field-hidden-by-default {
    display: none !important;
}

.p-notebooks-calc__cols {
    display: flex;
    flex-wrap: wrap;
    margin: 0
}

.p-notebooks-calc__col {
    flex: 0 0 auto;
}

.p-notebooks-calc__col-l {
    flex: 0 0 auto;
    width: 485px;
    margin-right: 120px;
}

.p-notebooks-calc__col-r {
    flex: 0 0 auto;
    width: 515px;
}

.p-notebooks-calc__col-r .p-notebooks-calc__input-row-title {
    width: 190px;
}

.p-notebooks-calc__input-row {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.p-notebooks-calc__input-row_block {
    display: block;
}

.p-notebooks-calc__input-row:last-child {
    margin-bottom: 0;
}

.p-notebooks-calc__input-group {
    padding-left: 45px;
    position: relative;
    margin-bottom: 20px;
}

.p-notebooks-calc__input-group:last-child {
    margin-bottom: 0;
}

.p-notebooks-calc__input-group:before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 30px;
    bottom: 0;
    width: 10px;
    border: 1px solid #939393;
    border-right: none;
}

.p-notebooks-calc__input-group-title {
    position: absolute;
    color: #939393;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 18px;
    transform: translate(-50%, -50%) rotate(-90deg);
    top: 50%;
    left: 7px;
    transform-origin: center;
}

.p-notebooks-calc__input-row-title {
    padding-right: 10px;
    flex: 0 0 auto;
    width: 90px;
    font-size: 14px;
    line-height: 18px;
}

.p-notebooks-calc__select {
    width: 100%;
    padding-left: 15px;
    padding-right: 45px;
    flex: 1;
    min-width: 0;
}

.p-notebooks-calc__input {
    padding: 0 15px;
    margin: 0;
    width: 100px;
    max-width: 100%;
    height: 40px;
    background: #fff;
    border: 0.5px solid #626365;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 14px;
    line-height: 18px;
}

.p-notebooks-calc__input-row-subtitle {
    margin-left: 15px;
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 18px;
}

.p-notebooks-calc__subinfo-title {
    font-size: 14px;
    line-height: 15px;
    margin-bottom: 3px;;
}

.p-notebooks-calc__subinfo-desc {
    font-size: 14px;
    line-height: 15px;
    color: #878787;
}

label.p-notebooks-calc__checkbox-label {
    cursor: pointer;
    display: block;
    margin: 0;
    width: auto;
    font-style: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    color: inherit;
    border: none;
    padding-bottom: 0 !important;
}

.p-notebooks-calc__checkbox-text {
    position: relative;
    display: block;
    padding-left: 30px;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    text-align: left;
}

.p-notebooks-calc__checkbox-text:before {
    position: absolute;
    display: block;
    content: "";
    top: 1px;
    left: 0;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid #C4C4C4;
}

.p-notebooks-calc__checkbox-text:after {
    position: absolute;
    display: block;
    content: "";
    left: 3px;
    top: 4px;
    width: 9px;
    height: 5px;
    border-radius: 1px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    opacity: 0;
    transition: all .3s;
}

.p-notebooks-calc__checkbox-input:checked + .p-notebooks-calc__checkbox-text:before {
    border-color: transparent;
    background: #8353D8;
}

.p-notebooks-calc__checkbox-input:checked + .p-notebooks-calc__checkbox-text:after {
    opacity: 1;
}

.p-notebooks-calc__total-row {
    margin-top: 27px;
    display: flex;
    align-items: center;
}

.p-notebooks-calc__total-row-item {
    display: flex;
    align-items: center;
    margin-right: 50px;
}

.p-notebooks-calc__total-row-item-title {
    font-weight: 600;
    font-size: 25px;
    line-height: 32px;
    color: #000000;
    margin-right: 5px;
}

.p-notebooks-calc__total-row-item b {
    font-weight: 600;
    font-size: 23px;
    line-height: 32px;
    color: #8353D8;
    margin-right: 3px;
}

.p-notebooks-calc__total-subtitle {
    font-weight: 600;
    font-size: 25px;
    line-height: 32px;
    color: #8353D8;
    margin-right: 4px;
}

.p-notebooks-calc__total-subtitle.active {
    display: block;
}

.p-notebooks-calc__total-row-item .rub {
    font-weight: 600;
    font-size: 23px;
    line-height: 32px;
    color: #8353D8;
    padding-top: 2px !important;
}

.p-notebooks-calc-sbm-btn {
    opacity: 1;
    transition: all .3s;
}

.p-notebooks-calc-sbm-btn:hover {
    opacity: .7;
}



@media (max-width: 1199px) {
    .p-notebooks-calc__col-l {
        margin-right: 30px;
    }

    .p-notebooks-calc__col-r {
        width: 445px;
    }
}

@media (max-width: 1139px) {
    .modal-workexamples__inner {
        padding: 75px 65px 85px 65px;
        width: 768px;
    }

    .modal-workexamples__slider .slick-arrow {
        margin-right: 5px;
    }

    .modal-workexamples__slider .slick-arrow.slick-next {
        margin-left: 5px;
    }

    .modal-workexamples__slider-item-sub-img-col-templ-2 {
        flex: 1;
        width: 50%;
        margin-right: 10px;
    }

    .modal-workexamples__slider-item-sub-img-col-templ-2:last-child {
        margin-right: 0;
    }

    .modal-workexamples__slider-item-sub-img-container-templ-2 {
        margin-bottom: 10px;
    }

    .modal-workexamples__slider-item-sub-img-wrap-templ-2 {
        padding: 15px;
    }

    .modal-workexamples__slider-item-c {
        height: 310px;
    }

    .modal-workexamples__slider-item-l {
        width: 160px;
        margin-right: 15px;
    }

    .modal-workexamples__slider-item-sub-img-container-templ-1 {
        height: 123px;
    }
}

@media (max-width: 991px){
    .p-notebooks-calc__col-l {
        margin-right: 0;
        width: 100%;
        margin-bottom: 60px;
    }

    .p-notebooks-calc__col-r {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .p-notebooks {
        padding-top: 0;
    }

    .p-notebooks-head {
        display: none !important;
    }

    .p-notebooks__title {
        display: none;
    }

    .work-examples-slider__item-img-container {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .work-examples-slider__item-img {
        flex: 0 0 auto;
        height: 150px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .work-examples-slider .slick-list {
        margin-left: 0;
        margin-right: 0;
    }

    .p-notebooks-bot {
        margin-left: 0;
        width: 100%;
    }

    .work-examples-slider-c {
        position: relative;
        padding: 0 35px;
    }

    .work-examples-slider .slick-arrow {
        display: block;
        outline: none;
        position: absolute;
        border: none;
        background: none;
        padding: 0;
        cursor: pointer;
        color: transparent;
        font-size: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        right: 100%;
        margin-right: 10px;
    }

    .work-examples-slider .slick-arrow:before {
        position: absolute;
        display: block;
        content: "";
        border: 1px solid rgba(0,0,0,0.7);
        border-top: none;
        border-right: none;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 15px;
        transform: translate(-25%, -50%) rotate(45deg);
    }

    .work-examples-slider .slick-arrow.slick-next {
        right: auto;
        margin-right: 0;
        margin-left: 10px;
        left: 100%;
    }

    .work-examples-slider .slick-arrow.slick-next:before {
        transform: translate(-75%, -50%) rotate(-135deg);
    }

    .modal-workexamples__inner {
        width: 100%;
        padding: 40px 15px 15px;
        background: none;
    }

    .modal-workexamples__close-btn {
        top: 5px;
        right: 15px;
        background-color: #fff;
        border-radius: 50%;
        background-size: 50%;
        width: 30px;
        height: 30px;
    }

    .modal-workexamples__slider-item-l,
    .modal-workexamples__slider .slick-dots {
        display: none;
    }

    .modal-workexamples__slider-item-r {
        flex: 0 0 auto;
        width: 100%;
    }

    .modal-workexamples__slider-item-c {
        height: auto;
    }




    .p-notebooks-calc {
        padding-top: 30px;
    }

    .p-notebooks-calc__input-group {
        padding-left: 0;
    }

    .p-notebooks-calc__input-group:before {
        display: none;
    }

    .p-notebooks-calc__input-group-title {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
        margin-bottom: 25px;
    }

    .p-notebooks-calc__col-r .p-notebooks-calc__input-row-title {
        width: 90px;
    }

    .p-notebooks-calc__select {
        border-radius: 5px;
        padding-left: 10px;
        padding-right: 25px;
    }

    .p-notebooks-calc__input {
        padding: 0 10px;
    }

    .p-notebooks-calc__input-row_block {
        display: flex;
    }

    .p-notebooks-calc__subinfo-title {
        margin-bottom: 0;
        margin-right: 3px;
    }

    .p-notebooks-calc__total-row {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .p-notebooks-calc__total-row-item {
        margin-right: 0;
    }

    .p-notebooks-calc__total-row-item-title {
        margin-top: 0;
        margin-bottom: 0;
    }
}
