@charset "UTF-8";
/* CSS Document 
brown: C7573A
blue: BDD9D5;
*/
div, li, a, p, pre {
	background-repeat: no-repeat;
}
[contenteditable] {-webkit-user-modify: read-write-plaintext-only;}
body {
  font-size: 20px;
  font-family: Lato, Tahoma, Geneva, sans-serif;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px; top: 0px;
  background-image:url(../page-bg.jpg);
  background-repeat:repeat;
}

#info {
  font-size: small;
  position: absolute;
  bottom: 0px;
  left: 40%;
  z-index: 500;
}

#topinfo {
  font-size: small;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 500;
}

.key {
  color: black;
  display: inline-block;
  padding: 3px 3px 3px 3px;
  text-shadow: none;
  letter-spacing: 0;
  position: relative;
  background: white;
}

#next, #back {z-index: 1000; position: absolute; top:0; left:0; list-style-type:none;}
#next {left:auto; right: 0;}
#presentation {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
  display: block;
  overflow: hidden;
}

.slides {
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  display: block;
  -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;

  /* so it's visible in the iframe. */
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}

.slide {
  position: absolute;
  overflow: hidden;
  width: 900px;
  height: 700px;
  left: 50%;
  top: 50%;
  margin-top: -350px;
  background-color: #eee;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  padding-left: 20px;
  padding-top: 10px;
  border: 10px solid #BDD9D5;
}

.slide.intro {
  text-align: center;
  font-size: 200%;
}

.slide.intro hgroup {
  margin-top: 200px;
}

.content {
  font-size: 140%;
}

.content input, button {
  font-size: 140%;
}

.content td {
   border: 1px solid black;
}

.invalid {
  background-color: red;
}

.slide.section,.slide.intro {
  text-align: center;
}

.slide.section,.slide.intro header {
  font-size: 200%;
}

.slide li {
  margin-bottom: 10px;
}

.slide img {
  max-height: 90%;
  text-align: center;
}


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

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

.force-render {
  display: block;
  visibility: hidden;
}
.slide,
.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.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);
}

/* ############################

    BROWSER SUPPORT & ICONS   

   ############################ */

	
	
.icons li, .icons .browser {
			width: 68px; height: 14px; display: inline-block;
			background-image:url(browser_logos-64.png);	
			border-radius: 32px;
			font-size: 10px;
			padding-top: 60px;
			text-align:center;
			position: relative;
			background-repeat: no-repeat;
		}
		.icons .firefox {background-position:-80px 0}
		.icons .ie {background-position:-280px 0}
		.icons .safari {background-position:-210px 0}
		.icons .chrome {background-position:0 0 }
		.icons .opera {background-position:-140px 0}
		.icons .new:after {
			content: "";
			width: 40px;
			height: 28px;
			display:block;
			position:absolute;
			top: -8px;
			right:-10px;
			background-image:url(new.gif);
		}
		.icons .no {opacity: 0.25;}
		.icons .bad,
		.icons .iffy {opacity: 0.60;}
		.icons .bad {
			margin-right: 10px;
			margin-left: 10px;
		}
		.icons .bad:after {
			position:absolute;
			top: -10px;
			left:-15px;
			content: "";
			-webkit-box-sizing: padding-box;
			background: 
				-webkit-linear-gradient(135deg, 
					transparent 45%,
					red 45%,
					red 55%,
					transparent 55%);
			width: 68px;
			height: 68px;
			border-radius: 50%;
			border: 10px solid red;
			display:block;	
		}
		
		.icons .half:after {
			position:absolute;
			top: 0;
			right:0;
			content: "";
			background-color: #DCe7f3;
			width: 33px;
			border-radius: 0 0 50% 0;
			height: 65px;
			display:block;	
		}
		.icons .half.new:after {
			background-repeat: no-repeat;
			background-color:transparent;
			background-image:url(new.gif) ,
			-webkit-linear-gradient(0deg, transparent 30%, #DCe7f3 30%)    ;
			background-image:url(new.gif) ,
			-moz-linear-gradient(0deg, transparent 30%, #DCe7f3 30%)    ;
			background-image:url(new.gif) ,
			-ms-linear-gradient(0deg, transparent 30%, #DCe7f3 30%)    ;
			background-image:url(new.gif) ,
			-o-linear-gradient(0deg, transparent 30%, #DCe7f3 30%)    ;
			background-image:url(new.gif) ,
			linear-gradient(0deg, transparent 30%, #DCe7f3 30%)    ;
			width: 40px;
			
		}
		.icons .txt {background-image: none; width: auto; font-size: 18px;}


/* Content */
header {
  font-weight: normal;
  letter-spacing: -.05em;
  text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
  left: 30px;
  top: 25px;
  font-size: 140%;
}

h1 {
  font-size: 140%;
  margin-bottom: 0px;
  color: #C7573A;
  text-align:center;
}

h2 {
  font-size: 90%;
}

h1:first-child {
  margin-top: 0;
}

section, footer {
  text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
  margin: 20px 30px 0;
  display: block;
  overflow: hidden;
}

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

a {
  color: #C7573A;
  display: inline-block;
  text-decoration: none;
  line-height: 110%;
  border-bottom: 2px dotted #BDD9D5;
}

pre, .ex, .pre, .codelike {
  text-align: left;
  font-size: 80%;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.6);
  -moz-border-radius: 8px;
  border-radius: 8px;
  border: 1px solid #fff;
}
	.ex.right {
		float: right;
		width: 200px;	
	}
	.pre li{
		font-family: monospace;
		font-size: 130%;
		list-style-type: none;
	}
	.preintro pre {
		font-size: 1.5em;
		margin: 30px 20px 0 0;	
		line-height: 1.5;
	}

pre b, .pre b, .imp {
  font-weight: normal;
  color: #C7573A;
  text-shadow: #c61800 0 0 1px;
  /*letter-spacing: -1px;*/
}

pre em {
  font-weight: normal;
  font-style: normal;
  color: #C7573A;
  text-shadow: rgba(0,0,0,0.3) 1px 1px 2px;
  font-weight: bold;
}

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

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

div:not(.current).reduced {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}

.no-transitions {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}

.no-gradients {
  background: none;
  background-color: #fff;
}
dt {
	font-weight: bold;
	margin-top: 0.5em;
	background-color: #BDD9D5;;
	display:inline-block;
	margin-bottom: 2px;
	clear: both;
}
dd {
	font-weight: normal;
	margin: 0 0 2px 0;	
}

dl.inline dt {
	width: 200px;
	float: left;
	text-align: right;
	padding-right: 15px;
	clear:both;
	margin: 0 0 2px 0;
}
dl.inline dd{
	font-style: italic;
}
.light section {
	font-size: 180%;	
}

.new:not(li) {color: #C7573A; background-color: #fff; padding: 3px 8px;}
ul.columns {
	-webkit-column-count: 4;
	font-size: 80%;
	margin: 40px -40px 0;
}
.play h1 {
	 text-align:center; 
	 margin-top:100px;
	 font-size: 2em;
}
.play {text-align: center;}
.columns2 {
	-webkit-columns: 2 1em;
	-webkit-column-rule: 1px solid #BDD9D5;	
}

.hilite {font-size: 120%; padding:5px 2px;}

.specificity li{
	display: inline-block;
	width: 200px;
	padding-bottom: 180px;
	background-position: 50% bottom;
	text-align:center;
	font-size: 1.5em;
	border-radius: 15px;
	background-color: #fff;	
	margin: 0 30px;
}
.nonspec li {padding-bottom: 0;}
.specificity .id {
	background-image:url(../img/shark.gif);
}
.specificity .class {
	background-image:url(../img/fish.png);	
}
.specificity .element {
	background-image:url(../img/plankton.png);	
}
.object header {position:absolute; top: 10px; width: 100%; text-align:center; background-color: rgba(255,255,255,0.9); left:0;}
.objectlink {position:absolute;top:0; right:0;color: white; background-color: #C7573A; padding: 3px 5px; border: none;}
.slide.object {padding:0;}
.object object {width: 100%; height: 100%;}

.deprecated dt {margin-bottom: 1em;}
.deprecated dd {display: none;}
.deprecated dt:hover + dd {display:inherit;}
.appearance dt {margin-bottom:0.5em;}
.deprecated.listed dt {margin-bottom:0; margin-top:0.2em; display:block; width: 50%; padding-left: 5px;
}
.deprecated.listed.wide dt{width:100%;}

button, .button { 
	-webkit-appearance: none;
	color: #333;
	font-size: 20px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	background: -webkit-linear-gradient(#fff, #ddd);
	border-radius: 15px;
	border: none;
	padding: 5px 10px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);		
}
button:hover {
	background: -webkit-linear-gradient(#ddd, #fff);
}
.slide.object section {margin-top:100px;}
td {text-align:center;}
[contenteditable]:focus {outline: 1px dashed #fff;}
section > ol {-webkit-margin-start: 2em;}

/* Forms */
.column, .columns3 {
-webkit-column-count: 2;
-moz-column-count: 2;
-o-column-count: 2;
column-count: 2;
-webkit-column-gap: 20px;
-moz-column-gap: 20px;
-o-column-gap: 20px;
column-gap: 20px;
text-align: left;
}

.columns3 {

-webkit-column-count: 3;
-moz-column-count: 3;
-o-column-count: 3;
column-count: 3;	
}

/* what is html5 */
#components section .col {
width: 280px;
float: left;
}
#components section div.even {
background-color: hsl(210, 91%, 91%);
}
#components section div div {
background-color: hsl(212, 50%, 80%);
border-radius: 10px;
margin-bottom: 25px;
width: 260px;
}
#components p {
margin: 0;
padding: 0;
line-height: 1;
text-align: center;
-webkit-margin-after: 0;
}#components section div ul {
margin: 0 10px;
}#components section div li {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 18px;
margin: 0;
}

/* Doctype */
		.booOff .boo {display:none;}
		.booshow .boo {color: #C7573A;}
/* Semantic elements */

#semels > div:first-of-type {margin: auto; width: 700px;}
		#semels div {border: 2px solid #C7573A; text-align:center; width: 100%; padding:5px; margin: 5px 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;}
		#semels div .divaside {float: left; width: 30%; height:8em;}
		.divmain , .divarticle{float: left; width: 100%;}
		#semels .divarticle {width: 69%;float: right;}
		.divfooter {clear:both;}
		
form input:focus:invalid:not([type=submit]):not([type=range]):not([type=search])  { background-color: lightPink;}
form input:valid:not([type=submit]):not([type=range]):not([type=search]) { background-color:lightGreen }
form input:required {border: 2px solid red;}
form input:optional:not([type=submit]):not([type=range]):not([type=search]) {border: 2px solid green;}
#forminputs ul {width: 45%; float:left; margin:0;}
#forminputs li {list-style-type: none;}

/* VIDEO */
#video-column {
              float: left;
              width: 50%;
            }
            #reflection-button {
              margin: 20px 0;
            }
            #audio-column {
              float: left;
              width: 45%;
              margin-top: 40px;
            }
            .media-buttons {
              margin: 10px 0;
            }
			
input.button{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px !important;
	color: #ffffff;
	padding: 5px 20px;
	background: -moz-linear-gradient(
		top,
		brown 25%,
		#C7573A);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#BDD9D5),
		color-stop(0.25, #BDD9D5),
		to(#C7573A));
	background: -webkit-linear-gradient(
		top,
		brown 25%,
		#C7573A);
	background: -ms-linear-gradient(
		top,
		brown 25%,
		#C7573A);
		background: -o-linear-gradient(
		top,
		brown 25%,
		#C7573A);
	border-radius: 20px;
	-moz-border-radius: 20px;
	border: 3px solid #ffffff;
	-moz-box-shadow:
		0px 3px 11px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,000,217,1);
	-webkit-box-shadow:
		0px 3px 11px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,000,217,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.2),
		0px 1px 0px rgba(255,255,255,0.3);
	
}
input.button:hover {
background: -moz-linear-gradient(
		bottom,
		brown 25%,
		#C7573A);
	background: -webkit-gradient(
		linear, left bottom, left top, 
		from(#ffbdf5),
		color-stop(0.25, #BDD9D5),
		to(#C7573A));
	background: -webkit-linear-gradient(
		bottom,
		brown 25%,
		#C7573A);
	background: -ms-linear-gradient(
		bottom,
		brown 25%,
		#C7573A);
		background: -o-linear-gradient(
		bottom,
		brown 25%,
		#C7573A);	
}

figure.styled {
	border: 3px solid #C7573A;
	border-radius: 8px;
	float: left;	
}
figure.styled a{
	border: none;
}
figure.styled img{
	border-radius: 8px;
	border:none;
}
figure.styled figcaption{
	background-color: rgba(255,255,255,0.5);
	color: #C7573A;
	border-top: 3px solid;
	
}
.notes {display: none;}