@charset 'utf-8';

/*-----------------------------------------------------------------------------
Project "5qualities" Screen Stylesheet

version:	1.0
date:  		3.Feb2014
author:		Björn Andresen
email:		bjoern@bjay.de
website:	www.bjay.de
-----------------------------------------------------------------------------*/

/* Reset
-----------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
	
:focus { 
	outline: 0; /* remember to define focus styles! */
}

/*html, body {
height: 100%;
}*/

abbr[title] {
	border-bottom: 1px dotted #888 !important;
	cursor: help;
}

.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
	width: 100%;
}


/* General
-----------------------------------------------------------------------------*/

* { 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box; 
}

body {
	text-align:center;
	font: 1.1em/1.5em 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 300;
	background: #f0f0f0;
	background: url(../img/5q-background-y.jpg);
	background-repeat: repeat;
} 


.clear {
	clear:both;
}

.right {
	float: right;
}

.left {
	float: left;
}

*.center {
	text-align: center !important;
}
*.normalize {
	font-style: italic;
	font-weight: 400;
	color: #777;
}

/* Colors
-----------------------------------------------------------------------------*/



/* Layout
-----------------------------------------------------------------------------*/


	/* Header */
#header {
  	background: #fff;
	background: linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), to(rgba(255, 255, 255, 0.9))); /* for webkit browsers */
	background: -moz-linear-gradient(top,  rgba(255, 255, 255, 1),  rgba(255, 255, 255, 0.9)); /* for firefox 3.6+ */
	background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%,rgba(255, 255, 255, 0.9) 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(255, 255, 255, 1)', endColorstr='rgba(255, 255, 255, 0.9)',GradientType=0 ); /* IE6-9 */ 

	width: 100%;
	box-shadow: 0 -1px 5px #999;
	top: 0;
	z-index: 999;
}

	/* Navigation */

	#header ul li{
		display: inline; 
		font-size: 1.1em;
		padding-right: 3em;
	}	

	/* Content */

#content {
	text-align: left;
	position: relative;
	z-index: 10;
	padding-bottom: 4em;
}
	#content > *:first-child {
		padding-top: 0;
		margin-top: 0;
	}

.background {
	position: absolute;
	left: 0;
	width: 100%;
	display: inline-block;
	background: url(../img/index/_MG_8656.jpg)  0% 20% ;
	background-size: cover;
	z-index: 1;
}

/* media queries
-----------------------------------------------------------------------------*/ 

@media only screen and (max-width: 730px) {
	#header {
		position: relative;
		padding: 1em;
	}
	#header ul {
		text-align: center; 
		padding: 0;
		margin-top: -1.5em;
	}
	#header ul li {
		padding: 0.25em 0;
		display: block;
	}
	#logo {
		float: none;
		display: block;
		clear: both;
		padding-right: 1.5em;
	}
	#content {
		padding: 4em 1.5em 3.5em 1.5em;
	}
	#content img {
		display: block;
		max-width: 100%;
	}
	.imgtext {
		position: relative;
		clear: both;
		width: 100%;
		display: block;
	}
		.imgtext img {
			position: relative;
			margin-bottom: 1.5em;
		}
	body.index #content {
		/** margin-top: 4.5em; **/

	}
	.description {
		overflow: hidden;
	}
	iframe.map {
		top: 0;
		margin-bottom: -1em;
	}
	iframe.calendar {
		width: 100%;
	}
	.background {
		height: 100px;
		top: 12.5em;
	}
}
@media only screen and (min-width: 730px) and (max-width: 1200px) {
	#header {
		position: fixed;
		padding: 3em 0 0 0;
		height: 7em;
	}
	body.index #header {
		margin-left: -2em;
	}
	#header ul {
		padding: 0 0 0 20em;
		text-align: left;
	}
	#logo {
		float: left;
		margin: -15px 0 0 3em;
	}
	#header ul li{
		display: inline; 
		font-size: 1.1em;
		padding-right: 1.5em;
	}
	#header ul li:last-child {
		padding-right: 0em;
	}
	#content {
		margin-top: 9em;
		text-align: left;
		width: 100%;
		padding: 4em;
	}
	#content .imgtext {
		overflow: hidden;
	}
	#content .imgtext img {
		width: 400px;
	}
	body.index {
		padding-right: 2em;
		padding-left: 2em;
	}
	body.index #content {
		padding: 2em;
		/** margin-top: 400px; **/
	}
	body.index #footer {
		height: 50px;
		display: inline-block;
	}
	.description {
		overflow: hidden;
	}
	iframe.map {
		top: 9em;
		margin-bottom: -1em;
	}
	iframe.calendar {
		width: 100%;
	}
	.img {
		position: relative;
		float: left;
		display: inline-block;  /* don't go wider than image */
		clear: left;
		margin-bottom: 1.2em;
	}
	.imgtext .img {
		margin-right: 1.5em;
		margin-top: 0.3em;	
	}
	.background {
		height: 400px;
		top: 0em;
	}
}

@media only screen and (min-width: 1200px) {
	#header {
		height: 9em;
		padding: 4em 0 0 0;
		position: fixed;
	}
	#header ul {
		padding: 0 0 0 22em;
		text-align: left;
	}
	#logo {
		float: left;
		margin: -15px 0 0 3em;
	}
	#header ul li{
		display: inline; 
		font-size: 1.1em;
		padding-right: 3em;
	}
	#content {
		margin-top: 9em;
		text-align: left;
		width: 45em;
		left: 22em;
		top: 4em;
		z-index: 2;
	}
	#content .imgtext {
		overflow: hidden;
	}
	#content .imgtext img {
		width: 450px;
	}
	.description {
		overflow: hidden;
	}
	body.index #content {
		/** margin-top: 550px; **/ 
		
	}
	iframe.map {
		top: 9em;
		margin-bottom: -1em;
	}
	iframe.calendar {
		width: 100%;
	}
	body.index #footer {
		height: 150px;
		display: inline-block;
	}
	.img {
		position: relative;
		float: left;
		display: inline-block;  /* don't go wider than image */
		clear: left;
		margin-bottom: 1.2em;
	}
	.imgtext .img {
		margin-right: 1.5em;
		margin-top: 0.3em;	
	}
	.background {
		height: 550px;
		top: 0em;
	}
}


/* Navigation and Links
-----------------------------------------------------------------------------*/

a abbr {
	cursor: pointer !important;
}
a,.collapse {
  color: #9B5B1E;
  font-weight: 600;
}
a:link {
	text-decoration: none;
} 
a:visited {
}
a:hover,a:focus,.collapse:hover {
  color: #74471C;
}
a:active {
}
#content a:link {
}
#content a:after, .collapse:after {
	padding: 3px;
	content: url(../img/5q-link.png);
}

#content a[href^="mailto:"]:after {
	content: none;
}

 /* navigation */

 #header a {
 	text-decoration: none;
 	color: #888;
 	font-weight: 500;
 }
  #header a:hover {
 	text-decoration: none;
 	color: #000;
 }
 .active {
 	color: #000 !important;
 }

/* Typo
-----------------------------------------------------------------------------*/

h1, h2, h3, h4, h5 {
	font-weight: 500;
}
h1 {
	font-size: 1.8em;
	padding: 2em 0 2em 0;
	line-height: 1.2em;
}
h2 {
	font-size: 1.4em;
	padding: 3em 0 2em;
}	
h3 {
	font-size: 1.1em;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 2em 0 0em 0;
}
	h1 + h3 {
		padding-top: 0;
	}	
h4 {
	font-size: 1em;
	padding: 2em 0 0 0;
}
.jack h4 {
	padding-top: 1em;
}
h5 {
	font-size: 0.93em;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-style: italic;
}
	
p {
	padding-bottom: 1em;
}
	.description p {
		padding-bottom: 0;
	}


b, strong {
	font-weight: 500;
}
i, em {
	font-style: italic;
}
code {
	font-family: "Courier New", monospace;
	font-size: 1em;
}
blockquote {
	color: #999;
	font-size: 1.2em;
	line-height: 1.4em;
	font-weight: 500;
	margin: 2em 0;
	font-style: italic;
	text-align: center;
}
blockquote:before {
	content: url(../img/5q-quote.png);
}
blockquote:after {
	content: url(../img/5q-quote-end.png);
}
blockquote + h2, blockquote + .imgtext > h2{
	padding-top: 1em;
}

/* Lists
-----------------------------------------------------------------------------*/

ul {
}

ol {
}

ol, ul {
	padding: 1.1em;
}

dl {
	padding: 1.1em 0;
}

* ol, * ul {
	padding-top: 1.1em;
}

ol + ol, ul + ul, ol + ul, ul + ol, ol + dl, ul + dl, 
h5 + ul  {
	padding-top: 0;
}

ul ul, ol ol, dl dl, ul ol, ol ul {
	padding: 0 0 0 1.1em;
}

dl dt {
	font-weight: 500;
}

dl dd {
	padding: 0 0 0 1em;
}

.description > ul {
	padding-top: 0;
}

/* Forms
-----------------------------------------------------------------------------*/

label, 
input[type=button],
input[type=submit], 
input[type=text],
button {
 	cursor: pointer;
	font-family: 'Source Sans Pro';
	font-weight: 300;
}

form {
	margin-top: 1.5em;
}

label {
}

fieldset {
	border: 1px solid #bbb;
	border-radius: 2px;
	padding: 1.5em;
	margin: 2em 0 1.5em 0;
}

legend {
}

input, select, textarea {
	padding: 0.5em;
	border: 1px solid #ddd;
}	

textarea {
	font-family: 'Source Sans Pro';
	font-weight: 300;
	font-size: 1em;
}

input[type=text] {
	background: #fff;
	font-size: 1em;
	font-weight: 300;
}


input[type=button] {
	border: 1px solid #aaa;
	background: #ddd;
	border-radius: 2px;
	padding: 0.5em 1em;
	font-size: 1em;
	font-weight: 400;
	color: #555;
}

/* Elements
-----------------------------------------------------------------------------*/

iframe {
	max-width: 100%;
	position: relative;
	top: 1em;
}
iframe.map {
	box-shadow: 0 0 3px #aaa;	
}
.ender {
	position: relative;
	display: inline-block;
	width: 100%;
	margin-top: 3em;
}
#content .ender img {
	float: right;
	margin: 0;
	border: 0;
	box-shadow: 0;
}

.img {
	-webkit-box-shadow: inset 0px 0px 20px -10px rgba(0,0,0,0.5);
	-moz-box-shadow:    inset 0px 0px 20px -10px rgba(0,0,0,0.5);
	box-shadow:         inset 0px 0px 20px -10px rgba(0,0,0,0.5);
	line-height: 0;         /* ensure no space between bottom */
	border-radius: 2px;
	overflow: hidden;
}
p + .img {
	margin-top: 2em;
}
.img + p {
	margin-top: 2em;
} 
.img img {
	position: relative; 
	z-index: -1;            /* position beneath */
}


.collapse {
  display:block;
  cursor: pointer !important;
  margin: 0.7em 0 0 0;
}
.collapse + input{
  display:none;
}
.collapse + input + *{
  display:none;
}
.collapse+ input:checked + *{
  display:block;
}
.jack {
	padding-bottom: 1.4em;
}

/* print
-----------------------------------------------------------------------------*/ 

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

    pre,
    blockquote {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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

/* ie7
-----------------------------------------------------------------------------*/
.ie7 * {
}

