#leftfront {width: 315px; float: left;}
#rightfront {width: 315px; float: right;}


#competition {width:inherit; background-color: white; margin-left: 5px; margin-top: 5px;}
#competition img{width: 25px; height: 25px; vertical-align: middle; margin: 4px;}
.next_fixture {clear: both; margin: 0 auto; font-size: 1.2em; margin-bottom: 20px;}
.next_fixture img{padding-bottom: 0px; margin-bottom: 0px;}
.comp_table table{width: 305px; margin-bottom: 10px; font-size: 12px;border: 1px solid #ececec; float: left;}
.next_fixture p{font-size: 12px;}
.comp_table a{text-decoration: none;}
.comp_table td{font-size: 12px; line-height: 2em;}
.comp_table th{color: white; background-color: grey; border-top: 0px;line-height: 2em;}

.english_premiership {margin-left: 8px; margin-right: 8px; border-bottom: solid 1px yellow;}
.euro_champions, .top14, .pro12, .prod2{margin-left: 8px; margin-right: 8px; border-bottom: solid 1px black;}
.euro_challenge{margin-left: 8px; margin-right: 8px; border-bottom: solid 1px purple;} 

#coach table{width:305px; margin: 5px; font-size: 12px;border: 1px solid #ececec; float: right;}
#coach a{text-decoration: none;}
#coach td{font-size: 12px;}
#coach td.at{text-align: left;}


#last_five img{width: 25px; height: 25px; vertical-align: middle; margin: 4px;}
#last_five table{width: 305px; margin-bottom: 10px; margin-left: 5px; font-size: 12px;float: left;}
#last_five a{text-decoration: none;}
#last_five td{font-size: 12px;line-height: 2em;}
#last_five td.at{text-align: left;}
#last_five td.ht{text-align: right;}
#last_five h3, #coach h3, #club_profile h3, #competition h3, #team_records h3{font: 500 1.2em 'Open Sans Condensed', sans-serif; margin-bottom: 10px;}



#team_records img{width: 25px; height: 25px; vertical-align: middle; margin: 4px;}
#team_records table{width:305px; font-size: 12px; right; margin: 5px;}
#team_records a{text-decoration: none;}
#team_records td{font-size: 12px; line-height: 2em;}
#team_records td.at{text-align: left;}
#team_records td.ht{text-align: right;}
#team_records tr{line-height: 1.2em;}
#team_records th{color: white; background-color: grey; border-top: 0px;line-height: 2em;}
#team_records td.bwhead{font-size: 12px; background-color: grey; line-height: 2em; color: white;}
#team_records .since{float:right;font-size: 12px; line-height: 2em; margin-right: 5px;}

#centerfront {margin-left: 320px; padding-top: 0px;}
#centerfront img{width: 25px; height: 25px; vertical-align: middle; margin: 4px;}


#club_profile {color: black; font-size: 14px; border-color: #e6e6e6; border-width: 1px; border-style: solid; margin-top: 8px; margin-bottom: 8px; overflow: auto;}
#club_profile table{width: 305px; margin: 10px; font-size: 12px;border: 1px solid #ececec;}
#club_profile tr{line-height: 2em;}
#club_profile img{width: 25px; height: 25px; vertical-align: middle; margin: 4px;}
#club_profile td{font-size: 12px;}
#club_profile td.t4{background-color: grey; color: white;}
#club_profile .active_seasons {float: left; margin: 10px;}
#club_profile .active_seasons img{width: 30px; height: 30px; vertical-align: middle; margin: 2px; float:left;}

#club_profile .location{font-size: 11px; padding-bottom: 25px; margin-right: 4px;}
.location{padding-top: 25px; text-align: center;}
#club_profile img.main_crest{width: 100px; height: 100px; vertical-align: middle; margin-left: 4px;margin-right: 15px;margin-top:40px; margin-bottom:4px; float: left;}
#club_profile h1{font: 600 2em 'Open Sans Condensed', sans-serif; }
#club_profile .club_name{text-align: center;vertical-align: middle;line-height: 40px; margin-top: 10px;}

.crest_holder{width: 350px;}
#club_profile .crest_holder img{width: 100px; height: 100px; vertical-align: middle; margin-left: 20px;margin-right: 20px;}
#club_profile .game_holder{text-align: center;vertical-align: middle;line-height: 40px; margin-top: 10px; color: black;}
#club_profile .game_holder h8{font: 500 2em 'Open Sans Condensed', sans-serif; color: black}
#club_profile .game_holder img{margin-left: 0px;}

#h2hlink {font-size: 12px; margin-left: 4px; text-align: center;}
#h2hlink a, .location a{color: #CC0000;}
#attendance_container {display: none; min-width: 350px; height: 400px; margin: 0 auto;}
#attendance_container1, #attendance_container2, #attendance_container3 {min-width: 350px; height: 400px; margin: 0 auto;}

.celtic {width: 25px; height: 25px; margin: 4px;vertical-align: middle;}
.head-shot-35{-webkit-border-radius: 35px; -moz-border-radius: 35px; border-radius: 35px; vertical-align:middle; height: 35px; margin-top: 8px; margin-bottom: 8px; margin-left: 8px; margin-right: 8px; width: 35px; border:0px;}
















#tlrt .jpteam{display:inline-block; text-align: center; margin-top:5px;}
#tlrt img.japcre{width:50px; height:50px; margin: 0 auto; padding: 8px;}
#tlrt .jpscore{vertical-align: middle;}
#tlrt table{width: 960px;}
#tlrt td{width: 80px;}
#tlrt tr{height: 40px;}
#tlrt td.red_left{border-left: 2px solid red;}
#tlrt td.red_right{border-right: 2px solid red;}
#tlrt td.red_top{border-top: 2px solid red;}
#tlrt td.red_bottom{border-bottom: 2px solid red;}
#tlrt td.red_top_right{border-top: 2px solid red; border-right: 2px solid red;}
#tlrt td.red_top_left{border-top: 2px solid red; border-left: 2px solid red;}
#tlrt td.red_top_left_right{border-top: 2px solid red; border-left: 2px solid red;border-right: 2px solid red;}
#tlrt td.red{border: 2px solid red;}
#tlrt td.red_bottom_right{border-bottom: 2px solid red;border-right: 2px solid red;}
#tlrt td.red_bottom_left{border-bottom: 2px solid red;border-left: 2px solid red;}
#tlrt td.red_bottom_left_right{border-bottom: 2px solid red; border-left: 2px solid red;border-right: 2px solid red;}


tr.qualified{background-color: #ececec;}

tr.upperqual{background-color: #FCF0F0;}
tr.lowerqual{background-color: #FFF6F0;}


#jp_table_links {margin-top: 10px; margin-bottom: 10px;}
#jp_table_links .twit_name{font-size: 1.25em;}
#jp_table_links a{text-decoration: none;}