/* 
 * 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: 1000px; 
/* This is a work around for IE */
width: expression(document.body.clientWidth > 1000? "1000px": "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.products {
border: none;
width: 90%;
}

table.products tr td a img {
padding: 5px;
border: 1px solid #cccccc;
background: #ffffff;
}

input {
border: 1px solid #cccccc;
padding-left: 0.1em;
color: #333333;
}

.gallery img {
border: none;
}

.gallery {
float:right;
border: none;
text-align: center;
padding: 5px;
margin-left: 5px;
}

table.products td.cat {
font-size: 120%;
font-weight: bold;
background-color: #f0f0f0;
}

table.products tr th {
padding: 5px;
border-bottom: thin solid #cccccc;
border-right: none;
border-left: none;
margin: 0px;
}

table.products td {
padding: 5px;
border-bottom: thin solid #cccccc;
border-right: none;
border-left: none;
margin: 0px;
}

table {
border-collapse: collapse;
border: thin solid #dddddd;
}

th, td {
padding: 5px;
border-right: thin solid #cccccc;
border-left: thin solid #cccccc;
margin: 0px;
}

th {
background-color: #f0f0f0;
}

td.even {
background-color: #ffffff;
}

td.odd {
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;
-webkit-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: 70%;
float: left;
}

#sidecontent {
background: #f0f0f0;
padding: 10px 10px 10px 10px;
margin: 15px 1% 15px 1%;
width: 25%;
float: right;
border: 1px solid #cccccc;
}

#sidecontent h2 {
margin: 0.75em 0.25em 0.25em 0;
}

#sidecontent ul {
margin-top: 0.25em;
margin-bottom: 0.25em;
}

/*
 * The left margin should be specified in li and not in ul, so that
 * the rendering is same in Firefox and IE.
 */

#sidecontent ul li { 
margin-left: 0.25em;
}

#sidecontent p {
margin: 0 0 0 0;
}

#sideimage {
text-align: center;
}

/*
 * 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;
}

/*
 * Syllabus pages related styles
 */

div.sectionbody h3 {
padding: 4px;
background-color: #444444;
color: #ffffff;
}

div.sectionbody h4 {
padding: 4px;
background-color: #cccccc;
color: #000000;
}

/*
 * Customers page
 */

ul.customer-gallery {
margin: 0.5em;
list-style: none;
padding: 0;
}

ul.customer-gallery li {
float: left;
padding-left: 0.3em;
}

ul.customer-gallery li img {
border: 1px solid black;
}

div.customer-gallery-end {
clear:both;
}

/*
 * 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;
}

/*
 * Product page related
 */

dt {
font-weight: bold;
margin-bottom: 0.5em;
}

dt.sample {
font-family: monospace;
font-size: 160%;
}

dd {
margin-bottom: 1em;
text-align: justify;
margin-left: 1em;
}

.gallery table td {
border: thin solid #cccccc;
}

.price {
text-align: left;
background-color: #f0f0f0;
border: thin solid #cccccc;
margin-top: 1em;
padding-top: 0;
padding-bottom: 0;
}

.price ul {
margin-top: 0.5em;
margin-bottom: 0.5em;
}

/*
 * 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%;
}



