﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
:root {
    --theme-fg-color: white;
    --theme-bg-color: rgb(59, 80, 96);
    --theme-bg-navbar-color: rgb(82, 110, 130);
    --theme-light-color: rgb(235, 235, 235);
    --theme-dark-color: rgb(66, 91, 110);
    --theme-dark2-color: rgb(46, 63, 76);
    --btn-color-default: rgb(82, 110, 130);
    --btn-link-color: #3cfefe;
    --navbar-height: 62px;
    --footer-height: 70px;
    --view-header-height: 100px;
    --view-header-bill-height: 180px;
}

body {
    color: var(--theme-fg-color);
    background-color: var(--theme-bg-color);
    /*overflow-y: hidden;*/
    height: 100vh;
    overflow-y: auto;
}

    body > .container {
        /*height: calc(100vh - var(--navbar-height));*/
        /*height: 100vh;
        padding-top: var(--navbar-height);
        max-width: 100vw;*/

        /*position: absolute;*/
        position: relative;
        height: calc(100vh - var(--navbar-height) - var(--footer-height) );
        max-width: 100vw;
        top: var(--navbar-height);
        /*margin-top: var(--navbar-height);*/
        margin-bottom: var(--footer-height);
    }

#root {
    height: 100%;
}

    #root > .containerx {
        padding-top: var(--navbar-height);
    }

.app-btn {
/*    width: 210px;*/
    height: 60px;
    line-height: 50px;
    font-size: x-large;
    margin-bottom: 20px;
    border: 0;
    border-radius: 4px;
    color: white;
    background-color: var(--theme-bg-navbar-color);
}

@media (max-width: 825px) {
    body > .container {
        overflow-y: hidden;
    }
}

@media (max-width: 420px) {
    body > .container {
        overflow-y: auto;
    }
}

.navbar {
    height: var(--navbar-height);
}

#navbar-title > img {
    width: 160px;
    padding-bottom: 6px;
}

/* change the background color */
.navbar-custom {
    background-color: var(--theme-bg-navbar-color) !important;
}
/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: rgba(255,255,255,.8) !important;
}
/* change the link color */
    .navbar-custom .navbar-nav .nav-link {
        color: rgba(255,255,255,.5) !important;
    }
/* change the color of active or hovered links */
    .navbar-custom .nav-item.active .nav-link,
    .navbar-custom .nav-item:focus .nav-link,
    .navbar-custom .nav-item:hover .nav-link {
        color: #ffffff !important;
    }

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /*height: calc(100vh - var(--footer-height));*/
    height: 100vh;
}

.footer {
    /*position: sticky;
    position: absolute;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    bottom: 0;*/
    width: 100%;
    white-space: nowrap;
    color: var(--theme-fg-color) !important;
    background-color: var(--theme-bg-navbar-color);
    line-height: var(--footer-height);
    border: none !important;
    z-index: 999;
}

.div-view {
    width: 100%;
    height: calc(100vh - var(--navbar-height) - var(--footer-height));
    overflow-y: auto;
    overflow-x: auto;
}

.div-elems {
    width: 500px;
    margin: 0 auto;
}

.row {
    width: 100%;
    margin: 0;
}

@media (max-width: 825px) {

}

@media (max-width: 420px) {
    #navbar-title > img {
        width: 140px;
        padding-bottom: 6px;
    }

    .div-view {
        display: block;
        width: unset;
        min-width: unset;
    }
}

#div-tabs {
    color: white;
    display: flex;
    text-align: center;
    width: 100%;
    height: calc(var(--footer-height) - 1px);
}

.div-tab {
    width: 100%;
    padding: 8px;
    line-height: 0;
}

.tab-img {
    height: var(--footer-height);
}

    .tab-img > a {
        z-index: 999;
        width: 100%;
        height: 100%;
        padding: 2px 0 0 0;
        margin-top: -9px;
    }

        .tab-img > a > img {
            /*width: 40px;*/
            height: 45px;
            object-fit: contain;
        }

.tab-text {
    font-size: 20px;
    /*font-weight: bold;*/
    margin-top: 5px;
    color: white;
    text-shadow: 0 0 20px rgba(245, 190, 40, 0.2), -5px -5px 5px rgba(245, 190, 40, 0.2), -5px 0 5px rgba(245, 190, 40, 0.2), 0 -5px 5px rgba(245, 190, 40,▒45, 190, 40, 0.2);
}

@media (max-width: 420px) {
    .tab-text {
        font-size: 13px;
    }
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.table-items-center td, th {
    text-align: center;
}

.table-item-select > tbody > tr:hover {
    background-color: lightyellow !important;
    cursor: pointer;
}

.loading-text {
    text-align: center;
    color: white;
    font-size: x-large;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
}

.div-loading {
    margin: 0px;
    padding: 0px;
    position: fixed;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #666666;
    background: rgba(128, 128, 128, 0.7);
    z-index: 1000;
}

.div-canvas {
    margin: 0px;
    padding: 0px;
    position: fixed;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    /*background-color: #666666;*/
    background-color: black;
    /*background: rgba(128, 128, 128, 0.7)*/
}

.center-div {
    margin: 0 auto;
}

.modal-header {
    display: block;
}

.modal-title, .modal-footer {
    text-align: center;
    width: 100%;
}

.modal-header .close {
    font-size: 50px;
    margin-top: -8px;
    margin-right: 10px !important;
    padding: 0 !important;
}

.modal-body {
    text-align: center;
    font-size: 20px;
}

.page-header-row {
    background-color: rgba(0, 123, 255, 0.12);
    height: 60px;
}

.page-header-btn-left {
    width: 20%;
    text-align: left;
}

.page-header-btn-right {
    width: 20%;
    text-align: right;
}

.page-header-row > td > a {
    margin-left: 10px;
    margin-right: 10px;
}

.page-header-row > td > h4 {
    text-align: center;
}

.page-header-row > td > input {
    margin-right: 10px;
}

/* intro.js styles */
.introjs-tooltip {
    text-align: center;
    max-width: 100% !important;
    min-width: 500px !important;
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.introjs-tooltiptext {
    color: black;
}

.introjs-tooltipbuttons {
     text-align: center !important; 
}

.introjs-button {
    padding: 15px 15px !important;
    width: 55px;
    margin: 5px !important;
    text-align: center;
    border: 1px solid #d4d4d4;
    font-size: 15px !important;
    font-weight: bold;
}

.introjs-donebutton {
    padding: 15px 15px !important;
    width: 75px;
    margin: 5px !important;
    text-align: center;
    border: 1px solid #d4d4d4;
    font-size: 15px !important;
    font-weight: bold;
}

@media (max-width: 768px) {
    .introjs-tooltip {
        /*max-width: 320px;*/
        min-width: 325px !important;
        font-size: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* 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: red;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    /*background-color: #2196F3;*/
    background-color: limegreen;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }
