.marquee-list {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-bottom: 20px;
}
.marquee-list li {
    margin: 0 10px;
    cursor: pointer;
}
.marquee-list li:hover {
    opacity: 1;
}

.marquee-text {
    position: relative;
    height: 150px;
    display: inline-flex;
}
.marquee-text .js-marquee {
    margin-right: 0 !important;
}

body[data-pc-preset="preset-4"] .card-number {
    position: absolute;
    top: -35px;
    left: -20px;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 72px;
    font-weight: bold;
    color: #e83e8c;
    z-index: 0;
}

body[data-pc-preset="preset-9"] .card-number {
    position: absolute;
    top: -35px;
    left: -20px;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 72px;
    font-weight: bold;
    color: #008080;
    z-index: 0;
}

body[data-pc-preset="preset-9"] .card-number-small {
    position: absolute;
    top: -25px;
    left: -15px;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 52px;
    font-weight: bold;
    color: #008080;
    z-index: 0;
}


.law-categories .owl-item {
    float: left;
}

.law-categories .owl-nav {
    display: none;
}

.typing {
    border-right: 2px solid white;  /* Создает курсор */
    padding-right: 5px;  /* Немного отступает текст от курсора */
    white-space: nowrap;  /* Не позволяет тексту переноситься */
    overflow: hidden;  /* Скрывает текст, который выходит за пределы блока */
    animation: blink-caret 0.25s step-end infinite;  /* Анимация мигания курсора */
}

/* Анимация для мигания курсора */
@keyframes blink-caret {
    from, to {
        border-color: transparent;  /* Скрыть курсор */
    }
    50% {
        border-color: white;  /* Показать курсор */
    }
}

.card-back::before {
    content: "";
    position: absolute;
    top: -30px; /* Сдвигаем изображение вверх на 30px */
    right: -20px; /* Сдвигаем изображение вправо на 20px */
    width: 200px; /* Ширина фонового изображения */
    height: auto; /* Высота устанавливается автоматически для сохранения пропорций */
    background-image: url(https://statement.local/assets/images/landing/categories/family.svg);
    background-position: top right;
    background-size: 200px auto; /* Устанавливаем размер фонового изображения */
    background-repeat: no-repeat;
    opacity: 0.5; /* Прозрачность изображения */
    z-index: 1; /* Устанавливаем z-index, чтобы изображение было под контентом контейнера */
}


.img-suggest-moke {
    max-width: 1110px;
    float: right;
}

.client-block img {
    transition: all 0.08s cubic-bezier(0.37, 0.24, 0.53, 0.99);
    filter: grayscale(1);
    opacity: 0.4;
    cursor: pointer;
}

.client-block img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

body[data-pc-preset="preset-1"] .form-overlay {
    background-color: rgb(70 128 255 / 50%);
}

body[data-pc-preset="preset-3"] .form-overlay {
    background-color: rgb(103 58 183 / 50%);
}

body[data-pc-preset="preset-4"] .form-overlay {
    background-color: rgb(232 62 140 / 50%);
}

body[data-pc-preset="preset-9"] .form-overlay {
    background-color: rgb(0 128 128 / 30%);
}

.owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.owl-dot {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    padding: 0;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.owl-dot span {
    display: none; /* Скрываем span, так как он не используется */
}

.owl-dot.active {
    border-width: 3px;
}

.form-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 128, 0.5);
    z-index: 1000;
    display: none;
}

.form-overlay2.form-overlay-show {
    display: block;
}

.card.overflow-show {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

@media (max-width: 1024px) {
    .card.overflow-show {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
        z-index: 10001;
        max-height: calc(100vh - 20px); /* Учитываем небольшие отступы сверху и снизу */
        overflow-y: auto !important;
    }
}

blockquote {
    font: 14px/20px italic Times, serif;
    padding: 8px;
    background-color: #faebbc;
    border-top: 1px solid #e1cc89;
    border-bottom: 1px solid #e1cc89;
    margin: 5px;
    background-position: top left;
    background-repeat: no-repeat;
    text-indent: 23px;
    position: relative;
    display: flex;
}

blockquote p {
    font: 20px italic Times, serif;
}

blockquote::before {
    content: url(https://css-tricks.com/examples/Blockquotes/images/openquote1.gif); /* Используем изображение в качестве содержимого */
    position: absolute;
    top: 8px;
    left: -12px;
}

blockquote::after {
    content: url(https://css-tricks.com/examples/Blockquotes/images/closequote1.gif);
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: block;
}

/* Базовый стиль кнопки */

.fixed-block {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.fixed-btn {
    border: 2px solid white;
    cursor: pointer;
    font-size: 16px;
    outline: none;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    animation: cycle 48s infinite;
}

@keyframes cycle {
    /* Первый эффект */
    0% {
        opacity: 1; /* Исходное состояние */
    }
    4.17% {
        opacity: 1; /* Эффект */
    }
    8.33% {
        opacity: 1;; /* Возврат к исходному */
    }
    25% {
        opacity: 1;; /* Пауза */

        /* Второй эффект */
    }
    25.01% {
        transform: scale(1); /* Исходное состояние */
    }
    29.17% {
        transform: scale(1.2); /* Эффект */
    }
    33.33% {
        transform: scale(1); /* Возврат к исходному */
    }
    50% {
        transform: scale(1); /* Пауза */

    }
    50.01% {
        opacity: 1; /* Исходное состояние */
    }
    54.17% {
        opacity: 0; /* Эффект */
    }
    58.33% {
        opacity: 1; /* Возврат к исходному */
    }
    75% {
        opacity: 1; /* Пауза */

        /* Четвертый эффект */
    }
    75.01% {
        transform: rotate(0deg); /* Исходное состояние */
    }
    79.17% {
        transform: rotate(360deg); /* Эффект */
    }
    83.33% {
        transform: rotate(0deg); /* Возврат к исходному */
    }
    100% {
        transform: rotate(0deg); /* Пауза */
    }
}

.fb-hidden {
    display: none; /* Класс для скрытия кнопки */
}

@media (max-width: 600px) {
    .fixed-block {
        width: 80%;
        right: 10%;
        left: 10%;
    }
}
