body {
    margin: 0px;
    padding: 0px;
    background-color: #999999;
    background-image: url('wi/bline.gif');
    background-position: top center;
    background-repeat: repeat-y;
    text-align: center;
    font-family: Verdana, Tahoma, Arial, Helvetica;
}

.red {
    color: #f00;
}

div#banner_row {
    height: 76px;
    margin: 0px;
    padding: 5px 0px 0px 380px;
}

div#banner {
    float: left;
    clear: both;
    height: 60px;
/*     width: 300px; */
    margin: 0;
    padding: 1px;
}

div#date_row {
    height: 17px;
    text-align: right;
    margin: 0px;
    padding: 3px 5px 0px 0px;
    font-size: 12px;
}

#r_sel {
    width: 160px;
}

div#main_menu_row {
    height: 23px;
    margin: 0px;
    color: #FFFFFF;
    font-size: 14px;
    text-align: left;
    padding: 1px 15px 0px 10px;
}

div#main_menu {
    float: right;
    margin: 2px 0px 0px 0px;
    padding: 0px;
    color: #FFFFFF;
    font-size: 14px;
}

div#main_top_row {
    width: 990px;
    height: 126px;
    margin: 0px auto 0px auto;
    padding: 0px;
    overflow: hidden;
    background-image: url('wi/b1.jpg');
    background-position: top center;
    background-repeat: no-repeat;
}

div#main_bottom {
    clear: both;
    width: 990px;
    margin: 0px auto 0px auto;
    padding: 0px;
    background-color: #E5E5E5;
    background-image: url('wi/b2.jpg');
    background-position: top center;
    background-repeat: no-repeat;
}

div#main_rally_block {
    width: 820px;
    min-height: 710px;
    float: left;
    clear: left;
    margin: 0px 0px 0px 5px;
    padding: 0px;
}

div#rally_descr_row {
    clear: both;
    width: 100%;
    min-height: 90px;
    margin: 5px 0px 0px 0px;
    padding: 0px;
}

div#rally_logo {
    width: 218px;
    height: 100%;
    float: left;
    clear: left;
    margin: 0px;
    padding: 0px;
    text-align: left;
}

div#rally_params {
    float: left;
    margin: 0px;
    padding: 0px;
}

div#rally_title {
    text-align: left;
    margin: 0px;
    padding: 14px 5px 2px 0px;
}

div.rally_menu {
    float: left;
    text-align: left;
    margin: 0px 10px 0px 0px;
    padding: 2px;
/*     font-family: Tahoma, Arial, Helvetica; */
    font-size: 12px;
    vertical-align: bottom;
}

div#rally_content {
    clear: both;
    width: 100%;
    font-size: 12px;
    margin: 0px;
    padding: 0px;
}

div#main_rally_spons {
    width: 160px;
    float: left;
    clear: right;
    margin: 0px;
    padding: 0px 0px 10px 0px;
}

div#main_footer {
    clear: both;
        /* following both lines must be together, because some browser uses one of them but for ex. Opera uses both ...  */
/*         filter:alpha(opacity=40); */
/*         opacity: 0.4; */
    width: 980px;
    min-height: 60px; /* this + main_rally_block + 20 (those are some vertical paddings of inside DIVs) must be 764 in total */
    margin: 0px auto 0px auto;
    padding: 0px;
    color: #999999;
    font-size: 10px;
}

div#links {
    margin-top: 20px;
    float: left;
    width: 160px;
    height: 100%;
    margin: 0px;
    padding: 10px 0px 0px 0px;
    color: #333333;
}

div#dyn_data {
    float: left;
    text-align: justify;
    margin: 0px;
    width: 620px;
    padding: 10px 20px 10px 20px;
}

div#dyn_data_wide {
    float: left;
    text-align: justify;
    margin: 0px;
    width: 810px;
    padding: 10px 10px 10px 0px;
}

div.clear_both {
    clear: both;
    height: 0px;
}

div.clear_both_pure {
    clear: both;
}

div.imbigdescr {
    margin: 0px;
    padding: 5px 30px 0px 30px;
    text-align: center;
}

div.artleft
, div.artright {
    max-width: 358px;
/*     background-color: #FF4411; */
    margin: 0px;
    padding: 5px;
    text-align: center;
    font-size: 11px;
}

div.artleft {
    float: left;
    padding: 5px 8px 5px 0px;
}

div.artright {
    float: right;
    padding: 5px 0px 5px 8px;
}

div.sp_5 {
  margin : 5px;
}

div.spons {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    clear: both;
    vertical-align: center;
    overflow: auto;
}

div.sp_left, div.sp_right {
    text-align: center;
    width: 75px;
    padding: 0px;
    margin: 0px;
}

div.sp_left {
    clear: left;
    float: left;
}

div.sp_right {
    clear: right;
    float: right;
}

select#rally_select {
    height: 20px;
    width: 160px;
    font-family: Arial;
    font-size: 12px;
    padding: 0px;
    margin: 0px;
    background-color: #F5F5F5;
    border-style: solid;
    border-width: 1px;
    border-color: #FF6600;
}

h1 {
/*     color: #FF4400; */
    color: #AA1100;
    text-align: center;
    font-size: 20px;
    margin: 10px 0px 2px 0px;
    padding: 0px;
}

h1#rally_title {
    text-align: left;
    font-size: 24px;
    margin: 0px;
    padding: 0px;
}

h1.ptopleft {
    margin-top: 2px;
    text-align: left;
}

h2 {
    font-size: 18px;
    margin: 10px 0px 2px 0px;
}

h2.spons {
    color: #AA1100;
    font-size: 14px;
    margin: 0px;
    padding: 2px;
}

h2.hleft {
    text-align: left;
    color: #333333;
}

h2.hcenter {
    text-align: center;
    color: #333333;
}

img {
    border-style: none;
    margin: 0px;
    padding: 0px;
}

img.spons {
    margin: 5px;
    padding: 0px;
}

img.imbig
, img.imthumb {
    border-style: solid;
    border-width: 1px;
    border-color: #555555;
}

img.left {
    float: left;
    clear: left;
}

img.right {
    float: right;
    clear: right;
}

hr {
    border-style: none;
    height: 1px;
    width: 75%;
    background-color: #FF6600;
    color: #FF6600;  /* for IE */
    clear: both;
}

hr.l {
    text-align: left;
    margin-left: 0px;
}

hr.f {
    width: 100%;
}

p {
    margin: 0px;
    padding: 10px 0px 0px 0px;
}

p.a_sign {
    text-align: right;
}

p.n_sign {
    padding: 2px 0px 0px 0px;
}

p.imthdescr {
    padding: 4px 20px 0px 20px;
}

span.a_date {
    color: #AA1100;
    font-weight: bold;
}

span.n_date {
    color: #AA1100;
    font-weight: bold;
}

span.dtype {
    color: #777777;
    font-style: italic;
}

span.bck {
    color: #FF4400;
    font-weight: bold;
    cursor: pointer;
}

span.bck:hover {
    color: #444444;
}

span.ss_alert_line {
    color : #AA0000;
}

span.ss_info_line {
    color : #00AA00;
}

span.penalty {
    color : #FFFFFF;
    background-color : #EE0000;
}

a:visited, a:link {
    color: #441100;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #FF4400;
}

a.mm:visited, a.mm:link {
    color: #EEEEEE;
    font-weight: bold;
    text-decoration: none;
}

a.mm:hover {
    color: #FFFFFF;
}

a.m2:visited, a.m2:link {
    color: #FF4400;
    font-weight: bold;
    text-decoration: none;
}

a.m2:hover {
    color: #444444;
}

#links a:visited, #links a:link {
    color: #666666;
    font-weight: bold;
    text-decoration: none;
}

#links a:hover {
    color: #FF4400;
}

table.ent {
    margin: 10px 0px 10px 0px;
    border-collapse: collapse;
    border-style: none;
    width: 100%;
}

table.res_ss {
/* stage results table */
    border : solid;
    border-width : 1px;
    border-color : #888888;
    border-collapse: collapse;
    background-color : #D0FFAA;
}

table.res_abs {
/* stage results table */
    border : solid;
    border-width : 1px;
    border-color : #888888;
    border-collapse: collapse;
    background-color : #FFD0AA;
}

table.retires {
/* retirements table */
    border : solid;
    border-width : 1px;
    border-color : #FFFF00;
    border-collapse: collapse;
    background-color : #FFD0AA;
}

td.ent_h {
    font-weight: bold;
    color: #FFFFFF;
    background-color: #991100;
    margin: 0px;
    padding: 5px 3px 5px 3px;

}

td.ent_d
, td.ent_dl {
    margin: 0px;
    padding: 2px 3px 2px 3px;
    border-bottom-style: solid;
    border-bottom-color: #AA1100;
    border-bottom-width: 1px;
}

td.ent_d {
    text-align: center;
}

td.ent_dl {
    text-align: left;
}

td.res_h {
/* header cell of results table */
    background-color: #AA0000;
    color : #FFFFFF;
    padding : 2px;
    border : solid;
    border-width : 1px;
    border-color : #888888;
    font-weight : bold;
}

td.res_d {
/* data cell middle aligned of results table */
    padding : 2px;
    border : solid;
    border-width : 1px;
    border-color : #888888;
    text-align : center;
}

td.res_dl {
/* data cell left aligned of results table */
    padding : 2px;
    border : solid;
    border-width : 1px;
    border-color : #888888;
    text-align : left;
}

td.res_dr {
/* data cell right aligned of results table */
    padding : 2px;
    border : solid;
    border-width : 1px;
    border-color : #888888;
    text-align : right;
}

td.ss_descr {
/* cell for displaying SS description in results page */
    padding-left : 5px;
}

td.ss_num {
/* cell for displaying SS number in results page */
    text-align : center;
    vertical-align : center;
    font-size : 20px;
    font-weight : bold;
    background-color: #AA0000;
    color : #FFFFFF;
    padding : 5px 10px 5px 10px;
}
