/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* --------------------------------------------- 
Clearfix
*/

.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/* --------------------------------------------- 
Fancybox Fix
*/

.fancybox-lock, .fancybox-overlay { overflow: visible !important;}
body {overflow: visible !important;}

/* --------------------------------------------- 
Typekit FOUT-Fix
*/

.wf-loading {
    visibility: hidden;
}
.wf-active {
    visibility: visible;
}

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

body {
    font-family: "museo-sans";
    font-weight: 100;
    color: #231F20;
    background-color: #ffffff;
    text-align: center;
}

section {
    margin: 0 auto;
    padding: 55px 0;
    text-align: center;
    max-width: 960px;
}

.header {
   padding: 60px 0 10px;
}

header {
    text-align: left;
    display: inline-block;
    width: auto;
    padding-bottom: 25px;  
}

footer {
    padding: 20px 0 50px;
}

/* --------------------------------------------- 
Links
*/

a {
    color: #231F20;
    font-weight: 500;
    text-decoration: none;
}

.intro-text a:hover {
    text-decoration: underline;
}

/* --------------------------------------------- 
Headlines
*/

h1 {
    font-family: "museo-sans-display";
    font-size: 70px;
    font-weight: 100;
}

h1 span {
    font-family: "museo-sans";
    font-weight: 300;
}

header h4 {
    font-size: 24px;
    margin-left: 8px;
}

section h2 {
    font-size: 42px;
    margin: 0 auto 35px;
    display: inline-block;
    border-top: 2px solid #332f2f;
    padding-top: 13px;
}

section h2 span {
    font-weight: 300;
}

h3 {
    font-weight: 400;
    margin-bottom: 12px;
}

/* --------------------------------------------- 
Intro
*/

.intro {
    padding: 0 30px 25px;
    max-width: 640px;
}

.intro-text {
    font-size: 22px;
    text-align: left;
    line-height: 1.1;
    border-top: 2px solid #332f2f;
    padding-top: 70px;
}

.intro-text p {
    margin-bottom: 26px;
}


/* --------------------------------------------- 
Video
*/

section.video {
    padding-left: 15px;
    padding-right: 15px;
}

.video-container {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
    box-shadow: 0px 0px 5px #ddd;
}

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

/* --------------------------------------------- 
Gallery
*/

.gallery-items {
    padding: 0 15px;
}

.gallery-items li { 
    margin: 8px 6px;
    display: inline-block;   
}

.gallery-items li a {
    display: block;
    box-shadow: 2px 2px 1px #ccc;
    position: relative;
}

.gallery-items li a:after {
    content: "+";
    position: absolute;
    top: 40%;
    right: 0;
    left: 0;
    margin: auto;
    color: #ffffff;
    height: 40px;
    width: 40px;
    border: 2px solid #fff;
    border-radius: 40px;
    font-weight: 300;
    font-size: 36px;
    display: none;
    background-color: #332f2f;
}

.gallery-items li a:hover {
    box-shadow: 2px 2px 3px #999;
}

.gallery-items li a:hover:after {
    display: block;
}

.gallery-items li a:hover img {
    opacity: 0.33;  
    transition: opacity 0.2s;
}

/* --------------------------------------------- 
Footer
*/

footer p {
    line-height: 1.3;
    font-size: 14px;
}

/* --------------------------------------------- 
Responsive
*/

@media screen and (max-device-width : 600px)  {
    h1 {
        font-size: 11vw;
    }
    header h4 {
        font-size: 5vw;
    }
}

@media only screen and (min-device-width: 320px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    .intro-text {
        font-size: 19px;
        line-height: 1.2;
    }
    
    section h2 {
        font-size: 34px;
    }
}
