/* Header */
#header {
    transition: all 0.4s
}

.logo_area {
    width: 160px;
}

#header .navbar-nav {
    margin: 27px 0 0
}

#header .navbar-nav>li.dropdown {
    position: relative;
    min-width: 135px;
    width: auto;
    text-align: center;
}

#header .navbar-nav>li.dropdown::after {
    content: "";
    position: absolute;
    left: 5%;
    bottom: 15px;
    height: 3px;
    width: 85%;
    background: skyblue;
    transform: scaleX(0);
    margin-left: 50%;
    transform-origin: left;
    transition: transform 500ms ease, margin-left .5s ease;
}

#header .navbar-nav>li.dropdown:hover::after {
    transform: scaleX(1);
    margin-left: 5px;
}

#header .navbar-nav>li.dropdown:last-child:hover::after {
    transform: scaleX(1);
    margin-left: 18px;
}


#header .navbar-nav>li>a:hover,
#header .navbar-nav>li>a:focus,
#header .navbar-nav>li>a:visited {
    background: none
}

#header .navbar-nav>li>a {
    position: relative;
    padding: 0px 10px 34px 10px;
    font-size: 18px;
    color: #fff;
}

#header .navbar-brand {
    position: relative;
    left: 0;
    top: -25px;
    padding-top: 8px;
    padding-left: 3px;
    font-size: 0;
    line-height: 0;
}

#header .navbar-brand-01 {
    position: absolute;
    /*top: -9px;*/
    left: 0;
    padding-top: 8px;
    padding-left: 3px;
    width: 300px;
    height: 95px;
    font-size: 0;
    line-height: 0;
    background-size: 100% auto;
}

#header .dropdown-menu {
    /* border:1px solid rgba(255,255,255,0.4); */
    background-color: #fff;
    border-radius: 0;
    border-top: none;
    margin-top: 9px;
    box-shadow: none;
    width: -webkit-fill-available;
}

#header .dropdown:last-child>.dropdown-menu {
    right: -60px;
}

#header .dropdown-menu>li>a {
    font-size: 16px;
    line-height: 2;
    color: #000
}

.page_home #header .dropdown-menu>li>a {
    color: #000
}

#header .dropdown-menu>li>a:focus,
#header .dropdown-menu>li>a:hover {
    background-color: #0c4ba3
}

#header.affix .dropdown-menu>li>a,
#header.affix .dropdown-menu>li>a {
    color: #000
}

#header.affix .dropdown-menu>li>a:focus,
#header.affix .dropdown-menu>li>a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #000
}


#header .general-nav .navbar-nav {
    float: right;
    height: 39px;
    margin: 0 auto
}

#header .general-nav .navbar-nav>li>a {
    padding: 8px 9px;
    color: #175282 !important;
    font-size: 13px;
    font-weight: 500
}

.page_home #header .general-nav .navbar-nav>li>a {
    color: #fff !important;
}

#header.affix {
    top: 0;
    width: 100%;
    z-index: 9999 !important
}

#header.affix+.mainwrap,
#header.affix+.subwrap {
    padding-top: 132px
}

#header.affix {
    height: 93px;
    border-top: none
}

#header.affix .general-nav {
    display: none
}

#header .container-fluid {
    padding: 0
}

.page_home #header:not(.affix) {
    position: relative;
    z-index: 1000
}

.page_home #header:not(.affix) {
    background-color: transparent;
    border-top-color: transparent
}

.page_home #header:not(.affix) {
    border-bottom: 1px solid #b9b9b999;
    position: absolute;
}

.page_home #header:not(.affix) {
    position: relative;
    z-index: 1000
}

.page_home #header:not(.affix) {
    background-color: transparent;
    border-top-color: transparent
}

.page_home #header:not(.affix) {
    border-bottom: 1px solid #b9b9b999;
    position: absolute;
}

.page_home #header:not(.affix) .navbar-nav>li>a {
    color: #fff
}

.page_home #header:not(.affix) .dropdown-menu>li>a:focus,
.page_home #header .dropdown-menu>li>a:hover {
    background-color: #6fc0e5;
    color: #fff
}


.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: rgba(0, 0, 0, 0);
}

.navbar-collapse {
    padding: 0
}

#header .dropdown-menu {
    margin-top: 0px;
}

.navbar-nav {
    flex-direction: inherit;
    margin: 0px 0 0 !important;
}

#header .navbar {
    float: right;
}

#header .navbar-nav {
    margin: 0px 0 0;
}

.dropdown-toggle::after {
    display: none;
}

#header .general-nav .navbar-nav {
    margin: 15px auto;
}

#header .navbar-nav>li.dropdown::after {
    bottom: 0px;
    top: 30px;
}

.open>.dropdown-menu {
    display: block;
}

#header .dropdown-menu {
    /* border: 1px solid rgba(255, 255, 255, 0.4); */
    background-color: #fff;
    border-radius: 0;
    border-top: none;
    margin-top: 25px;
    box-shadow: none;
	width:auto;    
}

.dropdown-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.lang a {
    border: 2px solid;
    border-radius: 4px;
    color: #00377B;
    font-size: 14px !important;
    font-weight: 400;
    position: absolute;
    padding: 4px 10px 2px !important;
}

#header .btnCategory {
    position: absolute;
    top: 27px;
    right: 12px;
}

#header .btnCategory a {
    display: block;
    background-size: 27px auto;
    text-indent: -9999px;
    font-size: 0;
    width: 30px;
    height: 30px;
}

/* 모바일 */
#header.nav_mo .logo_area {
    position: absolute;
    left: 10px;
    top: 12px;
    width: 150px;
    font-size: 30px;
}

#header.nav_mo .nav2 li a {
    color: #fff;
    font-size: 17px;
}

#header.t2 {
    height: 60px;
    width: 100%;
    position: fixed !important;
    background-color: #0c205a !important;
    display: flex;
    justify-content: space-between;
    padding: 14px 10px;
}

#header.t2 h1 {
    padding: 0;
    height: 55px;
    float: left;
}

#header.t2 .lang a {
    border: 2px solid;
    border-radius: 4px;
    color: #fff;
    font-size: 14px !important;
    font-weight: 400;
    position: absolute;
    padding: 4px 10px 2px !important;
}

#header.t2 .lang {
    text-align: right;
    padding-right: 105px;
}

#header.t2 .btnCategory {
    top: 50%;
    margin-top: -15px;
}

#header.t2 .btnCategory a {
    background: url(/images/common/ico_menu.png?ver1.1) 50% 50% no-repeat;
    background-size: 30px auto;
}

#header.t2 .btnLock {
    top: 50%;
    margin-top: -12px;
}

/* mslide(모바일 햄버거 메뉴) 시작 */
.modalBg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 300;
}

#mslide {
    display: none;
    position: fixed;
    top: 0;
    left: -250px;
    z-index: 301;
    height: 100%;
    width: 100%;
}

#mslide .mslideBg {
    background-color: #0c205a;
    width: 100%;
    height: 100%;
}

#mslide .sldclose {
    position: absolute;
    top: 16px;
    left: 15px;
    display: block;
    background-color: #fff;
    background: url(/images/common/ico_close.png) 0 50% no-repeat;
    background-size: 17px auto;
    text-indent: -9999px;
    font-size: 0;
    width: 20px;
    height: 20px;
}

#mslide .sldtitle {
    background-color: #4e6995;
    height: 0px;
    margin-top: 60px;
}

#mslide .sldtitle .sldtit {
    display: block;
    color: #fff;
    font-size: 15px;
    padding: 17px 0 0 47px;
}

#mslide li {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e9;
}

#mslide li .depth1 {
    display: block;
    background: url(/images/common/ico_plus.png) 100% 50% no-repeat;
    background-size: 36px auto;
}

#mslide li .depth1 a {
    display: block;
    background: url(/images/common/ico_lnb.png) 20px 50% no-repeat;
    background-size: 22px auto;
    font-size: 13px;
    padding: 0 10px 0 52px;
    line-height: 48px;
    height: 48px;
}

#mslide li .depth2 {
    display: block;
}

#mslide li .depth2 a {
    display: block;
    background: url(/images/common/ico_lnb.png) 20px 50% no-repeat;
    background-size: 22px auto;
    font-size: 13px;
    padding: 0 10px 0 52px;
    line-height: 48px;
    height: 48px;
}

#mslide li .depth3 {
    display: block;
}

#mslide li .depth3 a {
    display: block;
    background-size: 22px auto;
    font-size: 13px;
    padding: 0 10px 0 52px;
    line-height: 48px;
    height: 48px;
    /*color: #cbcbcb;*/
}

#mslide li ul {
    display: none;
}

#mslide li li {
    font-size: 13px;
    background-color: #f8f8f8;
    border: 0;
    border-top: 1px solid #e8e8e9;
}

#mslide li li a {
    display: block;
    color: #4b4b4b;
    padding: 0 10px 0 52px;
    line-height: 41px;
    height: 41px;
    font-weight: 700;
}

#mslide li.selected .depth1 {
    background-image: url(/images/common/ico_minus.png);
}

#mslide li.selected ul {
    display: block;
}

#mslide .bottom {
    background: #000;
}

#mslide .bottom li {
    float: left;
    width: 100%;
    text-align: center;
    background: #000;
    height: 40px;
    line-height: 40px;
}

#mslide .bottom li a {
    line-height: 40px;
    height: 40px;
    color: #FFF;
    font-size: 12px;
}

.depth0 {
    width: 47%;
    display: inline-block;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* mslide(모바일 햄버거 메뉴) 끝 */

/* head 반응형 처리 */
div#header.nav_pc {
    display: block;
    position: fixed;
    /* background: linear-gradient(45deg, #020069, #642ffd); */
    background-color: #949494 !important
}

div#header.nav_mo {
    display: none;
}

/* Mobile (319 ~ 767px) */
@media (min-width: 320px) and (max-width: 767px) {
    div#header.nav_pc {
        display: none;
    }

    div#header.nav_mo {
        display: block;
    }
}

/* Tablet (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    div#header.nav_pc {
        display: none;
    }

    div#header.nav_mo {
        display: block;
    }
}

/* Small Desktop (1024px ~ 1279px) */
@media (min-width: 768px) and (max-width: 1279px) {
    div#header.nav_pc {
        display: none;
    }

    div#header.nav_mo {
        display: block;
    }
}

/* Large Desktop (1280px 이상) */
@media (min-width: 1280px) {
    #header .wraparea {
        margin: 0 auto;
        display: flex;
        width: 1420px;
        padding: 23px 0 15px 0;
        align-items: center;
        justify-content: space-between;
    }

    #header.nav_mo ul.nav2 {
        float: right;
        height: 40px;
        margin-right: 55px;
        margin-top: 15px;
        padding: 0;
        text-align: right;
    }

    #header.nav_mo ul.nav2 li {
        float: left;
        margin-right: 5px;
        margin-top: 5px;
        font-size: 9px;
    }
}


/* 백업 */
/* header 내에 있던 코드 */
@media screen and (max-width:468px) {
    #subImg {
        height: 250px;
    }
}