.img-fix {
    height: 200px;
    object-fit: cover;
}

.img-slide {
    width: 1440px;
    height: 426px;
    object-fit: cover;
}

/*.modal-body {*/
/*    background-color: #f6f6f6;*/
/*}*/
.border-radius-10 {
    border-radius: 10px;
}

.border-radius-15 {
    border-radius: 15px;
}

.border-radius-20 {
    border-radius: 20px;
}

/*----Начало------Окно загрузки картинок*/
#dropArea {
    border: 2px dashed #aaa;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    background-color: #f7f7f7;
    transition: border-color 0.3s ease;
    border-radius: 20px;
}

#dropArea.dragOver {
    border-color: #555;
}

#imagePreview {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#imagePreview img {
    max-width: 300px; /* Задайте желаемую ширину превью */
    max-height: 300px; /* Задайте желаемую высоту превью */
    border-radius: 20px;
}

#imageFilename {
    margin-top: 10px;
}

#imagePreview img {
    max-width: 100%;
    max-height: 60%;
}

#cropperModal .modal-dialog {
    max-width: 1400px; /* Измените значение на требуемую ширину */
    max-height: 400px; /* Измените значение на требуемую высоту */
}

#cropperModal .modal-body {
    max-width: 100%;
    height: 100%;
}

#cropperModalContent {
    max-width: 100%;
    height: 100%;
}

#cropperImage {
    max-width: 100%;
    height: auto;
}

/*----Конец------Окно загрузки картинок*/


/*----Начало------Слайдеры*/

.carousel-caption-like-block {
    position: absolute; /* Абсолютное позиционирование */
    top: 50%; /* Положение относительно верхней границы слайда */
    left: 50%; /* Положение относительно левой границы слайда */
    transform: translate(-50%, -50%); /* Центрирование по центру слайда */
    width: 80%; /* Ширина области с текстом */
    padding: 20px; /* Внутренний отступ */
    text-align: center; /* Выравнивание текста по центру */
    z-index: 1; /* Уровень позиционирования (для отображения текста над изображением) */

}

.slide-container:nth-child(1) .carousel-caption-like-block {
    right: 0; /* Прижимаем текст к правому краю на первом слайде */
    text-align: right; /* Выравниваем текст по правому краю на первом слайде */
}

.slide-container:nth-child(2) .carousel-caption-like-block {
    left: 0; /* Прижимаем текст к левому краю на втором слайде */
    text-align: left; /* Выравниваем текст по левому краю на втором слайде */
}

.slide-container:nth-child(3) .carousel-caption-like-block {
    left: 50%; /* Смещаем текст к центру на третьем слайде */
    transform: translateX(-50%); /* Центрируем текст по горизонтали на третьем слайде */
}

.slide-title {
    color: black;
    font-family: 'Raleway', sans-serif;
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
}

.slide-description {
    font-size: 1rem;
    font-weight: bold;
    color: black;
}

/*----Конец------Слайдеры*/

/*----Начало------регионы*/

.region-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.region-info {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.region-color {
    width: 28px;
    height: 28px;
    background-image: url('/images/region-pic.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-color: var(--color-clear-grey);
    border-radius: 50%;
    margin-right: 5px;
}

.region-name {
    text-align: left;
    margin-top: auto;
    margin-bottom: 0;
}

/*----Конец------Регионы*/


.mine-width {
    flex: 0 0 auto;
    width: 30%;
}

.text-center {
    text-align: center !important;
}

.card-img {
    display: flex;
    justify-content: center;
    align-items: center;

}

.card-img img {
    width: 50%;
    display: block;
    margin: 0 auto;
}

.custom-input::placeholder {
    opacity: 0.5;
}

.custom-input:placeholder-shown {
    opacity: 1;
}


/*Auth*/
.test-red-500 {
    color: #8a1f11;
}

.custom-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*End*Auth*/


.btn-outline-danger:hover {
    color: #ffffff;
}

.button {
    color: #e13300;
}


/* Стили для изменения цвета фона строки при наведении */
.checkbox-card:hover {
    background-color: #f0f0f0; /* Цвет фона при наведении */
    transition: background-color 0.2s ease;
}

/* Стили для изменения цвета фона строки при выборе */
.checkbox-card.selected {
    background-color: #caf8d3 !important; /* Цвет фона строки при выборе */
}

.region-container {
    cursor: pointer;
    transition: background-color 0.2s;
}


.checkbox-card:hover {
    cursor: pointer;
}

.checkbox-card.active {
    background-color: #f0f0f0;
    transition: background-color 0.2s ease;
}

.checkbox-card.active.selected {
    background-color: #caf8d3;
}

.theme-dark .checkbox-card.active {
    background-color: #29273d;
    transition: background-color 0.2s ease;
}

.theme-dark .checkbox-card.selected {
    background-color: #145b23 !important; /* Цвет фона строки при выборе */
}


/*home*/
.home {
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.home:hover {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0.5em;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
}

.home:hover .overlay {
    opacity: 1;
}

.home:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.custom-card {
    border: 1px solid #f8f8f8;
}

.theme-dark .custom-card {
    border: 1px solid #2e2e42;
}

/*end_home*/

.theme-dark .modal-body {
    background-color: #333;
    color: #fff;
}

.theme-dark .form-select {
    background-color: #212130;
    color: #fff;
}

.theme-dark #dropArea {
    background-color: #212130;
    color: #fff;
}

.theme-dark .nav-pills .nav-link {
    color: #fff;
    transition: color 0.5s ease 0.5s;
}

#deleted-counter {
    z-index: 1000;
}

#deleted-counter {
    cursor: pointer; /* Делает курсор руки при наведении */
    opacity: 0.7; /* Добавляет эффект прозрачности */
}

#deleted-counter:hover {
    opacity: 1; /* Увеличивает прозрачность при наведении */
}

.theme-dark .card {
    background-color: #212130;
    transition: background-color 0.2s ease, color 0.5s ease;
}

.theme-light .nav-text {
    color: #212130;
}

.theme-dark .nav-text {
    color: #FFFFFF;
}

.theme-dark ul[aria-expanded="false"] {
    background-color: #212130 !important;
}

.text-some {
    color: black;
}

.theme-dark  .text-some{
    color: #FFFFFF;
}

.theme-dark .text-black {
    color: #FFFFFF;
}

.theme-dark .text-black:hover {
    color: #FFFFFF;
    transform: scale(1.05);
}

.text-black:hover {
    color: #0a2730;
    transform: scale(1.05);
}

.theme-light .card {
    background-color: #FFFFFF;
    transition: background-color 0.2s ease, color 0.5s ease;
}

.theme-dark .box-primary {
    background-color: #212130;
}

/*.theme-dark .filter {*/
/*    background-color: #212130;*/
/*}*/

.theme-dark .nice-select .option {
    background-color: #212130;
}

.theme-dark .nice-select .option:hover {
    background-color: #171622;
}

.theme-dark .nice-select .option.focus {
    background-color: #171622;
}

.theme-dark .nice-select .option.selected.focus {
    background-color: #171622;
}

.theme-dark .nice-select .option.selected.focus:hover {
    background-color: #171622;
}

.theme-dark .nice-select .border-radius {
    background-color: #171622;
}

.theme-dark .nice-select .list {
    background-color: #272739;
}


.promotion-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #5bcfc5; /* Цвет фона надписи */
    color: #fff; /* Цвет текста */
    padding: 5px 10px; /* Отступы внутри надписи */
    font-size: 12px; /* Размер шрифта */
    font-weight: bold; /* Жирный шрифт */
    z-index: 1; /* Помещаем надпись поверх остального контента карточки */
    border-top-right-radius: 20px;
    border-bottom-left-radius: 10px;
}

.region-row:hover {
    cursor: pointer;
}


/*=========================================================================*/

/*The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    transform: rotate(180deg);
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 0px;
    bottom: 4px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    box-shadow: 0 0px 15px #2020203d;
    background: #27274b url('/adminlte/images/night.png');
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);

}

input:checked + .slider {
    background-color: #5bcfc5;
}

input:checked + .slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
    background: white url('/adminlte/images/sunny.png');
    background-repeat: no-repeat;
    background-position: center;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*=========================================================================*/
.img-interactive-channel {
    width: 105px;
    height: auto;
}

/*=========================================================================*/

.image-container {
    position: relative;
}

.expiration-message {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-bottom-left-radius: 5px;
    font-size: 12px;
}

.z-index-my-fix {
    z-index: 3;
}

.header {
    z-index: 4
}


/*Фильтр по регионам select2*/
.select2-container {
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 100% !important;
}

/* Поле выбора */
.select2-container--default .select2-selection--multiple {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 5px;
}

/*Стиль при наведении */
.select2-container--default .select2-selection--multiple:hover {
    border-color: #5bcfc5;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/*Теги выбранных элементов*/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e7e7e7;
    border: none;
    border-radius: 20px;
    color: black;
    padding: 3px 10px;
    margin: 3px;
    font-size: 12px;
}

/*Кнопка удаления тегов */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: black;
    margin-right: 5px;
    cursor: pointer;
}

/*Поле ввода в выпадающем списке */
.select2-container--default .select2-search--inline .select2-search__field {
    background: none;
    border: none;
    outline: none;
    margin-left: 5px;
    font-size: 14px;
    flex: 1;
}

/*Выпадающий список */
.select2-container--default .select2-results__options {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    max-height: 200px;
    overflow-y: auto;
}

/*Элемент в выпадающем списке */
.select2-container--default .select2-results__option {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
}

/*Элемент при наведении */
.select2-container--default .select2-results__option--highlighted {
    background-color: #5bcfc5;
    color: white;
}

/*Плейсхолдер */
.select2-container--default .select2-selection--multiple::before {
    content: attr(data-placeholder);
    color: #6c757d;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/*Стили для hover для фильтрации*/

.filter-el:hover {
    border-color: #5bcfc5;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/*Появление подсказок*/

.tooltip-text {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 1000;
    white-space: nowrap;
    position: absolute;
}

.theme-dark .tooltip-text {
    display: none;
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 1000;
    white-space: nowrap;
    position: absolute;
}


.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.theme-light .modal-content {
    background-color: #FFFFFF;
}

/*Стиль для выбранного*/

#show-selec {
    white-space: nowrap;
}

#show-selec > * {
    display: inline;
}

/*дроп меню фильтрации*/

.shadow-custom {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.border-dashed-top {
    border-top: 2px dashed #ddd;
}


.filter {

}

.content-title {
    padding: 10px 15px;
    background-color: #fff;
    cursor: pointer;
}

.tools a {
    text-decoration: none;
    color: #000;
}

.cm-content-body {
    padding: 15px;
    background-color: #fff;
}

.cpa i {
    color: #007bff;
    font-size: 1.2rem;
}


/*////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*Настрйоки для меню фильтрации */

.theme-dark .cm-content-body {
    background-color: #212130;
}

.theme-dark .content-title {
    background-color: #212130;
}

.filter .row .col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 60px;
}

.filter .form-control,
.filter .btn,
.filter .select2-width-75 {
    width: 100%;
    max-width: 200px;
    height: auto;
    text-align: center;
}

.filter .btn-group {
    width: 100%;
    max-width: 200px;
}

.filter .btn-group .dropdown-menu {
    width: 100%;
}

.filter .row {
    gap: 10px;
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*Настройка модальных окон*/

.modal-backdrop.show {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


/*Настройки индикатора загрузки*/

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    visibility: visible;
    opacity: 1;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #0C9A9A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.theme-dark .spinner {
    border-top: 5px solid #1E2A4A;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*Индикатор окна уведомлений*/

.toast-with-border {
    position: relative;
    padding: 10px 20px;
    border-radius: 10px;
    overflow: hidden;
}

.theme-dark .custom-bg-success {
    background-color: #0b4534;
}

.custom-bg-success {
    background-color: #0E9A00;
}

.theme-dark .custom-bg-danger {
    background-color: #7d1038;
}

.custom-bg-danger {
    background-color: #9f1447;
}

.toast-with-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(0, 255, 255, 0.8); /*Цвет полоски*/
    border-radius: 10px;
    animation: border-animate 3s linear forwards;
    box-sizing: border-box;
    z-index: 1;
}

@keyframes border-animate {
    0% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
    25% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 100%);
    }
    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 100%);
    }
    75% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    100% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

/*///////////------------------------------------------------------------------------------------------------------------*/


.disable-interactions {
    pointer-events: none;
}

#collapseFilter {
    border-radius:20px;
    padding: 10px;
}

.border-pagination {
    border: 1px solid #e7e7e7 !important;
}

.theme-dark .border-pagination {
    border: 1px solid #ffffff !important;
}

.bg-pinki {
    background-color: #e83e8c !important;
}

/*html, body {*/
/*    height: 100%;*/
/*    overflow-y: auto;*/
/*}*/

/*.dlabnav-scroll {*/
/*    height: auto;*/
/*    overflow-y: auto;*/
/*}*/

html, body {
    height: 100%;
    overflow: hidden;
}

#main-wrapper {
    height: 100vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .w-xs-100 {
        width: 100%;
    }

    .w-auto {
        width: 100% !important;
    }
}
