﻿.gnbbar {
    /*margin-top: 30px;*/
    overflow: hidden;
    background-color: #fff;
    font-family: "Noto Sans KR"
}

    .gnbbar a {
        float: left;
        font-size: 16px;
        color: #000;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }


.logo-wrap {
}

.logo {
    /*padding-left: 0 !important;*/
    padding-right: 0 !important;
}

@media (max-width:830px) {
    .pclogo {
		max-width:100px;
	}
}



@media (min-width:831px) {
    .pclogo {
		max-width:inherit;
	}
}


.menu-array {
    display: block;
    /*padding: 5px 0;*/
    margin: 0 auto;    
    margin-top: 55px;
    /*margin-left: 200px;*/
    float: right;
}

    .menu-array:after {
        display: block;
        height: 0;
        content: ".";
        font-size: 0;
        visibility: hidden;
        clear: both;
    }
     

.downwrap {
    float: left;
    overflow: hidden;
    width: 135px;
    text-align: center;    
}

    .downwrap .dropbtn {
        font-size: 17px;
        border: none;
        outline: none;
        color: #000;
        padding: 14px 12px;
        background-color: inherit;
        width: 135px;
        font-family: "Noto Sans KR"
    }
    /*.gnbbar a:hover,*/
    .downwrap:hover .dropbtn {
        background-color: #066EB7;
        font-weight: bold;
        color: white;
    }

.on .dropbtn {
    background-color: #066EB7 !important;
    font-weight: bold;
    color: white !important;
}

.on .down-content {
    display: block !important;
}

.down-content {
    display: none;
    position: absolute;
    background-color: #066EB7;
    min-width: 135px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 200;
}

    .down-content a {
        float: none;
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        .down-content a:hover {
            background-color: #085C96;
            color: #E6FF0A;
            /*font-weight:normal;*/
        }

.downwrap:hover .down-content {
    display: block;
}


.gnb-pc {display:none}
.gnb-mobile {
    display: block
}

.width115 {
    width: 115px !important;
    min-width: 115px !important;
}

.width2 {
    width: 110px !important;
    min-width: 110px !important;
}

@media (min-width: 996px) {

    .downwrap { 
        width: 143px; 
    }

        .downwrap .dropbtn { 
            width: 143px; 
        }

    .down-content { 
        min-width: 143px; 
    }

    .menu-array {
        float: inherit;
        width: 727px;
        /*margin-left: 250px;*/
    }
}


/*mobile*/
.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border-color: transparent;
    }

    .navbar-default .container-fluid {
        padding-right: 0;
        padding-left: 0; 
    }

.navbar ul {
    background-color: #066EB7;
    font-size: 20px;
}

.navbar ul li a{
    color:white ;/*!important*/
}

.navbar-default .navbar-toggle {
    border-color: transparent !important; 
}

.navbar-toggle {
    /*position: relative;
    float: right;*/
    padding: 25px 19px;
    margin-top: 0px;
    margin-right: 0;
    margin-bottom: -10px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0;

    position: absolute; 
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    /*background-color: #066EB7 !important;*/
    background-color:transparent;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #E6FF0A !important;
    background-color: #066EB7 !important;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    background-color: #066EB7 !important;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    color: #555;
    background-color: #066EB7 !important;
}


.navbar-nav .open .dropdown-menu {
    background-color: #30A7E0 !important;
}


.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 40px;
}

.navbar-brand { 
    padding: 10px 15px;
}

@media (min-width: 818px) {
    .width180 {
        width:180px !important ;
    }
}

@media (max-width: 817px) {

    .width180 {
       
    }

    .downwrap {
        float: left;
        overflow: hidden;
        width: 135px;
        text-align: center;    
    }

    .downwrap .dropbtn {
        font-size: 15px;
        border: none;
        outline: none;
        color: #000;
        padding: 14px 12px;
        background-color: inherit;
        width: 135px;
        font-family: "Noto Sans KR"
    }
}
 


@media (min-width: 768px) {

    .gnb-pc {
        display: block;
    }

    .gnb-mobile {
        display: none;
    }

    .navbar {
        display:none;
    }
}
 





/*모바일 풀*/

#hdbg {
    /*background-color: #1d1d20;*/
    display: inline-block;
}

.open-logo {
    background-color:white;
    height:70px;
}

.hamburger {
    /*background-color: #066EB7;*/
    padding: 36px;
    width: 70px;
    float: right;
    /* z-index: 400; */
    height: 40px;
    position: absolute;
    right: 0;
    margin-top: -70px;
}

    .hamburger.on {
        background-color: #066EB7;
    }

.button_container {
    /*position: fixed;
  top: 5%;
  right: 2%;*/
    height: 27px;
    width: 25px;
    cursor: pointer;
    z-index: 340;
    margin-top: -13px;
    margin-left: -18px;
    padding-bottom: 17px;
    /* margin-left: 25px; */
    /*margin-left: calc(100%/16);*/
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease;
}

    .button_container span {
        /*background: #FF5252;*/
        background: #D8D8D8;
        border: none;
        height: 4px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-transition: all .35s ease;
        transition: all .35s ease;
        cursor: pointer;
    }

        .button_container span:nth-of-type(2) {
            top: 10px;
        }

        .button_container span:nth-of-type(3) {
            top: 20px;
        }

    .button_container:hover {
        opacity: .7;
    }

    .button_container.active .top {
        -webkit-transform: translateY(10px) translateX(0) rotate(225deg);
        transform: translateY(10px) translateX(0) rotate(225deg);
        background: #FFF;
    }

    .button_container.active .middle {
        opacity: 0;
        background: #FFF;
    }

    .button_container.active .bottom {
        -webkit-transform: translateY(-10px) translateX(0) rotate(-225deg);
        transform: translateY(-10px) translateX(0) rotate(-225deg);
        background: #FFF;
    }

.overlay {
    position: fixed;
    background: #066EB7; /*#FF5252;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .35s, visibility .35s, height .35s;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
}

.o-menu {
    width: 100%;
}

    .o-menu li {
        min-height: 30px;
        padding-left: 30px;
        padding-top: 8px;
        /*padding-bottom: 8px;*/
        font-size: 25px;
        letter-spacing: 1px;
        color: white;
        display: table;
        width: 100%;
        cursor:pointer;
    }

    ul.o-menu li > a:hover {
        color: #E1FF0B !important; 
    }

.overlay ul.submenu {
    background-color: #30A7E0;
    display: none;
    margin-left: -30px;
    width: 120%;
}

    .overlay ul.submenu li {
        padding-left: 60px;
    }

        .overlay ul.submenu li a:hover {
            /*background-color: #085C96;*/
            color: #E1FF0B !important;
            /*font-weight:normal;*/
        }
        .overlay ul.submenu.on {
            display:inherit;
        }

    .overlay.open {
        opacity: 1;
        visibility: visible;
        height: 100%;
        z-index:300;
    }

         
    .overlay nav {
        position: relative;
        /* height: 70%; */
        /*top: 28%;*/
        margin-top: 20px;
        /*-webkit-transform: translateY(-50%);
        transform: translateY(-50%);*/
        font-size: 35px;
        /* font-family: 'Vollkorn', serif; */
        font-weight: 400;
        text-align: left;
        /* padding-left: 30px; */
    }

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
    width: 100%; 
}

        /*.overlay ul li {
            display: block;
            height: 20%;
            height: calc(100% / 4);
            min-height: 35px;
            position: relative;
            opacity: 0;
        }*/

    .overlay ul li a {
        display: block;
        position: relative;
        color: #FFF;
        text-decoration: none;
        overflow: hidden;
        padding-bottom: 10px;
        font-weight: 300;
        cursor: pointer;
    }

        .overlay ul li a.on, a.on {
            color: #E1FF0B !important;
        }

.depth1 {
float:left;
}
.o-menu .menu-arrow {
    max-width: 25px;
    margin-left: 20px;
    margin-top: 10px;
    float: left;
    cursor:pointer;
}

                .overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
                    width: 100%;
                }

                /*.overlay ul li a:after {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    width: 0%;
                    -webkit-transform: translateX(-50%);
                    transform: translateX(-50%);
                    height: 3px;
                    background: #FFF;
                    -webkit-transition: .35s;
                    transition: .35s;
                }*/


@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}