/* Reset some default styles and set a base font size */
body, html {
    font-family: Arial, sans-serif;
    font-size: 15px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

object, iframe {
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    border: 0px;
    background: #ffffff 0% 0% no-repeat padding-box;
}

nav {
    display: block;
    color: #bfbebe;
    font-size: 14px;
}

nav a {
    color: #f6f7fb;
    text-decoration: none;
    font-size: 14px;
    padding: 2px;
}

footer {
    text-align: center;
}

/* Main CSS */
.topmenu {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 10;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    background: #1a2b46 0% 0% no-repeat padding-box;
    overflow: hidden;
    z-index: 1000;
}
.topmenu a {
    color: #f6f7fb;
    text-decoration: none;
}
.topmenu a:hover {
    text-decoration: underline;
}
.shortcuts-top {
    /* Layout Properties */
    position: absolute;
    top: 8px;
    right: 8px;
    /* UI Properties */
    font: normal normal 300 18px/22px Pretendard;
    opacity: 1;
}
.shortcuts {
    /* Layout Properties */
    position: absolute;
    bottom: 8px;
    right: 8px;
    /* UI Properties */
    font: normal normal 300 18px/22px Pretendard;
    opacity: 1;
}
.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 165px;
    height: 55px;
    background-size: cover;
    background-image: url('/public/images/logo_white.png');
    margin: 0;

    cursor: pointer;
}

.container {
    display: flex;
    height: 100vh;
    margin-top: 80px;
}
.sidebar {
    width: 250px;
    color: #323333;
    padding: 12px;
    box-sizing: border-box;
    position: fixed;
    top: 80px; /* 상단 메뉴 바로 아래에 위치 */
    bottom: 0px;
    background-color: #f6f7fb;
    border-right: 2px solid #1a2b46;
    overflow: hidden;
}
.menu {
    width: 100%;
    color: #323333;
    font-weight: bold;
    box-sizing: border-box;
    position: fixed;
    top: 0px;
    bottom: 0px;
    background-color: #f6f7fb;
    overflow: hidden;
}
.menu-item {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #f6f7fb;
    border-radius: 18px;
    margin-bottom: 6px;
    cursor: pointer;
    border-bottom: 1px solid #1a2b46;
}
.submenu {
    display: none;
    background-color: #f6f7fb;
    padding: 5px;
}
.submenu-item {
    padding: 5px 30px;
    color: #323333;
    font-size: 14px;
    background-color: #f6f7fb;
    border-radius: 15px;
    cursor: pointer;
}
.menu-item:focus, .menu-item:hover {
    color: rgb(119, 156, 207);
    transition: background-color 0.3s;
    text-decoration: none;
    cursor: pointer;
}
.menu-selected {
    color:  #234476;
}
.submenu-selected {
    color:  #365b92;
}

.content {
    margin-left: 250px; /* 왼쪽 메뉴 너비만큼 여백 추가 */
    padding: 0px;
    box-sizing: border-box;
    position: fixed;
    top: 80px; /* 상단 메뉴 바로 아래에 위치 */
    left:0px;
    right:0px;
    bottom: 0px;
    background-color: #f6f7fb;
    overflow-x: hidden;
    overflow-y: auto;
}
/* Main CSS */

/* Login CSS */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-content {
    position: relative;
    /* Layout Properties */
    width: 720px;
    height: 480px;
    box-sizing: border-box;
    border-radius: 18px;
    /* UI Properties */
    background: #1a2b46 0% 0% no-repeat padding-box;
    opacity: 1;
}

.login-logo {
    position: absolute;
    top: 40px;
    left: 30px;
    width: 225px;
    height: 75px;
    background-size: cover;
    background-image: url('/public/images/logo_white.png');
    margin: 0;
}

.login-id {
    /* Layout Properties */
    position: absolute;
    top: 170px;
    left: 60px;
    width: 600px;
    height: 58px;
    /* UI Properties */
    background: #f6f6fb 0% 0% no-repeat padding-box;
    border-radius: 8px;
    opacity: 1;
}

.login-password {
    /* Layout Properties */
    position: absolute;
    top: 240px;
    left: 60px;
    width: 600px;
    height: 58px;
    /* UI Properties */
    background: #f6f6fb 0% 0% no-repeat padding-box;
    border-radius: 8px;
    opacity: 1;
}

.id, .password {
    /* Layout Properties */
    position: absolute;
    top: 5px;
    left: 10px;
    width: 580px;
    height: 48px;
    /* UI Properties */
    text-align: left;
    font: normal normal 300 26px/30px Pretendard;
    background: #f6f6fb 0% 0% no-repeat padding-box;
    letter-spacing: 0px;
    color: #323333;
    opacity: 1;
    border: none;
    outline: none;
}

.login-button {
    /* Layout Properties */
    position: absolute;
    top: 360px;
    left: 60px;
    width: 600px;
    height: 64px;
    /* UI Properties */
    background: #365b96 0% 0% no-repeat padding-box;
    box-shadow: 0px 5px 6px #323333;
    border-radius: 8px;
    opacity: 1;

    cursor: pointer;
}

.login-submit {
    position: absolute;
    /* Layout Properties */
    width: 600px;
    height: 64px;
    /* UI Properties */
    text-align: center;
    font: normal normal medium 24px/35px Pretendard;
    font-size: 32px;
    letter-spacing: 0px;
    color: #f6f6fb;
    opacity: 1;
    border: none;
    outline: none;
    background: none;

    cursor: pointer;
}
/* Login CSS */

/* 등록 테이블 */
.modal-title {
    color:#555d6b;
    font: normal normal 400 22px/34px Pretendard;
    font-weight: bold;
}

.modal-text {
    color:#455c6b;
    font: normal normal 400 18px/30px Pretendard;
    font-weight: bold;
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    border: 1.5 solid #cacaca;
    border-radius: 10px;
    font: normal normal 300 16px/22px Pretendard;
}

.modal-thead th {
    position: relative;
    padding: 6px;
    height: 32px;
    text-align: right;
    border: 1px solid #cacaca;
    background-color: #e6eaf0;
}

.modal-thead td {
    position: relative;
    padding: 6px;
    height: 32px;
    text-align: left;
    border: 1px solid #cacaca;
    background-color: #fdfeff;
}

.modal-close {
    position: absolute;
    color: #aaa;
    top: -10px;
    right: 0;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal, .print-modal, .password-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-contents, .print-contents {
    background-color: #ffffff;
    margin: 2% auto; /* 15% from the top and centered */
    padding: 25px;
    border: 1px solid #888;
    border-radius: 10px;
}

.contents-container {
    position: relative;
    width: 100%;
}

/* The Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.password-close:hover,
.password-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.bottom-button {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.align-container {
    display: flex;
    justify-content: left;
    align-items: center;
}

.align-container span {
    margin: 0 6px 0 0;
}

.align-container-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.align-container-center p {
    margin: 0 6px 0 0;
}

.align-container input {
    height:34px;
    padding: 0 6px 0 6px;
    border: 1px solid #acacac;
    border-radius: 4px;
    box-sizing: border-box;
    font: normal normal 300 16px/22px Pretendard;
    letter-spacing: 0px;
    color: #323333;
}

.left-align {
    text-align: left;
    vertical-align: middle;
}

.center-align {
    text-align: center;
    vertical-align: middle;
}

.right-align {
    text-align: right;
    vertical-align: middle;
}


input[type='button'] {
    height: 40px;
    /* UI Properties */
    padding: 0 16px 0 16px;
    border-radius: 4px;
    border: 1px solid #4f8bef;
    background: #2e90fa 0% 0% no-repeat padding-box;
    font: normal normal 300 16px/22px Pretendard;
    letter-spacing: 0px;
    color: #f6f7fb;
    cursor: pointer;
}