main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}


.bold {
    font-weight: bold;
}

.bg-danger-light {
    --bs-bg-opacity: 0.5;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

.bg-success-light {
    --bs-bg-opacity: 0.5;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}





@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


#chart {
    height: 440px;
}

.tooltip-header {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 1px solid #c5c5c5;
}

.tooltip-body {
    width: 170px;
}

.tooltip-body .series-name {
    font-weight: normal;
    opacity: 0.6;
    display: inline-block;
    line-height: 1.5;
    padding-right: 10px;
    width: 126px;
}

.tooltip-body .value-text {
    display: inline-block;
    line-height: 1.5;
    width: 30px;
}

.dark-block {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.dark-theme {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    min-height: 100vh;
    padding: 20px;
}

.dark-theme .card {
    background-color: #2d2d2d;
    border-color: #454545;
}

.dark-theme .table-dark {
    background-color: #2d2d2d;
}

.dark-theme .table-dark thead th {
    border-color: #454545;
    color: #b0b0b0;
}

.dark-theme .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-theme .list-group-item {
    background-color: #2d2d2d;
    border-color: #454545;
}

.dark-theme .list-group-item-action:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-theme .text-muted {
    color: #8a8a8a !important;
}

.dark-theme .form-control {
    background-color: #3d3d3d;
    border-color: #454545;
    color: #e0e0e0;
}

.dark-theme .form-control:focus {
    background-color: #4d4d4d;
    border-color: #555;
    color: #fff;
}

.dark-theme .badge-secondary {
    background-color: #4a4a4a;
}








.preloader {
    /*position: fixed;*/
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    /* фоновый цвет */
    /*background: rgba(224, 224, 224, 0);*/
    z-index: 1001;
}

.preloader__image {
    /*position: relative;*/
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    text-align: center;
    animation: preloader-rotate 2s infinite linear;
}

@keyframes preloader-rotate {
    100% {
        transform: rotate(360deg);
    }
}

.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}

.loaded .preloader {
    display: none;
}


.tv-chart {
    width: 100%;
    height: 70vh!important;
}

.tv-mini {
    height: 100px!important;
}

#chart-panel {
    width: 100%;
    height: 100%;

    cursor: crosshair;
}

.small.text-muted {
    font-size: 0.8em;
    color: #6c757d;
    line-height: 1.2;
}