* {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif; 
    
    text-align: center;
    background: url('/media/images/page_bg.png') repeat-x top #407b97;
    padding: 0 20px;
    margin: 0;
}

#page {   
    width: 750px;
    margin: 20px auto;
}

#header {
    text-align: center;
    background: black;
    color: white;
}

#header h1 {
	width: 750px;
	height: 146px;
	position: relative;
	overflow: hidden;
    margin: 0;
    background: black;
    vertical-align: bottom;
}

#header h1 a {
    color: white;
    text-decoration: none;
    font-size: 1.7em;
    top: 30%;
}

#header h1 span {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
    background: url('/media/images/header.png') no-repeat;
}

#top-nav, #bottom-nav {
    width: 740px;
    padding: 3px 0;
    
    margin: 0;

    font-weight: bold;
    font-size: 1.2em;

    background: #ae1010;
    color: white;

    xfloat: left;
}

#bottom-nav {
    width: 750px;
    background: url('/media/images/content_bottom.png') no-repeat bottom #ae1010;
    padding-bottom: 5px;
    clear: right;
}

#top-nav ul, #bottom-nav ul {
    padding: 0;
    margin: 0 auto;
    list-style: none;
    xfloat: left;
}

#top-nav ul li, #bottom-nav ul li {
    xfloat: left;
    xclear: right;
    display: inline;
}

#top-nav ul li a, #bottom-nav ul li a {
    padding: 0 10px;
    margin: 0;

    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    
    color: white;
    xborder: solid 1px;  
}

#top-nav ul li a:hover, #bottom-nav ul li a:hover {
    xborder: solid 1px;
    color: #ccc;
}

#borders {
    background: black;
    padding: 0 5px;
}

#content-background {
    background: white;
}

#content {
    padding: 10px;
    background: white;
    text-align: left;
    xmargin-right: 120px;
    padding-right: 130px;
    clear: left;
    font-size: 1.2em;
}

#content h1 {
    font-size: 2em;
    xmargin-bottom: 20px;
}

#content h2 {
    font-size:1.8em;
}

#content h3, 
#content h4, 
#content h5,
#content h6 {
    font-size:1.6em;
}

#content ul {
}

#content li {
}

#right {
    float: right;
    background: white;
    margin: 10px;
    padding-left: 10px;
    width: 100px;
    font-size: 80%;
    border-left: solid 2px #ddd;
}

.products_image
{
    margin-bottom: 25px;
}

.products_button
{
    background: red;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.products_button a
{
    color: yellow;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
}

#footer {            
    text-align: right;
    font-size: 0.8em;
    
    padding: 3px;
    padding-right: 20px;
    
    color: #214557;

	clear: both;
    line-height: 1.3em;

}

#footer a {
    color: #1a3b52;
}

#content .thumbnail img {
   margin-bottom: 4px;
   border: solid 2px #444;
}

#content a:link {
   color: #700;
}

#content a:visited {
   color: #900;
}

#content a:hover {
   color: #b00;
}

#content a:active {
   color: #e00;
}

#page .clear { 
    clear: right;
}

#page #content-background .clear { 
    clear: both;
}

#page hr {
    clear: left;
}

form div {
    float: left;
    width: 98%;
}

form textarea {
	width: 385px;
}

.filelist
{
    font-size:0.9em;
}

.image_gallery {
    width: 49.8%;
}

ul li.admining .menu_admin 
{
    background: #666;
}

ul li.admining .menu_admin a
{
    border: solid 1px;
}

.comment_form
{
    width: 99%;
}
