/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #404040;
    font-size: 1em;
    line-height: 1.6em;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.clearfix 
    {clear: both}

html {
    height:100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    height:100%;
}

strong {
    font-weight: 700;
}

a {
    color: #85ab3d;
    text-decoration: none;
}

p a:hover {
    color: #66b93d;
}
p {
	line-height: 1.5em;
}

h1 {
    color: #85AB3D;
    font-size: 20px;
    margin: 0 !important;
    font-weight: 600;
    line-height: 1.4em;
}

h1 strong{
    font-weight: 600;
}

h2 {
    font-size: 1em;
    line-height: 1.5em;
    margin-top: 30px;
}

#wrapper {
    min-height:100%;
    position:relative;
	background-color: #f2f2f2;
}
section.logo {
	height: 56px;
	text-align: center;
	padding-top: 17px;
	background: #ffffff;
	
}
section.intro {

}
section.marken {
    padding-bottom: 46px;
}
section.footer {
    background-color: #85ab3d;
}

.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    /*border: 1px solid #ff0000;*/
}

.btn {
	display: inline-block;
    text-align: center;
    line-height: 38px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875em;
	box-shadow: 2px 2px 3px 1px rgba(0,0,0,0.2);
}
.btn-schaette {
	background: transparent url(../img/btn_schaette.gif) no-repeat 0 0;
	width:138px;
    height: 39px;
}
.btn-plantavet {
	background: transparent url(../img/btn_plantavet.gif) no-repeat 0 0;
	width:117px;
    height: 39px;
}
.btn:hover {
    opacity: 0.8;
	color: #ffffff;
	text-decoration: none;
}

.marken-logo {
    margin: 21px 30px 0 0;
}

.col2 {
    width: 48%;

}

.col3 {
    width: 100%;
}

.col3 h1.strong {
    font-size: 1.5em;
    /*font-weight: 800;*/
    line-height: 1em;

}

.col3 .subline {
    font-weight: 800;
    font-size: 0.9em;
}

.col2 .box, .col3 .box {
    background-color: #ffffff;
	padding: 0 40px 20px 40px;
}

.col3 .box {
    padding: 40px 0 20px 40px;
}

.left {
    float: left;
    width: 50%;
}

.right {
    float: right;
    margin: 0 40px;
}

.box {
    box-shadow: 0px 0px 30px -2px rgba(0,0,0,0.2);
    padding-bottom: 1px;
}
.plantavet {
	float: right;
}
.plantavet .box {
	padding-top: 15px;
}
.schaette {
	float: left;
}
.schaette .box {
	padding-top: 25px;
	margin-bottom: 30px;
}

p.bewerben {
    padding-top: 30px;
}

p.text_bewerben {
    width: 90%;
}

p.bewerben a {
    font-size: 1em;
    text-decoration: underline;
    padding-right: 60px;
}


.footer {
	position:fixed;
    bottom:0;
    left:0;
	overflow: hidden;
    width: 100%;
    height: 50px;
}
.impressum footer {
	font-size: 0.95em;
}
footer {
    width: 100%;
	overflow: hidden;
}
p.legal {
	width: 50%;
	color: #ffffff;
	float: left;
	font-size: 0.75em;
	margin-left: 40px;
}
footer ul {
    list-style: none;
    float: right;
    margin: 0;
    padding: 12px 40px 0 0;
	width: 40%;
}

footer ul li{
    float: right;
    margin: 0 4px 0 40px;
    color: #ffffff;
    font-size: 0.75em;
}

footer ul li a{
    float: right;
    color: #ffffff;
	font-weight: 700;
    text-decoration: none;
}
footer ul li a:hover {
    color: #b3ff8e ;
}
p.legal a {
	color: #ffffff;
	font-weight: 700;
}
p.legal a:hover {
	color: #b3ff8e;
	text-decoration: none;
}

.impressum p, .impressum ul li {
	font-size: 0.8em;
}

@media only screen and (max-width: 957px)  {

    .container {
        max-width: none;
        width: 90%;
        margin: 0 auto;
        /*border: 1px solid #ff0000;*/
    }

    .col2, col3 {
        width: 100%;
        float: left;       
    }    
    .col3 .box {
        margin-top: 40px;
        padding: 40px;
        
    }
    .col2 .box, .col3 .box {
        background-color: #ffffff;
		text-align: center;
    }
    
    p.bewerben a {
        padding: 0;
        display: block;
        line-height: 2em;
    }
    
    .left, .right, p.bewerben {
        width: 100%;       
        margin: auto;        
    }
    
    p.text_bewerben {
    width: 100%;
    }
    figure {
        padding: 20px 0;
    }
   
    
	.footer {
		height: 90px;
	}
	footer ul, p.legal {
		padding-top: 0;
		width: 90%;
	}
	footer ul {
		padding: 0 0.5em 0 1.1em;
		float: left;
	}
	footer ul li {
		float: left;
		margin: 0 30px 0 0;
	}
	p.legal {
		margin-bottom: 0;
		margin-left: 1.7em;
		text-align: left;
		line-height: 1.6em;
	}
	.hide {
		display: none;
	}
}

@media only screen and (max-width: 487px)  {
	
	
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
