/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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: #222;
    font-size: 1.1em;
    line-height: 1.4;
}

/*
 * 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
   ========================================================================== */

html{
	/*background:
	radial-gradient(black 15%, transparent 16%) 0 0,
	radial-gradient(black 15%, transparent 16%) 8px 8px,
	radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
	radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
	background-color:#282828;
	background-size:16px 16px;*/
	background:url(../img/binding_dark.png);
	color:#fff;
	font-size:18px;
	font-family: 'texgyreadventorregular';
}

/*@font-face {
  font-family: 'Magneto-Bold';
  src: url('../font/Magneto-Bold.eot?#iefix') format('embedded-opentype'),  url('../font/Magneto-Bold.woff') format('woff'), url('../font/Magneto-Bold.ttf')  format('truetype'), url('../font/Magneto-Bold.svg#Magneto-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}*/

@font-face {
    font-family: 'texgyreadventorregular';
    src: url('../font/texgyreadventor-regular-webfont.eot');
    src: url('../font/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/texgyreadventor-regular-webfont.woff') format('woff'),
         url('../font/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('../font/texgyreadventor-regular-webfont.svg#texgyreadventorregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

h3{
	color:#7787a1;
}

.parallax-window {
		height: 600px;
		background: transparent;
		-webkit-box-shadow: 0 0 10px 10px rgba(0,0,0,0.3);
		box-shadow: 0 0 10px 10px rgba(0,0,0,0.3);
	}

.paralax-header{
	height:900px;
	min-height: 735px;
}

section{
	background:url(../img/binding_dark.png); 
	/*background:
	radial-gradient(black 15%, transparent 16%) 0 0,
	radial-gradient(black 15%, transparent 16%) 8px 8px,
	radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
	radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
	background-color:#282828;
	background-size:16px 16px;
	background: #333 none repeat scroll 0 0;
	padding-top:60px;*/
}

.sec1{
	min-height:200px;
	padding:0 40px 40px 40px;
	max-width:980px;
	margin:0 auto;
}

header{
	background-color:#333;
	height:20px;
	width:100%;
	position:fixed;
	z-index:100;
	-webkit-box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.2);
	border-bottom:1px solid #333;
}

nav{
	height:50px;
	max-width:900px;
	margin:0 auto;
	text-align:center;
	top:50px;
	position:relative;
	float:left;
}

nav ul{
	margin: 0 auto;
    max-width: 600px;
    position: relative;
}

nav ul li{
	float:left;
	margin:0 7px;
	text-align:center;
	list-style:none;
	padding-top:20px;
	font-size:16px;
}

nav ul li a{
	text-decoration:none;
	color:#eee;
	font-weight:bold;
}

nav ul li a:hover{
	color:#7787a1;
}

.red{
	position:relative;
	width:100%;
	margin:30px auto;
}

.redButtonContainer{
	color:#fff;
	font-size:16px;
	float:left;
	width:489px;
	cursor:pointer;
	height:250px;
	margin-top:50px;
}

.left{
	border-width: 0 1px 0 0; 
	border-style: solid;
	-webkit-border-image: -webkit-gradient(linear, 0 100%, 0 0, from(white), to(rgba(0, 0, 0, 0.5))) 1 80%;
	-webkit-border-image: -webkit-linear-gradient(bottom, white, rgba(0, 0, 0, 0.5)) 1 80%;
	-moz-border-image: -moz-linear-gradient(bottom, white, rgba(0, 0, 0, 0.5)) 1 80%;
	-o-border-image: -o-linear-gradient(bottom, white, rgba(0, 0, 0, 0.5)) 1 80%;
	border-image: linear-gradient(to top, white, rgba(0, 0, 0, 0.5)) 1 80%; 
 

}
.conright{
	float:right !important;
	text-align:right;
}


.redButton{
	float:left;
	width:150px;
	height:150px;
	border-radius:50%;
	background-color:RGBA(255,255,255,0.3);
	border:2px solid #fff;
	overflow:hidden;
	cursor:pointer;
	-webkit-box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.2);
}

.button{
	background-color:#7787a1;
	border-radius:4px;
	width:95%;
	font-weight:bold;
	text-align: center;
	border:1px solid #fff;
	padding:20px 0;
	text-decoration: none;
	color:#fff;
	display:block;
}

.button a{
	
}

.shadow{
	-webkit-box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.2);
	box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.2);
}

.redtext{
	padding:0 20px;
}

.redtext h4{
	color:#7787a1;
	font-weight:bold;
}

.conleft{
	float:left;
}

.conright{
	float:right;
}


.redButton{
	background-size:cover;
}

.img-zoom {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}
 
.transition {
    -webkit-transform: scale(1.1); 
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

footer{
	height:50px;
	bottom:0;
	width:100%;
	background-color:#333;
}

.copy{
	color:#CCC;
	text-align:center;
	max-width:900px;
	height:20px;
	padding:10px 0;
	margin:0 auto;
}

.logocontainer{
	background-image:url(../img/rough_logo.png);
	background-repeat:no-repeat;
	background-size:280px;
	background-position:left top;
	text-align:center;
	height:85px;
	margin-top:10px;
	float:left;
	width:300px;
}

.instagramcontainer{
	background-image:url(../img/instagram.png);
	background-repeat:no-repeat;
	background-position:left top;
	text-align:center;
	margin-left:100px;
	float:left;
	width:50px;
	height:50px;
}

.instagramcontainer a{
	display:block;
	width:50px;
	height:50px;
}

.instagramcontainer:hover{
	background-image:url(../img/instagram_hover.png);
}

.logotext{
	font-family: 'Magneto-Bold' !important;
	font-size:1.2em;
	font-weight:bold;
}

a{
	text-decoration:none;
	color:#09C;
}


.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}

.hide{
	display:none;
}

.show{
	display:block;
}

/*.featherlight .featherlight-inner {
    height: 100%;
    width: 100%;
    background-color: #222;
}

.featherlight .featherlight-content{
	width:90% !important;
	height:90% !important;
}*/

.colleft{
	width:45%;
	padding:20px;
	float:left;
}

.colright{
	width:45%;
	padding:20px;
	float:left;
}

.grip-magazin{
	float:left;
	position: relative;
	top:150px;
}

.det-teaser{
	float:right;
	position: relative;
	top:150px;
}

.seite1,
.seite2,
.seite3{
	text-align:center;
}

.lightbox{
	min-width:80%;
	display: none;
	text-align: justify;
}

.featherlight .featherlight-content {
	background: RGBA(0,0,0,0.5) !important;
	border:1px solid #fff;
	/*width:300px;*/
	border-bottom: 1px solid #fff !important;
}

/*==========================================================================
Formular
	==========================================================================*/

input{
	/*width:300px;
	max-width:300px;*/
	height:30px;
	border:1px solid #999;
	background:rgba(100, 100, 100, 0.5);
	margin-bottom:5px;
	border-radius:4px;
}

input[type=submit]{
	background-color:#7787a1;
	border-radius:4px;
	width:95%;
	height:40px;
	font-weight:bold;
}

select{
	/*width:305px;
	max-width:305px;*/
	height:30px;
	border:1px solid #999;
	background:rgba(100, 100, 100, 0.5);
	margin-bottom:5px;
	border-radius:4px;
}

textarea{
	/*width:300px;
	max-width:300px;*/
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    display: block;
    width: 100%;
    padding: 7px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    margin-bottom: 10px;
    font: 16px Arial, Helvetica, sans-serif;
    height: 200px;
}

.bez{
	width:150px;
	float: left;
}

#kontakt-form div.error {
    color: #FB3A3A;
    margin: 4px 0 5px 20px;
    padding: 0;
    text-align: left;
	font-size:0.8em;
	position: relative;
	float:none;
}


#kontakt-form input.error{
	border-color:#FF0004;
	background-color:#FFC6C7;
}



.form-style-8{
    padding: 30px;
    margin: 50px auto;
}
.form-style-8 input[type="text"],
.form-style-8 input[type="date"],
.form-style-8 input[type="datetime"],
.form-style-8 input[type="number"],
.form-style-8 input[type="search"],
.form-style-8 input[type="time"],
.form-style-8 input[type="url"],
.form-style-8 input[type="password"],
.form-style-8 input[type="email"],
.form-style-8 select
{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    display: block;
    width: 45%;
    padding: 7px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    margin-bottom: 10px;
	margin-right:5%;
    font: 16px Arial, Helvetica, sans-serif;
    height: 45px;
	float:left;
}

.form-style-8 input[type="email"]{
	width:95%;
}

.form-style-8 textarea{
    resize:none;
    overflow: hidden;
	width:95%;
}

:focus::-webkit-input-placeholder {color: transparent}
:focus::-moz-placeholder          {color: transparent}
:focus:-moz-placeholder           {color: transparent}
:focus:-ms-input-placeholder      {color: transparent}


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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * 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 (max-width: 1024px){
	
	.seite1 img,
	.seite2 img{
		width:800px;
	}
	
	.map{
		display:none;
	}
	
}

@media only screen and (max-width: 800px){
	
	.seite1 img,
	.seite2 img,
	.seite3 img{
		width:600px;
	}
	
	.grip-magazin{
		top:50px;
	}

	.det-teaser{
		top:-100px;
	}
	
	
}

@media only screen and (max-width: 768px) {
	
	.grip-magazin{
		top:500px;
	}
	
	.det-teaser{
		top:-300px;
	}
.logocontainer{
	background-image:url(../img/logo_small.gif);
	background-repeat:no-repeat;
	background-size:300px;
	background-position:center top;
	text-align:center;
	max-height:100px;
	padding:5px 0;
	background-color:#558AB4;
	margin:5px auto 0 auto;
	max-width:300px;
	width:auto;
}
nav {
    height: 50px;
    margin: 0 20px;
    text-align: center;
    top: -45px;
    position: relative;
	background-image:url(../img/nav.png);
	background-repeat:no-repeat;
	background-position:left;
	background-size:30px;
}

nav:hover ul{
	display:block;
}
nav ul{
	margin: 0 auto;
    max-width: 500px;
    position: relative;
	display:none;
	background-color:#558AB4;
}

nav ul li{
	float:none;
	margin:0 10px;
	text-align:left;
	list-style:none;
	padding-top:20px;
	background-color:#558AB4;
}


nav ul li a{
	text-decoration:none;
	color:#eee;
}

nav ul li a:hover{
	color:#0C0;
}

footer{
	bottom:0;
	width:100%;
	background-color:#333;
}
.copy {
    color: #CCC;
    text-align: center;
    max-width: 900px;
    height: 20px;
    padding:0;
    margin: 0 auto;
}
header{
	width:auto;
	min-width:400px;
	max-width:768px;
}
}

@media only screen and (max-width: 736px) {
	.button{
		width: 105%;
	}
	.colright{
		width:42%;
	}
}
@media only screen and (max-width: 668px) {

	.sponsor img{
		width:280px;
	}
	
	.colright,
	.colleft,
	table{
		width:100%;
		text-align:center;
	}
}

@media only screen and (max-width: 568px) {
	.grip-magazin img{
		width:80%;
	}
	.grip-magazin{
		top: 300px;
	}
	.det-teaser img{
		width:90%;
	}
	.det-teaser{
		right:-30px;
		top:-250px;
	}
	
	.paralax-header {
		height: 600px;
		min-height: 600px;
	}
	.seite1 img,
	.seite2 img,
	.seite3 img{
		width:500px;
	}
	.sponsor img{
		width:150px;
	}
}

@media only screen and (max-width: 480px) {
	.seite1 img,
	.seite2 img,
	.seite3 img{
		width:350px;
	}
	
	.sponsor img{
		width:120px;
	}
}

@media only screen and (max-width: 414px) {
	.sponsor img{
		width:150px;
	}
	
	.det-teaser img{
		width:100%;
	}
	
	.det-teaser{
		right:-20px;
		top:-250px;
	}
	
	input {
    width: 300px;
	}
}

@media only screen and (max-width: 375px) {
	.sponsor img{
		width:300px;
	}
	
	.seite1 img,
	.seite2 img,
	.seite3 img{
		width:300px;
	}
	
	input {
    width: 250px;
	}
}

@media only screen and (max-width: 320px) {
	.sponsor img{
		width:250px;
	}
	
	.seite1 img,
	.seite2 img,
	.seite3 img{
		width:250px;
	}
	
	input {
    width: 200px;
	}
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (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;
    }
}
