.scale {
    position: relative;
    padding-bottom: 80px;
}

.custom-pagination__list {
    position: absolute;
    display: flex;
    bottom: 50px;
}

.custom-pagination__item {
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background: transparent;
    transition: .2s;
    border: 1px solid black;
    margin-right: 10px!important;
    cursor: pointer;
}

.custom-pagination__item.active, .custom-pagination__item:hover {
    background: white;
}

.scale__plug {
    position: absolute;
    height: 100%;
    width: 39%;
    background: #FFC300;
    top: 0;
    left: 0;
    z-index: -1;
}

.scale__title {
    margin: 80px 120px;
    text-align: center;
    font-family: 'InterText',sans-serif;
    font-size: 40px;
    line-height: 60px;
    font-weight: 300;
    text-transform: uppercase;
}

.scale__subtitle {
    font-weight: 700;
    font-size: 20px;
    margin: 50px 0 70px 0;
    text-transform: uppercase;
}

.scale__scale-img {
    display: block;
    margin: 0 auto 50px auto;
    width: 90%;
}

.scale__year {
    font-size: 40px;
    text-align: right;
    /*font-family: Inter, sans-serif;*/
    margin-bottom: 65px;
    padding-right: 30px;
    position: relative;
    font-weight: 100;
}

.scale__year:after {
    position: absolute;
    content: '';
    width: 55px;
    height: 10px;
    background-image: url(/upload/img/kompany_info/arrow.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 40px;
    top: 23px;
    right: -33px;
}

.scale__item {
    display: flex;
}

.scale__item-img {
    flex-basis: 33%;
    padding-right: 16px;
}

.scale__item-text {
    flex-basis: 45%;
    padding-left: 25px;
}

.scale__item-cert {
    flex-basis: 21%;
    display: flex;
    align-items: self-end;
}

.scale__item-cert img {
    height: fit-content;
    width: 100%;
}

.scale__item-img img {
    width: 100%;
}

.scale__slider {
    position: relative;
}

.scale__slider .slick-arrow {
    position: absolute;
    top: 12px;
    z-index: 1000;
    font-size: 0;
    border: none;
    outline: none;
    transition: .5s;
    width: 70px;
    height: 35px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
}

.scale__slider .slick-arrow:hover {
    transform: scale(1.2);
}

.scale__slider .slick-next {
    background-image: url("/upload/img/kompany_info/scale-slider/arrow-next.svg");
    right: 0;
}

.scale__slider .slick-prev {
    background-image: url("/upload/img/kompany_info/scale-slider/arrow-prev.svg");
    left: 0;
}

.scale__slider .slick-dots {
    position: absolute;
    top: -153px;
    width: 100%;
    justify-content: flex-start;
}

.scale__slider .slick-dots button {
    font-size: 0;
    outline: none;
    border: none;
    background: transparent;
    position: absolute;
    width: 60px;
    height: 80px;
    left: -7px;
    top: 10px;
}

.scale__slider .slick-dots li:before {
    transition: .3s;
    position: absolute;
    top: 10px;
    padding: 6px;
}

.scale__slider .slick-dots li.slick-active:before {
    transform: scale(1.7);
}

.scale__slider .slick-dots li {
    position: relative;
    margin-right: 0!important;
}

.scale__slider .slick-dots li:before {
    font-family: "Roboto Light", sans-serif;
    font-size: 16px;
}

.scale__slider .slick-dots li:nth-child(1) {left: -7px;}
.scale__slider .slick-dots li:nth-child(2) {left: 15%;}
.scale__slider .slick-dots li:nth-child(3) {left: 30.45%;}
.scale__slider .slick-dots li:nth-child(4) {left: 46%;}
.scale__slider .slick-dots li:nth-child(5) {left: 61.5%;}
.scale__slider .slick-dots li:nth-child(6) {left: 77%;}
.scale__slider .slick-dots li:nth-child(7) {left: 92.6%;}


@media (max-width: 991px) {
    .scale__slider .slick-arrow {
        top: calc(100% + 20px);
    }

    .scale__title {
        font-size: 20px;
        max-width: 500px;
        margin: 30px auto;
    }

    .scale__scale-img {
        display: none;
    }

    .scale__slider .slick-dots {
        top: -86px;
        left: -40px;
        width: 100%;
    }

    .scale__subtitle {
        margin: 25px 0 110px 0;
    }

    .scale__slider .slick-dots li.slick-active:after, .scale__plug {
        display: none;
    }

    .scale__slider .slick-dots li.slick-active:before {
        transform: scale(1.15);
        background: #FFC300;
        padding: 6px;
        border-radius: 7px;
    }

    .scale__item {
        flex-direction: column;
    }

    .scale__item-img {
        display: flex;
        flex-direction: column-reverse;
    }

    .scale__item-text {
        padding-left: 0;
    }

    .scale__year {
        font-size: 40px;
        text-align: left;
        font-family: Inter, sans-serif;
        margin-bottom: 35px;
        padding-right: 30px;
        margin-top: 10px;
        position: relative;
    }

    .scale__year:after {
        position: absolute;
        content: '';
        width: 55px;
        height: 10px;
        background-image: url(/upload/img/kompany_info/arrow.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 30px;
        top: 73px;
        right: 89%;
        transform: rotate(90deg);
    }

    .scale__item-cert img {
        width: 300px;
    }

    .scale__item-text {
        margin-bottom: 20px;
    }

    .scale__title {
        font-size: 20px;
        line-height: 40px;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .custom-pagination__list {
        display: none;
    }
}

@media only screen and (max-width: 640px){
    .scale .slick-list {
        height: auto;
    }

}

@media(max-width: 460px) {
    .scale__slider .slick-dots {
        width: 100%;
    }
    .scale__slider .slick-dots li:before {
        letter-spacing: -1px;
        border-bottom: 1px solid #FFC300;
    }
}