/* Стилизация скролла */
/* .loader{
    z-index: 9999999;
    background-color: white;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader path:nth-child(1){
    stroke-linecap: round;
    stroke-dasharray: 350;
    stroke-dashoffset: 350;
    animation: fillingKey 6s linear infinite;
}
.loader path:nth-child(2){
    stroke-linecap: round;
    stroke-dasharray: 55;
    stroke-dashoffset: 54;
    animation: fillingLine 6s linear infinite;
}
.loader circle:nth-child(3){
    transform-origin: center;
    stroke-linecap: round;
    stroke-dasharray: 35;
    stroke-dashoffset: 0;
    animation: fillingSpin 6s linear infinite;
}
.loader circle:last-child{
    transform-origin: center;
    stroke-linecap: round;
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
    animation: fillingSpin 6s linear infinite;
} */

@keyframes fillingKey {
    0% {
        stroke-dashoffset: 350;
    }

    40% {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 0;
    }

    90% {
        stroke-dashoffset: 350;
    }

    100% {
        stroke-dashoffset: 350;
    }
}

@keyframes fillingLine {
    0% {
        stroke-dashoffset: 54;
    }

    40% {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 0;
    }

    90% {
        stroke-dashoffset: 54;
    }

    100% {
        stroke-dashoffset: 54;
    }
}

@keyframes fillingSpin {
    0% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(360deg);
    }

    50% {
        transform: rotate(360deg);
    }

    90% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* СТИЛИЗАЦИЯ КУРСОРА */
.col[style*="opacity: 0"] .bootstrap-select.disabled,
.col[style*="opacity:0"] .bootstrap-select.disabled,
.col[style*="opacity: 0"] .dropdown-toggle.disabled,
.col[style*="opacity:0"] .dropdown-toggle.disabled {
    cursor: default;
}

/* Позиционирование */
.ha {
    height: auto;
}

/* Стилизация скроллбара */
::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
    background-color: transparent;
    border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
    background-color: #445ede;
    border-radius: 1rem;
    /* box-shadow: inset 1px 1px 10px #f3faf7; */
}

/* Выравнивание элементов относительно друг друга */
.alignment-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.column-left {
    flex-direction: column;
    align-items: flex-start;
}

.right-separator {
    border-right: 1px solid #ebedf2;
}

.flex-horizontal {
    display: flex;
}

/* Стилизация селекта */
.bootstrap-select.btn-group>.dropdown-toggle {
    border: 2px solid #bfc9d4;
    height: 100%;
    padding: 8px;
    font-size: 15px;
    letter-spacing: 1px;
    color: #3b3f5c;
}

.bootstrap-select.btn-group>.dropdown-toggle:disabled {
    cursor: not-allowed;
    background-color: #f1f2f3 !important;
    color: #acb0c3;
    opacity: 1;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder {
    color: #6c757d;
}

.bootstrap-select.btn-group .dropdown-toggle .caret {
    border-top-color: #bfc9d4;
}

.body-select-container {
    border-radius: 0.5rem;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    height: 100%;
    white-space: nowrap;
    padding-right: 1rem;
    height: fit-content;
}

.select-list-body {
    overflow: auto;
}


/* ОТДЕЛЬНЫЕ СТИЛИ ДЛЯ БУТСТРАПОВСКОГО СЕЛЕКТА */
.bootstrap-select>.dropdown-toggle.disabled {
    color: #acb0c3 !important;
    opacity: 1;
    background-color: #f1f2f3 !important;
}

.bootstrap-select>.dropdown-toggle.disabled {
    color: #acb0c3 !important;
    opacity: 1;
    background-color: #f1f2f3 !important;
}

.dropdown-item {
    margin: 0.2rem 0;
}

.dropdown-item:last-child,
.dropdown-item:first-child {
    margin: 0;
}

.dropdown-item.selected {
    background-color: var(--primary);
}

.dropdown-item.selected .text {
    color: white;
}

.dropdown-item.disabled {
    opacity: 0.5;
}

/* .dropdown-toggle{
    height: auto !important;
} */

.dropdown-toggle.bs-placeholder>.filter-option {
    color: #6c757d !important;
}

.dropdown-toggle .filter-option {
    max-width: 90% !important;
    white-space: break-spaces !important;
}

.col>.custom-checkbox {
    display: flex;
    align-items: center;
}

.col>.custom-checkbox>label::before {
    top: 0.06rem;
}

.col>.custom-checkbox>label::after {
    top: 0.06rem;
}

/* СТИЛИЗАЦИЯ ИКОНОК ДЛЯ ПОЛЕЙ В МОДАЛКЕ */
.input-group-password {
    position: relative;
}

.input-group-password svg {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translate(0, -50%);
    opacity: 0.6;
}

/* СТИЛИЗАЦИЯ ТАБОВ */
.nav-pills .nav-link {
    transition: 0.3s;
}

.nav-pills .nav-link.active {
    background-color: #304aca;
}

.nav-pills .nav-link:not(.active):hover {
    background-color: var(--primary);
    color: white;
}

/* СТИЛИЗАЦИЯ ВАЛИДАЦИИ ИНПУТОВ */
.input-errors p {
    color: var(--danger);
}

/* СТИЛИЗАЦИЯ КНОПОК СОЗДАНИЯ В ТАБЛИЦЕ */
.btn.btn-primary.table-btn-create {
    padding: 0.625rem 1.25rem;
    background-color: #304aca !important;
}

/* СТИЛИЗАЦИЯ СОБЫТИЯ В ВИДЖЕТЕ */
.widget-content .widget-event {
    /* display: flex;
    align-items: center; */
    border: 1px dashed #888ea8;
    border-radius: 0.5rem;
    justify-content: space-between;
    position: relative;
    transition: 0.3s;
}

.widget-content .widget-event:hover {
    border: 1px solid #304aca;
    cursor: pointer;
    /* transform: translate(0, -0.4rem); */
    /* box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); */
}

.widget-content .widget-event .widget-event-content span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.widget-content .widget-event .widget-event-status {
    position: absolute;
    top: 0;
    left: 1rem;
    transform: translate(0, -50%);
}

/* СТИЛИЗАЦИЯ ПОТОКА В ВИДЖЕТЕ */
.widget-content .widget-content-stream {
    width: 100%;
    /* max-height: 300px; */
}

.widget-content .widget-content-stream img {
    max-height: 100%;
    width: 100%;
    border-radius: 0.5rem;
    /* object-fit: fill; */
}

/* СТИЛИЗАЦИЯ ТЕКСТОВОГО БЛОКА В ВИДЖЕТЕ */
.widget-content .widget-content-text {
    border-top: 1px solid #dee2e6;
}

.widget-content .widget-content-text .widget-content-text-header {
    font-weight: 700;
}

.widget-content .widget-content-text .widget-content-text-key {}

.widget-content .widget-content-text .widget-content-text-value {
    font-weight: 700;
}

/* СТИЛИЗАЦИЯ КАРТИНОК */
.image-s-fixed-square-300 {
    width: 300px;
    height: 300px;
}

/* СТИЛИЗАЦИЯ КОМПОНЕНТОВ */
.custom-component-card-2 {
    border: none;
    border-radius: 0.5rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    overflow: hidden;
    cursor: pointer;
}

.card-img-top-container {
    height: 50%;
    position: relative;
}

.card-img-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-component-card-2 img {
    height: 100%;
    width: 100%;
}

.custom-component-card-2 .card-text .card-span-value {
    font-weight: 700;
}

.custom-component-card-2 .card-title {
    font-size: 1rem;
}

/* CUSTOM LOADER */
.c-loader {}

.с-loader-cimple {
    display: inline-block;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--primary);
    border-left: 2px solid transparent;
    animation: standardSpin 1s linear infinite;
}

@keyframes standardSpin {
    100% {
        transform: rotate(360deg);
    }
}

/* СТИЛИЗАЦИЯ КОЛОНКИ С ЧЕКБОКСОМ

th.checkbox-column.text-center.sorting_desc::after, th.checkbox-column.text-center.sorting_desc::before{
    display: none;
} */

/* СТИЛИЗАЦИЯ ТЕКСТА */
.wht-spc-no-wrap{
    white-space: nowrap;
}
.color-primary{
    color: #1b55e2;
}

/* СТИЛИЗАЦИЯ ИНПУТОВ */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

/* СТИЛИЗАЦИЯ TABBAR */
.tabbar {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
}

.tabbar-content {
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0, 0.2);
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.tabbar-main-btn{
    padding: 1rem;
    border-radius: 50%;
    /* transform: scale(1.5) translate(0, -20%); */
}
.tabbar-main-btn svg{
    width: 36px;
    height: 36px;
}

.tabbar-nav-btn{
    border-radius: 50%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0, 0.05);
    background-color: white;
}

.tabbar-nav-btn svg{
    fill: var(--primary);
    height: 24px;
    width: 24px;
}

.navbar-secur-mobile-logo{
    display: none;
}

.secur-mobile-checkpoint{
    display: none;
}

/* АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА */
@media (max-width: 900px) and (orientation: landscape), (max-width: 450px) and (orientation: portrait) {
    .container-checkpoint-tiles{
        display: none;
    }

    body.secur-mobile{
        padding-bottom: 5rem;
    }

    body.secur-mobile .tabbar{
        opacity: 1;
        visibility: visible;
        height: 5rem;
    }

    body.secur-mobile .navbar-secur-mobile-logo,
    body.secur-mobile .secur-mobile-checkpoint{
        display: block;
    }
    
    body.secur-mobile .navbar-nav.theme-brand, 
    body.secur-mobile .language-dropdown{
        display: none;
    }
    
    /* body.secur-mobile{
        height: 100vh;
    }

    body.secur-mobile > .main-container > .main-content{
        height: calc(100% - 10rem - 65px);
    }
    
    body.secur-mobile #security-page > .layout-px-spacing{
        min-height: 100% !important;
    }

    body.secur-mobile > .main-container,
    body.secur-mobile #security-page,
    body.secur-mobile #security-page > .layout-px-spacing,
    body.secur-mobile #security-page .layout-px-spacing > .layout-top-spacing,
    body.secur-mobile #security-page .layout-px-spacing > .layout-top-spacing > .secur-tools,
    body.secur-mobile .section-search-event
    {
        height: 100%;
    }

    body.secur-mobile .secur-tools,
    body.secur-mobile .section-search-event{
        display: flex;
        flex-direction: column;
    }

    body.secur-mobile .section-search-pass{
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    } */
}

.checkpoint-tile{
    max-height: 500px;
}


.video-container img{
    width: 100%;
}