/* Body and paragraphs styling */
body, p {
	background: #aaaaaa;
	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin-left: 0px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
}

nav {
	background: rgba(45,233,255,0.45);
	background: -webkit-gradient(linear, left top, left bottom, from(#cdcdcd), to(#dfdfdf)); 
	background: -webkit-linear-gradient(top, #cdcdcd, #dfdfdf); 
	background:    -moz-linear-gradient(top, #cdcdcd, #dfdfdf); 
	background:     -ms-linear-gradient(top, #cdcdcd, #dfdfdf); 
	background:      -o-linear-gradient(top, #cdcdcd, #dfdfdf); 
	background:         linear-gradient(top, #cdcdcd, #dfdfdf); /* standard, but currently unimplemented */
}

nav a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color:#ffffff; /*#e9fde5;*/
	font-weight: bold;
	line-height: 12px;
}


nav a:link {
	text-decoration: none;
}
nav a:visited {
	color: #ffffef;
}
nav a:hover {
	font-size: 20px;
	line-height: 30px;
	color: #000000;
}
nav a:active {
	text-decoration: none;
	color: #ffffff;
}

/* Header1 styling */
h1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 30px;
	text-shadow: 2px 2px 2px #ffffff;
	font-style:italic;
	color:#c60000;
	padding:0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
}

/* Header2 styling */
h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	text-shadow: 8px 8px 2px #ffffff;
	color:#555555;
	padding:0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
}

/* Header3 styling */
h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-shadow: 4px 4px 2px #888888;
	color:#000000;
	padding:0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
}

/* Hyperlinks styling */
a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color:#00218c; /*#e9fde5;*/
	font-weight: bold;
	line-height: 12px;
}


a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #678bff;
}
a:hover {
	text-decoration: underline;
	font-size: 14px;
	line-height: 14px;
	color: #033fff;
}
a:active {
	text-decoration: none;
	color: #66FFFF;
}

/* header styling */

header {
	background: #cccccc;
	width: 100%;
	/*height: 80px;*/
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

@font-face {
    font-family: 'HeavyDataRegular';
    src: url('fonts/heavy_data-webfont.eot');
    src: url('fonts/heavy_data-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/heavy_data-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#title {
	color: #cccccc;
	font-size: 60px;
	text-shadow: 0px 0px 5px #000000;
	font-family: HeavyDataRegular, sans-serif; /* we use the custom created font ^ */
}

/* Content block, containing the content of the page */

#content {
	display:block;
	text-align: center;
	background: #bbbbbb;
	padding-bottom: 18px;
	background-image: url("images/0back.png");
	background-position: top left;
	background-repeat: horizontal vertical;
}

/* "Window" of the game styling. Contains "canvas" */
#surround {
	display:inline-block;
	padding: 25px;
	padding-bottom: 6px;
	
	background: #eeeeee;
		
	box-shadow: 15px 15px 20px #000000;
	-webkit-box-shadow: 15px 15px 20px #000000; /* Safari */

	-webkit-border-radius: 18px;
    -moz-border-radius:18px; /* Firefox 3.6 and earlier */
	border-radius: 18px;
	
	
	background-image: url("images/0surround.png");
	background-position: top left;
	background-repeat: horizontal vertical;
}

/* The canvas (the actual C2 application) styling */
canvas { 
	display:inline;
	border: 1px solid black; 

	background-image: url("images/0canvback.png"),url("images/0canvback.png"),url("images/0canvback.png");
	background-position: center center, top right, bottom left;
	background-repeat: no-repeat;
}

#canvasNotSupportedBox
      {
         font-family: "arial";
         font-size: 12px;
         text-align: center;
         background: #818181;
         
         color: #fff;
         padding: 1em;
}

/* Section styling. Involves "Instructions" and "PathFinder behavior" */
section {
	display:inline-block;
	padding:25px;
	padding-bottom:8px;
	-webkit-border-radius: 18px;
    -moz-border-radius:18px; /* Firefox 3.6 and earlier */
	border-radius: 18px;
	
	background: #eeeeee;
	text-align: left;	
	border: 1px solid #555555;
	
	background-image: url("images/0section.png");
	background-position: top left;
	background-repeat: horizontal vertical;
}

#heuristic {
	display:inline-block;
	font-family: arial;
	font-size: 15px;
	height:30px;
	width:120px;
	padding-top:8px;
	padding-left:28px;
	margin-right:-28px;
	margin-top:-4px;
	background-image: url("images/btnheuristic-default-000.png");
	background-repeat: no-repeat;
}

.cutcorner {
	text-align: center;
	font-style:italic;
}


.code
{
	background: #efefef;
	margin-left: 25px;
	margin-top: 15px;
	margin-right: 25px;
	margin-bottom: 15px;
	font-family: Courier;
	font-size: 14px;
	box-shadow: 5px 5px 10px #888888;
	-webkit-box-shadow: 5px 5px 10px #888888; /* Safari */
	text-align:left;
}

#author {
	display:inline-block;
	padding-top: 15px;
	color: #ffffff;
	font-size: 14px;
	font-family: verdana;
	font-style: italic;
	font-weight: bold;
	margin: 0px;
}

#author a{

	opacity:.50;
	/*For IE*/
	filter: “alpha(opacity=50)”;
	filter:alpha(opacity=50);
}
/* Having my gravatar rotating and getting more opaque when mouse is over */
#author a:hover{
	opacity:1;
	/*For IE*/
	filter: “alpha(opacity=100)”;
	filter:alpha(opacity=100);
	
	/* Rotates the author picture */
	-webkit-transform: rotate(45deg); /* Safari and Chrome */
	-moz-transform: rotate(45deg); /* Firefox */
	-ms-transform: rotate(45deg); /* IE 9 */
	-o-transform: rotate(45deg); /* Opera */
	transform: rotate(45deg);
}

/* Footer styling. Contains the link to the tutorial styling, and the logos */
footer{
	text-align: left;
	
	background: #cdcdcd;

	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cdcdcd)); 
	background: -webkit-linear-gradient(top, #ffffff, #cdcdcd); 
	background:    -moz-linear-gradient(top, #ffffff, #cdcdcd); 
	background:     -ms-linear-gradient(top, #ffffff, #cdcdcd); 
	background:      -o-linear-gradient(top, #ffffff, #cdcdcd); 
	background:         linear-gradient(top, #ffffff, #cdcdcd); /* standard, but currently unimplemented */
}

#tutolink {
	display: inline-block;
	text-align: left;
	font-family:Arial; 
	color:#888;
	padding-bottom:10px;
	padding-top:9px;
}

#footadv {
	display: inline-block;
	float:right;
	text-align: right;
	width: auto;
	padding-top:8px;
	padding-right:12.5px;
}

#footadv a:hover{
	-ms-transform: rotate(-5deg); /* IE 9 */
	-webkit-transform: rotate(-5deg); /* Safari and Chrome */
	-o-transform: rotate(-5deg); /* Opera */
	-moz-transform: rotate(-5deg); /* Firefox */
	transform: rotate(-5deg);
}
