
body{
    color: #7d7d7d;
}

h1, h2, h3, h4, h5, h6{
    color: #7d7d7d;
}


#content{
    padding-top: 50px;
}

/* misc home page */

#home_title_bar_c{
    background: #f1f1f1;
    padding: 40px 20px 50px 20px;
}

#home_title_bar{
    max-width: 1100px;
    margin: 0px auto;
    font-size: 18px;
}

#home_title_bar_btn{
    text-align: center;
    padding: 0px 0px 30px 0px;
}

#home_title_bar_btn .button{
    padding: 20px 40px;
    font-size: 18px;

    background: #1bb7ea;
}

#race_portal_list{
    overflow: hidden;
    padding-top: 30px;
}

#race_portal_icons{
    position: absolute;
    top: 0px;
    right: 50px;
}

.race_portal_block{
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 510px;
    border-radius: 9px;

    overflow: hidden;

    padding: 0px;
    margin: 0px;

    margin: 0px auto;
    margin-bottom: 40px;

    box-shadow: 0px 0px 5px #8d8d8d;
}
.rpb_image{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    line-height: 0;
    height: 236px;
    text-align: center;
}

.rpb_image a{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    line-height: 0;
}

.rpb_image img{
    position: relative;
    top: -10px;
    vertical-align: middle;
    display: inline-block !important;
    max-width: 100% !important;
    max-height: 236px !important;
    margin: 0px auto;
    padding: 0 !important;
}


.rpb_info{
    position: absolute;
    top: 236px;
    left: 0px;

    width: 100%;
    height: 71px;

    overflow: hidden;

    background: #f8f8f8;
    border-bottom: 1px solid #ececec;

}
.rpb_info_i{
    padding: 16px 20px;
}

.rpb_name{
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold;
    padding-bottom: 10px;
}

.rpb_loc{
    float: left;
    font-size: 12px;
}
.rpb_date{
    float: right;
    font-size: 12px;
}

.rpb_text{
    position: absolute;
    top: 308px;
    left: 0px;
    width: 100%;

    overflow: hidden;

    min-height: 120px;
    max-height: 120px;
}

.rpb_text_i{
    padding: 15px 20px;

    line-height: 1.5em;
    font-size: 15px;
}

.race_portal_block .rpb_goal{
    position: absolute;
    bottom: 15px;
    left: 0px;

    width: 100%;
}

.race_portal_block .goal_progress{
    width: 80%;
    margin: 0px auto;
}

.race_portal_block .goal_progress_bar{
    height: 35px;
}

.race_portal_block .goal_progress_txt{
    padding-top: 3px;
}

.rpb_teams{
    position: absolute;
    bottom: 0px;
    right: 10%;
}


#rpb_table{
    width: 100%;
    border: 0px;
    border-spacing: 0px;
    border-collapse: collapse;
}

#rpb_table th, #rpb_table td{
    border-width: 0px;
    padding: 10px 20px;
    font-size: 12px;
}

#rpb_table thead th{
    background: #017dc3;
    color: #fff;
    white-space: nowrap;
}

#rpb_table tr:nth-child(even) td{
    background: #f1f1f1;
}


#rpb_table tr td:nth-child(3), #rpb_table tr th:nth-child(3){ display: none; }
#rpb_table tr td:nth-child(4), #rpb_table tr th:nth-child(4){ display: none; }
#rpb_table tr td:nth-child(5), #rpb_table tr th:nth-child(5){ display: none; }
#rpb_table tr td:nth-child(6), #rpb_table tr th:nth-child(6){ display: none; }
#rpb_table tr td:nth-child(7), #rpb_table tr th:nth-child(7){ display: none; }

#home_race_list{
    margin: 0px auto;
    max-width: 1350px;
    padding: 20px;
}

#home_content_c{
    background: #f7f7f7 url(/images/shadow_box_top.gif) repeat-x top left;
}
#home_content_c2{
    background: url(/images/shadow_box_bottom.gif) repeat-x bottom left;
    padding: 0px 20px;
    text-align: center;
}

#home_content_i{
    max-width: 1350px;
    padding: 40px 0px 60px 0px;
    margin: 0px auto;
    text-align: left;
}

#home_content_i h1{
    margin-top: 0px
    padding-top: 0px;
}

#home_content{
    font-size: 16px;
    line-height: 1.5em;
}

#home_social{
    padding: 20px;
}
#home_social ul, #home_social ul li{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#home_social ul li{
    display: inline;
    display: inline-block;
    margin: 10px;
}
#home_social ul li a{
    display: inline-block;
    width: 249px;
    height: 80px;

    opacity: 1;
}
#home_social ul li a:hover{
    opacity: .8;
}

#home_twitter{
    background: url(/images/button_home_twitter.png) no-repeat top left;
}
#home_facebook{
    background: url(/images/button_home_facebook.png) no-repeat top left;
}
#home_youtube{
    background: url(/images/button_home_youtube.png) no-repeat top left;
}
#home_game{
    background: url(/images/button_home_game.png) no-repeat top left;
}