/*headStyle.css*/
.dark-mode {
    background: #333;
}

.dark-mode h1,
h2,
h3,
p {
    color: #fff;
}

.dark-mode p,
.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode a {
    color: #fff;
}

body.dark-mode button {
    background-color: #c71526;
    color: #fff;
}

body.light-mode h1,
h2,
h3,
p,
a {
    color: #333;
}

body.light-mode button {
    background-color: #c71526;
    color: #ee1e
}

button {
    background: #c71526;
}

#darkLight {
    width: 70px;
    height: 90px;
    font-size: 3em;
    padding-left: 0.5%;
    position: fixed;
    right: 0;
    bottom: 3%;
    border-radius: 100px 0 0 100px;
    transition: all .3s;
    z-index: 99999;
}

#darkLight:hover {
    width: 130px;
    padding-left: 1%;
    background-color: #111;
}




#hd {
    width: 100%;
    display: none !important;
}

#hd_wrapper {
    height: 100%;
	background: rgba(33,32,30,0.9);
}

#logo {
    position: absolute;
    width: 100px;
    height: 55px;
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 10;
}

#logo img {
    width: 100%;
}

#gnb {
    position: absolute;
    left: auto;
    right: 0;
    transform: translateX(-0%);
    width: 50%;
    box-sizing: border-box;
    padding-left: 100px;
}

#gnb .gnb_1dli {
    line-height: 90px;
    width: calc(100%/7);
    text-align: center;
}

.hd_login {
    width: 20%;
    overflow: hidden;
    position: fixed;
    right: 5%;
    top: 35%;
    z-index: 999999;
}

.hd_login a {
    float: left;
    margin: 0 5%;
    color: #fff;
}

.gnb_1da {
    width: 100%;
    color: #fff;
    font-weight: 400;
	position: relative;
	transition: all 0.4s;
}

.gnb_1da::after{
	content: '';
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%,0) scale(0);
	opacity: 0;
	width: 100%;
	height: 5px;
	background: var(--mainCol);
	border-radius: 2px;
	transition: all 0.4s;
}

.gnb_1da:hover{
	color: var(--mainCol) !important;
}

.gnb_1da:hover::after{
	transform: translate(-50%,0) scale(1);
	opacity: 1;
}

.gnb_1dli .bg {
    display: none;
}

.gnb_2dul {
    top: 90px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
}

.gnb_1dli_over .gnb_2dul {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: transparent;
}

#nav_bar {
    height: 3px;
    background: #fff;
    position: absolute;
    bottom: 0;
}

.gnb_2dli {
    border: none;
}

.gnb_2da {
    color: #fff;
    text-align: center;
    font-weight: 300;
	opacity: .6;
}

a.gnb_2da:hover {
    /* background-color: var(--mainCol); */
	background-color: transparent;
	opacity: 1;
}

#tnb {
    border-bottom: none;
    background: none;
    width: 1300px;
    height: 90px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

#tnb ul {
    min-width: inherit;
    width: 100%;
    display: none;
}

#tnb li {
    position: absolute;
    width: 40px;
    height: 40px;
    font-size: 1.0em;
    border-left: none;
    z-index: 10;
}

#tnb li a {
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    overflow: hidden;
}

#tnb li .fa {
    display: none;
}

#tnb .tnb_admin a {
    color: #d40424;
}

#tnb a:hover {
    background: none;
    color: #333;
}

#tnb .tnb_admin a:hover {
    color: #d40424;
}

#tnb li.register {
    background: url(../../img/common/register_icon1.png) center no-repeat;
    position: absolute;
    top: 50%;
    right: 70px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-size: 100%;
}

#tnb li.join {
    display: none;
}

#tnb li.tnb_admin {
    display: none;
}

#tnb li.login {
    background: url(../../img/common/login_icon2.png) center no-repeat;
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-size: 100%;
}

#tnb li.logout {
    background: url(../../img/common/logout_icon2.png) center no-repeat;
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-size: 100%;
}

#aside {
    position: fixed;
    left: -100%;
    top: 0px;
    bottom: 0;
    margin: 0px;
    width: 80%;
    border-top: 0;
    z-index: 1005;
    overflow-y: auto;
    background: #f4f4f4;
    border: 0;
}

.close_menu {
    position: absolute;
    z-index: 1100;
    top: 50%;
    right: -100%;
	transform: translateY(-50%);
    width: 30px;
    height: 30px;
}

.close_menu span {
    position: absolute;
    left: 50%;
	top: 50%;
	right: auto;
	bottom: auto;
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.close_menu .close-line1 {
    transform: translate(-50%,-50%) rotate(45deg);
}

.close_menu .close-line2 {
    transform: translate(-50%,-50%) rotate(-45deg);
}

.menuHead{
	background: #1d1e23;
	width: 100%;
	height: 17vw;
	max-height: 80px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	position: relative;
}

.menuHead img{
	position: absolute;
	left: 5%;
	top: 50%;
	transform: translate(0,-50%);
	width: auto;
	height: 60%;
}

.menuHead p{
	font-size: 3.5vw;
	color: #fff;
	position: absolute;
	left: 17%;
	top: 50%;
	transform: translate(0,-50%);
}

.mask {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .7;
    cursor: pointer;
    z-index: 1000;
}

.mb-sub-ul {
    display: none;
    background: #333;
}

.mb-sub-ul li a {
    display: block;
    font-size: 4.2vw;
    font-weight: 400;
    padding: 0px 0;
	line-height: 10vw;
}

.mobile_menu {
    width: 100%;
}

.mobile_menu ul {
    width: 100%;
    overflow: hidden;
}

.mobile_menu ul ul{
	background: #f4f4f4;
	padding: 3vw 5%;
}

.mobile_menu ul ul a{
	background-color: transparent;
	
}

.mobile-list {
    width: 100%;
	margin-bottom: 3px;
}

.mobile-list:first-child{
	margin-top: 5px;
}

.mobile-list a {
    width: 100%;
    color: #000;
	background: #fff;
    text-transform: uppercase;
    font-size: 13px;
    text-align: left;
    font-size: 4.5vw;
    font-weight: 900;
	padding: 5vw 5%;
	position: relative;
}

.mobile-list a.gnb_1da .depthMore{
	display: block;
	width: 3vw;
	height: 3vw;
	position: absolute;
	right: 5%;
	top: 50%;
	transform: translate(0,-50%);
	transition: all 0.5s;
}

.mobile-list:nth-child(1) a.gnb_1da .depthMore{
	display: none;
}

.mobile-list a.gnb_1da .depthMore::before,
.mobile-list a.gnb_1da .depthMore::after{
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	background: #000;
}

.mobile-list a.gnb_1da .depthMore::before{
	transform: translate(-50%,-50%) rotate(90deg);
	transition: all 0.3s;
	opacity: 1;
}

.mobile-list.on a.gnb_1da .depthMore::before{
	opacity: 0;
}

#mb-open-menu {
    position: absolute;
    left: 20px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    width: 26px;
    height: 16px;
    cursor: pointer;
    z-index: 10;
}

#mb-open-menu span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

#mb-open-menu .line1 {
    top: 0px;
}

#mb-open-menu .line2 {
    top: 7px;
}

#mb-open-menu .line3 {
    bottom: 0;
}

.navBg{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background: rgba(0, 0, 0, 0.7);
	transform: translateY(100%);
	display: none;
}

/* 퀵바 */
.quickBar{
	position: fixed;
	left: 50px;
	top: 170px;
	transform: translate(0,0%);
	z-index: 99;
}

.quickBar ul li{
	margin-bottom: 15px;
}

.quickBar ul li:last-child{
	margin-bottom: 0;
}


@media all and (max-width:1200px) {
    #hd_wrapper {
        width: 100%;
    }
}

@media all and (max-width:1199px) {
    #tnb {
        width: 100%;
    }
}

@media all and (min-width:1025px) {
    #hd {
        height: 90px;
        z-index: 10;
        position: fixed;
        top: 0;
        min-width: none;
        width: 100%;
    }

    #hd_wrapper {
        /* background: rgba(255, 255, 255, 0); */
        -webkit-transition-duration: 0.5s;
        transition-duration: 0.5s;
        -webkit-transition-timing-function: ease-in-out;
        transition-timing-function: ease-in-out;
    }

    #hd.scrollBg #hd_wrapper {
        background: #ebebeb;
        -webkit-box-shadow: -2px 6px 16px 0px rgba(0, 0, 0, 0.26);
        box-shadow: -2px 6px 16px 0px rgba(0, 0, 0, 0.26);
    }

    #hd_wrapper {
        position: absolute;
        width: 100%;
        height: 90px;
    }

    #hd_wrapper .inner {
        height: 90px;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
		z-index: 1;
    }

    #hd.scrollBg .gnb_1da {
        color: #000;
    }

    #hd.scrollBg #tnb li.login {
        background-image: url(../../img/common/login_icon1.png);
    }

    #hd.scrollBg #tnb li.logout {
        background-image: url(../../img/common/logout_icon1.png);
    }

    #hd.scrollBg #tnb li.register {
        background-image: url(../../img/common/register_icon2.png);
    }

    #gnb {
        width: calc(100% - 100px);
    }

    .logo_pc {
        display: block;
    }

    .logo_mobile {
        display: none;
    }

    #aside {
        display: none;
    }

    #gnb {
        display: block;
    }

    .close_menu {
        display: none;
    }

    #mb-open-menu {
        display: none;
    }

    #hd.scrollBg #nav_bar {
        background: #c80e21;
        bottom: -1px;
    }
}

@media all and (max-width:1024px) {
    body{
		padding-top: 0px;
	}
	
	#hd {
        width: 100%;
        display: block;
        height: 17vw;
		max-height: 80px;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 99;
    }

    #hd_wrapper {
        width: 100%;
    }

    #tnb {
        width: 100%;
        left: 0;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        height: 60px;
    }

    #tnb li {
        width: 35px;
        height: auto;
    }

    #tnb li.login,
    #tnb li.register {
        right: inherit;
        left: 20px;
    }

    #tnb li.logout {
        right: inherit;
        left: 70px;
    }

    #tnb li {
        height: 40px;
        line-height: 40px;
    }

    #gnb {
        display: none;
    }

    #logo {
        max-width: 100px;
		width: 20vw;
		height: auto;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .logo_mobile {
        display: block;
    }

    .logo_pc {
        display: none;
    }

    #aside {
        display: block;
        z-index: 2000;
    }

	.gnb_1da:hover{
		color: #000;
	}

	.gnb_1da:hover::after{
		opacity: 0;
	}

	.quickBar{
		display: none;
	}

	.navBg{
		display: none !important;
	}
}

@media all and (max-width:980px) {
    .hd_login {
        width: 20%;
        overflow: hidden;
        position: absolute;
        right: 5%;
        top: 35%;
    }
}

@media all and (max-width:600px) {
    .hd_login {
        display: none;
    }

    #aside {
        width: 100%;
    }

    #tnb li {
        width: 28px;
        height: auto;
    }

    #tnb a {
        padding: 0;
    }

    #tnb li.logout {
        right: inherit;
        left: 56px;
    }
}