#mainWrapper nav {
	display: flex;
	-webkit-align-items: center;
	        align-items: center;
	height: 56px;
	margin-bottom: 5px;
	background-color: white; border: 1px solid #e0e0e0; border-top: 2px solid #ccc; border-bottom: 2px solid #ccc;
	font: 600 120% 'Open Sans';
	position: relative;
	z-index: 3;
}
#mainWrapper nav > div { line-height: 44px; }
#mainWrapper nav > div:hover { background-color: #ccc; }
#mainWrapper nav a { text-decoration: none; color: black; }
#mainWrapper nav > div > span, #mainWrapper nav > div > a { display: block; padding: 0 15px; white-space: nowrap; }
#mainWrapper nav > div > span { cursor: default; }
#mainWrapper nav > div > a:hover { color: white !important; }
#mainWrapper nav > div:hover > span, #mainWrapper nav > div:hover > a { color: white; }
#mainWrapper nav > div > div { display: none; border-top: 6px solid; background: #434552; font: 15px/24px 'Open Sans'; color: white; padding: 14px 0 25px 15px; overflow: hidden; }
#mainWrapper nav > div:hover > div { display: block; position: absolute; }
#mainWrapper nav > div > div > a, #mainWrapper nav > div > div > div { display: block; white-space: nowrap; margin-top: 10px; }
#mainWrapper nav > div > div > a { color: white; }
#mainWrapper nav > div > div > a:hover, #mainWrapper nav > div > div > div:hover { color: #fcd34b !important; }
#mainWrapper nav .switch, #mainWrapper nav .logo { display: none; cursor: pointer; width: 48px; height: 52px; background: url(/images/icons/mobile-start.png) no-repeat center center; position: absolute; top: 0; }
#mainWrapper nav .logo { background-image: url(/images/logo-mobile.png); width: 200px; left: 49px; }
#mainWrapper .nav_l2 { background-color: white; border: 1px solid #e0e0e0; box-sizing: border-box; min-height: 40px; font: 13px/30px Verdana; margin: -6px 0 5px; padding: 5px 15px 5px 0; z-index: 3; }
#mainWrapper .nav_l2 a { text-decoration: none; color: #505050; display: inline-block; margin: 0 5px 0 15px; }
#lgSt { position: absolute; top: 6px; right: 0; }
#lgSt a:nth-child(2) { padding: 0; margin-right: 20px; position: relative; }
#lgSt img { max-height: 44px; max-width: 44px; }
#mainWrapper #lgSt a { display: inline-block; vertical-align: middle; }
#lgSt .usm, #lgSt .nm { position: absolute; bottom: -11px; background-color: orange; border: 2px solid white; border-radius: 12px; color: black; font-size: 11px; font-weight: normal; line-height: 18px; height: 20px; text-align: center; width: 20px; z-index: 3; }
#lgSt .usm { left: -11px; }
#lgSt .nm { background-color: #0098E1; cursor: pointer; right: -11px; }
#lgSt .nm:hover { border-color: #FF8000; }
#lgSt .icoLoad { right: 2px; margin: 0; padding: 2px; }
#lgSt a:nth-child(2) + .icoLoad { right: 20px; }
#mainWrapper #lgSt > div { width: 100%; box-sizing: border-box; border-color: #ccc; }

@media screen and (max-width: 999px) {
	#mainWrapper nav { border-left: none; border-right: none; font-size: 1.6vw; }
	#mainWrapper nav.slide { position: fixed; top: 0; width: 100%; height: 52px;
		-webkit-animation: nav 1s ease-in-out 1;
		   -moz-animation: nav 1s ease-in-out 1;
		     -o-animation: nav 1s ease-in-out 1;
		        animation: nav 1s ease-in-out 1;
	}
	@keyframes nav {
		from { top: -52px; } to { top: 0; }
	}
	#mainWrapper #lgSt .lk { width: 65px; font-size: 1.6vw; line-height: 18px; white-space: normal; }
	#lk_links.slide { position: fixed; top: 55px; width: 100%; background: white; z-index: 2;
		-webkit-animation: lk_links 1s ease-in-out 1;
		   -moz-animation: lk_links 1s ease-in-out 1;
		     -o-animation: lk_links 1s ease-in-out 1;
		        animation: lk_links 1s ease-in-out 1;
	}
	@keyframes lk_links {
		from { top: -52px; } to { top: 55px; }
	}
}
@media screen and (max-width: 830px) {
	#mainWrapper nav > div > span, #mainWrapper nav > div > a { padding: 0 12px; }
}
@media screen and (max-width: 780px) {
	#mainWrapper nav { padding-top: 52px; overflow: hidden; align-items: flex-start;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
        -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
                box-sizing: border-box;
        background: -webkit-linear-gradient(top, white 52px, #434552 52px);
	}
	#mainWrapper nav.ps2:after { content: ''; background: #434552; width: 100%; height: 10px; }
	#mainWrapper nav.ps4 { position: absolute; }
	#mainWrapper nav > div { width: 100%; background: #434552; color: white; }
	#mainWrapper nav a { color: white; }
	#mainWrapper nav > div > div { border-top: none; }
	#mainWrapper nav > div:hover > div { display: none; position: static; }
	#mainWrapper nav > div > span, #mainWrapper nav > div > a { padding: 0 10px; font-size: 20px; }
	#mainWrapper nav > div > div > a, #mainWrapper nav > div > div > div { margin-top: 0; }
	#mainWrapper nav .switch, #mainWrapper nav .logo { display: block; }
	#mainWrapper nav.ps2 .switch { background-color: #434552; }
	#mainWrapper nav .chSc { position: relative; }
	#mainWrapper nav .chSc > b { display: block; width: 48px; height: 44px; position: absolute; top: 0; left: 0; background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAf0lEQVRIie3WsQ2AIBCF4WenE7iFgzmCnTPoMC5iTcEKNBTvzoqEAk2MoBb8C3y56h3w96y1HckRQFMEMMa0IrKpqpJcs0MxECK5ZINSQARNRQER2Z1zfQUq8DEAACTnE0C898NjAHjpkgpV6H9Qlj25grIuYwoqsvGh4t/KnQ5c03vUm6Lv1QAAAABJRU5ErkJggg==) no-repeat center center; cursor: pointer; }
	#mainWrapper nav .chSc > span, #mainWrapper nav .chSc > a { padding: 0 0 0 55px; }
	#mainWrapper nav .chSc > div { display: block; padding: 10px 0 10px 55px; line-height: 30px; }
	#mainWrapper .nav_l2 { display: none; font-size: 15px; background: #E6E6E6; padding-right: 10px; }
	#mainWrapper .nav_l2 a { margin-left: 10px; }
	#lgSt { top: 0; }
	#mainWrapper nav.ps2 #lgSt { position: static; order: -1; }
	#lgSt a[href="/login"] { position: absolute; top: 4px; right: 12px; width: 0px; height: 52px; padding: 0 0 0 40px; background: url('/images/icons/mobile-login.png') no-repeat 6px center; overflow: hidden; }
	#lgSt a:nth-child(2) { position: absolute; top: 4px; right: 18px; margin-right: 0; }
	#mainWrapper #lgSt .lk { display: none; }
	#mainWrapper nav.ps2 #lgSt .lk { display: inline-block; width: auto; font-size: 20px; line-height: 44px; }
	#mainWrapper nav.ps3 #lgSt .lk { display: none; }
	#lgSt .usm, #lgSt .nm { bottom: -6px; }
}
