/* CSS Document */


/* Clear all browser defaults */
* {
    border: 0em;
    margin: 0em;
    padding: 0em;
}
/* ------------------------------  HTML Tags ---------------------------------------*/
img {
    font-size: 0px;
}

a:focus {
    outline: none;
}

body {
    background-image: url(../interface/dark-fabric.jpg);
    font-family: Helvetica,Arial,Verdana;
    text-align: center;
}
h1 {
    font-size: 29px;
    font-weight: normal;
}
h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
}
h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 16px;
}

p, a, address, pre, th, td, li {
    color: inherit;
    font-family: Helvetica,Arial,Verdana; 
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 18px;
    text-decoration: none;
    vertical-align: top;
}
a.linkArrow span {
    background-position: 0 0;
    display: block;
    float: left;
    height: 17px;
    margin-top: 4px;
    width: 51px;
}
a.linkArrow:hover span {
    background-position: 0 -17px;
}
ul.noBullet {
    list-style: none;
}
ul, ol {
    margin-left: 20px;
    margin-bottom: 16px;
}
li {
    font-family: Helvetica,Arial,Verdana; 
    margin-bottom: 4px;
    text-decoration: none;
}
ul.twoPanel > li,
ul.threePanel > li,
ul.fourPanel > li,
ul.fivePanel > li,
ul.sixPanel > li {
    float: left;
    margin: 0 2% 0 0;
}
ul.twoPanel > li {
    margin: 0 10% 0 0;
    width: 40%;
}
ul.threePanel > li {
    width: 31%;
}
ul.fourPanel > li {
    width: 23%;
}
ul.fivePanel > li {
    width: 18%;
}
ul.sixPanel > li {
    width: 14%;
}
ul.twoPanel img,
ul.threePanel img,
ul.fourPanel img,
ul.fivePanel img,
ul.sixPanel img {
    position: initial !important;
}
table {
    border: 1px solid darkgrey;
    border-collapse: collapse;
    clear: both;
    margin-bottom: 18px;
    width: 100%;
}
th {
    background-color: #606080;
}
th,
td {
    border: 1px solid darkgrey;
    padding: 10px 20px;
}
.clear {
    clear: both;
}
th {
    font-family: Helvetica,Arial,Verdana; 
    font-size: 14px;
    color: white;
    padding: 4px 20px;
}
hr {
    background-image: url(../interface/horizontal-dot.png);
    height: 1px;
    margin: 0 20px;
}
#prefsItems hr, #prefsHotspot hr, #settingsWallpaper, hr, #pageIndexDisplay hr {
    margin: 0 20px 0 0;
}
/* ------- Menu -------- */

#homeMenu {
    background-image: url(../interface/menu-panel.png);
    height: 166px;
    overflow: hidden;
    position: absolute;
    top: 480px;
    width: 0;
}
#homeMenu a {
    background-image: url(../interface/menu-buttons.png);
    color: #444444;
    display: block;
    float: left;
    height: 133px;
    line-height: 100px;
    margin: 13px 0 0 34px;
    overflow: hidden;
    text-indent: -1000px;
    width: 133px;
}
#menuHeader1 {
    background-position: -29px -13px;
}
#menuHeader1:hover {
    background-position: -29px -180px;
}
#menuHeader2 {
    background-position: -196px -13px;
}
#menuHeader2:hover {
    background-position: -196px -180px;
}
#menuWallpaper {
    background-position: -363px -13px;
}
#menuWallpaper:hover {
    background-position: -363px -180px;
}
#menuPreffs {
    background-position: -529px -13px;
}
#menuPreffs:hover {
    background-position: -529px -180px;
}

/* ------------------------------------ ----------------------------------- */
/* ------------------------------------ ----------------------------------- */
/* ------------------------------------ ----------------------------------- */
/* ------------------------------------ Content ----------------------------------- */
#screen h1 {
    margin: 10px 0 30px 20px;
}
#screen .textObj {
    margin: 20px;
}
a.link {
    text-decoration: underline;
}
#screen img.pos {
    position: absolute;
}
.selectObject, .selectTarget {
    background-image: url(../interface/single.png);
    background-position: 0 0;
    height: 34px;
    position: absolute;
    width: 34px;
}
.selectObjectSelected, .selectTargetSelected {
    background-position: 0 -84px;
}
.selectObjectLine {
    position: absolute;
}
.pixel {
    background-image: url(../interface/pixel.png);
    height: 3px;
    position: absolute;
    width: 3px;
}
.hotspot {
    background-image: url(../interface/hotspot.png);
    position: absolute;
}
.hotspotMarker {
    background-image: url(../interface/checkbox.png);
    background-position: 0 0;
    height: 25px;
    margin: 0 0 0 -34px;
    width: 26px;
}
.markerRight .hotspotMarker {
    margin: 0;
    position: absolute;
    right: -34px;
}    
.markerTop .hotspotMarker {
    margin: -30px auto 0;
}
.hiddenMarker .hotspotMarker {
    display: none;
}
.hotspotMarkerSelected {
    background-position: 0 -25px;
}
.hotspotList {
    margin-left: 54px;
}
.hotspotOutline .hotspot {
    border: 2px solid red;
    margin: -2px;
}
.hotspotHighlight .hotspot {
    background-image: url(../interface/hotspot-highlight.png);
}
.inlineHotspot {
    font-weight: bold;
}
.reveal {
    display: none;
    position: absolute;
}
.option {
    background-image: url(../interface/single.png);
    background-position: 20px 0;
    background-repeat: no-repeat;
    display: block;
    line-height: 34px;
    margin: 0 0 2px;
    padding: 0 0 0 60px;
}
.optionMS {
    float: left;
}
.optionSelected {
    background-position: 20px -84px;
}
.optionCorrect {
    background-position: 20px -168px;
}
.textEntryField {
    border: 1px solid gray;
    position: absolute;
}
.feedback {
    display: none;
    position: absolute;
}
#ddTable {
    margin-left: 20px;
    width: 500px;
}
#ddTable td {
    padding-bottom: 10px;
}
#ddTable select {
    border: 1px solid #888888;
    margin-left: 40px;
    padding-right: 20px;
}
#submitButton {
    right: 20px;
    position: absolute;
    bottom: 20px;
}
#instruction {
    bottom: 0;
    font-weight: bold;
    left: 20px;
    position: absolute;
}
#instruction.delayed {
    display: none;
}
/* ------------------------------------ My Preferences----------------------------------- */
#prefsItems {
    height: 330px;
    margin-left: 20px;
}
#prefsItems div {
    border: 1px solid #000000;
    float: left;
    margin: 10px 20px 10px 0;
    overflow: auto;
}
#prefsItems div a {
    display: block;
    font-size: 14px;
    margin: 0;
    padding: 12px 14px;
    width: 239px;
}
#prefsHotspot {
    clear: both;
    margin-left: 20px;
    overflow: auto;
}
#prefsHotspot div {
    background-image: url(../interface/prefs-hotspot-img.jpg);
    background-position: 210px 2px;
    background-repeat: no-repeat;
    float: left;
    margin-right: 20px;
    margin-top: 10px;
    padding-bottom: 2px;
}
#prefsHotspot div#prefsHotspotSelected {
    background-image: none;
    background-color: #FF0000;
    height: 8px;
    margin: 0;
    position: absolute;
    top: 522px;
    width: 276px;
}
#prefsHotspot a {
    display: block;
    margin-bottom: 0;
    padding: 10px;
    width: 250px;
}
#prefsHotspot .hotspotOutline a {
    border: 2px solid red;
    margin: -2px;
}
#prefsHotspot .hotspotHighlight a {
    background-image: url(../interface/hotspot-highlight.png);
}
#prefsInstruction {
    background-image: url(../interface/instruction-panel.png);
    clear: both;
    overflow: auto;
    position: absolute;
    right: 20px;
    top: 10px;
}
#prefsInstruction p {
    color: black;
    display: block;
    font-size: 14px;
    line-height: 53px;
    margin: 0 20px;
    width: 683px;
}
/* ------------------------------------ Settings ----------------------------------- */
#settingsWallpaper {
    clear: both;
    margin-left: 20px;
    overflow: auto;
    padding-bottom: 20px;
}
#settingsWallpaper a {
    display: block;
    float: left;
    height: 118px;
    margin: 20px 20px 0 0;
    width: 115px;
}
#settingsWallpaper a:hover {
    background-position: 0 -118px;
}
#settingsWallpaper a.selectedWallpaper:hover, #settingsWallpaper a.selectedWallpaper {
    background-position: 0 -236px;
}
#settingsWallpaper p {
    margin: 20px 0 0 2px;
}
#progressType {
    float: left;
    width: 205px;
}
#progressType a {
    display: block;
    margin-top: 10px;
    width: 145px;
}
#progressColour {
    clear: both;
    margin-left: 20px;
    overflow: auto;
    padding-bottom: 20px;
}
#progressColour a {
    display: block;
    float: left;
    height: 118px;
    margin: 20px 20px 0 0;
    width: 115px;
}
#progressColour a:hover {
    background-position: 0 -118px;
}
#progressColour a.selectedProgress, #progressColour a.selectedProgress:hover {
    background-position: 0 -236px;
}
#progressColour p {
    margin: 20px 0 0 2px;
}
/* ------------------------------------ Help ----------------------------------- */
#helpText {
    margin-left: 20px;
    width: 560px;
}
#helpNav {
    position: absolute;
    right: 20px;
    top: 98px;
    width: 210px;
}
#helpNav h2 {
    margin-bottom: 10px;
}
#helpNav h3 {
    margin-bottom: 6px;
}
#helpNav p {
    margin-bottom: 35px;
}

/* ------------------------------------ Page Index ----------------------------------- */
#pageIndexDisplay {
    clear: both;
    margin-left: 20px;
    overflow: auto;
    padding-bottom: 20px;
}
#pageIndexContainer {
    height: 370px;
    overflow: auto;
    width: 830px;
}
#pageIndexContainer a, #pageIndexContainer p {
    background-image: url(../interface/page-index-buttons.jpg);
    background-position: 0 -99px;
    color: #333333;
    display: block;
    float: left;
    font-size: 40px;
    height: 99px;
    line-height: 99px;
    margin: 19px 19px 0 0;
    overflow: hidden;
    text-align: center;
    width: 97px;
}
#pageIndexContainer p {
    color: #bbbbbb;
}
#pageIndexContainer a:hover {
    background-position: 0 0;
    color: #ffffff;
}
/* ------------------------------ Buttons --------------------------------- */
button {
    background-color: gray;
    background-image: linear-gradient(0deg, #606080, #8112b6);
    border: 1px solid #3c473c;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 21px;
    font-weight: bold;
    line-height: 49px;
    margin-top: 20px;
    padding: 0 20px;
    text-shadow: -2px -2px 1px #3c473c;
}
button.disabled {
    background-image: none;
    color: lightgray;
    cursor: default;
}
button.enabled:hover {
    background-image: linear-gradient(180deg, #606080, #8112b6);
}
/* ------------------------------------ ----------------------------------- */
#popup {
    display: none;
    margin: 15px 0 0 15px;
    position: absolute;
    top: 200px;
    width: 430px;
    z-index: 100;
}
#popupTop {
    background-image: url(../interface/popup.png);
    background-position: top;
    height: 60px;
    margin: -15px;
}
#popupMiddle {
    background-image: url(../interface/popup-middle.png);
    background-position: center;
    background-repeat: repeat-y;
    margin: 15px -15px;
    overflow: auto;
    padding: 15px;
}
#popupBottom {
    background-image: url(../interface/popup.png);
    background-position: bottom;
    height: 50px;
    margin: -15px;
}
#popupContent {
    padding: 0 30px;
    text-align: left;
}
#yesButton,
#noButton {
    float: left;
    margin: 0 0 0 20px;
    width: 95px;
}
#popupButtons {
    float: right;
    margin: 20px 0 0;
}

.glossaryTerm {
    font-size: inherit;
    font-style: italic;
    line-height: inherit;
    position: relative;
}
.glossaryDefPanel {
    background-color: #FFFFaa;
    border: 1px solid #888888;
    -moz-box-shadow: 6px 6px 8px #000000;
    -webkit-box-shadow: 6px 6px 8px #000000;
    box-shadow: 6px 6px 8px #000000;
    display: none;
    font-size: 16px;
    font-style: normal;
    left: 0;
    padding: 10px;
    position: absolute;
    top: 0;
    z-index: 1000;
}
.gfxLabel {
    background-color: #f0f080;
    border: 1px solid #000;
    padding: 10px;
    position: absolute;
}


/* --------------------- Jimmy Speech ----------------- */
.speech {
    font-style: italic;
}

/* --------------------- Inline dropdowns --------------*/
.inlineDropdown {
    border-bottom: 1px solid black;
    font-size: 16px;
}

