h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
}

.custom-font-secondary {
    font-family: var(--main-font) !important;
}

.custom-font-tertiary {
    font-family: var(--main-font) !important;
}

p, ul, ul li {
    line-height: 1.8;
    font-size: 16px;
    font-size: 1rem;
    letter-spacing: -0.015em;
}

.badge {
    font-weight: 500;
}

.custom-graph-svg-color-primary {
    fill: var(--primary) !important;
}

.custom-graph-svg-color-secondary {
    fill: var(--secondary) !important;
}

.btn {
    font-family: var(--main-font) !important;
    padding: 16px 35.2px;
    padding: 1rem 2.2rem;
    font-size: 14.4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.custom-text-color-1 {
    color: #df0b0b;
}

.custom-text-color-2 {
    color: #e3993f;
}

.custom-testimonial-style-1.testimonial.testimonial-style-3 blockquote {
    padding: 12px 40px;
}

.custom-testimonial-style-1.testimonial.testimonial-style-3 blockquote:before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 19.2px;
    font-size: 1.2rem;
}

.custom-testimonial-style-1.testimonial.testimonial-style-3 .testimonial-author {
    margin-left: 40px;
}

.custom-testimonial-style-1.testimonial.testimonial-style-3 .testimonial-author img {
    max-width: 85px;
}

.custom-testimonial-style-1.testimonial.testimonial-style-3 blockquote:before {
    color: var(--primary);
}

/* Mask Image */
.custom-mask-img {
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-position: center;
    mask-position: center;
}

.custom-mask-img-1 {
    -webkit-mask-image: url('../images/mask/mask-image-1.png');
    mask-image: url('../images/mask/mask-image-1.png');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-position: center;
    mask-position: center;
}

.custom-mask-img-2 {
    -webkit-mask-image: url('../images/mask/mask-image-2.png');
    mask-image: url('../images/mask/mask-image-2.png');
}

.custom-mask-img-3 {
    -webkit-mask-image: url('../images/mask/mask-image-3.png');
    mask-image: url('../images/mask/mask-image-3.png');
}

.custom-mask-img-4 {
    -webkit-mask-image: url('../images/mask/mask-image-4.png');
    mask-image: url('../images/mask/mask-image-4.png');
}

.custom-carousel-box-shadow-1 {
    position: relative;
}

.custom-carousel-box-shadow-1:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 0px;
    box-shadow: 0px 40px 40px 140px rgba(0, 0, 0, 0.07);
    transform: translate3d(-50%, -50%, 0);
    z-index: 0;
}

.custom-dots-style-1 .owl-dots,
.custom-dots-style-2 .owl-dots {
    margin-top: 30px !important;
}

.custom-dots-style-1 .owl-dots .owl-dot > span,
.custom-dots-style-2 .owl-dots .owl-dot > span {
    background: #9e9e9e !important;
    transition: ease all 300ms;
}

.custom-dots-style-1 .owl-dots .owl-dot.active > span,
.custom-dots-style-2 .owl-dots .owl-dot.active > span {
    background: #3e3e3e !important;
    width: 18px;
}

/* Cascading Wrapper */
.custom-cascading-images-wrapper-1 {
    padding: 40% 0% 0 30%;
}

/* Stamp */
.custom-stamp-1 {
    width: 180px;
    height: 180px;
    left: -90px;
    top: 55%;
    border-radius: 50%;
}

.custom-stamp-1 svg {
    position: relative;
    left: 4px;
    top: 1px;
    margin: 2px;
}

.custom-stamp-1:after {
    opacity: 0.2;
    position: absolute;
    content: "";
    width: 105px;
    height: 105px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #FFF;
    border-radius: 50%;
    display: block;
}

@media (max-width: 992px) {
    .custom-stamp-1 {
        top: 30%;
        transform: scale(0.5);
    }
}

/* Custom Elements */
.custom-el-1 {
    bottom: 13%;
    right: 7%;
}

@media (max-width: 1200px) {
    .custom-el-1 {
        right: 0;
        bottom: 8%;
    }
}

@media (max-width: 575px) {
    .custom-el-1 {
        bottom: 0;
    }
}

.custom-el-1 p {
    font-size: clamp(35px, -1.6666666667px + 0.0763888889 * 100vw, 90px);
    letter-spacing: -5px;
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1;
    font-weight: bold;
}

@media (max-width: 991px) {
    .custom-el-1 p {
        letter-spacing: -2px;
    }
}

.custom-el-1 em {
    font-size: clamp(18px, 11.3333333333px + 0.0138888889 * 100vw, 28px);
    position: relative;
    bottom: 2px;
    display: inline-flex;
    letter-spacing: -2px;
}

.custom-el-1 em mark {
    padding: 0 7px 5px !important;
}

@media (max-width: 991px) {
    .custom-el-1 em {
        bottom: 5px;
        right: -1px;
    }
}

.custom-el-2 {
    position: absolute;
    width: 100%;
    height: 100%;
}

.custom-el-2 img {
    height: 150%;
    min-width: 1200px !important;
    min-height: 1200px !important;
}

@media (max-width: 1400px) {
    .custom-el-2 img {
        min-height: 1500px !important;
    }
}

.custom-el-3 {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
}

.custom-el-3 img {
    height: 100%;
    min-width: 1200px !important;
    min-height: 1200px !important;
}

.custom-el-4 svg {
    width: 100%;
}

.custom-el-5 {
    position: absolute;
    width: 100%;
    height: 100%;
}

.custom-el-5 img {
    height: 100%;
    min-width: 1000px !important;
    min-height: 1000px !important;
}

@media (min-width: 992px) {
    .custom-el-6 {
        margin-bottom: -70px;
        margin-left: 7px;
    }
}

.custom-el-7 {
    max-height: 32px;
    width: auto !important;
    max-width: 150px !important;
    transform: none !important;
}

/* Custom Pos */
.custom-pos-1 {
    right: -37%;
    top: -33%;
}

.custom-pos-2 {
    left: -75%;
    top: -33%;
}

.custom-pos-3 {
    margin-top: -70px;
}

.custom-pos-4 {
    right: -40%;
    top: -57%;
}

.custom-pos-5 {
    top: -85%;
}

.custom-pos-6 {
    left: -75%;
    bottom: -10%;
}

/* Gradient */
.custom-bg-gradient-1 {
    background-image: linear-gradient(to right, var(--secondary-rgba-30) 30%, var(--dark) 200%) !important;
}

@media (max-width: 991px) {
    .custom-bg-gradient-1 {
        border-radius: 0 !important;
    }
}


.owl-carousel.owl-logos .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    margin: 0 10px;
    height: 90px;
    width: 160px;
    text-align: center;
}

.owl-carousel.owl-logos .carousel-item img {
    max-height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.owl-carousel.owl-logos .carousel-item img:hover {
    filter: grayscale(0);
}

.service-item {
    margin-bottom: 25px;
}

.service-item .textBlock {
    position: relative;
    display: flex;
    align-items: center;
    height: 80px;
}

.service-item .textBlock .title {
    font-size: 1.20em;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}


.service-item .textBlock .title {
    font-weight: bold;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-item .textBlock .title-hover {
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    line-height: 1.25;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-item .textBlock .title-hover .inside, .service-item .textBlock .title-hover .inside p {
    display:flex;
    align-items: center;
    height: 80px;
    line-height: 1.25;
    font-size: 14px;
    color: var(--default);
    margin-bottom: 0;

}

.service-item:hover .title {
    opacity: 0;
    transform: translateY(-10px);
}

.service-item:hover .title-hover {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover .svg-fill-color-primary {
    fill: var(--dark) !important;
}


.grecaptcha-badge { visibility: hidden; }

.grecaptcha-info {

    font-size: 10px;
    color: #999;
    margin-top: 20px;
    margin-bottom: 0px;
    line-height: 10px;
    letter-spacing: -0.2px;
}
.cursor-pointer {
    cursor: pointer;
}

.modal {
    overflow: hidden;
}

.modal.fade .modal-dialog {
    /*transform: scale(0);*/
    /*opacity: 0;*/
    /*-webkit-transition: all .25s linear;*/
    /*-o-transition: all .25s linear;*/
    /*transition: all .25s linear;*/
    transition: transform .1s linear;
    transform: translate(0px,50px);
}

.modal.show.fade .modal-dialog {
    opacity: 1;
    transform: scale(1);
}

.modal-dialog-bottom {
    display: flex;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2);

}
.modal-dialog-bottom .modal-content {
    overflow: initial;
    border: none;
    border-radius: 20px;
}

.modal-dialog-bottom .modal-content .modal-header {
    padding: 20px 40px 20px 40px;
}


.modal-dialog-bottom .modal-content .modal-body {
    padding: 40px;
}

.modal-dialog-bottom.modal-dialog-smallpadding .modal-content .modal-header {
    padding: 1rem;
}


.modal-dialog-bottom.modal-dialog-smallpadding .modal-content .modal-body {
    padding: 0.5rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.text-3-rows {
    min-height: 82px;
}

.upperTextWithP p {
    font-size: 22px;
    line-height: 1.5;
}

.custom-box-shadow-1 {
    box-shadow: 0 0px 40px 0px rgba(187, 187, 187, 0.3);
}

.case-short .desc h4 {
    color: var(--primary);
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 30px;
}

.case-short .desc h5 {
    color: #000;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 30px;
}

.case-short .desc p {
    color: #000;
}

.case-short .image {

    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 30px;
}

.case-short .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


@media (max-width: 991.98px) {

    .text-3-rows {
        min-height: auto;
    }

    .modal-dialog-bottom {
        display: flex;
        align-items: flex-end;
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }

    .modal-dialog-bottom .modal-content {
        border-radius: 16px 16px 0 0;
        border: none;
    }


    .modal-dialog-bottom.mdb-fullscreen .modal-content {
    }

    .modal-dialog-bottom .modal-footer {
        border-radius: 0;
    }

    .modal-dialog-bottom.modal-dialog-smallpadding .modal-content {
        padding-top: 0;

    }

    .modal-dialog-bottom.modal-dialog-smallpadding .modal-content .modal-body {
        padding: 0;
        margin-top: 0.8rem;
        margin-bottom: 0;
    }

}

.compare-versions-item {
    padding: 20px 0;
    border-top: 1px #eee solid;
}

.compare-versions-item .cv-title {
    font-size: 18px;
    line-height: 1.2;
    color: #000 !important;
    font-weight: 700;
}

.compare-versions-item p {
    color: var(--default) !important;
    margin-bottom: 0;
    padding-bottom: 0;
}

.deprecate-p-margin p {
    margin-bottom: 0;
}
.banner-revpost, .banner-revpost p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.logo-footer {
    width: 100%;
    max-width: 260px;
}

.slider-image {
    width:100%;
    max-width: 800px;
}

@media (max-width: 1200px) {

    .feature-box.footer-box .feature-box-icon.feature-box-icon-lg {
        width: 2.7em;
        height: 2.7em;
    }

    .slider-image {
        width:100%;
        max-width: 600px;
    }

}
@media(max-width: 440px) {
    .banner-revpost, .banner-revpost p {
        font-size: 16px;
    }

    .owl-carousel.owl-logos .carousel-item {
        width: 100px;
        height: 70px;
    }

    .testimonial blockquote p {
        font-size: 14px;

    }

    .custom-testimonial-style-1.testimonial.testimonial-style-3 blockquote {
        padding: 30px 10px 10px 10px;
    }

}

@media(max-width: 360px) {

    .modal-dialog-bottom .modal-content .modal-header {
        padding: 20px 20px 0 20px;
    }

    .modal-dialog-bottom .modal-content .modal-body {
        padding: 20px 20px 20px 20px;
    }

}


.form-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

#formPopup {
    position: relative;
}

.news1c {
    list-style: none;
    margin-bottom: 40px;
}

.news1c li {
    font-size: 18px;
    margin-bottom: 10px;
}


#tableOverlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: none;
    z-index: 10;
}

#tableOverlay .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100px;
    height: 100px;
}

#tableOverlay .preloader img {
    width: 100%;
    height: 100%;
}

#agreementText {
    height: 400px;
    overflow-y: scroll;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;

}

#agreementText p {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.5;
}
#agreementText::-webkit-scrollbar {
    width: 10px; /* ширина скролла */
}

#agreementText::-webkit-scrollbar-track {
    background: #f1f1f1; /* фон трека */
    border-radius: 10px;
}

#agreementText::-webkit-scrollbar-thumb {
    background: #bbb; /* сам скролл */
    border-radius: 10px;
}

#agreementText::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Firefox */
#agreementText {
    scrollbar-width: thin; /* тонкий скролл */
    scrollbar-color: #bbb #f1f1f1; /* ползунок / трек */
}

.border-radius-2-left {
    border-top-left-radius: var(--border-radius2x) !important;
    border-bottom-left-radius: var(--border-radius2x) !important;
}

.border-radius-2-right {
    border-bottom-right-radius: var(--border-radius2x) !important;
    border-top-right-radius: var(--border-radius2x) !important;
}



.terms-block {
    position: fixed;
    bottom: 0;
    left: 0;
    background: var(--tertiary);
    color: #FFF;
    padding: 20px 0px;
    width: 100%;
    z-index: 9999;
    font-size: 14px;
    line-height: 1.5;
}

.terms-block-close {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10000;
    opacity: 0.6;
    cursor: pointer;
}

.terms-block-close:hover {
    opacity: 1;
}

.whiteButton {
    background: rgba(255,255,255,0.7);
    color:#000;
}

.whiteButton:hover {
    background: rgba(255,255,255,0.9);
    color:#000;
}

.item-download {
    position: relative;
    display: block;
    color: #000;
}

.item-download:hover {
    text-decoration: none !important;
    color: #000;
}

.item-download-icon {
    position: relative;
    display: inline-block;
}



.item-download-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,1) url('/assets/default/images/icon_download.svg') center no-repeat;
    background-size: 48px;
    opacity: 0;
    transition: .2s ease;
}

.item-download:hover .item-download-icon::after {
    opacity: 1;
}