/* General layout */
body {margin:0; padding:20px 0; font:74% tahoma,verdana,sans-serif; background:#047 url(/images/bodybg.png) repeat-x fixed; color:#333;}
#container {width:720px; margin:0 auto; padding:20px 20px 0 20px; background:#fff url(/images/contbg.png) no-repeat; color:#333;}

/* Tags */
h1,h2,h3,h4 {margin:0 0 10px 0; font-weight:normal;}
h1 {font-size:2.6em;}
h1#maincontent {text-transform: uppercase;}
h2 {margin:0 0 4px 0; font-size:1.5em;}
h3 {margin:20px 0 8px 0; font-size:1.3em;}
h4 {margin:10px 0 5px 0; font-size:1.2em;}
a, .link {text-decoration:none; color:#26c; outline: none; cursor: pointer;}
a:hover, .link:hover {text-decoration: underline;}
a img {border:0;}
p {margin:0 0 15px 10px; line-height:1.5em; font-size:0.9em;}
#container p {margin:0 0 15px 10px; line-height:1.5em; text-align:justify;}

#tagline {text-align:center; font-size:1.4em;line-height:1.5em;}

/*Logo*/
#logo {float:left; width:360px; height:125px;}
#logo h1 {margin-top:35px; font-size:3.5em; line-height: 1em; font-weight:bold;font-family:Comic Sans MS;}
#logo h2 {margin:5px 5px 5px 5px; text-align:right;font-style:italic;}
#intro p {line-height:1.5em; font-size: 0.9em; text-align:right;}

/* Main content */
#main {float:left; width:530px; margin-right:20px; padding:0; line-height:1.3em; }
#main p.block {font-size:0.9em; line-height:1.4em; margin:5px auto 15px auto; padding:5px; color:#555; border-top:1px solid #ddd; border-right:1px solid #bbb; border-bottom:1px solid #bbb; border-left:1px solid #ddd; background-color:#FFFFF0;}
#main p.catchword {font-size:0.9em; text-align:right; font-style:italic;}
#main h1.header {clear:left; display:block; margin:22px 0 10px 0; padding:5px 0 5px 8px; background:#eee url(/images/gradient2.png) repeat-x; color:#444; border-top:1px solid #ddd; border-right:1px solid #bbb; border-bottom:1px solid #bbb; border-left:1px solid #ddd; text-decoration:none; font-size:1.5em;}
#main h2.subheader {clear:left; display:block; margin:20px 0 10px 0; padding:5px 0 5px 8px; color:#444; border-bottom:1px solid #bbb; text-decoration:none;}

/* Sidebar */
#sidebar {width:155px; float:right; margin-top:20px; font-size:1em; line-height:1.3em;}
#sidebar p, #sidebar ul, #sidebar ol {margin:0 0 15px 10px; padding:0;}
#sidebar ul {margin:0; padding:0;}
#sidebar ul li, #sidebar ol li {list-style:none; margin-bottom: 12px; font-size: 0.9em; line-height: 1.1em; display:block;}
#sidebar #contacts {height:125px;}
#sidebar #contacts p {line-height:1.5em; font-size: 0.9em; text-align:right;}

.sidelink {display:block; width:140px; margin:3px 10px 2px 0; padding:5px 0 5px 8px; font-size:1.2em; font-weight:400; text-align:left; background:#eee url(/images/gradient1.png) repeat-x; color:#26c; border-top:1px solid #ddd; border-right:1px solid #bbb; border-bottom:1px solid #bbb; border-left:1px solid #ddd;}
.sidelink:hover,.menuheader {background:#fff url(/images/gradient2.png) repeat-x; color:#333; border-top:1px solid #ddd; border-right:1px solid #888; border-bottom:1px solid #888; border-left:1px solid #ddd; text-decoration:none;}

/* Footer */
#footer {margin:0 auto 10px auto; line-height:1.6em; width:760px; background:#fff url(/images/footerbg.png) bottom left no-repeat; padding:0 0 1px 0; font-size:1.1em; color:#777; text-align:center;}
#footer p {border-bottom: 1px solid #eee; border-top: 1px solid #eee; padding:5px; margin:0 10px;}
#footer ul li, #footer ol li {list-style:none; margin-bottom: 10px; font-size: 0.9em; line-height: 1.1em; display:block; width:350px; text-align:left;float:left;}


/* Additional classes */
.right {text-align:right;}
.internallink {font-size:0.9em; text-align:center;}
.credit {color:#777;}
.clear {clear:both; margin:0; padding:0;}
.spacer{height:1px; clear:both;}
.up, strong {font-weight: bold; text-transform: uppercase;}