body {margin:auto;
      text-align:center;  /* allow for ie*/
      background-color:#5eaafa;
      background-image:url(blue2blue.png);background-repeat:repeat-x;
     }

body,p,table,tr,td,ul,h2,h3
     {font-size:10pt;color:#000000;
      font-family:verdana,arial,sans-serif;
}

#container {margin:auto;
            margin-top:0px;
            width:728px;
            background-color:#fefbdc;
            border:1px solid white;
            padding:5px;
            padding-top:0px;
            text-align:left;}

h1 	{font-size:13pt;font-weight:bold;
         background-color:#2f5699;
         color:#000022;
         text-align:center;
         border:2px black inset;
         padding:3px;
         margin:0px;
          background-image:url(back1.jpg);background-repeat:repeat;
        }
h2 	{font-size:12pt;font-weight:bold;}
h3 	{font-size:11pt;font-weight:bold;}

/* style of header on opening page index.htm */
.p1header {text-align:center;margin-left:auto;margin-right:auto;
            width:100%;padding:0px;margin:0px;}

body.controlbar {text-align:center;padding:0px;margin:0px;font-size:8pt;
                 background-image:url(back1.jpg);background-repeat:repeat;}

td.question {background-color:#708090;color:white;
             border-style:groove;border-color:#F5DEB3;border-width:medium;font-weight:bold;}
td.quizbutton {text-align:center;}
h2.question  {text-align:center;background-color:#708090;color:white;
              border-style:groove;border-color:#F5DEB3;border-width:medium;font-weight:bold;}

/*  opening page side by side columns*/
.leftmenu {float:left;width:100px;
           padding:3px;text-align:center;
           border:solid 1px red;
           color:white;background-color:#808080;}

.mainbox {margin-left:100px;text-align:center;}

.competancy
{font-size:10pt;font-weight:bold;color:white;background-color:#000000;border:1px solid #ff0000;}

.code
{font-family:'verdana','arial',sans-serif;font-weight:bold;background-color:#808080;color:white;
            font-size:10pt;border: 1px solid red;width:700px;padding:10px;}

.controls {width:80px;text-align:center;font-size:10pt;}

/* ordinary links*/
a {border-left:2px solid red;
     border-right:2px solid black;
     border-top:2px solid red;
     border-bottom:2px solid black;
     padding:1px;
     /*display:block;*/
     text-decoration:none;
     color: white;
     font-family: verdana,sans-serif;
     font-weight: bold;
/*     width:150px;  
     height:15px;    */
     background-color:#8b0000;
   }

a:hover {border-left:2px solid black;
                border-right:2px solid red;
                border-top:2px solid black;
                border-bottom:2px solid red;
                padding:1px;
                /*display:block;*/

               text-decoration:none;
               color:#FFA500;
               background-color:#8B0000;
               font-family: verdana, sans-serif;
               font-weight: bold;
               height:15px;
         }

/* style lists of links*/
.listoflinks li {
                 /* height:25px;*/
                  list-style:none;} 

.listoflinks li a {
     border-left:1px solid red;
     border-right:1px solid black;
     border-top:1px solid red;
     border-bottom:1px solid black;
     padding:1px;
 /*    margin:5px;*/
     text-decoration:none;
     color: white;
     font-family: verdana,sans-serif;
     font-weight: bold;
   line-height:22px; 

     background-color:#8b0000;
   }

.listoflinks li a:hover {border-left:black;
                border-right:red;
                border-top:black;
                border-bottom:red;
                padding:1px;
               text-decoration:none;
               color:#FFA500;
               background-color:#8B0000;
               font-family: verdana, sans-serif;
               font-weight: bold;
         }

.floatleft {float:left;}

.floatright{float:right;}