:root {
    --db-surface: #ffffff;
    --bs-jp-warm: #c1984d;
    --db-radius: 14px;
    --bs-body-font-size: 1.1rem;
}

[data-bs-theme=dark]:root {
    --db-surface: #1a1a19 !important; /* card background */
    --db-surface-alt: #2c2c2a; /* header / zebra rows */
    --db-border: rgba(255, 255, 255, 0.08);
    --db-text: #f1efe8;
    --db-text-muted: #b4b2a9;
    --db-accent: #888780; /* grey, matches "reset" / neutral controls */
    --db-danger: #f87171;
    --db-success: #34d399;

}

.btn-light {
    --bs-btn-bg: var(--bs-jp-warm);
    --bs-btn-border-color: var(--bs-jp-warm);
    --bs-btn-hover-bg: var(--bs-jp-warm);
    --bs-btn-hover-border-color: var(--bs-jp-warm);
    --bs-btn-active-bg: var(--bs-jp-warm);
    --bs-btn-active-border-color: var(--bs-jp-warm);
    --bs-btn-color: #ffffff;
}


[data-bs-theme=dark] body {
    background-color: #151515
}

body {
    background-repeat: no-repeat;
    background-size: cover;
}

#s0 {
    background-image: url("assets/img/s0bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

#s4 {
	
}

body, html {
    height: 100%;
    width: 100%;
}

th, td {
    color: white;
    -border: 0px !important;
    padding-right: 0.4rem !important;
    padding-left: 0.4rem !important;
}

th {
    color: white;
    border: 0px !important;
    font-family: inherit;
    font-weight: 400;
    font-size: 20px;
	
}

td {
    color: #dddddd;
    -border: 0px !important;
    font-family: inherit;
    font-weight: 300;
    font-size: 18px;
}

.logo {
    font-family: 'Catamaran', sans-serif;
    color: white;
    font-size: 44px;
}

    .logo span:last-child {
        margin-left: 5px;
    }

    .fix .logo span:last-child, .logo.sm span:last-child {
        margin-left: 3px;
    }

    .logo img {
        height: 38px;
        margin-top: -1px;
        margin-right: 10px;
        opacity: 0.8;
    }

    .fix .logo img, .logo.sm img {
        height: 24px !important;
        margin-top: -2px !important;
    }

    .fix .logo, .logo.sm {
        font-size: 30px;
    }

.t400 {
    font-weight: 400;
}

.t100 {
    font-weight: 100;
}


.act {
    background-color: rgb(200, 200, 200, 0.2);
}

.actneg {
    background-color: rgba(248, 72, 72, 0.2);
}

.ftr {
    position: fixed;
    bottom: 0px;
    padding: 5px 0px 5px 0px;
}

.hdr {
    position: fixed;
    top: 0px;
}

.fix {
    position: fixed;
    top: 0px;
    background-color: #233049;
    -webkit-animation: fadein 1s;
    -moz-animation: fadein 1s;
    -ms-animation: fadein 1s;
    -o-animation: fadein 1s;
    animation: fadein 1s;
    z-index: 999;
    bborder-bottom: 1px solid #3b4964;
    background-color: rgb(35, 48, 73, 0.9);
    -webkit-box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.17);
}

.hdr .btn {
    display: none;
}

.fix .btn {
    display: block;
}

.hdr.fix {
    padding-bottom: 5px;
    padding-top: 5px;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#setup_bak {
    animation: 2s foanim;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
}

#s2 {
    background-color: #b1bfce;
    padding-top: 100px;
    padding-bottom: 100px;
}

#vc {
    width: 100%;
    position: absolute;
    overflow: hidden;
    height: 100%;
}

#s3 video {
    position: absolute;
    width: 100%;
}

#vc .vl {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(4, 11, 31, 0.7);
}

#vc.foc .vl {
    animation: 3s fadein;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
}

#vc video {
	
	height: 101%;
    width: 177.77777778vh; /* 100 * 16 / 9 */
    min-width: 101%;
    min-height: 56.25vw; /* 100 * 9 / 16 */
}



@keyframes foanim {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
        visibility: hidden;
    }
}

/* bootstrap card override */
.card {
    --bs-card-bg: var(--db-surface);
    --bs-card-border-color: var(--db-border);
    --bs-card-border-radius: var(--db-radius);
    --bs-card-color: var(--db-text);
    --bs-card-cap-bg: transparent;
    --bs-card-cap-color: var(--db-text);
    border: 1px solid var(--bs-card-border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background-color: var(--bs-card-bg) !I;
}

.card-header,
.card-footer {
    background-color: transparent;
    border-color: var(--db-border);
}

.card-title {
    color: var(--db-text);
    font-weight: 600;
}

.card-subtitle,
.card-text.text-muted {
    color: var(--db-text-muted) !important;
}

/* bootstrap tabel */
.card .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--db-text);
    --bs-table-border-color: var(--db-border);
    --bs-table-striped-bg: var(--db-surface-alt);
    --bs-table-striped-color: var(--db-text);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-color: var(--db-text);
    margin-bottom: 0;
}

    .card .table > thead {
        color: var(--db-text-muted);
        font-size: 0.8125rem;
        font-weight: 500;
        text-transform: none;
        border-bottom: 1px solid var(--db-border);
    }

    .card .table > :not(caption) > * > * {
        border-bottom-width: 1px;
        padding: 0.65rem 0.75rem;
    }

    .card .table .text-danger {
        color: var(--db-danger) !important;
    }

    .card .table .text-success {
        color: var(--db-success) !important;
    }


/* verdere bootstrap overrides */
.display-4 {
    font-size: 8.5rem;
    font-family: 'Catamaran', sans-serif;
    font-weight: 100;
}

.custom-range::-webkit-slider-thumb {
    background: gray;
}

.custom-range::-moz-range-thumb {
    background: gray;
}

.custom-range::-ms-thumb {
    background: gray;
}

small {
    font-size: 0.8rem;
}

.badge-outline-secondary {
	background-color: #3e4a61;
	border: 1px solid #9f9f9f;
}

@media (max-width: 669px) {
    .display-4 {
        font-size: 5.5rem;
    }

    #s0 .row {
        padding-top: 65px;
    }

    #s1 .row {
        display: flex;
        flex-direction: row-reverse;
    }
	
	#s3 {
		background-image: url("assets/img/csnvidbg.jpg");
		background-repeat: no-repeat;
		background-size: cover;
	}

    .hdr .col-12 {
        display: flex;
        justify-content: center;
    }

    @keyframes s1slideR {
        from {
            margin-left: -50px;
            transform: rotateY(0deg);
        }

        to {
            margin-left: 0%;
            transform: rotateX(-30deg);
        }
    }

    #vc {
        display: none;
    }

    #s3 img {
        height: 80px;
        margin-bottom: 20px;
        margin-left: 6px;
    }

    #loginsc {
        display: flex !important;
        align-items: center !important;
    }
}

@media (min-width: 670px) {

	#loginsc {
		justify-content: flex-end !important;
		display: flex !important;
		align-items: center !important;
	}

    #s0base {
        height: 100%;
    }

    #s0 {
        height: 100%;
    }

        #s0 .row {
            padding-top: 12%;
        }

    #s3 {
        width: 100%;
        height: 100%;
    }

    #s1img {
        margin-left: -200px;
        transform-style: preserve-3d;
        transform: rotateY(0deg);
    }

    .s1slide {
        animation: 3s s1slideR;
        animation-fill-mode: forwards;
        animation-delay: 0.3s;
    }

    @keyframes s1slideR {
        from {
            margin-left: -200px;
            transform: rotateY(0deg);
        }

        to {
            margin-left: 0%;
            transform: rotateX(-30deg);
        }
    }

    #s3slogun {
        margin-left: -30px;
        opacity: 0;
    }

    #s3.foc #s3slogun {
        animation: 3s s3slogunAnim;
        animation-fill-mode: forwards;
        animation-delay: 0.3s;
    }

    @keyframes s3slogunAnim {
        from {
            margin-left: -30px;
            opacity: 0;
        }

        to {
            margin-left: 0px;
            opacity: 1;
        }
    }
}

@media (min-width: 768px) {
    .container {
        height: 100%;
    }

    td, th {
        padding-right: 0.4rem !important;
        padding-left: 0.4rem !important;
    }
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}
/* */
.loader,
.loader:before,
.loader:after {
    background: #dddddd;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

.loader {
    color: #dddddd;
    text-indent: -9999em;
    position: relative;
    font-size: 6px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

    .loader:before,
    .loader:after {
        position: absolute;
        top: 0;
        content: '';
    }

    .loader:before {
        left: -1.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .loader:after {
        left: 1.5em;
    }

@-webkit-keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}



/* slider */
.slidecontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
}

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #4CAF50;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border: 0;
        border-radius: 50%;
        background: #4CAF50;
        cursor: pointer;
    }
