/* Styles for Sports Stats blocks */

/*! AUTOCOMPLETE */

.ui-autocomplete .ui-autocomplete-category {
    font-weight: bold;
    clear:left;
}

.ui-autocomplete .ui-menu-item-bottom.more-results {
    text-decoration: underline;
    font-weight: bold;
    float: left;
}

/*! SEARCH BOX */

.search-box {
    padding: 10px;
}

.search-box hr {
    margin: 10px 0;
    border: 0;
    border-top-width: 1px;
    border-top-style: solid;
}

.search-box .text {
    padding: 3px 10px;
    width: 455px;
    font-size: 12px;
    margin-right: 10px;
    vertical-align: middle;
    transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
}
    .search-box .text:hover, .search-box .text:focus {
        border: 1px solid #4876FF;
    }

.select-box-wrapper {
    margin-bottom: 10px;
}

.select-box-wrapper .search-label {
    width: 100px;
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 5px;
}

.search-box .ajax-search-results-title {
     margin-top: 10px;
     padding: .4em 1em;
     font-size: 12px;
}

.search box .search.text.type-text {
    /* background: transparent url('../images/ajax_loader.gif') 375px center no-repeat; */
}

/* TEMPORARY */

.related-sportsstats {
    margin-bottom: 20px;
}

.ui-autocomplete.ui-menu.ui-widget.ui-widget-content {
    /* box-shadow: 5px 5px 15px #aaa; */
    padding: 5px;
    z-index: 50 !important;
}

#json-results .sport {
    font-family: "courier new";
    font-size: 11px;
    color: #333;
}

#json-results .title {
    font-weight: bold;
    font-size: 13px;
    color: #666;
}
            
/* Global */

.sportsstats {
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.ss-tabs {
    display: none;
}

.ss-tabs .ui-tabs-nav li.ui-tabs-selected {
    padding-bottom: 0;
}

.game-table-stats th,
.game-table-stats td,
.team-table-stats th,
.team-table-stats td,
.player-table-stats th,
.player-table-stats td {
    padding: 5px;
}

.tablesorter tr .ui-state-hover,
.standings-list tr .ui-state-hover,
.standings-list-extended tr .ui-state-hover {
    font-weight: normal;
}

#preview-image {
    float:right;
}

.sportsstats .table-stats {
    cursor: default;
}
table.tablesorter thead tr .header {
    /* background-image: url("../images/bg.gif"); 
    background-repeat: no-repeat;
    background-position: center right;*/
    cursor: pointer;
    
}
/*
table.tablesorter thead tr .headerSortUp {
   background-image: url("../images/asc.gif");
}
table.tablesorter thead tr .headerSortDown {
   background-image: url("../images/desc.gif");
}
*/

table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
    font-weight: bold;
}

table.tablesorter td {
    vertical-align: middle;
}

.sportsstats .legend {
    font-size: 11px;
    margin-bottom: 10px;
}

.sportsstats .legend h3 {
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

.sportsstats .legend li {
    float: none;
    font-style: italic;
}

.sportsstats .abbrv {
    font-style: normal;
    font-weight: bold;
}

/* Win/Tie/Lose Colours */
  
.sportsstats .result {
    font-weight: bold;
}

.sportsstats .win {
    color: green;
}

.sportsstats .tie {
}

.sportsstats .lose {
    color: #DC143C;
}

/* Blocks */

.schedules-list-title,
.schedules-list-extended-title,
.standings-list-title,
.standings-list-extended-title,
.teams-list-title {
    padding: 5px;
    margin: 0;
    font-size: 12px;
    line-height: normal;
}

.schedules-list th,
.schedules-list td,
.schedules-list-extended th,
.schedules-list-extended td,
.teams-list th,
.teams-list td,
.standings-list-wrapper th,
.standings-list-wrapper td,
.standings-list-extended-wrapper th,
.standings-list-extended-wrapper td {
    padding: 5px;
}

.schedules-list-wrapper .ui-dialog-titlebar.ui-corner-all.ui-state-highlight,
.schedules-list-extended-wrapper .ui-dialog-titlebar.ui-corner-all.ui-state-highlight,
.standings-list-wrapper .ui-dialog-titlebar.ui-corner-all.ui-state-highlight,
.standings-list-extended-wrapper .ui-dialog-titlebar.ui-corner-all.ui-state-highlight,
.teams-list-wrapper .ui-dialog-titlebar.ui-corner-all.ui-state-highlight {
    padding: 5px;
}

.schedules-list-wrapper .ui-icon.ui-icon-info,
.schedules-list-extended-wrapper .ui-icon.ui-icon-info,
.standings-list-wrapper .ui-icon.ui-icon-info,
.standings-list-extended-wrapper .ui-icon.ui-icon-info,
.teams-list-wrapper .ui-icon.ui-icon-info {
    margin-right: 5px;
    float: left;
}

.schedules-list-wrapper img,
.schedules-list-extended-wrapper img,
.standings-list-wrapper img,
.standings-list-extended-wrapper img,
.teams-list-wrapper img {
    width: 32px;
    height: 32px;
    margin: 0 5px;
    vertical-align: middle;
}

.standings-list-wrapper td:last-child,
.standings-list-extended-wrapper td:last-child,
.teams-list-wrapper td:last-child {
    width: 50px;
}

.schedules-list-wrapper td:first-child {
    width: 30px;
}

.teams-list-avatar.unknown,
.standings-list-extended-avatar.unknown {
    background: transparent url('../images/unknown_32x32.png') 5px center no-repeat;
    height: 32px;
    display: table-cell;
    vertical-align: middle;
    padding-left: 42px;
}

.standings-list-avatar.unknown {
    background: transparent url('../images/unknown_32x32.png') 5px center no-repeat;
    height: 32px;
}

.standings-list td:first-child {
    width: 32px;
}

.standings-list-title, .standings-list-extended-title {
    cursor: default;
}
/* TEAM PAGE */

.sportsstats-team .team-title {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    line-height: normal;
    text-align: left;
}

.sportsstats-team .team-sports {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.sportsstats-team #school-wrapper {
    padding: 0;
    margin: 10px 0;
}
    .sportsstats-team #school-wrapper #school-map {
        height: 250px;
        width: auto;
    }
    
.sportsstats-team .team-description {
    margin-bottom: 10px;
}
    .sportsstats-team .team-description p {
        padding: 0;
    }

.sportsstats-team #team-tabs .team-stats-title {
    font-size: 14px;
    padding: 5px;
    margin: 0;
    line-height: normal;
    text-align: left;
}

.sportsstats-team #team-tabs #schedule-table td.lose {
    background: #EED5D2;
}

.sportsstats-team #team-tabs #schedule-table td.win {
    background: #E0EEE0;
}

.sportsstats-team #team-tabs #staff-wrapper {
    padding: 10px;
}
    .sportsstats-team #team-tabs #staff-wrapper li {
        margin-bottom: 10px;
    }
        .sportsstats-team #team-tabs #staff-wrapper li .staff-title {
            font-size: 14px;
            font-weight: bold;
        }

.sportsstats-team #team-tabs .team-table-stats .team-player-avatar {
    width: 64px;
}

/*! PLAYER ASSET */

.sportsstats-player .player-title {
    font-weight: bold;
    font-size: 30px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
    cursor: default;
    text-align: left;
}

.sportsstats-player #player-tabs .player-stats-title {
    font-size: 14px;
    padding: 5px;
    margin: 0;
    line-height: normal;
    text-align: left;
}

.sportsstats-player #player-tabs .player-profile {
    padding: 10px;
}
    .sportsstats-player #player-tabs .player-profile .player-profile-avatar {
        float: right;
    }
    .sportsstats-player #player-tabs .player-profile .player-profile-avatar.unknown {
        background: transparent url('../images/unknown_64x64.png') 5px center no-repeat;
        height: 64px;
        width: 64px;
    }
    .sportsstats-player #player-tabs .player-profile .player-profile-desc-title.graduation-year,
    .sportsstats-player #player-tabs .player-profile .player-profile-desc-title.gender,
    .sportsstats-player #player-tabs .player-profile .player-profile-desc-title.hobbies,
    .sportsstats-player #player-tabs .player-profile .player-profile-desc-title.description {
        font-weight: bold;
    }

.sportsstats-player #player-tabs .player-table-stats {
    margin-bottom: 10px;
}
    .sportsstats-player #player-tabs .player-table-stats th.team,
    .sportsstats-player #player-tabs .player-table-stats th.year,
    .sportsstats-player #player-tabs .player-table-stats td.team,
    .sportsstats-player #player-tabs .player-table-stats td.year {
        text-align: left !important;
    }

/*! GAME ASSET */

.sportsstats-game .game-title {
    font-weight: bold;
    font-size: 30px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
    cursor: default;
    text-align: left;
}

.sportsstats-game #game-info .game-stats-title,
.sportsstats-game #game-tabs .game-stats-title{
    font-size: 14px;
    padding: 5px;
    margin: 0;
    line-height: normal;
    text-align: left;
}

.sportsstats-game #game-info #game-info-table {
    margin-bottom: 10px;
}
    .sportsstats-game #game-info #game-info-table td.logo {
        text-align: center;
        width: 92px;
    }

.sportsstats-game #game-info #venue-wrapper {
    margin-bottom: 10px;
}
    .sportsstats-game #game-info #venue-wrapper #venue-map {
        height: 250px;
        width: auto;
    }

.sportsstats-game #game-info .game-info-description {
    margin-bottom: 10px;
}
    .sportsstats-game #game-info .game-info-description p {
        padding: 0;
    }

.sportsstats-game #game-tabs .game-table-stats {
    margin-bottom: 10px;
}
    .sportsstats-game #game-tabs .game-table-stats td.team img {
        vertical-align: middle;
    }

.sportsstats-game #game-tabs #notes #notes-content {
    padding: 10px;
}

/**
 *  Horizontal Buttons
 */
.jcarousel-skin-tango .jcarousel-next-horizontal {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 75px;
    cursor: pointer;
    background: #ccc url("../images/arrow_next_transparent.png") no-repeat center center;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}

.jcarousel-skin-tango .jcarousel-prev-horizontal {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 75px;
    cursor: pointer;
    background: #ccc url("../images/arrow_prev_transparent.png") no-repeat center center;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}

/* Games List */


/* Sports Stats In Articles */
#blox-story-frame .sportsstats table {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Sport Specific */

#cross_country p {
    border-top: none;
    border-right: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    padding: 2px 5px;
    box-shadow: 0 0 15px #ccc;
}

/* EXTRA */

.search-results h2 {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}



li.male a {
    color: #6495ED;
}

li.female a {
    color: #FF82AB;
}

.ui-autocomplete.ui-menu .ui-menu-item a {
    font-size: 12px;
}

.search-results-list li  {
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px dotted #dfdfdf;
}

.search-results-title.ui-dialog-titlebar {
    padding: .4em 1em;
    font-size: 12px;
}

.search-results-list li:last-child {
    /* border-bottom: 5px solid red; */
    border-bottom: none;
}

.results-label {
    margin: 10px 0;
    text-align: center;
}


.search-results-title hr {
    background: #FCEFA1;
    height:1px;
    border: none;
}

.search-results-title ul, .search-results-title li {
    list-style-position: inside;
    list-style-type: circle;
}

.preview-wrapper {
    width: 32px;
    height: 32px;
    overflow: hidden;
    float: left;
    margin-right: 10px;
}

/* RELATED STUFF */

.coach-info-description {
    padding: 2px 5px;
    border-top: none;
    border-right: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}

.coach-title {
    font-weight: bold;
    font-size: 30px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}


.coach-teams-title {
    font-weight: bold;
    font-size: 12px;
    text-align: left;
    line-height: normal;
    padding: 5px;
    margin: 0;
}

.coach-table-stats th,
.coach-table-stats td {
    padding: 2px 5px;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    font-size: 12px;
}

.coach-table-stats th {
    background: #e5e5e5;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
    color: #000;
}

.coach-table-stats tbody tr {
    background: #fff;
    transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -webkit-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
}

.coach-table-stats tbody tr:hover {
    background: #ffffcc;
}

.coach-profile-preview {
    float: right;
}

.coach-info-title {
    font-size: 12px;
    margin: 0;
    padding: 5px;
    line-height: normal;
    text-align: left;
}

.coach-table-stats {
    border-right: 1px solid #aaa;
    margin-bottom: 10px;
}

/* grid fixes */


/* grid_6 */

#blox-left-col.grid_6 .ui-tabs .ui-tabs-nav li a {
    padding: 5px;
    font-size: 11px;
}

#blox-left-col.grid_6 .sportsstats .player-profile,
#blox-left-col.grid_6 .sportsstats .coach-info-description,
#blox-left-col.grid_6 .sportsstats .staff-description,
#blox-left-col.grid_6 .sportsstats .team-description,
#blox-left-col.grid_6 .sportsstats .content,
#blox-left-col.grid_6 .sportsstats .legend,
#blox-left-col.grid_6 .team-table-stats th,
#blox-left-col.grid_6 .team-table-stats td,
#blox-left-col.grid_6 .player-table-stats th,
#blox-left-col.grid_6 .player-table-stats td,
#blox-left-col.grid_6 .game-table-stats th,
#blox-left-col.grid_6 .game-table-stats td {
    font-size: 10px;
}

#blox-left-col.grid_6 .staff-title {
    font-size: 12px;
}

#blox-left-col.grid_6 .coach-title,
#blox-left-col.grid_6 .game-title,
#blox-left-col.grid_6 .player-title,
#blox-left-col.grid_6 .sportsstats-team .team-title,
#blox-left-col.grid_6 .sportsstats-team .team-title a {
    font-size: 30px;
}

/* Social Share */

.sportsstats .blox-social-share-horizontal {
    padding: 0;
    margin: 0;
}

/* Related Items */

.sportsstats-related-container {
    margin-top: 3px;
}

.sportsstats-related-container-title {
    font-size: 12px;
    padding: 5px;
    margin: 0;
    line-height: normal;
}

.sportsstats-related-container li {
    margin-bottom: 10px;
}
.sportsstats-related-container li:last-child {
    margin-bottom: 0;
}

.sportsstats-related-container .youtube-summaries {
    padding: 5px;
}
.sportsstats-related-container .youtube-previews {
    float: right;
    margin-left: 10px;
}

.sportsstats-related-container .youtube-previews img:hover {

}

.sportsstats .instant-gallery-app .instant-gallery {
    background: none;
}

.sportsstats .instant-gallery-app .gallery-play-controls {
    text-align: center;
}

.sportsstats .instant-gallery-app .instant-gallery .frame img {
    width: 100%;
}

.sportsstats .instant-gallery-app .preview-slide-navigator {
    float: none;
    margin: 0;
}