body {
	background: #222;
	color: #777;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
}
h1, h2, h3 {
	font-family: 'Raleway';
	color: #076db6;
}
h1 {
	margin: 0 0 15px 0;
	border-left: 5px solid #076db6;
	padding-left: 5px;
	font-size: 26px;
}
h2 {
	font-size: 24px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 18px;
}
h5 {
	font-size: 18px;
}
h6 {
	font-size: 18px;
}
/*
a {
	color: #1b9;
}
a:active, a:focus, a:hover {
	color: #6ba;
}
*/
.field-fmregister-captcha > img {
	display: inline-block;
	padding-bottom: 5px;
}

/* Width limiter */
.body-width-limiter {
	position: relative;
	margin: 0 auto;
	/* max-width: ?; Max-width is set in #render-head.php */
}

/* Navbar */
.main-nav-placeholder {
	height: 60px;
	transition: all ease .3s;
}
.nav-a,
.nav-a:active,
.nav-a:focus {
	display: block;
	color: #555;
	font-size: 18px;
	transition: all ease .3s;
}
.nav-item-active,
.nav-a:hover {
	color: #555;
	text-decoration: none;
	background: #eee;
	background: rgba(0,0,0,0.1);
}

.main-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
}
.main-nav-expanded {
	bottom: 0;
	overflow: auto;
	/* background: rgba(0,0,0,0.1); */
}
.main-nav-bar {
	background: none;
	background: #fff;
	border-bottom: 1px solid #ddd;
}
.main-nav-body {
	padding: 0 15px;
}
.nav-logo {
	float: left;
	margin-top: 5px;
	overflow: hidden;
	transition: all ease .3s;
}
.nav-logo img {
	display: block;
	width: auto;
	height: 50px;
}
.nav-logo-wide {
}
.nav-logo-narrow {
	display: none;
}
.compact-nav {
	position: relative;
	/* display: none; */
}
.nav-trigger {
	display: block;
	float: right;
	width: 60px;
	height: 60px;
	padding-top: 20px;
}
.nav-trigger .nt-line {
	display: block;
	margin: 0 auto;
	width: 30px;
	height: 3px;
	background: #555;
	margin-bottom: 6px;
	transition: all ease .3s;
}
.nav-trigger:hover .nt-line,
.nav-item-active .nt-line {
	/* background: #d21; */
}
.nav-item-active .nt-line.a {
	transform: translateY(9px) rotate(135deg);
}
.nav-item-active .nt-line.b {
	opacity: 0;
}
.nav-item-active .nt-line.c {
	transform: translateY(-9px) rotate(-135deg);
}
.nav-icons {
	float: right;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.nav-icons > li {
	position: relative;
	display: block;
	float: left;
}
.nav-menu {
	float: right;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.nav-menu > li {
	position: relative;
	display: block;
	float: left;
}
.nav-item-text {
	display: block;
	height: 60px;
	padding: 0 15px;
	line-height: 60px;
	white-space: nowrap;
}
.nav-item-text:hover {
	letter-spacing: 1px;
	text-decoration: none;
}
.nav-item-icon {
	display: block;
	width: 60px;
	height: 60px;
	padding: 15px;
	text-align: center;
	vertical-align: middle;
}
.nav-item-icon .glyphicon,
.nav-item-icon .icesym {
	font-size: 24px;
	line-height: normal;
}
.nav-item-icon img {
	display: block;
	width: 100%;
	height: auto;
}
.nav-item-icon.current,
.nav-item-text.current {
	border-bottom: 3px solid #d21;
}
.main-nav-badge {
	position: absolute;
	display: block;
	top: 5px;
	right: 5px;
	font-size: 11px;
	text-align: center;
	padding: 0 2px;
	line-height: 18px;
	min-width: 20px;
	height: 20px;
	background: #244f86;
	background: #d21;
	color: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	border: 1px solid #fff;
	border-radius: 15px;
}

.main-nav-dropdown-menu {
	display: none;
	position: absolute;
	top: 60px;
	right: 0;
	margin: 0 -1px;
	padding: 5px 0;
	list-style-type: none;
	background: #fff;
	box-shadow: 0 3px 15px rgba(0,0,0,0.2);
	border: 1px solid #ddd;
	border-top: 0;
	z-index: 999;
}
.main-nav-dropdown-menu > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav-dropdown-menu > ul > li {
	display: block;
	position: relative;
}
.main-nav-dropdown-menu > ul > li.separator {
	margin: 5px 0;
	height: 1px;
	background: #ccc;
}
.main-nav-dropdown-menu > ul > li > a {
	color: #555;
	display: block;
	height: 40px;
	padding: 0 25px;
	line-height: 40px;
	white-space: nowrap;
	text-align: right;
	min-width: 150px;
	transition: all ease .3s;
}
.main-nav-dropdown-menu > ul > li > a:hover {
	color: #d21;
	background: rgba(0,0,0,0.1);
	letter-spacing: 1px;
}
.main-nav-dropdown-menu > ul > li > a.current {
	border-right: 4px solid #d21;
	padding-right: 22px;
	color: #d21;
}
.main-nav-dropdown-fixed {
	display: none;
	position: fixed;
	top: 60px;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	overflow: auto;
}
.main-nav-dropdown-dialog {
	margin: 0 15px;
	padding: 15px;
	background: #fff;
	border: 1px solid #ddd;
	/* border-top: none; */
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
@media(max-width: 1023px) {
	.header {
		min-height: 450px;
	}
	.nav-menu {
		display: none;
	}
	.compact-nav {
		display: block;
	}
}
@media(max-width: 639px) {
	.nav-logo {
		margin-left: 0;
	}
	.main-nav-badge {
		top: 1px;
		right: 1px;
	}
}
@media(max-width: 479px) {
	.nav-logo-wide {
		display: none;
	}
	.nav-logo-narrow {
		display: block;
	}
	.main-nav-dropdown-dialog {
		margin: 0 5px;
		padding: 15px 10px;
	}
}

/* Content */
.content-wrapper {
	background: #fff;
	color: #333;
	background: rgba(242,245,247,1);
	background: -moz-linear-gradient(top, rgba(242,245,247,1) 0%, rgba(162,176,186,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(242,245,247,1)), color-stop(100%, rgba(162,176,186,1)));
	background: -webkit-linear-gradient(top, rgba(242,245,247,1) 0%, rgba(162,176,186,1) 100%);
	background: -o-linear-gradient(top, rgba(242,245,247,1) 0%, rgba(162,176,186,1) 100%);
	background: -ms-linear-gradient(top, rgba(242,245,247,1) 0%, rgba(162,176,186,1) 100%);
	background: linear-gradient(to bottom, rgba(242,245,247,1) 0%, rgba(162,176,186,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f5f7', endColorstr='#a2b0ba', GradientType=0 );
}
.content-body {
	padding: 30px 15px;
	min-height: 500px;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
	background: #fff;
	border-bottom: 1px solid #ddd;
	padding: 5px 0;
	font-size: 85%;
	color: #777;
}
.breadcrumbs-body {
	margin: 0 auto;
	padding: 0 15px;
	list-style-type: none;
}
.breadcrumbs-body > li {
	display: inline-block;
}
.breadcrumbs-body > li.inner:before {
	content: "»";
	padding: 0 10px;
}

/* Footer */
.footer {
}
.footer-body {
	padding: 0 15px;
}
.footer-row {
	padding: 15px 0;
	border-bottom: 1px solid #444;
}
.footer-body a {
	color: #bbb;
}
.footer-body a:hover {
	color: #fff;
}
.footer-bottomline {
	text-align: center;
	font-size: 80%;
	color: #555;
}
.footer-bottomline p {
	margin: 0;
}
.footer-bottomline a {
	color: #777;
}
.footer-bottomline a:hover {
	color: #999;
}

/* Login */
.login-logo {
	margin: 15px auto;
	max-width: 250px;
}

/* Back to top */
#back-to-top {
	display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 40px;
    height: 40px;
	font-size: 16px;
    text-align: center;
    line-height: 40px;
    background: #d21;
    color: #ddd;
    cursor: pointer;
    border: 0;
    text-decoration: none;
	box-shadow: 0 2px 5px rgba(0,0,0,0.33);
	border-radius: 100px;
}
#back-to-top.show {
	display: block;
    opacity: 0.5;
    transition: opacity 0.2s ease-out;
}
#back-to-top.show:hover {
	opacity: 1 !important;
}

/* Homepage --------------------------------------------------- */

.hp-categories {
	margin: 0 -7.5px;
}
.hp-category-wrapper {
	float: left;
	width: 25%;
	padding: 0 7.5px;
}
@media(max-width: 959px) {
	.hp-category-wrapper {
		width: 33.332%;
	}
}
@media(max-width: 639px) {
	.hp-category-wrapper {
		width: 50%;
	}
}
.hp-category {
	margin: 0 0 15px 0;
	background: #fff;
	padding: 5px;
	border: 1px solid #ddd;
	transition: all ease 0.25s;
}
.hp-category:hover {
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
	border: 1px solid #7dd4f6;
	transform: scale(1.012);
}
.hp-category-image {
	width: 100%;
	margin-bottom: 5px;
}
.hp-category-details {
}
.hp-category-details table {
	width: 100%;
}
.hp-category-details td {
	height: 50px;
	vertical-align: middle;
	overflow: hidden;
	line-height: 1.25;
	text-align: center;
}
.hp-category-details a:hover {
	text-decoration: none;
}
.hp-category-open {
	float: right;
	width: 20px;
	height: 20px;
	margin-left: 10px;
	text-align: center;
}

.hp-category-subcategories {
	margin-top: 5px;
	border-top: 1px solid #ddd;
}
.hp-subcategories {
}
.hp-subcategory {
	margin-top: 5px;
}
.hp-subcategory-image {
	float: left;
	width: 100px;
	max-width: 30%;
	margin-right: 10px;
}
.hp-subcategory-details {
	overflow: hidden;
	line-height: 1.25;
}