
nav#nav {
	box-shadow: 0 2px 16px rgba(0,0,0,0.69);
	position: fixed;
	width: 100%;
	background: #fff;
	z-index: 999;
	border-radius: 0;
}

nav#nav a:not(.button) {
	color: #636363;	
}

nav#nav a.nav-logo,  nav#nav .nav-logo a{
	color:#ffffff;	
}

nav#nav li {
	display: inline-flex;
}
nav#nav li a {
	display: inline-block;
	padding: 8px 16px;
	margin: auto;
}
nav#nav li a :not(.active):hover {
	color: #f9252d;
}

#drawer-toggle { 
	position: absolute; 
	opacity: 0; 
	display: none;
}

#drawer-toggle-label { 
-webkit-touch-callout: none; 
-webkit-user-select: none; 
-khtml-user-select: none; 
-moz-user-select: none; 
-ms-user-select: none; 
user-select: none; 
width: 50px; 
display: block; 
position: absolute;
top:0;
right: 0;
background: rgba(255,255,255,.0); 
z-index: 1; 
height: 100%;
cursor: pointer;
} 

#drawer-toggle-label:before { 
	content: ''; 
	display: block; 
	position: absolute; 
	height: 2px; 
	width: 24px; 
	background: #8d8d8d; 
	right: 24px;
	top: 24px;
	box-shadow: 0 6px 0 #8d8d8d, 0 -6px 0 #8d8d8d; 
} 

#drawer-toggle:not(:checked) ~ #drawer-toggle-label {
	transition: min-width .4s ease-in-out;
}

#drawer-toggle:checked ~ #drawer-toggle-label {
	height: 100vh;
	min-width: 100%;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.4);
}

#drawer-toggle-label-xs {
    position: absolute;
    margin: 0 -1rem 0 0;
    top: 0;
    right: 1rem;
    font-size: 3rem;
    opacity: .8;
    line-height: 1;
    padding: 0 1rem 1rem;
}

@media (min-width:1200px) {
	#drawer-toggle-label-xs {
		display: none;
	}
}

#menu {
	z-index: 2;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	color: var(--c1, #00A1E4);
	background: none;
	border-radius: 0;
	font-weight: 700;
	position: relative;
	transition: all .2s ease-in-out;
}
.nav-pills .nav-link.active:after, .nav-pills .show > .nav-link:after {
	content: '';
	position: absolute;
	top: -8px;
	width: 100%;
	height: 2px;
	border: 1px solid var(--c1, #00A1E4);
	background: var(--c1, #00A1E4);
	left: 0;
}

#promobar {
	margin-top: 54px;
	z-index: 998;
	box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
	position: sticky;
	top: 54px;
	background-color: #5cc3ff!important;
}

@media (min-width:768px) {
	#promobar {
		position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
	}
}

input#promobar-top-close:checked ~ #promobar-top {
	display: none!important;
}

input#promobar-top-close ~ label {
	position: absolute;
	right: 24px;
	top: 8px;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	font-weight: 700;
}

input#promobar-top-close:checked ~ label {
	display: none;
}


nav#nav.navbar-dark .nav-logo:hover, nav#nav.navbar-light .nav-logo:hover {
	filter: brightness(1.1);
}


@media screen and (min-width: 1px) and (max-width: 1199px) {

	.nav-links {
		position: fixed;
    height: 100vh;
    background: #fff;
    left: 0;
    top: 0;
    width: 80vw;
    padding: 24px 0px;
		transition: all .4s ease-in-out;
		transform: translateX(-200vw);
		overflow: auto;
	}
	
	.nav-links {
		background-color: #fff;
	}
	
	#drawer-toggle:checked ~ .nav-links {
    box-shadow: 0 0 60vw rgba(0, 0, 0, 1);
		transform: translateX(0);
	}
	
	nav#nav li a {
		padding: 16px 24px;
		margin-bottom: 12px;
	}
	
	nav#nav a {
		font-size: 24px;
	}
	
	.nav-links:target + a.dismiss-menu {
		transform: translateX(0);
	}
	
	.nav-pills .nav-link.active:after, .nav-pills .show > .nav-link:after {
		top: auto;
    bottom: -4px;
	}
}
@media (min-width: 1200px) {
	
	nav#nav.navbar-light li a {
		color: #636363;	
	}
	nav#nav.navbar-dark li a {
		color: #E9E9E9;	
	}
	nav#nav.navbar-dark li a:focus, nav#nav.navbar-dark li a:active {
    outline: 1px solid var(--c1);
	}
	nav#nav.navbar-dark li a:hover {
    color: var(--c1);
	}
}