/* 
 * HTML5 ✰ Boilerplate
 *
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, div{ display: block;box-sizing: border-box; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; }

body, button, input, select, textarea { font-family: sans-serif; color: #1d3a8f; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #1d3a8f; color: #fff; text-shadow: none; }
::selection { background: #1d3a8f; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #1d3a8f; }
a:visited { color: #1d3a8f; }
a:hover { color: #1d3a8f; text-decoration: none; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

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

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

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

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: Alexander Albrecht www.alexanderalbrecht.ch
   ========================================================================== */

/*
	Client: Weiss Yachts www.weiss-yachts.ch
	© 2011

	CSS-Version 0.01
	05.09.2011
*/

/* !WEBFONTS */
@font-face {font-family: 'MontrealTS-Regular';src: url('webfonts/111299_0.eot');src: url('webfonts/111299_0.eot?#iefix') format('embedded-opentype'),url('webfonts/111299_0.woff') format('woff'),url('webfonts/111299_0.ttf') format('truetype'),url('webfonts/111299_0.svg#wf') format('svg');}

@font-face {font-family: 'MontrealTS-DemiBold';src: url('webfonts/111299_1.eot');src: url('webfonts/111299_1.eot?#iefix') format('embedded-opentype'),url('webfonts/111299_1.woff') format('woff'),url('webfonts/111299_1.ttf') format('truetype'),url('webfonts/111299_1.svg#wf') format('svg');}

body {
	font-family: 'MontrealTS-Regular', Arial, sans-serif;
	font-size: 15px;
	line-height: 18px;
}

.logo-10jahre{
	position:fixed;
	top:40px;
	right:40px;
	width:175px;
	height:175px;
	z-index:9999;
}


/* !SITE */
#container {
	width: 100%;
	min-width: 960px;
}



/* !HEADER */
header {
	position: fixed;
	top: 20px;
	left: 20px;
	width: 238px;
	background: transparent;
	text-align: center;
	z-index: 100;
}

header h1 {
	text-indent: -999em;
}

header h1 a {
	display: block;
	width: 238px;
	height: 75px;
	margin-bottom: 25px;
	background: url(../img/weiss-yachts.png) 0 0 no-repeat;
}


.titel-mobile{
	display:none;
}


/* !NAVIGATION */
nav {
	font-family: 'MontrealTS-DemiBold', Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
}

nav a, nav a:visited, nav a:active, nav a:hover {
	text-decoration: none;
	color: #1d3a8f;
	padding-bottom: 1px;
}

nav a:hover {
	color: inherit;
	border-bottom: 2px solid #1d3a8f;
}



/* !CONTENT */
#main {

}

h1, h2, h3, h4, h5, h6 {
	font-family: 'MontrealTS-DemiBold', Arial, sans-serif;
	font-size: 24px;
	line-height: 28px;
	margin: 0;
	padding: 0 0 15px 0;
	font-weight: normal;
}

#first article h2 {
	text-shadow: 0px 1px 1px rgba(255,255,255,0.2);
}

p, ul, ol {
	margin: 0;
	padding: 0;
}

ul {
	list-style-position: outside;
	padding-left: 15px;
}

p + p,
p + h2 {
	margin-top: 20px;
}

section {
	width: 100%;
	min-width: 960px;
	margin: 0 auto;
}

#intro { background: url(../img/bg1.jpg) 50% 0 no-repeat fixed; }
#monofoil { background: url(../img/bg10.jpg) 50% 0 no-repeat fixed; }
#planung-neubau { background: url(../img/bg2.jpg) 50% 0 no-repeat fixed; }
#verkauf-beratung { background: url(../img/bg3.jpg) 50% 0 no-repeat fixed; }
#umbau-service { background: url(../img/bg4.jpg) 50% 0 no-repeat fixed; }
#transport-winterlager { background: url(../img/bg5.jpg) 50% 0 no-repeat fixed; }
#j-boats { background: url(../img/bg9.jpg) 50% 0 no-repeat fixed; }
#kontakt-team { background: url(../img/bg8.jpg) 50% 0 no-repeat fixed; }
#vertetungen-occasionen { background: white 50% 0 no-repeat fixed; }

.story {
	height: 1000px; /* set individual height at section IDs above */
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: 1920px;
	position: relative;
	margin: 0 auto;
	box-shadow: 0 0 75px rgba(0,0,0,0.35);
}

article {
	position: absolute;
}

article div {
	padding: 20px;
	margin-bottom: 20px;
	background: rgb(255,255,255);
	background: rgba(255,255,255,0.85);
	box-shadow: 0 0 6px rgba(0,0,0,0.15);
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	        border-radius: 2px;
}

#intro article div:first-of-type {
	background: none;
	box-shadow: none;
	text-align: center;
}

#intro article {
	top: 35%; /* 10% */
	left: 25%;
	width: 770px;
}




#monofoil article.monofoil-video{
	top: 13%;
	left: 22%;
	width: 1035px;
}
#monofoil article.monofoil-bottom{
	top: 63%; 
	left: 22%;
	width: 1035px;
}
#monofoil article.monofoil-bottom div{
	width: 336px;
	position:absolute;
	top:0;
	height:260px;
}
#monofoil article div img{
	width: 100%;
}
#monofoil .monofoil-box-1{
	left:0;
}
#monofoil .monofoil-box-2{
	left:350px;
}
#monofoil .monofoil-box-3{
	left:700px;
}
#monofoil .bildlegende{
	position:absolute;
	top:280px;
	right:0;
	text-align:right;
	color:#FFF;
}
#monofoil .bildlegende a{
	color:#FFF;
	text-decoration:none;
}





#planung-neubau article {
	top: 40%;
	left: 55%;
	width: 380px;
}

#verkauf-beratung article {
	top: 50%;
	left: 40%;
	width: 350px;
}

#umbau-service article {
	top: 20%;
	left: 25%;
	width: 420px;
}

#transport-winterlager article.left {
	top: 10%;
	left: 28%;
	width: 330px;
}

#transport-winterlager article.right {
	top: 38%;
	left: 55%;
	width: 340px;
}





#j-boats article.left {
	top: 10%;
	left: 28%;
	width: 417px;
}	

#j-boats article.right {
	top: 30%;
	left: 60%;
	width: 340px;
}





#kontakt-team article {
	top: 10%;
	left: 28%;
	width: 300px;
	margin-top: 40px;
}


/*
article {
	top: 200px;
	left: 450px;
	width: 400px;
}
*/

.menuanchor {
	position: absolute;
	top: 0;
	left: 0;
}

#imprint {
	font-size: 12px;
	padding-left: 18px;
}

#imprint a { text-decoration: none; }
#imprint a:hover { text-decoration: underline; }


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.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: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


#mobile-nav{
	display:none;
}
/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */





@media screen and (max-width: 1920px) {
	
	section.story{
		width:100%;
		max-width: none;
		overflow:hidden;
		background-size: cover;
		box-shadow: none;
	}
	#container,
	section{
		min-width: auto;
	}
}
@media screen and (max-width: 1370px) {
	#intro article,
	#monofoil article.monofoil-video,
	#monofoil article.monofoil-bottom,
	#transport-winterlager article.left,
	#j-boats article.left{
		left:5%;
	}
	#intro article,
	#monofoil article.monofoil-video,
	#monofoil article.monofoil-bottom{
		left:50%;
		transform: translateX(-50%);
	}
	header{
		background-color:white;
		left:0;
		top:0;
		width:100%;
		height:80px;
		box-shadow: 0 0 6px rgb(0 0 0 / 15%);
	}
	header h1{
		padding:0;
		margin-top:7px;
		margin-left:10px;
	}
	header h1 a{
		width:200px;
		height:63px;
		background-size:contain;
		margin-bottom:0;
	}
	
	
	
	
	
	nav{
		position:fixed;
		top:80px;
		width:100%;
		font-size:24px;
		line-height:30px;
		padding:30px 0;
		display:none;
	}
	nav a,
	nav a:visited{
		color:white;
	}
	nav.is-active{
		display:block;
		background-color:#1d3a8f;
	}
	
	
	/* MOBILE NAV */

	#mobile-nav{
		position:fixed;
		top:11px;
		right:0;
		display:block;
		z-index:99;
	}
	.hamburger{
		padding:12px 15px 6px 15px;
	}
	button.hamburger:focus{
		outline:none;
	}
	
	.hamburger.is-active:hover, .hamburger:hover{
		opacity:1;
	}
	.hamburger-inner,
	.hamburger-inner:before,
	.hamburger-inner:after,
	.hamburger.is-active .hamburger-inner,
	.hamburger.is-active .hamburger-inner:after,
	.hamburger.is-active .hamburger-inner:before{
		height:3px;
		background-color:#1d3a8f;
	}
	.hamburger-box{
		height:36px;
	}

}

/* MOBILE */
@media screen and (max-width: 1000px) {
	div#main{
		width:100%;
	}
	#intro{
		padding-top:130px;
	}
	article,
	#monofoil article.monofoil-bottom div,
	#verkauf-beratung article,
	#planung-neubau article,
	#intro article,
	#umbau-service article,
	#transport-winterlager article.left,
	#transport-winterlager article.right,
	#j-boats article.left,
	#j-boats article.right,
	#kontakt-team article,
	#monofoil article.monofoil-bottom,
	.monofoil-video,
	#monofoil article.monofoil-video,
	#monofoil .bildlegende{
		position:static;
		width:100%;
		height:auto;
		top:auto;
		left:auto;
	}
	#intro article,
	#monofoil article.monofoil-video,
	#monofoil article.monofoil-bottom{
		transform: none;
	}
	article img,
	article iframe{
		width:100%;
	}
	section{
		box-sizing: border-box;
	}
	.story{
		height:auto;
		padding:calc(6vw + 80px) 6vw;
	}
	#kontakt-team article{
		margin-top:0;
	}
	
	.titel-mobile{
		display:block;
	}
	




/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}
