@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-VariableFont_wght.ttf')  format('truetype');
}

* { padding: 0; margin: 0; }

html {
    height: 100%;
}

header {
    align-content: center;
    padding: 10px 25px;
    height: 0;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 997;
}

body {
    font-family: "Montserrat";
    overflow-x: hidden;
    position: relative;
    height: 100%;
    /* background: linear-gradient(45deg, #1de099cc, #1d60e0cc); */
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

main {
    width: 100%;
    height: 100%;
}

footer {
    position: absolute;
    bottom: 10px;
    right: 10px;
    /* color: #fff; */
}

#main-content {
    width: 100%;
    height: 100%;
}

.color-white {
    color: #fff;
}

.color-hy {
    color: #002B5F;
}

.color-gold {
    color: #ffd700;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.items-cen {
    align-items: center;
}

.font-s32 {
    font-size: 32px;
}

.font-s28 {
    font-size: 28px;
}

.font-s24 {
    font-size: 24px;
}

.font-s18 {
    font-size: 18px;
}

.font-s14 {
    font-size: 14px;
}

.font-we-bold {
    font-weight: bold;
}

.upper-case {
    text-transform: uppercase;
}

.text-underline {
    text-decoration: underline;
}

.bgc-dimgray {
    background-color: #696969;
}

.bgc-white {
    background-color: #fff;
}

.content-center {
    align-content: center;
}

.m-width-100 {
    max-width: 100%;
}

.logo-set {
    width: 250px;
}

.head {
    margin-bottom: 28px;
}

.tail {
    margin-top: 28px;
}

/* .realtime-wrapper-content,
.history-table-content {
    
} */

.realtime-wrapper-table {
    border: 2px solid #fff;
}

.env-content {
    max-width: 80%;
    min-height: 200px;
    margin: auto;
    /* padding-top: 32px; */

    padding-top: 52px;
}

.head-field {
    width: 20%;
    text-align: center;
    border: 2px solid #fff;
}

.body-content {
    flex-wrap: wrap;
    width: 100%;
}

.body-field {
    flex-direction: column;
    align-items: center;
    color: white;
    width: 25%;
    box-sizing: border-box;
    border: 2px solid #fff;
    padding: 20px 10px;
}

.note-content {
    margin-top: 12px;
}

.note-element {
    padding: 0 14px;
    max-width: 30%;
    min-height: 40px;
    border: 1px solid #fff;
    border-radius: 8px;
    align-content: center;
    font-weight: 500;
}

.note-element + .note-element {
    margin-left: 5px;
}


table {
    border-collapse: collapse;
    width: 100%;
}
table th:first-child,
table td:first-child {
    width: 120px;
    min-width: 120px;
}
table tbody td:first-child, 
table tbody td:last-child {
    color: #000;
}
th, td {
    border: 1px solid #aaa;
    padding: 8px;
    text-align: center;
    font-weight: bold;
}
td {
    color: white;
}
.red {
    background-color: #d8534e;
}
.yellow {
    background-color: #f0ae4e;
}
.blue {
    background-color: #337bb7;
}

.tab-container {
    display: flex;
    margin-top: 24px;
    justify-content: flex-end;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.tab-btn:hover {
    opacity: 0.7;
}

.tab-btn.active {
  background-color: #002B5F;
}

.tab-content {
    background-color: #000;
    padding: 24px 48px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.tab-panel.showing {
  display: block;
  opacity: 0;
}

.tab-panel.active {
  display: block;
  opacity: 1;
}

.slick-slider {
    display: none;
}

.slick-initialized .slick-slide {
    display: table !important;
}

.slick-custom-prev,
.slick-custom-next {
    width: 28px;
    height: 52px;
    background-color: #fff;
    font-size: 32px;
    border: none;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.slick-custom-prev {
  left: -38px;
}

.slick-custom-next {
  right: -38px;
}

.slick-custom-prev:hover,
.slick-custom-next:hover {
    opacity: 0.7;
}

.loading-wrapper {
    height: 500px;
    text-align: center;
    align-content: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #002B5F;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 
