/* Kalibrierung und Allgemein */

html {
	min-height: 100%;
    font-size: 1em;
    line-height: 1.5;
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    /*  -moz-osx-font-smoothing: grayscale; */
}

* { padding: 0; margin: 0; }

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; }


body, div, dl, dt, dd, ul, ol, li, nav, h1, h2, h3, h4, h5, h6, pre, code, form,
fieldset, legend, input, button, textarea, p, blockquote, th, td, a {
    margin: 0px;
    padding: 0px;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    transform-origin: left top;
    background-repeat: no-repeat;
}

body {
    min-height: 100%;
    background: #fff;
    background: -moz-linear-gradient(top, #fff 50%, #ebebeb 100%);
    background: -webkit-linear-gradient(top, #fff 50%, #ebebeb 100%);
    background: linear-gradient(to bottom, #fff 50%, #ebebeb 100%);
    font-family: "josefin-sans", "Raleway", "Lucida Grande", Helvetica, sans-serif ;
    text-align: left;
    font-size: 1em;
    line-height: 1.2;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
    -moz-font-feature-settings: 'liga';
    -ms-font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
}

fieldset, img {
    border: 0px;
}

li {
    list-style: none;
}

/* Typografie */

h1, h2, h3, h4, h5, h6, nav {
    font-family: "adobe-garamond-pro", Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h2 {
    font-size: 1.3em;
    margin-bottom: 2em;
}

h3 {
    font-size: 1.1em;
    margin: 1.5em 0 0.6em;
}

.text-smaller {
    font-size: 0.75em;
}

.text-long {
    padding-bottom: 1em;
    font-family: "adobe-garamond-pro", Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;
    font-size: 0.9375em;
    font-weight: 400;
}

.text-long p {
    margin-top: 0.6em;
}

.text-long li {
    list-style: square;
    list-style-position: outside;
    margin-top: 0.6em;
    margin-left: 2em;
}

hr {
    margin: 1.5em 0;
    border: none;
    border-top: 1px solid #A3A3A3;
}

hr + h2 {
    margin: 1.2em 0 0.6em;
}

input, button, textarea, select, optgroup, option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

/* Farben */

a:link {
    color: #000000;
    text-decoration: underline;
}

a:visited {
    color: #3B3B3B;
    text-decoration: underline;
}

a:hover {
    color: #7F7F7F;
    text-decoration: underline;
}

a:active {
    color: #3B3B3B;
    text-decoration: underline;
}

.Weiss-Grau a:link {
    color: #FFFFFF;
    text-decoration: inherit;
}

.Weiss-Grau a:visited {
    color: #FFFFFF;
    text-decoration: inherit;
}

.Weiss-Grau a:hover {
    color: #DEDEDE;
    text-decoration: inherit;
}

.Weiss-Grau a:active {
    color: #FFFFFF;
    text-decoration: inherit;
}


.Schwarz-Grau a:link {
    color: #000000;
    text-decoration: inherit;
}

.Schwarz-Grau a:visited {
    color: #3B3B3B;
    text-decoration: inherit;
}

.Schwarz-Grau a:hover {
    color: #7F7F7F;
    text-decoration: inherit;
}

.Schwarz-Grau a:active {
    color: #3B3B3B;
    text-decoration: inherit;
}

.Grau-Weiss a:link {
    color: #7F7F7F;
    text-decoration: inherit;
}

.Grau-Weiss a:visited {
    color: #7F7F7F;
    text-decoration: inherit;
}

.Grau-Weiss a:hover {
    color: #DEDEDE;
    text-decoration: inherit;
}

.Grau-Weiss a:active {
    color: #7F7F7F;
    text-decoration: inherit;
}

.Grau-Weiss-heller a:link {
    color: #A3A3A3;
    text-decoration: inherit;
}

.Grau-Weiss-heller a:visited {
    color: #A3A3A3;
    text-decoration: inherit;
}

.Grau-Weiss-heller a:hover {
    color: #DEDEDE;
    text-decoration: inherit;
}

.Grau-Weiss-heller a:active {
    color: #A3A3A3;
    text-decoration: inherit;
}


/* Layout */

#header {
    position: fixed;
    width: 100%;
    height: 62px;
    background-color: rgba(255,255,255,0.9);
    border-bottom: 1px solid #A3A3A3;
    z-index: 10;
}

.logo {
    position: absolute;
    top: 12px;
    left: 26px;
}

.logo img {
    width: 100%;
    height: auto;
}

.logo1 {
    width: 49px;
    display: none;
}

.logo2 {
    width: 66px;
}

#header nav { 
    padding: 0 20px;
    text-align: right; 
}

#header nav a {
    display: inline-block;
    margin-top: 17px;
    padding: 0.4em;
    font-size: 0.9375em;
    text-decoration: none;
    letter-spacing: 0.1em;
    border-bottom: 2px solid rgba(0,0,0,0);
    outline: none;
    transition: border-bottom-color 0.3s ease;
	-moz-transition: border-bottom-color 0.3s ease;
	-webkit-transition: border-bottom-color 0.3s ease;
	-o-transition: border-bottom-color 0.3s ease;
}

#header nav a:hover,
#header nav a:focus {
    color: #000;
    border-bottom-color: rgba(0,0,0,1);
}

#container {
    width: 90%;
    max-width: 500px;
    margin: 0 auto 0;
    padding-top: 110px;
    padding-bottom: 80px;
}

#container.container-wide {
    max-width: 700px;
}

.close {
    margin: 1em 0;
    text-align: center;
}

.close img {
    margin-right: 10px;
    width: 110px;
    height: auto;
    transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-webkit-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
}

.close img:hover {
    opacity: 0.4;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1.5em 5% 1.6em;
    background-color: #000;
    border-top: 1px solid #A3A3A3;
    font-size: 0.8em;
    font-weight: 400;
    text-align: center;
    color: #A3A3A3;
    letter-spacing: 0.14em;
}

#footer a {
    font-weight: 600;
}


/* Formular */

.ce_form { margin: 2em 0; }

.ce_form p { 
    margin-bottom: 1.5em; 
    text-align: center;
}

.ce_form .widget-text p {
    margin: 0 0 0 0.5em; 
    font-size: 0.875em;
    text-align: left;
}

.ce_form h2 { margin-bottom: 1.5em; } 

.ce_form .widget-text,
.ce_form .widget-textarea { 
    position: relative;
    width: 100%;
    padding-bottom: 0.8em; 
    overflow: hidden;
}

.ce_form label {
    position: absolute;
    display: inline-block;
    top: 0.3em;
    left: 0.6em;
    font-size: 0.9em;
    line-height: 1.1;
    vertical-align: top; 
    color: #A3A3A3;
}

.ce_form input,
.ce_form textarea {
    width: 100%;
    padding: 1.3em 0.5em 0.2em;
    border: 1px solid #A3A3A3; 
}

.ce_form .widget-text:hover input,
.ce_form .widget-textarea:hover textarea { 
    border: 1px solid #000;
}

.ce_form input:focus,
.ce_form textarea:focus { 
    border: 1px solid #000;
}

.ce_form .input-stk {
    float: left;
    width: 25%;
    max-width: 100px;
    margin-right: 0.8em;
}

.ce_form fieldset { 
    border: none; 
    padding: 0; }

.ce_form legend { display: none; }

.ce_form .checkbox_container,
.ce_form .submit_container { 
    border: 0; 
}

.ce_form .checkbox_container { margin-top: 0.5em }

.ce_form .checkbox_container input { 
    width: 18px;
    height: 18px;
    margin: 0 1%; 
    border: 1px solid $color-hr;
}

.ce_form .checkbox_container label { 
    margin-top: 0.2em;
    text-align: left; 
    width: auto; }

.ce_form p.error {
    position: absolute;
    left: 22%;
    top: 0;
    color: #cb0000;
    font-size: 0.8em;
    margin: 0; }

.ce_form div.error { padding-top: 1.5em; }

.ce_form .submit { 
    width: 100%;
    padding: 0.6em 1em 0.6em;
    background-color: #453d39; 
    border: 0;
    font-family: "adobe-garamond-pro", Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff; 
	-webkit-transition: all ease .3s;
	-o-transition: all ease .3s;
	-moz-transition: all ease .3s;
	-ms-transition: all ease .3s;
	transition: all ease .3s; 
}

.ce_form .submit:hover,
.ce_form .submit:focus { 
    background-color: #62554e; 
}

.ce_form .text-small { 
    display: block;
    font-size: 0.85em; 
    margin: 1em 0 0; 
}


/*  ========================== MEDIUM (Tablet) =========================== */


@media only screen and (min-width: 800px) {
    
    h2 {
        font-size: 1.5em;
    }
    
    .text-long {
        font-size: 1em;
    }
    
    #header {
        height: 120px;
    }
    
    .logo {
        top: 17px;
        left: 10px;
    }
    
    .logo1 {
        display: block;
    }

    .logo2 {
        display: none;
    }
    
    #header nav { 
        text-align: center; 
    }
    
    #header nav a {
        display: inline-block;
        margin-top: 50px;
    }   
    
    #container {
        padding-top: 170px;
    }
    
    .ce_form .widget-text p {
        margin: 0.3em 0 0 0.5em;
        font-size: 1em; 
    }
    
    .ce_form .submit { ;
        font-size: 1.125em;
    }
    
}