/*-----------------------------------------------------------------------------------
 * Author: Stephan Paschkin, Medienzauber
 * Author URI: http://www.medienzauber.de
 * Site URI: http://www.hinweiswerbung.de
 -----------------------------------------------------------------------------------*/
html,
button,
input,
select,
textarea {
    color: #767676;/*#222*/
}

html {
    font-size: 1em;
    line-height: 1.4;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


body {
	margin: 0;
	padding: 0;
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    background: url(../img/grf_body_hg.png) 0px 28px repeat-x rgba(255, 255, 255, 1);
}

.wrapper {
    width: 90%;
    margin: 0 auto;
    position: relative;
}




.header-container {
   /* border-bottom: 10px solid rgba(0,0,0,0.1);*/
   margin: 0;
   padding: 0;
   background: url(../img/grf_header_out_hg2.jpg) center top repeat;
   height: 128px;
}

headline {
    font-size: 2.4em;
    position: relative;
    top: 55px;
}
.main-container {
	margin: 25px 0 0 0;
	padding: 0;
}
.footer-container {
	margin: 0;
	padding: 0;
}

.pic-right img {
	border: 1px solid #ccc;
    float: right;
    height: auto;
    margin: 0 0 0 30px;
    padding: 3px;
    width: 25%;
}

.content .callback {
	font-size: 1.25em;
	color: #9edd0d;
	line-height: 40px;
	font-weight: bold;
}

.footer-container,
.main aside {
	 margin: 0 auto;
    width: 70%;
    /*border-top: 10px solid rgba(0,0,0,0.1);*/
}

.header-container,
.main-container,
.footer-container,
.main aside {
    width: 100%;
    margin: 0 auto;
}

.main-container {
	margin:46px 0 0;
}

h2 {
	margin: 50px 0 0 0;
	padding: 0;
}

.footer-container {
    background: rgba(0,0,0,0.2);	
    position: relative;
    border-top: solid 1px;
}

.title {
   color: #fff;
	font-family: "Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif;
	font-weight: lighter;
}


.main {
	margin: 0 auto;
	padding: 0 0 270px;
	position: relative;
}

.content h1 {
    font-size: 1.8em;
    line-height: 120%;
}
.main h2 a {
    color: #767676;
    text-decoration: none;
}

a {
	color: #5c5c5c;
}
.content a {
    color: #5c5c5c;
    padding: 0 2px;
}
.content a:hover {
    color: #fff;
    background-color: #9edd0d;
    text-decoration: none;
}
.main h2 a:hover, a:hover {
	color: #9edd0d;
}

.main aside {
/*	 background: rgba(158,221,13,0.9);
    color: white;*/
    padding: 0px;
    width: 100%;
    overflow: hidden;
}
.main aside img {
	position: relative;
	height: auto;
   width: 100%;
}

.content p {
	font-size: 16px;
	line-height: 20px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
    position: relative;
}

.formel-box > img {
    	/*width: 100%;
    	max-width: 250px;*/
    	height: auto;
    	position: relative;
    top: 5px;
}

.logo {
    bottom: auto;
    top:10px;
    height: auto;
    margin: 0;
    padding: 0 9%;
    position: absolute;
    width: 83%;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.logo {
    bottom: 100px;
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 300px;
    padding: 0 3%;
    position: relative;
    width: 94%;
}

header span {
    float: right;
    position: relative;
    top: 55px;
    width: 60%;
}

.headline {
    bottom: 4px;
    box-sizing: border-box;
    color: #fff;
    float: none;
    font-family: "Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size: 18px;
    font-weight: lighter;
    line-height: 120%;
    margin: 36px 0 auto;
    position: absolute;
    text-align: center;
    top: 55px;
    width: 100%;
}


header a {
    background-color: white;
    display: block;
    float: left;
    margin: 0;
    width: 100%;
    min-height: 76px;
    padding: 0;
    position: relative;
}

.content h1 {
	color: #9edd0d;
	clear: both;
	margin-top: 0;
}

.main aside h3 {
	background: none repeat scroll 0 0 rgba(158, 221, 13, 1);
   color: white;
   font-size:1em;
   padding: 19px 7%;
   margin: 0;
}

.small {
	font-weight: lighter;
	font-size: 0.9em;
}
.button:before {
	 background-color: #9edd0d;
    background: -webkit-linear-gradient(#9edd0d, #74a20d) repeat scroll 0 0 rgba(0, 0, 0, 0.1);
    background: -moz-linear-gradient(#9edd0d, #74a20d) repeat scroll 0 0 rgba(0, 0, 0, 0.1);
    background: -o-linear-gradient(#9edd0d, #74a20d) repeat scroll 0 0 rgba(0, 0, 0, 0.1);
    background: linear-gradient(#9edd0d, #74a20d) repeat scroll 0 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.15em 0 0 0.15em;
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.5), 3px 0 0 rgba(255, 255, 255, 0.5);
    float: left;
    font-size: 1.4em !important;
    height: 50px;
    margin: 0 0.55em 0 0 !important;
    padding: 3px 0 0 !important;
    position: relative;
    text-align: center;
    top: -5px;
    width: 55px !important;
}
.next:before {
    content: "➜";
}
#content a {
    color: #787878;
    font-weight: bold;
    padding: 0 0 2px;
}

section:first-child {
    margin: 0;
}

section {
    margin: 55px 0 0;
}

p.pic-right {
	 margin-bottom: 320px;
    position: relative;	
}

p.pic-right img {
	 bottom: -270px;
    height: auto;
    left: 50%;
    margin: 0 0 0 -100px;
    position: absolute;
    text-align: center;
    width: 200px;
}

.button:hover, .button1:hover {
	background-color: #9edd0d;
	background-image: -webkit-linear-gradient(#74a20d, #9edd0d);
	background-image: -moz-linear-gradient(#74a20d, #9edd0d);
	background-image: -o-linear-gradient(#74a20d, #9edd0d);
	background-image: linear-gradient(#74a20d, #9edd0d);
}
.button {
    background-color: #9edd0d;
    background-image: -webkit-linear-gradient(#9edd0d, #74a20d);
    background-image: -moz-linear-gradient(#9edd0d, #74a20d);
    background-image: -o-linear-gradient(#9edd0d, #74a20d);
    background-image: linear-gradient(#9edd0d, #74a20d);
    border: 1px solid #74a20d;
    border-radius: 0.2em;
    color: #fff !important;
    display: inline-block;
    font: bold 1.4em Arial,Helvetica !important;
    height: 48px;
    margin: 0;
    padding: 5px 0 0px !important;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
    /*white-space: nowrap;*/
    width: 100%;
}
.button1 {
    background-color: #9edd0d;
    background-image: -webkit-linear-gradient(#9edd0d, #74a20d);
    background-image: -moz-linear-gradient(#9edd0d, #74a20d);
    background-image: -o-linear-gradient(#9edd0d, #74a20d);
    background-image: linear-gradient(#9edd0d, #74a20d);
    border: 1px solid #74a20d;
    border-radius: 0.2em;
    color: #fff !important;
    display: inline-block;
    font: bold 1.4em Arial,Helvetica !important;
    height: 60px;
    margin: 0;
    padding: 5px 0 5px !important;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
    /*white-space: nowrap;
    width: 100%;*/
}
.button span {
    font-size: 10px !important; /*0.65rem*/
    left: 0;
    position: relative;
    bottom: 10px;
}
footer section {
	margin: 15px 0 0 0;
	padding: 15px 0 0 0;
}
footer aside a, footer section a {
	color: #fff;
}
footer aside a:hover, footer section a:hover {
	color: #787878;
}

.formel-box {
    bottom: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.formel-box > img {
    height: auto;
    /*max-width: 250px;
    width: 100%;*/
}

.formel-box > p {
    background: none repeat scroll 0 0 rgba(158, 221, 13, 1);
    bottom: 0;
    color: #fff;
    font-size: 1rem;
    margin: 0;
    padding: 10px !important;
    position: relative;
}

.back-to-top {
			position: fixed;
			bottom: 2em;
			right: 0px;
			background: url(../img/top.png) 50% 50% no-repeat rgba(158, 221, 13, 0.25);
			padding: 1.5em 2em;;
			display: none;
			z-index: 9999;
		}

		.back-to-top:hover {	
			background-color: rgba(158, 221, 13, 0.76);
		}

#smoothup {
	height: 40px;
	width: 40px;
	position:fixed;
	bottom:50px;
	right:100px;
	text-indent:-9999px;
	background: url(../img/top.png) #f00;	
	-webkit-transition: 0.4s all ease 0s;
		-moz-transition: 0.4s all ease 0s;
			-ms-transition: 0.4s all ease 0s;
				-o-transition: 0.4s all ease 0s;
					transition: 0.4s all ease 0s;
}

.fragen {
	margin: 25px 0;
	padding: 10px 0 10px 20px;
	border-left: solid 5px;
	background-color: rgba(241,246,241,0.76);
}
.fragen li {
   margin: 0 10px 0 15px;
   padding: 2px 0px;
   color: #4F4F4F;
}
h3 {
	color: #9edd0d;
	font-size: 22px;
	font-size: 1.375rem;
	padding: 0;
}
footer h3 {
    color: #fff;
}
figure {
    margin: 0;
}

nav.service {
/*  float: right;*/
  width: 100%;
  margin: 0 0 20px;
}
nav.service ul {
	margin: 0;
	padding: 0;
}
nav.service li {
    float: left;
    display: block;
    margin: 0 10px 0 0;
    padding: 0;
}
label {
    display: block;
}
input {
    height: 25px;
    margin: 0 0 15px;
    width: 285px;
}
.checkbox {
    margin: 0;
    padding: 0;
    width: 20px;
}
.checkbox-label {
	bottom: 7px;
	display: inline;
	padding: 0;
	position: relative;
}
textarea {
    height: 176px;
    resize: vertical;
    width: 285px;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */
   
@media only screen and (min-width: 480px) {
	
.headline {
    bottom: 4px;
    box-sizing: border-box;
    color: #fff;
    float: right;
    font-family: "Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size: 20px;
    font-weight: lighter;
    margin: 36px 0 auto;
    position: absolute;
    text-align: left;
    width: 100%;
    text-align: center;
}

}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */


/* ============
    WIDE: Menu
   ============ */

    /*.title {
        float: left;
    }*/

    nav {
        float: right;
        width: 38%;
        margin: 0 0 20px;
    }

/* ============
    WIDE: Main
   ============ */

	 .header-container,
	 .main-container,
	 .footer-container,
	 .main aside {
     	  width: 100%;
    	  margin: 0 auto;
	 }
	 header a {
    min-height: 160px;
    padding: 0;
    position: relative;
    width:33%;
    }
    .logo {
    bottom:4px;
    top: auto;
    height: auto;
    margin: 0;
    padding: 0 9%;
    position: absolute;
    width: 82%;
    max-width: 400px;	
    }
    
    .headline {
    bottom: auto;
    box-sizing: border-box;
    color: #fff;
    font-family: "Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size: 27px;
    font-weight: lighter;
    margin: 0 auto;
    position: relative;
    top: 55px;
    width: 60%;
}
.content .callback {
    font-size: 2em;
}

	.main aside h3 {
	background: none repeat scroll 0 0 rgba(158, 221, 13, 1);
   color: #fff;
   padding: 19px 10%;
   font-size: 1.17em;
   margin: 0;
}

	.content h1 {
    font-size: 2.25em;
    line-height: 120%;
    margin-top:0;
}

	.content p {
	line-height:26px;
}

p.pic-right {
	 margin-bottom: 0;
    position: relative;	
}

p.pic-right img {
    float: right;
    height: auto;
    margin: 0 0 0 30px;
    max-width: 215px;
    position: inherit;
    text-align: center;
    top: 30px;
    left: 0;
    width: 25%;
}

    .main-container {
	margin: 66px 0 0;
	padding: 0;
	}
	
   
    .content {
        float: right;
    	  width: 60%;
    	  padding-bottom:50px;
    }

    .main aside {
        float: left;
        width: 33%;
    }
    .formel-box {
    bottom: 0;
    left:0;
    position: absolute;
    text-align: center;
    width: 33%;
    }
    .formel-box > img {
    	width: 85%;
    	/*max-width: 250px;*/
    	height: auto;
    }
    .formel-box > p {
    background: none repeat scroll 0 0 rgba(158, 221, 13, 1);
    bottom: 0;
    color: #fff;
    padding: 10px !important;
    margin: 0;
    position: relative;
    }
    .main {
	 margin: 0 auto;
	 padding: 0;
	 position: relative;
	 }
	 .button {
    width: 300px;
	 }
}

@media only screen and (min-width: 1024px) {

	.header-container, .main-container, .footer-container {
    margin: 0 auto;
    width: 100%;
	}
	
header a {
    min-height: 160px;
    padding: 0;
    position: relative;
}
	.main-container {
	margin: 76px 0 0;
	padding: 0;
	}

	.main aside {
	 width: 33%;	
	}
	footer section {
    float: right;
    width: 60%;
    }
    
    footer aside {
    float: left;
    width: 33%;
    }
    
    .formel-box {
    bottom: 0;
    position: absolute;
    text-align: center;
    width: 33%;
	 }
	 .main {
	 margin: 0 auto;
	 padding: 0;
	 position: relative;
	 }
    .button {
    width: 300px;
	 }
	 .content .callback {
    font-size: 2.25em;
    margin-left: 20px;
}
.headline {
    bottom: auto;
    box-sizing: border-box;
    color: #fff;
    font-family: "Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size: 32px;
    font-weight: lighter;
    margin: 0 auto;
    position: relative;
    right: 38px;
    top: 50px;
    width: 60%;
}
figure {
    margin: 0 0 250px;
}

}
@media only screen and (min-width: 1200px) {

.headline {
    bottom: auto;
    box-sizing: border-box;
    color: #fff;
    font-family: "Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size: 38px;
    font-weight: lighter;
    margin: 0 auto;
    position: relative;
    right: 115px;
    top: 50px;
    width: 60%;
}
	
}

@media only screen and (min-width: 1500px) {

/* ===============
    Maximal Width
   =============== */
	.header-container, .featured-container, .main-container, .footer-container {
    margin: 0 auto;
    width: 100%;
    }
    header a {
    min-height: 160px;
    padding: 0;
    position: relative;
	}
	.headline {
    right: 130px;
}
   .main-container {
	margin: 76px 0 0;
	padding: 0;
	}
	section:first-child {
		margin: 0;
	}
	section {
		margin: 55px 0 0 0;
	}

	.main aside {
	 width: 33%;
	 margin: 10px 0 0 0;
	}
	
    .wrapper {
        width: 75em;
        margin: 0 auto;
    }
    
    footer section {
    float: right;
    width: 60%;
    }
    
    footer aside {
    float: left;
    width: 33%;
    padding: 0 0 0 2%;
    }
    .formel-box {
    bottom: 0;
    position: absolute;
    text-align: center;
    width: 33%;
    }
    .formel-box > img {
    	width: 85%;
    	height: auto;
    }
    .formel-box > p {
    background: none repeat scroll 0 0 rgba(158, 221, 13, 1);
    bottom: 0;
    padding: 10px !important;
    margin: 0;
    position: relative;
    }
    .main {
	 margin: 0 auto;
	 padding: 0;
	 position: relative;
	 }
	 .button {
    width: 300px;
	 }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /**text-indent: -9999px;*/
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    /**zoom: 1;*/
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }*/

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    /*@page {
        margin: 0.5cm;
    }*/

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}