/****팝업****/
/****모바일 메뉴 팝업****/
/*모바일네이게이션메뉴*/
.navibox,
.mainbox {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 199;
    visibility: hidden;
    opacity: 9;
    display: block !important;
}

.navibox.naviopen,
.mainbox.mainopen {
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease-in-out;
}

.navibox.naviopen .navimenu {
    position: relative;
    opacity: 1;
    visibility: visible;
    width: 100%;
    max-width: 18rem;
    min-width: 15rem;
    overflow: auto;
    height: 100%;
    z-index: 9;
    overflow: hidden;
    background: #fff;
}

/*nav*/
nav {
    position: relative;
    top: 10%;
    height: 84%;
    width: 100%;
    overflow: auto;
    background: #fff;
}

/*close*/
.navibox .close_btn {
    position: absolute;
    right: 1em;
    top: 1rem;
    z-index: 1;
}

.navibox .close_btn>img {
    width: 20px;
}

/*close*/

/*menu*/
nav>ul.navi {
    width: 100%;
    height: auto;
    overflow: auto;
}

nav>ul.navi>li {
    margin-bottom: 1.5rem;
}

.navibg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
}

/*pc에만 적용*/
@media (min-width: 1024px) {
    nav>ul.navi>li>p:hover {
        color: #57a3ff;
    }


    .sub_navi>li:hover {
        color: rgba(255, 255, 255, 1);
        font-weight: 800;
        border-bottom: 2px solid #3a81d8;
    }

}

/****모바일 메뉴 팝업****/

/****20231204교육문의팝업****/

.main_popbox {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_popbox>div {
    min-width: 200px;
    max-width: 800px;
    width: 95%;
    margin: 0 auto;
    height: auto;
    max-height: 90%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #fff;
}


/****20231204교육문의팝업****/


/******레이어팝업 여러개****/

/**모달팝업*/
.modal {
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    /*display: flex;
    justify-content: center;
    align-items: center;*/
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    min-width: 250px;
    width: 100%;
    height: 50%;
    z-index: 11;
    color: #000;
}

.modal-content1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    min-width: 250px;
    width: 100%;
    height: auto;
    z-index: 11;
    color: #000;
}


.mconbox {
    position: relative;
    background: #fff;
    width: 100%;
    height: 100%;

}

.mconbox_send {
    width: 50rem;
    min-width: 25rem;
}

.mconbox>li:first-child {
    padding: 7rem;
}

.mconbox>li.send_modal {
    padding: 7rem 3rem;
}

dl.modal_txt {
    text-align: center;
}

dl.modal_txt>dt {
    font-family: "GmarketSans";
    font-size: 2.5rem;
    letter-spacing: -0.03rem;
    font-weight: 400;
    color: #ff591f;
}

dl.modal_txt>dd {
    margin-top: 1.5rem;
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 400;
    letter-spacing: -0.03rem;
    color: #000;
}

/* The Close Button */
.btn_modal {
    text-align: center;
    font-family: "GmarketSans";
    font-size: 1.5rem;
    font-weight: 400 !important;
    color: #fff;
    background: #333;
    line-height: 5rem;
    height: 5rem;
    font-weight: bold;
    border-top-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-top-left-radius: 0;
    border-top-right-radius: 0;
    -webkit-border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
    border-bottom-left-radius: 1rem;
    -webkit-border-bottom-left-radius: 1rem;
    -moz-border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    -webkit-border-bottom-right-radius: 1rem;
    -moz-border-bottom-right-radius: 1rem;
}

/******레이어팝업 여러개****/