/* NAVIGATION
================================================================================ */
a.menu-trigger {
	display: block;
	float: right;
	width: 80px;
	height: 20px;	
	position: relative;
	margin: 1.0625rem 0.625rem 0 0.625rem;
	padding-bottom: 70px;
	color: #ffffff;
	text-transform: uppercase;
	z-index: 1005;
}
	a.menu-trigger:hover { color: #fee2be;}
	
	a.menu-trigger span {
		position: absolute;
		top: 20px;
		left: 40px;
		margin-left: -15px;
		display: block;
		width: 38px;
		height: 4px;
		border-radius: 2px;
		margin-top: 0px;
		background-color: #aa1277;
		font-size: 0px;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
		a.menu-trigger span:before, a.menu-trigger span:after {
			position: absolute;
			left: 0;
			width: 100%;
			height: 100%;
			background: #aa1277;
			content: '';
			-webkit-transition: -webkit-transform 0.3s;
			transition: transform 0.3s;
			border-radius: 2px;
			
		}
			a.menu-trigger span:before {
				-webkit-transform: translateY(-300%);
				transform: translateY(-300%);
			}
			a.menu-trigger span:after {
				-webkit-transform: translateY(300%);
				transform: translateY(300%);
			}
			a.menu-trigger:hover span, a.menu-trigger:hover span:before, a.menu-trigger:hover span:after {
				background-color: #aa1277;
			}
			
			
			
	.move-right a.menu-trigger span, .move-left a.menu-trigger span, 
	.move-right .white a.menu-trigger span, .move-left .white a.menu-trigger span, 
	.move-right .solid_white a.menu-trigger span, .move-left .solid_white a.menu-trigger span {
		background-color: transparent;
	}
		.move-right a.menu-trigger span:before, .move-left a.menu-trigger span:before {
			-webkit-transform: translateY(0) rotate(45deg);
			transform: translateY(0) rotate(45deg);
			background-color: #6f0748;
		}
		.move-right a.menu-trigger span:after, .move-left a.menu-trigger span:after {
			-webkit-transform: translateY(0) rotate(-45deg);
			transform: translateY(0) rotate(-45deg);
			background-color: #6f0748;
		}
	
		.move-right a.menu-trigger, .move-left a.menu-trigger {color: #6f0748;}
			
/* MOBILE SIDE NAV */
.move-right .exit-off-canvas, .move-left .exit-off-canvas { box-shadow:none; background: rgba(255,255,255,0.8);}

.left-off-canvas-menu, .right-off-canvas-menu {background: white;}

	ul.off-canvas-list li {
		padding: 0; margin: 0;
		background: none;
	}
	ul.off-canvas-list li:before {display: none;}
		ul.off-canvas-list li a {
			font-size: 1rem;
			color: black;
			border-bottom:  solid 1px rgba(111,7,72,0.2);
			font-family: 'Roboto', Arial, Helvetica, sans-serif;
		}
		ul.off-canvas-list li a br {display: none;}
			ul.off-canvas-list li a:hover {
				background-color: transparent;	
				color: #aa1277;
			}

.right-off-canvas-menu ul.off-canvas-list li.has-submenu>a:before {display: none;}

.left-off-canvas-menu ul.off-canvas-list li.has-submenu>a:after,
.right-off-canvas-menu ul.off-canvas-list li.has-submenu>a:after {
	content: '';
	display: inline-block;
	width: 10px;
	height: 20px;
	float: right;
	background: url(../images/style/more_arrow.png) 0 2px no-repeat;
}
	.left-off-canvas-menu ul.off-canvas-list li.has-submenu>a:hover:after,
	.right-off-canvas-menu ul.off-canvas-list li.has-submenu>a:hover:after {background-position: 0 -18px;}

.left-submenu, .right-submenu {background: white;}

ul.off-canvas-list li label {
	color: #0b3868;
	font-size: 0.875rem;
	background: #f4f4f4;
	border-top: 1px solid #f4f4f4;
	text-transform: none;
	font-weight: normal;
	padding: 0;
	line-height: 1.43;
}

.right-submenu .back>a:after {display: none;}

.left-submenu .back > a, .right-submenu .back > a {
	color: #ffffff;
	text-transform: none;
	font-size: 0.875rem;
	font-weight: normal;
	background: #cccccc;
	border-top: solid 1px #666;
	padding: 0.3rem 0.66667rem;
	line-height: 1.43;
}
	.left-submenu .back > a:before, .right-submenu .back > a:before {
		content: '';
		width: 10px;
		height: 20px;
		display: inline-block;
		float: left;
		background: url(../images/style/back_arrow.png) 0 0 no-repeat;
		margin-right: 15px;
	}
	.left-submenu .back > a:hover, .right-submenu .back > a:hover {
		background-color: #dddddd;		
	}
	
/* FIXED NAV */
.off-canvas-fixed {
	-webkit-transition: -webkit-transform 500ms ease;
	transition: transform 500ms ease;
}

.move-right > .off-canvas-fixed {
	height: 100%;
	-webkit-transform: translate3d(15.625rem, 0, 0);
	transform: translate3d(15.625rem, 0, 0);
}
.move-left > .off-canvas-fixed {
	height: 100%;
	-webkit-transform: translate3d(-15.625rem, 0, 0);
	transform: translate3d(-15.625rem, 0, 0);
}

.left-off-canvas-menu, .right-off-canvas-menu {
	-webkit-transform: none;
	transform: none;
	margin-left: -15.625rem;
	height: 100vh;
}
.right-off-canvas-menu {
	margin-left: 0;
	margin-right: -15.625rem;
	box-shadow: 0 0 5px 5px rgba(0,0,0,0.06);
}



/* SMALL (up to 640px)
==================================================================================================================================
=============================================================================================================================== */
@media only screen and (max-width: 20.062em) {

}

/* MEDIUM (640px up)
==================================================================================================================================
=============================================================================================================================== */
@media only screen and (min-width: 40.063em) {

/* NAVIGATION
================================================================================ */
#nav {
	z-index: 999;
	height: 40px;
	position: relative;
	text-align: justify;
	margin-top: 35px;
}
	#nav ul {
		padding: 0;
		margin: 0;
		display: inline;
		
	}
	#nav #nav-just {
		display: inline-block;
		position: relative;
		width: 100%;
		height: 0;
		/* border-bottom: solid 1px rgba(255,255,255,0.2); */
		top: -5px;
	}
	
		#nav ul li {
			padding: 0;
			width: auto;
			float:left;
			position: relative;
			height: 25px;
			background: none;
			
		}
		#nav ul li:before {display: none;}
		#nav ul > li {
			display: inline-block;
			float: none;
		}
			#nav ul li a {
				font-size: 1rem;						
				line-height: 1.5;
				text-align: center;
				display: block;
				text-transform: none;
				font-weight: 400;
				color: black;
				padding-bottom: 0.625rem;
				border-bottom: solid 1px rgba(255,255,255,0);
				transition: border-color 300ms ease-out;
			}
			
			#nav ul li:hover a, #nav ul li a.active, #nav ul li.current-menu-item a, #nav ul li.current-page-ancestor a, #nav ul li.current-post-ancestor a {
				color: #aa1277;
				border-color: rgba(255,255,255,1)
			}

			#nav > ul > li:last-of-type a {
				padding: 5px 25px;
				/* transform: translateY(-7px); */
				color: white;
				background-color: #aa1277;
				border-radius: 2px;
				border: 2px solid #aa1277;

				-webkit-transition: background-color 300ms ease-out, color 300ms ease-out;
				-moz-transition: background-color 300ms ease-out, color 300ms ease-out;
				transition: background-color 300ms ease-out, color 300ms ease-out;
			}
				#nav > ul > li:last-of-type a:hover {
					color: #aa1277;
					background-color: transparent;

					-webkit-transition: background-color 300ms ease-out, color 300ms ease-out;
					-moz-transition: background-color 300ms ease-out, color 300ms ease-out;
					transition: background-color 300ms ease-out, color 300ms ease-out;
				}


	.menu-item-has-children {
		position: relative;
	}
			
	#nav ul li ul.sub-menu {
		display: none;
		position: absolute;
		width: 300px;
		background: #f9fafc;
	}
		#nav ul li ul.sub-menu li {
			margin: 0;
			height: auto;
			border-bottom: 1px solid #e3e4e7;
			display: block;
			text-align: left;
		}
			#nav ul li ul.sub-menu li:last-of-type {
				border-bottom: none;
			}
			#nav ul li ul.sub-menu li a {
				padding: 10px 15px;
				display: block;
				width: 100%;
				text-align: left;
				color: #404d5e;
			}
				#nav ul li ul.sub-menu li a:hover {
					color: black;
					background-color: #f3f3f3;
				}

	#nav ul li.menu-item-has-children:hover ul.sub-menu {
		display: block;
	}
}

/* Large (1020px up)
==================================================================================================================================
=============================================================================================================================== */
@media only screen and (min-width: 64.063em) {
	#nav ul li a {/* font-size: 1.125rem; */}
	#nav #nav-just {top: -3px;}
}
