/* ==== Scroll down to find where to put your styles :) ==== */


/* 	HTML5 Boilerplate
 
	html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
	v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

/* End of Reset CSS 

fonts.css from the YUI Library: developer.yahoo.com/yui/ */

body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/* 
 * HTML5 Boilerplate - minimal base styles 
 */

body, select, input, textarea { 
  color: #444; 
  font-family: Georgia, serif;  
}
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }
ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; } 
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { 
  padding: 15px; 
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

/* By default the selection color is pink */
::-moz-selection{ background: #f696a2; color:#fff; text-shadow: none; }
::selection { background:#f696a2; color:#fff; text-shadow: none; } 
a:link { -webkit-tap-highlight-color: #f696a2; } 
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

/*
    // ========================================== \\
   ||                                              ||
   ||               Your styles !                  ||
   ||                                              ||
    \\ ========================================== //
*/

/* =Global 
-----------------------------------------------*/
body, html {
  background:#fff;
  color:#444;
}

header,footer,aside,article,section {
  display:block;
}

aside video {

}

h1{
  font-size:1.125em;
  font-style: italic;
  line-height: 1.4em;
}

h2 {
	font-size:1em;
	font-style: italic;
	line-height: 1.4em;	
}

h2 span {
	color: #999;
	font-weight: normal;
}

section h1{
  font-size: 1.5em;
  color: #999;
	text-shadow: 0px 0px 12px rgba(0,0,0,0.3);
  
}

footer p {
	padding-right: 42px;
	font-size: 0.75em;
	font-style:italic;
	text-align: center;
	
}

p,li{
  color:#333;
  font-size:18px;
  line-height:1.3em;
  padding-bottom:.5em;
}

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

header {
	position: absolute;
	right: 0;
	top: 230px;
	width: 384px;
		
}

#container{
  position:relative;
  margin: 0 auto;
  width: 970px;

}

#main {
	margin: 10px 0 10px;
	height: 398px;	
	overflow: hidden;
}

/* Video */

aside#video {
	clear: both;
	float: right;
	margin: 0 0 10px 10px;
  width:384px;
  height:216px;

}

video{
	position: relative;
	z-index: 1;
  display:block;
  width:384px;
  height:216px;
}

#stage{padding:2em;}

#time{padding:1em 0;font-size:18px;}



/* Sections/slides */

section {
	/* [disabled]float: left; */
	position: relative;
	margin: 0;
	width: 530px;
	height: 398px;	  
}

.js section {
	  position: absolute;
	  left: -9999px;
	  float: none;
	  
}

.js section.current{
  	position: relative;
	  left: 0;
 
}

section p {
  position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

section img {
	width: 550px;
	height: 412px;
	
	
}

/* Slides */

nav#thumbnails {
	/* hide until video can play */
	display: none;
	clear: both;
	position: relative;
	margin: 0;
	padding: 0;	
	overflow: hidden;
}

.js nav#thumbnails {
	/* Show when video can play */
	display: block;
}

nav#thumbnails ul {
	margin: 0;
	list-style-type: none;
}

nav#thumbnails img {
	width: 160px;
	height: auto;	
}

#thumbnails ul {
 	margin: 0;
 	padding: 0;
 	border: 0;
	position: relative;
	overflow: hidden;
	left: 0;
	width: auto;
	z-index: 1;
}


#thumbnails li {
	float: left;
	width: 160px;
	margin: 0 5px 0 0;
	padding: 0;
	display: inline;
}

#thumbnails img {
	border: 0;
}

#thumbnails .back a,
#thumbnails .next a {
	width: 100%;
	height: 100%;
	display: none;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
}
 
#thumbnails .next, #thumbnails .back {
	position: absolute;
	top: 40px;
	right: 18px;
	width: 36px;
	height: 36px;
	z-index: 2;
}

#thumbnails .back {
	left: 18px;
}

/* Social media Links */

aside#video h3 {
	position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  }


aside#video ul {
	margin: 0;
	padding: 0 0 0 369px; 
	list-style-type: none;
	overflow: hidden;
	width: 111px;
	height: 36px;
	background: #e5e5e5;
	
}

aside#video ul li {
	float: left;
	width: 36px;
	height: 36px;
	border-left: 1px solid #fff;
	
}	

aside#video ul li a {
	display: block;
	width: 100%;
	height: 100%;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
		
}

/* Footer */

footer {
	clear: both;	
}




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

p a {font-size:100%;color:#666;font-weight:bold;text-decoration:none;}
p a:hover{color:#fff;background:#f696a2;}
p.next a {
	background: #999 url(../img/sprites.png) -108px 0 no-repeat;
}
p.back a {
	background: #999 url(../img/sprites.png) -108px -36px no-repeat;
}
p.next a:hover, p.back a:hover, p.next a:active, p.back a:active, p.next a:focus, p.back a:focus {
	background-color: #666; 
}

/* Social media */
a.fb {
	background: #e5e5e5 url(../img/sprites.png) 0px 0px no-repeat;
}
a.tw {
	background: #e5e5e5 url(../img/sprites.png) -36px 0px no-repeat;
}
a.ln {
	background: #e5e5e5 url(../img/sprites.png) -72px 0px no-repeat;
}
a.fb:hover, a.fb:active, a.fb:focus {
	background: #666 url(../img/sprites.png) 0px -36px no-repeat;
}
a.tw:hover, a.tw:active, a.tw:focus {
	background: #666 url(../img/sprites.png) -36px -36px no-repeat;
}
a.ln:hover, a.ln:active, a.ln:focus {
	background: #666 url(../img/sprites.png) -72px -36px no-repeat;
}
a.jumptime, a.jumptime:hover, a.jumptime:active, a.jumptime:focus {cursor: pointer;}



/*
 *  CSS3 Media queries
 */
@media only screen and (device-width:768px)and (orientation:portrait) {
	body, html {
  background:#fff;
  color:#444;
}

header,footer,aside,article,section {
  display:block;
}

aside video {

}

h1{
  font-size:1.125em;
  font-style: italic;
  line-height: 1.4em;
}

h2 {
	font-size:1em;
	font-style: italic;
	line-height: 1.4em;	
}

h2 span {
	color: #999;
	font-weight: normal;
}

section h1{
  font-size: 1.5em;
  color: #999;
	text-shadow: 0px 0px 12px rgba(0,0,0,0.3);
  
}

footer p {
	padding-right: 42px;
	font-size: 0.75em;
	font-style:italic;
	text-align: right;
	
}

p,li{
  color:#333;
  font-size:18px;
  line-height:1.3em;
  padding-bottom:.5em;
}

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

header {
	position: absolute;
	right: 0;
	top: 319px;
	width: 400px;
		
}

#container{
  position:relative;
  margin: 0 auto;
  width: 970px;

}

#main {
	margin: 10px 0 10px;
	height: 398px;	
	overflow: hidden;
}

/* Video */

aside#video {
	clear: both;
	float: right;
	margin: 0 0 10px 10px;
  	width: 384px;
	 min-height: 216px;

}

video{
	position: relative;
	z-index: 1;
  display:block;
  width:400px;
  height:272px;
}

#stage{padding:2em;}

#time{padding:1em 0;font-size:18px;}



/* Sections/slides */

section {
	/* [disabled]float: left; */
	position: relative;
	margin: 0;
	width: 530px;
	height: 398px;	  
}

.js section {
	  position: absolute;
	  left: -9999px;
	  float: none;
	  
}

.js section.current{
  	position: relative;
	  left: 0;
 
}

section p {
  position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

section img {
	width: 100%;
	height: 100%;
	
	    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.20)
	
}

/* Slides */

nav#thumbnails {
	/* hide until video can play */
	display: none;
	
	clear: both;
	position: relative;
	margin: 0;
	padding: 0;	
	overflow: hidden;
}

.js nav#thumbnails {
	/* Show when video can play */
	display: block;
}

nav#thumbnails ul {
	margin: 0;
	list-style-type: none;
}

nav#thumbnails img {
	width: 160px;
	height: auto;	
}

#thumbnails ul {
 	margin: 0;
 	padding: 0;
 	border: 0;
	position: relative;
	overflow: hidden;
	left: 0;
	width: auto;
	z-index: 1;
}


#thumbnails li {
	float: left;
	width: 160px;
	margin: 0 5px 0 0;
	padding: 0;
	display: inline;
}

#thumbnails img {
	border: 0;
}

#thumbnails .back a,
#thumbnails .next a {
	width: 100%;
	height: 100%;
	display: none;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
}
 
#thumbnails .next, #thumbnails .back {
	position: absolute;
	top: 40px;
	right: 18px;
	width: 36px;
	height: 36px;
	z-index: 2;
}

#thumbnails .back {
	left: 18px;
}

/* Social media Links */

aside#video h3 {
	position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  }


aside#video ul {
	margin: 0;
	padding: 0 0 0 369px; 
	list-style-type: none;
	overflow: hidden;
	width: 111px;
	height: 36px;
	background: #e5e5e5;
	
}

aside#video ul li {
	float: left;
	width: 36px;
	height: 36px;
	border-left: 1px solid #fff;
	
}	

aside#video ul li a {
	display: block;
	width: 100%;
	height: 100%;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
		
}

/* Footer */

footer {
	clear: both;	
}
}


@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
