﻿
/*#region Site Navigation*/
/*#region Site Navigation - Desktop*/
#menu-button {
	display: none;
}

#navigation {
	list-style: none;
	margin: 0;
	padding: 0;
	display: table;
	width: 100%;
}

	#navigation ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	#navigation > li {
		position: relative;
		-webkit-perspective: 500px;
		perspective: 500px;
	}

	#navigation ul {
		-webkit-perspective: 500px;
		perspective: 500px;
	}

	#navigation > li {
		display: table-cell;
		text-align: center;
		position: relative;
		border-right: 1px solid #dee0e5;
		background: #2a3794;
		/*background: #2a3794;*/
	}



		#navigation > li:first-child {
			/*border-left:1px solid #dee0e5;*/
			border-left: none !important;
		}

		#navigation > li.home-button {
			width: 60px;
			color: #2a3794 !important;
		}

			#navigation > li.home-button a:hover {
				width: 60px;
				color: #2a3794 !important;
			}

	#navigation li > a,
	#navigation li > span {
		display: block;
		color: #fff !important;
		font-size: 16px;
		padding: 19px 5px 18px;
		cursor: pointer;
		transition: color 0.1s, background 0.3s;
		-webkit-transition: color 0.1s, background 0.3s;
		-moz-transition: color 0.1s, background 0.3s;
	}

	#navigation li > a {
		color: #fff !important;
	}

	#navigation li > span a {
		color: #fff !important;
	}

	#navigation li:hover > span a {
		color: #2a3794 !important;
	}


	#navigation > li > a,
	#navigation > li > span {
		/*border-top:1px solid #fff;
	border-bottom:1px solid #dee0e5;*/
	}

	#navigation > li:hover > a,
	#navigation > li:hover > span,
	#navigation > li.current-menu-item > a,
	#navigation > li.current-menu-item > span {
		/*border-top:1px solid #7cc5f8;
	border-bottom:1px solid #579dd9;*/
	}

	#navigation li:hover,
	#navigation li:hover > span,
	#navigation li:hover > a,
	#navigation > li.current-menu-item,
	#navigation > li.current-menu-item > span,
	#navigation > li.current-menu-item > a {
		text-decoration: none;
		background: #f2f4f9;
		color: #2a3794;
		/*background:#63b2f5;
	color:#fff;*/
		border-right-color: transparent;
		border-left-color: transparent;
	}

		#navigation li:hover > a:after,
		#navigation > li.current-menu-item > a:after,
		#navigation li:hover > span:after,
		#navigation > li.current-menu-item > span:after {
			/*color:#fff;*/
			color: #2a3794;
		}

	#navigation > li > a:after,
	#navigation > li > span:after {
		font-family: "fontello";
		font-style: normal;
		font-weight: normal;
		speak: none;
		display: inline-block;
		text-decoration: inherit;
		width: 1em;
		margin-right: .2em;
		text-align: center;
		font-variant: normal;
		text-transform: none;
		line-height: 1em;
		margin-left: .2em;
		color: #fff;
		/*color:#a8abae;*/
		font-size: 13px;
		margin-left: 5px;
		content: '\e88e';
	}

	#navigation > li > a:only-child:after,
	#navigation > li > span:only-child:after,
	#navigation > li.home-button > a:after,
	#navigation > li.home-button > span:after {
		content: '';
		display: none;
	}

	#navigation li.homestead-button,
	a.homestead-button {
		color: #fff;
		text-transform: none;
		font-size: 14px !important;
		background: #f7a81b;
		/*background:#a82512;*/
		border: none;
		transition: background 0.3s;
		-webkit-transition: background 0.3s;
		-moz-transition: background 0.3s;
	}

		#navigation li.homestead-button:hover,
		a.homestead-button:hover {
			background: #f2f4f9;
			color: #2a3794 !important;
		}

			#navigation li.homestead-button:hover > a,
			a.homestead-button:hover {
				/*border-top-color:#de3d21;*/
				color: #2a3794 !important;
			}

		#navigation li.homestead-button > a {
			color: #2a3794;
			padding: 8px 5px;
			background: transparent;
			font-size: 15px;
			font-weight: bold;
			border-top: none !important;
			border-bottom: none !important;
			padding: 0 !important;
			/*border-top:1px solid #be2e17;
	border-bottom:1px solid #911f0f;*/
		}

a.homestead-button {
	color: #2a3794;
	font-size: 15px;
	/*border-top:1px solid #be2e17;
	border-bottom:1px solid #911f0f;*/
	padding: 17px 15px;
}


/* Dropdown */

#navigation li ul li {
	position: relative;
}

#navigation li ul {
	display: none;
	text-align: left;
	position: absolute;
	font-size: 14px !important;
	background: #f2f4f9;
	z-index: 6000;
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
	top: 100%;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

	#navigation li ul li > a:after,
	#navigation li ul li > span:after {
		font-family: "fontello";
		font-style: normal;
		font-weight: normal;
		speak: none;
		display: inline-block;
		text-decoration: inherit;
		width: 1em;
		margin-right: .2em;
		text-align: center;
		font-variant: normal;
		text-transform: none;
		line-height: 1em;
		margin-left: .2em;
		color: #a8abae;
		font-size: 14px;
		margin-left: 5px;
		content: '\e891';
		position: absolute;
		right: 15px;
		top: 15px;
	}

	#navigation li ul li > a:only-child:after,
	#navigation li ul li > span:only-child:after {
		content: '';
		display: none;
	}

.csstransforms3d #navigation li ul {
	display: block;
	width: 240px;
	transform: rotate3d(1,0,0,-90deg);
	-webkit-transform: rotate3d(1,0,0,-90deg);
	-moz-transform: rotate3d(1,0,0,-90deg);
	-ms-transform: rotate3d(1,0,0,-90deg);
	-o-transform: rotate3d(1,0,0,-90deg);
	-webkit-transform-origin: 0 0 0;
	-moz-transform-origin: 0 0 0;
	transform-origin: 0 0 0;
	-khtml-opacity: 0;
	-moz-opacity: 0;
	opacity: 0;
	transition: transform 0.5s, opacity 0.3s;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.3s;
	-moz-transition: -moz-transform 0.5s, opacity 0.3s;
}

.csstransforms3d #navigation ul ul {
	transform: rotate3d(0,1,0,90deg);
	-webkit-transform: rotate3d(0,1,0,90deg);
	-moz-transform: rotate3d(0,1,0,90deg);
	-ms-transform: rotate3d(0,1,0,90deg);
	-o-transform: rotate3d(0,1,0,90deg);
}

#navigation li ul li ul {
	left: 100%;
	top: 0;
	margin-left: -10px;
	margin-top: 10px;
	z-index: 7000;
}

#navigation ul li:last-child,
#navigation ul li:last-child > a,
#navigation ul li:last-child > span {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom: none;
}

#navigation ul li:last-child {
	border-bottom: none;
}

#navigation li ul li > a,
#navigation li ul li > span {
	display: block;
	color: #2a3794 !important;
	font-size: 14px;
	padding: 10px 20px;
	border-bottom: 1px solid #dee0e5;
}

#navigation li:hover > ul {
	display: block;
	width: 200px;
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
	transform: rotate3d(0,0,0,0);
	-webkit-transform: rotate3d(0,0,0,0);
	-moz-transform: rotate3d(0,0,0,0);
	-ms-transform: rotate3d(0,0,0,0);
	-o-transform: rotate3d(0,0,0,0);
}

	#navigation li:hover > ul > li {
		display: block;
	}

/*#endregion Site Navigation - Desktop*/


/*----------------------------------------*/


/*#region Site Navigation - Mobile*/

/* Mobile and Tablet */
@media(max-width:991px) {

	#menu-button {
		display: block !important;
	}

	#navigation {
		display: none;
		width: 100% !important;
		text-align: left;
	}

		#navigation ul,
		#navigation li ul,
		#navigation ul li:last-child,
		#navigation ul li:last-child > a,
		#navigation ul li:last-child > span {
			border-radius: 0 !important;
		}

		#navigation > li {
			border-left: 1px solid #dee0e5;
			border-right: 1px solid #dee0e5;
		}

		#navigation li {
			display: block !important;
			width: 100% !important;
			text-align: left;
		}

			#navigation li > span {
				cursor: default;
			}

		#navigation > li.home-button > a:after,
		#navigation > li.home-button > span:after {
			content: '\e891';
			display: block;
		}

		#navigation > li.home-button > a:only-child:after,
		#navigation > li.home-button > span:only-child:after {
			display: none;
		}

		#navigation li,
		#navigation li > span
		#navigation li > a {
			border-color: #dee0e5 !important;
		}

			#navigation li:hover,
			#navigation li:hover > a,
			#navigation li:hover > span {
				border-bottom-color: transparent !important;
				border-top-color: transparent !important;
			}

			#navigation li > span:after,
			#navigation lI > a:after {
				right: 15px;
				position: absolute;
				top: 15px;
				content: '\e891';
			}

			#navigation li.dropdown-opened > span:after,
			#navigation li.dropdown-opened > a:after {
				content: '\e88e';
			}

		#navigation.navigation-opened {
			display: block;
		}

		#navigation li ul {
			box-shadow: none;
		}

			#navigation li ul,
			#navigation li ul li ul,
			.csstransforms #navigation li ul,
			.csstransforms #navigation li ul li ul {
				display: none;
				width: 100% !important;
				-moz-opacity: 1 !important;
				-khtml-opacity: 1 !important;
				opacity: 1 !important;
				transform: scale(1) !important;
				-webkit-transform: scale(1) !important;
				-moz-transform: scale(1) !important;
				position: relative;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				margin: 0;
			}

		#navigation > li > span,
		#navigation > li > a {
			font-size: 15px;
			padding: 10px 20px !important;
		}

		#navigation ul li > span,
		#navigation ul li > a {
			padding-left: 30px !important;
		}

		#navigation ul ul li > span,
		#navigation ul ul li > a {
			padding-left: 40px !important;
		}

		#navigation li > .dropdown-button {
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			width: 50px;
			background: transparent;
			cursor: pointer;
		}
}
/*#endregion Site Navigation - Mobile*/

/*#endregion Site Navigation*/