

/* Start:/local/components/cloverit/calculator.fence/templates/.default/style.css?168372572551385*/
:root {
    --active-block-type-1-text-color: #1B469A;
    --active-block-type-1-border-color: #1B469A;

    --active-block-type-2-bg-color: #1B469A;

    --label-active-bg-color: #1B469A;
    --label-done-bg-color: #606060;

    /*--active-button-type-1-bg-color: #606060;*/
    --active-button-type-1-bg-color: #1B469A;

    --active-button-type-2-text-color: #606060;
    --active-button-type-2-icon-filter: invert(40%) sepia(0%) saturate(1%) hue-rotate(166deg) brightness(91%) contrast(92%);

    --regular-button-type-3-bg-color: #1B469A;
    --active-button-type-3-bg-color: #606060;
    --active-button-type-3-box-shadow: 0px 2px 6px rgba(21, 21, 21, 0.4);
}

@media (min-width: 576px) {
    body .modal-alert {
        right: 0;
        left: unset;
        top: unset;
        bottom: 0;
    }
}
.attention {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    color: red;
    font-size: 10px;
    transition: .3s;
    background: #fff;
    box-shadow: 0 2px 10px rgba(27, 70, 154, 0.1);
    padding: 3px 5px;
    bottom: 100%;
    right: 0;
    width: max-content;
    z-index: 1;
    border-radius: 3px;
}
.attention.vis {
    opacity: 1;
    visibility: visible;
}
.roof-tab-inputs {
    margin-top: 10px;
}
.roof-calc{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    background: #ECEDEF;
    /*box-shadow: inset 0px 2px 10px rgba(27, 70, 154, 0.1);*/
    -webkit-box-shadow: 0px 2px 10px rgba(27, 70, 154, 0.1);
    box-shadow: 0px 2px 10px rgba(27, 70, 154, 0.1);
    -webkit-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.roof-calc-top{
    width: 58%;
    -webkit-box-shadow: inset 0px 2px 10px rgba(27, 70, 154, 0.1);
    box-shadow: inset 0px 2px 10px rgba(27, 70, 154, 0.1);
    position: relative;
}

.roof-calc-main{
    width: 42%;
    background: #FFFFFF;
    /*box-shadow: inset 0px 2px 10px rgba(27, 70, 154, 0.1);*/
    -webkit-border-radius: 0px 0px 10px 0px;
    border-radius: 0px 0px 10px 0px;
}

.roof-calc-tabs{
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.roof-tab.active[data-step="2"] .roof-tab-inner{
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #1B469A #E5E5E5;
    margin-bottom: -44px;
    padding-bottom: 44px;
    margin-left: -6px;
    padding-left: 6px;
}

.roof-tab.active[data-step="2"] .roof-tab-inner::-webkit-scrollbar {
    width: 6px;
}
.roof-tab.active[data-step="2"] .roof-tab-inner::-webkit-scrollbar-track {
    background: #E5E5E5;
}
.roof-tab.active[data-step="2"] .roof-tab-inner::-webkit-scrollbar-thumb {
    background-color: #1B469A;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
}

.roof-calc-tabs button{
    width: 25%;
    height: 44px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid transparent;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.02em;
    color: #A6A6A6;
    position: relative;
}
#roof-calc .roof-calc-tabs button[data-step] {
    white-space: nowrap;
}
#roof-calc[data-current-step="1"] .roof-calc-tabs button[data-step="1"]{
    background: #FFFFFF;
    -webkit-border-radius: 0px 5px 0px 0px;
    border-radius: 0px 5px 0px 0px;
    color: #1B469A;
    z-index: 4;
}

#roof-calc[data-current-step="1"] .roof-calc-tabs button[data-step="1"]:after{
    content: '';
    position: absolute;
    bottom: -4px;
    right: -1px;
    background-color: inherit;
    width: 8px;
    height: 8px;
}

.roof-calc-tabs button[data-step="2"]{
    background: #F5F5F5;
    -webkit-box-shadow: 2px 0px 4px rgba(96, 96, 96, 0.15);
    box-shadow: 2px 0px 4px rgba(96, 96, 96, 0.15);
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
    z-index: 3;
    width: -webkit-calc(25% + 7px);
    width: -moz-calc(25% + 7px);
    width: calc(25% + 7px);
    margin-left: -7px;
}

.roof-calc-tabs button[data-step="3"]{
    background: #ECECEC;
    -webkit-box-shadow: 2px 0px 4px rgba(96, 96, 96, 0.15);
    box-shadow: 2px 0px 4px rgba(96, 96, 96, 0.15);
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
    z-index: 2;
    width: -webkit-calc(25% + 7px);
    width: -moz-calc(25% + 7px);
    width: calc(25% + 7px);
    margin-left: -7px;
}

.roof-calc-tabs button[data-step="4"]{
    background: #E0E0E0;
    -webkit-box-shadow: 2px 0px 4px rgba(96, 96, 96, 0.15);
    box-shadow: 2px 0px 4px rgba(96, 96, 96, 0.15);
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
    z-index: 1;
    width: -webkit-calc(25% + 7px);
    width: -moz-calc(25% + 7px);
    width: calc(25% + 7px);
    margin-left: -7px;
}

.roof-calc-tabs button.active{
    background: #FFFFFF;
    -webkit-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
    color: #1B469A;
    -webkit-box-shadow: none;
    box-shadow: none;
    z-index: 4;
}

.roof-calc-tabs button.active:before{
    content: '';
    position: absolute;
    bottom: -4px;
    left: -1px;
    background-color: inherit;
    width: 8px;
    height: 8px;
}

.roof-calc-tabs button.active:after{
    content: '';
    position: absolute;
    bottom: -4px;
    right: -1px;
    background-color: inherit;
    width: 8px;
    height: 8px;
}

#roof-calc[data-current-step="2"] .roof-calc-tabs button[data-step="1"] {
    background: #ECECEC;
    color: #A6A6A6;
}

#roof-calc[data-current-step="2"] .roof-calc-tabs button[data-step="3"] {
    background: #F5F5F5;
    color: #A6A6A6;
}

#roof-calc[data-current-step="2"] .roof-calc-tabs button[data-step="4"] {
    background: #ECECEC;
    color: #A6A6A6;
}

#roof-calc[data-current-step="3"] .roof-calc-tabs button[data-step="1"] {
    background: #E0E0E0;
    color: #A6A6A6;
    z-index: 4;
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
}

#roof-calc[data-current-step="3"] .roof-calc-tabs button[data-step="2"] {
    background: #ECECEC;
    color: #A6A6A6;
}

#roof-calc[data-current-step="3"] .roof-calc-tabs button[data-step="4"] {
    background: #F5F5F5;
    color: #A6A6A6;
}

#roof-calc[data-current-step="4"] .roof-calc-tabs button[data-step="1"] {
    background: #E0E0E0;
    color: #A6A6A6;
    z-index: 3;
    -webkit-border-radius: 0px 5px 5px 0px;
    border-radius: 0px 5px 5px 0px;
}

#roof-calc[data-current-step="4"] .roof-calc-tabs button[data-step="2"] {
    background: #ECECEC;
    color: #A6A6A6;
    z-index: 2;
}

#roof-calc[data-current-step="4"] .roof-calc-tabs button[data-step="3"] {
    background: #F5F5F5;
    color: #A6A6A6;
    z-index: 1;
}

.roof-tab{
    padding: 25px 45px 32px 60px;
}

h3.roof-tab-title{
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 26px;
    letter-spacing: 0.02em;
    color: #151515;
    margin-bottom: 9px;
}

.roof-tab-desc{
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    margin-bottom: 31px;
}

.roof-tab[data-step="3"] .roof-tab-desc{
    margin-bottom: 38px;
}

.roof-tab-items.items-sections{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px 4.44%;
}

.roof-tab .roof-tab-items button.roof-tab-item{
    /*min-width: -webkit-calc(34% - 4.44%);
    min-width: -moz-calc(34% - 4.44%);
    min-width: calc(34% - 4.44%);*/
    min-width: 109px;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.25);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.25);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    padding-bottom: 27px;
    border: 1px solid transparent;
    font-size: 11px;
}

.roof-tab .roof-tab-items button.roof-tab-item:active, .roof-tab .roof-tab-items button.roof-tab-item.active{
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid var(--active-block-type-1-border-color);
}

.roof-tab .roof-tab-items button.roof-tab-item span{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 22px;
    left: 0;
    bottom: 10px;
    /*padding: 0 10px;*/
    position: absolute;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
}

.roof-tab .roof-tab-items button.roof-tab-item:active span, .roof-tab .roof-tab-items button.roof-tab-item.active span{
    color: var(--active-block-type-1-text-color);
}

.roof-tab .roof-tab-items button.roof-tab-item img{
    margin: auto;
}

.roof-tab-bottom{
    margin-top: 13px;
}

.roof-tab-second-items.items-elements{
    margin-top: 22px;
    margin-bottom: 22px;
}

.roof-tab-second-items.items-elements .roof-tab-section{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px 4.44%;
}

.roof-tab .roof-tab-second-items button.roof-tab-item{
    /*width: calc(33.3% - 4.44%);*/
    min-width: -webkit-calc(34% - 4.44%);
    min-width: -moz-calc(34% - 4.44%);
    min-width: calc(34% - 4.44%);
    height: 58px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #A6A6A6;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 14px;
    letter-spacing: 0.01em;
    color: #151515;
    text-align: center;
    background: #FFFFFF;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.roof-tab .roof-tab-second-items button.roof-tab-item:hover{
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.25);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.25);
    border: 1px solid #FFFFFF;
}

.roof-tab .roof-tab-second-items button.roof-tab-item:active, .roof-tab .roof-tab-second-items button.roof-tab-item.active{
    -webkit-box-shadow: none;
    box-shadow: none;
    background:  var(--active-block-type-2-bg-color);
    color: #FFFFFF;
    border: 1px solid var(--active-block-type-2-bg-color);
}

.roof-tab .roof-tab-second-items--metal-fence button.roof-tab-item{
    width: -webkit-calc(50% - 4.44%);
    width: -moz-calc(50% - 4.44%);
    width: calc(50% - 4.44%);
}

button.btn-gray-line{
    height: 44px;
    border: 1px solid #A6A6A6;
    background: #fff;
    color: #A6A6A6;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

button.btn-gray-line span{
    display: inline-block;
    position: relative;
}

.roof-tab-bottom button.roof-tab-bottom__next-step{
    width: 100%;
    height: 44px;
    color: #1B469A;
}

.roof-tab.active[data-step="2"] .roof-tab-bottom button.roof-tab-bottom__next-step{
    width: -webkit-calc(100% - 6%);
    width: -moz-calc(100% - 6%);
    width: calc(100% - 6%);
}

.roof-tab-bottom button.roof-tab-bottom__next-step:disabled{
    color: #A6A6A6;
}

.roof-tab-bottom button.roof-tab-bottom__next-step span:after{
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 6px;
    height: 8px;
    -webkit-transform: translateY(-webkit-calc(-50% + 1px));
    -moz-transform: translateY(-moz-calc(-50% + 1px));
    -ms-transform: translateY(calc(-50% + 1px));
    -o-transform: translateY(calc(-50% + 1px));
    transform: translateY(calc(-50% + 1px));
    background-image: url("/local/components/cloverit/calculator.fence/templates/.default/assets/img/arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    -webkit-filter: invert(12%) sepia(92%) saturate(3755%) hue-rotate(220deg) brightness(93%) contrast(79%);
    filter: invert(12%) sepia(92%) saturate(3755%) hue-rotate(220deg) brightness(93%) contrast(79%);
}

.roof-tab-bottom button.roof-tab-bottom__next-step:disabled span:after{
    -webkit-filter: invert(71%) sepia(0%) saturate(5%) hue-rotate(278deg) brightness(94%) contrast(90%);
    filter: invert(71%) sepia(0%) saturate(5%) hue-rotate(278deg) brightness(94%) contrast(90%);
}

.roof-tab-bottom button.roof-tab-bottom__next-step:enabled:hover{
    color: #1B469A;
}

.roof-tab-bottom button.roof-tab-bottom__next-step:enabled:hover span:after{
    -webkit-filter: invert(22%) sepia(21%) saturate(5126%) hue-rotate(203deg) brightness(97%) contrast(98%);
    filter: invert(22%) sepia(21%) saturate(5126%) hue-rotate(203deg) brightness(97%) contrast(98%);
}

.roof-tab-bottom button.roof-tab-bottom__next-step:enabled:active{
    background: var(--active-button-type-1-bg-color);
    color: #FFFFFF;
    border: 1px solid var(--active-button-type-1-bg-color);
}

.roof-tab-bottom button.roof-tab-bottom__next-step:enabled:active span:after{
    -webkit-filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(158deg) brightness(109%) contrast(101%);
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(158deg) brightness(109%) contrast(101%);
}

.roof-tab-bottom button.roof-tab-bottom__download{
    width: -webkit-calc(46% - 6px);
    width: -moz-calc(46% - 6px);
    width: calc(46% - 6px);
    color: #1B469A;
    padding-left: 32px;
    padding-right: 12px;
    font-size: 14px;
    line-height: 20px;
}

.roof-tab-bottom button.roof-tab-bottom__download span:after{
    content: '';
    position: absolute;
    top: 50%;
    left: -23px;
    width: 17px;
    height: 17px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    /*background-image: url("/local/templates/kmktradeco/images/calc/file.svg");*/
    background-image: url("/local/components/cloverit/calculator.fence/templates/.default/assets/img/file.svg");
    background-repeat: no-repeat;
    background-position: center;
    -webkit-filter: invert(17%) sepia(74%) saturate(3224%) hue-rotate(217deg) brightness(84%) contrast(84%);
    filter: invert(17%) sepia(74%) saturate(3224%) hue-rotate(217deg) brightness(84%) contrast(84%);
}

.roof-tab-bottom button.roof-tab-bottom__download:enabled:hover{
    border: 1px solid transparent;
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.25);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.25);
}

.roof-tab-bottom button.roof-tab-bottom__download:enabled:active{
    color: var(--active-button-type-2-text-color);
}

.roof-tab-bottom button.roof-tab-bottom__download:active span:after{
    -webkit-filter: var(--active-button-type-2-icon-filter);
    filter: var(--active-button-type-2-icon-filter);
}

.roof-tab-bottom button.roof-tab-bottom__sendForm{
    width: -webkit-calc(54% - 6px);
    width: -moz-calc(54% - 6px);
    width: calc(54% - 6px);
    height: 44px;
    color: #FFFFFF;
    background: var(--regular-button-type-3-bg-color);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.01em;
}

.roof-tab-bottom button.roof-tab-bottom__sendForm:hover{
    -webkit-box-shadow: var(--active-button-type-3-box-shadow);
    box-shadow: var(--active-button-type-3-box-shadow);
}

.roof-tab-bottom button.roof-tab-bottom__sendForm:active{
    background: var(--active-button-type-3-bg-color);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.roof-tab-bottom--buttons{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.roof-tab-inputs label{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 8px;
    align-items: center;
}

.roof-tab-inputs label.fake-p{
    /*-webkit-flex-wrap: wrap;*/
    /*-ms-flex-wrap: wrap;*/
    /*flex-wrap: wrap;*/
    position: relative;
}

.roof-tab-inputs span.roof-tab-inputs__base{
    display: inline-block;
    width: 42px;
    height: 26px;
    border: 1px solid #A6A6A6;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    text-align: center;
    margin-right: 11px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
    flex-shrink: 0;
}

.roof-tab-inputs span.roof-tab-inputs__base sup{
    font-size: 60%;
}

.roof-tab-inputs__base-vars{
    width: 308px;
}

.roof-tab-inputs input[type="number"]{
    width: 84px;
    height: 26px;
    border: 1px solid #A6A6A6;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.01em;
    color: #151515;
    padding: 0 13px;
}

.roof-tab-inputs input[type="number"]:focus{
    border: none;
    -webkit-box-shadow: 0px 2px 4px rgba(27, 70, 154, 0.25);
    box-shadow: 0px 2px 4px rgba(27, 70, 154, 0.25);
    caret-color: var(--label-active-bg-color);
}

.roof-tab-inputs label.fake-p input[type="number"]{
    /*width: 65px;*/
    /*padding-left: 26px;*/
    /*padding-right: 7px;*/
}

.roof-tab-inputs label.fake-p input[type="number"].invalid {
    border: 1px solid red;
}

.roof-tab-inputs label.fake-p span.var-a:after{
    content: 'A';
}

.roof-tab-inputs__base-vars > span{
    position: relative;
}

.roof-tab-inputs__base-vars > span:after{
    left: 7px;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #606060;
    position: absolute;
}

.roof-tab-inputs label.fake-p span.var-a:after{
    content: 'A';
}

.roof-tab-inputs label.fake-p span.var-b:after{
    content: 'B';
}

.roof-tab-inputs label.fake-p span.var-c:after{
    content: 'C';
}

.roof-tab-inputs label.fake-p span.var-d:after{
    content: 'D';
}

.roof-tab-inputs__desc{
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    margin-left: 23px;
}

label.focus .roof-tab-inputs__desc{
    color: #151515;
}

.roof-tab-calculations{
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #151515;
}

.calc-result{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -moz-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}

.calc-result__dots{
    -webkit-box-flex: 3;
    -webkit-flex-grow: 3;
    -moz-box-flex: 3;
    -ms-flex-positive: 3;
    flex-grow: 3;
    border-bottom: 1px dashed #A6A6A6;
}

.calc-result__value{
    min-width: 55px;
}

.roof-tab-middle--desc{
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 0.01em;
    margin-bottom: 13px;
    color: #A6A6A6;
}

.roof-tab-middle--desc sup{
    font-size: 120%;
    font-style: normal;
    font-weight: bold;
}

.roof-calc-pic {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .5s;
    -o-transition: .5s;
    -moz-transition: .5s;
    transition: .5s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.roof-calc-pic img {
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.roof-calc-pic picture {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .5s;
    -o-transition: .5s;
    -moz-transition: .5s;
    transition: .5s;
}

.roof-calc-pic picture img {
    width: 100%;
    height: 100%;
}

.roof-calc-pic picture.active {
    opacity: 1;
    visibility: visible;
}

.roof-calc-pic picture.additional {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.roof-calc-tab-content .roof-tab,
.roof-tab-second-items.items-elements .roof-tab-section {
    display: none;
}

[data-step="2"] .roof-tab-second-items.items-elements .roof-tab-section{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.roof-calc-pic.active {
    opacity: 1;
    visibility: visible;
}

.roof-calc-tab-content .roof-tab.active,
.roof-tab-second-items.items-elements .roof-tab-section.active {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.roof-calc-tab-content {
    height: -webkit-calc(100% - 44px);
    height: -moz-calc(100% - 44px);
    height: calc(100% - 44px);
}

.roof-calc-tab-content .roof-tab {
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.roof-tab-bottom {
    margin-top: auto;
    padding-top: 10px;
}

#roof-calc{
    margin-bottom: 140px;
}

#roof-calc,
.roof-calc-top {
    height: 500px;
}

.roof-tab-inputs .fill span.roof-tab-inputs__base {
    background: var(--label-done-bg-color);
    border-color: var(--label-done-bg-color);
    color: #fff;
}

.roof-tab-inputs .focus span.roof-tab-inputs__base {
    background: var(--label-active-bg-color);
    border-color: var(--label-active-bg-color);
    color: #fff;
}

.roof-tab-inputs .roof-tab-inputs__desc {
    -webkit-transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.roof-tab-inputs .fill .roof-tab-inputs__desc {
    color: #151515;
}

.roof-tab-inputs label.fake-p .roof-tab-inputs__desc{
    /*display: inline-block;*/
    /*width: 100%;*/
    /*margin-left: 0;*/
}

@media (min-width: 992px) and (max-width: 1199px) {
    .roof-tab-bottom button.roof-tab-bottom__download, .roof-tab-bottom button.roof-tab-bottom__sendForm{
        font-size: .8em;
    }
}

@media (max-width: 991.98px) {
    #roof-calc {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: unset;
    }
    .roof-calc-top {
        height: 33vh;
    }
    .roof-calc-top,
    .roof-calc-main {
        width: 100%;
    }
    .roof-calc-tab-content {
        height: unset;
    }
    .roof-tab-bottom {
        margin-top: 15px;
    }
    .roof-tab.active[data-step="2"] .roof-tab-inner{
        overflow: visible;
    }
}

@media (max-width: 767px) {
    h3.roof-tab-title{
        font-size: 20px;
        margin-bottom: 4px;
    }
    .roof-tab-bottom {
        margin-top: 10px;
    }
    .roof-tab[data-step="4"]{
        padding: 13px 17px 20px;
    }
    .roof-tab-calculations{
        padding: 0;
    }
    .roof-tab-middle--desc{
        padding: 0;
        margin-bottom: 15px;
        font-size: 12px;
        line-height: 16px;
    }
    .roof-tab-middle--desc sup{
        display: none;
    }
    .roof-tab-bottom--buttons{
        row-gap: 10px;
    }
    button.btn-gray-line, .roof-tab-bottom button.roof-tab-bottom__download, .roof-tab-bottom button.roof-tab-bottom__sendForm{
        width: 100%;
        height: 35px;
        font-size: 16px;
    }
    .roof-calc-tabs button{
        font-size: 16px;
        line-height: 14px;
        height: 38px;
    }
    .roof-tab {
        padding: 15px 10px 16px;
    }
    .roof-tab-desc{
        margin-bottom: 15px;
    }
    .roof-tab-second-items.items-elements {
        margin-top: 13px;
        margin-bottom: 13px;
    }
    .roof-tab[data-step="3"] .roof-tab-desc {
        margin-bottom: 15px;
    }
}


/* Покрытия и толщины */
.calc-selects {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.calc-selects--desc {
    color: #A6A6A6;
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 8px;
}
.calc-select {
    display: none;
    position: relative;
}
.calc-select.active {
    display: block;
}
.calc-select + .calc-select {
    margin-left: 20px;
}
.calc-select--main {
    background: #FFFFFF;
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #A6A6A6;
    font-weight: 400;
    font-size: 14px;
    height: 31px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: 120px;
    padding: 0 12px;
    cursor: pointer;
}
.calc-select--main:after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 10px;
    mask: no-repeat center url("/local/components/cloverit/calculator.fence/templates/.default/assets/img/arrow.svg");
    -webkit-mask: no-repeat center url("/local/components/cloverit/calculator.fence/templates/.default/assets/img/arrow.svg");
    mask-size: contain;
    -webkit-mask-size: contain;
    background: #A6A6A6;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    margin-left: 10px;
}
.calc-select--main .select-name {
    margin-top: -2px;
}
.calc-select--choice {
    display: none;
}
.calc-select--choice.active {
    display: block;
}
.calc-select--list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    -webkit-box-shadow: 0px 2px 10px rgba(27, 70, 154, 0.15);
    box-shadow: 0px 2px 10px rgba(27, 70, 154, 0.15);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    list-style: none;
    padding: 11px 13px;
    margin: 0;
    min-width: 100%;
    z-index: 1;
}
.calc-select--list.active {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.calc-select--item {
    color: #151515;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    -webkit-transition: .1s;
    -o-transition: .1s;
    -moz-transition: .1s;
    transition: .1s;
}
.calc-select--item + .calc-select--item {
    margin-top: 10px;
}
.calc-select--item:before {
    content: '';
    border: 0.5px solid #A6A6A6;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 10px;
    aspect-ratio: 1;
    margin-right: 8px;
    background: #fff;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.calc-select--item.active,
.calc-select--item:hover {
    color: #1B469A;
}
.calc-select--item.active:before {
    border-color: #1B469A;
    background: #1B469A;
}
hr.blue {
    background: #1B469A;
    margin-bottom: .5rem;
}
.calc-price {

}
.calc-price--wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -moz-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    color: #1B469A;
    font-weight: 700;
    font-size: 16px;
}
@media (max-width: 767px) {
    .roof-tab-prices {
        padding: 0;
    }
}
/* Покрытия и толщины END */

.understar {
    padding-left: 28px;
    color: var(--label-done-bg-color);
    line-height: 1;
    font-size: .8em;
    margin-top: 5px;
}

.roof-tab.active[data-step="4"]{
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #1B469A #E5E5E5;
}

.roof-tab.active::-webkit-scrollbar {
    width: 6px;
}
.roof-tab.active::-webkit-scrollbar-track {
    background: #E5E5E5;
}
.roof-tab.active::-webkit-scrollbar-thumb {
    background-color: #1B469A;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: none;
}

.roof-tab-prices {
    margin-top: 10px;
}

/*Главная картинка*/
.roof-calc--first {
    font-family: 'Play';
    position: relative;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .5s, height 0s;
    -o-transition: opacity .5s, height 0s;
    -moz-transition: opacity .5s, height 0s;
    transition: opacity .5s, height 0s;
    height: 0;
}
.roof-calc--first.active {
    visibility: visible;
    opacity: 1;
    height: 624px;
}
.roof-calc--first__wrapper {
    position: absolute;
    top: -122px;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 53px 45px 80px;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -moz-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}
.roof-calc--first__title {
    font-style: normal;
    font-weight: 700;
    font-size: 56px;
    line-height: 56px;
    text-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5);
    color: #fff;
    z-index: 1;
}
.roof-calc--first_picture__filter {
    background: -webkit-linear-gradient(320.64deg, #000000 -26.68%, rgba(0, 0, 0, 0) 37.96%);
    background: -moz-linear-gradient(320.64deg, #000000 -26.68%, rgba(0, 0, 0, 0) 37.96%);
    background: -o-linear-gradient(320.64deg, #000000 -26.68%, rgba(0, 0, 0, 0) 37.96%);
    background: linear-gradient(129.36deg, #000000 -26.68%, rgba(0, 0, 0, 0) 37.96%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.roof-calc--first_picture {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.roof-calc--first_picture img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    background: var(--active-button-type-1-bg-color);
}
.roof-calc--first .btn_first-picture__close {
    font-style: normal;
    font-weight: 700!important;
    font-size: 26px!important;
    padding: 0 96px!important;
    z-index: 1;
    height: 57px!important;
    line-height: 57px!important;
}
#roof-calc {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .5s, height 0s;
    -o-transition: opacity .5s, height 0s;
    -moz-transition: opacity .5s, height 0s;
    transition: opacity .5s, height 0s;
    /*height: auto;*/
}
#roof-calc.first-display {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0;
}
.page-title span::before {
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 61px;
}
@media (max-width: 768px) {
    .roof-calc--first__wrapper {
        top: -75px;
        padding: 16px 18px;
    }
    .roof-calc--first {
        aspect-ratio: 16 / 9;
    }
    .roof-calc--first.active {
        height: auto;
    }
    .roof-calc--first__title {
        font-size: 5.5vw;
        line-height: 1;
    }
    .roof-calc--first .btn_first-picture__close {
        font-size: 20px!important;
        padding: 0 18px!important;
        padding-bottom: 10px!important;
        height: 30px!important;
        line-height: 30px!important;
    }
}
.roof-tab-inputs-step3-title{
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.01em;
    color: #151515;
    margin-bottom: -3px;
}
.roof-tab-inputs-step3-text{
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    margin-top: 6px;
    margin-bottom: 9px;
}

.roof-tab-inputs-additional-control-line{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 10px;
}

.roof-tab-inputs-additional-control__selector{
    width: 180px;
    position: relative;
}

.roof-tab-inputs-additional-control__selector-text{
    width: 180px;
    height: 28px;
    background: #FFFFFF;
    border: 1px solid #C4C4C4;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    padding: 0 25px 0 12px;
    position: relative;
}

.roof-tab-inputs-additional-control-line.fill .roof-tab-inputs-additional-control__selector-text{
    color: #151515;
}

.roof-tab-inputs-additional-control-line:hover .roof-tab-inputs-additional-control__selector-text{
    color: #151515;
    border: 1px solid transparent;
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
}

.roof-tab-inputs-additional-control__selector-text:after,
.roof-tab-input-v-inner:after,
.roof-tab-input-s-inner:after{
    content: '';
    width: 10px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 15px;
    background: url(/local/components/cloverit/calculator.fence/templates/.default/assets/img/kk-select.svg) no-repeat center;
    -webkit-filter: invert(73%) sepia(1%) saturate(13%) hue-rotate(314deg) brightness(91%) contrast(92%);
    filter: invert(73%) sepia(1%) saturate(13%) hue-rotate(314deg) brightness(91%) contrast(92%);
}

.roof-tab-input-v-inner:after,
.roof-tab-input-s-inner:after{
    right: 10px;
}

.roof-tab-inputs-additional-control__selector.opened .roof-tab-inputs-additional-control__selector-text:after,
.roof-tab-input-v-inner.opened:after,
.roof-tab-input-s-inner.opened:after{
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.roof-tab-inputs-additional-control-line:hover .roof-tab-inputs-additional-control__selector-text:after,
.roof-tab-input-v-inner:hover.opened:after,
.roof-tab-input-s-inner:hover.opened:after{
    -webkit-filter: invert(45%) sepia(86%) saturate(2477%) hue-rotate(198deg) brightness(101%) contrast(102%);
    filter: invert(45%) sepia(86%) saturate(2477%) hue-rotate(198deg) brightness(101%) contrast(102%);
}

.roof-tab-inputs-additional-control__selector-inputs{
    /*display: none;*/
    height: 0;
    position: absolute;
    left: 0;
    /*bottom: calc(-100% - 5px);*/
    width: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition-property: opacity, height;
    -o-transition-property: opacity, height;
    -moz-transition-property: opacity, height;
    transition-property: opacity, height;
    -webkit-transition-duration: 0.4s, 0s;
    -moz-transition-duration: 0.4s, 0s;
    -o-transition-duration: 0.4s, 0s;
    transition-duration: 0.4s, 0s;
    -webkit-transition-delay: 0s, 1s;
    -moz-transition-delay: 0s, 1s;
    -o-transition-delay: 0s, 1s;
    transition-delay: 0s, 1s;
    z-index: 0;
}

.roof-tab-inputs-additional-control__selector.opened .roof-tab-inputs-additional-control__selector-inputs{
    height: 33px;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.roof-tab-inputs-additional-control__selector-inputs-inner{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 28px;
    background: #FFFFFF;
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-top: 5px;
}

.roof-tab-inputs-additional-control__selector-inputs-inner .roof-tab-inputs-additional-control__selector-input{
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    margin: 0;
    padding: 4px;
    cursor: pointer;
}

.roof-tab-inputs-additional-control__selector-inputs-inner .roof-tab-inputs-additional-control__selector-input:hover{
    color: #151515;
}

.roof-tab-inputs-additional-control__selector-input.checked{
    background: rgba(50, 138, 255, 0.15);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #151515;
}

.roof-tab-inputs-additional-control__selector-input span{
    width: 100%;
}

.roof-tab-inputs-additional-control__selector-input + .roof-tab-inputs-additional-control__selector-input span {
    border-left: 1px solid;
}
.roof-tab-inputs-additional-control__selector-input.checked span,
.roof-tab-inputs-additional-control__selector-input.checked + .roof-tab-inputs-additional-control__selector-input span{
    border-left: none;
}

.roof-tab-inputs-additional-control__name{
    width: 55px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #A6A6A6;
}

.roof-tab-inputs-additional-control-line:hover .roof-tab-inputs-additional-control__name{
    color: #328AFF!important;
}

.roof-tab-inputs-additional-control-line.fill .roof-tab-inputs-additional-control__name{
    color: #151515;
}

.roof-tab-inputs-additional-control__width-input input{
    width: 90px;
    height: 28px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.01em;
    text-align: center;
    color: #A6A6A6;
    background: #FFFFFF;
    border: 1px solid #C4C4C4;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.roof-tab-inputs-additional-control-line:hover .roof-tab-inputs-additional-control__width-input input{
    background: #FFFFFF;
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    border: 1px solid transparent;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #151515;
}

.roof-tab-inputs-additional{
    margin-bottom: 17px;
    margin-top: 12px;
}

.roof-tab-inputs-additional--profnastil{
    margin-top: 19px;
}

.roof-tab-calculations__tabs{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #1B469A;
    -webkit-filter: drop-shadow(0px 2px 6px rgba(27, 70, 154, 0.15));
    filter: drop-shadow(0px 2px 6px rgba(27, 70, 154, 0.15));
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 3px;
}

.roof-tab-calculations__tab{
    width: 157px;
    height: 24px;
    background: transparent;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    cursor: pointer;
}

.roof-tab-calculations__tab.active{
    background: #1B469A;
    color: #FFFFFF;
    -webkit-box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
    box-shadow: 0px 2px 6px rgba(27, 70, 154, 0.15);
}

.roof-tab-calculations__tab-content{
    display: none;
    margin-top: 27px;
}

.roof-tab-calculations__tab-content.active{
    display: block;
}

.roof-tab-calculations__tabs-title{
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    margin-top: 6px;
    margin-bottom: 13px;
}

.roof-tab .roof-tab-items button.roof-tab-item img.hover{
    display: none;
}

.roof-tab .roof-tab-items button.roof-tab-item.active img.not-hover{
    display: none;
}

.roof-tab .roof-tab-items button.roof-tab-item.active img.hover{
    display: inline;
}

.roof-tab-input-v-inner,
.roof-tab-input-s-inner{
    position: relative;
}

.roof-tab-inputs__v-var-selector,
.roof-tab-inputs__s-var-selector{
    /*display: none;*/
    height: 0;
    position: absolute;
    top: -webkit-calc(100% + 2px);
    top: -moz-calc(100% + 2px);
    top: calc(100% + 2px);
    left: 0;
    /*bottom: calc(-100% - 5px);*/
    width: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition-property: opacity, height;
    -o-transition-property: opacity, height;
    -moz-transition-property: opacity, height;
    transition-property: opacity, height;
    -webkit-transition-duration: 0.4s, 0s;
    -moz-transition-duration: 0.4s, 0s;
    -o-transition-duration: 0.4s, 0s;
    transition-duration: 0.4s, 0s;
    -webkit-transition-delay: 0s, 1s;
    -moz-transition-delay: 0s, 1s;
    -o-transition-delay: 0s, 1s;
    transition-delay: 0s, 1s;
    z-index: 0;
    background: #FFFFFF;
    -webkit-box-shadow: 0px 2px 4px rgba(27, 70, 154, 0.25);
    box-shadow: 0px 2px 4px rgba(27, 70, 154, 0.25);
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.roof-tab-input-v-inner.opened .roof-tab-inputs__v-var-selector,
.roof-tab-input-s-inner.opened .roof-tab-inputs__s-var-selector{
    height: auto;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.roof-tab-inputs__v-var-select,
.roof-tab-inputs__s-var-select{
    padding: 0 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
}

.roof-tab-inputs__v-var-select:hover,
.roof-tab-inputs__s-var-select:hover{
    color: #151515;
}

.roof-tab-inputs__v-var-select.checked,
.roof-tab-inputs__s-var-select.checked {
    background: rgba(50, 138, 255, 0.15);
    color: #151515;
}

.roof-tab-inputs .roof-tab-input-v-inner input[type="number"],
.roof-tab-inputs .roof-tab-input-s-inner input[type="number"]{
    color: transparent;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#roof-tab-inputs__v-var-fake-value,
#roof-tab-inputs__s-var-fake-value{
    position: absolute;
    top: 0;
    left: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.01em;
    color: #A6A6A6;
    width: 100%;
    padding: 0 10px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label.focus #roof-tab-inputs__v-var-fake-value,
label.fill #roof-tab-inputs__v-var-fake-value,
label.focus #roof-tab-inputs__s-var-fake-value,
label.fill #roof-tab-inputs__s-var-fake-value{
    color: #151515;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .roof-tab-inputs span.roof-tab-inputs__base,
    .roof-tab-inputs input[type="number"]{
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }
    /*.roof-tab-inputs label.fake-p input[type="number"]{*/
    /*    width: 58px;*/
    /*    padding-left: 20px;*/
    /*    padding-right: 4px;*/
    /*}*/
    .roof-tab-inputs__base-vars{
        width: auto;
    }
    /*.roof-tab-inputs label.fake-p .roof-tab-inputs__base{*/
    /*    margin-right: 5px;*/
    /*}*/
    .roof-tab-inputs-additional-control__selector-text,
    .roof-tab-inputs-additional-control__selector{
        width: 168px;
    }
    .roof-tab-inputs-additional-control__width-input input{
        width: 65px;
    }
    .roof-tab-desc br{
        display: none;
    }
    .roof-tab {
        padding: 25px 30px 32px 30px;
    }
    .roof-tab-inputs__desc{
        margin-left: 11px;
    }
    .roof-tab-inputs input[type="number"]{
        width: 70px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .roof-tab-calculations__tab{
        width: 50%;
    }
    .roof-tab-desc br{
        display: none;
    }
    .roof-tab-inputs-additional-control-line{
        width: 370px;
    }
}

@media (max-width: 767px) {
    .roof-tab-calculations__tabs-title{
        margin: 7px 0;
    }
    .roof-tab-calculations__tab{
        width: 50%;
    }
    .roof-tab-calculations__tab-content{
        margin-top: 16px;
    }
    .roof-tab-inputs__desc{
        line-height: 13px;
        padding-right: 5px;
    }
    .roof-tab-inputs span.roof-tab-inputs__base,
    .roof-tab-inputs input[type="number"]{
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }
    /*.roof-tab-inputs label.fake-p input[type="number"]{*/
    /*    width: 58px;*/
    /*    padding-left: 20px;*/
    /*    padding-right: 4px;*/
    /*}*/
    .roof-tab-inputs__base-vars{
        width: auto;
    }
    /*.roof-tab-inputs label.fake-p .roof-tab-inputs__base{*/
    /*    margin-right: 5px;*/
    /*}*/
    .roof-calc--first .btn_first-picture__close{
        line-height: 30px!important;
    }
    .roof-tab-inputs-additional-control__selector-text,
    .roof-tab-inputs-additional-control__selector{
        width: 168px;
    }
    .roof-tab-inputs-additional-control__width-input input{
        width: 65px;
    }
    .roof-tab .roof-tab-second-items button.roof-tab-item{
        height: 50px;
    }
    /*.roof-tab-inputs label.fake-p .roof-tab-inputs__desc{*/
    /*    margin-bottom: 2px;*/
    /*}*/
    .roof-tab-desc br{
        display: none;
    }
    .roof-tab-inputs-additional-control__selector-text:after{
        right: 10px;
    }
}
@media (max-width: 576px) {
    /*.roof-tab-inputs label.fake-p {*/
    /*    flex-wrap: nowrap;*/
    /*    margin-top: 20px;*/
    /*    position: relative;*/
    /*}*/
    /*.roof-tab-inputs label.fake-p .roof-tab-inputs__desc {*/
    /*    position: absolute;*/
    /*    bottom: calc(100% + 2px);*/
    /*}*/
    .roof-tab-inputs__base-vars {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    /*.roof-tab-inputs label.fake-p input[type="number"] {*/
    /*    max-width: 58px;*/
    /*    width: 100%;*/
    /*}*/
    /*.roof-tab-inputs label.fake-p .roof-tab-inputs__base {*/
    /*    margin-right: 11px;*/
    /*}*/
}
/* End */
/* /local/components/cloverit/calculator.fence/templates/.default/style.css?168372572551385 */
