/* Top Elements */
* { margin: 0; padding: 0;}

body, html {	
	margin: 0;	
	background-image: none;
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-position:0px bottom;
	background-color:#f1ebdd;
	font-family: Georgia, Times;
	font-size: 1em;
	color: #000;
}

html {
	overflow-y:scroll;	
}

a:link, a:visited, a:active {
	color: #776c60;
	text-decoration: none;
}

a:hover {
	color: #936;
	text-decoration: underline;
}

p, li{
	font-family:Georgia, Times;
	font-size : 16px; 
	line-height:22px;
	margin-bottom:15px;
}

hr {
	margin: 5px 0px 5px 0px;
	color: #603;
	border: 0;
	border-top: 1px solid #603;
	height: 1px;
	width: 580px;
}

h1,h2,h3,h4,h5,h6
{text-shadow:none;}

h1{
	color:#ee324c !important;
	font-size: 22px;
	font-family:Georgia,Times;
	font-weight:600;

}

h2{
	color:#776c60 !important;
	font-size: 18px;
	font-weight:bold;
	font-style:italic;
	font-family:Georgia,Times;
}

h3 {
	font-size: 16px;
	font-family:Georgia,Times;
	color:#e20036 !important;
	text-align: left;
}

h4 {
	font-size: 15px;
	line-height:1.3em;
	font-weight:normal;
	font-family:Georgia,Times;
	color:#776C60;
	text-align: left;
}

.mainwrapper {
	width:100%;	
	max-width: 1200px;
	min-height:70%;
	margin: 0 auto 0 auto;
	background: transparent url(img/mainwrapper.gif) repeat-y;
	background-size: 100% 10px;
	position:relative;
	box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.4);
}


#leftbox {margin:0 0 0 0; float:left; width: 27%; min-height: 400px; background: #f9d0d1;}
#leftbox .logo img {margin:60px 0 30px 5%; max-width:90%;}


/* Bilder im Text */
.schatten_rechts, .schatten_links {
	padding:8px;
	margin-bottom:5px;
	background:#fff;
	border:1px solid #999;
    -moz-box-shadow: 2px 2px 2px 2px #ccc;
    -webkit-box-shadow: 2px 2px 2px 2px #ccc;
    box-shadow: 2px 2px 2px 2px #ccc;
}

.schatten_links{
	margin-right: 30px;
	margin-bottom:15px;
}

.schatten_rechts{
	margin-left: 30px;
    margin-bottom:15px;
}

/* Listen im Text */
.content ul, ul {
	margin-left:20px;
}


/*Main Blocks*/
.mainbox { float:left; width: 72%; }
.contentbox {padding-top:30px; }
.contentbox, .widetop, .widebottom {width:100%; clear:both; min-height:100px; text-align: justify; }
.contentnarrow { float:left; width: 66.8%; }

.sidebar { float:right; width: 33%; font-size:0.92em; }

.footer { margin: 0; }

/*innenabstaende: */
.contentbox .contentinner {margin: 0 60px 20px 60px ; }
.sidebar .contentinner {margin: 0 5% 20px 5% ; ;}
.widetop .contentinner {}
.widebottom .contentinner {}
.footer  {border-top: 1px solid #ddd;  margin: 50px 50px 0 50px;}
.footer .contentinner  {width: 62%; margin: 0 0 20px 20px ; padding-top: 10px; color:#666;}


/*Notbremse fuer responsive Bilder: maximal 100% Breite*/
.mainbox p img {max-width:100%; height: auto ! important; }


.clearer {height: 5px; clear:both; }
#gototopswitch {float:right; margin: 20px 10px 0 0;}


#mobiletop {display:none; padding: 10px 0 10px 0; background: #fff; height:60px;}
#mobiletop a#menuswitch {display:block; float:left; max-width:5%;  margin: 0 0 0 0 ; padding: 10px 20px 0 0 ;}
#mobiletop a#menuswitch img { margin-left:25%; }
#mobiletop .mobilelogo img { float:left; max-width:75%; margin-left:5%; max-height:100%;}

#menucheck {width:100%; height:1px; display:block;}


.sliderbox { height: 330px;	color: #ddd; margin:0 0 0 0;}
.slider { overflow:hidden; height: 100%;}


#menu_logos {
	width: 330px;
	text-align: center;
	margin-top:40px;
}


/* NAVIGATION */
#nav {width :100%; margin-top:25px;}

#nav ul { /* all lists */	
	padding: 0;
	margin: 0 30px 0 25px;
	list-style-image: none;
	list-style-type: none;
}

#nav li { /* all list items */
	position : relative;		
	display:block; 
	float:left;
	width:100%;
	list-style-image: none;
	list-style-type: none;	
	font-size : 14px;
	font-weight : bold;
	text-align: right;
}
	
/*Level 1 and more*/
#nav a {			
	display : block;	
	text-decoration : none;
	border-bottom : 1px solid #ccc;
	padding: 5px 0 5px 20px;
	color:#776C60;
	font-weight:normal;
	font-family: Georgia, Times;
	font-size: 16px;	
}

#nav li a.menu-current, #nav li a.menu-parent { font-weight:bold }
#nav li li a.menu-current, #nav li li a.menu-parent {background:none; font-weight:bold}

#nav  a:hover ul li {z-index: 1000;}


/* second-level lists */
/* Show/Hide */
#nav li ul, #nav li ul ul, #nav li ul ul ul, #nav li:hover ul, #nav li:hover ul ul, #nav li:hover ul ul ul,
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.isopened ul, #nav li.tabselected ul { 
	opacity:0;
	display:none;
}

#nav li ul a {padding-top:0; padding-bottom:0; transition:0.9s padding; }
#nav li:hover ul a, #nav li.tabselected ul a  {padding-top:8px; padding-bottom:8px; transition:0.1s padding; }


a.template_edit_link{display: block; clear:both; margin: 40px 0 0 12px; width:16px; height:16px; background: transparent url(img/edit.gif) no-repeat; text-decoration:none;}
table.frm-field_table td {font-size:0.9em; padding: 8px 2px; vertical-align: top; border-bottom: 1px solid #eee;}

/*Extra cookie_permission */
#cookie_permission {position:fixed; top:0; right:0; z-index:9950; width: 200px; padding:10px; background: #f0edf4; text-align:center; font-size: 0.9em; line-height:120%; border-radius: 0 0 0 25px; box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.2); }
#cookie_permission p , #cookie_permission a {color:#666;}
#cookie_permission a.cookieaccepted {color:#000; background: #eeb300; display:block; padding:5px; border-radius: 15px; border: 1px solid #fff; font-weight:bold;}

/* BILDER */


/* Bilder im Header */
#static_headerbox {
	float:left;
	width:89%;
	background: #f0edf4 url(slides/header1.jpg) no-repeat;
	//background-size: 100% auto;
	background-size: contain;
	background-position: right top;
	-moz-border-radius:6px;
    border-radius:6px;
	box-shadow:3px 3px 8px #999;
	margin-top:10px;
	margin-left:5%;
	margin-right:5%;
	padding-top:20px;
	padding-left:20px;
	padding-bottom:70px;
}

/* Wechselnde Headerbilder ****************************************/
#static_headerbox.headergrafik3{background: #f3f0ea url(slides/header5.jpg) no-repeat; background-size: contain; background-position: right top;}
#static_headerbox.headergrafik4{background: #efeeeb url(slides/header7.jpg) no-repeat; background-size: contain; background-position: right top;}
#static_headerbox.headergrafik26{background: #d7d6d1 url(slides/header6.jpg) no-repeat; background-size: contain; background-position: right top;}
#static_headerbox.headergrafik6{background: #ffffff url(slides/header4.jpg) no-repeat; background-size: contain; background-position: right top;}
#static_headerbox.headergrafik7{background: #f0edf4 url(slides/header1.jpg) no-repeat; background-size: contain; background-position: right top;}
#static_headerbox.headergrafik8{background: #f6ebeb url(slides/header3.jpg) no-repeat; background-size: contain; background-position: right top;}

/*******************************************************************/


/* Responsive Gallery */
.rfg_gallery.gallery ul.categories li a em
{
	font-size:22px;
	padding-top:30px;
}

