body { font: 76%/1.5 arial, verdana, tahoma, sans-serif; color: #000; width: 98%; margin: 0 auto; background: #f60; }
a { color: #990066; text-decoration: none; font-weight: bolder; }
a:hover { color: #990033; text-decoration: underline; }
h1 { font-size: 125%; }
h2	{ font-size: 110%; font-weight: bold; clear: left; }
h3	{ font-weight: bold; font-size: 1em; }
#main { margin: 0 auto; width: 78%; background: url(../images/shadowRight.gif) repeat-y right 0 white; }
#outer { background: url(../images/shadowLeft.gif) repeat-y 0 0; padding: 12px 60px; min-height:1000px; }
* html #outer {	height: 1000px;}
#title { height: 150px; margin: 0 auto; text-align: center; line-height: 130px; background: url(../images/cubeTitle2.gif) no-repeat center top; text-indent: -5000px; display: block; }
#facts { margin: 0; padding: 0; }
#facts li { list-style-type: none; margin: 1em 0; padding: 0; clear: left; }
#facts li:first-letter { float: left; display: inline; font-size: 3em; line-height: 1em; color: silver; }

/*
#nav { height: 4em; margin: 0; padding: 0; }
* html #nav li { width: 4em; }
* html li a { height: 1%; }
#nav li { float: left; display: inline; list-style-type: none; margin-right: .2em; margin-bottom: 1em; }
#nav li a { white-space: nowrap; display: block; line-height: 1em; text-decoration: none; background-color: #fc0; padding: 1em; border: 1px solid orange; }
#nav li a:hover { display: block; background-color: #fa0; padding: 1em; }
*/

#notation { float: left; }
#notation dt, #notation dd { float: left; line-height: 3em; width: 6em; }
#notation dd { margin: 3em 0 0 -6em; }
.tile { display: none; clear: left; }
.divider { clear: both; }
.ads { background-color: #f60; }
.inline { background-color: transparent; float: left; }
#headerAds { position: absolute; left: 20px; top: 20px; z-index: 0; }
#sidebarAds { position: absolute; left: 20px; top: 300px; z-index: 0; }
#browsingTips { background-color: transparent; float: right; margin: 1em; }
#search { float: right; border: 1px solid #f60; padding: 1em; margin-left: 1em; }
#search form { margin: 0; padding: 0; }
#search #sbb { border: 1px solid #f60; }
#introductionVideo { float: left; margin: 1em 2em 1em 1em; }
#introductionVideo p { margin: 0; font-weight: bold; text-indent: 1em; }

/* applet */
.animation .ads { border: 0px solid red; margin-top: 80px; }
.animation #outer #ad1 { float: left; }
.animation #outer #ad2 { float: right; }
.animation #contentPane { border-top: 1px solid #f60; padding-top: 1em; margin-top: 1em; }
.animation #contentPane h2{ color: #666; margin-bottom: 0; }
.animation #contentPane div { width: 25%; float: left; display: inline; text-align: left; }
.animation #contentPane a { color: #f60; font-size: 1em; text-decoration: underline; display: block; }
.animation #contentPane a:hover{ color: #990033; }
.animation #help ul { margin: 0; padding: 0; }
.animation #help li { list-style: none; }
.animation h1 { width: 100%; height: 60px; margin: 0 auto; text-align: center; background: url(../images/smallCubeTitle.gif) no-repeat left top; display: block; float: left; }
.animation #contact { width: 100%; clear: both; color: #666; text-align: center; margin-top: 1em; }

/* tutorial */
.tutorial #title { background-image: url(../images/tutorial.gif) }
.tutorial #facts { margin: 0; padding: 0; }
.tutorial #facts li { list-style-type: none; margin: 1em 0; padding: 0; clear: left; }
.tutorial #facts li:first-letter { float: left; display: inline; font-size: 3em; line-height: 1em; color: silver; background-color: white; }
.tutorial #sitemenu {margin-left:60%}
.tutorial #sitemenu li {list-style: none; padding:0; display:inline }
.tutorial .menu { margin: 0; padding: 0; float: left; width:90%; clear:both}
.tutorial .menu li { float: left; display: inline; list-style-type: none; margin-bottom: 1em; 
background: url(../images/buttonRight.gif) no-repeat right top;}
.tutorial .menu li a { white-space: nowrap; display: block; line-height: 3em; text-decoration: none; padding: 0 2em 2em 1em; background: url(../images/buttonLeft.gif) no-repeat; border:none; color: white;}
.tutorial .menu li a:hover { color: #333 }
.tutorial #notation { float: left; }
.tutorial #notation dt, #notation dd { float: left; line-height: 3em; width: 6em; }
.tutorial #notation dd { margin: 3em 0 0 -6em; }
.tutorial #printButton,
.tutorial #btnTogglePrintVersion 	{ background-color: white; color: #990066; text-decoration: none; font: bolder 1em verdana, sans-serif; cursor: pointer; width:10em}
.tutorial #printButton:hover { background-color: white; color: #990033; text-decoration: underline; }
.tutorial .tile { display: none; clear: left; }
.tutorial .divider { clear: both; }
.tutorial .tile ol li, .tile ul li { clear: left; margin: 0 2em; }
.tutorial .tile ol, .tile ul { margin: 0; padding: 0; }
.tutorial .tile br, .tile p{ clear: left; }
.tutorial .section { display: none; }
.tutorial .alg { color: blue; text-decoration: underline; }
.tutorial #glossary dt { float:left; width:10em; font-weight:bold }
/* all cube images using background image */
.tutorial .B { background-position: 0     0; }
.tutorial .F { background-position: -68px     0; }
.tutorial .D { background-position: -136px     0; }
.tutorial .U { background-position: -204px     0; }
.tutorial .L { background-position: -272px     0; }
.tutorial .R { background-position: -340px     0; }
.tutorial .Bi { background-position: 0    -68px; }
.tutorial .Fi { background-position: -68px    -68px; }
.tutorial .Di { background-position: -136px    -68px; }
.tutorial .Ui { background-position: -204px    -68px; }
.tutorial .Li { background-position: -272px    -68px; }
.tutorial .Ri { background-position: -340px    -68px; }
.tutorial .B2 { background-position: 0    -136px; }
.tutorial .F2 { background-position: -68px    -136px; }
.tutorial .D2 { background-position: -136px    -136px; }
.tutorial .U2 { background-position: -204px    -136px; }
.tutorial .L2 { background-position: -272px    -136px; }
.tutorial .R2 { background-position: -340px    -136px; }
.tutorial .CU {background-image: url(images/cdi.gif)}
.tutorial .CU2 {background-image: url(images/cd2.gif)}
.tutorial .CUi {background-image: url(images/cd.gif)}
* html .tutorial #nav li { width: 8em; }
* html .tutorial #nav li a { height: 1%; }
.tutorial #solvethecross {float:right; width:60%;margin-right:3em}
.tutorial .video img {float:left; margin-right:1em}
.tutorial .video a {font-size: 2em; display:block; color: #ccc; padding:1em; width:20em; }
.tutorial .video a:hover {background-color: #eee; color: #333}
.tutorial .footnote {float:left}
.tutorial #solvethecross span a {font-size:1em;display:inline; color: #906; background-color: transparent}

/* timer clientside*/
.timer h1 { width: 100px; height: 60px; margin: 0 auto; background: url(../images/smallCubeTitle.gif) no-repeat 0 0; display: block; position: absolute; top: 0; left: -45%; text-indent: -1000px; }
.timer #ad1 { float: left; margin-top: -700px; }
.timer #ad2 { float: left; margin-top: -700px; margin-left:82%;}
.timer #pullout { float: right; width: 15em; height: 20em; display: none; }
.timer #pullout a { display: block; }
.timer #outer { padding: 12px 60px; }
.timer form { text-align: center; margin: 0px; }
.timer .field { text-align: left}
.timer #alg { width: 70%; }
.timer #timer { font-size: 6em; line-height: 75%; margin-top: 40px; }
.timer #contentPane { width: 50%; text-align: left; position: relative; z-index: 2; background-color: white; }
/*.timer .ads { display: none; }*/
.timer #demo { border: none; text-align: center; margin: 0 auto; display: block; width: 200px; }
.timer #sessionTimes {background: beige; border:none; margin:.2em;width:80%}
.timer #perform {
background: url(../images/go.gif) no-repeat; 
text-indent:-1000px; width:16px; height:20px; border:none; cursor:pointer}

.download #ad1 { float: left; margin-top: -1400px; }
.download #ad2 { float: left; margin-top: -1400px; margin-left:82%;}

.ads .box { background:white; }
.ads .box span {display:block; background: #333; color: white; padding:0 .5em;}
.ads .box,
#frmDonate {border:1px solid silver; float:right; width:150px; clear:right; padding:.5em; margin-left:1em;}
