
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid transparent;
    z-index: 10;
    transition: .4s;
    
}

.gnb {
    position: absolute;
    top: 103px;
    /* top: 140px; */
    left: 50%;
    transform: translate(-50%, 0);
       /*임시 */
    /* padding-left: 150px; */
    transition: .3s;
    /* height: 100%; */
    padding-left: 100px;
  
  
   
}

.depth02 {
    position: absolute;
    width: 100%;
    text-align: center;
    padding-top: 32px;
    opacity: 0;
    transition: .4s;
   

}

.depth02>li {}

.depth02>li a {
    /* color: #1d2c4a; */
    color: #000;
    display: block;
    padding: 7px 0;
    transition: 0s;
    font-size: 17px;
    border-radius: .3em;
    border: 1px transparent solid;
}

.depth02>li a span {
    /* border-bottom: 1px solid transparent; */
}

.depth02>li a:hover  {
    /* border-bottom: 1px solid #1d2c4a; */
    text-decoration: none;
    background: #f3f3f3;
    border: 1px #e6e6e6 solid;
    
 
}


.depth01 {
    display: flex;
    /* height: 100s%; */
    z-index: 1;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    
}

.depth01>li {
    /* height: 100%; */
    position: relative;
    width: 150px;
    transition: .3s;
     position: relative;
     /* height: 100%s; */
}

.depth01>li:last-of-type {
    margin-right: 0;
}

.depth01>li>a {
    color: #000;
    font-size: 20px;
    /* opacity: .7; */
    opacity: 1;
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
    /* font-family: 'Paperlogy-7Bold'; */
    font-weight:700;
    padding: 10px 0px 10px;

}

.depth01>li>a::after,
.depth01>li>a::after {
    content: '';
    width: 100%;
    display: block;
    left: 0;
    top: 59px;
    /* bottom: -13px; */
    height: 2px;
    position: absolute;
    transition: .3s;
    background: transparent;
}

.depth01>li>a:hover::after,
.depth01>li>a:hover::after {
    background: #fff;
}

.depth01>li:hover>a{
    opacity: 1;
}
.depth01>li:hover > a {
    text-decoration: none;
}
#nav_wrap nav ul.depth01 li p {
    position: absolute;
    width: 70px;
    height: 32px;
    bottom: 48px;
    margin-left: 20px;
    background: #d1edff;
    color: white;
    border-radius: 3em;
    display:flex;
    justify-content: center;
    align-items: center;
    top: -32px;

}
#nav_wrap nav ul.depth01 li p::before {
    border-top: 7px solid #d1edff;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 0px solid transparent;
    content: "";
    position: absolute;
    top: 31px;
    left: 17px;

}
#nav_wrap nav ul.depth01 li p span {
    color: #000;
    font-size:13px;
    font-weight:600;
} 
.gnb-bg {
    position: absolute;
    top: 100px;
    /* bottom: 70px; */
    /* bottom: 103px; */
    left: 50%;
    transform: translate(-50%, 0%);
    height: 0;
    background: rgba(255, 255, 255, 1);
    transition: .4s;
    border-top: 1px transparent solid;
    
 
     
}
.header.down .gnb-bg {
    border-bottom: 1px #ddd solid;
    border-top: 1px #ddd solid;


}

/*main header*/
/*header 마우스오버 후*/
.header.down {
 background: rgba(255, 255, 255, 1);
  
}
.header.down .depth01>li {
    /* height: 100%; */
    position: relative;
    width: 160px;
}
.header.down .gnb {
    position: absolute;
    /* top: 140px; */
    /* top: 103px; */
    left: 50%;
    transform: translate(-50%, 0);
    /* height: 100%; */
    padding-left: 150px;
    /* background: #ddd; */
}
.header.down .depth01>li>a {
    color: #1d2c4a;
    opacity: 1 !important;
}

.header.down .depth02>li a {}

.header.down .depth01>li:hover>a::after {
    background: #1d2c4a;
   
}

.header.down .gnb-bg {
    height: 340px;

}

.header.down .depth02 {
    opacity: 1;
}

.header.down .depth01 {
    overflow: visible;
}

.header.down .nav h1 a {
    background-image: url('http://ak2.wiztheme.co.kr/theme/ak2/img/common/logo.png');
    background-position: 100% 100%;
}

.header .mobile_bar.down  {
    /* display:none !important; */
    opacity: 0;
 
}
@media(max-width:1220px){ 
    .gnb {
        left: 50%;
        transform: translate(-50%, 0);
        padding-left: 150px;
       
    }
    .depth01>li {
        width: 140px;
    }
    
    .depth01>li>a {
        color: #000;
        font-size: 20px;
        padding: 10px 0px 10px;
    
    }
    .depth02>li a {
        font-size:16px;
    }
    .header.down .depth01>li {
        width: 140px;
    }

 }
 @media(max-width:991px){
    .gnb {
        display:none;
    }
  
    
 } 