body {
  font: 16px "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px; top: 0px;
  background: #654;
  overflow: hidden;
}

.slides li {
	font-size: 36px;
}

.slides h1, .slides h2 {
  margin: 0.5em 0;
  font-size: 50px;
}

.slides h3 {
  margin: 0.25em 0;
  font-size: 30px;
}

.presentation {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
  display: block;
  overflow: hidden;
  background: inherit;
}

.slides {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  display: none;
  -webkit-transition: -webkit-transform 1s ease-in-out;
  -moz-transition: -moz-transform 1s ease-in-out;
  -o-transition: -o-transform 1s ease-in-out;
  transition: transform 1s ease-in-out;
}

.slide {
  display: none;
  position: absolute;
  overflow: hidden;
  width: 900px;
  height: 700px;
  left: 50%;
  top: 50%;
  margin-top: -350px;
  background-color: black;
  background: url(../imgs/background_bottom.png) bottom left no-repeat, 
		url(../imgs/background_top_right.png) top right no-repeat,
		url(../imgs/valtech-days_small.png) 96% 95% no-repeat,
		black;
	-webkit-box-shadow: 0 5px 8px rgba(0, 0, 0, .2);
	-webkit-transition: margin 0.25s ease-in-out;
	-moz-transition: margin 0.25s ease-in-out;
	-o-transition: margin-left 0.25s ease-in-out;
	transition: margin 0.25s ease-in-out;
}

.slide:nth-child(even) {
  -moz-border-radius: 20px 0;
  -khtml-border-radius: 20px 0;
  border-radius: 20px 0; /* includes Opera 10.5+ */
  -webkit-border-top-left-radius: 20px;
  -webkit-border-bottom-right-radius: 20px;
}

.slide:nth-child(odd) {
  -moz-border-radius: 0 20px;
  -khtml-border-radius: 0 20px;
  border-radius: 0 20px;
  -webkit-border-top-right-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
}

.slide p, .slide textarea {
  font-size: 36px;
}

.slide .counter {
  color: #AAA;
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: block;
  font-size: 12px;
}

.slide.title > .counter,
.slide.segue > .counter,
.slide.mainTitle > .counter {
  display: none;
}

.slide.transitionSlide h2 {
  font-size: 60px;
  margin: 0;
  line-height: 10px;
  font-variant: small-caps;
}
.slide.transitionSlide p {
  margin: 0;
}
.slide.transitionSlide img {
	margin: 3em;
}

.vbox {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-box-align: stretch;

  display: -moz-box;
  -moz-box-orient: vertical;
  -moz-box-align: stretch;

  display: box;
  box-orient: vertical;
  box-align: stretch;
}

.hbox {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-align: stretch;

  display: -moz-box;
  -moz-box-orient: horizontal;
  -moz-box-align: stretch;

  display: box;
  box-orient: horizontal;
  box-align: stretch;
}

.flex {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
}

.noflex {
  -webkit-box-flex: 0;
  -moz-box-flex: 0;
  box-flex: 0;
}

.boxcenter {
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
}

.slide.far-past {
  display: block;
  margin-left: -2400px;
}

.slide.past {
  visibility: visible;
  display: block;
  margin-left: -1400px;
}

.slide.current {
  visibility: visible;
  display: block;
  margin-left: -450px;
}

.slide.future {
  visibility: visible;
  display: block;
  margin-left: 500px;
}

.slide.far-future {
  display: block;
  margin-left: 1500px;
}

body.three-d div.presentation {
  /*background: -webkit-gradient(radial, 50% 50%, 10, 50% 50%, 1000, from(#333), to(#000));        */
}

body.three-d div.slides {
  -webkit-transform: translateX(50px) scale(0.8) rotateY(10deg);
  -moz-transform: translateX(50px) scale(0.8) rotateY(10deg);
  -o-transform: translateX(50px) scale(0.8) rotateY(10deg);
  transform: translateX(50px) scale(0.8) rotateY(10deg);
}

/* Content */
/*
  Font sizes:
  header h1 - 50px
  h2, p - 20px
  default, pre, input - 16px
*/

@font-face { font-family: 'Inconsolata'; src: url('/src/fonts/inconsolata/Inconsolata.ttf'); }

@font-face {
	font-family: 'JunctionRegular';
	src: url('/src/fonts/junction02/junction02-webfont.eot');
	src: local('☺'), url('/src/fonts/junction02/junction02-webfont.woff') format('woff'), url('/src/fonts/junction02/junction02-webfont.ttf') format('truetype'), url('/src/fonts/junction02/junction02-webfont.svg#webfontwzJOjWvv') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'LeagueGothicRegular';
	src: url('/src/fonts/leaguegothic/leaguegothic-webfont.eot');
	src: local('☺'), url('/src/fonts/leaguegothic/leaguegothic-webfont.woff') format('woff'), url('/src/fonts/leaguegothic/leaguegothic-webfont.ttf') format('truetype'), url('/src/fonts/leaguegothic/leaguegothic-webfont.svg#webfontWgfhmMGx') format('svg');
	font-weight: normal;
	font-style: normal;
}

header {
  font-family: 'Arial';
  letter-spacing: -.03em;
  text-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
  font-weight: normal;
  letter-spacing: -.05em;
  color: white;
  position: absolute;
  left: 30px;
  top: 25px;
  margin: 0;
  padding: 0;
  font-size: 50px;
}

h1 {
  letter-spacing: -.05em;
  font-family: 'Arial';
  font-size: 100%;
  color: white;
  display: inline;
  font-weight: normal;
  padding: 0;
  margin: 0;
}

h2 {
  font-family: 'Arial';
  color: #EF851E;
  font-size: 20px;
  padding: 0;
  margin: 15px 0 5px 0;
}
      
h2:first-child {
  margin-top: 0;
}

section, footer {
  font-family: 'Arial';
  color: white;
  text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
  margin: 50px 30px 0;
  display: block;
  overflow: hidden;
}

footer {
  font-size: 12px;
  margin: 20px 0 0 30px;
}

a {
  color: inherit;
  display: inline-block;
  text-decoration: none;
  line-height: 110%;
  border-bottom: 2px solid #3f3f3f;
}

li {
  list-style: square;
  padding: 10px 0;
}

button {
  font-size: 20px;
}

.summary {
  font-size: 30px;
}

section.middle {
  line-height: 68px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  height: 700px;
  width: 900px;
}

pre {
  font-family: 'Inconsolata', Courier;
  letter-spacing: 1px;  
  background: white;
  border: 1px solid rgba(255, 64, 0, 0.2);    
  text-align: left;
  font-family: 'Droid Sans Mono', Courier;
  padding: 10px 20px;
  -webkit-border-radius: 8px;
  -khtml-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 95%;
}

pre select {
  font-family: Monaco, Courier;
  border: 1px solid #c61800;
}
  
input {
  font-size: 16px;
  margin-right: 10px;
  font-family: Helvetica;
  padding: 3px 5px;
}
input[type="range"] {
  width: 100%;
}

button {
  font-family: Verdana;
}

button.large {
  font-size: 32px;
}
  
pre b {
  font-weight: normal;
  color: #c61800;
  text-shadow: #c61800 0 0 1px;
  /*letter-spacing: -1px;*/
}
pre em {
  font-weight: normal;
  font-style: normal;
  color: #18a600;
  text-shadow: #18a600 0 0 1px;
}
pre input[type="range"] {
  height: 6px;
  cursor: pointer;
  width: auto;
}

div.example {
  display: block;
  padding: 10px 20px;
  color: white;
  background: rgba(255, 255, 255, 0.4);
  -webkit-border-radius: 8px;
  -khtml-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

video, audio {
  border: 1px solid rgba(255, 255, 255, 255);
}

.css, .js, .html, .manifest, .svg, .webgl, .key {
  font-family: 'Arial';
  color: black;
  display: inline-block;
  padding: 6px 10px 3px 10px;
  font-size: 25px;
  line-height: 30px;
  text-shadow: none;
  letter-spacing: 0;
  bottom: 10px;
  position: relative;
  -moz-border-radius: 10px;
  -khtml-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
  -o-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
  margin: 0 5px 5px 0;
  bottom: 4px;
}

.html {
  background: url(../imgs/html.png) 99% 4px no-repeat, 
	-webkit-gradient(linear, left top, left bottom, from(#eef), to(#ccf)), #eef;
  background: url(../imgs/html.png) 99% 4px no-repeat, 
	-moz-linear-gradient(left top, #eef, #ccf), #eef;
}
.css {
  background: url(../imgs/css.png) 99% 4px no-repeat, 
	-webkit-gradient(linear, left top, left bottom, from(#efe), to(#C9F8A4)), #efe;
  background: url(../imgs/css.png) 99% 4px no-repeat, 
	-moz-linear-gradient(left top, #efe, #C9F8A4), #efe;
}
.js {
  background: url(../imgs/js.png) 99% 4px no-repeat, 
	-webkit-gradient(linear, left top, left bottom, from(#ffa), to(#ffc)), #ffa;
  background: url(../imgs/js.png) 99% 4px no-repeat, 
	-moz-linear-gradient(left top, #ffa, #ffc), #ffa;
}
.manifest {
  background: url(../imgs/mf.png) 99% 4px no-repeat, 
  	-webkit-gradient(linear, left top, left bottom, from(#eee), to(#D9D9D9)), #eee;
  background: url(../imgs/mf.png) 99% 4px no-repeat, 
  	-moz-linear-gradient(left top, #eee, #D9D9D9), #eee;
}
.svg {
  background: url(../imgs/svg.png) 99% 4px no-repeat, 
  	-webkit-gradient(linear, left top, left bottom, from(#fdd), to(#FFC0C0)), #fdd;
  background: url(../imgs/svg.png) 99% 4px no-repeat, 
  	-moz-linear-gradient(left top, #fdd, #FFC0C0), #fdd;
}
.webgl {
  background: url(../imgs/webgl.png) 99% 4px no-repeat, 
  	-webkit-gradient(linear, left top, left bottom, from(#fdd), to(#FFC0FA)), #fdd;
  background: url(../imgs/webgl.png) 99% 4px no-repeat, 
  	-moz-linear-gradient(left top, #fdd, #FFC0FA), #fdd;
}

.two-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

.stroke {
  -webkit-text-stroke-color: red;
  -webkit-text-stroke-width: 1px;
} /* currently webkit-only */

.center {
  text-align: center;
}

#presentation-counter {
  color: #ccc;
  font-size: 100px;
  letter-spacing: 1px;
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  text-align: center;
}

#websocketConnectionImage {
	display: none;
	position: absolute;
	bottom: 5px;
	right: 15px;
	z-index: 1000;
}

#websocketMasterImage {
	display: none;
	position: absolute;
	bottom: 25px;
	right: 15px;
	z-index: 1000;
}
