/* 
 * Template based on contented6 by http://www.ContentedDesigns.com.
 * 
 * Copyright (c) 2007 Zilogic 
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

/* 
 * Global Styles
 */
body {
color: #333333;
background-color: #ffffff;
font-family: Arial, sans-serif;
font-size: 90%;
background: #cccccc;
text-align: center;
margin: 0px;
}

/* We need a separate container, for the background to be set.
 * It is also required for setting the max-width in IE using width.
 */
#container {
background-color: #ffffff;
max-width: 800px; 
/* This is a work around for IE */
width: expression(document.body.clientWidth > 800? "800px": "auto" );
margin-left: auto;
margin-right: auto;
margin-top: 0px;
margin-bottom: 0px;
text-align: left;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ol, dl, fieldset, address {
margin: 0.75em 0;
}

h1 {
font-size: 167%;
}

h2 {
font-size: 139%;
}

h3 {
font-size: 120%;
}

h4 {
font-size: 100%;
}

a {
/* color: #bd5200; */
color: #008888;
text-decoration: underline;
}

a:hover {
text-decoration: underline;
}

a:visited { 
color: #6666AA;
}

table {
border-collapse: collapse;
border: 0px;
}

tr {
vertical-align: top;
}

th, td {
padding: 5px;
border: 0px;
margin: 0px;
}

th {
background-color: #f0f0f0;
}

/*
 * IE measures the width of an object from border to border, where
 * Mozilla measures the width in terms of the content.
 * Forcing Mozilla to measure it the same way using the following
 * code.
 */

div { 
-moz-box-sizing:border-box;
box-sizing:border-box;
}

/*
 * Header and Navigation bar related Styles
 */

#header {
color: #ffffff;
background-color: #aa2e00;
}

#title {
color: #ffffff;
background-color: #aa2e00;
width: 100%;
font-size: 250%;
font-weight: bold;
padding: 3% 0% 0% 3%;
margin: 0;
float: right;
}

ul#nav {
float: right;
width: 100%;
margin: 0 0 10px 0;
padding: 0 0 10px 0;
list-style: none;
background-color: #aa2e00;
}

ul#nav li {
float: right;
}

ul#nav li a {
display: block;
margin: 0 5px 0 0;
padding: 0.4em 0.9em 0.4em 0.9em;
color: #ffffff;
background-color: #888888;
font-weight: bold;
text-decoration: none;
}

ul#nav li a:hover {
border-bottom: 3px solid #ffffff;
}

ul#nav a.selected {
border-bottom: 3px solid #ffffff;
}

#slogan {
width: 100%;
clear: both;
padding: 0.5% 0% 0.5% 1%;
border-top: 1px solid;
border-bottom: 1px solid;
font-weight: bold;
background-color: #f0f0f0;
border-color: #cccccc;
}

/*
 * Content and Sidecontent related styles.
 */

#content {
width: 99%;
padding: 0 0 0 0;
margin: 0 0 0 1%;
}

#maincontent {
margin: 0 0 20px 0;
width: 95%;
float: left;
}

/*
 * Calendar and schedule related styles.
 */

table.sched { 
width: 80%;
border-bottom: 1px solid #cccccc;
}

table.sched th { 
border-top: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
background-color: #f0f0f0;
}

table.cal {
border-spacing: 0;
border-collapse: separate;
empty-cells: show;
width: 100%;
table-layout: fixed;
}

table.cal th, td.calday, td.calspace, td.calspace-not-this-month {
font-family: arial, sans-serif;
font-size: 80%;
font-weight: normal;
min-width: 14%;
width: 14%;
max-width: 14%;
height: 1.5em;
max-height: 1.5em;
margin: 0;
padding: 0;
}

td.calday {
background-color: #eeeeee;
border: thin solid #cccccc;
text-align: right;
}

td.calspace, td.calspace-not-this-month {
}

td.calspace {
background-color: #ffffff;
}

td.calspace-not-this-month {
background-color: #eeeeee;
}

div.cal1, div.cal2, div.cal3 {
padding: 1px;
margin: 1px;
white-space: nowrap;
overflow: hidden;
}

div.cal1 {
background-color: #ffaaaa;
border: 1px solid #bb6666;
}

div.cal2 {
background-color: #aaffaa;
border: 1px solid #66bb66;
}

div.cal3 {
background-color: #aaaaff;
border: 1px solid #6666bb;
}

/*
 * Syllabus pages related styles
 */

div.sectionbody h3 {
padding: 4px;
background-color: #444444;
color: #ffffff;
}

div.sectionbody h4 {
padding: 4px;
background-color: #cccccc;
color: #000000;
}

/*
 * Course Tracks page related styles
 */

ul.track {
clear: both;
margin: 0 0 10px 0;
padding: 4px 0 4px 0;
list-style: none;
width: 100%;
}

ul.track li {
margin: 4px 0 4px 0;
float: left;
border-top: solid #777777;
border-bottom: solid #777777;
}

ul.track li a, ul.track li a:visited {
display: block;
margin: 3px 4px 3px 4px;
padding: 5px 10px 5px 10px;
color: #ffffff;
background-color: #777777;
font-weight: bold;
text-decoration: none;
white-space: nowrap;
}

.course-track {
display: table;
width: 99%;
background-color: #f0f0f0;
margin: 5px 0 5px 0;
padding: 10px 10px 10px 10px;
border: 1px solid;
border-color: #cccccc;
}

img.img-track {
float: right;
}

/*
 * Footer related styles
 */ 

#footer {
color: #777777;
background-color: #ffffff;
border-top: 6px solid #aa2e00;
font-size: 85%;
width: 100%;
clear: both;
padding: 0.5em 1% 1em 1%;
}



