@charset "utf-8";

@media all and (max-width:1200px) {

    #nav > ul {width:1200px;}
}

@media all and (max-width:1080px) {
	#header .h_language {display:none;}
    #header {height:70px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);background-color: #fff;}
    #header .logo {display:inline-block !important; position:fixed; left:50%; top:0; width:350px; height:35px;  -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); 	margin-top: 35px;}
    #header .h_btn {display:inline-block; position:absolute; left:10px; top:10px; width:50px; height:50px; z-index:4; border-radius:5px; background-color:#006cb4; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); }
    #header .h_btn i {display:inline-block; vertical-align:middle; position:absolute; left:50%; top:50%; width:12px; height:1px; margin-left:-6px; background-color:#fff; transition:0.2s;}
    #header .h_btn i:before {content:""; display:inline-block; vertical-align:middle; position:absolute; left:0; top:-4px; width:100%; height:1px; background-color:#fff; transition:0.2s;}
    #header .h_btn i:after {content:""; display:inline-block; vertical-align:middle; position:absolute; left:0; top:4px; width:100%; height:1px; background-color:#fff; transition:0.2s;}
    #header.on .h_btn i {transform:rotate(-45deg); background-color:#006cb4;}
    #header.on .h_btn i:before {top:0; transform:rotate(90deg); background-color:#006cb4;}
    #header.on .h_btn i:after {top:0; background:none; transform:rotate(90deg); background-color:#006cb4;}
    #header.on .h_btn {background-color:#fff;}
    #header .h_contents {display:none;}
    #header.on .h_contents {display:inline-block; position:fixed; left:0; top:70px; bottom:0; z-index:3; width:230px; background-color:#eee; overflow-y:auto;}
    #header .h_contents .hc_top .wrap {width:100%;}
    #header .h_contents .hc_top .hct_type {width:100%;}
    #header .h_contents .hc_top .hct_type li {width:33.3%;}
    #header .h_contents .hc_top .hct_info {width:100%;}
    #header .h_contents .hc_top .hct_info li {margin-left:0; width:33.3%;}
    #header .h_contents .hc_top .hct_info li a {line-height:30px;}
    #nav {margin-top:0; background-color: #fff;}
    #nav > ul {width:100%;}
    #nav > ul > li {width:100%; border-bottom:1px solid #ddd;}
    #nav > ul > li:before, #nav > ul > li:last-child:after {display:none;}
    #nav > ul > li .hg_main a {display:none;}
    #nav > ul > li > ul {display:block;}
    #nav > ul > li .hg_main {font-size:16px; text-align:left; line-height:50px;}
    #nav > ul > li .hg_main h3 {padding:0 20px;}
    #nav > ul > li.on ul {display:block; padding:10px;background-color:#fafafa;}
    #nav > ul:hover ul {display:block;}
    #nav > ul > li .hg_sub > li > a {color:#777;}
    #header .h_contents .hc_bg {display:none;}
    #header.on .h_contents .hc_bg {display:inline-block; position:fixed; left:0; right:0; top:0; bottom:0; z-index:1; background-color:rgba(0, 0, 0, 0.5);}

    #contents {margin-top:-20px;}


    .hg_sub{padding:10px; box-sizing:border-box;}
    .agendaWrap h3{font-size:20px !important;}


}


/*
@media all and (max-width:768px){
#majorgrade_pc {display:none;}
#majorgrade_phone {display:inline-block;}
}
*/

/*** 201900306 작성자 이상훈*****/
/**** 반응형 재정의 ****/

/* 모바일 기기*/
@media (min-width:768px) {
    #majorgrade_pc {display:none;}
    #majorgrade_phone {display:inline-block;}


}

/* 테블릿 기기*/

@media (min-width:769px) and (max-width:999px) {


}
@media (max-width:980px) {
    .agendaWrap{
        margin:0
    }
}

@media (max-width:999px) {
    #nav > ul > li > ul {display:none;}
    #nav > ul:hover ul {display: none; padding:20px 10px; background-color: rgba(255,255,255,0.9);}
}

@media (min-width: 1199px) {


}
/* 데스크탑*/
@media (min-width: 1081px) {
    #header .h_contents .hc_top .wrap, #nav > ul {width:100%; min-width:1000px; max-width:1200px;}

    /* 20190306 작성자 이상훈 */
    #nav > ul > li .hg_sub > li ul {
        display:none;
    }


    #nav > ul > .hgMenu .hg_sub
    {
        background-color: rgba(36,59,91,0.7);
        -webkit-transition: 0.2s;
        -o-transition: 0.2s;
        transition: 0.2s;
        padding:20px 10px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        display:none;
        z-index:0;
        position:absolute;
        -webkit-box-shadow: 5px 3px 5px 1px rgba(0,0,0,0.3);
        box-shadow: 5px 3px 5px 1px rgba(0,0,0,0.3);

    }
    #nav > ul > .hgMenu {
        height: 60px;
    }

    #nav > ul > .hgMenu.on {
        overflow:visible;
    }



    #nav > ul > .hgMenu.on .hg_sub
    {
        display:block;
        position:absolute;
        height:auto;
        z-index:9999;
        opacity: 1;
    }

    #nav > ul > .hgMenu .hg_sub > li:hover > a
    {
        border-radius: 5px;
        color: rgb(36,59,91);
        background-color: #fff;
    }
}
@media (max-width:490px) {
    #header .logo {
        width: 300px;
    }
}
@media (max-width:430px) {
    #header .logo {
        width: 225px;
    }
}
