@import url(http://fonts.googleapis.com/css?family=Open+Sans|Audiowide);

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

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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


body {
    font-family: 'Open Sans', sans-serif;
}

a:link, a:visited, a:hover, a:active { color: #447a6f; }

a:link, a:visited { text-decoration: none; }
a:hover, a:active { text-decoration: underline; }


#container {
	margin: 0 auto; 
    width: 100%; 
    max-width: 1920px; 
    position: absolute; 
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

#container, header h1, footer {
	background: url('../img/neves.jpg') no-repeat fixed top;
	background-size: cover;
}

header h1, footer {
	text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

#home {
	background: #ddd;
	min-height: 500px;
    margin: 0 auto;
    min-width: 500px;
    max-width: 920px;
	padding: 10px;
}

header h1, footer {
	vertical-align: bottom;
	margin: 0;
	padding: 5px;
	line-height: 100%;
    font-weight: normal;
	color: #ddd;
	text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

header h1, footer, .thumb img {
	border-radius: 10px;	
}

header h1 {
/*	padding-top: 100px;*/
	font-family: 'Audiowide';
    text-align: center;
    font-size: 100px;
}

footer {
	text-align: center;
	padding-bottom: 100px;
}

.thumb {
    position: absolute;
    width: 200px;
    height: 200px;
}

.thumb div.button {
	background: url('../img/play_button.png') no-repeat;
	background-size: contain;	
	position: absolute;
	display: none;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 25px;
}

.thumb a {
	position: absolute;
	top: 5px;
	left: 5px;
	right: 0;
	bottom: 0;
	background-repeat:no-repeat;
	background-position:top;
    background-size: contain;
	font-family: Helvitica, sans-serif;
	color: #555;
	font-size: 90%;
	text-align: center;
	text-shadow: 0 1px 4px rgba(0,0,0,.1);
}		

.thumb img {
	box-shadow: 0 1px 4px rgba(0,0,0,.1);
	display: block;	
}

#thumbnails {
	position: relative;
	margin: 1em 0 50px -5px;
	padding: 0;
	list-style: none;
	min-height: 200px;
}

#thumbnails li {
	display: inline;
	margin: 0;
	padding: 0;
}

#player {
	padding: 0;
	margin-bottom: 50px;
	list-style: none;
}

#player .player {
	display: none;
	min-height: 300px;
}

#player .player a.thumb { display: none;}

footer {
	position: relative;
	padding: 0 0 2px 0;
}

#contact, #copy {
/*	background-color: rgba(100,0,50,.3);*/
	width: 49%;
	font-size: 70%;
}

#contact {
	text-align: left;
	margin-left: 50%;
	padding-top: 15px;
/*	margin-bottom: 10px;*/
}

#contact label > span {
	display: none;
}

#contact h3 {
	display: inline-block;
	padding: 2px;
	font-weight: normal;
}

label {
	padding: 0;
	margin: 0;
	display: inline;
}

#contact input, #contact textarea {	
	margin: 0 0 0 2px;
	padding: 7px;
	color: #999999;
	border: 1px solid #E5E5E5;
	box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

#contact input {
	width: 40%;
}

#contact textarea {
	width: 85%;
	min-height: 100px;
}

#mail-status {
	display: none;
	z-index: 100;
	float: right;
	padding: 6px 1.3em;
	margin: 2px;
	margin-right: 50px;
	color: #ddd;
	border-radius: 4px;
	box-shadow: 0 0 4px rgba(255,255,255,.1);
	
}

.error { background-color: rgba(255,0,0,.7); }

.success { background-color: rgba(0,255,0,.7); }

#contact input[type=submit] {
	background: none;
	width: auto;
	margin: 2px;
	padding: 5px 1.3em;
	border-radius: 4px;
	background-color: rgba(30,30,30,.4);
}

#contact input[type=submit]:hover {
	background-color: rgba(80,80,80,.4);
}

#contact label.furl {
	display: none;
}

#copy {
	position: absolute;
	top: 15px;
	left: 5px;
}

#copy > img {
/*	box-shadow: 0 0 2px rgba(255,255,255,.1);*/
/*	border-radius: 5px;*/
}





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

/*
 * Image replacement
 */

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

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

/*
 * 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;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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 {
        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;
    }
}

/* ==========================================================================
   iOS Styles
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {
	#container, header h1, footer {
		background: url('../img/neves.jpg') no-repeat fixed center;
		background-size: cover;
	}

	a.thumb {
		vertical-align: top;
		width: 220px;
		height: 260px;
	}

	a.thumb img {
		width: 215px;
	}
}

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
	body {
	    font-size: 200%;
	}

	header h1 {
		font-size: 90px;
	}

	#container, header h1, footer {
		background: url('../img/neves.jpg') no-repeat fixed center;
		background-size: 110%;
	}
	

	li.thumb {
		font-size: 20px;
	}

}
