 /* ----------------------------------------------------------------------------- * 
 * Verwendete Farben
 * #002161 - Blau
 * #efefef - Hellgrau
 * #808080 - Grau
 * #FF9900 - Orange
 * ----------------------------------------------------------------------------- */

*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

html    {
    font-size: 100%;
}

body {
	font-family: Verdana, Geneva, sans-serif;
    line-height: 0;
	max-width: 100%;
	background-color: #808080;

}

.page-wrapper {
	max-width: 1248px;
	margin: 0 auto;
}

header {
	max-width: 100%;
	float: none;
}

.menue {
	float: none;
	height: 40px;
	max-width: 100%;
	font-size: 1em; /* 16px */
	line-height: 1.5em;
	background-color: #efefef;
	border-top: solid 6px #002161;
}

.mainContent {
	max-width: 100%;
	background-color: #efefef;
	color: #002161;
	font-size: 1em; /* 16px */
	line-height: 1.5em;
	border-top: solid 6px #efefef;
	border-bottom: solid 6px #002161;
}
	
#haupt {
	width: 80%;
	float: left;
	background-color: #efefef;
	color: #002161;
}
	
#sidebar {
	margin-top: 40px;
	width: 20%;
	float: right;
	background: #FF9900;
	border-radius: 20px 0px 20px 0px;;
}

#aktuelles {
	padding:10px;
}

#news {
	background:#efefef;
	margin: 5px;
	padding: 5px;
	border-radius: 20px 0px 20px 0px;
}

.counter {
	padding: 0 0 0 10px;
}

#footer {
	width:100%;
	color: #efefef;
	padding-top: 4px;
	padding-bottom: 12px;
	margin: 0 auto;
	background: #FF9900;
	text-align: left;
	font-size: 0.8em;
	border-radius: 0px 0px 15px 15px;;
}
	
#clear {
	clear: both;
}

.ankerfooter {
	float: left;
	padding-right: 20px;
	padding-left: 20px;
	border-style: none;
	padding-bottom: 20px;
}

.img {
	max-width: 100%;
	height: auto;
}

.Titelbild 
	{max-width:100%;
	float: none;
	border-style: none;
}

.img_float_left {
	float: left;
	max-width: 100%;
	height: auto;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-top: 5px;
}

.img_float_right {
	float: right;
	max-width: 100%;
	height: auto;
	padding-left: 10px;
	padding-bottom: 20px;
	padding-top: 5px;
}

table {
	width: 100%;
	border-style: none;
	text-align: center;
}
tr {
	width: 100%;
	display: block;
}

td {
	width: 100%;
	padding: 20px 20px;
	float: left;
	display: block;
}


/* ----------------------------------------------------------------------------- *
 *                             Textauszeichnungen                                *
 * ----------------------------------------------------------------------------- */

h1  {
	font-family: 'Courgette'; /* Google-Font Gentium Book wenn verfügbar, sonst Fallback */
    font-size: 3em; 
	font-weight: bold;
	line-height: 1.5em;
	margin: 0.4em 0;
	color: #FF9900;
	padding-left: 15px;
	padding-right: 15px;
}

h2  {
    font-weight: bold;
	font-size: 1.4em; /* 26px */ 
    line-height: 1.2em;
    color: #FF9900; /* rot */
	margin: 0.6em 0;
	padding-left: 15px;
	padding-right: 15px;
}

h3  {
    color: #002161; /* rot */
    font-size: 1.2em; /* 22px */
    font-weight: normal;
	font-weight: bold;
	margin: 0.4em 0;
	padding-left: 15px;
	padding-right: 15px;
}

p {
	padding-left: 15px;
	padding-right: 15px;
	font-size: 1em; /* 16px */
	line-height: 1.5em;
}

#news p {
	margin-top: 0;
	font-size: 0.8em;
	line-height: 1.2em; 
}

.newsdate {
	font-weight:bold;
	color: #FF9900;
}

.newshead {
	font-weight: bold;
	color:#002161;
}

#news a:link {
	text-decoration: none;
	color: #808080;
}

#news a:visited {
	text-decoration: none;
	color: #FF9900;
}

.mainContent a:link {
	text-decoration: none;
	font-weight: bold;
	color: #FF9900;
}

.mainContent a:visited {
	text-decoration: none;
	color: #002161;
}


.linie {
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FF9900;
}

a:link, a:visited {
	text-decoration: none;
}

.impressum {
	font-size: 0.9em;
	line-height: 1.3em;
	text-align: left;
}

.impressum a:link {
	color: #002161;
    text-decoration: underline;
}
.impressum a:visited {
	color: #002161;
    text-decoration: none;
}

.fusszeile {
	color: #002161;
	font-size: 1em;
	line-height: 1em;
	text-align: left;
}

.fusszeile a:link {
	color: #002161;
	text-decoration: underline;	
}

.fusszeile a:visited {
	color: #efefef;
	text-decoration: none;	
}

.fett {
	font-weight: bold;
}

.fett a:link {
	font-weight: bold;
	color: #002161;
    text-decoration: underline;
}

.fett a:hover {
	font-weight: bold;
	color: #FF9900;
    text-decoration: none;
}

.fett a:active {
	font-weight: bold;
	color: #FF9900;
    text-decoration: none;
}

.fett a:visited {
	font-weight: bold;
	color: #002161;
    text-decoration: underline;
}



/* Formatierung des Onlex-Counters */
.onlex_counter {
         padding-left: 9em;
}


/************************************************************************************
Navigation
*************************************************************************************/
#nav {
	width: 100%;
	float: none;
}

/* menu icon */
#menu-icon {
	display: none; /* hide menu icon initially */
}

#nav, 
#nav li {
	margin: 0;
	padding: 0;
}

#nav li {
	list-style: none;
	float: left;
	margin-left: 10px;
	padding-bottom: 5px;
}

/* nav link */
#nav a {
	display: block;
	color: #efefef;
	background: #002161;
	border-radius: 15px 0px 15px 0px;;
	font-size: 0.8em;
	font-weight: bold;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
}

#nav a:hover {
	background: #FF9900;
	color: #efefef;
}

/* nav dropdown */
#nav ul {
	background: #efefef;
	padding: 2px;
	position: absolute;
	border: solid 1px #efefef;
	display: none; /* hide dropdown */
	width: 170px;
	z-index: 9999;

}
#nav ul li {
	float: none;
	margin: 0;
	padding: 2px;
}

#nav li:hover > ul {
	display: block; /* show dropdown on hover */
}

/* -------------------------------------------------------------------------------------*/
/* NEU Elastic Image Slideshow */
/* -------------------------------------------------------------------------------------*/

.ei-slider{
	position: relative;
	width: 80%;
	max-width: 600px;
	height: 450px;
	margin: 0 auto;
}

.ei-slider li {
	list-style: none;
}

.ei-slider-loading{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index:333;
	background: rgba(0,0,0,0.9);
	color: #efefef;
	text-align: center;
	line-height: 400px;
}

.ei-slider-large{
	height: 100%;
	width: 100%;
	position:relative;
	overflow: hidden;
}

.ei-slider-large li{
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: hidden;
	height: 100%;
	width: 100%;
}

.ei-slider-large li img{
	width: 100%;
}

.ei-title{
	position: absolute;
	right: 2%;
	bottom: 1%;
}

.ei-title h3{
	text-align: right;
    font-style: italic;
    font-weight: bold;
	font-size: 2.6em;
	color: #FF9900;
}

.ei-slider-thumbs{
	height: 20px;
	padding: 0;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

.ei-slider-thumbs li{
	position: relative;
	float: left;
	height: 100%;
	width: 100%;
}

.ei-slider-thumbs li.ei-slider-element{
	top: 0px;
	left: 0px;
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 10;
	text-indent: -9000px;
	background: #002161;
}

.ei-slider-thumbs li a{
	display: block;
	text-indent: -9000px;
	background: #FF9900 ;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	-moz-box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	box-shadow: 
        0px 1px 1px 0px rgba(0,0,0,0.3), 
        0px 1px 0px 1px rgba(255,255,255,0.5);
	-webkit-transition: background 0.2s ease;
    -moz-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    -ms-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.ei-slider-thumbs li a:hover{
	background-color: #efefef;
	width: 100%;
	height: 100%;
}

.ei-slider-thumbs li img{
	position: absolute;
	bottom: 50px;
	opacity: 0;
	z-index: 333;
	max-width: 100%;
	height: auto;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
	-webkit-box-reflect: 
        below 0px -webkit-gradient(
            linear, 
            left top, 
            left bottom, 
            from(transparent), 
            color-stop(50%, transparent), 
            to(rgba(255,255,255,0.3))
            );
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.ei-slider-thumbs li:hover img{
	opacity: 1;
	bottom: 20px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

@media screen and (max-width: 830px) {
	.ei-title{
		position: absolute;
		right: 0px;
		margin-right: 0px;
		width: 100%;
		height: auto;
		text-align: center;
		top: auto;
		bottom: 50px;
		background: #fff;
		background: rgba(255,255,255,0.9);
		padding: 5px 0;
}
	
.ei-title h3{
	font-size: 1.2em;
	line-height: 0.5em;
	color: #002161;
	text-align: center;
	}
}


/* ----------------------------------------------------------------------------- *
 *             Responsive Slideshow mit responsiveslides.js             *
 * ----------------------------------------------------------------------------- */

.rslides-wrapper {
    position: relative;
	margin: 0 auto;
	max-width: 600px;
}

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0 0 2em;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

.caption {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4em 40px;
    text-align: center;
    background: #002161;
    background: rgba(1, 14, 114, 0.8);
    color: #FF9900;
    margin: 0;
    font-size: 0.8em;
    line-height: 1.2em;
}

.rslides_tabs {
    margin-top: 10px;
    text-align: center;
    position: absolute;
    top: 0;
    z-index: 2000;
    width: 100%;
    background: #002161;
    background: rgba(1, 14, 114, 0.8);
    margin: 0;
    padding: 0.3em 0;
}

.rslides_tabs li {
    display: inline;
    float: none;
    _float: left;
    *float: left;
    margin-right: 5px;
}

.rslides_tabs a {
    text-indent: -9999px;
    overflow: hidden;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    background: #FF9900;
    background: rgba(250, 250, 250, 0.3);
    display: inline-block;
    _display: block;
    *display: block;
    -webkit-box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, 0.3);
    width: 10px;
    height: 10px;
    z-index: 2005;
}

.rslides_here a {
    background: #222;
    background: rgba(250, 250, 250, 0.8);
    z-index: 2010;
}

.rslides_nav {
    background: url("images/prev-next.gif") no-repeat scroll left 50% black;
    bottom: 0;
    left: 0;
    opacity: 0.6;
    overflow: hidden;
    position: absolute;
    text-indent: -9999px;
    top: 0;
    width: 0;
    z-index: 3;
}

.rslides_nav.next {
    background-position: right 50%;
    left: auto;
    right: 0;
}


/************************************************************************************
MOBILE
*************************************************************************************/
@media all and (max-width: 600px) {

/* nav-wrap */
#nav-wrap {
	position: relative;
	padding-left: 6px;
	float: none;
	margin: 0;
}

/* menu icon */
#menu-icon {
	position: absolute;
	left: 10px;
	color: #efefef;
	font-weight: bold;
	border-radius: 15px 0px 15px 0px;;
	width: 70px;
	height: 40px;
	background: #002161;
	cursor: pointer;
	display: block; /* show menu icon */
	text-align: center;
	font-size: 0.8em;
	vertical-align: middle;
	padding: 0;
	margin: 0;
}

#menu-icon:hover {
		background-color: #FF9900;
		color: #efefef;
		display: block;
}

/* main nav */
#nav {
		clear: both;
		position: absolute;
		width: 200px;
		padding: 0px;
		background: #002161;
		border-radius: 15px 0px 15px 0px;;
		color: #efefef;
		font-weight: bold;
		z-index: 9999;
		display: none; /* visibility will be toggled with jquery */
}

#nav li {
		clear: both;
		float: none;
		margin: 1px 0 1px 5px;
}

#nav a, 
#nav ul a {
		font: inherit;
		background: none;
		display: inline;
		padding: 0;
		color: #efefef;
		font-size: 0.8em;
		border: none;
}

#nav a:hover, 
#nav ul a:hover {
		background: #FF9900;
		color: #efefef;
		display: block;
}
	
/* dropdown */
#nav ul {
		width: auto;
		position: static;
		display: block;
		border: none;
		background: inherit;
		z-index: 9999;
}

#nav ul li {
		margin: 1px 0 1px 5px;
}

.img_float_left	{
	float:none;
	display: block;
} 
	
.img_float_right {
	float:none;
	display: block;
	padding-left: 0;
}  

h1  {
    font-size: 1.7em; 
	margin: 0;
}

td {
	width: 100%;
}

.rslides-wrapper {
    padding-left: 15px; 
}
}

@media all and (max-width: 700px) {
#sidebar {
		display:none;
}
}


@media screen and (min-width: 600px) {
	/* ensure #nav is visible on desktop version */
	#nav {
		display: block !important;
	}
}

