/* 
 * Main body and table defenitions
 */
html, body { height: 100%; width: 100%; margin: 0px; padding: 0px; }
body { background: #20120b; text-align: center; }

/* 
 * Table and td defenitions
 */
table, tr, td {	border-collapse: collapse; border-spacing: 0px; margin: 0px; padding: 0px; }

/*
 * Main div definitions (display inline fixes IE double margin bug)
 */
div#main   { width: 780px; margin: 0 auto; background-color: #160801; }
/*/
div#header { width: 780px; text-align: right; height: 354px; background: url('../images/top_1.jpg') no-repeat left bottom; }
/*/
/*div#header { width: 780px; text-align: right; height: 255px; background: url('../images/top_2.jpg') no-repeat left bottom; }/*
/**/
div#left   { text-align: left; width: 200px; float: left; margin: 5px; display: inline;}
div#middle  {  
               float : left;  
               margin: 0;         
               padding: 0;             
               margin-left: 10px;
               width: 345px;
               text-align: left; 
               display: block;
               }
div#right  {              
             top : 0px;
             margin: 0;            
             padding: 0;
             margin-left: 376px;
             width: 151px;
             text-align: left; 
             display: block; }

div#right img{ width: 158px; }
             
div#content_back{    background: url(../images/contentblock_back.jpg) repeat top left;
                     width: 537px;
                     float: left;
                     margin: 0px;
                     padding: 0px;                     
                     margin-left:7px;
                     min-height: 385px;                                       
                     }
div#middle_header {  background-color: #2e211b;
                     background: url(../images/leftblock_header.jpg) no-repeat top left;
                     text-align: left; 
                     width: 378px;
                     height: 15px; 
                     line-height: 0px;
                     float: left; 
                     margin: 0px;            
                     padding: 0px;
                     margin-top: 4px;
                     margin-left: 5px; 
                     position: relative;
                     display: inline; 
                     font-size: 0px;
                    }
             
div#right_header  {  background-color: #433834;
                     background: url(../images/rightblock_header.jpg) no-repeat top right;
                     text-align: left; 
                     width: 161px; 
                     float: left; 
                     height: 15px; 
                     margin: 0px; 
                     margin-top: 4px;
                     padding: 0px;
                     margin-left: 0px;
                     margin-bottom: 0px;
                     position: relative;
                     display: inline; 
                     font-size: 0px;
                     }
div#middle_footer {  background-color: #2e211b;
                     background: url(../images/leftblock_footer.jpg) no-repeat bottom left;
                     text-align: left; 
                     width: 378px; 
                     float: right; 
                     height: 15px; 
                     margin: 0px; 
                     padding: 0px;
                     margin-left: 5px;
                     margin-bottom: 0px;
                     display: inline; 
                    }
             
div#right_footer  {  background-color: #433834;
                     background: url(../images/rightblock_footer.jpg) no-repeat bottom left;
                     text-align: left; 
                     width: 161px; 
                     float: right; 
                     height: 15px; 
                     margin: 0px; 
                     padding: 0px;
                     margin-right: 26px;
                     margin-bottom: 0px;
                     display: inline; 
                     }                     
 
div#content { margin-left: 5px;padding: 0px; margin-bottom: 10px;}                                   
div#footer { text-align: center; background-color: #DDDDDD; height: 40px; width: 780px; clear: both; margin: 0 auto; }

/* Making the footer stick to the bottom =] */
div#main        { position: relative; min-height: 100%; }
* html div#main { height: 100%; }
div#footer      { background-color: #160801;position: relative; margin-top: 0px; }

/*
 * Module and block definitions
 */
div.block  { margin-bottom: 10px; }
div.module { margin-bottom: 10px; }
div.header { font-size: 150%; line-height: 30px; padding: 5px; }
div.module div.header { }
div.block  div.header { }

div.module div.content { text-align: justify; }
div.block  div.content { }
div.clear { clear: both; }

/*
 * Wait and error screen container
 */
div#messageContainer { width: 400px; margin: 0 auto; }

/*
 * Form module
 */
.required,
.error { color: #CE0808; font-weight: bold; }
label.validationError { color: #CE0808; }
input.validationError {
  background-color: #FFCBCD; /* transparent url(../icons/validationError.gif) top right no-repeat; */
  color: #000;
}
div.validationErrorMessage { margin-left: 5px; padding: 5px; background-color: #FFCBCD; color: #000; border: 1px solid #c9252c; }
