html { overflow: -moz-scrollbars-vertical !important; }

body { margin: 0; padding: 0; background: white; font-family: Arial; font-size: 100%; }

#header { color: white; background: black; height: 110px; vertical-align:middle; padding-left:10px;}
	  
#header a { color: #cc66cc; }
#header a:hover, #header a:active { color: grey; }

#container { text-align: center; vertical-align: middle; margin-left:10px; margin-top:10px;} 
#container a { color: purple; }
#container a:hover, #container a:active { color: grey; }

#center { width: 900px; text-align: left; margin: 0 auto; clear: both;}

#groupandprojectname { float: left; clear: both; } 
#groupname { display: inline; margin-right: 20px;}
#projectname { display: inline; }
#loggedoninfo { float: right; margin-right: 25px;}

#groupname a, #groupname a:visited {
        font-size:2em;
	font-family:comic sans ms;
	font-weight:bold;
	text-decoration: none;
	color: white;
}
#groupname a:hover, #groupname a:active { color: grey;}

#projectname {
	font-size:1.5em;
	font-weight:bold;
}

#navigation { float:left; list-type: none; padding-top: 5px; clear: both;}
#navigation li { list-style-type: none; color: white; font-size: 1em; text-transform: uppercase; display: inline; margin-right: 25px; }
#navigation li.last { margin-right: 0;}

#navigation a { color: white; text-decoration: none; padding: 10px 10px 10px 10px; } 
#navigation a.selected, #navigation a:hover { background: white; color: black; }

.composite_ul { margin-top: 0px; margin-bottom: 0px; }
div.composite_ul { margin-top: 10px; margin-bottom: 10px; }

.button { background: black; color: white; font-size:1.0em; }
.smallbutton { background: black; color: white; font-size:1.0em; }

table.type1, table.type2{
        border-collapse:collapse;
        cellpadding:1px;
        margin:10px;
        border-width:1px;
}

table.type1 th, table.type1 td {
        border-width: 1px;
        padding: 5px;
        border-style: solid none solid none;
        border-color: black;
        background-color: white;
        -moz-border-radius: 0px;
}

table.type2 th, table.type2 td,
table.type2 td.mergedright, table.type2 th.mergedright,
table.type2 td.mergedleft, table.type2 th.mergedleft,
table.type2 td.mergedmiddle, table.type2 th.mergedmiddle,
table.type2 th.noborders, table.type2 td.noborders {
        border-width: 1px;
        padding: 5px;
        border-color: black;
        background-color: white;
        -moz-border-radius: 0px;
        border-style: solid;
}

table.type2 th.noborders, table.type2 td.noborders {
        border-style: none;
}

table.type2 td.mergedright, table.type2 th.mergedright {
        border-style: solid solid solid none;    
}

table.type2 td.mergedmiddle, table.type2 th.mergedmiddle {
        border-style: solid none solid none;    
}

table.type2 td.mergedleft, table.type2 th.mergedleft {
        border-style: solid none solid solid;    
}

table.frame {
    border: thin black solid;
    padding: 5px;
}

.error { color: red; }
.success { color: green; }
.incorrect { color: red; }

.small { font-size: 70%; }

div.w250 {
    width: 250px;
    float: left;
}

div.w300 {
    float: left;
    width: 300px;
    }

div.w350 {
    float: left;
    width: 350px;
    }

div.w375 {
    float: left;
    width: 375px;
    }

div.w500 {
    width: 500px;
    float: left;
}

div.w450 {
    float: left;
    width: 450px;
    }

div.all {
    float: left;
    clear: both;
    }

div.float {
    float: left;
    padding: 10px ;
    margin: 10px;
    background-color: #cccccc;
    width: 350px;
}

div.box {
    padding: 10px ;
    margin: 10px;
    background-color: #cccccc;
    width: 350px;    
}

/* See http://www.jakpsatweb.cz/css/css-vertical-center-solution.html */
/* They also show how to make it work for IE which I haven't yet */
div.field,
div.selectedfield,
div.correctfield,
div.incorrectfield {
    float: left;
    border: solid;
    border-width: 2px;
    margin: 10px;
}

div.selectedfield {
    border-width: 5px;
    margin: 5px;
}

/* Creates the Card like displays in the Quiz.*/
div.cardtop,
div.cardmiddle,
div.cardbottom {
    background-color: #cccccc;
    width: 380px;
    display: table;
}
div.cardtop {
    height: 30px;
    padding: 10px 10px 0px 10px;
}
div.cardmiddle {
    height: 110px;
    padding: 0px 10px 0px 10px;
}
div.cardbottom {
    height: 40px;
    padding: 0px 10px 10px 10px;
}

/* Creates the little cards shown in the card type choosing */
div.littlecardtop,
div.littlecardmiddle,
div.littlecardbottom {
    background-color: #cccccc;
    width: 200px;
    padding: 5px;
    display: table;
    margin: 0px 10px 0px 10px;
}
div.littlecardtop { height: 20px; margin-top: 10px; font-weight: bold;}
div.littlecardmiddle { height: 50px; }
div.littlecardbottom { height: 20px; }

/* Does the vertical align in cards (I think IE doesn't work) */
div.v-middle {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    clear: both;
}

/* Coloring of correctly and incorrectly answered cards in quizzes */
div.cardcorrect { background-color: #99ff99; }
div.cardincorrect { background-color: #cc3333; }

h5 {
    font-size: 100%;
    margin: 10px 0px 10px 0px;
    font-weight: bold;
}

input.small { font-size: 60%; }

/* VERB APP STYLES */

table.showme {
        border-collapse:collapse;
        cellpadding:1px;
        margin:10px;
        border-width:1px;
	clear:left;
}
table.showme th, table.showme td {
        border-width: 1px 1px 1px 1px;
        padding: 5px 5px 5px 5px;
        border-style: solid solid solid solid;
        border-color: {{tablebordercolor}} {{tablebordercolor}} {{tablebordercolor}} {{tablebordercolor}};
        background-color: {{tablecolor}};
        -moz-border-radius: 0px 0px 0px 0px;
}
table.showme td.testable {
	background-color: #99ff99;
}
ul.pages {
	 padding: 0 0 0 0px;
	 float:left;
}
ul.pages li {
	float:left;
	list-style-type:none;
	padding:8px 8px;
}

