/*
Theme Name: Kamillen Apotheke 1.11
Date: September 2025
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;-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, tr, td, cite, input, select, textarea,  #navi ul.sub-menu {color:#333; font-family:'RobotoCondensedRegular', 'Arial Narrow', Helvetica, Arial, sans-serif;}
body {text-align:center;  font-size:15px;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;}

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; } 
.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;}

#header, #content, #footer {position:relative;width:100%;text-align:center; margin: 0; }
#headercontent, #post, #footercontent {position:relative;width:94%;margin:0 auto; min-width:260px;max-width:1100px; text-align:left; font-size: 1.1em; line-height: 1.6em; }	

.isdesktop { display: none;}

/*Navigation 
------------------------------------------------------------------------------------*/

#header {border: 25px solid #009346; border-width: 0 0 0 0; }

h1 {position:relative;   width: 25%;  z-index: 2; margin-top: 15px;}
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;}

.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);  }

/*Content 
------------------------------------------------------------------------------------*/
#post {padding:0 0 20px 0; }

h2 { color: #999;}
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 { 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;}

/*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"], .frm_radio  { 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;} 

.frm_top_container { margin-bottom: 10px;}
.frm_error { font-size: .9em; color: #999; }
.frm_error, .frm_error_style, .frm_required, .frm_message {  color: #c00; line-height: 1.2em; padding: 0;}
.frm_required, form .red   { font-weight: bold; padding-left: 2px; font-size: 1.3em;}
.frm_blank_field input, .frm_blank_field select,.frm_blank_field textarea { border: 1px solid #c00;}
.frm_message { font-size: 1.1em; font-weight: bold;  padding: 3px 0; border-bottom: 2px solid #c00;}
.frm_message span   { display: block; font-size: .85em; color: #333; font-weight: normal;}
.frm_hidden { display: none;}
.frm_form_field label { display: block; margin: 0 0 5px 0;}
.frm_form_field input, .frm_form_field select, .frm_form_field textarea { margin-bottom:2px;}
.frm_ajax_loading {visibility:hidden;	width:auto;}
.frm_ajax_loading.frm_loading_now {visibility:visible !important;}
.frm_radio label  {width: auto !important; display: inline;}
.frm_radio input { width: 15px}

/*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-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
-------------------------------------------------------------------*/

.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.1em; font-style: normal; font-weight: bold; color: #009346;}
.aktionsbox {border-color: #c81818;}
.aktionsbox i { color: #c81818;}
.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;  }

#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;}

.page-id-8 #sidebar section.adresse { display:none;}

/*Footer 
------------------------------------------------------------------------------------*/
#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 .adresse { padding-bottom: 10px; margin-bottom: 7px; background-image: url(pics/logo.png); background-position: right top; background-repeat: no-repeat; background-size:15% auto;}

#footer #visitenkarte {padding: 15px 15px 55px 15px; border: 1px dotted #ccc; margin-bottom: 22px;color:#009346; 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;}
#footer #visitenkarte ul li:before {color: #abc507; 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; }

/*Ueberschreiben, Editor-Styles, Generelle Definitionen 
------------------------------------------------------------------------------------*/

/*ROT*/
.red, span.red, span.red a, #dekorfarbe-red h3, #dekorfarbe-red h4, #dekorfarbe-red a:hover, #dekorfarbe-red .phone:before, #dekorfarbe-red .email:before, #dekorfarbe-red .routenplan:before, #dekorfarbe-red blockquote:before, #dekorfarbe-red blockquote:after, #dekorfarbe-red #sidebar h5, #dekorfarbe-red .currentcolor   {color:#e63710;}
#dekorfarbe-red #footer, #dekorfarbe-red #header, #dekorfarbe-red #sidebar h5,  #dekorfarbe-red #navi li ul.sub-menu, .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 .phone:before, #dekorfarbe-lightgreen .email:before, #dekorfarbe-lightgreen .routenplan:before, #dekorfarbe-lightgreen blockquote:before, #dekorfarbe-lightgreen blockquote:after, #dekorfarbe-lightgreen #sidebar h5, #dekorfarbe-lightgreen .currentcolor  {color:#abc507;}
#dekorfarbe-lightgreen #footer, #dekorfarbe-lightgreen #header, #dekorfarbe-lightgreen #sidebar h5,  #dekorfarbe-lightgreen #navi li ul.sub-menu, .startbox#dekorfarbe-lightgreen { 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 .phone:before, #dekorfarbe-blue .email:before, #dekorfarbe-blue .routenplan:before, #dekorfarbe-blue blockquote:before, #dekorfarbe-blue blockquote:after, #dekorfarbe-blue #sidebar h5, #dekorfarbe-blue .currentcolor  {color:#004f95;}
#dekorfarbe-blue #footer, #dekorfarbe-blue #header, #dekorfarbe-blue #sidebar h5,  #dekorfarbe-blue #navi li ul.sub-menu, .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 .phone:before, #dekorfarbe-orange .email:before, #dekorfarbe-orange .routenplan:before, #dekorfarbe-orange blockquote:before, #dekorfarbe-orange blockquote:after, #dekorfarbe-orange #sidebar h5, #dekorfarbe-orange .currentcolor  {color:#f39100;}
#dekorfarbe-orange #footer, #dekorfarbe-orange #header, #dekorfarbe-orange #sidebar h5,  #dekorfarbe-orange #navi li ul.sub-menu, .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 .phone:before, #dekorfarbe-violet .email:before, #dekorfarbe-violet .routenplan:before, #dekorfarbe-violet blockquote:before, #dekorfarbe-violet blockquote:after, #dekorfarbe-violet #sidebar h5,  #dekorfarbe-violet .currentcolor  {color:#9d1978;}
#dekorfarbe-violet #footer, #dekorfarbe-violet #header, #dekorfarbe-violet #sidebar h5,  #dekorfarbe-violet #navi li ul.sub-menu, .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 .phone:before, #dekorfarbe-redbrown .email:before, #dekorfarbe-redbrown .routenplan:before, #dekorfarbe-redbrown blockquote:before, #dekorfarbe-redbrown blockquote:after, #dekorfarbe-redbrown #sidebar h5, #dekorfarbe-redbrown .currentcolor  {color:#7d1303;}
#dekorfarbe-redbrown #footer, #dekorfarbe-redbrown #header, #dekorfarbe-redbrown #sidebar h5,  #dekorfarbe-redbrown #navi li ul.sub-menu, .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 .phone:before, #dekorfarbe-darkred .email:before, #dekorfarbe-darkred .routenplan:before, #dekorfarbe-darkred blockquote:before, #dekorfarbe-darkred blockquote:after, #dekorfarbe-darkred #sidebar h5, #dekorfarbe-darkred .currentcolor  {color:#c81818;}
#dekorfarbe-darkred #footer, #dekorfarbe-darkred #header, #dekorfarbe-darkred #sidebar h5,  #dekorfarbe-darkred #navi li ul.sub-menu, .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;}
.shadow {box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);}

/*.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; 	background-repeat: repeat-x; 	background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6); 	background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6); 	background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6); 	background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6); 	background-image: linear-gradient(top, #f4f4f4, #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; 	background-repeat: repeat-x;	background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb); 	background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb); 	background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb); 	background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb); 	background-image: linear-gradient(top, #f9f9f9, #ebebeb);} 

/*Gutenberg*/
.wp-block-video, .wp-block-column, video { padding: 0;}

/*Font Awesome
========================================================*/
.more-link:before, .phone:before, .email:before, .routenplan:before   {font-family: 'FontAwesome';  color: #333; display: inline-block; font-size: .9em; width: 25px;content: "\f054"; }

.phone:before {content: "\f095";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%;}
    
    .startbox { width: 48.5%; margin-right: 3%; min-width: 200px;   }
    .startbox:nth-of-type(2n+2) { margin-right: 0;}
    .startbox .infotext {max-height: 130px; 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) {

    #sidebar, h1   { width: 25%; float: left; }
    .storycontent  { width: 68%; float: right;margin-top: -150px;}   
   
}

@media screen and (min-width:700px) {
    
    .infobanner img, .infobanner .rl-image-widget-image {  display: inline-block; float: right; margin: 15px 0 15px 5%;}
   
    .frm_form_field { clear: left;}    
    .frm_primary_label { float: left; width: 150px;}
    .frm_submit input, .frm_description, .frm_error, .frm_forms p, .frm_opt_container  { margin-left: 150px;}   
    
    .storycontent .wp-gallery li { width:25%;}
    
    .ismobile { display: none;}
    .isdesktop {display: block;}

    #footer #visitenkarte {background-size: auto; }
}

@media screen and (min-width:999px) {    
    
    body {background-position: center 20px; }
    
    h2 { font-size: 2.3em;}
    h3 { font-size: 1.6em; }
    
    #header {border-width: 0 0 38px 0; height: 127px; z-index: 3; }
    .headersearch  input { min-width: 300px;right: -3%;}
    h1 { margin-top: 20px;}
    
    .infobanner img, .infobanner .rl-image-widget-image {max-width: 45% !important; }
    
    #navi   { position: absolute;  left: 20%; top: 89px; margin-left: -12px; text-transform: uppercase; width: 80%;font-size: 1.05em;}
    #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;}
    
    .headersearch { top:15px; right: 0; }
    
    #post:before {content: "."; height: 0; clear: both; visibility: hidden;font-size: 0; display:block;}
    
   /* .page-template-page-startseite-php #background-container {background-color: #f5f2e8; background-repeat: no-repeat; background-size: cover; background-position: center center; opacity: .28; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; }*/
    .page-template-page-startseite-php #post { z-index: 2;}
    .startbox {min-width: 150px; width: 48.5%; margin-right: 3%;  }
    .startbox .infotext { font-size: 1em; line-height: 1.5em;max-height: 5000px; overflow:  hidden; } 
        
     #sidebar, h1   { width: 16%; }
    .storycontent  { width: 80%; margin-top: -75px; }
    
    #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.2em;}
    #navi  li a { padding:7px 10px  ; }
    #footer #visitenkarte ul li, #footer #visitenkarte .subbox {width: 23%; } 
     #footer #visitenkarte .subbox_4 { clear: none;}
    
}
