/* SportsPress Templates */

.sp-template,
.sp-data-table,
.sp-table-caption {
    font-family: "Roboto", "Helvetica", sans-serif;
}

.sp-template {
    clear: both;
    overflow: hidden;
}

/*
 * Note: !important everything below to enforce overrides.
 * This stylesheet can be disabled via SportsPress General Settings.
 */

.sp-template h1,
.sp-template h2,
.sp-template h3,
.sp-template h4,
.sp-template h5,
.sp-template h6,
.sp-data-table h1,
.sp-data-table h2,
.sp-data-table h3,
.sp-data-table h4,
.sp-data-table h5,
.sp-data-table h6,
.sp-table-caption h1,
.sp-table-caption h2,
.sp-table-caption h3,
.sp-table-caption h4,
.sp-table-caption h5,
.sp-table-caption h6 {
    font-family: "Roboto", "Helvetica", sans-serif;
}

.sp-template {
    margin-bottom: 20px;
}

.sp-template *,
.sp-data-table *,
.sp-table-caption {
    box-sizing: border-box;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: #333;
}

.sp-table-caption {
    background:#e8ecef;
    padding:6px 48px;
    margin:20px 0 20px 0;
    position:relative;
}

/* Color Resets */

.sp-template input,
.sp-data-table input,
.sp-template .sp-event-logos,
.sp-template .sp-event-staff {
    color: initial;
}

/* Links */

.sp-template a,
.sp-data-table a {
    box-shadow: none;
    border: none;
    text-decoration: none;
    font-weight: inherit;
    color: #00a69c;
}

.sp-template a:hover,
.sp-data-table a:hover {
    text-decoration: underline;
}

.sp-template a:hover .dashicons,
.sp-template a:hover [class^="sp-icon-"], [class*=" sp-icon-"],
.sp-data-table a:hover .dashicons,
.sp-data-table a:hover [class^="sp-icon-"], [class*=" sp-icon-"] {
    text-decoration: none;
}

.sp-view-all-link {
    padding: 10px 15px;
    margin: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    overflow: hidden;
    display: table;
    width: 100%;
    text-align: right;
}

.sp-view-all-link a {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    color: rgba(51,51,51,0.5);
}

.sp-view-all-link a:hover {
    color: #333;
    text-decoration: none;
}

.sp-form-events a:hover {
    color: #fff;
    text-decoration: none;
}

/* Images */

.sp-template img {
    display: inline-block;
    box-shadow: none;
}

/* Tables */

.sp-data-table {
    margin: 0;
    background: #fff;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
    width: 100%;
}

.sp-data-table tr {
    border: none;
}

.sp-data-table td {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid #e5e5e5;
    padding: 5px 10px;
    text-align: center;
}

.sp-data-table th {
    border-right: #fff 1px solid;
    border-left: #123f97 1px solid;
    background: #123f97;
    font-size: 22px;
    font-weight: bold;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
    color: #fff;
}

.sp-data-table th a {
    color: inherit;
}

.sp-data-table .sp-highlight,
.sp-data-table .highlighted td {
    font-weight: 500;
    background: #f9f9f9;
}

/* Galleries */

.sp-template-gallery .sp-gallery-wrapper {
    border: 1px solid #e5e5e5;
    background: #fff;
    display: table;
    width: 100%;
}

.sp-template-gallery .gallery-item {
    padding: 0;
    margin: 0;
    position: relative;
}

.sp-template-gallery .gallery-item a {
    display: block;
    color: #999;
}

.sp-template-gallery .gallery-item img {
    display: block;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.sp-template-gallery .gallery-caption {
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    color: #999;
    line-height: 1.5;
    padding: 5px 10px;
}

.sp-template-gallery .gallery-caption strong {
    color: #fff;
    background: #00a69c;
    display: block;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    position: absolute;
    left: 0;
    top: 0;
    padding: 5px 10px;
}

.sp-template-staff-gallery .gallery-caption strong {
    display: none;
}

.sp-template-gallery .sp-gallery-group-name {
    margin: 0;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    display: block;
}

/* Countdowns */

.sp-template-countdown .sp-event-name,
.sp-template-countdown .sp-event-venue,
.sp-template-countdown .sp-event-league,
.sp-template-countdown .sp-event-date {
    margin: 0;
    padding: 5px 10px;
    text-align: center;
    line-height: 1.5;
    display: table;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-bottom: none;
}

.sp-template-countdown .sp-event-name {
    font-size: 13px;
    font-weight: 400;
    color: #333;
}

.sp-template-countdown .sp-event-venue,
.sp-template-countdown .sp-event-league,
.sp-template-countdown .sp-event-date {
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    color: #999;
}

.sp-template-countdown .sp-event-venue a,
.sp-template-countdown .sp-event-league a {
    color: inherit;
}

.sp-countdown time {
    display: table;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-collapse: collapse;
    width: 100%;
}

.sp-countdown span {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    display: table-cell;
    border: 1px solid #e5e5e5;
    padding: 10px 5px;
    text-align: center;
}

.sp-countdown span small {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    font-weight: 500;
    color: rgba(51,51,51,0.5);
    display: block;
}

/* Event Calendars */

.sp-template-event-calendar .sp-table-caption {
    display: table-caption;
}

.sp-template-event-calendar td {
    padding: 10px 5px;
}

.sp-template-event-calendar tfoot td {
    padding: 10px 15px;
    border: none;
}

.sp-template-event-calendar .sp-previous-month {
    text-align: left;
}

.sp-template-event-calendar .sp-next-month {
    text-align: right;
}

.sp-template-event-calendar tfoot a {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    color: rgba(51,51,51,0.5);
}

.sp-template-event-calendar tfoot a:hover {
    color: #333;
    text-decoration: none;
}

.sp-template-event-calendar tbody td {
    position: relative;
}

.sp-template-event-calendar tbody td a:before {
    content: '•';
    position: absolute;
    font-size: 20px;
    line-height: 1;
    width: 1em;
    top: 0;
    right: 0;
}

/* Event Lists */

.sp-template-event-list .data-home {
    text-align: right;
}

.sp-template-event-list .data-away {
    text-align: left;
}

/* Event Blocks */

.sp-template-event-blocks td {
    padding: 0;
}

.sp-template-event-blocks .sp-event-date {
    color: rgba(51,51,51,0.5);
    font-weight: 500;
    font-size: 12px;
    margin: 10px;
}

.sp-template-event-blocks .sp-event-date a,
.sp-template-event-blocks .sp-event-date a:hover {
    color: inherit;
}

.sp-template-event-blocks .sp-event-results {
    font-size: 20px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: #333;
}

.sp-template-event-blocks .sp-event-results a {
    color: inherit;
}

.sp-template-event-blocks .sp-event-results a:hover {
    color: inherit;
    text-decoration: none;
}

.sp-template-event-blocks .sp-event-title,
.sp-template-event-blocks .sp-event-status {
    display: block;
    padding: 0;
    margin: 10px;
    font-size: 13px;
    font-weight: 400;
}

/* Event Logos */

.sp-template-event-logos .sp-team-name,
.sp-template-event-logos .sp-team-result {
    font-size: 20px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: #333;
}

.sp-template-event-logos a,
.sp-template-event-logos a:hover {
    border: none;
    text-decoration: none;
}

/* Event Performance */

.sp-template-event-performance-icons td {
    border: none;
}

.sp-template-event-performance-icons tr:first-child td {
    border-top: 1px solid #e5e5e5;
}

/* Videos */
.sp-template-event-video iframe {
    width: 100%;
}

/*  Match Stats */

.sp-template-event-statistics .sp-statistic-label {
    font-size: 12px;
    font-weight: 500;
    color: inherit;
    opacity: 0.5;
}

.sp-event-statistics {
    background: transparent;
    margin: 0 0 10px;
}

.sp-event-statistics,
.sp-event-statistics tr,
.sp-event-statistics td {
    border: none;
}

.sp-event-statistics .sp-statistic-ratio {
    padding: 0;
}

.sp-event-statistics .sp-statistic-bar {
    border: 1px solid #e5e5e5;
    background: #f9f9f9;
}

/* Venues */

.sp-event-venue-map-row td {
    padding: 0;
}

.sp-event-venue-map-row .sp-google-map {
    display: block;
    margin: 0;
}

/* Teams */

.sp-template-logo {
    float: right;
    margin: 0 0 20px 20px;
    clear: none;
}

/* Profiles */

.sp-template-details dl {
    margin: 0 0 20px;
    padding: 15px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.sp-template-details dt,
.sp-template-details dd {
    margin: 0;
    padding: 0;
}

.sp-template-details dt {
    font-size: 12px;
    font-weight: 500;
    color: rgba(51,51,51,0.5);
}

.sp-template-details dd {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.sp-template-details dd:last-child {
    margin-bottom: 0;
}

/* Twitter */

.sp-tweets {
    border: 1px solid #e5e5e5;
    border-top: none;
}

/* Scoreboards */

.sp-header-scoreboard .sp-template-scoreboard {
    margin-bottom: 0;
}

.sp-template-scoreboard td {
    padding: 0;
}

.sp-template-scoreboard td:hover {
    background: #f9f9f9;
}

.sp-template-scoreboard a,
.sp-template-scoreboard a:hover {
    text-decoration: none;
    color: #333;
}

.sp-template-scoreboard .sp-scoreboard-date {
    font-size: 12px;
    font-weight: 500;
    color: rgba(51,51,51,0.5);
}

.sp-template-scoreboard .sp-scoreboard-nav {
    color: #fff;
    background: #00a69c;
}

/* Timelines */

.sp-template-timeline .sp-timeline * {
    color: initial;
}

/* Tournaments */

.sp-tournament-bracket {
    color: #333;
    background: transparent;
    width: 100%;
    border-collapse: separate;
}

.sp-tournament-bracket a,
.sp-tournament-bracket a:hover {
    text-decoration: none;
    color: inherit;
    border: none! important;
}

.sp-tournament-bracket tr,
.sp-tournament-bracket th,
.sp-tournament-bracket td {
    border: none;
}

.sp-tournament-bracket thead th {
    font-size: 12px;
    font-weight: 500;
    color: rgba(51,51,51,0.5);
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.sp-tournament-bracket .sp-team-name {
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.sp-tournament-bracket .sp-team-name:hover {
    border: 1px solid #e5e5e5;
}

.sp-tournament-bracket .sp-heading,
.sp-tournament-bracket .sp-heading:hover {
    color: #fff;
    background: #00a69c;
    border-color: #00a69c;
}

.sp-tournament-bracket .sp-event {
    border-color: #e5e5e5;
    border-width: 1px;
}

.sp-tournament-bracket .sp-event .sp-event-title {
    font-size: 12px;
    font-weight: 400;
    color: rgba(51,51,51,0.5);
    text-align: center;
}

.sp-tournament-bracket .sp-event .sp-event-title:hover {
    color: #333;
}

/* Tabs */

.sp-tab-menu {
    display: block;
    clear: both;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.sp-tab-menu-item {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sp-tab-menu-item a {
    margin: 0;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
    box-shadow: none;
}

.sp-tab-menu-item a:hover {
    text-decoration: none;
}

.sp-tab-menu-item-active a,
.sp-tab-menu-item-active a:hover {
    color: #00a69c;
    border-bottom-color: #00a69c;
}

/* Messages */
.sp-template .sp-message {
    color: #00a69c;
    border-color: #00a69c;
}

/* Post Content */

.single-sp_team .has-post-thumbnail .sp-post-content {
    clear: none;
}

/* Media Queries */

@media screen and (min-width: 601px) {
    .sp-template-event-calendar tbody td {
        padding: 15px 5px;
    }

    .sp-template-event-calendar tbody td a:before {
        font-size: 25px;
    }

    .widget .sp-template-event-calendar tbody td {
        padding: 10px 5px;
    }

    .widget .sp-template-event-calendar tbody td a:before {
        font-size: 20px;
    }
}

@media screen and (min-width: 801px) {
    .sp-template-event-calendar tbody td {
        padding: 20px 5px;
    }

    .sp-template-event-calendar tbody td a:before {
        font-size: 30px;
    }

    .widget .sp-template-event-calendar tbody td {
        padding: 10px 5px;
    }

    .widget .sp-template-event-calendar tbody td a:before {
        font-size: 20px;
    }

    .sp-template-event-performance-icons.sp-template-event-performance-section:nth-child(2n) {
        padding-top: 61px;
    }
}