/* =========================== Written by Peter ============================ */
html, body {
	width: 100%;
	height: 100%;
}
a {
	color: #666666;
}
a, input, textarea, button {
	outline: none; /* for Firefox Google Chrome  */
	behavior:expression(this.onFocus=this.blur()); /* for IE */
}
a:hover, a:visited, a:link {
	text-decoration: none;
}
.clear::after {
	display: block;
	content: "";
	clear: both;
}
.animate {
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
ul, ol, .row {
	margin: 0;
	padding: 0;
}
/* Style Start */
.container {
	overflow: hidden;
}
.headerwrap {
	background: white;
}
#header {
	background: white;
}
#header::before {
	width: 100%;
	height: 10px;
	display: block;
	content: "";
	background: #3e8437;
}
.headerfix {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
}
.mainheader {
	max-width: 1170px;
	padding: 25px 15px 0 15px;
	margin: 0 auto;
	position: relative;
}
.logo {
	height: 60px;
	cursor: pointer;
	float: left;
}
.navigation, .second-nav {
	float: right;
	text-align: right;
	font-size: 0;
	padding-top: 25px;
}
.navigation ul li, .second-nav ul li {
	display: inline-block;
	line-height: 1;
	margin-left: 40px;
	font-size: 23px;
}
#mobile-menu-position {
	display: none;
}
.navigation ul li:first-child {
	margin-left: 0;
}
.navigation ul li a {
	display: block;
	color: #555555;
	border-bottom: 5px solid white;
	padding-bottom: 30px;
}
.navigation ul li a:hover, .navigation .active {
	border-bottom: 5px solid #3e8437;
}
.fbb {
	line-height: 1;
}
.fbb:hover {
	border-bottom: 5px solid white !important;
	color: #3b5998;
}
.pagerouter {
	width: 30px;
	height: 100%;
	display: table;
	position: fixed;
	z-index: 9998;
	top: 0;
	right: -30px;
}
.pagershow {
	right: 30px;
}
.pagerinner {
	display: table-cell;
	vertical-align: middle;
	font-size: 0;
}
.pagerinner ul li {
	display: block;
	margin-bottom: 15px;
}
.pagerinner ul li:last-child {
	margin-bottom: 0;
}
.pagerinner ul li a {
	width: 30px;
	height: 30px;
	display: block;
	background: url(../images/pager.png) no-repeat center center;
}
.pagerinner .active {
	background: url(../images/pager-active.png) no-repeat center center !important;
}
#footer {
	height: auto;
	line-height: 40px;
	font-size: 14px;
	background: #3e8437;
	color: white;
	text-align: center;
}
h1 {
	font-size: 40px;
	padding-bottom: 20px;
	font-weight: bolder;
	color: #333333;
	text-align: center;
}
.animateTop {
	-webkit-transform: translateY(-150%);
	-moz-transform: translateY(-150%);
	transform: translateY(-150%);
}
.animateLeft {
	-webkit-transform: translateX(-150%);
	-moz-transform: translateX(-150%);
	transform: translateX(-150%);
}
.animateRight {
	-webkit-transform: translateX(150%);
	-moz-transform: translateX(150%);
	transform: translateX(150%);
}
@media (max-width: 767px){
	#header::before {
		height: 5px;
	}
	.mainheader {
		padding: 10px;
	}
	.logo {
		height: 40px;
	}
	.second-nav {
		padding: 5px 0;
	}
	.second-nav ul li {
		font-size: 30px;
		vertical-align: middle;
		margin-left: 20px;
	}
	.fbb {
		color: #3b5998;
	}
	#mobile-menu-position {
		display: inline-block;
	}
	#mobile-menu {
		width: 30px;
		height: 28px;
		position: relative;
		padding-top: 2px;
	}
	#mobile-menu span {
		width: 30px;
		height: 5px;
		display: block;
		background: #666666;
		margin-bottom: 5px;
		-webkit-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
		-moz-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
		-ms-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
		-o-transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
		transition: 0.7s cubic-bezier(0.18, 1, 0.21, 1);
	}
	.menu-active .bar-a {
		position: absolute;
		top: 10px;
		-webkit-transform: rotate(225deg);
		-moz-transform: rotate(225deg);
		-ms-transform: rotate(225deg);
		transform: rotate(225deg);
	}
	.menu-active .bar-b {
		position: absolute;
		top: 10px;
		-webkit-transform: rotate(-225deg);
		-moz-transform: rotate(-225deg);
		-ms-transform: rotate(-225deg);
		transform: rotate(-225deg);
	}
	.menu-active .bar-c {
		opacity: 0;
	}
	.navigation {
		width: 100%;
		position: absolute;
		display: none;
		padding-top: 5px;
		top: 60px;
		left: 0;
		right: 0;
		background: white;
		text-align: center;
		z-index: 999;
	}
	.menu-active .navigation {
		display: block;
	}
	.navigation ul li {
		display: block;
		padding: 5px 40px;
		margin: 0;
		font-size: 16px;
	}
	.navigation ul li a, .navigation ul li a:hover, .navigation ul li .active {
		padding: 15px 0;
		border-bottom: 1px solid #bbbbbb;
	}
	.navigation ul li:last-child a, .navigation ul li:last-child a:hover {
		border: 0;
	}
	.pagerouter {
		display: none;
	}
	h1 {
		font-size: 30px;
		padding: 0;
	}
	#footer {
		font-size: 12px;
	}
}
