@charset "UTF-8";
@import url("grid.css");
@import url("fonts.css");
@import url("genericons.css");
@import url("formular.css");
/* genericons */
@font-face {
    font-family: 'Genericons';
    src:
        url('/kosmetikrechner/_fonts/Genericons.eot'),
        url('/kosmetikrechner/_fonts/Genericons.woff') format('woff'),
        url('/kosmetikrechner/_fonts/Genericons.ttf') format('truetype'),
        url('/kosmetikrechner/_fonts/Genericons.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*
-------------------
Allgemeines Layout
-------------------
*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
    outline: 0;
}
html {
    height: 100%;
    min-height: 100%;
    font-size: 100%;
}
body {
    font: 1rem/1.6 Jost, Helvetica, Arial, sans-serif;
    /* 14px/16 */
    font-weight: 400;
    min-height: 100%;
}
/* wrapper, breitenbegrenzung, innenabstand rechts/links */
.wrap {
    width: 90%;
    min-width: 240px;
    max-width: 1080px;
    min-height: 100%;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 4px;
    background-color: rgba(114, 148, 87, 0.15)
}
/*
-------------------
Header
-------------------
*/
#calcHeader {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: -100px;
    text-align: center;
    padding: 0.5rem 0;
    margin: -0.5rem 0 5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    hyphens: none;
    z-index: 1000;
}
#calcHeader h1, #calcHeader h2 {
    font-family: Jost, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    text-align: center !important;

}
#calcHeader a {
    font-size: 0.85rem;
    border: none;
    letter-spacing: 0.02rem;
    font-weight: 400;
}
#calcHeader img {
	margin: 0.1rem 0 0 0;
}
/*
-------------------
Footer
-------------------
*/
footer {
    text-align: center;
    padding: 1rem;
    margin: 1.5rem auto;
    font-weight: 400;
    font-size: 0.9rem;
}
/*
/*
-------------------
Listen
-------------------
*/
ul {
    list-style: none;
    padding: 0;
}
ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
ul.menu li {
    padding: 0.5rem 0.2rem 0.2rem;
    margin: 0 0.5rem !important;
}
/*
----------------------
Headlines und Subtitel
----------------------
*/
h1, h2, h3, h4, h5, h6 {
    color: #000;
    text-align: left !important;
    -moz-hyphens: none !important;
    -webkit-hyphens: none !important;
    -o-hyphens: none !important;
    hyphens: none !important;
    line-height: 1.2;
    font-weight: 500;
}
h1 {
    font-size: 32px;
    font-size: 2rem;
}
h2 {
    font-family: Jost, sans-serif;
    font-size: 26px;
    font-size: 1.625rem;
    text-align: center;
}
h3 {
    font-size: 22px;
    font-size: 1.375rem;
    font-weight: 600;
}
h4 {
    font-size: 20px;
    font-size: 1.125rem;
    font-weight: 600;
}
h5 {
    font-size: 18px;
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 -0.5rem 0;
}
h6 {
    font-size: 16px;
    font-size: 1rem;
}

b {
	font-weight: 500;
}
/* Untertitel mit negativem Abstand zum Titel */
.subTitle {
    font-weight: 300;
    font-size: 120%;
    margin: -1rem 0 0 0;
}
/* Subheadline fuer Rohstoffgruppen im Formular */
.innersubTitle {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 0 -0.2rem 0;
}
/* Hinweise inline im Formular */
.inlineTitle {
    font-size: 0.9rem;
    margin: 1.2rem 0 -0.5rem 1rem;
    font-weight: 500;
    text-align: left;
    color: #555;
}
/*
-----------------------------------
2-zeilige Subnavigation der Rechner
-----------------------------------
*/
/* 1. Zeile */
.subnavTop {
    text-align: center;
    font-size: 1.2rem;
    padding: 0 0 0.25rem 0;
}
/* 2. Zeile */
.subnavBottom {
    text-align: center;
    padding: 0.25rem 0 0 0;
}
.cast-ikon {
    width: 22px;
    height: auto;
}
/*
-------------------
Linien
-------------------
*/
.sep_right {
    border-right: 0.5px solid rgba(115,155,65,0.5);
    padding: 0 0.5rem 0 0;
}
.sep_left {
    border-left: 1px solid rgba(115,155,65,0.5);
    padding: 0 0 0 0.5rem;
}
.sep_top {
    border-top: 1px solid rgba(115,155,65,0.5);
    padding: 0.5em 0 0 0;
}
.sep_bottom {
    border-bottom: 1px solid rgba(115,155,65,0.5);
    padding: 0 0 0.3rem 0;
}
.sep_both {
    border-right: 1px solid rgba(115,155,65,0.5);
    border-left: 1px solid rgba(115,155,65,0.5);
    padding: 0 0.5rem;
}
.sep_topbottom {
    border-top: 1px solid rgba(115,155,65,0.5);
    border-bottom: 1px solid rgba(115,155,65,0.5);
    margin: 0rem;
    padding: 0.3rem 0;
    color: #444;
}
/*
-------------------
Mobiles Menue
-------------------
*/
#calcHeader {
    margin: -1rem 0 0 0;
    padding: 0;
}
nav.mobilMenu {
    margin: 0 auto;
    width: 100%;
	height: 4.2rem;
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 1.0);
    box-shadow: 0 2px 6px #eee;
}
nav.mobilMenu ul.menu {
    margin: 0;
    padding: 1rem 0 0 0;
}
nav.mobilMenu ul.menu li {
    list-style: none;
    margin: 0;
    display: inline;
}
nav.mobilMenu ul.menu li a {
    position: relative;
    padding: 0 0 0.5em 0;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
}
nav.mobilMenu ul.menu li a:hover {
    color: #f09f8b;
    border-bottom: 2px solid #03405f;
}
/*
-------------------
Hyperlinks
-------------------
*/
a {
    text-decoration: none;
    font-weight: 500;
    color: #000;
    /* versteckt die linien beim focus */
    outline: 0;
    transition: all 0.3s ease;
}
.info a {
    text-decoration: underline;
}
a:hover, a:focus {
    color: #aaa;
    transition: all 0.3s ease;
}
/* infobereich, weiß hinterlegt */
.info {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    text-align: left;
    border-radius: 6px;
}
h4+ul {
    margin: -1rem 0 0 0;
}
ul+h4 {
	margin: 3rem 0 2rem 0;
}

.info h5 {
    margin: 2rem 0 -0.8rem 0;
}
/*
-------------------
Hinweise
-------------------
*/
.tipp, .warnung, .hinweis {
    font-weight: 500;
    margin: 1rem 0;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}
.aktiv {
    color: #ef6b4d;
    font-weight: 500;
}
.tipp {
    color: rgba(146, 156, 70, 1);
}
.warnung {
    color: rgba(174, 26, 26, 1);
}
.hinweis {
    background-color: #ccc;
}
.tipp::before,
.warnung::before,
.anleitung::before,
.back-to-top::before,
.form-reset::before,
.video::before,
.screencast::before,
.podcast::before,
.email::before {
    -webkit-font-smoothing: antialiased;
    font: normal 1.4rem/1 'Genericons';
    vertical-align: middle;
}
/* Formularausgabe - »Tipp« */
.tipp::before {
    content: '\f455';
    vertical-align: text-top;
}
/* Formularausgabe - »Warnung« */
.warnung::before {
    content: '\f456';
    vertical-align: text-top;
}
/* Footer - »Nach oben«  */
.back-to-top::before {
    content: '\f435';
   	font-size: 1.5rem;
    display: inline;
    color: white;
}
/* Formular - »Hilfe« (Fragezeichen) */
.anleitung::before {
    content: '\f104';
}
/* Ikon im Titel - Reset-Symbol */
.form-reset::before {
    content: '\f420';
    display: inline;
}
/* Ikon im Titel - Video-Symbol */
.video::before {
    content: '\f517';
    font-size: 1.6rem;
    display: inline;
    color: #ef6b4d;
}
/* Ikon - Podcast-Symbol */
.podcast:before {
    content: '\f50d';
}
/* Ikon - Screencast-Symbol */
.screencast:before {
    content: '\f50d';
}
/* Ikon - Email-Symbol */
.email:before {
    content: '\f410';
}
/*
-------------------
Scroll to top
-------------------
*/
/* Schwarzer runder Kreis */
#scroll-to-top {
	background-color: black;
    display: inline;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	text-align: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
/* Positioniert den maussensitiven Bereich über den sichtbaren Kreis */
#scroll-to-top a {
	display: inline-block;
	width: 40px;
	height: 40px;
	position: relative;
	top: -43px;

}
/*
-------------------
Diverse Klassen
-------------------
*/
abbr {
    cursor: help;
}
.center {
    text-align: center;
}
.noshow {
    display: none;
}

figure {
	margin: 2rem 0 1rem 0;
}
.nice-caption+figcaption {
	font-size: 0.9rem;
	padding: 0.5rem 0;
	text-align: center;
}

img.nice-caption {
	width: 100%;
	height: auto;
	border: 20px solid white;
	box-shadow: 1px 1px 6px silver;
}
/*
----------------------------------
Media Queries  (min-width: 1011px)
----------------------------------
*/
@media screen and (min-width: 1011px) {
    nav ul.menu {
        height: 20px;
        line-height: 0.5;
    }
    nav a#nav-m, nav a.close {
        display: none;
    }
    nav ul li {
        margin: 0 30px 0 0;
    }
    /* verschiedene hintergrundbilder  */
    body.white-face-cream {
        background: url(../_images/fotolia_64473512.jpg) no-repeat right bottom fixed;
    }
    body.green-face-cream {
        background: url(../_images/fotolia_28472424.jpg) no-repeat right bottom -120px fixed;
    }
    body.pigments {
        background: url(../_images/fotolia_26873416.jpg) no-repeat right -150px bottom -100px fixed;
    }
    body.lipsticks {
        background: url(../_images/fotolia_184349670.jpg) no-repeat right bottom -120px fixed;
    }
    body.shampoo {
        background: url(../_images/fotolia_26712937.jpg) no-repeat -80px bottom fixed;
    }
    body.lanolin {
        background: url(../_images/fotolia_42417091.jpg) no-repeat -80px bottom fixed;
    }
    body.labor {
        background: url(../_images/laborglas-mit-extrakt.jpg) no-repeat right -80px bottom fixed;
    }
}
/*
----------------------------------
Media Queries  (max-width: 1010px)
----------------------------------
*/
@media screen and (max-width: 1010px) {
    body {
        background: none;
        padding: 0;
        margin: 0;
    }
    .wrap {
        padding: 1rem 0 0 0;
        margin: 0 auto;
    }
    .grid1, .grid2, .grid3, .grid4, .grid5, .grid6, .grid7, .grid8, .grid9, .grid10, .grid11, .grid12 {
        float: none;
        width: 98%;
        margin: 0 auto;
        padding: 0;
    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.6rem;
        text-align: center !important;
    }
    .reset {
        position: absolute;
        top: 5rem;
        left: 0.5rem;
    }
    #calcHeader {
        position: sticky;
        top: 0px;
    }
    #calcHeader li {
        display: block;
    }
    #calcHeader h1 {
        margin: 1rem 0 0 0;
    }
    #calcHeader h2, .subnav-area.sep_right {
        display: none;
    }
    nav.mobilMenu ul.menu {
        height: 100vh;
    }
    .sep_left, .sep_right, .sep_both {
        border: none;
    }
    /*Formatierung Mobiles Menue*/
    nav.mobilMenu {
        height: 2rem;
    }
    nav.mobilMenu ul.menu {
        top: 3em;
        position: absolute;
        background: #8e8e8e;
        width: 100%;
        left: -200%;
        list-style-type: none;
        margin: 0;
        padding: 0;
        -webkit-transition: all 0.8s ease;
        -moz-transition: all 0.8s ease;
        -o-transition: all 0.8s ease;
        transition: all 0.8s ease;
    }
    nav.mobilMenu ul.menu li {
        display: block;
        text-align: left;
        padding: 0em 0.5em;
        border-bottom: 1px solid #fff;
    }
    nav.mobilMenu ul.menu li a {
        color: white;
        padding: 1em 0;
    }
    nav.mobilMenu ul.menu li a:hover {
        border-bottom: 0;
        ;
    }
    /*Hamburger-Icon*/
    nav.mobilMenu a#nav-m img, nav a.close img {
        width: 30px !important;
        height: auto;
    }
    nav.mobilMenu > .close, nav.mobilMenu a#nav-m:target {
        display: none;
    }
    nav.mobilMenu a:target ~ ul, nav.mobilMenu a:target ~ .close {
        display: inline-block;
    }
    nav.mobilMenu a:target ~ ul {
        left: 0;
    }
}