/* Main menu wrapper */
.cbp-hsmenu-wrapper {position: relative;}

/* Common style for all lists */
.cbp-hsmenu-wrapper ul {list-style: none; padding: 0; margin: 0 auto;}

/* 100% width bar for menu */
.cbp-hsinner {background:transparent; /*background:#47a3da;*/ position:relative; z-index:100;}

/* Main menu style */
.cbp-hsmenu-wrapper .cbp-hsmenu {/*width:90%;*/ width:100%; max-width:1100px; margin:0 auto; padding:0; border:0px solid #fff;}
.cbp-hsmenu > li {margin:0; display:inline-block; padding:0 35px;}
.cbp-hsmenu > li:first-child {margin:0;}

/* Main menu link style */
.cbp-hsmenu > li > a {color:#ddd8ec; font-size:17px; font-weight:normal; font-family:'ngb','ng','Malgun Gothic','맑은고딕','돋움'; letter-spacing:-0.05em; line-height:69px; display:inline-block; position:relative; z-index:10000; outline:none;}
.no-touch .cbp-hsmenu > li > a:hover, .no-touch .cbp-hsmenu > li > a:focus, .cbp-hsmenu > li.cbp-hsitem-open > a {color: #fff;}

/* Add a triangle to currently open menu item link */
.cbp-hsmenu > li.cbp-hsitem-open > a:after {top: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: transparent; /*border-top-color: #499dc1;*/  border-width: 10px; left: 50%; margin-left: -10px;}

/* Submenu style */
.cbp-hssubmenu {position:absolute; left:0; top:100%; width:100%; z-index:0; text-align:center; /* for aligning the sub items */ visibility: hidden; background:#fff; border-bottom:1px solid #615196;}
.cbp-hssubmenu:before, .cbp-hssubmenu:after {content: " "; display: table;}
.cbp-hssubmenu:after {clear: both; }

.cbp-hssubmenu > li a {display: block; color: #666; outline: none; padding:0 50px 0 0; font-size:15px; letter-spacing:-0.05em; line-height:55px; font-weight:normal; font-family:'ngb','ng','Malgun Gothic','맑은고딕','돋움';}

.no-touch .cbp-hssubmenu > li a:hover, .no-touch .cbp-hssubmenu > li a:focus {color: #474072; font-weight:normal; font-family:'ngb','ng','Malgun Gothic','맑은고딕','돋움';}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {z-index: 1000; visibility: visible;}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu > li {opacity: 1; -webkit-transition: opacity 0.5s 0.1s; -moz-transition: opacity 0.5s 0.1s; transition: opacity 0.5s 0.1s;}

.subform {position:relative; margin-left:-550px; padding:0; width:1100px; left:50%; height:55px; text-align:left;}
.submenu {margin:0; padding:0; list-style:none;}
.submenu li {float:left;}

/* Helper div for animating the background */
.cbp-hsmenubg {
background: #f7f7f7;
position: absolute;
width: 100%;
top: 100%;
left: 0;
z-index: 0;
height: 0px;
}

.no-touch .cbp-hsmenubg {
-webkit-transition: height 0.3s;
-moz-transition: height 0.3s;
transition: height 0.3s;
}

@media screen and (max-width: 65em){
.cbp-hsmenu-wrapper {
font-size: 80%;
}
}

@media screen and (max-width: 51.4375em){
.cbp-hsmenu-wrapper {
font-size: 100%;
}

.cbp-hsmenu-wrapper .cbp-hsmenu {
padding: 0;
max-width: none;
width: 100%;
}

.cbp-hsmenu > li {
border-top: 1px solid rgba(255,255,255,0.5);
text-align: center;
margin: 0 auto;
display: block;
}

.cbp-hsmenu > li:first-child {
border-top: none;
}

.cbp-hsmenu > li > a {
display: block;
}

.cbp-hsmenu > li > a:not(:only-child):before {
line-height: 1.8;
right: 0;
position: absolute;
font-size: 200%;
}

.cbp-hsmenubg {
display: none;
}

.cbp-hssubmenu {
background: #f7f7f7;
position: relative;
overflow: hidden;
height: 0;
}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
height: auto;
}



@media screen and (max-width: 25em){
/* Let's only allow 1 item in a row now */
.cbp-hssubmenu > li {
width: 100%;
display: block;
}

.cbp-hsmenu-wrapper .cbp-hssubmenu > li {
box-shadow: 0 1px #cecece;
text-align: left;
}

.cbp-hssubmenu > li a {
text-align: left;
line-height: 50px;
padding: 0.4em 1em;
}

.cbp-hssubmenu > li a img {
float: left;
max-height: 50px;
}

.cbp-hssubmenu > li a span {
min-height: 0;
margin: 0;
}
}

