#btn-menu-m,
#btn-menu-m span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}
#btn-menu-m {
  position: fixed;
  width: 30px;
  height: 40px;
  top: 10px;
  right: 15px;
  z-index: 120;
  display: none;
}
#btn-menu-m span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.scrolled #btn-menu-m span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #555;
}

#btn-menu-m.active span {
	background-color:#fff;
	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: 275px;
 float: left;
 margin-left:15px;
 margin-top:20px;
 text-align: center;
 position:relative;
 float:left
 z-index: 9999;
}

.logo a { display:block;
          width:275px;
          height:40px;
          line-height:60px;
          cursor: pointer; 
          background-image:url(../img/dsh_ci.png); 
          background-position: center left;
          background-size:100%; background-repeat: no-repeat;}




#header-wrap {
  position: fixed;
  z-index: 100;
  width: 100%;
  height:80px;
  border-bottom: 0px solid rgba(255, 255, 255, .3);
  z-index: 3;
 }

.scrolled #header-wrap {
  background: #f4f6f7;
  border-bottom:0;
  z-index:4
}
.scrolled #lnb > ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  text-align:center;
  font-size:19px;
  font-weight:500;
  color:#000;
  opacity:0.8
} 


.scrolled .logo a { display:block; width:275px; height:40px; line-height:60px; background-image:url(../img/dsh_ci_s.png); background-position: center left; background-size:100%; background-repeat: no-repeat;}

#header .lnb-line {
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-42.5%);
  pointer-events: none; 
 }

#header.fixed {
  position: fixed;
  top: 0;
  width: 100%;
}

#header .lnb-line:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

#lnb {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.lnb-line #menu-ctl {
  display:none;
  position: absolute;
  top:0px;
  right:0px;
  z-index:10;
}



#lnb * {
  box-sizing: border-box;
  pointer-events: auto;
}

#lnb > ul:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

#lnb > ul > li {
  display:inline-block;
  padding:0 15px;
  height: 80px;
  line-height: 80px;
  float: left;
  margin-left: -1px;
  transition: all 0.5s;
  white-space:nowrap;
}
/* 1번 메뉴 서브폭 */
#lnb > ul > li:nth-child(1) > ul {
  width: 140px;
}

/* 2번 메뉴 */
#lnb > ul > li:nth-child(2) > ul {
  width: 380px;
  left: -130px;
}

/* 7번 메뉴 */
#lnb > ul > li:nth-child(7) > ul {
  width: 140px;
}

@media screen and (max-width: 960px) { 
  
	#header-wrap { height:60px} 
	#lnb > ul > li { display:none;height:60px; line-height:60px}
  .logo a {height: 60px;background-size: 80%}
  .scrolled .logo a { height:60px; background-size:80%;margin-top:-10px;}
  .lnb-line  #menu-ctl {display:none }

  #lnb > ul > li.hide {
	width:10px;
	overflow:hidden;
	opacity:0.5;
  }
  
  #menu-ctl > a {display:inline-block;width:30px; line-height:60px; background-color:#fff; font-size: 20px; text-align:center; }
}

#lnb > ul > li > a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  text-align:center;
  font-size:19px;
  font-weight:500;
  color:#fff;
  opacity:1;
}

#lnb > ul > li > a:hover {
	opacity:1
}

#lnb > ul > li > ul {
  position: absolute;
  width: 100%;
  display: none;
  box-sizing: content-box;
  margin-left: -1px;
  z-index: 2;
}

#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-color: #fff;
  padding: 0 20px;
  margin-top: -1px;
}

#lnb > ul > li li:first-child {
	border-top:0
}


#lnb > ul > li li:nth-last-child(1) {
  height: 50px;
  line-height: 50px;
}


#lnb > ul > li li > a {
  width: 100%;
  height: 100%;
  display: block;
  text-align: center;
/*  box-sizing: border-box;    
   padding: 0 20px;*/
  color: #222;
  font-size:14px
}

#lnb > ul > li li > a:hover {

	
	/*background-color:#4168ad;*/
	color:#222;
	font-weight: 600;
}
	 


#lnb > ul > li > ul {
 width: auto; 
 white-space: nowrap;   /* 1줄 유지 */
 padding: 0px 20px;

  left: -30px;
}

#lnb > ul > li > ul ul {
}

#lnb .arrow {
  position: absolute;
  width: 30px;
  height: 30px;
  font-size: 14px;
  color: #fff;
  display: inline-block;
  right: 0px;
  top: 50%;
  margin-top: -15px;
  text-align: center;
  line-height: 30px;
  z-index:1;
}

#lnb ul ul .arrow {
  transform: rotate(-90deg);
}

#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;
	background: #db4642;
	/*border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;*/
}


@media screen and (max-width: 768px) {
#lnb > ul > li {display:none }

.lnb-line #menu-ctl {
  display:none;
  }

#lnb {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	}

  .logo a {height: 60px;background-size: 80%}
	.scrolled .logo a { height:60px; background-size:80%;margin-top:-10px;}











#header-wrap {
	position: fixed;
	top: 0;
	border-bottom:0px solid rgba(255,255,255,0.4);
}
#header-wrap #logo-line {
	margin: 0;
}
#logo-line .logo {
	display: inline-block;
	float: none;
}

#logo-line .contact {
	display: none;
}
#btn-menu-m {
	display: inline-block;
}
#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:#000;
  opacity:0.9;
  box-sizing: border-box;
  padding-top: 0px;
  padding-left: 2em;
  padding-right: 1em;
  transition: all 0.5s;
}
#m-lnb-wrapper.on {
  right: 0px;
}
#m-lnb > ul {
  border-bottom: 1px solid #333;
  font-size: 14px;
}
#m-lnb > ul li > a {
  color: #fff;
}
#m-lnb > ul > li > span {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 50px;
  font-size: 14px;
  text-align: center;
  transition: all 0.4s;
  color: tomato;
  cursor:pointer
}
#m-lnb > ul > li.on > span {
  transform: rotate(180deg);
}
#m-lnb > ul > li li > span {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  font-size: 14px;
  text-align: center;
  transition: all 0.4s;
  color: tomato;
  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;

}
#m-lnb > ul > li {
  line-height: 55px;
  border-bottom: 1px solid #333;
}
#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 #474747;
  background-color: #222;
}
#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%
}
#m-lnb > ul > li li li > a {
  display: inline-block;
  padding: 0 10px 0 40px;
}

.select-nav {
  background-color: #db4642;
  display: inline-block;
  float: left;
}
.select-nav:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}
.select-nav .select {
  float: left;
  width: 240px;
  height: 60px;
  position: relative;
  box-sizing: border-box;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  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;
  border-right: 1px solid #fff;
}
.select-nav .select button {
  width: 100%;
  height: 100%;
  background-color: #db4642;
  color: #fff;
  border: 0;
  text-align: left;
  padding-left: 25px;
  outline: none;
  font-size: 15px;
}
.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: 100%;
  border: 1px solid #ddd;
  background-color: #db4642;
  box-sizing: content-box;
}
.select-nav .select ul li {
  min-height: 45px;
  width:100%;
  padding:15px 25px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
}
.select-nav .select ul li a {
  color: #fff;
  display: block;
  font-size: 14px
}
.select-nav .select ul li a:hover {
  color: #fff;
  font-weight:bold;
}
.select-nav .select ul ul {
  display: none;
  padding-top: 10px;
}
.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: 1;
  max-width: 1400px;
  margin: 0px auto;
  background-color:#db4642;

}
.select-nav-wrapper:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}
.select-nav-wrapper .home {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 30px;
  display: inline-block;
  line-height: 60px;
  border-right: 1px solid #fff;
  float: left;
}
.select-nav-wrapper .link {
  background-color: lightcoral;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 30px;
  display: inline-block;
  line-height: 50px;
  float: right;
}
.d2 .t2 {
  display: none;
}

@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;
}

