/* Base items */
html {
    background-color: #f9eaec;
}
body {
    padding-bottom: 0em;
}
a {
    text-decoration: none;
    font-weight: bold;
    color: #7f1726;
}
a:hover {
    text-decoration: underline;
}

#doc43 {
    background: url(/media/images/main_bg.png) repeat-y;
}
.yui-t0 #sb {
    display: none;
}

/* Header */
#hd {
    height: 7.308em;
    height: 7.125em;
    margin-left: 7px;
    margin-right: 7px;
    border-left: 1px solid #5f141f;
    border-right: 1px solid #5f141f;
    border-bottom: 1px solid #5f141f;
    background: url(/media/images/header2.png) repeat-y;
}
#hd h1 {
    display: none;
}
/* Menu */
#mn {
    margin-left: 7px;
    margin-right: 7px;
    border-left: 1px solid #363636;
    border-right: 1px solid #363636;
    border-bottom: 1px solid #363636;
    border-top: 1px solid #363636;
    background: #4a4a4a url(/media/images/mn_bg.png) repeat-x;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 0em;
    padding-bottom: 0em;
    color: #dedede;
}
#mn ul li {
    display: inline;
}
#mn ul li a {
    color: #ffffff;
    text-decoration: none;
    padding-left: 1em;
    padding-right: 1em;
    display: inline-block;
    height: 1.5em;
    line-height: 1.5em;
    vertical-align: middle;
    font-size: 131%;
    font-weight: normal;
}
#mn ul li a.active,
#mn ul li a:hover {
    text-decoration: none;
    background: #ffffff;
    color: #4a4a4a;
    border: 1px solid #ffffff;
    border-bottom: 7px solid #ffffff;
    margin: -1px;
    margin-bottom: -7px;
}
/* Footer */
#ft {
    margin-left: 7px;
    margin-right: 7px;
    border-left: 1px solid #363636;
    border-right: 1px solid #363636;
    border-top: 1px solid #363636;
    background: #4a4a4a url(/media/images/ft_bg.png) repeat-x;
    xpadding-left: 14em;
    xpadding-right: 14em;
    xpadding-top: 2.5em;
    xpadding-bottom: 2.5em;
    color: #dedede;
    text-align: center;
}
/* Content box */
#bd {
    margin-left: 7px;
    margin-right: 7px;
    border-left: 1px solid #4a4a4a;
    border-right: 1px solid #4a4a4a;
    padding: 2em;
    background: transparent url(/media/images/bd_bg.png) repeat-x;
}

.box {
    margin-bottom: 2em;
}
.box .cb {
    clear: both;
}
.box .box-text img {
    float: right;
    margin-left: 1em;
}
.box p {
    margin-top: 0.5em;
}
.box .box-text table {
    display: inline;
}
.box h1 {
    font-size: 153.9%;
    color: #4a4a4a;
}
.box h2 {
    font-size: 138.5;
    color: #4a4a4a;
}
.box h3 {
    font-size: 123.1%;
    color: #4a4a4a;
}

#sb h1 {
    font-size: 123.1%;
    color: #4a4a4a;
}
#sb h2 {
    font-size: 77%;
    color: #4a4a4a;
    margin-top: 0.8em;
}

/* General */
textarea {
    width: 200px;
}
td, th {
    vertical-align: top;
    padding-right: 1em;
    padding-bottom: 1em;
    font-style: normal;
}
th {
    text-align: right;
    font-weight: bold;
    font-size: 93%;
}

/* Stuff */
.linkbox {
    min-height: 8em;
    height: 8em;
    border: dashed 1px #363636;
    margin-bottom: 1em;
    padding: 1em;
}
.linkbox h2 {
    margin-bottom: 1em;
}
.link {
    padding-top: 1em;
}
iframe.map {
    width: 450px;
    height: 380px;
    border: 0;
}

html, body {
    height: 100%;
}

#wrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -10em; /* the bottom margin is the negative value of the footer's height */
	*margin: 0 auto -9.75em; /* the bottom margin is the negative value of the footer's height */
    background: url(/media/images/main_bg2.png) repeat-y;
    width: 74.923em;
    *width: 73.050em;
}
#foot, #push {
	height: 10em; /* .push must be the same height as .footer */
	*height: 9.75em; /* .push must be the same height as .footer */
}
#ftx {
    width: 45.692em;
    *width: 44.550em;
    height: 3.692em;
    *height: 3.600em;
}
#ft {
    width: 73.692em;
    *width: 71.850em;
    margin: 0 auto;
	height: 9.923em; /* .push must be the same height as .footer */
	*height: 9.675em; /* .push must be the same height as .footer */
}
#ftp {
    margin: 3em auto 0;
    width: 50em;
    *width: 48.750em;
}

.categorybox {
    height: 10em;
    border: 1px solid #4A4A4A;
    border-radius: 25px;
    -moz-border-radius: 25px;
    padding: 10px;
    position: relative;
    text-align: center;
    background-color: #f2efef;
    margin-left: 0.5em;
    margin-right: 0.5em;
    margin-bottom: 2em;
}
.categorybox h1 {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

.yui-gb .yui-u, .yui-g .yui-gb .yui-u, .yui-gb .yui-g, .yui-gb .yui-gb, .yui-gb .yui-gc, .yui-gb .yui-gd, .yui-gb .yui-ge, .yui-gb .yui-gf, .yui-gc .yui-u, .yui-gc .yui-g, .yui-gd .yui-u {
    xmargin-left:2%;
    width:31%;
}

.box .box-text a.document:hover {
    text-decoration: none;
}
.box .box-text a.document {
    display: inline-block;
    text-align: center;
    padding: 1em;
    color: #4A4A4A;
    margin-right: 1em;
    width: 8em;
    min-height: 8em;
    float: left;
}
.box .box-text a.document img {
    float: none;
    margin-bottom: 0.5em;
    margin-left: 0;
}

.box-text ul {
    margin-top: 1em;
    margin-left: 1em;
}
.box-text li {
    margin-top: 0.5em;
    list-style: disc inside none;
}

