/*
	- CS theme for Shower presentation template: http://github.com/pepelsbey/shower
	- Created by Simon Jockers: http://github.com/sjockers
	- MIT licensed.
*/

@import url(reset.css);

body {
	font: 25px/1.8 "proxima-nova-alt", "Helvetica Neue", Arial, Helvetica, sans-serif;
	counter-reset: paging;
}

a,
a:link,
a:visited {
  color: #1F8AB6;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: #2fb0d5;
  text-decoration: underline;
}

h1, h2, h3 {
	font-weight: bold;
} 


/* Meta navigation
---------------------------------------- */

.meta {
  height: 24px;
  padding: 8px 0 4px 0;
  font-size: 12px;
  background: #085987;
  color: #FFF;
	padding: ;
}

.meta .container {
	max-width: 1020px;
	margin: 0 auto;
}

.meta a,
.meta a:link,
.meta a:visited {
  display: block;
  width: 192px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: url("ots_logo_meta.png") no-repeat;
  color: #FFF;
  opacity:0.8;
}

.meta a:hover,
.meta a:active,
.meta a:focus {
  opacity:1;
}


/* Slide
---------------------------------------- */
.slide:after {
	counter-increment: paging;
	content: counter(paging, decimal-leading-zero);
}

.slide section {
	padding: 80px 120px 0;
	width: 784px;
	height: 560px;
	background: #FFF;
	color: #222;
}

.slide section:before {
	position: absolute;
	top: 0;
	right: 120px;
	width: 40px;
	height: 120px;
	content: '';
}

/* Header */
.slide header {
	margin: 0 0 58px;
	color: #085987;
	font-size: 1.5em;
	line-height: 1.13;
	text-rendering: optimizeLegibility;	
}

/* Elements */
.slide p {
	margin: 0 0 1em 0;
}

.slide p.note {
	color: #888;
}

.slide .small {
	font-size: 0.6em;
}

.slide b,
.slide strong {
	font-weight: bold;
}

.slide i,
.slide em {
	font-style: italic;
}
.slide kbd,
.slide code {
	padding: 3px 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	background: #FAFAA2;
	color: #000;
	-webkit-tab-size: 4;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	font-family: monospace;
}

/* Quote */
.slide blockquote {
	font-style: italic;
	font-size: 1.5em;
	line-height: 1.13;
}

.slide blockquote:before {
	position: absolute;
	margin: -15px 0 0 -80px;
	color: #CCC;
	font-size: 150px;
	line-height: 1em;
	content: '\201C'; /* ldquo */
}

/* Lists */
.slide ol,
.slide ul {
	margin: 0 0 45px;
	counter-reset: list;
}

.slide ul ul,
.slide ol ul,
.slide ol ol,
.slide ul ol {
	margin: 0 0 0 38px;
}
	
.slide ol > li:before,
.slide ul > li:before {
	position: absolute;
	margin-left: -120px;
	width: 100px;
	color: #BBB;
	text-align: right;
}

.slide ul > li:before {
	content: '\2022'; /* bull */
	line-height:1.1;
	font-size: 40px;
}

.slide ol > li:before {
	counter-increment: list;
	content: counter(list)'.';
}

/* Code */
.slide pre {
	margin: 0 0 45px;
	counter-reset: code;
	white-space: normal;
}

.slide pre code {
	display: block;
	padding: 0;
	background: none;
	white-space: pre;
}

.slide pre code:before {
	position: absolute;
	margin: 0 0 0 -120px;
	width: 110px;
	color: #BBB;
	text-align: right;
	counter-increment: code;
	content: counter(code, decimal-leading-zero)'.';
}

.slide pre mark {
	padding: 3px 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	background: #FAFAA2;
	color: #000;
	font-style: normal;
}

.slide pre .important {
	background: #E04C3E;
	color: #FFF;
	font-weight: normal;
}

.slide pre .comment {
	padding: 0;
	background: none;
	color: #888;
}

/* Cover */
.slide.cover header,
.slide.shout a,
.slide.shout a:visited,
.slide.cover a,
.slide.cover a:visited {
	color: #29f;
}

.slide.cover section {
	background: #000;
	overflow: hidden;
}


.slide.cover section:before {
		display: none;
}

.slide.cover img,
.slide.cover svg,
.slide.cover video,
.slide.cover object {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	height: 100%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
}

.slide.cover.w img,
.slide.cover.w svg,
.slide.cover.w video,
.slide.cover.w object {
	top: 50%;
	left: 0;
	width: 100%;
	height: auto;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}



/* Shout */
.slide.invert header, 
.slide.shout header,
.slide.shout-louder header {
	color: #fff;
	width: 100%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	text-align: center;
}

.slide.invert header.with-bg, 
.slide.shout header.with-bg,
.slide.shout-louder header.with-bg {
	background-color: #286d99;
	background-color: rgba(0,0,0,0.5);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
	/* For IE 8*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";

	padding: 1em 0;
	border-top: solid 1px #666;
	border-bottom: solid 1px #666;
}

.slide.shout section > *:first-child,
.slide.centered section > *:first-child,
.slide.shout-louder section > *:first-child {
	position: absolute;
	top: 50%;
	left: 0;
}

.slide.shout .tagline,
.slide.shout-louder .tagline {
	margin-top: 1.5em;
}

.slide.shout h2,
.slide.shout-louder h2 {
	line-height: 1;
	font-size: 2em;
}

.slide.shout section:before,
.slide.shout-louder section:before {
	display: none;
}

.slide.shout section {
	background: #286d99;
}

.slide.invert section {
	background: #286d99;
	color: #fff;
}


.slide.shout-louder section {
	background: #E04C3E;
}

/* Middle */
.middle {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/* List
---------------------------------------- */

.list .slides {
	width: 1060px;	
	margin: 0 auto;
	padding-bottom: 5em;
	overflow: hidden;
}

/* Caption */
.list .caption {
	text-align: center;
	color: #085987;
	line-height: 1.13;	
}

.list .caption h1 {
	font-size: 2em;
	line-height: 1em;
	margin: 1.5em 0 .2em 0;
	font-weight: bold; 
}

/* Slide */
.list .slide {
	position: relative;
	float: left;
	margin: 0 25px;
	padding: 80px 0 0;
}

.list .slide:after {
	position: absolute;
	bottom: -45px;
	left: 0;
	color: #3C3D40;
	line-height: 1;
	font-weight: bold;
	font-size: 25px;
}

.list .slide > div {
	position: relative;
	overflow: hidden;
	width: 480px;
	height: 300px;
	box-shadow: 0 0 15px #717379;
	border-radius: 1px;
	background: rgba(0, 0, 0, 0.3);
}

.list .slide > div:hover {
	cursor: pointer;
	box-shadow: 0 0 40px #4C4E53;	
}

.list .slide:target > div {
	box-shadow: 
		0 0 0 10px 
		rgba(60, 61, 64, 0.6), 0 0 50px #3C3D40;
}

.list .slide section {
	-webkit-transform-origin: 0 0;
	-webkit-transform: scale(0.46875);
	-moz-transform-origin: 0 0;
	-moz-transform: scale(0.46875);
	-ms-transform-origin: 0 0;
	-ms-transform: scale(0.46875);
	-o-transform-origin: 0 0;
	-o-transform: scale(0.46875);
	transform-origin: 0 0;
	transform: scale(0.46875);
}

.list .slide section:after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: '';
}

.bottomed {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #286d99;
	background-color: rgba(0,0,0,0.5);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
	/* For IE 8*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";

	padding: 1em 0 0 2em;
	border-top: solid 1px #666;
}

.attribution {
	position: absolute;
	right: 30px;
	bottom: 0.1em;
	font-size: 0.5em;
	color: white;
	opacity: 0.6;
}

/* Medium sized viewports */
@media all and (max-width:1060px) {

	.meta {
		padding-left: 20px;
	}

	.list .slides {
		width: 920px;
	}

	.list .slide > div {
		width: 256px;
		height: 160px;
	}

	.list .slide section {
		-webkit-transform: scale(0.25);
		-moz-transform: scale(0.25);
		-ms-transform: scale(0.25);
		-o-transform: scale(0.25);
		transform: scale(0.25);
	}

}

/* Small viewports */
@media all and (max-width: 920px) {

	.list .caption {
		font-size: .9em;
	}
	
	.list .slides {
		width: 625px;
	}

}


/* Even smaller viewports */
@media all and (max-width: 625px) {

	.list .caption {
		font-size: .8em;
	}

	.list .slides {
		width: 310px;
	}

}


/* Full
---------------------------------------- */
.full {
	position: absolute;
	top: 50%;
	left: 50%;
	overflow: hidden;
	margin: -320px 0 0 -512px;
	width: 1024px;
	height: 640px;
	background: #000;
}

.full .meta,
.full .caption {
	display: none;
}

.full .slide {
	position: absolute;
	visibility: hidden;
}

.full .slide:target {
	visibility: visible;
}

.full .slide:after {
	position: absolute;
	bottom: 85px;
	left: 120px;
	color: #BBB;
	line-height: 1;
}

.full .slide section {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.full .slide.cover {
	z-index: 1;
}

.full .slide.cover:after,
.full .slide.shout:after {
	content: '';
}

/* Progress bar */

.full .progress {
	position: absolute;
	right: 118px;
	bottom: 49px;
	left: 118px;
	border-radius: 7px;
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.full .progress div {
	width: 0;
	height: 10px;
	border-radius: 5px;
	background: rgba(177, 177, 177, 0.4);
	-webkit-transition: width 0.2s linear;
	-moz-transition: width 0.2s linear;
	-ms-transition: width 0.2s linear;
	-o-transition: width 0.2s linear;
	transition: width 0.2s linear;
}

.full .progress-off {
	z-index: 1;
}
