/*
Maintemplate for IUBMB.org

Contents:
### Styles for metanavigation ###
### Styles for global_navi ###
### Styles for local_navi ###
### Styles for Links ###
### Styles for content rendering ###

*/

* {
    margin: 0px;
    padding: 0px;
}

html, body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #000000;
        background: #FFFFFF;
        margin: 0px;
        padding: 0px;
        height: 101%
}

#layout_table {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}

#logo {
    width: 160px;
    max-width: 160px;
}

#logo, #content {
    background: #f5f5f5;
}

#sitetitle {
    width: 629px;
    height: 48px;
    margin: 0px;
    padding: 3px;
    padding-left: 8px;
    background: #f5f5f5;
    font-size: 22px;
    color: #de152a;
    font-weight: bold;
    font-style: italic;
}

/* ### Styles for metanavigation ### */
#meta_navi {
    background-color: #ffffff;
    padding: 0px;
    line-height: 20px;
    font-size: 95%;
    border-top: 1px #faccc8 solid;
    border-bottom: 1px #faccc8 solid;
}

#meta_navi a:link, #meta_navi a:visited, #meta_navi a:hover, #meta_navi a:active {
	text-decoration: none;
	color: #666666;
	padding: 4px;
}

#meta_navi a:visited {
        color: #666666;
        padding: 4px;
}                       

#meta_navi a:hover {
	color: #c16363;
	background: #ffffff;
        padding: 4px;
}

#meta_navi a.active, #meta_navi a:active {
	color: #de152a;
	background: #ffffff;
        padding: 4px;
}
	

/* ### Styles for global_navi ### */
#global_navi {
        height: 50px;
        background: #e3e3e3 url(../images/globalnavi_bgline.gif) repeat;
        font-size:12px;
        color: #333333;
        padding: 0px;
        margin: 0px;
        width: 640px;
}                            


/* ### Styles for local_navi ### */
#local_navi {
    width: 155px;
    font-size: 100%;
    padding: 30px 0px 20px 0px;
}

#local_navi ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    border-bottom: 1px solid #de152a;
}

#local_navi ul ul {
    border: none;
}

#local_navi ul ul ul {
    margin-bottom: 3px;
}

#local_navi a {
    display: block;
    color: #333333;
    text-decoration: none;
}

#list-lvl1 a {
    font-size: 100%;
    padding: 3px 0px 3px 5px;
    border-top: 1px solid #de152a;
    width: 155px;
}

#list-lvl2 a {
    font-size: 95%;
    margin: 0px;
    margin-left: 14px;
    padding: 2px 0px 2px 1px;
    border-top: 1px solid #de152a;
    width: 145px;
}

#list-lvl3 a {
    font-size: 92%;
    margin-left: 24px;
    padding: 1px 0px 1px 1px;
    border: none;
    width: 135px;
}

#list-lvl1 a.active-lvl1, #list-lvl2 a.active-lvl2, #list-lvl3 a.active-lvl3 {
    background: #ffffff;
    color: #de152a;
}                                      

#list-lvl1 a:hover, #list-lvl2 a:hover, #list-lvl3 a:hover {
    background: #ffffff;
    color: #c16363;
}


/* ### Styles for Links (not menulinks) ### */
a:link {
	text-decoration: none;
	color: #c16363;
}

a:visited {
	text-decoration: none;
	color: #c16363;
}

a:hover {
	text-decoration: underline;
	color: #d67b78;
}

a:active {
	text-decoration: underline;
	color: #d67b78;
}

/* ### Styles for content rendering ### */
#content {
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}
/* styles for the content columns are conditionally included and
   are therefore outsources to other stylesheets */


/* Headings */
td#col_left h1.csc-firstHeader {
    margin: 0px;
    margin-bottom: 25px;
    padding: 5px;
    padding-left: 3px;
    color: #333333;
    font-size: 160%;
    font-weight: bold;
    background: #cccccc;
}

td#col_left h1 {
    margin-bottom: 13px;
    color: #333333;
    font-size: 160%;
    font-weight: bold;
    background: #cccccc;
}

td#col_left h2 {
    margin-bottom: 10px;
    color: #333333;
    font-size: 140%;
    font-weight: bold;
}

td#col_left h3 {
    margin-bottom: 6px;
    color: #333333;
    font-size: 120%;
    font-weight: bold;
}

td#col_left h4 {
    margin-bottom: 6px;
    color: #333333;
    font-size: 100%;
    font-weight: bold;
}

td#col_left p {
    margin-bottom: 0px;
    padding: 2px;
}    

td#col_right h1 {
    margin-top: 15px;
    margin-bottom: 3px;
    color: #333333;
    font-size: 130%;
    font-weight: bold;
}

td#col_right h2, td#col_right h3, td#col_right h4 {
    margin-top: 15px;
    margin-bottom: 3px;
    color: #333333;
    font-size: 110%;
    font-weight: bold;
}

td#col_right p {
    margin-bottom: 0px;
    padding: 2px;
} 


/* Styles for lists */ 
ul, ol {
   margin-left: 20px;
}
