﻿@import url('http://fonts.googleapis.com/earlyaccess/nanummyeongjo.css');

@font-face {
 font-family: 'NanumBarunGothic';
 src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot);
 src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot?#iefix) format('embedded-opentype'),
      url(webfont/NanumBarunGothic/NanumBarunGothicWeb.woff) format('woff'),
      url(webfont/NanumBarunGothic/NanumBarunGothicWeb.ttf) format('truetype');
}

@font-face {
 font-family: 'NanumSquare';
 src: url(webfont/NanumSquare/NanumSquareR.eot);
 src: url(webfont/NanumSquare/NanumSquareR.eot?#iefix) format('embedded-opentype'),
      url(webfont/NanumSquare/NanumSquareR.woff) format('woff'),
      url(webfont/NanumSquare/NanumSquareR.ttf) format('truetype');
}


/* font select */

body * { font-family:NanumSquare, sans-serif; letter-spacing : -0.5px;}

/* header */

#header {
    display: flex;
    height: 90px;
    /*position: absolute;
    right: 15px;*/
    align-items: center;
}
#header a { color:#fff; text-decoration:none;}
#header .header-box-left { float: left; font-size: 15px; padding: 20px 0px;}
#header .header-box-right { float: right; font-size: 15px; white-space:nowrap; }
#header .header-box-left span { padding:0px 15px; color:#adadad; font-weight:bold;}
#header .header-box-right a { padding:0 5px; display:inline-block;}
#header .header-box-right a:hover { background:#6599CB; transition:0.3s all ease;}
    #header .header-box-right > span {
        color: #fff;
    }

/* gnb */
#gnb-wrap {
    position: relative;
    background: #013d85;
}
    #gnb-wrap .container {
        display: flex;
        justify-content: space-between;
        align-items: center;    width: calc(100vw - 120px);
        /*height: 90px;*/
    }
#gnb-wrap img { /*float:left; margin: 20px 0px;*/object-fit: contain;}
#gnb {
    /*display:inline-block;*/
    /*margin-top: 30.77px;*/
    display: flex;
    white-space: nowrap;
}
#gnb > li  { float:left; padding:0px 30px; position:relative;}
#gnb > li > a { font-size:20px; color:#fff; text-decoration:none; transition:all ease 0.2s; font-weight:bold;}
#gnb > li > a:hover {  border-bottom:3px solid #6599CB; padding-bottom:7px; transition:all ease 0.2s; font-weight:bold; }
#gnb > li > a.active { color:#fff; border-bottom:3px solid #6599CB; padding-bottom:7px; transition:all ease 0.2s; font-weight:bold; }
#gnb > li > ul { display:none; }
.point { position:absolute; bottom:-91px; left:46%; margin-left:-9px; display:none; opacity:1;}

/* gnb2 */

.gnb2 {background: #0f2746; width:100%; height:0px; position:absolute;left:0px; z-index:9999;}
.gnb2 .container { padding:20px 0px 0px; text-align:right;}
.subtext-wrap { float:left;  padding:0px; display:none; width:220px; text-align:center; margin-right:30px;}
.subtext { display:inline-block; }
.subtext p { color:#333333;}
.subtext p:first-child { font-size:14px; margin-bottom:0px; display:none; }
.subtext p:nth-child(2) { font-size:30px; color:#fff; font-weight:bold;}
.subtext img { display:inherit; position:relative; float:none!important; margin:20px auto; }
.subul > li { display:inline-block; width:150px; text-align:center;margin:0px 20px 0px 0px;}
.subul > li:last-child { margin-right:0px; }
.subul > li > a { font-size:18px; font-weight:600;}
.subul > li > a > i { float:right; position:relative; top:3px; }
.subul > li > ul { margin-top:15px; }
.subul > li > ul > li { font-size:13px; transition:all ease 0.3s;height: 29px;margin-top:1px; }
.subul > li > ul > li:hover { background-color:#1f4346;}
.subul > li > ul > li > a { padding: 5px 7px;border-bottom: 1px solid #fff;display: inline-block;overflow: hidden; width: 100%;text-overflow: ellipsis; white-space: nowrap; }
.subul > li > ul > li > a > i { margin-right:5px; position:relative; }
.subul li a { color: #fff; text-decoration:none; }

/* footer */

#footer { background:#3a444e; padding:50px 0px; position:relative;}
#footer > div  {position:relative;}
#footer img { margin-right: 15px; clear:both; display:inline-block; vertical-align:top;}
#footer ul { display:block; margin-bottom:25px; }
#footer ul:last-child { margin-bottom:0; }
#footer ul li { color:#9DA1A4; font-size:15px; padding:0px 0px 4px;}
#footer ul li:first-child { font-weight:bold;}
#footer h5 { font-size:15px; font-weight:bold; margin:0px 0px 8px; color:#9DA1A4;}
#footer p { font-size:15px; color:#9DA1A4; margin:0px 0px 30px;}
#footer .copy { /*position:absolute; right:0; bottom:0;*/ font-size:15px; color:#9DA1A4; /*padding:25px;*/ margin-top:50px; }
.foot-1 > div, .foot-3 > div {
    display: inline-block;
}
#footer div {
    /*white-space: nowrap;*/
}


/* mobile */
.header-mobile-gnb .toggle {color:#fff!important;}
.mm-panels > #mm-1 {background-color:#6599CB!important; }
.mm-panels > #mm-2,
.mm-panels > #mm-3,
.mm-panels > #mm-4,
.mm-panels > #mm-5,
.mm-panels > #mm-6,
.mm-panels > #mm-7,
.mm-panels > #mm-8,
.mm-panels > #mm-9,
.mm-panels > #mm-10,
.mm-panels > #mm-11,
.mm-panels > #mm-12,
.mm-panels > #mm-13,
.mm-panels > #mm-14,
.mm-panels > #mm-15,
.mm-panels > #mm-16,
.mm-panels > #mm-17,
.mm-panels > #mm-18,
.mm-panels > #mm-19,
.mm-panels > #mm-20,
.mm-panels > #mm-21,
.mm-panels > #mm-22,
.mm-panels > #mm-23,
.mm-panels > #mm-24,
.mm-panels > #mm-25,
.mm-panels > #mm-26,
.mm-panels > #mm-27,
.mm-panels > #mm-28,
.mm-panels > #mm-29,
.mm-panels > #mm-30,
.mm-panels > #mm-31 { background-color: #00649c !important; }
.mm-navbar { padding:20px 0px!important; height:inherit!important;}
.mm-navbar a { font-size:22px; color:#fff!important;}
.mm-listview>li>a, .mm-listview>li>span { padding:20px 25px!important; font-size:17px;}
.mm-panels>.mm-panel>.mm-listview { margin:20px 0px!important;}
.mm-btn {top:unset!important;}

.subul {
    width:100%;
    text-align:center;
    white-space:nowrap;
}

/*실시간생방송*/
.latest-special {margin-bottom: 30px;margin-left: 18px;}
.latest-special .p4 {font-size:30px;padding-left: 15px;position: relative;color:#000000;top: 15px;}
.latest-special .white-bar {background: #7c8789;width: 1px;height: 22px;display: inline-block;margin: -20px 13px;}
.jubowrapper {display: inline-block;position: relative;top: 13px;font-size: 13px;opacity: 0.8;}
.latest-special .p4 span {
    color: #948e8f;
}

@media(min-width:1400px) and (max-width:1700px){
	.subul > li{width:130px;}
        #gnb > li {
            padding: 0px 20px;
        }
}

@media(min-width:1024px) and (max-width:1399px) {
    /*.subul > li {
        width: 120px;
    }
        #gnb > li {
            padding: 0px 10px;
        }*/
}

@media (min-width:993px) and (max-width:1199px) {
		.subul li{
			margin:0px!important;
		}
    .gnb2 .container {
        text-align:center!important;
    }
   
    .subul > li {
        width: 110px;
    }
    #footer img {
        margin-bottom: 15px;
        margin-right: 10px;
    }
    #gnb > li { padding: 0 15px; }
    #gnb > li > a { font-size:18px; }
    .point { bottom: -95px; left: 39%; }
    #footer div { /*padding:0px;*/ /*text-align:center;*/  }
     .latest-special .p4 {
        font-size:22px;
        padding-left: 15px;
        position: relative;
        bottom: -18px;
        color:#000000;
    }
}

@media (min-width:768px) and (max-width:992px) {
    #gnb-wrap {
        padding: 15px;
    }
        #gnb-wrap .container {
            display: block;
            text-align: center;
            width: 95%;
        }
    .subul{display:none;}
   .gnb2{height:0px!important;}
    #footer {
        text-align: center;
    }
    .header-mobile-gnb {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(-100%, -50%);
        font-size: 30px;
    }
    #footer img { display:none; /*float:none; margin-right:0px;*/}
    #footer ul { text-align:center;}
    #footer ul li:first-child { font-size:25px; margin-bottom:10px; }
    #footer .copy { position:relative; margin:15px 0 0;}

       .latest-special .p4 {
            font-size: 29px;
            padding-left: 15px;
            position: relative;
            bottom: -18px;
            color:#000000;
        }
}

@media (max-width:767px) {
    #gnb-wrap {
        padding: 15px;
    }
        #gnb-wrap .container {
            display: block;
            text-align: center;
            width: 100%;
        }
    
    #header .header-box-right a {
        padding: 0 10px;
    }
    .header-mobile-gnb {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(-100%, -50%);
        font-size: 30px;
    }
    #footer { text-align:center; }
    #footer img { display:none; /*float:none; margin:0px;*/}
    #footer p { font-size:14px;}
    #gnb-wrap { padding:10px;}
    #footer ul li:first-child { font-size:20px; padding-bottom:20px;}
    #footer { padding:30px 0px;}
    #header { height:35px; padding:0px 15px;}
    #header .header-box-right { font-size:14px; padding:8px 0px;}
    #header .header-box-right span { padding:0px 5px;}
    #gnb-wrap img { width:180px; margin: 10px 10px;}
    #footer .copy { position:relative; margin:15px 0 0;}


}