@charset "UTF-8";

#modile,
#modile_gnb {
    display: none;
}

#header {
    position: relative;
    width: 100%;
    /* height: 100px; */
    z-index: 500;
    padding-top: 14px;
    position: fixed;
    top: 0;
    /* position: sticky;
    top: -32px; */
    background: #fff;
    border-bottom: 1px solid #DDDDDD;
}

#header .navFixd {
    display: flex;
    justify-content: space-between;
    padding: 0 18%;
}

#header .gnb_left {
    width: 70%;
    height: 100%;
    display: flex;
    align-items: center;
}

#header .logo {
    /* width: 215px; */
    overflow: hidden;
    /* margin-bottom: 1%; */
    margin-left: 30px;
}

#header .logo>a img {
    width: 190px;
    object-fit: cover;
    object-position: center;
    margin-right: 5px;
    margin-top: 0;
}

/* nav */
#header .nav {
    /* width: 300px; */
    display: flex;
    margin-left: 30px;
}

#header .nav li {
    height: 67px;
    margin-right: 20px;
    text-align: center;
    line-height: 67px;
}

#header .nav li a {font-size: 1.6rem;}
#header .nav li:hover {font-weight: 600;border-bottom: 2px solid #245DEA;}
#header .nav li a:hover {color: #245DEA;}

#header .gnb_right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* 드롭다운 */
label,
.user-name {
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 이미지 변경 */
input[id*="check-btn"] {display: none;}
input[id*="check-btn"]+label {
    position: relative;
    font-size: 1.4rem;
    display: flex;
    cursor: pointer;
}

input[id*="check-btn"]+label .arrow {margin-left: 8px;}


/* //이미지 변경 */

#header .user-nameWrap {position: relative;}
#header .menubars {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    width: 120px;
    z-index: 100;
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

#header .menubars li {
    padding-left: 10px;
    height: 40px;
    line-height: 40px;
}
#header .menubars li:hover {background-color: #245DEA;}
#header .menubars li a:hover {color: #fff;}
#header .menubars li a { font-size: 1.4rem;font-style: normal;}




section {/*border: 1px solid red;*/background-color: #fff;}

/* footer */

#footer {
    width: 100%;
    margin-top: 60px;
    background-color: #232323;
    flex: 1;
}
#footer>div {height: 93px;}
#footer article {
    width: 120rem;
    margin: 0 auto;
    padding: 28px 0;
}
#footer p {
    font-size: 1.4rem;
    color: #fff;
    margin-top: 10px;
}

#footer .fooRight {
    width: 40%;
}

#footer .fooRight {
    width: 138px;
    overflow: hidden;
}
#footer .fooRight img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    filter: invert(99%) sepia(72%) saturate(0%) hue-rotate(244deg) brightness(114%) contrast(101%);
}

/*========*/

a#topBtn {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear;
}
a#topBtn:hover {
    /* box-shadow: 0 0 0 max(4px, 0.2em) #8DBBFF; */
    transform: scale(1.08, 1.08);
    /* background-color: #3366FF; */
}
/* a#topBtn svg {transition: all 0.2s linear;}
a#topBtn svg:hover {
    transform: scale(1.2, 1.2);
} */

#mypageLNB,#submenuMO, .navsubmenu,#categoryLNB {display: none;}





@media only screen and (min-width:768px) and (max-width: 1440px) {
    #Wrap {width: 100%;margin: 0 auto;}

    #header .navFixd {padding: 0 8.5%;}
    #header .gnbWrap {width: 100%;}

    #header .gnb_left {width: calc(100% - 30px);}
    #header .gnb_right {width: 40%;}

    #footer {width: 100%;}
    #footer article {
        width: 90%;
        margin: 0 auto;
        padding: 28px 0;
    }
    #footer .fooRight {
        width: 150px;
        margin: 0 auto;
    }
    #footer p {
        text-align: center;
    }

}

@media only screen and (min-width:768px) and (max-width: 1024px) {
    #header .navFixd {padding: 0 5.5%;}
    #header .nav li {margin-right: 12px;}
}


@media only screen and (min-width:320px) and (max-width: 480px) {
#mainContents {padding-top: 52.7px;}
    /* #header {display: none;} */
    #header .navFixd {padding: 0 20px;}
    #header .logo {
        overflow: visible;
        margin-left: 0px;
    }
    #header .gnb_left {width: 100%;}
    #header .gnb_right {display: none;}
    #categoryLNB {display: block;}

    #modile {
        display: block;
        width: 100%;
        background-color: #fff;
        border-bottom: 1px solid #f5f5f5;
        box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
        z-index: 50;
        position: fixed;
        top: 0;
    }
    #M_header {margin: 0 auto;padding: 6px 0;}
    #M_header .gnb_up {
        width: 90%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #M_header .logo a{
        font-size: 1.4rem;
        font-weight: 600;
        color: #707070;
        display: flex;
            align-items: center;
    }
    #M_header .logo {
        overflow: hidden;
    }
    #M_header .logo img {
        width: 50%;
        object-fit: cover;
        object-position: center;
        margin-right: 5px;
    }
    #M_header .search {width: 22px;}
    #M_header .search img {width: 100%;object-fit: cover;object-position: center;}

    a#topBtn {width: 50px;height: 50px;}
    /* nav */
    #M_header .navFixd {
        width: 100%;
        /* height: 85px; */
        height: auto;
        background-color: #fff;
        border-bottom: 1px solid #e9e9e9;

    }

    #M_header .navFixd ul:last-child {
        position:relative;
        /* border-top:1px solid #ddd; */
        /* border-bottom: 1px solid #ddd; */
    }

    .jbFixed {
        width: 100%;
        position: fixed;
        top: 0px;
        left: 0;
        z-index: 50;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
    }

    #M_header .nav {width: 100%;display: flex;border-bottom: 1px solid #e9e9e9;padding-left: 20px;}
    #M_header .nav li {
        margin-right: 22px;
        height: 50px;
        line-height: 50px;
    }
    #M_header .nav li a {font-size: 1.6rem;}
    #M_header .nav li:hover {
        font-weight: 500;
        color: #245DEA;
        border-bottom: 2px solid #245DEA;
    }
    .nav_hover {
        font-weight: 500;
        color: #245DEA;
        border-bottom: 2px solid #245DEA;        
     }
    #M_header .nav li a:hover {color: #245DEA;}
    #M_header .mySwiper.lineadd { width: 90%; overflow: hidden;padding-left: 20px;}
    /* 서브메뉴 */
    .navsubmenu {
        width: 200%;
        padding: 3% 0;
        display: none;
        position: relative;

    }
    .navsubmenu .swiper-slide:first-child {padding-left: 0;}
    .navsubmenu .swiper-slide, .navsubmenu swiper-slide {
        width:auto;
        padding:0 10px;
    }
    .navsubmenu .sub {
        max-width: auto;
        margin-right: 2%;
        float: left;
        /* display: none; */
    }
    .navsubmenu .sub a {
        display: block;
        font-size: 1.6rem;
        max-width: auto;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: break-all;
    }
    .navsubmenu .sub a:hover {font-weight: 700;color: #3366FF;}
    
    /* 서브메뉴버튼 */
    .subDown_wrap {
        width: 40px;
        padding: 1.5%;
        position: absolute;
        top: 6px;
        /*left: 47%;*/
        right:0;
        background-color: #fff;
        z-index: 1000;
        display: none;
    }
    #subDown {width: 14px;overflow: hidden;margin:0 auto;}
    #subDown img {width: 100%;object-fit: cover;object-position: center;}

    .cateset:not(.sub) { color:#245DEA;border-bottom:2px solid #245DEA;font-weight: 700;}
    #M_header .cateset a { color:#245DEA;font-weight: 700; }

    /* 서브메뉴 mo */
    #submenuMO {
        width: 100%;
        padding: 9px 12px 20px 20px;
        background-color: #fff;
        position: absolute;
        top: 0px;
        left: 0px;
        float: left;
        z-index: 1005;
        border-bottom: 1px solid #ddd;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
        display: none;
    }

    #submenuMO ul.subcate { width:100%; }
    #submenuMO .sub01 {
        margin-right: 2%;
        padding: 4% 0;

    }
    #submenuMO ul {float: left;margin-right: 30px;}
    #submenuMO .sub01 a {
        display: block;
        font-size: 1.6rem;
        /* max-width: 90px; */
        /* overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: break-all; */
    }

    #submenuMO .sub01 a:hover {
        font-weight: 700;
        color: #3366FF;
    }
     #subDown_btn {position: relative;}
     #subDown_btn div {
        width: 14px;
    }
    #submenuMO #subDown_btn {display: flex;justify-content: flex-end;}
    #submenuMO #subDown_btn div img {width: 100%;object-fit: cover;object-position: center;}
    #submenuMO #sub a {font-size: 1.6rem;padding: 10px;}
    #submenuMO #sub a:hover {font-weight: 700;color: #15C5D8;}

    .SbFixed {
        position: fixed;
        top: 151px;
        left: 0;
        /* padding: 0 20px; */
        z-index: 1000;
        border-bottom: 1px solid #ddd;
    }



    /* footer */
    #footer {
        width: 100%;
        margin-top: 0;
    }
    #footer article {
        width: 90%;
        margin: 0 auto;
        padding: 28px 0;
    }

    #footer .fooRight {
        width: 150px;
        margin: 0 auto;
    }

    #footer p {
        text-align: center;
    }

    /* 모바일 gnb */
    #modile_gnb {
        display: none;
        width: 100%;
        height: 58px;
        position: fixed;
        bottom: 0;
        background-color: #fff;
        box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2); 
        border: none;
        z-index: 4;
    }

    
    #modile_gnb article {margin: 0 auto;height: 58px;padding: 8px 0px;}
    #modile_gnb article ul {display: flex;justify-content: space-around;margin: 0 auto;}
    #modile_gnb article .gnbIcon {height: 100%;width: 53px;}
    #modile_gnb article .gnbIcon01 {display: block;width: 24px;height: 24px;overflow: hidden;}
    
    #modile_gnb article .gnbTxt01 {font-size: 12px;font-weight: 600;color: #777; text-align: center;}


/* 햄버거 */
#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

#menuToggle {
    display: block;
    position: relative;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: tomato;
}


#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 1;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #707070;
    border-radius: 3px;
    z-index: 2;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-1px, 0px);
    background: #232323;
}

#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked~span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#eduDetail_header_moblie ul#menu {
    justify-content: right;
}

#menu {
    position: absolute;
    flex-direction: column;
    /* width: 100vh; */
    /* height: 150vh; */
    margin: -100px 200px 100px -400px;
    padding: 50px 100px;
    padding-top: 125px;

    background: #fff;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    
}

#menu li {
    padding: 24px 0 0px;
    font-size: 22px;
}
#menu>div {
    width: 310px;
    height: 800px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#menu>div::-webkit-scrollbar {
    display: none;
    /* 크롬, 사파리, 오페라, 엣지 */
}
#menuToggle input[type=checkbox]:checked~ul {
    transform: none;
}
/* //메뉴작동 */

/* 메뉴 내용 */
#menu .title p {font-size: 2rem;font-weight: 700;}
#menu .deshborde ul {
    background-color: #ededed;
    padding: 10px 20px;
}
#menu .name>div {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
#menu .name {padding: 10px 0;}
#menu .name p {font-size: 1.6rem;}
#menu .LNBmenu a {font-size: 1.6rem;color: #3366FF;}
#menu .submenu a {font-size: 1.6rem;}
#menu .submenu {border-bottom: 1px solid #f5f5f5;}
#menu .submenu div {padding: 0px 0 24px;display: flex;align-items: center;}
#menu .submenu div:hover {font-weight: 700;}

/* 아이콘 */
#menu .deshborde .name div>span.right.s16 {
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    margin-left: 10px;
}
#menu .deshborde .name div>span.right.nextA {
    background-image: url(/@resource/images/common/flex/png/right_nav.png);
    display: block;
    background-color: #ededed;
}
#menu .submenu div>span.right.s16 {
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    margin-left: 10px;
}
#menu .submenu div>span.right.nextA {
    background-image: url(/@resource/images/common/flex/png/right_nav.png);
    display: block;
    background-color: #fff;
}
/* //아이콘 */

#menu .logout {
    padding: 20px;
    /* height: 50px; */
    background-color: #3366FF;
    text-align: center;
    line-height: 10px;
    margin: 60px 0;
}
#menu .logout a {
    font-size: 1.6rem;
    color: #fff;
}
#menu .logout:hover {background-color: #245DEA;}
/* //햄버거  */


    /* 카테고리 메뉴 */
     #categoryLNB {
        position: absolute;
        top: 0px;
        left: 0px;
        overflow: auto;
        width: 100%;
        height: 91.8vh;
        padding: 3% 0;
        display: none;
        background-color: #fff;
        position: fixed;
        z-index: 3;
    }
        
    #categoryLNB ul {width: 90%;margin: 0 auto;}
    #categoryLNB .title {
        padding: 18px 10px;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #f1f1f1;
    }
    #categoryLNB .title>p {font-size: 2rem;font-weight: 700;}
    
    #categoryLNB .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 10px;
        border-bottom: 1px solid #f1f1f1;
        cursor: pointer;
    }
        
    #categoryLNB .menu a {
        font-size: 1.6rem;
        font-weight: 500;
        padding: 5px 0;
    }
        
    .menu.on>a {font-weight: 700;color: #15C5D8;}
    #categoryLNB .submenu {display: none;}
    #categoryLNB .submenu div {padding: 12px 10px;}
    #categoryLNB .submenu div:hover {font-size: 1.6rem;font-weight: 700;background-color: #EAF9FF;}
    #categoryLNB .submenu a {font-size: 1.6rem;}
    #categoryLNB .submenu a:hover {font-size: 1.6rem;}



    /* 팝업 */
    #warningPOP ul {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    #warningPOP {
        position: absolute;
        top: 29%;
        left: 27%;
        z-index: 102;
        width: 280px;
        padding: 16px;
        border: 1px solid #707070;
        border-radius: 10px;
        background-color: #fff;
        display: none;
    }
    #warningPOP .warningTxt {width: 215px;font-size: 1.4rem;}
    #warningPOP .delete {cursor: pointer;}


}

