/* COMMON CSS - LAYOUT ���� CSS */

/**************************************************/
/************************PC************************/
/**************************************************/

/* all layout */

body {
    width:100%;
    /*min-width: 1220px;    */
    letter-spacing: -0.3;
    margin:0;
    padding:0;
}

#wrap {
    width: 100%;
    position:relative;
}


/* content layout */

#content {
    width: 100%;
    overflow: hidden;
    display: block;
}

.sub{
  width: 100%;
  min-height:700px;
  overflow: hidden;
  display: block;
  margin-bottom:50px;
}
.layout{
    width:1200px;
    margin:0 auto;
}

/*--------------- Header --------------*/

/* gnb */
#header {
    width: 100%;
    overflow:hidden;
    padding:0;
    position: absolute;
    z-index:9999;
}
#header #nav{
    width:100%;
    min-height:48px;
    overflow:hidden; 
    position:relative;
}
#header #nav h1{
    position:absolute;
    left:0;
    top:0;
}
#header #nav .shide{
    position:absolute;
    left:50%;
    color:#c6c3c4;
    top:0;
    height:48px;
    line-height:48px;
    text-transform: uppercase;
    letter-spacing: 5;
    font-size:12px;
    transform: translateX(-50%);
}
#header #nav .total_btn{
    position:absolute;
    right:0;
    top:0;
}



.nav-up{
    top:-100px;
}


/* level 1 end */

#m_header .nav_bk #gnb li a{
    color:#111 !important;
}


/*totalmenu*/
.total_menu{
    width: 100%;
    height: 100vh;
    background:#222; 
    position:fixed;
    top;0;
    right:0;
    z-index:9999999;
    display:none;
}

.total_wrap{
    width: 50%;
    height:70%;
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-25%;
    transform: translateY(-50%);
}
.total_wrap img{
    width: 35%;
    display:block;
    margin:0 auto;
    max-width:131px;
}

.total_wrap .total_nav{
    width:100%;
    margin:90px auto;
    border:1px solid #9f9f9f;
    border-right:0;
    border-left:0;
    padding:30px 0;
    box-sizing: border-box;
}
.total_wrap .total_nav li{
    width:100%;
}
.total_wrap .total_nav li a{
    font-size:17px;
    width:100%;
    padding:15px 0;
    box-sizing: border-box;
    text-transform: uppercase;
    color:#9d9d9d;
    letter-spacing: 2px;
    text-align: center;
    transition:all 0.3s;
    margin-bottom:25px;
}
.total_wrap .total_nav li:last-child a{
    margin-bottom:0;
}

.total_wrap .total_nav li a:hover{
    color:#fff;
}
.total_wrap .total_sns{
    width: 100%;
    *zoom:1;
    display:inline-block;
    *display:inline;
    text-align:center;
    margin-bottom:35px;
}

.total_wrap .total_sns:after {
    content:"";
    display:block;
    clear:both;
} 
.total_wrap .total_sns li{
    display:inline-block;
    #float:left;    
    padding:0 25px;
}
.total_wrap .total_sns li a{
    width: 25px;
    height: 25px;
    
}
.total_wrap .total_sns li .fb_btn{
    background:url(../img/ft_sns.png) no-repeat center;
    transition:all 0.3s;
}
.total_wrap .total_sns li .ins_btn{
    background:url(../img/ft_sns2.png) no-repeat center;
    background-size:100%;
    transition:all 0.3s;
}
.total_wrap .total_sns li .fb_btn:hover{
    background:url(../img/ft_sns_hover.png) no-repeat center;
}
.total_wrap .total_sns li .ins_btn:hover{
    background:url(../img/ft_sns2_hover.png) no-repeat center;
    background-size:100%;
}



.total_menu .close_total{
    position:absolute;
    right:60px;
    top:60px;
}
.total_menu .close_total:hover{
    cursor: pointer;
}


/*--------------- //Header --------------*/


/*--------------- Footer --------------*/
/*검은버전*/
#footer{
    width: 100%;
    overflow:hidden;
    padding:55px 0;
    background:#111111;
}
#footer .ft_l{
    float:left;
}
#footer .ft_l p{
    text-transform: uppercase;
    font-size: 17px;
    color:#fff;
    margin-bottom:20px;
    font-weight: bold;
}
#footer .ft_l .ft_cont a{
    font-size:14px;
    display:block;
    color:#555555;
    transition: all 0.3s;
}
#footer .ft_l .ft_cont a:hover{
    color:#888;
}

#footer .ft_r{
    float:right;
}
#footer .ft_r ul{
    overflow:hidden;
    float:right;    
    margin-bottom:45px;
}
#footer .ft_r ul li{
   float:left;
    margin-left:15px;
    width:25px;
    height: 25px;
    display:block;
}
#footer .ft_r ul li:first-child{
    margin-left:0;
}
#footer .ft_r ul .ft_fb{
    background:url(../img/ft_sns.png)no-repeat;
    transition: all 0.3s;
}
#footer .ft_r ul .ft_fb:hover{
    background:url(../img/ft_sns_hover.png) no-repeat;
}
#footer .ft_r ul .ft_ins{
    background:url(../img/ft_sns2.png) no-repeat;
    background-size:100%;
    transition: all 0.3s;
}
#footer .ft_r ul .ft_ins:hover{
    background:url(../img/ft_sns2_hover.png) no-repeat;
    background-size:100%;
}
#footer .ft_r ul li:last-child{
    margin-right:0;
}
#footer .ft_r ul li a{
   width: 100%;
    height: 100%;
}
#footer .ft_r p{
    display:block;
    clear:both;
    font-size:13px;
}



/*흰버전*/
#footer_wt{
    width: 100%;
    overflow:hidden;
    padding:55px 0;
    background:#fff;
    border-top:2px solid #222;
}
#footer_wt .ft_l{
    float:left;
}
#footer_wt .ft_l p{
    text-transform: uppercase;
    font-size: 17px;
    color:#333;
    margin-bottom:20px;
    font-weight: bold;
}
#footer_wt .ft_l .ft_cont a{
    font-size:14px;
    display:block;
    color:#999;
    transition: all 0.3s;
}
#footer_wt .ft_l .ft_cont a:hover{
    color:#333;
}

#footer_wt .ft_r{
    float:right;
}
#footer_wt .ft_r ul{
    overflow:hidden;
    float:right;    
    margin-bottom:45px;
}
#footer_wt .ft_r ul li{
   float:left;
    margin-left:15px;
    width:25px;
    height: 25px;
    display:block;
}
#footer_wt .ft_r ul li:first-child{
    margin-left:0;
}
#footer_wt .ft_r ul .ft_fb{
    background:url(../img/ft_sns.png)no-repeat;
    transition: all 0.3s;
}
#footer_wt .ft_r ul .ft_fb:hover{
    background:url(../img/ft_sns_hover2.png) no-repeat;
}
#footer_wt .ft_r ul .ft_ins{
    background:url(../img/ft_sns2.png) no-repeat;
    background-size:100%;
    transition: all 0.3s;
}
#footer_wt .ft_r ul .ft_ins:hover{
    background:url(../img/ft_sns2_hover2.png) no-repeat;
    background-size:100%;
}
#footer_wt .ft_r ul li:last-child{
    margin-right:0;
}
#footer_wt .ft_r ul li a{
   width: 100%;
    height: 100%;
}
#footer_wt .ft_r p{
    display:block;
    clear:both;
    font-size:13px;
    color:#999;
}


/*제일위로가기*/
.top{
    position:fixed;
    bottom:10;
    right:10;
    background:#FFF;
    border:1px solid #222;
    color:#222;
    padding:25px;
    text-transform: uppercase;
    font-size:10px;
    letter-spacing: 1;
    transition: all 0.3s;
    z-index: 9999;
}
.top:hover{
    bottom:10;
    right:10;
    background:#222;
    color:#fff;
}

.hide{display:none !important;}

/*--------------- //Footer --------------*/


/**************************************************/
/**********************TABLET**********************/
/**************************************************/
@media ( max-width: 1023px ) {
    
/*common*/
    body{
        min-width:100%;
    }
    .layout{
        width:98%;
        margin:0 auto;
    }
/*검은버전*/
#footer{
    width: 100%;
    overflow:hidden;
    padding:45px 0;
    background:#111111;
}
#footer .ft_l{
    float:left;
    width:46%;
    margin-left:4%;
}
#footer .ft_l p{
    text-transform: uppercase;
    font-size: 17px;
    color:#fff;
    margin-bottom:20px;
    font-weight: bold;
}
#footer .ft_l .ft_cont a{
    font-size:14px;
    display:block;
    color:#555555;
    transition: all 0.3s;
}
#footer .ft_l .ft_cont a:hover{
    color:#888;
}

#footer .ft_r{
    float:right;
    width:46%;
    margin-right:4%;
}
#footer .ft_r ul{
    overflow:hidden;
    float:right;    
    margin-bottom:45px;
}
#footer .ft_r ul li{
   float:left;
    margin-left:15px;
    width:25px;
    height: 25px;
    display:block;
}
#footer .ft_r ul li:first-child{
    margin-left:0;
}
#footer .ft_r ul .ft_fb{
    background:url(../img/ft_sns.png)no-repeat;
    transition: all 0.3s;
}
#footer .ft_r ul .ft_fb:hover{
    background:url(../img/ft_sns_hover.png) no-repeat;
}
#footer .ft_r ul .ft_ins{
    background:url(../img/ft_sns2.png) no-repeat;
    background-size:100%;
    transition: all 0.3s;
}
#footer .ft_r ul .ft_ins:hover{
    background:url(../img/ft_sns2_hover.png) no-repeat;
    background-size:100%;
}
#footer .ft_r ul li:last-child{
    margin-right:0;
}
#footer .ft_r ul li a{
   width: 100%;
    height: 100%;
}
#footer .ft_r p{
    display:block;
    clear:both;
    font-size:13px;
    text-align: right;
}

/*흰버전*/
#footer_wt{
    width: 100%;
    overflow:hidden;
    padding:45px 0;
    background:#fff;
    border-top:2px solid #222;
}
#footer_wt .ft_l{
    float:left;
    width:46%;
    margin-left:4%;
}
#footer_wt .ft_l p{
    text-transform: uppercase;
    font-size: 17px;
    color:#333;
    margin-bottom:20px;
    font-weight: bold;
}
#footer_wt .ft_l .ft_cont a{
    font-size:14px;
    display:block;
    color:#999;
    transition: all 0.3s;
}
#footer_wt .ft_l .ft_cont a:hover{
    color:#333;
}

#footer_wt .ft_r{
    float:right;
    width:46%;
    margin-right:4%;
}
#footer_wt .ft_r ul{
    overflow:hidden;
    float:right;    
    margin-bottom:45px;
}
#footer_wt .ft_r ul li{
   float:left;
    margin-left:15px;
    width:25px;
    height: 25px;
    display:block;
}
#footer_wt .ft_r ul li:first-child{
    margin-left:0;
}
#footer_wt .ft_r ul .ft_fb{
    background:url(../img/ft_sns.png)no-repeat;
    transition: all 0.3s;
}
#footer_wt .ft_r ul .ft_fb:hover{
    background:url(../img/ft_sns_hover2.png) no-repeat;
}
#footer_wt .ft_r ul .ft_ins{
    background:url(../img/ft_sns2.png) no-repeat;
    background-size:100%;
    transition: all 0.3s;
}
#footer_wt .ft_r ul .ft_ins:hover{
    background:url(../img/ft_sns2_hover2.png) no-repeat;
    background-size:100%;
}
#footer_wt .ft_r ul li:last-child{
    margin-right:0;
}
#footer_wt .ft_r ul li a{
   width: 100%;
    height: 100%;
}
#footer_wt .ft_r p{
    display:block;
    clear:both;
    font-size:13px;
    color:#999;
    text-align: right;
}

/*totalmenu*/

.total_wrap{
    width: 80%;
    height:70%;
    margin-left:10%;
    position:absolute;
    top:55%;
    left:0;
    transform: translateY(-50%);
}
.total_wrap img{
    width: 35%;
    display:block;
    margin:0 auto;
    max-width:131px;
}

.total_wrap .total_nav{
    width:100%;
    margin:40px auto;
    border:1px solid #9f9f9f;
    border-right:0;
    border-left:0;
    padding:20px 0;
    box-sizing: border-box;
}
.total_wrap .total_nav li{
    width:100%;
}
.total_wrap .total_nav li a{
    font-size:17px;
    width:100%;
    padding:10px 0;
    box-sizing: border-box;
    text-transform: uppercase;
    color:#9d9d9d;
    letter-spacing: 2px;
    text-align: center;
    transition:all 0.3s;
    margin-bottom:12px;
}
.total_wrap .total_nav li:last-child a{
    margin-bottom:0;
}

.total_wrap .total_nav li a:hover{
    color:#fff;
}




.total_menu .close_total{
    position:absolute;
    right:40px;
    top:40px;
}
.total_menu .close_total:hover{
    cursor: pointer;
}

    
    
    
    
    

}



/**************************************************/
/**********************MOBILE**********************/
/**************************************************/
@media ( max-width: 767px ) {

/*검은버전*/
#footer{
    padding:35px 0;
    border-top:0;
}
#footer .ft_l{
    width:100%;
    float:none;
    margin-left:0;
}
#footer .ft_l p{
    font-size: 17px;
    margin-bottom:10px;
    text-align: center;
}
#footer .ft_l .ft_cont a{
    font-size:14px;
    text-align: center;
    margin-bottom:4px;
    color:#666;
}
#footer .ft_l .ft_cont a:hover{
    color:#999;
}


#footer .ft_r{
    width:96%;
    float:none;
    margin:20px auto;
    padding-top:20px;
    border-top:1px solid #555;
}
#footer .ft_r ul{
    overflow:hidden;
    width:100%;
    float:none;
    margin-bottom:20px;
  
}
#footer .ft_r ul li{
    margin:0 2%!important;
    width:46%;
    float:left;
    margin:0;
    background:none !important;
}

#footer .ft_r ul .ft_fb a{
    float:right;
    background:url(../img/ft_sns_hover.png) no-repeat !important;
    background-position: center center;
}
#footer .ft_r ul .ft_fb a:hover{
    background:none;
}
#footer .ft_r ul .ft_ins{
    float:left;
    background:url(../img/ft_sns2_hover.png) no-repeat !important;
    background-position: center center;
}    
#footer .ft_r ul .ft_ins:hover{
    background:none;
}
#footer .ft_r ul li a{
    width:25px;
    height:25px;
}
 #footer .ft_r ul li a{
    width:25px;
    height:25px;
}

#footer .ft_r p{
    width:100%;
    text-align: center;
    font-size:13px;
    color:#555;
}

        
    
    
/*흰버전*/
#footer_wt{
    padding:35px 0;
}
#footer_wt .ft_l{
    width:100%;
    float:none;
     margin-left:0;
}
#footer_wt .ft_l p{
    font-size: 17px;
    margin-bottom:10px;
    text-align: center;
}
#footer_wt .ft_l .ft_cont a{
    font-size:14px;
    text-align: center;
    margin-bottom:4px;
}
#footer_wt .ft_l .ft_cont a:hover{
    color:#333;
}


#footer_wt .ft_r{
    width:96%;
    float:none;
    margin:20px auto;
    padding-top:20px;
    border-top:1px solid #ebebeb;
}
#footer_wt .ft_r ul{
    overflow:hidden;
    width:100%;
    float:none;
    margin-bottom:20px;
  
}
#footer_wt .ft_r ul li{
    margin:0 2%!important;
    width:46%;
    float:left;
    margin:0;
    background:none !important;
}

#footer_wt .ft_r ul .ft_fb a{
    float:right;
    background:url(../img/ft_sns.png) no-repeat !important;
    background-position: center center;
}
#footer_wt .ft_r ul .ft_fb a:hover{
    background:none;
}
#footer_wt .ft_r ul .ft_ins{
    float:left;
    background:url(../img/ft_sns2.png) no-repeat !important;
    background-position: center center;
}    
#footer_wt .ft_r ul .ft_ins:hover{
    background:none;
}
#footer_wt .ft_r ul li a{
    width:25px;
    height:25px;
}
 #footer_wt .ft_r ul li a{
    width:25px;
    height:25px;
}

#footer_wt .ft_r p{
    width:100%;
    text-align: center;
    font-size:13px;
    color:#ccc;
}

    
    
    
    

}