* {
    font-family: sans-serif;
}
.logo {
    width: 240px;
    height: 54px;
    padding: 10px 20px;
    background-image: url(/static/image/logo2.png);
    background-size: 157.5px 40px;
    background-position: 15px center;
    background-repeat: no-repeat;
    background-color: white;

    /*border-bottom: 2px solid #2cb1b5;*/
}

.menu {
    width: 100%;
    height: 56px;
    background-color: #f1f0f0;
    min-width: 300px;
    border-bottom: 2px solid #f1f0f0;
    display: flex;
}
.menu > ul {
    background-color: white;
    width: calc(100% - 240px);
    display: flex;
    /*height: calc(100% - 59px);*/
    height: 100%;
    /*margin-top: 5px;*/
    padding: 0 10px;
}
.menu > ul li {
    padding: 5px 10px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    color: #525854;
    cursor: pointer;
}
.menu > ul li

.menu > ul li:hover .sub-menu.right,
.menu > ul li:hover .sub-menu {
    display: block;
}

.menu > ul li > div {
    display: flex;
    align-items: center;
    gap: 5px;
    /*border-bottom: 2px solid #cccccc;*/
    width: 100%;
    height: 40px;
    position: relative;
    /*padding-left: 5px;*/
}

.menu > ul li.on div{
    border-bottom: 2px solid #2cb1b5;
}


.bi.bi-tv-fill {
    width: 25px;
    height: 25px;
    filter: invert(30%) sepia(100%) saturate(130%) hue-rotate(135deg) brightness(149%) contrast(100%);
}

.hover-underline {
    position: relative;
    display: inline-block;
    color: black; /* 텍스트 색상 */
    text-decoration: none;
}
/*.sub-menu > li::after,*/
.sub-menu li {
    font-size: 14px !important;
}
.menu > ul li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 100%;
    background-color: #2cb1b5;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
/*.sub-menu > li:hover::after,*/
.menu > ul li:hover::after {
    transform: scaleX(1);
}


.title {
    width: 100%;
    padding: 5px 15px;
    display: flex;
    color: white;
    min-width: 300px;
    /*background-color: #0baf4d;*/
    background-color: #344249;
    position: relative;
    height: 30px;
    font-weight: bold;
}

.top-bar {
    height: 40px;
    width: calc(100% - 10px);
    margin-left: 5px;
    margin-right: 5px;
    /*background-color: #20409a;*/
    display: flex;
    align-items: center;
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
    /*border-left: 1px solid #cccccc;*/
    border-bottom: 2px solid #2cb1b5;
    /*color: white;*/
    box-sizing: border-box;
    color: #525854;
}

.body-wrap {
    width: 100%;
    height: 100%;
    padding: 5px;
}

tbody tr:nth-child(odd) {
    /*background-color: #fff6dc;*/
    background-color: #e4f5f3;
}

tbody tr:nth-child(even) {
    background-color: #ffffff;
}

tbody tr.on td:not(:first-child){
    /*background-color: #99b2e9;*/
    background-color: #5e8193;
    color: white;
}

tbody tr.on td:nth-child(1)::after{
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url(/static/image/chevron-right.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    filter: grayscale(0) brightness(200%);
    background-position: center;
}
thead tr th:nth-child(1),
tr > td:first-child {
    background-color: #2cb0b5;
}
.sub-menu:not(.right) {
    /*display: none;*/
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    background-color: white;
    min-width: 240px;
    z-index: 999;
    border: 1px solid #e4f5f3;
}

.sub-menu.right {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    background-color: white;
    min-width: 160px;
    z-index: 999;
    border: 1px solid #e4f5f3;
}
/*.sub-menu li:hover {*/
/*    background-color: #0ea6ab;*/
/*    color: white;*/
/*}*/

td {
    text-align: center;
    font-size: 11px;
}
th {
    font-size: 12px;
}

.pagination {
    display: flex;
    gap: 8px;
    padding: 5px;
    height: 40px;
    box-sizing: border-box;
}

.pagination .unactive{
    cursor: default;
    opacity: 0.2;
}

.pagination .prev {
    margin-right : auto;
}
.pagination .next {
    margin-left : auto;
}
.pagination .prev,
.pagination .next {
    font-size: 24px;
    line-height: 24px;
}
.pagination > div {
    background: transparent;
    color: black;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
    line-height: 30px;
}

.pagination div:not(.active):not(.unactive):hover {
    background: #eeeeee;
}

.pagination .active {
    background: #2cb0b5;
    color: #fff;
}

.empty-box {
    background-color: white;
    height: 150px;
}

.loading{
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.1);
}
