
body {
  margin: 0;
  padding: 0;
  background: #ffffff;	
  font-size: 1em;
  text-align: center;
}


#all {
   text-align: left;
   width: 760px;
   margin: 0px auto;
   position: relative;
}

#title {
  margin: 0;
  padding: 10px 0 40px 0;
  height:100px;
   text-align: left;
  background: url(../img/border-top.gif) no-repeat left bottom;
}

#menu{  position:absolute; left:420px; margin-top:-14px;font-size: 0.9em; width:500px}
#menu ul { position: relative; margin: 0; padding: 0; list-style-type: none;}
#menu ul li { display: inline; margin: 0 5px 0 5px;}

#adsense{
	position:absolute; left:770px; margin-top:-40px;font-size: 0.9em;
}

#title h1{ display:none; }


#main {
  background: url(../img/border-center.gif) repeat-y left bottom;
  margin:0;
  padding:0;
  font-size: 0.9em;
}

#content{ padding:5px 15px 5px 15px; }

#footer {
   font-size: 0.7em;
   text-align: right;
   padding: 5px 10px 5px 0;
   background: url(../img/border-bottom.gif) no-repeat right bottom;
   margin-bottom:20px;
}

#content h2{
  background: url(../img/section-bg.gif) no-repeat top left;
  color: white;
  margin:0;
  height:26px;
  padding:3px 0px 0px 15px;
   font-size: 	1.2em;
}

#content h3{
  margin: 20px 0 0 0;
   font-size: 	1.2em;
}

#output {position:absolute; color:#880202; margin-top:15px;font-weight:bold; width:400px; right:20px}
.grid {  border: 2px solid black; }
.subgrid { border: 1px solid black;}
.subgrid td{ border: 1px solid black;}
.grid input {border: 0px solid black; width:30px; height:30px;    font-size: 25px;text-align: center;}
.grid .inputcell {font-weight:bold; color:#880202}
.inputImg{border:0px; margin-top:10px;}
#solveAllCell{width:100%;text-align:right;}
#actionTable{width:300px;}

a:visited  { color: black;font-weight:bold; text-decoration: underline;}
a:link     { color: black; font-weight:bold; text-decoration: underline; }
a:hover    { color: black;font-weight:bold; text-decoration: underline;}

#contact .label{
  font-weight: bold;
  text-align:right;
  width:150px;
  padding-top: 2px;
  font-size: 0.9em;
}

#content ul{
  margin: 0;
  padding: 0;
  list-style-type: square;
}
#contact input, #contact textarea{
  background:#F2F2F2;
  color:#303030;
  border: 1px solid #B6B6B6;
}
#contact textarea {
  width: 100%;
  height:120px;
}

.constraint {
  color: #444;
  font-size: 0.8em;
  border: 1px solid #B6B6B6;
  padding: 1px 1px 1px 2px;
  background:#ededff;
}

.errors {
  color: #444;
  font-size: 0.8em;
  border: 1px solid #be1717;
  margin-top: 1px;
  padding: 1px 1px 1px 2px;
  background:#ffdddd;
}

.errors ul{
  font-weight: bold;
  color:#be1717;
  margin: 1px 0px 30px 50px;
}
.errors li {
  margin: 0 0 0 20px;
}
