#btn-menu-m,
#btn-menu-m span {
  display: inline-block;
  transition: 0.3s;
  box-sizing: border-box;
}
#btn-menu-m {
  position: fixed;
  width: 30px;
  height: 40px;
  top: 12px;
  right: 15px;
  z-index: 120;
  display: none;
}
#btn-menu-m span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

.scrolled #btn-menu-m span {background: #8f2b8c;}

#btn-menu-m.active span {
	background: #8f2b8c;
	height:1px
}


#btn-menu-m span:nth-of-type(1) {
  top: 8px;
}

#btn-menu-m span:nth-of-type(2) {
  top: 16px;
  width:25px
}

#btn-menu-m span:nth-of-type(3) {
  bottom: 13px;
}
#btn-menu-m.active span:nth-of-type(1) {
  -webkit-transform: translateY(16px) rotate(-45deg);
  transform: translateY(16px) rotate(-45deg);
  top: 0px;
}

#btn-menu-m.active span:nth-of-type(2) {
  opacity: 0;
}

#btn-menu-m.active span:nth-of-type(3) {
  -webkit-transform: translateY(-23px) rotate(45deg);
  transform: translateY(-23px) rotate(45deg);
  bottom: 0px;
}

.logo {
  height: 100%;
  width: 150px;
  float: left;
  text-align: center;
  position: relative;
}

.logo a {display: block; width: 150px; height: 100px; line-height: 100px; background: url(../images/logo.png) no-repeat center; background-size: 150px; filter: brightness(100); transition: 0.3s;}
.scrolled .logo a {filter: brightness();}

#header {position:absolute;left:0;top:0px; max-width: 1400px; width:100%; left: 50%; transform:translateX(-50%) ;z-index:6;-webkit-transition:all .3s ease;-moz-transition: all .3s ease;-ms-transition: all .3s ease;-o-transition: all .3s ease;transition: all .3s ease;}

#header-wrap {
  position: fixed;
  z-index: 100;
  width: 100%;
  height:100px;
  z-index: 3;
  transition: 0.3s;
}

.scrolled #header-wrap {
  background: #fff;
  z-index:4
}


#header .lnb-line {
  height:100%;
  position: absolute;
  right:0
}

#header.fixed {
  position: fixed;
  top: 0;
  width: 100%;
}

#header .lnb-line:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

#lnb {
  float:left;
}



#lnb * {
  box-sizing: border-box;
}

#lnb > ul {display: flex; margin-right: -35px;}

#lnb > ul > li {
  padding:0 15px;
  height: 100px;
  line-height: 100px;
  transition: 0.3s;
  white-space: nowrap;
}

@media screen and (max-width: 1470px) {
  #lnb > ul {margin-right: 0;}
}

@media screen and (max-width: 1400px) {
  .logo {padding-left: 15px;}
}

@media screen and (max-width: 1200px) {
  #lnb > ul > li {padding: 0;}
}

@media screen and (max-width: 960px) { 
    #header-wrap { height:60px} 
    #lnb > ul > li { height:60px; line-height:60px}
    .logo a { height:60px; width: 90px; background-size: 90px;}
}

#lnb > ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  font-family: 'MangoDdobak';
  font-size:21px;
  color:#fff;
  transition: 0.3s;
  position: relative;
  letter-spacing: -0.8px;
}

#lnb > ul > li > a:after {position: absolute; display: block; content: ""; width: 26px; height: 26px; top: 22px; right: 0; background: url(../images/footprint.png) no-repeat center; background-size: cover; filter: brightness(100); opacity: 0; transition: 0.3s;}

#lnb > ul > li:hover > a:after {opacity: 1;}

.scrolled #lnb > ul > li > a {color: #8f2b8c;}

.scrolled #lnb > ul > li > a:after {filter: brightness();}

.scrolled #lnb > ul > li:hover > a:after {opacity: 1;}

#lnb > ul > li > ul {
  position: absolute;
  width: 100%;
  display: none;
  box-sizing: content-box;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}

#lnb > ul > li > ul ul {
  position: absolute;
  width: 100%;
  display: none;
  border: 1px solid #525252;
  box-sizing: content-box;
  margin-top: -1px;
  top: 0;
  left: 100%;
  margin-left: 0px;
}

#lnb > ul li.on > ul {
  position: absolute;
  display: block;
}

#lnb li {
  position: relative;
}

#lnb > ul > li li {
  line-height: 48px;
  height: 50px;
  background: #fff;
  padding: 0;
}

#lnb > ul > li li > a {
  width: 100%;
  height: 100%;
  display: block;
  color: #555;
  font-size: 16px;
  text-align: center;
  border: 1px solid #ddd;
  border-top: none;
  transition: 0.3s;
  letter-spacing: 0.5px;
}

#lnb > ul > li li > a:hover {
	background: #8f2b8c;
  border-color: #8f2b8c!important;
	color: #fff;
}

#lnb > ul > li > ul {
  width: 170px;
  top: 100%;
}

/* #lnb > ul > li > ul ul {
} */

#login-box, #login-box2 {
  height: 80px;
  line-height:80px;
  float: right;
  padding-left:50px

}
#login-box3 {
  height: 50px;
  text-align:center;
  margin-bottom:10px;
}
#login-box a, #login-box2 a, #login-box3 a {
  display: inline-block;
  padding:0 10px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: #ddd;
  font-size: 12px;
  
}
#login-box2 {
  display:none;
}

#top-bg-wrapper {
  position: relative;
  z-index: 10;
  border-bottom:1px solid #ddd;
}

#top-bg-wrapper .bg {
  width: 100%;
  height: 100%;
}

#container-box {
  width: 100%;
  position:relative

}

@media screen and (max-width: 960px) {
  #header .lnb-line {
    display: none;
  }
  #btn-menu-m {
    display: inline-block;
  }
}

@media screen and (max-width: 768px) {
  #header-wrap {
    position: fixed;
    top:0;
  }
  #header-wrap #logo-line {
    margin: 0;
  }
  #logo-line .logo {
    display: inline-block;
    float: none;
  }

  /* #top-bg-wrapper {
  } */
}

#m-lnb-wrapper {
  position: fixed;
  top: 0;
  right: -400px;
  z-index: 110;
  max-width: 400px;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color:#fff;
  box-sizing: border-box;
  padding-top: 60px;
  padding-left: 1.5em;
  padding-right: 1.5em;
  transition: all 0.5s;
}
#m-lnb-wrapper.on {
  right: 0px;
}
#m-lnb > ul {
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}
#m-lnb > ul li > a {
  color: #fff;
}
#m-lnb > ul > li > span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 55px;
  font-size: 14px;
  transition: 0.3s;
  cursor:pointer;
}
#m-lnb > ul > li > span i {color: #8f2b8c; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); transition: 0.3s;}
#m-lnb > ul > li.on > span i {
  transform: translateY(-50%) rotate(180deg);
}
#m-lnb > ul > li li > span {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 40px;
  font-size: 14px;
  cursor:pointer
}
#m-lnb > ul > li li.on > span {
  transform: rotate(180deg);
}

#m-lnb > ul li {
  position: relative;
}
#m-lnb > ul > li > a {
  display: inline-block;
  padding: 0 20px;
  font-size:16px;
  color: #8f2b8c;
}
#m-lnb > ul > li {
  line-height: 55px;
  border-bottom: 1px solid #ddd;
}
#m-lnb > ul > li:nth-last-child(1) {
  border-bottom: 0;
}
#m-lnb > ul > li ul {
  display: none;
  line-height: 40px;
}
#m-lnb > ul > li li {
  border-top: 1px solid #e9e9e9;
  background-color: #f5f5f5;
}
#m-lnb > ul > li li li {
  border-top: 1px solid #959595;
  background-color: #777;
}
#m-lnb > ul > li li > a {
  display: inline-block;
  padding: 3px 15px 3px 30px;
  width:100%;
  color: #555;
}
#m-lnb > ul > li li li > a {
  display: inline-block;
  padding: 0 10px 0 40px;
}

.select-nav {
  background-color: #fff;
  /* display: inline-block; */
  float: left;
}

.select-nav:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.select-nav .select {
  float: left;
  width: 220px;
  height: 70px;
  position: relative;
  box-sizing: border-box;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  margin-left: -1px;
}

.select-nav .select:first-child { border:0}
.select-nav .select .down {
  position: absolute;
  width: 25px;
  height: 25px;
  display: inline-block;
  top: 20px;
  right: 5px;
  line-height: 25px;
  text-align: center;
  color: #ddd;
  font-size: 20px;
  transition: all 0.5s;
}
.select-nav .select.on .down {
  transform: rotate(180deg);
}

.select-nav .select.d1 {
  margin-left: 0;
}

.select-nav .select button {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border: 0;
  text-align: left;
  padding-left: 25px;
  outline: none;
  font-size:18px;
  color: #333;

}

.select-nav .select button .t1 { font-weight:500}
.select-nav .d3 button { font-weight:bold}



.select-nav .select > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  width: calc(100% + 2px);
  background-color: #fff;
  box-sizing: content-box;
}

@media screen and (max-width: 740px) {
  .select-nav .select.d1 > ul {left: -2px;}
  .select-nav .select.d2 > ul {width: calc(100% + 3px);}
}

.select-nav .select ul li {
  min-height: 55px;
  line-height: 55px;
  
}


.select-nav .select ul li a {
  padding-left: 25px;
	color:#555;
	display:block;
	font-size:16px;
  border: 1px solid #ddd;
  border-top: none;
  transition: 0.3s;
}

.select-nav .select ul li:first-child a {border-top: 1px solid #ddd;}

.select-nav .select ul li a:hover {
	background: #8f2b8c;
  color: #fff;
  border-color: #8f2b8c;
}


.select-nav .select ul ul {
  display:none;
}

.select-nav .select ul li li {
  border-top: 1px solid #ddd;
  border-bottom: 0;

}



.select-nav .select ul li:nth-last-child(1) {
  border-bottom: 0;
}
.select-nav-wrapper {
  position: relative;
  z-index:3;
  background-color:#fff;
  max-width:1400px;
  margin: -71px auto;
  border-bottom: 1px solid #ddd;
}
.select-nav-wrapper:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}
.select-nav-wrapper .home {
  float: left;
  width: 60px;
  height: 70px;
  text-align: center;
  font-size: 20px;
  color: #8f2b8c;
  /* display: inline-block; */
  line-height: 70px;
  border-right:1px solid #ddd;
  transition: 0.3s;
}
.select-nav-wrapper .home:hover i {opacity: 0.7;}
.select-nav-wrapper .link {
  background-color: lightcoral;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 30px;
  display: inline-block;
  line-height: 50px;
}
.d2 .t2 {display:none;}
@media screen and (max-width: 1120px) {
  #login-box {
    display:none;
  }
  #login-box2 {
    display:inline-block;
  }
}
@media screen and (max-width: 768px) {
  .select-nav-wrapper .home {
    display: none;
  }
  .select-nav-wrapper .link {
    display: none;
  }
  .select-nav .select.d3 {
    display: none;
  }
  .select-nav {
    width: 100%;
  }
  .select-nav .select {
    width: 50%;
	border-right: 0
  }

  .select-nav .select ul ul {
    display:block;
  }
  .d2 .t2 {display: inline;}
  .d2 .t2 .fa { color: #555; font-weight:bold;}
}
