h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Gilroy', sans-serif;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 120%;
    max-width: 730px;
}

h2.section__title {
    font-size: 50px;
    font-weight: 700;
    line-height: 120%;
    max-width: 605px;
    color: #000;
}

h2.section__title.small__title {
    font-size: 30px;
}

h3.title__card {
    font-size: 25px;
    font-weight: 400;
    line-height: 130%;
    color: #000;
}

h3.title__card.bold {
    font-weight: 700;
}

h2.white-text,
h3.white-text,
.white-text,
.white-text p {
    color: #fff;
}

p.main__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
    color: #000;
}

p.main__text.white-text {
    color: #fff;
}

p.main__text.bold {
    font-weight: 700;
}

p.main__text.small {
    font-size: 15px;
}

.history__link {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.history__link .item__link {
    color: #8D8D8D;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 14px;
}

.history__link .item__link:not(:last-child)::after {
    content: '';
    position: relative;
    background-image: url('../image/history_arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 5px;
    height: 10px;
}

.button {
    background-color: transparent;
    border: 1px solid #00A0CB;
    color: #00A0CB;
    font-size: 16px;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;
    transition: all .5s ease 0s;
}

.button.color-button {
    background-color: #00A0CB;
    color: #fff;
}

.button.color-button:hover,
.button:hover {
    background-color: #47BBDA;
    border-color: #47BBDA;
    color: #fff;
    transition: all .5s ease 0s;
}

.button.header-button {
    padding: 15px;
}

.button.main__section__button {
    padding: 20px 50px;
}

.button.document__button {
    margin: auto;
    padding: 20px 50px;
}

.button.small {
    font-size: 14px;
    padding: 10px 15px;
}

.button.filter-button {
    font-size: 16px;
    padding: 20px;
    width: 100%;
}

.button.big-button {
    padding: 20px 50px;
    font-size: 16px;
}

.slick-slider {
    padding-bottom: 40px;
}

.slick-list {
    overflow: visible;
}

.slick-prev,
.slick-next {
    top: auto;
    bottom: -15px;
    width: 40px;
    height: 15px;
}

.slick-prev {
    left: calc(100% / 2 - 60px);
}

.slick-next {
    right: calc(100% / 2 - 60px);
}

.slick-prev::before,
.slick-next::before {
    color: transparent;
    content: '';
    background-image: url(../image/slider_arrow_2.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    width: 100%;
    height: 100%;
} 

.slick-next:before {
    transform: rotate(180deg);
}
.slick-next {
    right: -75px;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}
.slick-prev{
    left: -75px;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}
.fancybox-content {
    background-color: #292B63;
    border-radius: 20px;
}

.fancybox-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fancybox-content form input:not(input[type='submit']) {
    background-color: #fff;
    border: none;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: .5rem;
}

.fancybox-content form input:not(input[type='submit']):not(input[type='checkbox']) {
    width: 100%;
}

.fancybox-content form span:has(input[type='checkbox']) {
    margin: 0;
}

.fancybox-content form label:has(input[type='checkbox']) {
    color: #fff;
    display: flex;
    flex-direction: row;
    gap: .5rem;
    position: relative;
}

.fancybox-content form label:has(input[type='checkbox'])::before {
    content: '';
    position: relative;
    min-width: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    background-color: #fff;
    border-radius: 5px;
}

.fancybox-content form label:has(input[type='checkbox']) input {
    opacity: 0;
    width: 0;
    height: 0;
}

.fancybox-content form label:has(input[type='checkbox']:checked)::before {
    background-color: #00A0CB;
}

.fancybox-content form label:has(input[type='checkbox']:checked)::after {
    content: '';
    position: absolute;
    background-image: url(../image/check.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 12px;
    height: 8px;
    left: 4px;
    /* top: 6px; */
}

.wpcf7-response-output {
    color: #fff;
}

.fancybox-button svg path {
    fill: rgb(255 255 255);
}

.slick-slider .slick-list{
    overflow: hidden;
}
.error{
    padding: 180px 0 137px;
}
.error .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.error__img{
    margin-bottom: 73px;
}
.error__txt{
    font-size: 30px;
    margin-bottom: 40px;
}
.error .button{
    padding: 20px 50px;
}
@media screen and (max-width: 992px) {
    h1 {
        font-size: 35px;
    }

    h3.title__card {
        font-size: 18px;
    }

    h2.section__title {
        font-size: 30px;
    }

    h2.section__title.small__title {
        font-size: 20px;
    }
    
    .history__link {
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .history__link .item__link {
        font-size: 14px;
        gap: 8px;
    }

    p.main__text {
        font-size: 16px;
    }

    .button {
        font-size: 14px;
        padding: 10px 15px;
    }

    .button.main__section__button {
        width: 100%;
        font-size: 16px;
    }

    .button.document__button {
        width: 100%;
    }
        .error__txt{
        text-align: center;
    }
}
@media(max-width: 575px){
    #first_section::after{
        display: none;
    }
    .button.main__section__button {
        padding: 12px 50px;
    }
    .license__button{
        width: 100%;
    }
    .custom-logo-link img{
        height: 50px;
    }

}