/*
	These CSS rules affect the styling of the demo pages. The centering techniques
	are demonstrated in the individual in the individual 1.html, 2.html and 3.html files.
*/


*{
	margin:0;
	padding:0;
}

body{
	/* Setting default text color, background and a font stack  Download by http://www.jb51.net*/
	color:#555555;
	font-size:0.825em;
	background: #fcfcfc;
	font-family:Arial, Helvetica, sans-serif;
}

#exampleBody{
	background-color:#F5F5F5;
}

.example{
	background-color:#F0F0F0;
	border:1px solid #FFFFFF;
	margin:40px auto;
	padding:10px;
	width:700px;
	
	-moz-box-shadow:0 0 2px gray;
	-webkit-box-shadow:0 0 2px gray;
	box-shadow:0 0 2px gray;
}

.demo{
	background-color:#F5F5F5;
	border:2px solid white;
	float:left;
	
	-moz-box-shadow:0 0 1px gray;
	-webkit-box-shadow:0 0 1px gray;
	box-shadow:0 0 1px gray;
}

.demo iframe{
	width:360px;
	height:300px;
	border:none;
}

.code{
	background-color:#E6E6E6;
	border:1px solid #DDDDDD;
	float:right;
	padding:10px;
	width:300px;
	
	-moz-box-shadow:0 0 1px white;
	-webkit-box-shadow:0 0 1px white;
	box-shadow:0 0 1px white;
}

pre{
	text-shadow:0 1px 1px white;
}

.className{
	background-color:#338BC7;
	width:270px;
	height:150px;
	position:relative;
	
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
}

.className p{
	font-size:22px;
	margin:45px 10px 10px;
	color:white;
	text-align:center;
	position:absolute;
}

/* The styles below are only necessary for the styling of the demo page: */

h1{
	background:#F4F4F4;
	border-bottom:1px solid #EEEEEE;
	font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
	font-size:20px;
	font-weight:normal;
	margin-bottom:15px;
	padding:15px;
	text-align:center;
}

h2 {
	font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
	font-size:12px;
	font-weight:normal;
	padding-right:40px;
	position:relative;
	right:0;
	text-align:right;
	text-transform:uppercase;
	top:-48px;
}

a, a:visited {
	color:#0196e3;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:underline;
}

.clear{
	clear:both;
}

p.tutInfo{
	/* The tutorial info on the bottom of the page */
	padding:10px 0;
	text-align:center;
	position:fixed;
	bottom:0px;
	background-color:#011D2E;
	border-top:1px solid #011d2e;

	width:100%;
}

h1,h2,p.tutInfo{
	font-family:"Myriad Pro",Arial,Helvetica,sans-serif;
}
