/*
Theme Name: Kamillen Apotheke 2.1
Date: November 2026
Theme URI:https://graphiks.info/
Author:www.graphiks.info
*/

@font-face {
    font-family: 'DeliciousRoman';
    src: url('fonts/DeliciousRoman.eot');
    src: url('fonts/DeliciousRoman.eot') format('embedded-opentype'),
         url('fonts/DeliciousRoman.woff2') format('woff2'),
         url('fonts/DeliciousRoman.woff') format('woff'),
         url('fonts/DeliciousRoman.ttf') format('truetype'),
         url('fonts/DeliciousRoman.svg#DeliciousRoman') format('svg');
}

@font-face {
    font-family: 'RobotoCondensedRegular';
    src: url('fonts/RobotoCondensedRegular.eot');
    src: url('fonts/RobotoCondensedRegular.eot') format('embedded-opentype'),
         url('fonts/RobotoCondensedRegular.woff2') format('woff2'),
         url('fonts/RobotoCondensedRegular.woff') format('woff'),
         url('fonts/RobotoCondensedRegular.ttf') format('truetype'),
         url('fonts/RobotoCondensedRegular.svg#RobotoCondensedRegular') format('svg');
}

/*Reset ------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;vertical-align: baseline;}body {line-height: 1;}ol,ul {list-style: none;}blockquote,q {quotes: none;}blockquote:before,blockquote:after,q:before,q:after {content: '';content: none;}table {border-collapse: collapse;border-spacing: 0;}caption,th,td {font-weight: normal;text-align: left;}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {display: block;}audio,canvas,video {display: inline-block;}audio:not([controls]) {display: none;}del {color: #333;}ins {background: #fff9c0;text-decoration: none;}sub,sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}sup {top: -0.5em;}sub {bottom: -0.25em;}small {font-size: smaller;}img {border: 0;-ms-interpolation-mode: bicubic;}

/*HTML Elements*/
* { box-sizing: border-box;}

a,  ul.sub-menu, .infotext {-webkit-transition:all 400ms ease;-moz-transition:all 400ms ease;-ms-transition:all 400ms ease;-o-transition:all 400ms ease;transition:all 400ms ease;outline:none;}
html {overflow-y: scroll;}
body {color:#333; font-family:'RobotoCondensedRegular', Helvetica, Arial, sans-serif; font-size:17px;line-height:1.4em; background-image: url(pics/regenbogen.png); background-position: center 100px; background-repeat: no-repeat; background-size: 120% auto; background-color: #fff; }
img {  max-width: 100%; height: auto;}

h1, h2, h3, h4, h5 {font-size:2em;line-height:1.25em;margin-bottom:20px; color:#333 ; }
h1, h2, h3, h4, h5, h6, #navi {font-family: 'DeliciousRoman',Helvetica, Arial, sans-serif;font-weight: normal;}
.archivtitle { padding-top:20px;border-top:2px dotted  #ccc; margin-top:12px; font-size: 1.25em; } 
.aktionstitle { color: #f00;}
.storycontent .archivtitle:first-child   { margin-top:0;}
.archivtitle a { text-decoration: none !important;  color: #009346 !important ;  }

i {color:#999;}
p {margin-bottom:12px;}
small, .small	{font-size:0.85em; padding-bottom:15px; color:#ccc; position:relative;} small a { color:#999 !important;} small a:hover {color:#eee !important;}
hr { background:0;border:2px dotted #ccc; border-width:0 0 2px 0;height: 1px;width:100%;margin:15px 0;}

/*Links*/
a, a:visited {color:#333;text-decoration:underline;} a:hover, a:active {color:#009346; }
.storycontent a[href*=".pdf"], .storycontent a.external[href*=".pdf"] {background-image:url(pics/PDF.png); background-repeat: no-repeat; background-position: left 5px;;padding:0 0 0 32px;display:block; line-height: 28px;} 
/*a[href*="tel"] { text-decoration: none;}*/

/*Layout 
------------------------------------------------------------------------------------*/
.skiplink {position:absolute;left:-99999px;top:-2em;}
.container  {position:relative;width:100%; }
.content {position:relative;width:94%;margin:0 auto; min-width:260px;max-width:1350px; font-size: 1.1em; line-height: 1.6em; }	
/*#post {max-width:1150px;  }*/
.widecontent {max-width: 1500px;}
.narrowcontent {max-width: 850px;}
.storycontent { max-width: 1200px; margin:0 auto;}
.isdesktop { display: none;}

/*Navigation 
------------------------------------------------------------------------------------*/

#header {border: 25px solid #009346; border-width: 0 0 0 0; z-index: 200; }

#headercontent  h1 {position:relative;   width: 25%;  z-index: 2; margin-top: 15px; max-width: 85px; margin-bottom: 0;  }
#headercontent  h1 a {position:absolute;left:0;top:0;width:100%;height:100%;display:block; text-indent:-99999px;z-index:2; }

#navi   {font-size: 1.15em;   margin: 0;}
#navi li {position:relative;  line-height: 1em; text-transform: uppercase:}
#navi a, #navi li a:visited {  text-decoration:none;  padding:10px 0; display: inline-block; color: #fff;} 
#navi a:hover, #navi a:focus { color: #999 !important;}

#navi .current-menu-item a, #navi .sub-menu .current-menu-item a {color:#ccc ;cursor:default; }
#navi .current-menu-item .sub-menu a { cursor: pointer; color: #333 ;}
#navi .current-menu-parent, #navi .current_page_parent a { color: #999;}
#navi .current-menu-parent a:hover, #navi .current-menu-item .sub-menu a:hover, #navi .current_page_parent a:hover, #navi .current_page_parent .sub-menu a:hover { color: #fff;}

#navi #menu-item-83 a { background: #f00; text-align: center;}
#navi ul.sub-menu {color:#333; font-family:'RobotoCondensedRegular', 'Arial Narrow', Helvetica, Arial, sans-serif; font-size:17px;}

.headersearch { position: absolute; right:0; top: 55px; margin: 0; } 
.headersearch  input { background-color: #fff;    height:33px; border-color:#f8f2e4;   padding: 0; background-image: url(pics/search-header.png); background-position: 10px center;;  background-repeat: no-repeat; background-size: auto 60%;  line-height: 33px; font-size: 14px; text-indent: -999999px;   position: absolute; right: 0; min-width: 175px;width:25%; max-width: 350px; top: 3px;  border: 1px solid #ccc; padding: 0 10px;  }
.headersearch input:focus, .headersearch input:active { padding: .3em 12px; font-size: 1.1em; line-height: 1.6em; height: 33px; background: #fff;   color: #333;  text-indent: 0;min-width:300px; -webkit-box-shadow:3px 3px 7px 0px rgba(0, 0, 0, .3);    box-shadow:  3px 3px 7px 0px rgba(0, 0, 0, .3);  }

/*Mobile Navi*/
.rmp-menu a:hover { color: #333 !important;}
.rmp-submenu a { font-size: 16px !important;}

/*Content 
------------------------------------------------------------------------------------*/
#post {padding:0 0 20px 0; z-index: 1; }

h2 {color: #009346 ;}
h2 small { font-size: 0.7em;}
h3, h4  {font-size: 1.2em; padding: 15px 0; margin: 0; color: #009346; }

.storycontent { padding:0 0 10px 0; position: relative;} 

.storycontent ul.internal { margin: 20px 0 0 0;}
.storycontent ul.internal li {padding:6px 15px 6px 33px; background-color: #f9f7f7;  border: 1px solid #d2d2d2; 	border-radius: 3px; 	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); -webkit-box-shadow:0 1px 2px rgba(64, 64, 64, 0.1); background-image: url(pics/arrow.png); background-position:  5px 7px; background-repeat:  no-repeat; list-style: none; margin-left: 0;}

.picscolumn {font-size: .9em; line-height: 1.6em; padding: 15px; border: 1px dotted #ccc; -webkit-border-radius:4px; border-radius: 4px;  margin: 0 0 20px 0;  }
aside.picscolumn {float: right; margin: 0 0 20px 5%;  width:35%; max-width: 250px; text-align: justify; }
#post div.picscolumn img { float: right; max-width: 35%;}
.picscolumn  h5 { color:#009346; border: 1px solid #009346; border-width: 1px 0; padding: 5px 0; font-size: 1.15em;  font-weight: bold;}

/*Bilder, Videos, Objects, iframes, Captions*/
#header img, #post img, .wp-caption	{max-width:100%;height:auto; border-radius: 3px;-webkit-border-radius: 3px; } 
.alignright {margin:0 0 15px 20px;display:inline;float:right;} .alignleft {margin:0 20px 15px 0;display:inline;float:left;} #post .alignleft, #post .alignright	{ max-width:45%;} #post a img	{opacity:1;} #post a:hover img	{opacity:.85;}
.centered, .aligncenter { text-align: center;}

.video-wrapper {max-width: 700px;}
.video-container { position: relative;padding-bottom: 56.25%;padding-top: 30px;height: 0;overflow: hidden; margin-bottom:10px; border:1px solid #ccc;} .video-container iframe, .video-container object, .video-container embed {position: absolute;top: 0;left: 0;width: 100%;height: 100%;} 

/*Caption, WP-Gallery*/
.wp-caption	{  padding:0; position:relative; text-align: center; }
.wp-caption-text, .gallery-caption, .entry-caption { font-weight:normal;  }
.wp-caption img { border:1px solid #ccc; }
.wp-caption hr { margin:7px 0;}
.storycontent .wp-caption a[href*=".pdf"] {background: 0; padding: 0;}

/*Listen*/
.storycontent ul {margin:10px 0 0 0;padding:0 0 10px 0;}	
.storycontent ul li {margin:0 0 5px 20px;list-style:disc;} 
.storycontent ol li {margin:0 0 5px 20px;list-style:decimal;}

.storycontent .subseiten li { margin-left: 0; list-style: none;display: block; position: relative; padding-left: 20px;}
.storycontent .subseiten li:before {content: "\f054"; font-family: 'FontAwesome'; font-size: .85em; position: absolute; left: 0;}
.storycontent .subseiten .current-menu-item a, .storycontent .subseiten .current-menu-item:before { color:#999 !important; cursor: default; text-decoration: none;}

.storycontent .auflistung { font-weight: bold;}
.storycontent .auflistung li { list-style: none; margin-left: 0;  width: 45%; min-width: 250px; float: left;}
.storycontent .auflistung li:nth-child(odd) {clear: left;}
.storycontent .auflistung ul {  font-weight: normal; margin-bottom: 25px;}
.storycontent .auflistung ul li {margin-left: 20px; width: 100%; min-width: 100%; float: none; list-style: disc !important;}

/*Tag-Register*/
h3.kap-tr-title { font-size: 1.2em;}
.register_subtitle { display: none;}
.storycontent .kap-themenregister__letters li { margin-left: 4px; list-style: none; position: relative;}


/*Tabellen*/
table {border:0 none;border-spacing:0;margin:15px 0;} td, th {padding:2px 6px 2px 0;vertical-align:top;text-align:left;} th {font-weight:bold;}

/*Formular, Kontakt */
form p { margin-bottom:20px;}

textarea, input, select {width:80%;font-size:12px;border:1px solid #ddd;padding:4px;font-size:1.1em; -webkit-border-radius:2px;border-radius:2px; line-height:1.6em; max-width:300px; box-sizing: border-box;}  
textarea {height:120px;}
textarea:focus, input:focus, textarea:active, input:active,  select:focus,  select:active  {border-color: #fbc500;}

.button, input[type="submit"]  { width:auto;} 
input.narrow, .narrow input	{ width:75px; }

.checkbox, input[type="checkbox"], .frm_radio input[type=radio], input[type="radio"], .frm_checkbox input  {width:15px; max-width: 15px; min-width: 15px; line-height:1em;padding:0;} 

/*Suche*/
.searchform input {color:#999; padding: 3px 4px; margin-bottom: 10px; line-height: 1.2em; }
.searchform input:focus, .searchform input:active {color:#333; background:#fff; }
.searchform .button {display:none;}
.search-everything-highlight {background:#FFF984;font-weight:bold;color:#000;padding:0 1px;font-style:normal;} 
.searchcontent { text-decoration: none; border-top:1px solid  #ccc; margin-top: 15px; }
.searchcontent a { text-decoration: none; border-top:1px solid  #ccc; margin-top: 15px; }
.searchcontent .more-link { text-decoration: underline;}

/*WP-Gallery*/	
.wp-block-gallery { margin: 25px 0;}
.wp-block-gallery img {	border:1px solid #666;}
.wp-block-gallery img:hover {	border:1px solid #999;}

.wp-gallery:before {content:"";display:table; height:10px;}
.wp-gallery {margin: auto;  overflow: hidden;  width: 100%; }
.storycontent .wp-gallery ul	{ margin:0; padding: 0;}
.storycontent .wp-gallery li {float: left; display:inline; list-style:none; margin:0 0 10px 0;padding:0;float:left; width:33%;       }
.wp-gallery img {margin:0 0 6px 0; 	background-color:#fff; 	border:1px solid #333 !important; 	 position:relative; width:90%; padding:0; -webkit-box-shadow:3px 3px 7px 0px rgba(0, 0, 0, .3);    box-shadow:  3px 3px 7px 0px rgba(0, 0, 0, .3); -webkit-border-radius: 3px; border-radius:3px;} .wp-gallery img:hover {border-color:#eee; -webkit-box-shadow:3px 3px 7px 0px rgba(0, 0, 0, .0);    box-shadow:  3px 3px 7px 0px rgba(0, 0, 0, .0); }

/*Pagenavi*/
.wp-pagenavi {text-align:center;padding:20px 0;display:block;margin:20px 0;border-top:2px dotted #999;} .wp-pagenavi .pages {margin-right:10px;line-height:2em;} .wp-pagenavi a,  .wp-pagenavi .current { /*Buttons*/ text-decoration:none;display:inline;margin-right:5px;} .wp-pagenavi .current {background:#009346 !important;color:#fff; border-color:#009346 !important;} .wp-pagenavi .extend { margin-right: 3px;}

/*Zitat*/
blockquote { font-style: italic; padding: 15px 17px 5px 15px; border: 1px solid #ccc; border-width: 1px 0; margin-top: 20px; position: relative; display: inline-block; }
blockquote p {padding: 0 30px 0 25px;}
blockquote:before, blockquote:after  {font-family: 'FontAwesome';  content: "\f10d"; color: #009346; font-size: 1.3em; font-weight: bold; position: absolute; left: 0; top: .7em; }
blockquote:after { content: '\f10e'; left: auto; right: 7px; top: auto; bottom: .7em;}

/*Glossar*/
.page-template-page-homoeopathe h2 { font-size: 1.8em;}
#post .menu_glossar {padding: 10px 0 0 0; font-size: 1.25em; color: #ccc; line-height: 1.25em; text-align: center;}
#post .menu_glossar li a { text-decoration: none;padding: 6px 7px; display: block;}
#post .menu_glossar li a:hover { color: #fff;}
#post .menu_glossar li {display:inline-block; list-style: none ; margin: 0 3px 20px 0; padding: 0 !important; -webkit-border-radius: 3px;border-radius: 3px;letter-spacing:1px;padding:3px 7px;font-weight:bold;line-height:1em; background-color: #e6e6e6; border:1px solid #009346; }
#post .menu_glossar li:hover { background: #009346; } 
#post .menu_glossar .current-menu-item a {color: #fff !important; cursor: default !important; }
#post .menu_glossar .current-menu-item {background:#009346 !important;color:#fff; }

/*Startseite
-------------------------------------------------------------------*/

#home_teaser {z-index: 2;}
#home_teaser img { max-width: 100%; height: auto;}
#home_teaser .page-title { width: 100% !important; background: #fff; padding: 7px 15px; text-align: center; margin: 0; display: none; }

.greycontainer { padding: 50px 0 25px 0; z-index: 2; background:#f9f9f9; margin-top: -50px; margin-bottom: 20px; z-index: 1; }
#adressen {}
#adressen .footer-box { padding: 25px 25px 15px 25px; background: #fff; border: 1px solid #ccc;-webkit-border-radius:4px; border-radius: 4px; width: 100%; margin-bottom: 20px;}
#adressen h5 {color:#009346; padding: 5px 0; font-size: 1em;  font-weight: bold; border-bottom: 1px solid #009346;}

.saisoninfo { padding: 15px 15px 5px 15px; border:2px dotted #fff;  background-color: #fff;margin: 0 0 20px 0; -webkit-border-radius:4px; border-radius: 4px;/*-webkit-box-shadow:3px 3px 7px 0px rgba(0, 0, 0, .3);    box-shadow:  3px 3px 7px 0px rgba(0, 0, 0, .3);*/ font-size: 1.05em; }
.saisoninfo a { display: block; text-decoration: underline !important;}

.startbox {  -webkit-hyphens: auto;  -moz-hyphens: auto;  -ms-hyphens: auto;  hyphens: auto;  margin: 0 0 20px 0; position: relative; width: 100%;    display: inline-block; float: left; min-width: 300px;border: 1px solid  #009346;  -webkit-border-radius:4px; border-radius: 4px;/*-webkit-box-shadow:3px 3px 7px 0px rgba(0, 0, 0, .3);  /*  box-shadow:  3px 3px 7px 0px rgba(0, 0, 0, .3);*/ }
.startbox a { text-decoration: none !important; width: 100%; height: 100%; display: block; margin: 0; padding: 0; }
.startbox a .more-link { text-decoration: underline; margin: 12px 0;}
.startbox a .more-link:hover { color: #999;}

.infobox { padding: 17px 15px 8px 35px; border:1px solid #009346;  background-color: #fff;margin: 0 0 20px 0; -webkit-border-radius:4px; border-radius: 4px;/*-webkit-box-shadow:3px 3px 7px 0px rgba(0, 0, 0, .3);    box-shadow:  3px 3px 7px 0px rgba(0, 0, 0, .3); */ font-size: 1.05em; }
.infobox a { display: block; text-decoration: underline !important; position: relative; padding-left: 25px;}
.infobox a.more-link:before {position: absolute; left: 0; top: 2px; }
.infobox i {font-size: 1.2em; font-style: normal; font-weight: bold; color: #009346;}
.aktionsbox {border-color: #c81818;}
.aktionsbox i { color: #f00;}
.infoboxlink br {content: " "; display: none;}
.archivtitle a.category-aktion {color: #c81818;}

.aktionsbox {border-color: #c81818;}
.aktionsbox i { color: #c81818;}

.infobanner {border-color: #c81818; padding: 14px 17px 0 17px; background: #f0f0f0;}
.infobanner img, .infobanner .rl-image-widget-image { max-width: 35% !important; margin: 0 0 15px 0;}
.infobanner h3 { padding: 0; margin: 0 ; line-height: 1.3em;}

.startbox h3  {  -webkit-border-radius:3px 3px 0 0; border-radius: 3px 3px 0 0; color: #fff !important; background: #009346; padding: 7px 3% ; margin: 0; font-weight: normal; }
.startbox .infotext { position: absolute; bottom: 10px; visibility: hidden; background: #fff; color: #333; padding: 0; width: 100%; font-size: .8em; line-height: 1.5em;}
.startbox img {opacity: 1; margin: 0;-webkit-border-radius:0 0 3px 3px !important ; border-radius: 0 0 3px 3px !important; margin-bottom: -7px; }

.startbox:hover .infotext { display: block; height: auto; overflow: auto; visibility: visible; border: 1px solid #ccc; border-color: #ccc #009346; padding: 15px 3%;z-index: 2;bottom: 15px; border-width: 1px 0; font-size: .8em;  }

#post .startbox:hover img { opacity: .6;  }

/*News, Tags
-------------------------------------------------------------------*/
body.blog .storycontent img.alignright, body.tag .storycontent img.alignright {max-width: 250px !important;}
body.blog .storycontent .more-link, body.tag .storycontent .more-link,  body.tag .storycontent .archivtitle .grey { display: block; text-decoration: underline !important;}

/*Sidebar 
-------------------------------------------------------------------*/
#sidebar section {position:relative; border-radius: 5px;-webkit-border-radius: 5px;  margin-bottom: 20px; -webkit-hyphens: auto;  -moz-hyphens: auto;  -ms-hyphens: auto;  hyphens: auto; }

#sidebar h5 { color:#009346; border: 1px solid #009346; border-width: 1px 0; padding: 5px 0; font-size: 1em; font-style: italic; font-weight: bold;}
#sidebar dt { font-weight: bold;}
#sidebar dd { margin-bottom: 12px;}

/*Footer 
------------------------------------------------------------------------------------*/
#footer .adresse { padding: 25px 0;}
#footer .adresse h5 {}

#footer { padding:30px 0;border-top: 25px solid #009346; background-color: #f5f0e1; }
.footer-navigation li { display: inline-block;  }
.footer-navigation li a {padding: 0 6px; border-left: 1px solid #333;}
.footer-navigation li:first-of-type a { padding-left: 0; border: 0;}

#footer #visitenkarte {padding: 15px 15px 55px 15px; border: 1px dotted #ccc; margin-bottom: 22px; background-color: #fff;-webkit-border-radius:4px; border-radius: 4px; background-image: url(pics/visitenkarte.png); background-position: right bottom; background-repeat: no-repeat; background-size: 65% auto;}
#footer #visitenkarte h5 {margin-bottom: 0 !important; line-height: 1.2em; font-size: 1.25em; font-weight: bold;}
#footer #visitenkarte ul {margin:10px 0 0 0;padding:0; }	
#footer #visitenkarte ul li {margin:0;list-style:none;  width: 95%; float: left; position: relative;margin-left: 4%;} 
#footer #visitenkarte .subbox { width: 100%; float: left;margin-left: 4%;}
#footer #visitenkarte .subbox ul li { width: 95% !important; margin-left: 0; color: #333;}
#footer #visitenkarte ul li:before {color: #009346; content: "• "; display: inline-block; width: .66em;   margin-left: -.66em; font-size: 1.5em; line-height: .33em; position: absolute; top: 10px;}
#footer #visitenkarte .visit_2:before {content: "."; height: 22px; clear: both; visibility: hidden;font-size: 0; display:block;}
#footer #visitenkarte .visit_2 {padding-bottom: 20px; }

.metacontent { text-align: center; padding: 25px 0;}
.metacontent { text-align: center; padding: 25px 0;}

.footer-box { margin-bottom: 25px;}
#footer .footer-box h5 {color:#009346; border: 1px solid #009346; border-width: 1px 0; padding: 5px 0; font-size: 1em; font-weight: bold;}

.footer-logo { margin: 25px auto; max-width:125px; text-align: center; display: block;}
.footer-logo img { max-width: 125px; margin-bottom: 25px;}

/*Ueberschreiben, Editor-Styles, Generelle Definitionen 
------------------------------------------------------------------------------------*/

/*ROT*/
.red, span.red, span.red a, #dekorfarbe-red h3, #dekorfarbe-red h4, #dekorfarbe-red a:hover,  #dekorfarbe-red blockquote:before, #dekorfarbe-red blockquote:after, #dekorfarbe-red #sidebar h5, #dekorfarbe-red .currentcolor, #dekorfarbe-red h2   {color:#e63710;}
.startbox#dekorfarbe-red { border-color: #e63710;}
.startbox#dekorfarbe-red h3 { background-color: #e63710; }

/*GRUEN*/
span.green, span.green a, .green, .currentcolor  {color:#009346;}

/*GELB*/
span.yellow, span.yellow a  {color:#FFED00;}

/*HELLGRUEN*/
span.lightgreen, span.lightgreen a, #dekorfarbe-lightgreen h3, #dekorfarbe-lightgreen h4, #dekorfarbe-lightgreen a:hover,  #dekorfarbe-lightgreen blockquote:before, #dekorfarbe-lightgreen blockquote:after, #dekorfarbe-lightgreen #sidebar h5, #dekorfarbe-lightgreen .currentcolor  {color:#abc507;}
.startbox#dekorfarbe-lightgreen, #dekorfarbe-lightgreen h2 { border-color: #abc507;}
.startbox#dekorfarbe-lightgreen h3 { background-color: #abc507; }

/*BLAU*/
span.blue, span.blue a, #dekorfarbe-blue h3, #dekorfarbe-blue h4, #dekorfarbe-blue a:hover, #dekorfarbe-blue blockquote:before, #dekorfarbe-blue blockquote:after, #dekorfarbe-blue #sidebar h5, #dekorfarbe-blue .currentcolor, #dekorfarbe-blue h2  {color:#004f95;}
.startbox#dekorfarbe-blue { border-color: #004f95;}
.startbox#dekorfarbe-blue h3 { background-color: #004f95; }

/*ORANGE*/
span.orange, span.orange a, #dekorfarbe-orange h3, #dekorfarbe-orange h4, #dekorfarbe-orange a:hover,  #dekorfarbe-orange blockquote:before, #dekorfarbe-orange blockquote:after, #dekorfarbe-orange #sidebar h5, #dekorfarbe-orange .currentcolor, #dekorfarbe-orange  h2  {color:#f39100;}
.startbox#dekorfarbe-orange { border-color: #f39100;}
.startbox#dekorfarbe-orange h3 { background-color: #f39100; }

/*VIOLETT*/
span.violet, span.violet a, #dekorfarbe-violet h3, #dekorfarbe-violet h4, #dekorfarbe-violet a:hover, #dekorfarbe-violet blockquote:before, #dekorfarbe-violet blockquote:after, #dekorfarbe-violet #sidebar h5,  #dekorfarbe-violet .currentcolor, #dekorfarbe-violet h2  {color:#9d1978;}
.startbox#dekorfarbe-violet { border-color: #9d1978;}
.startbox#dekorfarbe-violet h3 { background-color: #9d1978; }

/*ROTBRAUN*/
span.redbrown, span.redbrown a, #dekorfarbe-redbrown h3, #dekorfarbe-redbrown h4, #dekorfarbe-redbrown a:hover, #dekorfarbe-redbrown blockquote:before, #dekorfarbe-redbrown blockquote:after, #dekorfarbe-redbrown #sidebar h5, #dekorfarbe-redbrown .currentcolor, #dekorfarbe-redbrown  h2  {color:#7d1303;}
.startbox#dekorfarbe-redbrown { border-color: #7d1303;}
.startbox#dekorfarbe-redbrown h3 { background-color: #7d1303; }

/*DUNKELROT*/
span.darkred, span.darkred a, #dekorfarbe-darkred h3, #dekorfarbe-darkred h4, #dekorfarbe-darkred a:hover,  #dekorfarbe-darkred blockquote:before, #dekorfarbe-darkred blockquote:after, #dekorfarbe-darkred #sidebar h5, #dekorfarbe-darkred .currentcolor, #dekorfarbe-darkred h2  {color:#c81818;}
.startbox#dekorfarbe-darkred { border-color: #c81818;}
.startbox#dekorfarbe-darkred h3 { background-color: #c81818; }

.strong {font-weight: bold;}
.grey { color: #999;}
.grey a:hover { color: #333 !important;}
.bigger { font-size: 1.15em; line-height: 1.4em;}
.uppercase { text-transform: uppercase;}
.noborder, .wp-smiley	{ border:0 none !important;}
.nowrap {white-space: nowrap;}
.underline { text-decoration: underline !important;}
.border { border: 1px solid #ccc; padding: 0 !important; : 0 !important;display: block;}

/*.Clear*/
.wp-pagenavi:before, .clear, #post:before, #footer #visitenkarte ul:after, .storycontent .auflistung:after, hr:before {content: " "; height: 0; clear: both; visibility: hidden;font-size: 0; display:table;}

/*Buttons*/
.button, .wp-pagenavi a,  input[type="submit"], input[type="button"], input[type="reset"], .wp-pagenavi .current {-webkit-border-radius: 2px;border-radius: 2px;border:1px solid #666;letter-spacing:1px;padding:5px 7px;font-weight:bold;line-height:2.5em; background-color: #e6e6e6; 		border: 1px solid #d2d2d2; 	border-radius: 3px;  /*	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); */}  

.button:hover, input[type="submit"]:hover, .wp-pagenavi a:hover, input[type="button"]:hover, input[type="reset"]:hover	{ border-color: #fbc500;cursor:pointer;color:#000;	background-color: #ebebeb; } 

/*Font Awesome
========================================================*/
.more-link:before, .phone:before, .email:before, .routenplan:before, .telefax:before   {font-family: 'FontAwesome';  color: #333; display: inline-block; font-size: .9em; width: 25px;content: "\f054"; }

.phone:before {content: "\f095";color: #009346;}
.telefax:before {content: "\f1ac";color: #009346;}
.email:before {content: "\f0e0";color: #009346;}
.routenplan:before {content: "\f1b9";color: #009346;}

/*Responsive
-------------------------------------------------------------------------------------------------------*/

@media screen and (max-width:481px) {

    #post { -webkit-hyphens: auto;  -moz-hyphens: auto;  -ms-hyphens: auto;  hyphens: auto; }

}    

@media screen and (min-width:501px) {

    #footer .adresse {  background-size: auto 75%;}
    
    #startboxen {align-items: stretch;display: flex;justify-content: space-between; flex-wrap: wrap; }
    #aktionen {align-items: stretch;display: flex; justify-content: space-between; flex-wrap: wrap; }
    #startboxen .startbox  { width: 48.5%; }
    #aktionen .aktion  { width: 48.5%; text-align: center;}
    .startbox .infotext {max-height: 120px; overflow-y: scroll; overflow-x: hidden; }
    
    #footer #visitenkarte ul li {width: 45%;margin-left: 2%; padding-right: 3%;  } 
    #footer #visitenkarte .subbox { width: 45%;margin-left: 2%; padding-right: 3%;}
    #footer #visitenkarte .subbox_3 { clear: left;}
} 

@media screen and (max-width:499px) {

     .storycontent img.alignleft, .storycontent img.alignright 	{ max-width:100%; float: none; display: block; margin: 10px 0; width: auto;} 
    
}

@media screen and (min-width:650px) {

     #headercontent h1   { width: 25%; float: left; }
    .storycontent  { ;margin-top: -150px;}   
    .home .storycontent {margin-top: 0;}
    #adressen {align-items: stretch;display: flex;flex-direction: row; justify-content: space-around; }
    #adressen .footer-box {  width: 48%;}
   
}

@media screen and (min-width:700px) {
    
    .infobanner img, .infobanner .rl-image-widget-image {  display: inline-block; float: right; margin: 15px 0 15px 5%;}
    
    .storycontent .wp-gallery li { width:25%;}
    
    .ismobile { display: none;}
    .isdesktop {display: block;}

    #footer #visitenkarte {background-size: auto; }
    
    #footer .adresse { display: flex;flex-direction: row; justify-content: space-between;align-items: flex-start;align-content: flex-start;}
    #footer .adresse .footer-box { width: 47%}
}

@media screen and (max-width:998px) {
    
    #mainsearch, .startbox:hover .infotext  {display: none;}
    
}

@media screen and (min-width:999px) {    
    
    body {background-position: center 20px; }
    
    #navi   { position: absolute;  left: 25%; top: 89px; margin-left: -12px; text-transform: uppercase; width: 75%;font-size: .85em;}
    #navi ul { display: block; width: 100%; margin-top: 1px;}
    #navi li {position:relative; display:inline-block;   letter-spacing:normal;    float: left;  border:1px solid transparent; border-width: 1px 0 0 0; margin-right: 2px; }
    #navi #menu-item-83 { position: absolute; right: -12px; text-align: left; top: 1px;}

    #navi  li a { padding:7px  ; }

    #navi .current-menu-item a, #navi .current-menu-ancestor a, #navi .current-page-parent a {color:#ccc  !important; }
    #navi .current-menu-item ul a,#navi .current-menu-ancestor ul a, #navi ul.sub-menu a,#navi .current-page-parent ul a, #navi .current-page-parent ul.sub-menu a { color: #333 !important;}
    #navi ul.sub-menu a:hover, #navi .current-menu-item ul a:hover,#navi .current_page_ancestor ul a:hover,#navi .current-page-parent ul a:hover,#navi .current-page-parent ul a:hover { color: #999 !important;}
    #navi .sub-menu .current-menu-item a {color:#999 !important;cursor:default; }

    #navi .menu-item-has-children a:after { content: "\f078"; padding-left: 10px; font-family: 'FontAwesome'; font-size: .8em;}
    #navi .menu-item-has-children a:hover:after { color:#999;}

    #navi .menu-item-has-children:hover {  background: #fff;}
    #navi .menu-item-has-children a:hover, #navi .menu-item-has-children:hover a { background: #fff;color:#999 !important ; -webkit-border-radius: 3px 3px 0 0;border-radius: 3px 3px 0 0; }
    #navi .menu-item-has-children .sub-menu a:after {content: ""; }

    #navi li ul.sub-menu {  position:absolute;   top:22px;   text-align: left; height: 0; overflow: hidden; visibility: hidden; opacity: 0;   background: #fff; text-transform: none; border: 1px solid #009346; border-top: 0; }
    #navi li:hover ul.sub-menu { height: auto;  visibility: visible; opacity: 1;  -webkit-border-radius: 0 0 3px 3px;border-radius:  0 0 3px 3px; left: -1px; -webkit-box-shadow: 5px 5px 12px -6pxrgba(0,0,0,.15); box-shadow: 5px 5px 12px -6px rgba(0,0,0,.15); min-width: 110%; width: auto; top: 33px; padding-top: 7px; }

    #navi .sub-menu	li  {border:0; float:none;font-size: .8em !important; margin: 0;  display: block; height: auto;  line-height: 1.4em; white-space: nowrap; }
    #navi .sub-menu	li:last-child   {-webkit-border-radius: 0 0 5px 5px;border-radius: 0 0 5px 5px; border-bottom: 0;}

    #navi .menu-item-has-children:hover ul.sub-menu a { color: #333 !important  ;}
    #navi .menu-item-has-children:hover ul.sub-menu a:hover {color: #999  !important ;}

    #navi .menu_item_has_children .sub-menu a {height: auto;}

    h2 { font-size: 2.3em;}
    h2.aktionstitle { font-size: 1.8em;}
    h3 { font-size: 1.6em; }
    
    #header {border-width: 0 0 38px 0; height: 127px; z-index: 3;}
    headersearch  input { min-width: 300px;right: -3%;}
    #headercontent h1 {margin-top: 20px; width: 21%;max-width: 175px;border: 5px solid #fff; border-width: 0 5px 5px 5px;z-index: 9999; background:#FFF;  }
    #headercontent h1 img {display: block;}
    
    .infobanner img, .infobanner .rl-image-widget-image {max-width: 45% !important; }
     #startbanner {align-items: stretch;display: flex;flex-direction: row; justify-content: space-between; }
     #startbanner .infobox {width: 48.5%;}
    
    .infobox { margin-left: 23%;}
    body.has-panormabild .infobox {margin-left: auto; margin-right: auto; max-width: 850px; }
    body.home .infobox { margin-left: 0%; margin-right: 0;}
    
    .headersearch { top:15px; right: 0; }
    
    #post:before {content: "."; height: 0; clear: both; visibility: hidden;font-size: 0; display:block;}
    
    body.has-panormabild #post { z-index: 2;}
    .startbox .infotext { font-size: 1em; line-height: 1.5em;max-height: 5000px; overflow:  hidden; } 
        
    .storycontent  { margin-top: -75px; }
    body.has-panormabild .storycontent  {margin-top: 25px; }
    body.has-panormabild #header { position: absolute;} 
    body.has-panormabild #home_teaser { padding-top: 127px;}
    #home_teaser .page-title { position: absolute; z-index: 2; top: 170px; width: auto !important;  right: 25px; text-align: right; color:#009346;max-width: 100%; ; display: block;}
    
    #footer #visitenkarte .subbox_3 { clear: none;}
    #footer #visitenkarte ul li, #footer #visitenkarte .subbox {width: 30%; }
     #footer #visitenkarte .subbox_4 { clear: left;}
    .storycontent .wp-gallery li { width:20%;}
    
}

@media screen and (min-width:1200px) { 

    #navi { font-size: 1.01em;}
    #navi  li a { padding:7px 10px  ; }
    
    .startbox:hover .infotext  { font-size: .95em;}
    #footer #visitenkarte ul li, #footer #visitenkarte .subbox {width: 23%; } 
    #footer #visitenkarte .subbox_4 { clear: none;}
    #footer .adresse .footer-box { width: 31%; }   
    
}

@media screen and (min-width:1100px) { 
    
      #navi { font-size: 1.2em; width: 80%;  left: 20%;}
    
}