/* ÃÊ±âÈ­ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    background: #E1FFE1;
}

/* ¸µÅ© °øÅë */
a {
    text-decoration: none;
    color: inherit;
}

/* Çì´õ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
}

.logo img { height: 50px; }

.navigation a,
.navigation span,
.navigation button {
    margin-left: 20px;
    color: #fff;
    font-weight: 500;
}

.navigation button {
    cursor: pointer;
}

/* ÀüÃ¼ ·¹ÀÌ¾Æ¿ô */
#container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    overflow: hidden;
}

/* ÁÂÃø ¸Þ´º */
#leftMenu {
    width: 250px;
    min-width: 200px;
    background: #D7F1FA;
    border-right: 1px solid #ccc;
    overflow-y: auto;
}

#leftMenu ul {
    list-style: none;
}

#leftMenu li {
    border-bottom: 1px solid #ddd;
}

#leftMenu li > a {
    display: block;
    padding: 12px 20px;
    color: #333;
    cursor: pointer;
}

#leftMenu li > a:hover {
    background: #A0A0FF;
    color: #fff;
}

/* ¼­ºê¸Þ´º ±âº» */
.submenu {
    display: none;
    background: #f0f0f0;
}

/* ¿­¸² »óÅÂ */
.submenu.open {
    display: block;
}

/* depth ´Ü°èº° */
.submenu.depth-2 {
    background: #e8e8e8;
    padding-left: 10px;
}

.submenu.depth-2 a {
    padding-left: 40px;
}

.submenu.depth-3 {
    background: #dedede;
     padding-left: 20px;   /* ¡ç ÀÌ °ªÀ¸·Î ÀüÃ¼¸¦ ´õ ¹Ð¾îÁÜ */
}

.submenu.depth-3 a {
    padding-left: 60px;
    font-size: 15px;
}

/* ¿ìÃø ÄÜÅÙÃ÷ */
#rightContent {
    flex: 1;
    background: #fff;
    position: relative;
}

#contentFrame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ¹ÝÀÀÇü */
@media (max-width: 1250px) {
    #container {
        flex-direction: column;
    }
    #leftMenu {
        width: 100%;
        height: 200px;
    }
    #rightContent {
        height: calc(100vh - 280px);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
    }
    .navigation {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
    }
}

/* ·Î±×ÀÎ ÆË¾÷ */
.wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    z-index: 9999;
}

.wrapper.active-popup {
    visibility: visible;
}

body.popup-open iframe {
    pointer-events: none;
}

/* =========================
   ¼±ÅÃµÈ ¸Þ´º¸¸ °­Á¶
========================= */
#leftMenu a.active {
    background: #4f7cff;
    color: #fff;
    font-weight: 600;
}

/* hover°¡ active¸¦ µ¤Áö ¾Êµµ·Ï */
#leftMenu a.active:hover {
    background: #4f7cff;
    color: #fff;
}


