html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
    margin: 0;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


body {
  margin-bottom: 60px;
}

mainWindow {
    height: 780px;
}

main {
    min-height: 780px;
    max-height: 780px;
}

.mki_hand {
    cursor: pointer !important;
}

.btn:hover {
    background-color: teal;
    color: white;
}

.list-group-item:hover {
    background-color: teal;
    color: white;
}

.mki-filter-btn {
    background-color: #FFFFFF;
    color: #000000;
    font-size: 14px;
    min-width: 40px;
}

.mki-filter-btn-selected {
    background-color: blue;
    color: white;
}

.mki-period-btn {
    background-color: #FFFFFF;
    color: #000000;
    font-size: 14px;
    min-width: 90px;
}

.mki-period-btn-selected {
    background-color: blue;
    color: white;
}

.mki-command-btn {
    font-size: 14px;
    height: 40px;
    width:37px;
}

.app-shell {
    height: 100vh;
    overflow: hidden;
}

/* LEFT PANEL (static) */
.left-panel {
    width: 180px;
    flex-shrink: 0;
/*    background-color: #343a40;
    color: white;*/
}

/* MAIN PANEL */
#mainContent {
    transition: all 0.25s ease;
}

/* RIGHT PANEL */
.side-panel {
    width: 180px;
    flex-shrink: 0;
    transition: width 0.25s ease;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

    .side-panel.collapsed {
        width: 20px;
    }

/* Toggle button */
.toggle-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 60px;
    border-radius: 0 6px 6px 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.5;
}

    .toggle-btn:hover {
        opacity: 1;
    }
/* Hide content when collapsed */
.side-panel.collapsed .panel-content {
    opacity: 0;
    pointer-events: none;
}

.panel-content {
    transition: opacity 0.15s ease;
}

/* Demo visuals */
.demo-box {
    background: #e9ecef;
    border: 1px solid #ccc;
    height: 100%;
    padding: 20px;
}


/*.textPanel {
    margin-top: auto;
}*/

.filters {
    /*    height: inherit;
*/
}

.mki-header {
    height: 30px;
    width:100%;
}

.p-spinner {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    font-size: 90px;
}

.spinner {
    position: absolute;
    z-index: 1031;
    top: 50%;
    left: 50%;
    display: none;
    transform: translate(-50%, -50%);
    font-size: 90px;
}

.visualization-pdf-template > * {
    position: absolute;
    left: 100px;
    right: 100px;
    font-size: 90%;
}


.visualization-pdf-template .visualization-pdf-header {
    position: absolute;
    top: 80px;
    border-bottom: 1px solid LightGray;
}


.visualization-chart-title {
    font-size: 24px;
    font-weight: bold;
    color: #d2794f;
}

.visualization-chart-date {
    font-size: 12px;
    font-weight: bold;
    color: #d2794f;
    text-align: right;
}

.visualization-chart-subtitle1 {
    position: absolute;
    top: 130px;
    font-size: 16px;
    color: darkgray;
    width: 100%;
}

.visualization-chart-subtitle2 {
    position: absolute;
    top: 160px;
    font-size: 16px;
    color: darkgray;
    width: 100%;
}

.visualization-chart-footer {
    bottom: 20px;
    font-size: 10px;
    width: 800px;
    border-top: 1px solid #000;
}

.visualization-pdf-template .visualization-pdf-footer {
    bottom: 40px;
    border-top: 1px solid LightGray;
}

.visualization-pdf-template .visualization-pdf-footer-left {
    position: absolute;
    bottom: 1cm;
    left: 2cm;
}

.visualization-pdf-template .visualization-pdf-footer-right {
    position: absolute;
    bottom: 1cm;
    right: 2cm;
}

.table-responsive {
    max-height: 670px;
}