/******************************************************************
Theme Name: mehne.biz 2015 Responsive
Theme URI: http://www.mehne.biz
Description: 
Author: Kai Meinhardt - Koeln
Author URI: http://www.mehne.biz
Thanks to Mario Röhreich (http://www.style-your-web.de) for his work on wich this template is based.
Version: 1.1
Tags: fluid-layout, responsive-layout, accessibility-ready, translation-ready, microformats, rtl-language-support

******************************************************************/
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #58585A;
}

a, a:visited {color:#17A3B0; text-decoration: none;}
a:hover, a:focus, a:visited:hover, a:visited:focus {text-decoration: none;}
a:link, a:visited:link {color:#17A3B0;}
.clear{clear: both;}
.clearfix{clear:both;height:0;line-height:0;}
hr{clear: both;margin: 20px 0;border: 0; border-top: 1px solid #eee; border-bottom: 1px solid #fcfcfc;}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{ }
h1{ }
h2{font-size: 1em; margin: 0.5em 0;text-transform: uppercase;color:#17A3B0;line-height:0.9em;}
h3{font-size: 1em; margin: 0.5em 0;color:#17A3B0;}
h4{font-size: 1em; margin: 0.5em 0;}
h5{font-size: 0.9em; margin: 0.5em 0;}
h6{font-size: 0.8em; margin: 0.5em 0;}

p {margin-top: 0; margin-bottom: .7em;}

#inner-header, .inner-header{position: relative; width: 100%; max-width: 920px; margin: auto;}
#inner-content{position: relative; width: 100%; max-width: 920px; margin: auto;padding: 3em 0;}
#inner-footer{position: relative; width: 100%; max-width: 920px; margin: auto;line-height: 1.5em; padding-top: 1.5em;padding-bottom:1.5em;}

@media (max-width: 820px) {
    #inner-header, .inner-header{}
    #inner-content{padding: 3em 1em;}
    #inner-footer{}
}

/* ===== HEADER ===== */


#header{ 
    /*height: 100px;*/
    position: relative; /*wegen mobilem menü */
}


#logo{position: relative; z-index: 99995; float: right; top: 25px; width: 100%; max-width: 210px; }
#logo img{ display: block; float: right; width: 210px; max-width: 100%; height: auto;}

.beiuns { 
    color: #17A3B0; 
    font-family: 'Orbitron', sans-serif; 
    font-weight: 500; 
    font-size: 12px;
    letter-spacing: 1px;
    position: relative;
    top: 60px; 
}

@media (max-width: 380px) {
.beiuns { 
    position: absolute;
    top: 2%; 
    left: 2%;
}
}

.blauerbalken { 
    width: 100%; 
    height: 30px; 
    background-color: #17A3B0;
    position: relative;
    top: -65px; 
}

.inner-header {
    position: relative;
    top: -62px;  
}

/* ----- Menue ----- */

#header .menu {
    width: 100%;
    margin: auto;
    height: 1em;
    white-space: nowrap;
    font-size: 0px;
}

#header .main-menu {
   
}
    
#header .menu li {
	position: relative; /* wegen untermenu */
    display: inline-block;
    text-align: center;
}

#header .menu a {
    display: block;
    height: 100%;
    line-height: 1.7em; /* 1px mehr als höhe der navi */
    margin-top: .2em;
    text-decoration: none;
    font-size: 16px;
    color: #58585A;
    font-weight: 600;
    border-bottom: 2px solid #fff;
    margin-right: 1em;
}

#header .menu li:hover a {
    border-bottom-color: #17A3B0;
}

#header .menu .current_page_item a, 
#header .menu .current_page_parent a {
    border-bottom-color: #17A3B0;
}


#header .menu .children,
#header .menu .sub-menu {
	display:none; /* ausgeblendet für jquery effekt */
	position: absolute;   
    z-index: 500;
    /* ggf. width: 100%; */
    padding-top: 0px;
    background-color: #ffffff;
    left: 10px;
}

#header .menu .children li,
#header .menu .sub-menu li {
	display:list-item; /* den inline-block resettet */
    border-bottom: 0;
    float: none;
    padding: 0px 13px;
    color: #17A3B0;
    text-align: left;
}

/* Hier die hover/currentpage - Effekte überschreiben */
#header .menu .children li a, 
#header .menu .current_page_item .children li a,
#header .menu .sub-menu li a, 
#header .menu .current_page_item .sub-menu li a{
    background-color: transparent;
    color: initial;
}

/* Hier die hover/currentpage - Effekte für Untermenüs */   
#header .menu .children li a:hover, 
#header .menu .children li.current_page_item a,
#header .menu .sub-menu li a:hover, 
#header .menu .sub-menu li.current_page_item a{
	background-color: #17A3B0;
    color: #ffffff;
}


/* MOBILES MENÜ */
#klappmenu {
    /* in der normalen ansicht ausblenden */
    display: none;   
}

#klappmenu img {
    cursor: pointer;
}

.mobile-menu {
    /*
    in der normalen ansicht ausblenden
    in der mobilen wird es dann per jquery eingeblendet
    */
    display: none;
}

@media (max-width: 820px) {
    #klappmenu {
        /* in der mobilen ansicht eingeblendet */
        display: block; 
        width: 100%;
        line-height: 50px;
        height: 41px;
        margin-top: .5em;
    }
    
    #klappmenu img {
        position: relative;
        float: left;
        margin-left: 1em;
    }
    
    #header .main-menu {
        /* in der mobilen ansicht ausblenden */
        display: none;
    }
    
    #header .menu.mobile-menu {
    /* in der mobilen per jquery eingeblendet */
        position: absolute;
        z-index: 1000;
        width: 100%;
        min-height: 100%;
        height: auto;
        background: #ffffff;
        left: 0;
    }

    /* Untermenüs in mobiler Version statisch anzeigen */
    #header .menu.mobile-menu .children, 
    #header .menu.mobile-menu .sub-menu {
        display: block;
        position: relative;
    }
    
    #header .menu.mobile-menu li {
        float: none;
        cursor: pointer;
        border-right: 0px;
        display: list-item;
    }


    #header .mobile-menu a {
        line-height: 1em;
        text-decoration: none;
        padding: 10px 31px 12px 31px;
        display: block;
    }
}

/* ----- Ende Menue ----- */
/* ===== ENDE HEADER ===== */

/* ===== CONTENT ===== */
/* ----- Slider ----- */
#slider {
    width: 100%;
    margin: auto;
}
/* ----- Ende Slider ----- */

img.attachment-full.wp-post-image{max-width:100%;height:auto;}


.entry-content ul{list-style-type: none; padding-left: 30px;}
.entry-content ul li:before{ content:"-"; position:relative; left:-5px;}
.entry-content ul li{ text-indent:-5px; }
.entry-content ol{list-style: decimal; padding-left: 30px;}
.entry-content .thumbnail  {margin-bottom: 1em;}
.entry-content .thumbnail img {margin: 0;width:100%;}
.entry-content .thumbnail span {font-size: 16px;display: inline-block; width:100%;text-align: right;}
.entry-content td, .entry-content th { border: 1px solid #17A3B0; }

.kontaktform {
    border: 1px solid rgb(197,12,31);
    height: auto;
    padding: 1%;
}

.kontaktform tr:nth-child(even) {
    background-color: transparent;
}

.kontaktform td, .kontaktform tr, .kontaktform table {
    border: none;
}

input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], select, textarea, .field {
    box-shadow: none;
    border: 1px solid #17A3B0;
}

input[type="submit"] {
    background-color: #eaedf2;
    border: 1px solid #17A3B0;
}

.gmap-wrap {
    position: relative;
    height: 300px; /* wichtig die höhe von der map! */
}

.gmap-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/* Extra Menü */
#menu-therapien li a {
    color: #58585A;
font-weight:bold;
    line-height: 2em;
}

#menu-therapien li a:hover {
    color: #17A3B0;
}

/*team-seite */

.page-id-10 .entry-content div.m-all {
    margin-bottom: 1em;
}

/* GALERIE */

.gallery-columns-4 .gallery-item {
    float: left;
    width: 22%;
    max-width: 202px;
    margin-right: 4%;
}

.gallery-columns-4 .gallery-item:nth-of-type(4n+4) {
    margin-right: 0;
}

@media (max-width: 820px) {
    br {
        clear: none !important;    
    }
    
    .gallery-columns-4 .gallery-item {
        width: 32%;
        margin-right: 2%;
    }
    .gallery-columns-4 .gallery-item:nth-of-type(4n+4) {
        margin-right: 2%;
    }
    
    .gallery-columns-4 .gallery-item:nth-of-type(3n+3) {
        margin-right: 0;
    }
    
    
}

@media (max-width: 480px) {
    br {
        clear: inherit;    
    }
    
    .gallery-columns-4 .gallery-item {
        width: 49%;
        margin-right: 2%;
    }
    .gallery-columns-4 .gallery-item:nth-of-type(4n+4),
    .gallery-columns-4 .gallery-item:nth-of-type(3n+3) {
        margin-right: 2%;
    }
    
    .gallery-columns-4 .gallery-item:nth-of-type(2n+2) {
        margin-right: 0;
    }
}

@media (max-width: 320px) {
    br {
        clear: inherit;    
    }
    
    .gallery-columns-4 .gallery-item {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        text-align: center;
    }
    .gallery-columns-4 .gallery-item:nth-of-type(4n+4),
    .gallery-columns-4 .gallery-item:nth-of-type(3n+3),
    .gallery-columns-4 .gallery-item:nth-of-type(2n+2) {
        margin-right: 0;
    }
}

/* ===== ENDE CONTENT ===== */

/* ===== FOOTER ===== */
.footer {
    background-color: #EDAD7A; 
    color:#58585A;    
    line-height: 2.3em;
    font-size: 16px;
    font-weight: 500; 
}

.footer a{color:#58585A;}

@media (max-width: 960px) {
    #inner-footer {
        padding-left: 1%;
        padding-right: 1%;
    }
}
/* ===== ENDE FOOTER ===== */



@media (max-width: 820px) {
    .gmap-wrap {width: 100%; margin-bottom:2em;}

}


/*Korrekturen*/
.d-1of3, t-1of3 {
	margin-right: 3%;
	width: 30.33333333%;
}