/* 'UTILITY' CLASSES */
.clear
{
  clear: both;
}

/* OVERRIDE SOME OF THE RESET STUFF */
em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

.hidden,
.wgethidden {
  display: none;
}

/******************************************************************************/
/* (MAINLY) POSITIONING OF ELEMENTS                                           */
/******************************************************************************/
html {
  height: 100%;
}

body {
  font-family: Arial, Tahoma, Times;
  font-size: 75%;
  background-color: #73bfbf;
  height: 100%;
}

/* take care of the vertical centering with one table */
#valigntable {
  height: 100%;
  width: 100%;
}


  #valigntable #valigntd {
    vertical-align: middle;
  }

#wrap {
  padding: 10px;   
  margin: 0 auto;
  min-width: 778px;
  width: 778px;
  background-color: #fff;
}

#header {
  min-height: 135px;
  height: auto !important;
  height: 135px;
  background-color: #fff;
}

  #header img.logo {
    margin: 0px 0px 10px 0px;
    float: left;
  }  
  
  #header img.flag {
    margin: 10px 0px;
    float: right;
  }

  #header #quote {
	float:right;
  }
  
  #header #nav1 {
    height: 34px;
    clear: left;
  }
  
  #header #nav1 li {
    list-style: none;
    float: left;
  }

#middle {
  background: #fff url( '../images/bg/educators.gif' ) no-repeat scroll left top;
  min-height: 440px;
  height: auto !important;
  height: 440px;
  clear: both;
}

  #middle #sidebar {
    width: 211px;
    float: left;
    height: 427px;
  }
  
    #sidebar .relimage,
    #flashmovie .relimage {
      margin-top: 11px;
    }
  
  #middle #main {
    width: 557px; /* 778 - 211 (left) - 10px (padding on the right) */ 
    float: left;
    height: 410px; /* min-height van #middle - padding */
    padding: 20px 0px 10px 0px;
  }
  
    #main #maincontent {
      background-color: #fff;
      margin-left: 30px;
      height: 100%;
    }
  
      #maincontent h2 {
        color: #5957fa;
        font-size: 1.25em;
        padding-top: 17px;
        padding-left: 13px;
        padding-bottom: 10px;
        float: left;
        /* used to be:
         * 
         * font-size: 1.3em;
         * font-variant: small-caps;
         */
      }
      
      #maincontent h2.subjecttitle a {
        text-decoration: none;
        color: #5957fa;
        float: left;
      }
    
      #maincontent h2.subjecttitle a.print-icon {
        display: block;
        width: 19px;
        height: 19px;
        margin-left: 12px;
        background: transparent url(../images/subject/student/print.gif) scroll no-repeat 0px 0px;
      }
      
      #maincontent h2.subjecttitle a.print-icon:hover {
        background-position: 0px -51px;
      }
      
      #maincontent h2.subjecttitle a.print-icon.teacher {
        background-image: url(../images/subject/teacher/print.gif);
      }

      #maincontent h2.subjecttitle a.print-icon span {
        padding: 2px 9px;
      }

      #maincontent h3 {
        font-size: 1.1em;
        font-weight: bold;
        padding-bottom: 0.5em;
      }

      #maincontent #text {
        overflow: auto;
        height: 350px;
        line-height: 1.5em;
        letter-spacing: 0.03em;
        
        font-family: Verdana, Arial;
        color: #386a6d; 
      }
      
      /* some views have a little more room */
      #maincontent #text.article,
      #maincontent #text.form,
      #maincontent #text.faq-list {
        height: 366px;
      }

        #text #textcontent {
          padding: 0px 13px 13px 13px;
        }

      #maincontent #text.article .glossary-section {
        background-color: #c9e301;
        color: #fff;
        font-weight: bold;
        font-size: 1.3em;
        padding: 0.2em;
      }

      #maincontent #text.article .glossary-item {
        margin-bottom: 0.5em;
      }

  #middle #flashmovie {
    position: relative;
  }
  
  #flashmovie .flashcontent {
    float: right;
    width: 527px;
    height: 410px;
    margin: 20px 12px 0px 0px;
  }

/******************************************************************************/
/* 'SUBJECT' ICON NAVIGATION                                                  */
/******************************************************************************/
#maincontent #navicons {
  margin-top: 14px;
  margin-right: 32px;
  float: right;
}

  #navicons li {
    text-align: center;
    list-style: none;
    padding: 0px 4px;
    float: left;
  }
  
  #navicons li a {
    display: block;
    color: #087984;
    font-size: 0.9em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    padding-top: 25px;
    background-color: transparent;
    background-attachment: scroll;
    background-position: 50% 0px;
    background-repeat: no-repeat;
    /* width: 42px; */
  }

  #navicons li a.do {
    width:32px;
  }

  #navicons li a:hover,
  #navicons li a.active { /* currently selected + hover */
    background-position: 50% -48px;
    color: #5f0a78;
  }
  
  #navicons li a span {
    padding-top: 25px;
  }

/******************************************************************************/
/* DROPDOWN MENU (altered suckerfish)                                         */
/* [wow] actually, there is no 'dropdown' for the WoW version, but we'll keep */
/* the functionality in here. I did remove the calls to the IE6- JS from the  */
/* layout though, so if it's needed you need to include the suckerfish.js en  */
/* events.js from the javascript directory                                    */
/******************************************************************************/
/* positioning / functionality */
#nav2 {
  clear: both;
  line-height: 1;
}
  
  #nav2 li {
    float: left;
    position: relative;
    padding: 0.3em 0.5em;
    list-style: none;
  }
  
  #nav2 li ul {
    display: none;
    position: absolute;
    top: 1.6em;
    left: -1px;
  }
  
  #nav2 li:hover ul, 
  #nav2 li.over ul {
    display: block;
    z-index: 100;
    
  }

/* layout / color */
#nav2 {
}
  #nav2 a {
    text-decoration: none;
    color: #087984;
  }
  
  #nav2 a:hover {
    color: #5f0a78;
  }
  
  #nav2 li {
    border-left: 1px solid #73bfbf;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
  
    z-index: 100;
  }

  #nav2 li.first {
    /* override styles for the first item */
    border-left: none;
    padding-left: 0.1em;
    
  }

  #nav2 li ul {
    border: 1px solid #000;
    background-color: #fff;
  }

  #nav2 li ul li {
    float: none;
    border: 0;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: normal;
    cursor: auto;
  }

/******************************************************************************/
/* CONTENT                                                                    */
/******************************************************************************/

#maincontent #maincontenttop {
  height: 60px;
}

  #maincontenttop .subjecttitle {
    /* this fixes a loooong title pushing the icons too far down */
    position: absolute;
  }

#maincontent #text ul {
  margin-left: 3em;
}

  #text ol {
    padding-left: 3em;
  }

  #text .flashcontent {
    margin: 0;
    padding: 0px 13px;
    line-height: 0;
  }
  
  #text .flashcontent .alternative {
    position: relative;
    line-height: 1.5;
  }

/* 
 * Flash player link when there is alternative content shown.
 */

/* LAL-80: do not show when there is no flash at all */
#noflash .getflashplayer { 
  display: none;
}

.getflashplayer {
  position: absolute; 
  right: 12px; /* these are equivalent to the margin-{top,right} of .flashcontent */ 
  top: 20px;
}

#text .getflashplayer {
  top: 0;
  right: 0;
}

.getflashplayer a {
  z-index: 24;
}

  .getflashplayer a:hover {
    /* 
     * don't ask me why, but IE(5.5, 6?) seems to need this 
     * border statement. It probably has to do with the
     * 'hasLayout' property (google it) 
     */
    border: 0px solid blue;
    z-index: 25;
  }
  
  .getflashplayer a span {
    display: none;
  }
  
  .getflashplayer a:hover span {
    position: absolute;
    z-index: 26; 
    display: block;
    top: 36px;
    right: 0px;
    width: 150px;
    background-color: white;
    padding: 4px;
    text-decoration: none;
    border: 1px solid #73bfbf;
  }

/******************************************************************************/
/* RESPONSEFORM                                                               */
/******************************************************************************/
.form form {
  margin-top: 1em;
}

.form table {
  width: 96%;
}
  .form table td,
  .form table th {
    vertical-align: top;
    padding-bottom: 5px;
  }

  .form table col#labels {
    width: 40%;
  }
  
  .form table input,
  .form table select,
  .form table textarea {
    width: 99%;
  }
  
  .form table input.radio,
  .form table input.checkbox {
    width: auto;
    margin-bottom: auto;
  }

  .form table .error-text {
    color: #f00;
    font-weight: bold;
  }

/******************************************************************************/
/* XSLT FAQ LIST                                                              */
/******************************************************************************/
.faq-list dl dt {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.2em;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.faq-list dl dd {
  padding-left: 1em;
}

.faq-list dl dd dl dt {
  font-size: 1em;
  border-top: none;
  border-bottom: none;
}

.faq-list dl dd dl dd {
  font-weight: normal;
  margin-bottom: 0.5em;
}