html, body, div, p, ul, li, h1, h2, h3, h4, h5, h6{
    margin:0px;
    padding:0px;
}

body{
    background-color:#4d4d4d;
    font-family:"Trebuchet MS", Helvetica, Arial,sans-serif;
    font-size:12px;
    color:#333;
    text-align:center;
}

table th,
table td{
    font-family:"Trebuchet MS", Helvetica, Arial,sans-serif;
    font-size:11px;
    color:#333;
    text-align:left;
    vertical-align:top;
}

table td input,
table td textarea{
    width:500px;
    border-color:rgb(204, 204, 204) ;
    border-width: 1px ;
}

table td input.button{
    width:auto;
}

ul, li{
    list-style:none;
}

a{
    text-decoration:none;
    color: #B00802;
}

a:hover{
    color:#d32822;
}

input, textarea{
    border:1px solid;
}

h1{
    color:#d32822;
    padding-bottom:25px;
}

#all{
    background:url(bg-main.png) repeat-y;
    margin:10px auto;
    width:910px;
    -moz-border-radius:5px;
    text-align:left;
}

#top{
    height:118px;
    background:url(bg-top.png) no-repeat;
    position:relative;
}

#top h1{
    padding:20px 50px;
    font-size:40px;
    color:#fff;
    display:none;
}

#adminmenu a{
    color:#ccc;
}

#nav{
    background:url(bg-nav.png) no-repeat;
    margin-bottom:5px;
    height:35px;
}

ul#mainmenu{
    z-index:100;
    position:relative;
}

#nav ul li{
    float:left;
    position:relative;
    height:100%;
    background:none;
    margin-left:0px;
}

#nav ul li a{
    margin-top:1px;
    padding:9px 10px 9px;
    float:left;
    display:block;
    color:#fff;
}

#nav ul.submenu{
    position:absolute;
    display:none;
    top:35px;
    left:15px;
    background:#333;
    width:150px;
    z-index: 100;
    font-size:1.2em;
}

#nav ul.submenu li.arrow{
    background:url(liarrow.png) no-repeat 5px;
}

#nav ul.submenu ul.subsubmenu{
    position:absolute;
    display:none;
    top:0px;
    left:150px;
    background:#333;
    width:150px;
}

#nav ul.submenu li.hover ul.subsubmenu,
#nav ul li.hover ul.submenu{
    display:block;
}

#nav ul.submenu li{
    float:none;
}

#nav ul.submenu.open ul{
    display:block;
}

#nav ul.submenu li a{
    margin:0px;
    float:none;
    padding:6px 10px 6px;
    color:#fff;
    font-size:0.8em;
}

#nav ul li.hover a{
    background:#333;
}

#nav ul li a:hover{
    color:#d32822;
}

#searchform{
    float:right;
    border:none;
    background:transparent;
    position:absolute;
    right:20px;
    bottom:10px;
    background:url(searchform.png) no-repeat;
    padding:1px 2px 1px 5px;
    margin-bottom:0;
}

#searchform input.text{
    border:none;
    padding-bottom:3px;
    background:transparent;
    color:#fff;
}

#searchform input.button{
    padding:0px;
    background:none;
    color:#1C94C4;
    border:none;
    font-weight:bold;
    font-family: Georgia,'Times New Roman',times,serif;
    text-transform:lowercase;

    background:transparent url(btn-search.png) no-repeat left;
    width:20px;
    height:20px;
}

#middle{
    background-color:#fff;
    margin:0px 15px 0px 5px;
    padding:0;
    border:0;
}

#middletop{
    height:5px;
    margin:0px 15px 0px 5px;
    line-height:0px;
    font-size:0px;
    overflow:hidden;
    padding:0;
    border:0;
    background:#fff url(middletop.png) no-repeat;
}

#middlebottom{
    height:5px;
    margin:0px 15px 0px 5px;
    line-height:0px;
    font-size:0px;
    overflow:hidden;
    padding:0;
    border:0;
    background:#fff url(middlebottom.png) no-repeat bottom;
}

#right{
    width:200px;
    float:right;
    margin-top:5px;
    padding-right:5px;
}

#main{
    min-height:300px;
    margin-right:210px;
    border-right:1px solid #ddd;
    padding:10px;
}

#bottom{
    clear:both;
    text-align:left;
    background:url(bg-bottom.png) no-repeat bottom;
    height:40px;
    color:#b3b3b3;
    padding:5px 20px 0px 10px;
    font-size:0.8em;
}

#bottom a{
    color:white;
}

.row{
    clear:left;
    padding:2px;
}

.row .label{
    float:left;
    width:100px;
    font-weight:bold;
}

.row .input{
    margin-left:110px;
}

.box{
    background:#eee;
    border:1px solid #ddd;
    color:#333;
    padding:5px;
    -moz-border-radius:5px;    
}

.box h3{
    color:#b00802;
    text-transform:uppercase;
}

#right .box{
    padding-top:10px;
    padding-bottom:10px;
    background:none;
    border:none;
    border-bottom:1px solid #dfdfdf;
}

#right .box h3{
    border-bottom:1px dotted #dfdfdf;
    margin-bottom:5px;
}

#right .box ul li{
    padding-left:0px;
    margin:0;
}

#right .box ul a{
    color:#333;
    padding:5px;
    display:block;
    padding-left:15px;
}

#right .box ul a:hover{
    background:#eee url(li2.png) no-repeat left;
}

ul li{
    margin-left:5px;
    padding-left:15px;
    background:transparent url(li2.png) no-repeat left;
}

.post{
    margin-bottom:50px;
}

.post .title{

}

.post .header{
    font-style:italic;
    margin-top:5px;
}

.post p{
    margin:5px 0;
}

.post .text{
    margin:5px 0;
}

.post .note{
    color:silver;
    font-size:0.9em;
}

.ui-dialog{
    text-align:left;
}

.ui-dialog-content input,
.ui-dialog-content textarea{
    width:360px;
}

#imagediv{
    height:300px;
    overflow:hidden;
    background:#dfdfdf;
    padding:10px;
    margin-bottom:10px;
    overflow:hidden;
    z-index:0;
}

#imagediv h1{
    z-index:10;
    position:absolute;
    background:#fff;
    color:#333;
    left:0px;
    top:30px;
    padding:0px 20px 0 40px;
    display:inline;
}

#imagediv h2{
    z-index:10;
    position:absolute;
    background:#fff;
    color:#333;
    left:0px;
    top:80px;
    padding:0px 20px 0 40px;
    display:inline;
}

#imagediv img{
    display:none;
    width:  635px;
    height: 300px;
}

#imagediv > img{
    width:  639px;
}

label{
    display:block;
}

label.error,
p.error,
div.error{
    color:red;
    padding:2px 18px;
    background:url(icon-error.png) no-repeat left;
    font-size:11px;
}

label.warning,
p.warning,
div.warning{
    color:orange;
    padding:5px 30px;
    background:url(icon-warning.png) no-repeat left;
}

label.success,
p.success,
div.success{
    color:green;
    padding:5px 30px;
    background:url(icon-success.png) no-repeat left;
}

.imagescontainer{
    float:right;
    width:200px;
    border:1px solid #dfdfdf;
    padding:10px;
    margin-left:10px;
}

.imagescontainer a{
    margin-bottom:20px;
    border:none;
    color:#eee;
}

.imagecontainer img{
    border:none;
}