/*header.css*/
@charset "utf-8";


/*헤더영역 서식*/
header{
    font-family: 'Noto Sans KR', sans-serif;
    width: 100%;
    height: 117px;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 1px 10px rgba(0,0,0,.7); /*가로값, 세로값, 번지는 정도, 색상*/
    z-index: 9000; /*!!!!포지션 속성 사용시 위/아래 순서 변경하기 위해서 사용!!!!*/
}

/*780px 네비게이션 버튼*/
header>.fa-align-justify{display: none;}
header>.fa-clone{display: none;}
.gnb>.fa-times{display: none;}

/*heder 맨 위 sitemap 서식*/
header>ul{
    width: 100%;
    height: 27.5px;
    border-bottom: 1px solid #dddddd;
    position: absolute;
    top: 0px;
    z-index: 7500;
    color: #7c7c7c;
    font-size: 10px;
}

header>ul>li{
    float: right;
    padding: 9px 10px 8px 27px;
    background-color: #fff;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    cursor: pointer;
    display: block;
}
header>ul>li:first-child{
    width: 92px;
    margin-right: 50px;
    padding-left: 27px;
    padding-right: 8px;
}
header>ul>li:first-child:hover{font-weight: bold;}
header>ul>li:first-child>.family_sub{
    margin: 23px 0px 15px 0px;
    font-weight: normal;
    display: none;
}
header>ul>li:first-child>.family_sub>li{margin: 6px 0;}
header>ul>li:first-child>.family_sub>li:hover{font-weight: bold;}
header>ul>li:first-child>.family_sub>hr{
    width: 45px;
    margin: 15px 0px;
}

header>ul>li:nth-child(2){width: 78px; border-right: none;}
header>ul>li:nth-child(2):hover{font-weight: bold;}

header>ul>li .fas{
    margin: 0 10px;
}


/*site map 서식*/
.siteMap{
    width: 100%;
    padding: 40px 0;
    background-color: #fff;
    border-left: none; border-right: none;
    border-top: 1px solid #dddddd; 
    border-bottom: 1px solid #7b7b7b;
    display: block;
    position: relative;
    display: none;
}
.siteMap>ul{width: 850px; margin: 0 auto;}
.siteMap>ul>li{
    width: 130px;
    height: 140px;
    text-align: center;
    float: left;
    color: #7c7c7c;
    font-size: 14px;
    margin: 0 20px;
}

.siteMap>i{position: absolute; font-size: 20px; bottom: 30px; right: 30px;}

/*상단 로고 서식*/
header>h1{
    width: 180px;
    background-color: #fff;
    position: absolute;
    top: 51px; left: 70px;
    
}
header>h1 img{
    width: 100%;/*부모크기에따라 이미지크기 자동조절*/
}


/*내비게이션 서식*/
.gnb{
    position: absolute;
    top: 65px; right: 50px;
}
.gnb>ul{}
.gnb>ul>li{
    height: 47px;
    float: left;
    /*display: inline;
    display: inline-block;*/
    padding: 0px 35px;
    position: relative; /*메인메뉴를 서브메뉴의 기준으로 잡음*/
}
.gnb>ul>li:first-child{padding: 0 49px;}
.gnb li:hover{
    font-weight: bold;
    color: #0082C9;
    border-bottom: 5px solid #0082C9;
}
.gnb>ul>li>a{
    color: #333;
    font-size: 18px;
    display: block;/*마우스 반응영역을 넓힐 때 사용*/
}

/*서브메뉴 서식*/
.gnb>ul>li>.sub{
    position: absolute;
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid #acacac;
    top: 52px;
    display: none;
    transition: 0.5s;
    left:0%;
}
.sub li{
    text-align: center;
    display: block;
}
.sub li:first-child{margin-top: 10px;}
.sub li:last-child{margin-bottom: 10px;}
.sub li:hover{border-bottom: none;}
.sub li a{
    display: block;
    font-size: 13px;
    color: #535353;
    padding: 8px; transition: 0.5s;
    font-weight: normal;
}
.sub li a:hover{
    background-color: #0082C9;
    color: #fff;
}


/*제이쿼리 css*/
.act01{transform: rotate(180deg);}
.act02{font-weight: bold;}
.act03{right: 0 !important; transition: 0.5s;}





/*1080 이하일 때 적용되는 스타일*/
@media screen and (max-width:1080px){

    header{height: 100px;}
    header>ul{height: 25px;}
    header>ul>li{padding: 7px 10px 6px 27px;}
    header>ul>li:first-child{margin-right: -5px;}
    
	header>h1{width: 140px; top: 46px; left: 40px;}
    
    .siteMap>ul{width: 750px; margin: 0 auto;}
    .siteMap>ul>li{margin: 0 10px;}
    .siteMap>i{}
    
    
    .gnb{top: 55px; right: 30px; }
    .gnb>ul>li{height: 42px; padding: 0px 20px;}
    .gnb>ul>li:first-child{padding: 0 30px;}
    .gnb>ul>li>a{font-size: 16px;}
    
    .sub{top: 45px;}
    .sub li a{font-size: 12px;}

    
}

/*780 이하일 때 적용되는 스타일*/
@media screen and (max-width:780px){
	/*selector{property : value ;}*/
    
    header{height: 76px;}
    header>ul{display: none;}
    header>h1{width: 140px; top: 22px; left: 50%; transform: translateX(-50%);}

    header>.fa-align-justify, header>.fa-clone{
        height: 100%;
        display: block;
        font-size: 25px;
        line-height: 70px;
        position: absolute; top: 0; right: 0;
        cursor: pointer;
        color: #5d5d5d;
        padding: 0 22px;
    }
    .gnb{
        width: 60%;
        height: 100%;
        position: fixed;
        display: block;
        top: 0; right: -60%;
        background-color: rgba(0,0,0,.9);
    }
    .gnb>.fa-times{
        display: inline-block;
        position: absolute;
        bottom: 2%; right: 2%;
        color: #fff;
        font-size: 24px;
        line-height: 70px;
        padding: 0 22px;
        cursor: pointer;
    }
    .gnb>.fa-times:hover{color: #0082C9;}
    .gnb>ul{width: 100%; height: 400px; border-bottom: none;}
    .gnb>ul>li{
        width: 100%;
        height: 20%;
        text-align: center;
        padding: 0;
        font-size: 32px;
        line-height: 80px;
        border-bottom: 1px solid #333;
        float: none;
        display: block;
    }
    .gnb>ul>li:first-child{padding: 0;}
    .gnb li:hover{
        color: #0082C9;
        border-bottom: 1px solid #0082C9;
    }
    .gnb>ul>li>a{color: #fff; width: 100%; height: 100%;}
    
    
    .sub{   
        width: 100%;
        border: none;
        padding: 0;
        margin: 0;
        margin-top: 27px;
        z-index: 1000;
    }
    .sub li{background-color: #000; border-bottom: #333;}
    .sub li:first-child{margin-top: 0;}
    .sub li:last-child{margin-bottom: 0;}
    .sub li:hover{border-bottom: none;}
    .sub li a{
        color: #fff;
        line-height: 55px;
        padding: 0;
    }
}

