
* {
	outline: 0;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	line-height: 140%;
	background-color: #a3a28d;
	background: url('../images/back.jpg') no-repeat left center fixed;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	padding: 20px;
}

h1 {
	margin-top: 20px;
	font-size: 24px;
	padding-bottom: 20px;
	line-height: 120%;
}

h2 {
	font-size: 18px;
	padding-top: 10px;
}

a {
	 color: black;
	 text-decoration: none;
}

a:hover {
	 color: rgba(0, 0, 0, 0.6);
}



.rotate_left {
	-moz-transform: rotate(2deg);
	-ms-transform: rotate(2deg);
	-o-transform: rotate(2deg);
	-webkit-transform: rotate(2deg);
}

.rotate_right {
	-moz-transform: rotate(357deg);
	-ms-transform: rotate(357deg);
	-o-transform: rotate(357deg);
	-webkit-transform: rotate(357deg);
}

#right .ce_image .image_container {
	background: white;
	padding: 10px 10px 18px;
	margin: 10px;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0 1px 5px rgba(0,0,0,0.75);
	box-shadow: 0 1px 5px rgba(0,0,0,0.75);
}

#header {
	color: white;
	min-height: 150px;
}

#header .inside{
	display: flex;
	flex-flow: row;
	max-width:880px;
	justify-content: space-between;
}


#header a {
	text-decoration: none;
	color: white;
}

#header a:hover {
	color: white;
}

#header .mod_navigation li {
	font-size: 9px;
	height: 90px;
	width: 90px;
	margin-left: 10px;
	display: block;
	float: left;
	list-style-type: none;
	text-indent: -999px;
}

#header .mod_navigation {
	margin-left: -25px;
	order: -1;
}

#header .mod_navigation a {
	height: 90px;
	width: 90px;
	display: block;
}

#wrapper{
	width:100%; max-width:880px;margin: 0 auto;
	}


#container {
	display: flex;
	flex-flow: row;
	max-width:880px;
}

#main {
  width: 100%;
  max-width: 665px;
}

#right {
  width: 20%;
  min-width: 200px;
  margin: 0;
  padding-left: 15px;
}

/* 880px --------------------------------------------------------------------------------- */
@media screen and (max-width:880px){


#header .inside{
	display: block;
	
}
#container{
	display: block;
	
}

} /* end 880px */


span.active {
	display: block;
	height: 90px;
	width: 90px;
}

li.ueber-uns,
a.ueber-uns:hover,
span.active.ueber-uns {
	background: url(../images/ueber-uns.png);
    background-size: 90px;
}

li.wohngruppen,
a.wohngruppen:hover,
span.active.wohngruppen {
	background: url(../images/wohngruppen.png);
    background-size: 90px;	
}

li.aktuelles,
a.aktuelles:hover,
span.active.aktuelles {
	background: url(../images/aktuelles.png);
    background-size: 90px;	
}

li.kontakt,
a.kontakt:hover,
span.active.kontakt {
	background: url(../images/kontakt.png);
    background-size: 90px;	
}

li.historie,
a.historie:hover,
span.active.historie {
	background: url(../images/historie.png);
    background-size: 90px;	
}

#logo {
	font-family: 'Open Sans Condensed', sans-serif;
	text-align: right;
	
	font-size: 26px;
	line-height: 130%;
	left: 490px;
	top: 10px;
	width: 310px;
}

#logo a {
	color: rgba(255, 255, 255, 0.8);
}

#main {
	background: rgba(255, 255, 255, 0.9);
	color: black;
 	min-height: 500px;
/*	border: 1px solid white;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);	*/
}

#main .inside {
	padding: 10px 20px 16px;
}

#main .ce_text ul {
	padding-left: 20px;
	list-style: disc;
}

#main .ce_text ol {
	padding-left: 20px;
}

#footer {
	background: rgba(255, 255, 255, 0.9);
	
	width: 100%;
	max-width: 665px;
	border-top: 1px solid #dfdfdf;
}

#footer .inside{padding: 17px 20px 20px;}


.toggler {
	font-size: 18px;
	background: rgba(0, 0, 0, 0.05);
	padding-top: 11px;
	padding-bottom: 13px;
	padding-left: 10px;
}

.ui-accordion-header {
		margin-top: 16px;
}

.ui-accordion-content {
	background: rgba(0, 0, 0, 0.05);
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 1px;
	margin-top: 1px;
}

.toggler:hover {
	background: rgba(0, 0, 0, 0.05);
	cursor: pointer;
	font-weight: 600;
	padding-left: 10px;
}

.ui-helper-reset {
	font-weight: normal;	
}

.ui-state-default {
	font-weight: normal;	
}

.toggler.active {
	background: rgba(0, 0, 0, 0.05);
}

/* Extras */

#wohngruppen h1 {
	padding-bottom: 4px;
}

.historie #main {
	min-height: 1000px;
}

hr {
	margin-top: 16px;
	margin-bottom: 6px;
    border: 0;
    height: 1px;
    border-top: 1px solid #dfdfdf;
    /*
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0));
	*/
}

#dlh_googlemap_1  input.text {
	width: 160px;
	margin-right: 6px;
}

.mime_icon {
    margin-bottom: -0.25em;
}