/* Default HTML styles */

body {
    font: 10pt/1.1 arial,helvetica,sans-serif;
    background: #eee;
    color: #222;
}

a, a:hover {
    text-decoration: none;
    font-weight: normal;
    color: #0066b2;
}

a:hover {
    text-decoration: underline;
}

p, dl, fieldset {
    margin: .3em 0;
}

h1, h2, h3, h4, h5 {
    color: #000;
    font-weight: normal;
    margin: .3em 0 .2em 0;
}

h1 a, h1 a:hover {
    text-decoration: inherit;
    color: inherit;
    font-weight: inherit;
}

table, tr, th, td {
    vertical-align: middle;
}

th {
    font-weight: normal;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.2em;
}

fieldset {
    border: 1px solid #c3d9ff;
    padding: .5em;
}

legend {
    font-size: 1.1em;
    color: #0066b2;
    font-weight: bold;
}

strong, b {
    font-weight: bold;
}

em, i {
    font-style: italic;
}

ul, ol {
	list-style-position: outside;
	margin: .3em 0 .3em 2em;
}

ul {
	list-style-type: disc;
}

ol {
	list-style-type: decimal;
}

li {
	marker-offset: auto;
}

dt {
    font-weight: bold;
    margin-top: .5em;
}

dd {
    margin-bottom: .5em;    
}

sup {
    font-size: .7em;
    position: relative;
    top: -0.6em;
    left: 0;
}

/* Page layout */

#hd {
    background: #fff url(/static/img/bg_hd_grey.png) repeat-x top;
    padding: 0 10px;
}

#hd table {
    width: 100%;
}

#hd h1 {
    padding: 10px 0 5px 5px;
    margin: 0;
}

#bd {
    border-width: 3px 0;
    border-style: solid;
    border-color: #0066b2;
    padding: 10px 0;
}

.sidebarred #container{
    overflow: hidden;
    padding: 0 230px 0 0;
}

* html #container{
    height: 1%; /* So IE plays nice */
}

.sidebarred #content {
    width: 100%;
    border-right: 230px solid #eee;
    margin-right: -230px;
    float: left;
}

#sidebar {
    width: 230px;
    float: left;
    margin-right: -230px;
}

#ft {
    clear: both;
    padding: 10px;
}

#ft ul, #ft li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline;
}

#ft li {
    padding-right: 1em;
}

#ft th, #ft td {
    padding: .2em 0;
}

#ft th {
    font-weight: bold;
    padding-right: 2em;
    text-align: right;
}

#flash .flash {
    background: #fff888;
    margin: 0 10px 10px 10px;
    padding: 5px 10px;
}

#content .content {
    background: #fff;
    padding: 5px 10px;
    margin: 0 10px;
	/* overflow:auto; */
}

#sidebar .sidebar {
    background: #fff;
    padding: 5px 10px;
    margin: 0 10px 10px 0;
}

#sidebar h1, #sidebar h2 {
    font-size: 1.5em;
    color: #000;
    padding: 0;
    border: 0;
}

#search_box {
    float: right;
    border: 1px solid #c3d9ff;
    padding: 2px 1px 2px 2px;
}

#search_box input {
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

#logo {
    padding-right: 5px;
}

#user_info {
    position: absolute;
    top: 5px;
    right: 10px;
}

/* Global classes */

.blue {
    color: #0066b2;
}

.grey {
    color: #888;
}

.over {
    background: #ffff88 !important; 
}

.small {
    font-size: small;
}

.float_left {
    float: left;
    margin-right: 10px;;
}

.float_right {
    float: right;
    margin-left: 10px;
}

.z1, .z2 {
    color: #000 !important;
}

.z3, .z4 {
    color: #f00 !important;
}

.z4 {
    font-weight: bold !important;
}

/* Horizontal navigation menu */

#nav ul {
    font-size: 1.1em;
    line-height: 1.1;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none outside;
    float: left;
}

#nav ul ul {
    z-index: 98;
}

#nav li {
    display: block;
    float: left;
    margin: 0 10px 0 0;
    padding: 0 18px 0 0;
    background: url(/static/ico/bullet_arrow_down.png) center right no-repeat;
    z-index: 97;
    border: 1px solid #fff;
    list-style: none outside;
}

#nav a {
    display: block;
    text-decoration: none;
    color: #000;
    font-weight: normal;
    width: auto;
    padding: .2em .4em .3em .4em;
    border-right: 1px solid #fff;
    color: #0066b2;
    font-weight: bold;
    background: #fff;
}

#nav li li, #nav li li a {
    border: 0;
}

#nav li li a {
    padding: .2em 1em .2em .4em;
}

#nav li ul {
    position: absolute;
    padding: .4em 0;
    margin: 0 0 0 -1px;
    background: #fff;
    border: 1px solid #c3d9ff;
    border-color:  #c3d9ff #0066b2 #0066b2 #c3d9ff;
    font-size: .9em;
}

#nav li ul li {
    float: none;
    background: #fff;
    margin: 0;
    padding: 0;
}

#nav li li.separator {
    margin-top: .4em;
}

#nav li li {
    font-size: inherit;
}

#nav li ul li a, #nav li ul li div.a {
    color: #000;
    font-weight: normal;
}

#nav li:hover, #nav li.iehover {
    border-color:  #c3d9ff #0066b2 #0066b2 #c3d9ff;
}

#nav li:hover a, #nav li.iehover a {
    border-color:  #c3d9ff;
}

#nav ul li li:hover a, #nav ul li li.iehover a {
    background: #ffff88;
}

#nav li li ul {
    margin: 0 0 0 3em;
}

#nav ul ul, #nav li:hover ul ul, #nav li.iehover ul ul {
    left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.iehover ul, #nav li li.iehover ul {
    left: auto;
}

/* Tables used for positioning */

table.pos, table.pos tr, table.pos th, table.pos td {
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

/* Listify */

a.listified, a.listified:hover {
    color: inherit;
    text-decoration: inherit;
    font: inherit;
}

/* Icons */

img.icon {
    vertical-align: top;
}

table img.icon {
    vertical-align: bottom;
}

/* Tables used for lists */

table.list {
    margin: .3em 0;
}

table.list th, table.list td {
    text-align: left;
    padding: 2px 5px;
    vertical-align: baseline;
}

table.list thead th {
    background: #0066b2;
    color: #fff;
    padding: 3px 5px;
}

table.list tr.alt, table.list tr.alt th, table.list tr.alt td {
    background: #ebf4fa;
}

table.list tr.over, table.list tr.over th, table.list tr.over td {
    background: #fff888 !important;
}

table.list img.icon {
    vertical-align: bottom;
}

/* Tables that represent forms */

table.form {
    margin: 10px 0;
}

table.form tbody th {
    text-align: right;
    padding: 0 5px 0 0;
    color: #666;
    text-transform: lowercase;
}

table.form td.buttons {
    text-align: right;
}

table.form tr, table.form th, table.form td {
    padding: .1em .2em;
    vertical-align: baseline;
}

table.form tr.horizontal td {
    padding-right: 1em;
}

table.form tr.horizontal, table.form tr.horizontal th, table.form tr.horizontal td {
    vertical-align: middle;
}

/* Table that represents an image gallery */

table.gallery {
    border-width: 1px 0;
    border-style: solid;
    border-color: #000;
    background: #ddd;
}

table.gallery div.wrapper {
    padding: 5px;
}

table.gallery div.wrapper .picture {
    vertical-align: middle;
    text-align: center;
    background: #000;
    color: #fff;
}

table.gallery .desc {
    padding: 3px 0 0 0;
}

/* Tabstrips */

.tabstrip {
    margin: 12px 0px 12px 0px;
}

.tabstrip a {
    text-decoration: none;
}

.tabstrip .tab {
    padding: 3px 10px;
    border-top: 1px solid #6caad9;
    border-left: 1px solid #6caad9;
    border-right: 1px solid #0066b2;
    background-color: #ebf4fa;
    border-bottom: 1px solid #0066b2;
}

.tabstrip .selected {
    font-size: 110%;
    font-weight: bold;
    border-bottom: 1px solid #ffffff;   
    background-color: inherit;
}

.tabstrip .spacer, .tabstrip .filler {
    overflow: none;
    border-bottom: 1px solid #0066b2;
}

.tabstrip .spacer {
    width: 10px;
}

.tabstrip .filler {
    width: 100%;
}

/* Taxonomy box */

.taxo li, .taxo li li {
    list-style: none;
    margin: 0;
}

/* Messages and comments */

div.message {
    margin: .5em 0;
}

div.message legend {
    color: #000;
    font-weight: normal;
    font-size: 1em;
    background: #fafaff;
    border: 1px solid #aaa;
    padding: .1em .3em;
    vertical-align: middle;
}

div.message legend img.icon {
    vertical-align: bottom;
}

div.message fieldset {
    padding: .5em;
    background: #eee;
}

/* Media Player Start */

.media_stop, .media_play {
    padding-left: 20px;
}

.media_stop {
    background: url('/static/ico/control_play.png') left no-repeat;
}

.media_play {
    background: url('/static/ico/control_stop.png') left no-repeat;
}

.media_stop.media_hover {
    background: url('/static/ico/control_play_blue.png') left no-repeat;
}

.media_play.media_hover {
    background: url('/static/ico/control_stop_blue.png') left no-repeat;
}

/* Media Player End */

