/*
   New Perspectives on JavaScript, 2nd Edition
   Tutorial 11
   Case Problem 3

   Filename: wm.css

   This file contains styles used in the widgets.htm Web page

*/

*                        {margin: 0px; padding: 0px;
                          line-height: 1.2em;
                          color: black;
                          font-family: 'Trebuchet MS', Arial, Verdana, sans-serif}

body                     {background: transparent url(back.png) repeat-y}

#heading                 {position: absolute; top: 0px; left: 0px}

#heading ul              {position: absolute; left: 380px; top: 32px;
                          list-style-type: none}

#heading ul li           {width: 80px; float: left; text-align: center;
                          border: 1px solid rgb(102, 102, 102)}

#heading ul li a         {display: block; text-decoration: none;
                          font-size: 12px;
                          background-color: white; padding: 2px 0px}

#heading ul li a:hover   {color: white; background-color: rgb(102, 102, 102)}

#sideLinks               {position: absolute; top: 80px; left: 10px;
                          list-style-type: none}

#sideLinks a             {font-size: 14px; color: white; text-decoration: none}
#sideLinks a:hover       {color: rgb(255, 226, 110)}

li.newgroup              {margin-top: 15px}

#intro                   {position: absolute; top: 87px; left: 153px;
                          width: 650px}

#intro h1                {font-size: 22px; font-weight: normal;
                          text-indent: 30px; margin-bottom: 30px;
                          letter-spacing: 5px; padding: 3px 0px;
                          color: black;
                          background-color: rgb(224, 224, 224)}

#intro p                 {font-size: 12px; margin: 10px 0px 0px 30px}

div.boxControls          {width: auto; position: absolute;
                          font-size: 12px; line-height: 30px;
                          border: 5px outset rgb(212, 159, 52);
                          background-color: rgb(255, 226, 110);
                          padding-bottom: 5px}

div.boxControls h1       {font-size: 14px; font-weight: normal;
                          text-align: center; color: black;
                          background-color: white; 
                          padding: 2px 2px 0px 2px;
                          letter-spacing: 2px; margin-bottom: 5px;
                          border-bottom: 1px solid rgb(151, 151, 151)}

div.boxControls label    {margin: 0px 0px 0px 5px; width: 50px;

                          /* Styles to display labels as an inline block */
                          display: -moz-inline-stack;
                          display: inline-block;
                          zoom: 1;
                          *display: inline;}

div.boxControls input    {width: 30px; text-align: right; 
                          font-size: 12px; height: 20px;
                          vertical-align: middle}

div#box1Controls         {top: 245px; left: 190px}
div#box2Controls         {top: 450px; left: 190px}

div.demoBox              {position: absolute;
                          width: 160px; height: 160px;
                          font-size: 12px; color: black;
                          border: 1px solid black;
                          background-color: rgb(255,255,255);
                          opacity: 1; filter: alpha(opacity=100);
                          z-index: 1}

#box1                    {top: 300px; left: 680px}
#box2                    {top: 370px; left: 600px}

#resetB                  {position: absolute; top: 550px; left: 670px;
                          text-align: center; width: 130px;
                          font-size: 18px;
                          border: 5px outset rgb(212, 159, 52);
                          background-color: rgb(255, 226, 110);
                          cursor: pointer}


