﻿@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

.gotoadmin {
    position: fixed;
    bottom: 4%;
    right: 2%;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child {
    text-align: left;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
    border-bottom: 1px solid #efefef;
    display: flex;
    justify-content: space-between;
    width: 100%;
    column-gap: 30px;
    padding: 5px 0px 5px 10px !important;
    transition: all .2s ease;
}

    table.dataTable > tbody > tr.child ul.dtr-details > li:hover {
        background-color: lightcyan;
    }

.content-wrapper {
    background: none !important;
}

body {
    background: url('../img/banner-bg.jpg');
    background-size: cover;
    background-blend-mode: screen;
    background-color: rgba(255,255,255,0.95) !important;
    background-repeat: no-repeat;
}

.wrapper {
    height: 100%;
}

.sidebar {
    height: calc(100% - (5.5rem + 1px)) !important;
}


/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: black;
    }


.nav-sidebar {
    overflow: auto !important;
    height: 100%;
}

.custom-box {
    /* From https://css.glass */

    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
}

    .custom-box > .inner {
        color: white;
        padding: 10px 20px;
    }

        .custom-box > .inner > h3 {
            font-size: 2.4em;
        }

    .custom-box > .icon > i {
        margin: 0;
        color: white;
        position: absolute;
        right: 10px;
        top: 20px;
        font-size: 0px;
        opacity: 0.5;
    }

.color-1 {
    background: rgba(84, 198, 204, 0.8);
}

.color-2 {
    background: rgba(84, 204, 88, 0.8);
}

.color-3 {
    background: rgba(94, 230, 99, 0.8);
}

.main-footer {
    margin-left: 250px;
    bottom: 0;
}

.main-sidebar {
    height: 100vh;
    overflow-y: hidden;
    z-index: 1038;
    /* From https://css.glass */
    background: rgba(0, 0, 0, 0.75) !important;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.19);
}

.gotoadmin > button {
    background-color: crimson;
    color: white;
    border-radius: 10px;
    border: 0;
    padding: 8px 12px;
    transition: ease 0.3s;
}

.gotoadmin:hover button {
    background-color: #007bff;
    transform: translatex(4px);
}

.modal-warning {
    font-size: 3em;
    color: crimson;
    border: 4px solid crimson;
    border-radius: 50%;
    padding: 4%;
    text-align: center;
}

.no-border {
    border: 0 !important;
}


:root {
    --hue: 203;
    --bg: hsl(var(--hue),90%,90%);
    --fg: hsl(var(--hue),90%,10%);
    --primary: hsl(var(--hue),90%,50%);
    --trans-dur: 0.3s;
}





.pl1,
.pl2,
.pl3 {
    display: block;
    width: 4em;
    height: 4em;
}

.pl1__g,
.pl1__rect,
.pl2__rect,
.pl2__rect-g,
.pl3__rect {
    animation: pl1-a 1.5s cubic-bezier(0.65,0,0.35,1) infinite;
}

.pl1__g {
    transform-origin: 64px 64px;
}

.pl1__rect:first-child {
    animation-name: pl1-b;
}

.pl1__rect:nth-child(2) {
    animation-name: pl1-c;
}

.pl2__rect,
.pl2__rect-g {
    animation-name: pl2-a;
}

.pl2__rect {
    animation-name: pl2-b;
}

.pl2__rect-g .pl2__rect {
    transform-origin: 20px 128px;
}

.pl2__rect-g:first-child,
.pl2__rect-g:first-child .pl2__rect {
    animation-delay: -0.25s;
}

.pl2__rect-g:nth-child(2),
.pl2__rect-g:nth-child(2) .pl2__rect {
    animation-delay: -0.125s;
}

    .pl2__rect-g:nth-child(2) .pl2__rect {
        transform-origin: 64px 128px;
    }

.pl2__rect-g:nth-child(3) .pl2__rect {
    transform-origin: 108px 128px;
}

.pl3__rect {
    animation-name: pl3;
}

.pl3__rect-g {
    transform-origin: 64px 64px;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: hsl(var(--hue),90%,10%);
        --fg: hsl(var(--hue),90%,90%);
    }
}

/* Animations */
@keyframes pl1-a {
    from {
        transform: rotate(0);
    }

    80%, to {
        animation-timing-function: steps(1,start);
        transform: rotate(90deg);
    }
}

@keyframes pl1-b {
    from {
        animation-timing-function: cubic-bezier(0.33,0,0.67,0);
        width: 40px;
        height: 40px;
    }

    20% {
        animation-timing-function: steps(1,start);
        width: 40px;
        height: 0;
    }

    60% {
        animation-timing-function: cubic-bezier(0.65,0,0.35,1);
        width: 0;
        height: 40px;
    }

    80%, to {
        width: 40px;
        height: 40px;
    }
}

@keyframes pl1-c {
    from {
        animation-timing-function: cubic-bezier(0.33,0,0.67,0);
        width: 40px;
        height: 40px;
        transform: translate(0,48px);
    }

    20% {
        animation-timing-function: cubic-bezier(0.33,1,0.67,1);
        width: 40px;
        height: 88px;
        transform: translate(0,0);
    }

    40% {
        animation-timing-function: cubic-bezier(0.33,0,0.67,0);
        width: 40px;
        height: 40px;
        transform: translate(0,0);
    }

    60% {
        animation-timing-function: cubic-bezier(0.33,1,0.67,1);
        width: 88px;
        height: 40px;
        transform: translate(0,0);
    }

    80%, to {
        width: 40px;
        height: 40px;
        transform: translate(48px,0);
    }
}

@keyframes pl2-a {
    from, 25%, 66.67%, to {
        transform: translateY(0);
    }

    50% {
        animation-timing-function: cubic-bezier(0.33,0,0.67,0);
        transform: translateY(-80px);
    }
}

@keyframes pl2-b {
    from, to {
        animation-timing-function: cubic-bezier(0.33,0,0.67,0);
        width: 40px;
        height: 24px;
        transform: rotate(180deg) translateX(0);
    }

    33.33% {
        animation-timing-function: cubic-bezier(0.33,1,0.67,1);
        width: 20px;
        height: 64px;
        transform: rotate(180deg) translateX(10px);
    }

    66.67% {
        animation-timing-function: cubic-bezier(0.33,1,0.67,1);
        width: 28px;
        height: 44px;
        transform: rotate(180deg) translateX(6px);
    }
}

@keyframes pl3 {
    from {
        transform: translate(64px,0);
        width: 64px;
        height: 64px;
    }

    25% {
        transform: translate(0,0);
        width: 128px;
        height: 32px;
    }

    50% {
        transform: translate(0,0);
        width: 64px;
        height: 64px;
    }

    75% {
        transform: translate(0,0);
        width: 32px;
        height: 128px;
    }

    to {
        transform: translate(0,64px);
        width: 64px;
        height: 64px;
    }
}

:root {
    --background: #0181cB;
    --navbar-width: 256px;
    --navbar-width-min: 80px;
    --navbar-dark-primary: rgba(24, 40, 59, 0.9);
    --navbar-dark-secondary: #2c3e50;
    --navbar-light-primary: #f5f6fa;
    --navbar-light-secondary: #8392a5;
}

#nav-toggle:checked ~ #nav-header {
    width: calc(var(--navbar-width-min) - 16px);
}

#nav-toggle:checked ~ #nav-content, #nav-toggle:checked ~ #nav-footer {
    width: var(--navbar-width-min);
}

#nav-toggle:checked ~ #nav-header #nav-title {
    opacity: 0;
    pointer-events: none;
    transition: opacity .1s;
}

#nav-toggle:checked ~ #nav-header label[for="nav-toggle"] {
    left: calc(50% - 8px);
    transform: translate(-50%);
}

#nav-toggle:checked ~ #nav-header #nav-toggle-burger {
    background: var(--navbar-light-primary);
}

    #nav-toggle:checked ~ #nav-header #nav-toggle-burger:before, #nav-toggle:checked ~ #nav-header #nav-toggle-burger::after {
        width: 16px;
        background: var(--navbar-light-secondary);
        transform: translate(0, 0) rotate(0deg);
    }

#nav-toggle:checked ~ #nav-content .nav-button span {
    opacity: 0;
    transition: opacity .1s;
}

#nav-toggle:checked ~ #nav-content .nav-button .fa-solid {
    min-width: calc(100% - 16px);
}

#nav-toggle:checked ~ #nav-footer #nav-footer-avatar {
    margin-left: 0;
    left: 50%;
    transform: translate(-50%);
}

#nav-toggle:checked ~ #nav-footer #nav-footer-titlebox, #nav-toggle:checked ~ #nav-footer label[for="nav-footer-toggle"] {
    opacity: 0;
    transition: opacity .1s;
    pointer-events: none;
}

#nav-bar {
    position: absolute;
    height: 100%;
    opacity: 0.5;
    background: var(--navbar-dark-primary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    color: var(--navbar-light-primary);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow: hidden;
    user-select: none;
    transition: all .2s;
    box-shadow:  0 0 6px rgba(0,0,0,0.8);
}

    #nav-bar:hover {
        opacity: 1;
    }

    #nav-bar hr {
        margin: 0;
        position: relative;
        left: 16px;
        width: calc(100% - 32px);
        border: none;
        border-top: solid 1px var(--navbar-dark-secondary);
    }

    #nav-bar a {
        color: inherit;
        text-decoration: inherit;
    }

    #nav-bar input[type="checkbox"] {
        display: none;
    }

#nav-header {
    position: relative;
    width: var(--navbar-width);
    left: 16px;
    width: calc(var(--navbar-width) - 16px);
    min-height: 80px;
    border-radius: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: width .2s;
}

    #nav-header hr {
        position: absolute;
        bottom: 0;
    }

#nav-title {
    font-size: 1.5rem;
    transition: opacity 1s;
}

label[for="nav-toggle"] {
    position: absolute;
    right: 0;
    width: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#nav-toggle-burger {
    position: relative;
    width: 16px;
    height: 2px;
    background: var(--navbar-dark-primary);
    border-radius: 99px;
    transition: background .2s;
}

    #nav-toggle-burger:before, #nav-toggle-burger:after {
        content: '';
        position: absolute;
        top: -6px;
        width: 10px;
        height: 2px;
        background: var(--navbar-light-primary);
        border-radius: 99px;
        transform: translate(2px, 8px) rotate(30deg);
        transition: .2s;
    }

    #nav-toggle-burger:after {
        top: 6px;
        transform: translate(2px, -8px) rotate(-30deg);
    }

#nav-content {
    margin: -16px 0;
    padding: 16px 0;
    position: relative;
    flex: 1;
    width: var(--navbar-width);
    direction: rtl;
    overflow-x: hidden;
    transition: width .2s;
}

    #nav-content::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    #nav-content::-webkit-scrollbar-thumb {
        border-radius: 99px;
        background-color: #D62929;
    }

    #nav-content::-webkit-scrollbar-button {
        height: 16px;
    }

#nav-content-highlight {
    position: absolute;
    left: 16px;
    top: -70px;
    width: calc(100% - 16px);
    height: 54px;
    background: var(--background);
    background-attachment: fixed;
    border-radius: 16px 0 0 16px;
    transition: top .2s;
}

    #nav-content-highlight:before, #nav-content-highlight:after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 100%;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        box-shadow: 16px 16px var(--background);
    }

    #nav-content-highlight:after {
        top: 100%;
        box-shadow: 16px -16px var(--background);
    }

.nav-button {
    position: relative;
    margin-left: 16px;
    height: 54px;
    display: flex;
    align-items: center;
    color: var(--navbar-light-secondary);
    direction: ltr;
    cursor: pointer;
    z-index: 1;
    transition: color .2s;
}

    .nav-button span {
        transition: opacity 1s;
    }

    .nav-button .fa-solid {
        transition: min-width .2s;
    }

    .nav-button:nth-of-type(1):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(1):hover ~ #nav-content-highlight {
            top: 16px;
        }

    .nav-button:nth-of-type(2):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(2):hover ~ #nav-content-highlight {
            top: 70px;
        }

    .nav-button:nth-of-type(3):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(3):hover ~ #nav-content-highlight {
            top: 124px;
        }

    .nav-button:nth-of-type(4):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(4):hover ~ #nav-content-highlight {
            top: 178px;
        }

    .nav-button:nth-of-type(5):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(5):hover ~ #nav-content-highlight {
            top: 232px;
        }

    .nav-button:nth-of-type(6):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(6):hover ~ #nav-content-highlight {
            top: 286px;
        }

    .nav-button:nth-of-type(7):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(7):hover ~ #nav-content-highlight {
            top: 340px;
        }

    .nav-button:nth-of-type(8):hover {
        color: var(--navbar-light-primary);
    }

        .nav-button:nth-of-type(8):hover ~ #nav-content-highlight {
            top: 394px;
        }

#nav-bar .fa-solid {
    min-width: 3rem;
    text-align: center;
}

#nav-footer {
    position: relative;
    width: var(--navbar-width);
    height: 54px;
    background: var(--navbar-dark-secondary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: width .2s, height .2s;
}

#nav-footer-heading {
    position: relative;
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
}

#nav-footer-avatar {
    position: relative;
    margin: 11px 0 11px 16px;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    transform: translate(0);
    transition: .2s;
}

    #nav-footer-avatar img {
        height: 100%;
    }

#nav-footer-titlebox {
    position: relative;
    margin-left: 16px;
    width: 10px;
    display: flex;
    flex-direction: column;
    transition: opacity 1s;
}

#nav-footer-subtitle {
    color: var(--navbar-light-secondary);
    font-size: .6rem;
}

#nav-footer-toggle:checked + #nav-footer {
    height: 30%;
    min-height: 54px;
}

    #nav-footer-toggle:checked + #nav-footer label[for="nav-footer-toggle"] {
        transform: rotate(180deg);
    }

label[for="nav-footer-toggle"] {
    position: absolute;
    right: 0;
    width: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform .2s, opacity .2s;
}

#nav-footer-content {
    margin: 0 16px 16px 16px;
    border-top: solid 1px var(--navbar-light-secondary);
    padding: 16px 0;
    color: var(--navbar-light-secondary);
    font-size: .8rem;
    overflow: auto;
}

    #nav-footer-content::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    #nav-footer-content::-webkit-scrollbar-thumb {
        border-radius: 99px;
        background-color: #D62929;
    }

.accordion {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}


.panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.settings {
    right: -100vw;
}

.settings2 {
    right: -200vw;
}

#nav-bar2 {
    position: absolute;
    top: 1vw;
    height: calc(100% - 2vw);
    background: var(--navbar-dark-primary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    color: var(--navbar-light-primary);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow: hidden;
    user-select: none;
    transition: all .2s;
}

    #nav-bar2:hover {
        opacity: 1 !important;
    }

    #nav-bar2 hr {
        margin: 0;
        position: relative;
        left: 16px;
        width: calc(100% - 32px);
        border: none;
        border-top: solid 1px var(--navbar-dark-secondary);
    }

    #nav-bar2 a {
        color: inherit;
        text-decoration: inherit;
    }

    #nav-bar2 input[type="checkbox"] {
        display: none;
    }

#nav-toggle:checked ~ #nav-header2 #nav-title2 {
    opacity: 0;
    pointer-events: none;
    transition: opacity .1s;
}

#nav-title2 {
    font-size: .8rem;
    transition: opacity 1s;
}

#nav-header2 {
    position: relative;
    width: var(--navbar-width);
    text-align: center;
    width: calc(var(--navbar-width) - 16px);
    min-height: 80px;
    border-radius: 16px;
    z-index: 2;
    justify-content: center;
    display: grid;
    align-items: center;
    transition: width .2s;
}

    #nav-header2 hr {
        position: absolute;
        bottom: 0;
    }

#nav-toggle:checked ~ #nav-header2 {
    width: calc(var(--navbar-width-min) - 16px);
}

    #nav-toggle:checked ~ #nav-header2 #nav-title {
        opacity: 0;
        pointer-events: none;
        transition: opacity .1s;
    }

    #nav-toggle:checked ~ #nav-header2 label[for="nav-toggle"] {
        left: calc(50% - 8px);
        transform: translate(-50%);
    }

    #nav-toggle:checked ~ #nav-header2 #nav-toggle-burger {
        background: var(--navbar-light-primary);
    }

        #nav-toggle:checked ~ #nav-header2 #nav-toggle-burger:before, #nav-toggle:checked ~ #nav-header2 #nav-toggle-burger::after {
            width: 16px;
            background: var(--navbar-light-secondary);
            transform: translate(0, 0) rotate(0deg);
        }

#windows {
    margin-left: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 80px );
    column-gap: 0px;
    row-gap: 1px;
    padding:10px;
    border-radius:4px;

}

.selected {
    border: 4px solid forestgreen;
}

.viewchange {
    background: unset;
    box-shadow: unset;
    width: 100%;
    border: unset;
}

.imgWindows {
    position: relative;
    display: block;

    overflow: hidden;
    object-fit: fill;
}

.divWindows {
    position: relative;
    border: 1px solid gray;
    overflow: hidden;
}

.spanWindows {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    bottom: 0;
    left: 0;
    font-size: 12px;
    padding: 4px 14px;
}
.mute-button {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size:12px;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 4px;
}
.fullPb > .spanWindows {
    font-size: 18px;
    padding: 8px 16px;
}

.windowsLoader {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
    bottom: 0;
    left: 0;
}


.watermark-canvas {
    position: absolute;
    top: -50%;
    left: 30%;
    object-fit: cover;
    transform: rotate(-45deg) translate(-50%, -50%);
    pointer-events: none;
    Su damgası üzerine tıklanamaz olsun
}

.custom-icon {
    color: white;
}

    .custom-icon div > i {
        background-color: forestgreen;
        font-size: 20px;
        border-radius: 50% 50% 60% 60%;
    }

    .custom-icon > div {
        background-color: forestgreen;
        padding: 4px 8px;
        font-size: 10px;
        display: grid;
        row-gap: 4px;
        text-align: center;
        justify-content: center;
        width: 100%;
        min-width: 100px;
        max-width: 200px;
        border-radius: 10px;
    }

        .custom-icon > div > p {
            margin: 0;
        }

            .custom-icon > div > p:after {
                content: '';
                position: absolute;
                bottom: -50px;
                z-index: -1;
                left: 52%;
                transform: rotate(-45deg) translate(-50%, -50%);
                background-color: forestgreen;
                height: 8px;
                width: 8px;
                border-radius: 0px;
            }

#nav-bar3 {
    position: absolute;
    top: 1vw;
    height: calc(100% - 2vw);
    background: var(--navbar-dark-primary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    color: var(--navbar-light-primary);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow: hidden;
    user-select: none;
    width: 600px;
    opacity: 0.8;
    transition: all .2s;
}

    #nav-bar3:hover {
        opacity: 1 !important;
    }

    #nav-bar3 hr {
        margin: 0;
        position: relative;
        left: 16px;
        width: calc(100% - 32px);
        border: none;
        border-top: solid 1px var(--navbar-dark-secondary);
    }

    #nav-bar3 a {
        color: inherit;
        text-decoration: inherit;
    }

    #nav-bar3 input[type="checkbox"] {
        display: none;
    }

#nav-toggle:checked ~ #nav-header3 #nav-title3 {
    opacity: 0;
    pointer-events: none;
    transition: opacity .1s;
}

#nav-title3 {
    font-size: 1.2rem;
    transition: opacity 1s;
}

#nav-header3 {
    position: relative;
    width: 100%;
    text-align: center;
    min-height: 80px;
    border-radius: 16px;
    z-index: 2;
    justify-content: center;
    display: grid;
    align-items: center;
    transition: width .2s;
}

    #nav-header3 hr {
        position: absolute;
        bottom: 0;
    }

#nav-toggle:checked ~ #nav-header3 {
    width: calc(var(--navbar-width-min) - 16px);
}

    #nav-toggle:checked ~ #nav-header3 #nav-title {
        opacity: 0;
        pointer-events: none;
        transition: opacity .1s;
    }

    #nav-toggle:checked ~ #nav-header3 label[for="nav-toggle"] {
        left: calc(50% - 8px);
        transform: translate(-50%);
    }

    #nav-toggle:checked ~ #nav-header3 #nav-toggle-burger {
        background: var(--navbar-light-primary);
    }

        #nav-toggle:checked ~ #nav-header3 #nav-toggle-burger:before, #nav-toggle:checked ~ #nav-header2 #nav-toggle-burger::after {
            width: 16px;
            background: var(--navbar-light-secondary);
        }

.snapshotClass {
    display: flex;
    align-items: center;
    font-size: 1.2em;
}

    .snapshotClass > p {
        opacity: 0;
        position: relative;
        left: -10px;
        font-size: 0.8em;
        transition: all 0.2s;
    }

    .snapshotClass:hover > p {
        opacity: 1;
        left: 10px;
    }

@media screen and (max-width:1050px) {
    .main-sidebar {
        height: 100vh !important;
        position: fixed !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.child {
        font-size: 0.9em;
    }

    table.dataTable > tbody > tr.child ul.dtr-details > li {
        column-gap: 0px;
    }

        table.dataTable > tbody > tr.child ul.dtr-details > li > span > button {
            font-size: 0.9em;
        }

    #video-div{
        height:80vh;
    }
    #windows {
        margin-left: 120px;
        width: calc(100% - 120px );
    }
    #nav-bar{
        opacity:1;
    }
}

.replayCambtn {
    border-radius: 10px 50px 50px 10px;
    width: 100%;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #032030;
    text-align: left;
    padding: 6px 5px 6px 10px;
    font-size: 1em;
    background-color: #003554;
    transition: all 0.2s ease;
}

    .replayCambtn:hover {
        color: white;
        background-color: #006494;
        padding: 6px 5px 6px 15px;
    }

.datepicker-days {
    font-size: 12px;
}

.datepicker.datepicker-inline td, .datepicker.datepicker-inline th, .datepicker.dropdown-menu td, .datepicker.dropdown-menu th {
    padding: 4px 6px !important;
}

.split {
    width: 10vw;
    border-color: lightgray;
}

.datepicker-inline {
    width: 100% !important;
}

.controlPanel {
    /* From https://css.glass */
    color: white;
    background: rgba(2, 43, 66, 01);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(2, 43, 66, 0.3);
    z-index: 4;
}

.selected2 {
    background-color: #006DA4;
}

.selected-light {
    height: 25px;
    width: 25px;
    display: grid;
    border-radius: 50px;
    background-color: #032030;
}

.selected2 > .selected-light {
    background-color: forestgreen;
    border: 6px solid #032030;
}

.videoPanel {
    /* From https://css.glass */
    color: white;
    background: rgba(2, 43, 66, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(2, 43, 66, 0.3);
    position: absolute;
    padding: 15px 5px;
    transition: all 0.5s ease;
    align-items: center;
    z-index: 3;
}

    .videoPanel > div {
        height: 600px;
        overflow: auto;
        row-gap: 6px;
    }

.replayVideobtn {
    border-radius: 10px 50px 50px 10px;
    width: 100%;
    color: white;
    display: flex;
    column-gap: 20px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 1px rgba(3, 32, 48, 0.9), 0 2px 2px rgba(3, 32, 48, 0.9);
    border: 0;
    text-align: left;
    padding: 6px 5px 6px 10px;
    font-size: 0.9em;
    background-color: transparent;
    transition: all 0.2s ease;
}

    .replayVideobtn:hover {
        background-color: #006494;
    }

.selected3 {
    background-color: #006494;
}

.selected-light-video {
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;
    border-radius: 50px;
    background-color: #032030;
}

.selected3 > .selected-light-video {
    background-color: forestgreen;
}

.panel-left {
    /*    left: 260px;*/
    transform: translateX(240px);
    padding-right: 25px;
}

.loading {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.loading__dot {
    animation: dot ease-in-out 1s infinite;
    background-color: grey;
    display: inline-block;
    height: 5px;
    margin: 0px 2px;
    width: 5px;
    border-radius: 50%;
}

    .loading__dot:nth-of-type(2) {
        animation-delay: 0.2s;
    }

    .loading__dot:nth-of-type(3) {
        animation-delay: 0.3s;
    }

@keyframes dot {
    0% {
        background-color: grey;
        transform: scale(1);
    }

    50% {
        background-color: #bada55;
        transform: scale(1.3);
    }

    100% {
        background-color: grey;
        transform: scale(1);
    }
}

.filesClose {
    cursor: pointer;
    top: 50%;
    position: absolute;
    right: 0px;
}

    .filesClose > small {
        background-color: rgba(2, 43, 66, 0.8);
        padding: 10px 4px 10px 6px;
        border-radius: 10px 0 0 10px;
        font-size: 1em;
    }

.filesCloseOpen {
    right: -20px;
}

    .filesCloseOpen > small {
        border-radius: 0px 10px 10px 0px !important;
    }

.toggleBtnCam {
    --s: 20px; /* adjust this to control the size*/

    height: calc(var(--s) + var(--s)/5);
    width: auto; /* some browsers need this */
    aspect-ratio: 2.25;
    border-radius: var(--s);
    margin: calc(var(--s)/2);
    display: grid;
    cursor: pointer;
    background-color: #ff7a7a;
    box-sizing: content-box;
    overflow: hidden;
    transition: .3s .1s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .toggleBtnCam:before {
        content: "";
        padding: calc(var(--s)/10);
        --_g: radial-gradient(circle closest-side at calc(100% - var(--s)/2) 50%,#000 96%,#0000);
        background: var(--_g) 0 /var(--_p,var(--s)) 100% no-repeat content-box, var(--_g) var(--_p,0)/var(--s) 100% no-repeat content-box, #fff;
        mix-blend-mode: darken;
        filter: blur(calc(var(--s)/12)) contrast(11);
        transition: .4s, background-position .4s .1s, padding cubic-bezier(0,calc(var(--_i,-1)*200),1,calc(var(--_i,-1)*200)) .25s .1s;
    }

    .toggleBtnCam:checked {
        background-color: #85ff7a;
    }

        .toggleBtnCam:checked:before {
            padding: calc(var(--s)/10 + .05px) calc(var(--s)/10);
            --_p: 100%;
            --_i: 1;
        }

@media screen and (max-width:1050px) {
    #settingsPanel {
        margin-top: 40px;
        order: 2;
        width: 100%;
        flex-direction: row !important;
        flex-wrap: wrap;
    }

        #settingsPanel > div:first-child {
            width: 100%;
        }

        #settingsPanel > div:nth-child(2) {
            width: 100%;
        }

        #settingsPanel > div:nth-child(5) {
            width: 100%;
        }

        #settingsPanel > hr {
            width: 100%;
        }

        #settingsPanel > button {
            width: 100%;
        }

        #settingsPanel > p {
            text-align: center;
            width: 100%;
        }

    .datepicker-days > table {
        width: 100%
    }

    #videoPlayers {
        order: 1;
        padding-left: 0px;
        padding-right: 0px;
    }

    .videoPanel {
        transform: translateY(190px);
        width: 89%;
        /* margin: 0 10px; */
        padding-left: unset;
        left: 0;
        margin: 1.25rem;
        right: 0;
    }

        .videoPanel > div {
            height: 200px;
            overflow: auto;
            row-gap: 6px;
            width: 100%;
        }

    .panel-left {
        /*    left: 260px;*/
        transform: translateY(-20px);
        padding-top: 30px;
        padding-right: unset;
    }



    .filesClose {
        cursor: pointer;
        top: 0;
        transform: rotate(-90deg);
        position: absolute;
        right: 50%;
    }

    .filesCloseOpen {
        top: -20px;
    }
}
