:root{
    --bg-header: #262b40!important;
    --fg-header: #eaedf2;
    --body-color: #e9ecef;
}
body {
    min-height: 100vh;
    background-color: var(--body-color);
}
.header {
    background-color: var(--bg-header);
    color: var(--fg-header);
    padding: 15px 30px;
    margin: 0;
}
.footer {
    /* background-color: var(--bg-header); */
    background-color: #fdfdfd;
    color: var(--fg-header);
    font-size: 12px;
    padding: 8px 24px;
}
.license {
    text-align: center; 
    line-height: 38px; 
    color: #262b40; 
    font-weight: 500;
 }
@media screen and (max-width: 770px) {
    .mobile-unfixed-bottom {
        position: relative;
    }
    .mobile-unfixed-top {
        position: relative;
    }
    .uptime {
        text-align: left!important;
    }
    .header {
        padding: 15px;
    }
    .navigation {
        padding: 0 15px!important;
    }
    .nav {
        flex-wrap: nowrap;
    }
    .nav-link {
        padding: 10px 10px;
    }
    .p30 {
        padding: 25px!important;
    }
    .content {
        margin-top: 0px!important;
        overflow: hidden!important;
        height: auto!important;
        padding-bottom: 0px !important;
    }
    .container-fluid {
        padding-right: 0;
        padding-left: 0;
        overflow: hidden;
    }
    .license {
        text-align: left;
    }
    .search-half {
        /* width: auto; */
        left: 100px!important;
    }
  }
.title {
    /* padding: 15px 30px;
    margin: 0; */
    font-size: 24px;
    font-weight: bold;
}
.navigation {
    padding: 0 40px;
}
.nav-link, .navigation {
    background-color: var(--bg-header);
    color: var(--fg-header);
}
.nav-link {
    
}
.nav-link:hover {
    color: white;
}
.nav-link.active {
    background-color: var(--body-color)!important;
    border: 1px solid #e9ecef!important;
}
.content {
    margin-top: 105px;
    /* height: calc(100vh - 155px); */
    padding: 15px 0;
    /* padding: 30px 30px; */
    overflow: auto;
    height: calc(100vh - 150px);
    margin-top: 112px;
}
.p30 {
    padding: 30px 30px;
}
.content h5 {
    padding: 0 30px;
    color: #495057;
}
.content h6 {
    font-size: 13px;
}
th, td {
    white-space: nowrap;
    font-size: 12px;
    color: #7a7a7a;
    height: 29px;
}
.table-sm>:not(caption)>*>* {
    padding: 5px 5px;
    
}
.uptime {
    text-align: right;
    font-size: 14px;
    /* font-weight: bold; */
    color: yellow;
}
.search {
    position: absolute;
    left: 230px;
    width: calc(100% - 250px);
    top:8px;
    padding: 5px 15px;
    font-size: 12px;
    background: #dde0e3;
    border: 1px solid #262b40;
    color: #262b40;
    /* font-weight: bold; */
    border-radius: 5px;
}
.search:focus {
    background: #f7f7f7;
    outline: none;
}
.search-half {
    width: 50%;
}

#tbl_conn > .table > thead > tr > th:first-child,
#tbl_conn > .table > tbody > tr > td:first-child,
#tbl_lgs > .table > thead > tr > th:first-child,
#tbl_lgs > .table > tbody > tr > td:first-child,
#tbl_itrfc > .table > thead > tr > th:first-child,
#tbl_itrfc > .table > tbody > tr > td:first-child {
        padding-left: 30px;
}
#tbl_conn > .table > thead > tr > th:last-child,
#tbl_conn > .table > tbody > tr > td:last-child,
#tbl_lgs > .table > thead > tr > th:last-child,
#tbl_lgs > .table > tbody > tr > td:last-child,
#tbl_itrfc > .table > thead > tr > th:last-child,
#tbl_itrfc > .table > tbody > tr > td:last-child {
        padding-right: 30px;
}

#tbl_itrfc > .table th:nth-child(9),
#tbl_itrfc > .table th:nth-child(10) {
    width: 100px;
}
#tbl_conn > .table th:nth-child(8),
#tbl_conn > .table th:nth-child(9) {
    width: 100px;
}
#tbl_trfc > .table th:nth-child(2),
#tbl_trfc > .table th:nth-child(3),
#tbl_trfc > .table th:nth-child(4),

#tbl_ip_trfc > .table th:nth-child(6),
#tbl_ip_trfc > .table th:nth-child(7),
#tbl_ip_trfc > .table th:nth-child(8),
#tbl_ip_trfc > .table th:nth-child(9){
    width: 100px;
    text-align: center;
}
#tbl_ip_trfc > .table th:nth-child(1),
#tbl_ip_trfc > .table th:nth-child(5) {
    width: 50px;
}

#tbl_trfc > .table td:nth-child(2),
#tbl_trfc > .table td:nth-child(3),
#tbl_trfc > .table td:nth-child(4),
#tbl_ip_trfc > .table td:nth-child(5),
#tbl_ip_trfc > .table td:nth-child(6),
#tbl_ip_trfc > .table td:nth-child(7),
#tbl_ip_trfc > .table td:nth-child(8),
#tbl_ip_trfc > .table td:nth-child(9) {
    text-align: center;
}
#tbl_ip_trfc > .table th:nth-child(2),
#tbl_ip_trfc > .table th:nth-child(3),
#tbl_ip_trfc > .table th:nth-child(4){
    min-width: 200px; 
}

#tbl_conn > .table .link,
#tbl_itrfc > .table .link {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}
#tbl_ip_trfc {
    overflow: auto; 
    max-height: calc(100vh - 400px);
}

/* .tbl_ip_trfc table {
    text-align: center;
} */
.modal.show {
    display: block;
}
.modal.hide {
    display: none;
}
.modal-content {
    background-color: #f1f1f1;
}
.modal-header {
    background: #dde0e3;
}

