/* ---------------------------------------------------------
   Correct `block` display not defined for any HTML5 element in IE 8/9.
   Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
   Correct `block` display not defined for `main` in IE 11.
   ---------------------------------------------------------*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/* ---------------------------------------------------------
   Content Styles
   ---------------------------------------------------------*/

/* --- allgemeine Links --- */
:link { 
    color: #0645ad; 
    text-decoration: none;
}
:visited { color: #0645ad; }
:link:hover, :visited:hover { 
    color: #0645ad; 
    text-decoration: underline;
}
:link:active, :link:active { color: #0645ad; }

/* --- Ãœberschriften im Artikel --- */
h1, h2, h3, h4, h5, h6 {
    margin: 1em 0 0.2em 0;
    border-bottom: 1px solid #ccc;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    padding-bottom: 0.17em;
    }

h1 { font-size: 160%; font-weight: normal; }
h2 { font-size: 150%; font-weight: normal; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }
h5 { font-size: 90%; }
h6 { font-size: 90%; border: 0; }

/* --- Linien unter Ãœberschriften im Artikel --- */
hr {
    height: 1px;
    background-color: #000;
    color: #000;
    margin: 2em 0;
}

/* --- Inhaltsverzeichnis im Artikel --- */
#toc {
    /*border:1px solid #2f6fab;*/
    border:1px solid #cccccc;
    background-color: #FAFAFA;
    padding:5px;
	margin-top: 15px;
    font-size: 1.1em;
    border-radius: 4px;
}

#toc .tocindent { margin-left: 2em; }
#toc .tocline { margin-bottom: 0px; }
#toc p { margin: 0 }
#toc .toctoggle { font-size: 94%; }
#toc .editsection {
    margin-top: 0.7em;
    font-size: 94%;
}

#toc ul { 
    list-style-type: none;
    padding-left: 0.5em;
}

.toclevel-2{
    padding-left: 1em;
}

.toclevel-3{
    padding-left: 1.5em;
}

.toclevel-4{
    padding-left: 2em;
}

/* --- Allgemeines Float z.B. Infoboxen--- */
.float-left {
    float: left;
    padding: 5px;
}

.float-right {
    float: right;
    padding: 5px;
}


/* --- Bilder - Images --- */
div.floatright, table.floatright {
    clear: right;
    float: right;
    position: relative;
    margin: 0 0 0.5em 0.5em;
    border: 0
/*
    border: 0.5em solid White;
    border-width: 0.5em 0 0.8em 1.4em;
*/
}
div.floatright p { font-style: italic; }
div.floatleft, table.floatleft {
    float: left;
    position: relative;
    margin: 0 0.5em 0.5em 0;
    border: 0
/*
    margin: 0.3em 0.5em 0.5em 0;
    border: 0.5em solid White;
    border-width: 0.5em 1.4em 0.8em 0;
*/
}
div.floatleft p { font-style: italic; }



/* ---------------------------------------------------------
    3.5. Wikitable
   --------------------------------------------------------- */
table.wikitable {	
    background-color: #f3f3f3;
    border: 1px solid #cccccc;
    margin: 1em 0;
	border-radius: 4px;
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
    text-align: center;
	
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    padding: 0.2em 0.4em;
}

/* Aufzählungen in Tabelle linksbündiger */
table.wikitable ul {
    margin-left: -20px;
}





/* --- Bilder - Thumbnails --- */
a img {
    border: 0;
}

.thumbimage {
    max-width: 100%;
}

div.thumb {
    margin-bottom: 0.5em;
    border-style: solid; border-color: White;
    width: auto;
    max-width: 100%;

}
div.thumb div {
    border:1px solid #cccccc;
    padding: 3px !important;
    background-color:#FAFAFA;
    font-size: 94%;
    text-align: center;
    overflow: hidden;
    border-radius: 4px;
    /* box-shadow: 0 1px 3px rgba(0,0,0, 0.3); */
    max-width: 100%;
}
div.thumb div a img {
    border:1px solid #cccccc;
}
div.thumb div div.thumbcaption {
    border: none;
    text-align: left;
    line-height: 1.4em;
    padding: 0.3em 0 0.1em 0;
}
div.magnify {
    float: right;
    border: none !important;
    background: none !important;
}
div.magnify a, div.magnify img {
    display: block;
    border: none !important;
    background: none !important;
}
div.tright {
    clear: right;
    float: right;
    /* border-width: 0.5em 0 0.8em 1.4em; Rahmenbreite um Bild veraltet*/
}
div.tleft {
    float: left;
    margin-right:0.5em;
    /* border-width: 0.5em 1.4em 0.8em 0; Rahmenbreite um Bild veraltet*/
}
.urlexpansion,
.hiddenStructure {
    display: none;
}
img.tex { vertical-align: middle; }
span.texhtml { font-family: serif; }

/* --- iframe für Youtube-Videos --- */
.embed-container {
  position: relative; 
  padding-bottom: 56.25%; /* ratio 16x9 */
  height: 0; 
  overflow: hidden; 
  width: 100%;
  height: auto;
}
.embed-container iframe {

  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
}

/* --- Hausmittel Button --- */
button.cupid-green {
  background-color: #7fbf4d;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7fbf4d), color-stop(100%, #63a62f));
  background-image: -webkit-linear-gradient(top, #7fbf4d, #63a62f);
  background-image: -moz-linear-gradient(top, #7fbf4d, #63a62f);
  background-image: -ms-linear-gradient(top, #7fbf4d, #63a62f);
  background-image: -o-linear-gradient(top, #7fbf4d, #63a62f);
  background-image: linear-gradient(top, #7fbf4d, #63a62f);
  border: 1px solid #63a62f;
  border-bottom: 1px solid #5b992b;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: inset 0 1px 0 0 #96ca6d;
  -moz-box-shadow: inset 0 1px 0 0 #96ca6d;
  box-shadow: inset 0 1px 0 0 #96ca6d;
  color: #fff;
  font: bold 18px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
  line-height: 1;
  padding: 7px 0 8px 0;
  text-align: center;
  text-shadow: 0 -1px 0 #4c9021;
  width: 150px; }
  button.cupid-green:hover {
    background-color: #76b347;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #76b347), color-stop(100%, #5e9e2e));
    background-image: -webkit-linear-gradient(top, #76b347, #5e9e2e);
    background-image: -moz-linear-gradient(top, #76b347, #5e9e2e);
    background-image: -ms-linear-gradient(top, #76b347, #5e9e2e);
    background-image: -o-linear-gradient(top, #76b347, #5e9e2e);
    background-image: linear-gradient(top, #76b347, #5e9e2e);
    -webkit-box-shadow: inset 0 1px 0 0 #8dbf67;
    -moz-box-shadow: inset 0 1px 0 0 #8dbf67;
    box-shadow: inset 0 1px 0 0 #8dbf67;
    cursor: pointer; }
  button.cupid-green:active {
    border: 1px solid #5b992b;
    border-bottom: 1px solid #538c27;
    -webkit-box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
    -moz-box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee; }

/* --- Medikamentensuche - Apotheke --- */
#medi_link {
    font-size: 1.2em;
}

#apo_oben_thema {
    font-family: verdana,sans-serif;
    font-size: 24px;
    float: right;
	margin: 10px;
	width: 280px; /* alt 336px */
	line-height: 1.3em;
}

#medpex_widgets
{
    border-left: 2px solid #fff;
    background-color: #F1F1F1;
    height: 95px;
    width: 583px;
    border-radius: 5px;

}
#medpex_search_headline
{
 padding-top: 8px;
}
    
.medpex_search
{
    color: #333;
    font-size: 18px;
    margin-left: 13px;
}
    
.medpex_search input[type="text"]
{
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    moz-border-bottom-right-radius: 0;
    moz-border-top-right-radius: 0;
    padding: 8px 4px 7px 6px;
    webkit-border-bottom-right-radius: 0;
    webkit-border-top-right-radius: 0;
    width: 500px;
}
    
.medpex_search input[type="text"]:focus
{
/*
    border-color: #333;
    
    box-shadow: inset 0 0 1px rgba(197,38,1,0.7),0 0 2px rgba(197,38,1,0.8);
    moz-box-shadow: inset 0 0 1px rgba(197,38,1,0.7),0 0 2px rgba(197,38,1,0.8);
    webkit-box-shadow: inset 0 0 1px rgba(197,38,1,0.7),0 0 2px rgba(197,38,1,0.8);
    
    outline: 0;
    
*/  

}

input[type="text"] 
{
    background-color: #fff;
    border: 1px solid #abadb3;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}
    
.medpex_search .go
{

    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin: 0;
    padding: 8px 0 7px;
    width: 44px;

}
    
.medpex_defaultbutton
{

    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    
    overflow: visible;
    padding: 5px 10px;
    webkit-border-radius: 4px;
    moz-border-radius: 4px;
    border-radius: 4px;
    
    background-color: #f1f1f1;
    background-image: linear-gradient(to bottom,#f1f1f1,#ddd);
    background-image: -moz-linear-gradient(top,#f1f1f1,#ddd);
    background-image: -ms-linear-gradient(top,#f1f1f1,#ddd);
    background-image: -o-linear-gradient(top,#f1f1f1,#ddd);
    background-image: -webkit-linear-gradient(top,#f1f1f1,#ddd);
    color: #333;

}
    
.medpex_defaultbutton:hover
{
    background-color: #ececec;
    background-image: linear-gradient(to bottom,#ececec,#d1d0d0);
    background-image: -moz-linear-gradient(top,#ececec,#d1d0d0);
    background-image: -ms-linear-gradient(top,#ececec,#d1d0d0);
    background-image: -o-linear-gradient(top,#ececec,#d1d0d0);
    background-image: -webkit-linear-gradient(top,#ececec,#d1d0d0);
    border: 0 0 0 0px solid #dfdfdf;
    text-decoration: none;
}

.go
{

    border: 1px solid #abadb3;
    display: inline-block;
    font-weight: 700;
    margin: 0 0 0 2px;
    padding: 5px 4px;

}

/* ---------------------------------------------------------
   HTML Structure Styles
   ---------------------------------------------------------*/

/* --- Body --- */
body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    background-color: #e9eaed;
    background-image: url("../img/noise.png");
    background-position: left top;
    background-repeat: repeat;
    padding: 0;
    margin: 0;
}

/* --- Header --- */
header {
    position: relative;
    /*background: url("../img/intro-background.jpg") no-repeat scroll center top / cover #FFF; *//* Original: #4285f4; */
    /* bottom: 80px; */
    height: 11em;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    /* transform: translate3d(0px, 0px, 0px); */
}

/* --- Logo --- */
#intro-logo {
    padding-top: 2em;
    padding-left: 1.25em;
}

#intro-logo img {
    max-width: 100%;
}

/* --- Navigation Sky Mega Menu --- */
nav {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 1); /* Original: none repeat scroll 0 0 rgba(255, 255, 255, 0.9); */
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2); /* 0 0 8px rgba(0, 0, 0, 0.5); */
    left: 0;
    top: 0;
    width: 100%;
}

nav :link:hover, :visited:hover { 
    text-decoration: none;
}

.sticky is_stuck {
        z-index: 6;
}

/* Ummantelung, nur Style */
#wrapper {
    max-width: 1200px;
    margin: 1em auto;
 }

/* --- Hauptbereich main --- */
main {
    float: left;
    width:70%;
}

/* --- Artikel --- */
article {
    font-size: 1.1em; /* alt 1.08em */
    line-height: 1.7em; /* alt 1.5em*/
	color: #444;

    margin-left: 0.25em; 
    margin-right: 0.5em;

    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-bottom: 1.5em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #fff;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
}

/* --- Medizinische QualitÃ¤tssicherung von Dr. med. Nonnenmacher --- */
#qualitaetssicherung { /* veraltet: oben heisst das div nun "author", wird nur noch fÃ¼r quellen verwendet */
    color: #000;
    font-size: 0.75em;
}

#author {
	color: #000;
    font-size: 0.75em;
	margin-top: -23px;
	line-height: 2.5em;
	margin-bottom: 60px;
	/* padding-bottom: 1px; */ /* 30px */
	
    /*
	color: #000;
    font-size: 0.75em;
	margin-top: -20px; 
	line-height: 1.8em; 
	*/
}

/* --- Breadcrumb Navigation --- */
ol.breadcrumb {
  list-style: none;
  margin-top: 0px;
}
	
ol.breadcrumb li {
	display: inline; /* setzt Elemente hintereinander, statt untereinander */
}

/* --- AdSense oben rechts im Artikel --- */
#adsense-oben {
    float: right;
    margin-top: 1em;
    margin-left: 0.5em;
    margin-bottom: 0em;
}

/* --- Social like Buttons unter dem Content Facebook, Twitter, Google+ --- */
.socialbuttons {
    float:left;
    margin-right: 10px;
}

div.socialicons {
    float:left;
    display:block;
    margin-right: 10px;
}

div.socialicons p {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

/* --- Kategorie der Seite unten --- */
#catlinks {
    background-color: #f9f9f9;
    border: 1px solid #aaaaaa;
    clear: both;
    margin-top: 1em;
    padding: 3px 5px;
    border-radius: 4px;
}

/* --- Seitenbereich mit Arzt und Amazon-Werbung --- */
aside {
    float: left;
    width: 25%;
}

#arzt-bild {
    background-image: url("../img/arzt.jpg");
    width:300px;
    height:350px; /* alt 300px */
    background-repeat: no-repeat;
    /*
    width:300px;
    height:250px;
    */

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
   
}

#side-medium {
    margin-top: 1em;
}

/* --- Footer mit Impressum, Datenschutz, etc. --- */
footer {
    clear: both;
    margin-top: 1em;
    margin-left: 0.5em;
}

#impressum {
    font-size: 1em;
    padding-top: 1em;
}

.printfooter {
        display: none;
}

/* --- Alphabetische Suche nach Bustaben --- */
.abisz {
	font-size: 1.7em;
}

/* ---------------------------------------------------------
   Startseite
   ---------------------------------------------------------*/
#index-image-symptome {
    float: left;
    background: url("../img/symptome-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;
    margin-right: 0.5em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;

}

#index-image-krankheiten {
    float: left;
    background: url("../img/krankheiten-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;

}

#index-image-behandlungen {
    float: left;
    background: url("../img/behandlungen-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;
    margin-right: 0.5em;
    margin-top: 0.5em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;

}

#index-image-medikamente {
    float: left;
    background: url("../img/medikamente-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */ 
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;
    margin-top: 0.5em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;

}

#index-image-abnehmen {
    float: left;
    background: url("../img/abnehmen-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;
    margin-right: 0.5em;
    margin-top: 0.5em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;

}


#index-image-ernaehrung {
    float: left;
    background: url("../img/ernaehrung-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;
    margin-top: 0.5em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;
	
	margin-bottom: 1em; /* Abstand nach unten, entfernen, wenn noch mehr Bilder angefügt werden */

}

#index-image-krankheitenalt {
    float: left;
    background: url("../img/krankheiten-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;
    margin-right: 0.5em;
    margin-top: 0.5em;
    margin-bottom: 1em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;
}

#index-image-behandlungenalt {
    float: left;
    background: url("../img/behandlungen-large.jpg") no-repeat scroll center top / cover #FFF; /* Original: #4285f4; */
    background-repeat: no-repeat;
    height: 280px;
    width: 49%;
    margin-top: 0.5em;
    margin-bottom: 1em;

    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #e9eaed #dfe0e4 #d0d1d5;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    max-width: 100%;
}

/* ---------------------------------------------------------
   Responsive Design
   ---------------------------------------------------------*/

/* nur iPad Spezifikationen */
@media screen and (max-width: 900px) {

    main {
        width: 100%;
    }

    article {
        margin-left: 0; 
        margin-right: 0;
        padding-left: 1em;
        padding-right: 1em;
    }

    aside {
    float: left;
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em;
    
}
    /* Arzt und Amazon fallen unter den Artikel */
    #arzt-wrap {
        width: 40%;
        float: left;
        margin-right: 1em;
        margin-left: 1em;
    }

     #side-medium {
        width: 40%;
        float: left;
        margin-top: 0em;
    }


}

/* nur iPhone Spezifikationen */
@media screen and (max-width: 767px) {

    /* responsive Kategorien Tabellen nach rechts scrollbar */
    table {
        overflow-x: auto;
        display: block;
    }

    .table-wrapper {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    /* Header und Logo werden schmaler */
    header {
        height: 8em;
    }
	
    #intro-logo {
        padding-top: 1em;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    /* AdSense oben Ã¼ber den Eingangstext */
    #adsense-oben {
        float: none;
        margin-top: 1em;
        margin-left: 0.25em;
    }

    /* Arzt bleibt Amazon fliegt raus */
    #arzt-wrap {
        float: left;
		width: 60%;
        margin-left: 1em;
    }

    #side-medium {
        /* display: none; */
		float: left;
		width: 60%;
		margin-left: 1em;
		margin-top: 1em;
    }
	
	#author {
		margin-bottom: 30px;
		line-height: 1.5em;
		/* padding-bottom: 1px; */ /* 40px; */
	}

    /* Medikamentensuche - Apotheke */
    #medpex_widgets
    {
        height: 120px;
        width: 100%;
    }

    .medpex_search input[type="text"]
    {
        width: 79%;
    }

    /* Startseite Bilder floaten untereinander */
    #index-image-symptome {
        float: none;
        width: 100%;
    }

    #index-image-krankheiten {
        float: none;
        width: 100%;
    }

    #index-image-behandlungen {
        float: none;
        width: 100%;
    }

    #index-image-medikamente {
        float: none;
        width: 100%;
    }

    #index-image-abnehmen {
        float: none;
        width: 100%;
    }

    #index-image-ernaehrung {
        float: none;
        width: 100%;
    }
	
	.abisz {
		font-size: 1.5em;
	}

}

/* nur iPhone Hochformat Spezifikationen */
@media screen and (max-width: 400px) {

    /* Header und Logo werden schmaler */
    header {
        height: 6em;
    }

}

