#ok-calc-rollets {
    padding:41px 45px 39px;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: 0 4px 13px 0 #00000026;
    display:grid;
    grid-template-columns: 4fr 3fr;
    gap:105px
}
#ok-calc-rollets input::-webkit-outer-spin-button,
#ok-calc-rollets input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
#nd-rollets-measuring .wpcf7-response-output {
    display:none
}
.ok-calc-rollets-top, .rollets-top-header {
    display:none
}
.rollets-left-header {
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    color: #2C2C2C;
    margin-bottom:20px;
    text-transform: uppercase;
}
.rollets-left-colors {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap:15px;
    margin-bottom:30px !important;
}
.ok-calc-rollets-right .rollets-color {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.03em;
    margin-bottom:9px
}
.ok-calc-rollets-right .rollets-color span {
    font-weight: 600;
}
.rollets-left-colors .rollets-color {
    display:flex;
    flex-direction: column;
    gap:4px;
    align-items: center;
    text-decoration: none;
}
.rollets-left-colors a.rollets-color img {
    overflow: hidden;
    padding:1px;
    border: 2px solid #FFFFFF;
    width:100%;
    height:auto
}
.rollets-left-colors a.rollets-color span {
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    color: #2C2C2C;
}
.rollets-left-colors a.rollets-color:hover span, .rollets-left-colors a.rollets-color.active span {
    color:#91C24C
}
.rollets-left-colors a.rollets-color:hover img, .rollets-left-colors a.rollets-color.active img {
    border-color: #91C24C
}
.ok-calc-rollets-right {
    display:flex;
    flex-direction: column;
}
a.rollets-caller {
    display:block;
    width:100%;
    padding:20px;
    background: #C0DC56;
    color:#fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 100%;
    text-align: center;
    margin-top:auto;
    text-decoration: none;
}
.rollets-inputs {
    margin-bottom:30px;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:23px
}
.rollets-inputs label {
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    display:flex;
    flex-direction: column;
    gap:5px;
    color: #232323;
}
.rollets-inputs label input {
    border: 2px solid #DCDCDC;
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    padding:12px 15px;
    color: #181818;
    max-width:298px;
}
a.rollets-caller:hover, a.rollets-caller:focus {
    color:#fff;
    opacity: .8;
}
.rollets-size-picker {
    margin-bottom:57px
}
.rollets-big-image {
    position: relative;
}
.rollets-big-image .rollets-img {
    width:100%;
    height:auto
}
.rollets-height {
    position: absolute;
    left: -37px;
    top: 0;
    height: 100%;
}
.rollets-width {
    position: absolute;
    left: 7px;
    bottom: -42px;
    width: calc(100% - 14px);
}
.rollets-width-field, .rollets-height-field {
    position: absolute;
    box-shadow: 0 4.52px 26.8px 0 rgba(0, 0, 0, 0.14);
    padding:10px 13px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    background:#fff;
    border-radius: 5px;
}
.rollets-width-field span, .rollets-height-field span {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.03em;
    text-align: center;
}
.rollets-width-field div, .rollets-height-field div {
    font-size: 15px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: -0.02em;
    text-align: center;
}
.rollets-width-field {
    left: 50%;
    transform: translateX(-50%);
    bottom:-58px
}
.rollets-height-field {
    top:50%;
    transform: translateY(-50%);
    left: -85px;
}

.rollets-info-inputs {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:15px;
}
.rollets-info-inputs .nd-filter-checkbox label {
    font-size: 15px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: -0.03em;
    white-space: nowrap;
}
.rollets-dop-info {
    margin-bottom:35px
}
.rollets-info, .rollets-dop-info .rollets-caller {
    display:none
}
.rollets-info-inputs > div:last-child label {
    margin-bottom:0
}
.ok-filter-checkbox {
    display: flex;
    flex-wrap: nowrap;
}
.ok-filter-checkbox input[type="checkbox"] {
    position: absolute;
    left: -9999px;
}
.ok-filter-checkbox input[type="checkbox"]:checked + label,
.ok-filter-checkbox input[type="checkbox"]:not(:checked) + label {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    color: #181818;
}
.ok-filter-checkbox input[type="checkbox"]:checked + label:before {
    background-color: #fff;
    border: 1px solid #767676;
}
.ok-filter-checkbox input[type="checkbox"]:checked + label:before,
.ok-filter-checkbox input[type="checkbox"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #767676;
    background-color: #fff;
}
.ok-filter-checkbox input[type="checkbox"]:checked + label:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background-color:#B0D32C;
}
.mobile-part {
    display:none
}

@media(max-width:1199px) {
    #ok-calc-rollets {
        grid-template-columns: 1fr;
        padding:52px 44px 42px;
        gap:0
    }
    .rollets-top-header {
        font-size: 20px;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: -0.02em;
        text-align: center;
        color: #0C0A3E;
        margin-bottom:34px;
        display:block;
    }
    .ok-calc-rollets-right .rollets-top-header {
        margin-bottom:25px
    }
    .rollets-top-block {
        display:grid;
        grid-template-columns: 5fr 3fr;
        gap:15px
    }
    .rollets-top-sizes {
        display:flex;
        flex-direction: column;
        gap:13px
    }
    .rollets-top-sizes label {
        font-size: 15px;
        font-weight: 400;
        line-height: 21px;
        letter-spacing: -0.03em;
        display:grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        white-space: nowrap;
        gap:5px;
        margin-right:auto
    }
    .rollets-top-sizes input {
        border: 1px solid #D4D4D4;
        border-radius: 5px;
        font-size: 16px;
        font-weight: 400;
        line-height: 21px;
        letter-spacing: -0.03em;
        text-align: center;
        /*color: #A6A6A6;*/
        padding:11px;
        width:100%;
    }
    .ok-calc-rollets-right {
        order:3;
        padding:24px 0;
        display:none
    }
    .ok-calc-rollets-left {
        order:2;
    }
    .rollets-color-picker {
        padding-bottom:43px
    }
    .rollets-left-colors {
        margin-bottom:0
    }
    .rollets-size-picker {
        margin-bottom:25px
    }
    .rollets-big-image {
        text-align: center;
        max-width:224px;
        margin:0 auto 9px
    }
    .mobile-part {
        display:block;
        margin-bottom: 60px;
    }
    .rollets-dop-info .rollets-caller {
        display:block
    }
    .rollets-dop-info .rollets-left-header {
        display:block;
    }
    .rollets-info {
        border: 1px dashed #A3A3A3;
        margin-bottom: 47px;
        align-items: center;
        border-radius: 5px;
        padding: 12px;
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 10px;
    }
    .rollets-info-column {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    .rollets-info .rollets-bottom-width-field, .rollets-info .rollets-bottom-height-field {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
        align-items: center;
        color: #151515;
    }
    .rollets-info .rollets-bottom-width-field span, .rollets-info .rollets-bottom-height-field span {
        font-size: 13px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: -0.03em;
        display: flex;
        align-items: center;
        gap: 7px;
        flex-wrap: nowrap;
    }
    .rollets-info .rollets-bottom-width-field div, .rollets-info .rollets-bottom-height-field div {
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: -0.03em;
    }
    .rollets-info .rollets-color {
        margin-left:auto;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: -0.03em;
        color:#C0C0C0;
        text-align: right;
        display:block
    }
    .rollets-info .rollets-color span {
        font-weight: 600;
    }
    .rollets-info .rollets-color img {
        max-width:48px
    }
    .rollets-info .rollets-color-name {
        font-size: 13px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: -0.03em;
        color:#8F8F8F;
        display:flex;
        flex-direction: column;
        margin-left:auto
    }
    .rollets-info .rollets-color-name span:last-child {
        font-weight: 600;
    }
}

@media(max-width:767px) {
    #ok-calc-rollets {
        padding:20px 15px
    }
    .rollets-color-picker {
        overflow:hidden;
        padding:0
    }
    .rollets-left-colors {
        display:flex;
        overflow-x: scroll;
        flex-wrap: nowrap;
        padding-bottom: 15px;
    }
    .rollets-info-inputs{
        grid-template-columns: 1fr;
    }
    .rollets-big-image {
        margin: 0 0 0 auto;
    }
    .rollets-left-colors .rollets-color {
        flex-shrink: 0;
        flex-grow:0;
        max-width:70px
    }

}
