* {
	margin: 0;
	padding: 0;
	text-decoration: none
}

#navcontain {
	background: #bf1e2e;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.nav {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

#cssnav,
#cssnav ul,
#cssnav ul li,
#cssnav ul li a,
#cssnav #head-mobile {
	border: 0;
	list-style: none;
	line-height: 1;
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}

#cssnav:after,
#cssnav>ul:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0
}

#cssnav #head-mobile {
	display: none
}

#cssnav {
	width: 100%;
	z-index: 9999;
}

#cssnav>ul {
	margin: 0 0 0 0;
}

#cssnav>ul>li {
	display: inline-block;
	*float: left;
	position: relative;
	vertical-align: middle;
}

#cssnav>ul>li:first-child {
	border-left: none;
}

#cssnav>ul>li.has-sub {
	padding: 0;
}

#cssnav>ul>li>a {
	display: block;
	*display: inline-block;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	line-height: 1;
	padding: 20px;
	font-size: 1.5rem;
}



#cssnav>ul>li:hover>a,
#cssnav>ul>li:focus>a,
#cssnav ul li.active a {
	color: #fff;
	text-transform: uppercase;
	display: block;
	padding: 20px;
	text-decoration: none;
	text-shadow: 1px 1px 3px #333;
}

#cssnav>ul>li:hover,
#cssnav ul li.active:hover,
#cssnav ul li.active,
#cssnav ul li.has-sub.active:hover {
	height: 1%;
}

#cssnav>ul>li:focus,
#cssnav ul li.active:focus,
#cssnav ul li.active,
#cssnav ul li.has-sub.active:focus {
	-webkit-transition: background .3s ease;
	-ms-transition: background .3s ease;
	transition: background .3s ease;
}

#cssnav>ul>li:first-child:hover,
#cssnav ul li.active:hover,
#cssnav ul li.active,
#cssnav ul li.has-sub.active:hover {}

#cssnav ul ul {
	position: absolute;
	left: -9999px;
	z-index: 999;
}

#cssnav ul ul li {
	height: 0;
	-webkit-transition: all .25s ease;
	-ms-transition: all .25s ease;
	background: #bf1e2e;
	transition: all .25s ease
}

#cssnav ul ul li:hover {
	background: #8D1622;
}

#cssnav li:hover>ul {
	left: auto;
	*left: 0;
	*z-index: 999999;
}

#cssnav li:hover>ul>li {
	height: 100%;
}

#cssnav ul ul ul {
	margin-left: 100%;
	top: 0;
}

#cssnav ul ul li a {
	width: 260px;
	text-transform: uppercase;
	font-size: 14px;
	padding: 15px 20px;
	text-align: left;
	color: #fff;
	border-bottom: #666666 1px solid;
	z-index: 999;
	text-decoration: none;
	transition-duration: .5s;
	-webkit-transition-duration: .5s;
}



#cssnav ul ul li:hover>a,
#cssnav ul ul li a:hover {
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 3px #333;
}

#cssnav ul ul li.has-sub>a:after {
	position: absolute;
	top: 16px;
	right: 11px;
	width: 8px;
	height: 2px;
	display: block;
	background: #ddd;
	content: ''
}

#cssnav ul ul li.has-sub>a:before {
	position: absolute;
	top: 13px;
	right: 14px;
	display: block;
	width: 2px;
	height: 8px;
	background: #ddd;
	content: '';
	-webkit-transition: all .25s ease;
	-ms-transition: all .25s ease;
	transition: all .25s ease
}

#cssnav ul ul>li.has-sub:hover>a:before {
	top: 17px;
	height: 0
}

#cssnav ul ul li.has-sub:hover,
#cssnav ul li.has-sub ul li.has-sub ul li:hover {
	background: #f1f1f1;
	color: #fff;
}

#cssnav ul ul ul li.active a {
	border-left: 1px solid #333;
}

#cssnav>ul>li.has-sub>ul>li.active>a,
#cssnav>ul ul>li.has-sub>ul>li.active>a {
	border-top: 1px solid #333;
}

.space-after {
	padding-right: 240px;
}

.space-before {
	padding-left: 0;
}

.button p {
	display: none;
}

@media screen and (min-width:1171px) {
	#cssnav ul {
		display: block !important;
	}
}

@media screen and (max-width:1170px) {
	.divider {
		display: none;
	}

	#navcontain {
		height: 40px;
		top: 125px;
		text-align: left;
		background: #bf1e2e;
	}

	#cssnav ul {
		width: 100%;
		display: none;
		background: #bf1e2e;
		box-shadow: 1px 1px 3px #fff;
	}

	#cssnav ul li {
		width: 100%;
		margin: 0;
		padding: 9px 0 9px 40px;
		border-left: none;
	}


	#cssnav ul ul li,
	#cssnav li:hover>ul>li {
		height: auto;
		padding: 20px 20px 20px 40px;
		background: #bf1e2e;
	}

	#cssnav ul li a,
	#cssnav ul ul li a {
		width: 100%;
		border-bottom: 0;
		font-size: 16px;
	}

	#cssnav>ul>li {
		float: none;
	}

	#cssnav>ul>li.has-sub {
		padding: 10px 60px 10px 60px;
	}

	#cssnav ul ul li a {
		padding: 0 !important;
		margin-left: 20px;
	}

	#cssnav ul ul ul li a {}

	#cssnav ul ul li a {
		font-weight: bold;
		font-size: 16px;
	}

	#cssnav ul ul li:hover>a,
	#cssnav ul ul li.active>a {
		font-weight: bold;
	}

	#cssnav ul ul,
	#cssnav ul ul ul {
		position: relative;
		left: 0;
		width: 100%;
		margin: 0;
		text-align: left;
		box-shadow: none;
	}

	#cssnav>ul>li.has-sub>a:after,
	#cssnav>ul>li.has-sub>a:before,
	#cssnav ul ul>li.has-sub>a:after,
	#cssnav ul ul>li.has-sub>a:before {
		display: none;
	}

	#cssnav #head-mobile {
		display: block;
		padding: 22px 0 16px;
		right: 10px;
		color: #ddd;
		font-size: 12px;
		font-weight: 700;
		box-sizing: border-box;
		text-align: right;
	}

	#head-mobile:after {
		position: relative;
		bottom: 9px;
		color: #363636;
		text-align: right;
		font-size: 15px;
	}


	.button {
		width: 85px;
		height: 40px;
		position: absolute;
		top: 2px;
		cursor: pointer;
		z-index: 12399994;
	}

	#navcontain .button {
		display: block !important;
	}

	.button p {
		padding: 13px 0 0 43px;
		display: inline-block;
		color: #fff
	}

	.button:after {
		position: absolute;
		display: block;
		height: 10px;
		width: 20px;
		top: 0px;
		bottom: 0px;
		left: 15px;
		margin: auto;
		border-top: 2px solid #fff;
		border-bottom: 2px solid #fff;
		content: '';
	}

	.button:before {
		position: absolute;
		display: block;
		height: 2px;
		width: 20px;
		top: 0px;
		bottom: 0px;
		left: 15px;
		margin: auto;
		background: #fff;
		-webkit-transition: all .3s ease;
		-ms-transition: all .3s ease;
		transition: all .3s ease;
		content: '';
	}

	.button.menu-opened:after {
		top: 0;
		border: 0;
		height: 2px;
		width: 19px;
		background: #fff;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
		-webkit-transition: all .3s ease;
		-ms-transition: all .3s ease;
		transition: all .3s ease;
	}

	.button.menu-opened:before {
		top: 0;
		background: #fff;
		width: 19px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	#cssnav .submenu-button {
		position: absolute;
		background: #eaeaea;
		z-index: 99;
		left: 0;
		top: 0;
		bottom: 0px;
		display: block;
		padding: 0 27px;
		cursor: pointer;
		border-left: #fff solid 1px;
		border-bottom: #fff solid 1px;
	}

	#cssnav .submenu-button.submenu-opened {
		background: #f1f1f1;
		border-left: #fff solid 1px;
		border-bottom: #fff solid 1px;
		z-index: 99999;
	}

	#cssnav ul ul .submenu-button {
		height: 34px;
		width: 34px;
	}

	#cssnav .submenu-button:after {
		position: absolute;
		margin: auto;
		top: 0;
		bottom: 0;
		right: 19px;
		width: 8px;
		height: 2px;
		display: block;
		background: #363636;
		content: '';
	}

	#cssnav ul ul .submenu-button:after {
		top: 13px;
		right: 13px;
	}

	#cssnav .submenu-button.submenu-opened:after {
		background: #fff;
	}

	#cssnav .submenu-button:before {
		position: absolute;
		background: #363636;
		margin: auto;
		top: 0;
		bottom: 0;
		right: 22px;
		display: block;
		width: 2px;
		height: 8px;
		content: '';
	}

	#cssnav ul ul .submenu-button:before {
		top: 10px;
		right: 16px;
	}

	#cssnav .submenu-button.submenu-opened:before {
		display: none;
	}

	#cssnav ul ul ul li.active a {
		border-left: none;
	}

	#cssnav>ul>li.has-sub>ul>li.active>a,
	#cssnav>ul ul>li.has-sub>ul>li.active>a {
		border-top: none;
	}

}

@media screen and (max-width:850px) {
	#navcontain {
		top: 162px;
		background: #bf1e2e;
	}

}

@media screen and (max-width:650px) {
	#navcontain {
		position: static;
		width: 100%;
		left: 0;
		right: 0;
		text-align: left;
	}

	#cssnav .submenu-button {
		right: 0;
		left: auto;
	}

	.button {
		left: 0;
		margin: auto;
		display: block !important;
		!i;
		!;
	}

	#head-mobile:after {
		left: 17px;
	}

	#cssnav #head-mobile {
		text-align: left;
		right: 0;
	}

	#cssnav>ul>li>a {
		font-size: 14px;
	}
}