/*
++ TYPO
++ GENERAL
++ HEADER
++ NAVI
++ MAIN
++ CONTENT
++ CONTENT BLOG WOHNEN
++ CONTENT BLOG AKTUELLES
++ SIDEBAR
++ FOOTER
++ RESPONSIVE
   -- max-width: 960px
   -- max-width: 768px
   -- max-width: 480px
   -- max-width: 320px
*/
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Lato Regular'), local('Lato-Regular'),
       url('../fonts/lato-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v14-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/*
Farben:
#36B3A1 Logo-Grün
#0F80A0 Logo-Blau
#F8F7C6 HG-Gelb
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
}

header, section, footer, aside, nav, main, article, figure {
    display: block;
  margin: 0;
  padding: 0;
}

/* + + + + + + + TYPO + + + + + + + */

body {
    font: 15px Lato;
	color: #333;
}

h1, h2, h3, h4, h5, h6 {
color: #0F80A0;
}

h1 {
	font-size: 18px;
	margin-bottom: 16px;	
}

h2 {
	font-size: 16px;
	margin-bottom: 16px;	
}

h3 {
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 0;	
}

h4 {
	font-size: 15px;
	margin-bottom: 14px;	
}

h5 {
	font-size: 13px;
	margin-bottom: 12px;	
}

h6 {
	font-size: 11px;
	margin-bottom: 10px;	
}

p, li, td {
	line-height: 24px;
}

p {
	margin-bottom: 16px;
}

#sidebar1 p {
	margin-bottom: 12px;
}

#footer p {
	line-height: 40px;
	margin: 0;
	font-weight: normal;
	color: #fff;
}

#content ul {
  margin-bottom: 30px;
  padding-left: 12px;
}

#content li {
	list-style-image: url(../images/bullet2.gif);
	margin-left: 10px;
  margin-bottom: 10px;
}

#content a, #sidebar a {
	text-decoration: underline;
}

#content a:link, #content a:visited, #sidebar1 a:link, #sidebar1 a:visited {
	color: #333;
}

#content a:hover, #sidebar1 a:hover {
	color: #0f5792;
	text-decoration: none;
}

/* + + + + + + + GENERAL + + + + + + + */

#wrapper {
    margin: auto;
    width: 960px;
    margin-top: 0;
  border: 1px solid #d6d386;
}

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

.clear {
	clear:both;
}

/* + + + + + + + HEADER + + + + + + + */

#header {
    /* height: 183px;  ++++++++++ <img> in HTML ! ++++++++++
	background-image: url(images/header.png);
	background-repeat: no-repeat;  */
	margin: 0;
	padding: 0;
}

#header div, #header p {
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

#header img {
	margin: 0;
	padding: 0;
}

/* + + + + + + + NAVI + + + + + + + */

#navi {
    height: 40px; /* 26px */
	background-color: #0F80A0; /* #83bf21 */
	padding-left: 35px;
}

#navi ul {
    width: 100%;
    height: 100%;
}

#navi ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 26px;	/* +++++++++ Abstand wie Höhe der UL des ersten Levels +++++++++++ */
	left: 0;	/* +++++++++ Einrückung zweiter Level Block +++++++++++ */
	width: 188px;	/* +++++++++ feste Breite zweiter Level Block +++++++++++ */
	z-index: 99999;
}

#navi li {
    list-style: none;
    float: left;
		position: relative;
}

#navi ul li:hover > ul {
	display: block;
}

#navi a {
    display: block;
    line-height: 40px; /* 26px */
    padding: 0 15px;
    text-decoration: none;
    color: #fff;
	font-size: 16px;
	font-weight: bold;
}

#navi ul ul a {		/* +++++++++ zweiter Level Block +++++++++++ */
	background: #83bf21;
	border-top: 2px solid #f7f6be;
}

#navi .current a {
	color: #fff300;
}

#navi .current li a {
	color: #fff;
}

#navi li .current a {
	color: #fff300;
}

#navi a:hover {
    color: #fff300
}

#navi li li a:hover {
    color: #fff300
}

#navi .deeper a::after {
	content: url(../images/arrow-down.png);
	padding-left: 6px;
}

#navi .deeper .nav-child a::after {
	content: "";
}

/* + + + + + + + MAIN + + + + + + + */

main {
    background: #fff url(../images/bg-gradient.png) repeat-x;
    background-image: linear-gradient(#f7f6be, #ffffff);
	overflow: hidden;
}

/* + + + + + + + CONTENT + + + + + + + */

#content {
    float: left;
    width: 570px;  /* 690px */
    padding: 46px 70px 70px 50px;
    overflow: hidden;
}

#content .gallery {
	margin-top: 50px;
}

#content .gallery img, 
#content p img {
	width: 276px;
	margin-bottom: 10px;
}


#content .gallery img:nth-child(odd),
#content p img:nth-child(odd) {
	margin-right: 10px;
}

#content p .pull-left {
	width: 276px;
	float: left;
	margin: 6px 15px 10px 0;
}

#content p .pull-right {
	width: 276px;
	float: right;
	margin: 6px 0 10px 15px;
}
 
.popover { /* Popup-Nachricht bei z.B. verlorenem Passwort */
	width: 300px;
	background-color: #DBD9A0;
	padding: 15px;
	border: 1px solid #545223;
	color: #893E08;
}

#content .pagination li {
  display: inline;
}

.tooltip.fade.top.in {
  display: none !important;
}

.jjbutton {
  text-align: center;
}

#content .jjbutton a {
  display: inline-block;
  padding: 8px 18px 8px 18px;
  background-color: #36B3A1;
  color: #fff !important;
  border: 1px solid #333;
  border-radius: 4px;
  text-decoration: none;
}

#content .jjbutton a:hover {
  background-color: #289685;
}

#content .pagination .page-item a {
  display: inline-block;
  padding: 0px 6px 0px 6px;
  border: 1px solid #0F80A0;
  border-radius: 2px;
  text-decoration: none;
  background-color: #36B3A1;
  color: #fff;
}

#content .pagination .page-item a:hover {
  background-color: #66d1c1;
}

a .icon-angle-double-left::before {
  content: "«";
}

a .icon-angle-left::before {
  content:"<";
}

a .icon-angle-right::before {
  content:">";
}

a .icon-angle-double-right::before {
  content:"»";
}

/* + + + + + + + CONTENT BLOG WOHNEN + + + + + + + */

#blogzimmer1 .items-row {
	width: 49%;
}

#blogzimmer1 .items-row {
	float: left;
	/* background-color: #F7E3E3; */
	
}

#blogzimmer1 div.cols-2:nth-child(even) {
	margin-right: 2%;
	/* background-color: #F7F6E3; */
}

#blogzimmer1 .span6 {
	border: 1px solid #555;
	background-color: #fff985;
	margin-bottom: 20px;
	padding: 1% 8% 4%;
}

#blogzimmer1 .items-row .page-header {
	display: none;
}

#blogzimmer1 .items-row .item-image { /* Blogübersicht */
	background-color: #fff;
	text-align: center;
	margin: -1% -9% 4%;
	height: 180px;
}

#blogzimmer1 .items-row .item-image a { /* Blogübersicht */
	display: block;
	padding: 2% 8%;
}

#blogzimmer1 .item-pageblogzimmer1 .item-image { /* Beitrag */
	background-color: #fff;
	text-align: center;
	padding: 4%;
	border-top: 1px solid #555;
	border-right: 1px solid #555;
	border-left: 1px solid #555;
}

#blogzimmer1 .item-pageblogzimmer1 [itemprop=articleBody] { /* Beitrag */
	background-color: #fff985;
	padding: 4%;
	border-right: 1px solid #555;
	border-bottom: 1px solid #555;
	border-left: 1px solid #555;
}

#blogzimmer1 .item-pageblogzimmer1 [itemprop=articleBody] p:last-child {
	margin-bottom: 0;
}

#blogzimmer1 .item-pageblogzimmer1 [itemprop=articleBody] p:last-child::after {
	
}

#blogzimmer1 .items-row .item-image img {
	max-height: 170px;
}

#blogzimmer1 .span6 p {
	margin-bottom: 0;
}

/* + + + + + + + CONTENT BLOG AKTUELLES + + + + + + + */

.menu_id_159 #content .readmore {
  margin-top: -30px;
} 

#content .items-leading [itemprop=blogPost]{
  overflow: hidden;
  margin-bottom: 30px;
}

.menu_id_159 #content p,
.menu_id_160 #content p,
.menu_id_161 #content p {
  overflow: hidden;
}

.menu_id_159 #content [itemprop=blogPost] img,
.menu_id_160 #content [itemprop=blogPost] img,
.menu_id_161 #content [itemprop=blogPost] img {
  width: 200px;
}

.menu_id_159 #content [itemprop=blogPost] img.mitte,
.menu_id_160 #content [itemprop=blogPost] img.mitte,
.menu_id_161 #content [itemprop=blogPost] img.mitte {
  width: 100%;
}

.menu_id_159 #content p img[style*="left"],
.menu_id_160 #content p img[style*="left"],
.menu_id_161 #content p img[style*="left"] {
  margin: 6px 20px 10px 0 !important;
}

.menu_id_159 #content p img[style*="right"], 
.menu_id_160 #content p img[style*="right"],
.menu_id_161 #content p img[style*="right"] {
  margin: 6px 0 10px 20px !important;
}

.menu_id_159 #content .item-page .pull-left, 
.menu_id_160 #content .item-page .pull-left,
.menu_id_161 #content .item-page .pull-left {
  margin: 6px 20px 10px 0 !important;
  width: 300px !important;
  float: left;
}

.menu_id_159 #content [itemprop=blogPost] .pull-left, 
.menu_id_160 #content [itemprop=blogPost] .pull-left,
.menu_id_161 #content [itemprop=blogPost] .pull-left {
  margin: 6px 20px 10px 0 !important;
  float: left;
}

.menu_id_159 #content .item-page .pull-right, 
.menu_id_160 #content .item-page .pull-right,
.menu_id_161 #content .item-page .pull-right {
  margin: 6px 0 10px 20px !important;
  width: 300px !important;
  float: right;
}

.menu_id_159 #content [itemprop=blogPost] .pull-right, 
.menu_id_160 #content [itemprop=blogPost] .pull-right,
.menu_id_161 #content [itemprop=blogPost] .pull-right {
  margin: 6px 0 10px 20px !important;
  float: right;
}

.view-category #content .page-header h2 a {
  color: #0F80A0;
  text-decoration: none;
}

.view-category #content .page-header h2 a:hover {
  color: #36B3A1;
}

/* + + + + + + + SIDEBAR + + + + + + + */

#sidebar1 {
    width: 270px;
    margin-left: 690px;
	padding-top: 50px;
	font-size: 13px;
}

#sidebar1 p, #sidebar1 li, #sidebar1 td {
	line-height: 20px;
}

#sidebar1 .sidebox {
	width: 168px; /* 218px */
	background-color: #c8e080;
	padding: 25px 25px 15px;
    margin-bottom: 24px;
}

#sidebar1 h3 {
	line-height: 24px;
	margin-bottom: 0;
}

#sidebar1 .customback-whg {
	margin-top: 40px;
}

.article_id_16 #sidebar1 .customback-whg,
.article_id_17 #sidebar1 .customback-whg {
	display: none;
}

#sidebar1 .customback-whg a::before {
	content: url(../images/arrow-back.png);
	padding-right: 6px;
}

#sidebar1 .customback-whg a:hover::before {
	content: url(../images/arrow-back-hover.png);
	padding-right: 6px;
}

/* + + + + + + + FOOTER + + + + + + + */

#footer {
    clear: both;
    height: 40px;
	background-color: #0F80A0;
    padding-left: 50px;
}

#footer p {
  line-height: 40px;
}

/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* ========================= RESPONSIVE ================================== */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */

/* ------------- media screen 960px ------------- */

@media screen and (max-width: 970px) {
	
	#wrapper {
		width: 96%;
	}
	
	#content {		/* 71% */
		width: 63%;
		padding: 6% 4% 4%;
		/*background-color: #C7F2B8;*/
	}

#content .gallery img,
#content p img {
	width: 48%;
	margin-bottom: 10px;
}


#content .gallery img:nth-child(odd),
#content p img:nth-child(odd) {
	margin-right: 2%;
}
	
	#sidebar1 {		/* 29% */
		width: 29%;
		margin-left: 71%;
		padding-top: 6%;
		/*background-color: #F2EBB8;*/
	}
	
	#footer {
		padding: 2%;
	}
	
}

/* ------------- media screen 850px ------------- */

@media screen and (max-width: 850px) {
  
  	/* - - - - - - Mobile Menu - - - - - - */

nav#navi {
	height: 30px;
	margin: 0;  /* Ausgleich Media Query 890px #wrapper */
	float: none;
	position: relative;
	padding-top: 2px;
	right: 0;
	z-index: 9999;
	width: 100%;  /* Ausgleich Media Query 890px #wrapper */
	background-color: #83bf21;
}
	
	#navi {
    padding-left: 4%;
      box-sizing: border-box;
	}
	
#hamburger {
	background: url(../images/hamburger.png) right;
	width: 34px;
	height: 25px;
	display: block;
	position: absolute;
	right: 6%;
}

#navi #hamburger {
	padding: 0;
	top: 3px;
}

nav#navi ul {
	width: 96%;
	position: absolute;
	display: none;
	top: 30px;
      box-sizing: border-box;
}

nav#navi:hover ul {
	display: block;
		
}

nav#navi ul ul {
	display: block;
	float: none;
	margin: 0;
	position: relative;
	left: 0;	/* +++++++++ Einrückung zweiter Level Block +++++++++++ */
	top: 0;	
      box-sizing: border-box;
  width: 100%;
}

nav#navi li {
	float: none;
	width: 100%;
	padding: 0;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
      box-sizing: border-box;
}

nav#navi li:last-child {
	border-bottom: 1px solid #ccc;
}

nav#navi ul ul li {
	
}

nav#navi li a {
	display: block;
	padding: 4px 4%;
	font-size:18px;
	font-size:1.125rem;
	background-color: #83bf21;
}

nav#navi ul ul li a {
	padding: 4px 0 4px 10%;
	display: block;
	background-color: #83bf21;
	width: 100%;
	border-top: 0;
      box-sizing: border-box;
}

nav#navi li a:hover {
	background-color: #ddd;
	display: block;
}
	
}

/* ------------- media screen 780px ------------- */

@media screen and (max-width: 780px) {
	
	body {
    font-size: 13px;
	}
	
	p, li, td {
	line-height: 20px;
	}

	#sidebar1 h3 {
	font-size: 13px;
	line-height: 20px;
	margin-bottom: 0;
	}
	
	#wrapper {
		width: 100%;
	}
	
	#content {		/* 64% */
		width: 56%;
		padding: 6% 4% 4%;
		/*background-color: #C7F2B8;*/
	}
	
	#sidebar1 {		/* 36% */
		width: 36%;
		margin-left: 64%;
		padding-top: 6%;
		/*background-color: #F2EBB8;*/
	}	
	
}

/* ------------- media screen 610px ------------- */

@media screen and (max-width: 610px) {
	
	#wrapper {
		width: 100%;
	}
	
	#content {		
		width: 92%;
		float: none;
		border-bottom: 1px solid #555;
	}
	
	#sidebar1 {
		width: 100%;
		margin: 0;
		padding: 10px 4% 0;
		border-bottom: 1px solid #555;
	margin-bottom: 0;
      box-sizing: border-box;
	}

#sidebar1 .sidebox {
	width: 100%; 
	padding: 4%;
    margin-bottom: 12px;
}
  
  #sidebar1 .sidebox:last-child {
    margin-bottom: 0;
  }
  
.popover {
  width: 80%;
  }


}

/* ------------- media screen 360px ------------- */

@media screen and (max-width: 360px) {
	
	#content .gallery {
	margin-top: 50px;
}

#content .gallery img,
#content p img {
	width: 100%;
	margin-bottom: 10px;
}


#content .gallery img:nth-child(odd),
#content p img:nth-child(odd) {
	margin-right: 0;
}
	
}