﻿/* Standard Template 3 */
body {
	font-family: Tahoma,Arial,Helvetica,sans-serif;
	font-size: 80%;
	margin: 0;
	padding: 0;
}

/*	Layout only	*/

/* Secondary fixed width configuration (make rules no stronger!) */
.wideleft .leftstatic .space_left { margin-left: -380px; } 
.wideleft .leftstatic .space_center { margin-left: 380px; } 
.wideleft .rightstatic .space_right { margin-right: -190px; } 
.wideleft .rightstatic .space_center { margin-right: 190px; } 
.wideleft .leftstatic .staticleft { width: 360px; } 
.wideleft .rightstatic .staticright { width: 170px; } 

/* Box styles */
div.textlogobox {
	padding-top: 20px;
	padding-bottom: 15px;
}
div.spaceabove {
	margin-top: 18px;
}
div.spacebelow {
	margin-bottom: 18px;
}
/* Menu wrap box style */
div.wrap_menubox {
	position: relative;
}
div.wrap_menubox:before, div.menubox:before {
	height: 3px;
	display: block;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
}
div.menubox div.block {
	padding-top: 12px; /* Search form hack FIXME */
	padding-bottom: 0;
}

/* Breadcrumbs or front page article title over top banner - Flying Bottom Right */
div.topbannerbox { 
	line-height: 30px;
	width: 100%;
}
div.topbannerbox h2.blockheads,
div.topbannerbox div.block {
	margin: 0 0 0 250px;/* FIXME: theme default hardcoded */
	font-size: 100%;
	padding: 0;
}
div.topbannerbox div.block {
	padding-left: 10px;
}
body.wideleft div.topbannerbox h2.blockheads,
body.wideleft div.topbannerbox div.block {
	margin-left: 360px; /* FIXME: theme default hardcoded */
}
div.topbannerbox h2.blockheads span {
	display: inline-block;
	height: 30px;
	padding: 0 10px;
}
.cols10 div.topbannerbox.span7 { /* Example only: how to set width using +margin when no-default widths are in use */
	width: 71.68%;
}
.cols10 div.topbannerbox.span7 div.block {
	margin-left: 0;
}

/* Responsive all banners */
.banner {
	max-width: 100%;
}
img.banner {
	height: auto !important;
}
div.block {
	padding: 12px;
}
div.sidebox h2.blockheads {
	font-size: 100%;
	font-weight: bold;
	margin: 0 0 10px 0;
	line-height: 20px;
}
div.sidebox h2.blockheads + div.block {
	margin-top: -10px; /* Negates the above bottom margin */
}
div.sidebox h2.blockheads span {
	display: inline-block;
	padding: 5px 10px;
}
div.sidebox h2.blockheads span:before,
div.topbannerbox h2.blockheads span:before {
	content: "\25B8";
	display: inline-block;
	text-align: center;
	font-weight: bold;
	margin-right: 10px;
	line-height: 13px;
	width: 13px;
	height: 13px;
	-webkit-border-radius: 13px;
	-moz-border-radius: 13px;
	border-radius: 13px;
}

/* Mobile layout */
@media screen and (max-width: 480px) {
	body {
		font-size: 130%;
	}
	div.topbannerbox h2.blockheads, /* Overlayed breadcrumbs left margin 0 */
	div.topbannerbox div.block,
	body.wideleft div.topbannerbox h2.blockheads,
	body.wideleft div.topbannerbox div.block {
		margin-left: 0;
	}
	div.textlogobox {
		padding-top: 0;
		padding-bottom: 3px;
		font-size: 60%;
	}
	ul.shortcuts li a {
		font-size: 60%;
	}
}
/* Top nav */

ul.topmenu, ul.topmenu ul
{
	list-style-type: none;
	margin: 0;
}
ul.topmenu {
	padding: 0;
}
ul.topmenu ul {
	left: 0;
	top: 100%;
	padding: 0;
	z-index: 102;
}
ul.topmenu ul ul {
	left: 100%;
	top: 0;
}


ul.topmenu li {
	float: left;
	display: inline;
	margin: 0;
	padding: 0;
	position: relative; /* for submenu positioning */
}
ul.topmenu li:hover {
	z-index: 101;
}
ul.topmenu a {
	float: left;
	line-height: 42px;

	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;

	border-top: 3px solid;
	padding: 0px 15px 3px;
	margin: 0;
}
ul.topmenu ul li {
	display: block;
	float: none;
	width: 200px;
}
ul.topmenu ul li a {
	display: block;
	float: none;
	line-height: normal;
	white-space: normal;
	font-weight: normal;

	width: 90%;
	border-top: none;
	padding: 4px 5%;
	margin: 0;
}
ul.topmenu ul li a {
	display: inline-block; /* fix IE7 gap at bottom */
}

ul.topmenu ul {
	display: none;
}
ul.topmenu li:hover > ul {
	position: absolute; /* IE7 hasLayout only on :hover! */
	display: block;
}

ul.topmenu div.search form {
	padding: 0 5px 5px;
}


ul.topmenu li li.arrow > a:after {
	content: "›";
	font-weight: bold;
	position: absolute;
	right: 2px;
	top: 4px;
	bottom: 4px;
	left: auto;
	line-height: 1;
	vertical-align: top;
}
/* arrow for any levels! do not touch! 
#topmenu li li.arrow > a {
	background-image: url(images/arrow.gif);
	background-position: 98% 50%;
	background-repeat: no-repeat;
	background-attachment: scroll;
}
#topmenu li li.arrow > a:hover {
	background-image: url(images/arrow_inv.gif);
}*/
ul.topmenu > li {
	border-right: 1px solid;
}


/* Menu for mobile */
@media screen and (max-width: 480px) {
	ul.topmenu {
		display: none;
		position: absolute;
		left: 20%;
		top: 10px;
		width: 70%;
		z-index: 100;
	}
	ul.topmenu li {
		display: block;
		width: 100%;
		text-align: left;
	}
	ul.topmenu a {
		border-top-width: 0;
		display: block;
		-o-transition: background-color 0.3s;
		-ms-transition: background-color 0.3s;
		-moz-transition: background-color 0.3s;
		-webkit-transition: background-color 0.3s;
		transition: background-color 0.3s;
	}
	ul.topmenu li a, ul.topmenu ul li a {
		float: none;
		line-height: 2em;
		padding: 5px 5px 5px 10px;
	}
	
	/* Submenu */
	ul.topmenu ul {
		display: block;
	}
	ul.topmenu ul li {
		width: auto;
	}
	ul.topmenu li li.arrow > a:after {
		display: none;
	}
	ul.topmenu ul li a {
		padding-left: 40px;
		display: block;
		text-transform: none;
		width: auto;
	}
	ul.topmenu ul ul li a {
		padding-left: 60px;
	}
	ul.topmenu ul ul ul li a {
		padding-left: 80px;
	}
	ul.topmenu li:hover > ul {
		position: static;
	}
	ul.topmenu div.search {
		display: none; /* hide unwanted search box */
	}
	ul.topmenu > li > a:before { 
		display: none; /* No icons */
	}

	/* Toggle handler */
	div.wrap_topmenu {
		margin-bottom: 50px;
	}
	div.toggletopmenu {
		position: absolute;
		left: 0;
		top: 0;
		width: 80px;
		height: 60px;
		display: block;
	}
	
	div.toggletopmenu:before {
		content: '';
		display: block;
		width: 60px;
		height: 40px;
		position: absolute;
		left: 5px;
		top: 5px;
	}

	div.toggletopmenu:after {
		content: '';
		display: block;
		width: 20px;
		height: 12px;
		position: absolute;
		left: 25px;
		top: 20px;
		background: url(images/nav-toggle.png) 0px 0px no-repeat;
		opacity: 0.35;
	}

	div.toggletopmenu:active:after {
		opacity: 0.5;
	}
}


/*	Shortcuts */

ul.shortcuts, ul.shortcuts ul {
	margin: 0;
	padding: 0 ;
	list-style-type: none;
}
ul.shortcuts li {
	float: left;
	margin: 0;
	padding: 0 5px 0 19px;
	background-image: url(images/sep1.gif);
	background-position: 7px 0;
	background-repeat: no-repeat;
}
ul.shortcuts li:first-child {
	background-image: none;
	padding-left: 0;
}
ul.shortcuts a {
	line-height: 21px;
	font-size: 90%;
	font-weight: bold;
	text-decoration: none;
}
ul.shortcuts a:hover {
	text-decoration: underline;
}
@media screen and (max-width: 640px) {
	ul.shortcuts li {
		float: none;
		text-align: right;
		background-image: none;
	}
}
@media screen and (max-width: 480px) {
	ul.shortcuts li {
		float: left;
		text-align: left;
		background-image: url(images/sep1.gif);
	}
}
/*	Breadcrumbs text separator, only use with IE8.js! */

ul.breadcrumbs ul:before, ul.breadcrumbs li {
	padding-left: 0.5em;
	background-image: none;
}
ul.breadcrumbs li:before {
	content: "»";
	position: relative;
	left: -0.5em;
}
ul.breadcrumbs li:first-child:before {
	content: "";
}
ul.breadcrumbs a {
	text-decoration: none;
}

/* Search form */
form.topsearch {
	margin: 0;
	padding: 0;
}
form.topsearch input.button {
	margin: 0 0 0 10px;
	border: none;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	padding: 3px 3px 2px 3px;
}
form.topsearch input.searchwords {
	border: none;
	margin: 0;
	padding: 3px 5px;
}

/* Side Menu */

ul.smenu, ul.smenu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.smenu li {
	margin: 0;
}
* html ul.smenu a
{ height: 1% } /* hasLayout */

ul.smenu a {
	text-decoration: none;
	display: block;
	line-height: 20px;

	border-bottom: 1px solid;
	padding: 5px 8px 5px 12px;
}
ul.smenu ul a {
	padding-left: 26px;
	font-weight: normal;
}
ul.smenu ul a:before {
	content: "›";
	font-weight: bold;
	float: left;
	margin-left: -14px;
}
ul.smenu ul ul a {
	padding-left: 26px;
	font-style: italic;
}
ul.smenu ul ul a:before {
	content: "";
	display: none;
}
ul.smenu ul ul ul a {
	padding-left: 40px;
	font-style: normal;
}
ul.smenu ul ul ul ul a {
	padding-left: 52px;
	font-style: italic;
}
ul.smenu ul ul ul ul ul a {
}


ul.smenu div.search {
	display: none; /* hide unwanted search box */
}

/* News */

div.news {
}
div.news.first {
}
div.news div.t_text {
	padding-left: 19px;
}
div.news div.t_text h3 {
	font-weight: bold;
	font-size: 100%;
	padding: 3px 2px 1px 0;
	margin: 0;
	text-align: left;
}
div.news div.t_text h3:before {
	content: "›";
	font-weight: bold;
	float: left;
	margin-left: -17px;
}
div.news div.t_text p {
	margin: 5px 0;
	padding: 0;
}
div.news a {
	text-decoration: none;
}
div.news a:hover {
	text-decoration: underline;
}
div.news span.t_date {
	font-size: 80%;
	font-weight: bold;
	margin: 5px 0;
}
div.news div.t_readmore {
	text-align: right;
	font-size: 80%;
	font-weight: bold;
}
div.news div.rm_text div.t_readmore:after {
	content: " ›";
}

/* teasertxt */
div.wrap_teasertxt:after {
	clear: both;
	display: block;
	height: 0;
	content: ""; 
	visibility: hidden;
}
div.teasertxt {
	float: left;
	display: inline; /* IE6 */
	position: relative;
	margin: 0 0 20px 0;
	min-height: 100px;
}
div.teasertxt.first {
	clear: left;
	margin-left: 0;
}
div.teasertxt a.t_img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
div.teasertxt a.t_img img {
	width: 120px;
	height: 100px;
	display: block;
}
div.teasertxt div.t_text {
	position: static;
/* note: you MUST NOT set height/width, coz IE sucks */
	padding: 0 0 0 130px;
}
div.teasertxt div.t_text h3 {
	font-weight: bold;
	font-size: 100%;
	padding: 3px 2px 1px;
	margin: 0;
	text-align: left;
}
div.teasertxt div.t_text .t_desc {
	margin: 0;
	padding: 0 2px;
}
div.teasertxt a {
	text-decoration: none;
}
div.teasertxt a:hover {
	text-decoration: underline;
}
div.teasertxt span.t_date {
	font-size: 80%;
	font-weight: bold;
}
div.teasertxt div.t_readmore {
	text-align: right;
	font-size: 80%;
	font-weight: bold;
}
div.teasertxt div.rm_text div.t_readmore:after {
	content: " ›";
}

/* TeaserImg */
div.wrap_teaserimg:after {
	clear: both;
	display: block;
	height: 0;
	content: ""; 
	visibility: hidden;
}
div.teaserimg {
}
div.teaserimg a.t_img {
	display: block;
	margin: 5px 0;
}
div.teaserimg a.t_img img {
	max-width: 100%;
	display: block;
	margin: 5px 0;
}
div.teaserimg div.t_text {
	margin: 5px 0;
	padding: 0;
}
div.teaserimg div.t_text h3 {
	font-weight: bold;
	font-size: 100%;
	padding: 0;
	margin: 5px 0;
	text-align: center;
}
div.teaserimg div.t_text .t_desc {
	margin: 5px 0;
	padding: 0 2px;
}
div.teaserimg a {
	text-decoration: none;
}
div.teaserimg a:hover {
	text-decoration: underline;
}
div.teaserimg span.t_date {
	font-size: 80%;
	font-weight: bold;
	margin: 5px 0;
}
div.teaserimg div.t_readmore {
	text-align: right;
	font-size: 80%;
	font-weight: bold;
	margin: 5px 0;
}
div.teaserimg.rm_text div.t_readmore:after {
	content: " ›";
}


/*	Colors */
body {
	color: #333;
	background-color: #fff;
}
a, span.t_date, div.t_text h3 a:visited {
	color: #8b523d;
}
a:visited {
	color: #49788a;
}
div.wrap_menubox:before {
	background-color: #85b3c2;
}
div.menubox:before {
	background-color: #25414d;
}
div.wrap_menubox {
	background-color: #b4d5de;
}
div.topbannerbox h2.blockheads, div.topbannerbox div.block {
	background-color: #b4d5de; /* FIXME: Make own color? Also add font color. */
}
div.topbannerbox h2.blockheads span {
	color: #fff;
	background-color: #49788a;  /* FIXME: Make own color? Also add font color. */
}
div.topbannerbox h2.blockheads span:before {
	color: #49788a; /* FIXME: Make own color? */
	background-color: #fff;
}
div.sidebox h2.blockheads {
	color: #25414d;
	background-color: #b4d5de; /* FIXME: Make own color? */
}
div.sidebox h2.blockheads span {
	color: #fff;
	background-color: #49788a;  /* FIXME: Also add font color. */
}
div.sidebox h2.blockheads span:before {
	color: #49788a; /* FIXME: Make own color? */
	background-color: #fff;
}
ul.topmenu, ul.topmenu a, ul.smenu a {
	color: #fff;
	background-color: #49788a;
	border-color: #25414d;
}
div.menubox {
	color: #fff;
	background-color: #49788a;
}
form.topsearch input.button {
	color: #fff;
	background-color: #49788a;
}
ul.topmenu a.current, ul.topmenu li:hover > a {
	color: #fff;
	background-color: #8b523d;
	border-color: #000;
}
ul.smenu ul a.current, ul.smenu a:hover {
	color: #fff;
	background-color: #8b523d;
	border-color: #000;
}
ul.topmenu li li a, ul.topmenu ul, ul.smenu ul a {
	color: #25414d;
	background-color: #b4d5de;
}
ul.smenu a, ul.smenu a:hover, ul.smenu ul a.current {
	border-color: #f4f5f8;
}
div.wrap_footer {
	background-color: #b4d5de;
}
div.footer, div.footer a {
	color: #fff;
	background-color: #49788a;
}
ul.shortcuts a {
	color: #666;
}
div.news div.t_text h3:before {
	color: #49788a;
}
ul.topmenu > li {
	border-color: #fff;
}
a.sitename, span.sitename {
	color: #49788a;
}
/* Faux column with device breakpoints corresponding to 5.5 default responsivebreaks.css */
.fauxright {
	background-color: #f4f5f8;
}
@media only screen and (max-width: 768px) {
	.section.hastyright .rightcol {
		background-color: #f4f5f8;
	}
}
@media only screen and (max-width: 480px) { 
	.rightcol {
		background-color: #f4f5f8;
	}
}
.fauxleft {
	background-color: #f4f5f8;
}
@media only screen and (max-width: 768px) {
	.section.hastyleft .leftcol {
		background-color: #f4f5f8;
	}
}
@media only screen and (max-width: 480px) { 
	.leftcol {
		background-color: #f4f5f8;
	}
}
/* Mobile */
@media screen and (max-width: 480px) {
	div.wrap_menubox, div.menubox {
		background-color: #fff;
		color: #333;
	}
 	div.wrap_menubox:before, div.menubox:before { /* no upper border line */
 		display: none;
	}
	form.topsearch input.searchwords {
		border: 1px solid #333;
	}
	ul.topmenu {
		background-color: #fff;
		border: 1px solid #666;
		-webkit-box-shadow: 4px 4px 3px 0 #000;
		-moz-box-shadow: 4px 4px 3px 0 #000;
		box-shadow: 4px 4px 3px 0 #000;
		-webkit-box-shadow: 4px 4px 3px 0 rgba(0,0,0,0.15);
		-moz-box-shadow: 4px 4px 3px 0 rgba(0,0,0,0.15);
		box-shadow: 4px 4px 3px 0 rgba(0,0,0,0.15);
	}
	ul.topmenu > li {
		border-width: 0;
	}
	ul.topmenu a, ul.topmenu a.current, ul.topmenu li:hover > a { /* Won't show "path" to current page, that's ugly with fully open menu */
		color: #25414d;
		background-color: #b4d5de;
	}
	ul.topmenu li a:hover, ul.topmenu li a.onpage {
		color: #fff;
		background-color: #8b523d;
	}
	div.toggletopmenu:before {
		background-color: #e8e8e8;
		box-shadow: 0.125em 0.125em 0 0 #000;
		background-color: rgba(232,232,232,0.9);
		box-shadow: 0.125em 0.125em 0 0 rgba(0,0,0,0.15);
	}
}

