/* example font embed
@font-face {
    font-family: 'Ropa Sans Pro';
    src: url('../fonts/RopaSansPro-Regular-webfont.eot');
    src: url('../fonts/RopaSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/RopaSansPro-Regular-webfont.woff2') format('woff2'),
         url('../fonts/RopaSansPro-Regular-webfont.woff') format('woff'),
         url('../fonts/RopaSansPro-Regular-webfont.ttf') format('truetype'),
         url('../fonts/RopaSansPro-Regular-webfont.svg#ropa_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
*/


/*	---------------- Reset start ---------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ----------------- Reset End ------------------ */




body {
	background:#c5c5c5 url(../images/noisy_grid.png);
	font-family: Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:normal;
	color:#5d5d5d;
	min-width: 320px;
	word-wrap: break-word;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
img {
	vertical-align:middle;
	max-width:100%;
	border: none;
	outline:none;
}

a {
	text-decoration:none;
	color:#1a4e5a;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}
a:hover {
	color: #608626;
}





/* user bar */
#user-bar {
	position:absolute;
	top:0px;
 	right:140px;
	z-index:1;
	margin:0;
	padding:10px;
	
	width:auto;
	max-width:300px;
	line-height:20px;
	font-size:12px;
	background: #f6f6f6;
		
	border-right:1px solid #e0e0e0;
	border-left:1px solid #e0e0e0;
	border-bottom:1px solid #e0e0e0;
}

#user-bar a {
	display: block;
	color: #696969;
}
#user-bar a:hover {
	text-decoration:underline;
}
#username {
	width:auto;	
	color:#e66464;
	margin-bottom: 7px;
	padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}
#username img {
	vertical-align: middle;
}

.user-tools {
	width:auto;
	margin:0 10px 0 0px;
	float:right;
}

.user-tools img {
	vertical-align: middle;
    margin-right: 3px;
}
/* close user bar */


/* lang bar */
#lang-bar {
	position: absolute;
    top: 10px;
    right: 10px;
}
a#flag-eng {
	float:right;
	display:block;
	height:16px;
	width:24px;
	background:url(../images/admin/eng_lang.png) top left no-repeat;
	margin-left:5px;
}
a#flag-eng:hover, a#flag-eng.active {
	background:url(../images/admin/eng_lang.png) bottom left no-repeat;
}
a#flag-bg {
	float:right;
	display:block;
	height:16px;
	width:24px;
	background:url(../images/admin/bg_lang.png) top left no-repeat;
	margin-left:5px;
}
a#flag-bg:hover, a#flag-bg.active {
	background:url(../images/admin/bg_lang.png) bottom left no-repeat;
}
/* close lang bar */





#container {
   min-height: 100%;
   position: relative;
   width: 1200px;
   padding: 0;
   margin: 0 auto;
   background: #fff;
}

.wrapper {
	margin:0 auto;	
	position:relative; 
	/*padding:1px;  This is needed because otherwise it shifts everything down and don't know why but it works */
}

header {
	margin:0;
	padding:0;
	clear:both;
	min-height:100px;
	position:relative;	
	background: #eaeaea url(../images/noisy_grid.png);
}

#logo {
	display: inline-block;
	*display:inline;
	*zoom:1;
	vertical-align:top;
	margin: 15px;
}
#logo a {
	display:block;
	font-size:36px;
}
#logo img {
	display:inline-block;
}

#slider {
	position:relative;
	width:100%;
	height:350px;
	overflow:hidden;
}
.content-main {
	margin:0 auto;
	padding: 0 30px;
}
.content-main.layout-sidebar {
	width: 70%;
	float: left;
	padding: 0 2%;
}
.content-main.layout-wide {
	clear: both;
}


/* FOOTER */
footer {
	clear:both;
	margin:80px 0 0 0;
	position:relative;	
	background: #1a4e5a;
	color: #698288; 
}
footer .wrapper {
	padding: 10px;
}
footer #footer-default {
	margin: 10px 0;
	text-align: center;
}
footer a {
	color: #698288;
}
footer a:hover {
	color: #ccc;
}
footer #menu-top-links {
	margin: 20px auto 10px;
	padding-top: 10px;
	max-width: 80%;
	text-align: center;
	border-top: 1px solid #15414b;
}
footer #menu-top-links li {
	display:inline-block;
	*display:inline;
	*zoom:1;
	vertical-align:top;
	margin:0 6px;
}
footer #menu-top-links a {
	font-size:14px;
	text-transform:lowercase;
}
footer #menu-top-links li.active a, footer #menu-top-links li:hover a {
	color:#ccc;
}
.copyRight {
	margin: 5px 0;
	font-size:14px;
	color:#879b68;
}
.foot-needbg {
	
}
.foot-needbg a {
	font-size:14px;
}
/* End footer */






/* TOP NAVIGATION */
.top-nav {
	margin: 0;
	position: relative; 
	z-index: 100;		
	background: #608626;	
}
.top-nav ul {
	list-style: none;
	border-bottom: 2px solid #1a4e5a;
}
.top-nav > ul > li.top_parent {
	position:relative;
	float:left;	
	border-right:1px solid #547521;
}
.top-nav > ul > li.top_parent > a {
	display: block;	
	padding: 16px 20px;
	font-size:18px;
	text-transform:lowercase;
	color:#fff;
	box-shadow: inset #94C14F 0px 0px 1px;
}
.top-nav > ul > li.top_parent.active > a, .top-nav > ul > li.top_parent:hover > a {
	background: #1a4e5a;
	box-shadow: inset #0E2E35 0px 0px 4px;
}
.top-nav > ul > li ul {
	display: none;	/*z-index:2;*/
	white-space: nowrap;
	position:absolute;
	top:50px; /* change according to <a> height - whatever borders we might have so the hover works correctly */
	left:0;
	padding: 0px; 
	
	background: #e5e5e1;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	box-shadow: #9e9e9e 0px 0px 5px;
}
.top-nav li:hover ul {
	display: block;
}
.top-nav > ul > li > ul li {
	margin: 0;
	border-bottom:1px solid #cacaca;
	box-shadow: inset #FFFFFF 0px 0px 3px;
}
.top-nav > ul >li.top_parent > ul > li a  {
	display: block;
    padding: 10px 15px;
    color: #1a4e5a;
    text-shadow: 0px 1px 1px #fff;
    font-size: 14px;
}
.top-nav > ul > li.top_parent > ul li:hover {
	
}
.top-nav > ul > li.top_parent > ul li:hover a {
	color:#608626;
}
.responsive {
	background: #608626;
	border-bottom:2px solid #1a4e5a;
	text-align: center;
	display: none;
	padding: 5px 0 0;
	margin: 0;
}
#responsive-menu-btn {
	display: inline-block;
	padding: 5px;	
	height: 30px;	
}
#responsive-menu-btn:before, #responsive-menu-btn:after {
	content: '';
}
#responsive-menu-btn:before, #responsive-menu-btn:after, #responsive-menu-btn .responsive-menu-bar {
	display: block;
    height: 3px;
	width: 30px;
    margin: 5px auto;
    background: #fff;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
#responsive-menu-btn:hover:before,
#responsive-menu-btn:hover:after,
#responsive-menu-btn:hover .responsive-menu-bar {
	background: #1a4e5a;
}
/* End top navigation */


/* ADDITIONAL MENU */
	.additional-menu {
		position:relative;/*z-index:100;*/
		margin:65px 0 0 0;	
		background: #eaeaea;
		float: right;
		width: 22%;
	}
	.additional-menu > ul {
		list-style:none;
		border-top: 2px solid #1a4e5a;
		border-bottom: 1px solid #608626;
	}
	.additional-menu > ul > li {
		position:relative;
		border-bottom:1px solid #dcdcdc;
	}
	.additional-menu > ul > li.active, .additional-menu > ul > li:hover {
		border-bottom: 1px solid #15414b;
	}
	.additional-menu li.active {
		z-index:2;/* if it is a vertical menu, we also need z-index:2;3 for IE7*/
	}
	.additional-menu li:hover {
		z-index:3;
	}
	.additional-menu > ul > li > a {
		display:block;
		padding:10px;
		
		text-transform: lowercase;
		font-size:16px;
		line-height: 20px;
		color: #608626;
    	text-shadow: 0px 1px 1px #FFFFFF;
		box-shadow: inset #FFFFFF 0px 0px 3px;
	}
	.additional-menu > ul > li.active > a, .additional-menu > ul > li:hover > a {
		color: #fff;
		background: #1a4e5a; 
		text-shadow:none;
		box-shadow:none;
	}
	.additional-menu > ul > li ul {
		display: none;
		position:absolute;
		top:0;
		left:-70%;
		width: 70%;
		padding:0px; 
	
		background: #e5e5e1;
		box-shadow: #9e9e9e 0px 0px 5px;
	}
	.additional-menu > ul > li:hover ul {
		display: block;
	}
	.additional-menu >ul > li > ul li {
		margin: 0;
		border-left: 1px solid #fff;
		border-right: 1px solid #fff;
		border-bottom:1px solid #cacaca;
		box-shadow: inset #FFFFFF 0px 0px 3px;
	}
	.additional-menu > ul > li > ul li.active, .additional-menu > ul > li > ul li:hover {
		
	}
	.additional-menu > ul > li > ul li a {
		display:block;
		font-size:14px;
		line-height: 18px;
		padding: 10px 15px;
		color: #1a4e5a;
		text-shadow: 0px 1px 1px #fff;
	}
	.additional-menu > ul > li > ul li.active a, .additional-menu > ul > li > ul li:hover a {
		color: #608626;
	}
	#responsive-sidebar-btn {
		display: none;
		margin: 10px 7px 0 0;
		border-bottom: 1px solid #1a4e5a;
		text-align: right;
		float: right;
		width: 30px;
    	height: 20px;
	}
/* End additional menu */
		
		
/* BREADCRUMBS */
	#breadcrumbs {
		list-style:none;
		text-align:right;
		margin: 0 10px;
		padding: 5px 0;
	}
	/*#breadcrumbs li+li:before {
		content:'/';
		margin-right: 7px;
	}*/
	#breadcrumbs li {
		display:inline-block;
		*zoom:1;
		*display:inline;
		padding: 0;
		color: #a7a7a7;
		font-size:14px;
	}
	#breadcrumbs li:not(.breadcrumbs-home) {
		padding-top: 3px;
	}
	#breadcrumbs li.breadcrumbs-home img {
		width: 20px;
	}
	#breadcrumbs li a {
		display:inline-block;
		*display:inline;
		*zoom:1;
		color: #a7a7a7;
		font-size:14px;
		background: url(/images/arrow_16.png) no-repeat right;
		padding-right: 20px;
	}
	#breadcrumbs li.active a:hover {
		color: #1a4e5a;			
	}
/* End Breadcrumbs */





/* pagination */
#pages {
	margin: 30px 0 0;
	text-align:center;
}
.pagination ul {
	list-style: none;
}
.pagination li {
	margin: 0 3px 7px;
    padding: 0px;
    display: inline-block;
	border-top: 2px solid #1a4e5a;
	border-bottom: 1px solid #608626;
}
.pagination li.active {
	padding: 5px 8px;
	background: #1a4e5a; 
	color: #fff;
}
.pagination li a {
	display:block;
	padding: 5px 8px;
}
.pagination li a:hover {
	background: #608626; 
	color: #fff;
}
.pagination li:last-child, .pagination li:first-child {
	background:none;
	border:none;
}
.pagination li.disabled {
	color: #eaeaea;
}
/* end pagination */




/* RESPONSIVE */
@media only screen and (max-width: 1200px) {
	#container {
		width: 94%;
	}
}
@media only screen and (min-width: 951px) {
	.top-nav, .additional-menu {
		display: block !important;
	}
}
@media only screen and (max-width:950px) {
	#container {
		width: 100%;
	}
	#user-bar {
		position: relative;
		right: 0;
		max-width: 100%;
	}
	#username {
		float: left;
		border-bottom: none;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	.bx-wrapper .bx-caption {
		position: relative !important;
		background: #1a4e5a !important;
		left: 0 !important;
		bottom: 0 !important;
		width: 100% !important;
	}
	.bx-wrapper .bx-caption span {
		text-shadow: none !important;
		text-transform: none !important;
		font-size: 1em !important;
	}
	.bx-wrapper .bx-controls-direction a {
		width: 30px !important;
		height: 30px !important;
	}
	.bx-wrapper .bx-prev, .bx-wrapper .bx-next {
		background-size: 200% !important;
	}
	.responsive, #responsive-sidebar-btn {
		display: block;
	}
	.top-nav {
		display: none;
	}
	.top-nav > ul > li.top_parent {
		float: none;
		border-right: none;
	}
	.top-nav > ul > li.top_parent > a {
		text-transform: uppercase;
	}
	.top-nav > ul > li ul {
		display: block;
		position: relative;
		top: 0;
		border-bottom: none;
		border-left: none;
		border-right: none;
		box-shadow: none;
		background: #547521;
	}
	.top-nav > ul > li > ul li {
		border-bottom: 1px solid #547521;
    	box-shadow: none;
	}
	.top-nav > ul >li.top_parent > ul > li a {
		color: #fff;
		text-shadow: none;
		padding: 15px 40px;
	}
	.top-nav > ul >li.top_parent > ul > li a:hover {
		padding-left: 30px;
		color:#fff;
	}
	#responsive-menu-btn.responsive-menu-open {
		
	}
	#responsive-menu-btn.responsive-menu-open:before {
		-webkit-transform: rotateZ(45deg);
		-moz-transform: rotateZ(45deg);
		-o-transform: rotateZ(45deg);
		transform: rotateZ(45deg);
		margin-top: 13px;
		background: #1a4e5a;
	}
	#responsive-menu-btn.responsive-menu-open:after {
		-webkit-transform: rotateZ(-45deg);
		-moz-transform: rotateZ(-45deg);
		-o-transform: rotateZ(-45deg);
		transform: rotateZ(-45deg);
		margin-top: -16px;
		background: #1a4e5a;
	}
	#responsive-menu-btn.responsive-menu-open .responsive-menu-bar {
		background: none;
	}
	
	#breadcrumbs {
		text-align: left;
		width: 80%;
    	float: left;
		margin-top: 5px;
	}
	.additional-menu {
		float: none;
		clear: both;
		width: 100%;
		margin: 0px auto;
		display: none;
	}
	.additional-menu > ul > li > a {
		font-size: 14px;
		font-weight: bold;
		text-transform: uppercase;
		padding: 10px 5px;
	}
	.additional-menu > ul > li ul {
		display: block;
		position: relative;
		left: 0;
		width: 100%;
		box-shadow: none;
	}
	.additional-menu >ul > li > ul li {
		border-left: none;
		border-right: none;
		border-bottom: none;
    	border-top: 1px solid #cacaca;
		box-shadow: none;
	}
	.additional-menu > ul > li > ul li a {
		padding-left: 40px;
		padding-right: 5px;
	}
	.additional-menu > ul > li > ul li a:hover {
		padding-left: 30px;
	}
	.content-main.layout-sidebar {
		float: none;
		width: 94%;
		clear: both;/**/
	}
	#responsive-sidebar-btn:after {
		content: '';
		display: block;
		width: 100%;
		height: 2px;
		background: #3E4750;
		margin-top: 8px;
		-webkit-transition: all 300ms ease;
		-moz-transition: all 300ms ease;
		-o-transition: all 300ms ease;
		transition: all 300ms ease;
		
	}
	#responsive-sidebar-btn:hover:after {
		background: #608626;
	}
	#responsive-sidebar-btn:before {
		content: '';
		display: block;
		width: 100%;
		height: 2px;
		background: #608626;		
		-webkit-transition: all 300ms ease;
		-moz-transition: all 300ms ease;
		-o-transition: all 300ms ease;
		transition: all 300ms ease;
	}
	#responsive-sidebar-btn.sidebar-open {
		height: 24px;
		border-bottom: none;
	}
	#responsive-sidebar-btn.sidebar-open:before {
		-webkit-transform: rotateZ(45deg);
		-moz-transform: rotateZ(45deg);
		-o-transform: rotateZ(45deg);
		transform: rotateZ(45deg);
		margin-top: 10px;
		background: #1a4e5a;
	}
	#responsive-sidebar-btn.sidebar-open:after {
		-webkit-transform: rotateZ(-45deg);
		-moz-transform: rotateZ(-45deg);
		-o-transform: rotateZ(-45deg);
		transform: rotateZ(-45deg);
		margin-top: -2px;
	}
	#responsive-sidebar-btn.sidebar-open:hover:before {
		background: #608626;
	}
}
@media only screen and (max-width: 700px) {
	#logo {
		margin-top: 30px;
	}
	#logo img {
		max-width:45px;
	}
	#logo a {
		font-size: 24px;
	}
}
@media only screen and (max-width: 400px) {
	.user-tools a {
		width: 18px;
		height: 22px;
		overflow: hidden;
		padding: 0 5px;
	}
}
/* end RESPONSIVE */