/*
Theme Name: Courtside
Theme URI: https://www.themeboy.com/courtside/
Author: ThemeBoy
Author URI: https://www.themeboy.com
Description: Courtside is a fully responsive theme made for sports organisations looking to use the SportsPress plugin. Once you’ve installed the theme and SportsPress, you'll be able to select a preset for your sport and demo content to help you get started on building your sports website.
Version: 1.1.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: rookie
*/

body {
    font-family: "Share Tech", sans-serif;
    font-size: 16px;
    background: #fff;
    color: #101010;
}

/* Heading Font */
h1,
h2,
h3,
h4,
h5,
h6,
caption,
.main-navigation a,
.gallery-caption,
.wp-caption-text.gallery-caption,
.sp-table-caption,
.sp-template-countdown .event-name,
.sp-template-countdown time span,
.sp-template-event-logos,
.sp-template .player-gallery-group-name {
    font-family: "Ubuntu Condensed", sans-serif;
    line-height: 1.2;
}

/* Link Color */
a {
    color: #f27900;
}

/* Link Hover Color */
a:hover {
    color: #101010;
}

/* Buttons */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    color: #ebbe98;
    background: #f27900;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    color: #fff;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    -webkit-appearance: none;
    background-color: #dbdbdb;
    font-family: inherit;
    border: none;
    border-radius: 0;
    color: #666;
    display: block;
    font-size: 14px;
    margin: 0 0 16px 0;
    padding: 8px 15px;
    height: 37px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    color: #101010;
}

/* Tables */
table {
    background: #101010;
    color: #999;
}

/* Table Links */
table a,
table a:hover {
    color: #fff;
}

/* Table Headers */
table thead {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}

/* Table Cells */
th,
td {
    padding: 0.25em;
}

/* Table Header Cells */
table thead th {
    padding-top: 15px;
    padding-bottom: 0;
    font-weight: 400;
}

/* Table Cell Padding */
table td:first-child,
table th:first-child {
    padding-left: 20px;
}

table td:last-child,
table th:last-child {
    padding-right: 20px;
}

table tbody tr:first-child td {
    padding-top: 15px;
}

table tbody tr:last-child td,
table tfoot tr:last-child td {
    padding-bottom: 15px;
}

/* Captions */
caption {
    color: #fff;
    background: #f27900;
}

/* Content Areas */
.content-area,
.widecolumn,
.widget-area {
    padding: 0;
}

/* Masthead */
.site-header {
    width: 100%;
    margin: 0;
    position: relative;
    background: #dbdbdb;
}

.header-area {
    overflow: hidden;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto 360px;
}

/* Site Title */
.site-title {
    font-size: 30px;
    line-height: 50px;
    text-transform: uppercase;
    font-weight: 400;
}

.site-description {
    font-family: "Share Tech", sans-serif;
}

/* Header Widgets */
.site-widgets {
    width: 100%;
    color: #fff;
    background: #f27900;
    padding: 15px 0 0;
    margin: 0;
    position: relative;
    z-index: 1;
    clear: both;
}

.site-widgets:before {
    top: 0;
    -webkit-transform: skewY(-2deg);
    transform: skewY(-2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: inherit;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
}

.site-widgets:after {
    content: "";
    display: table;
    clear: both;
}

.site-widgets a:hover {
    color: #fff;
}

.site-widget-region {
    width: 1030px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.site-widgets .widget {
    margin: 0 0 30px;
}

.site-widgets .sp-view-all-link a {
    color: #fff;
}

.site-widgets .widget_calendar caption,
.site-widgets .sp-table-caption {
    color: #f27900;
    background: #fff;
}

/* Homepage Widgets */
.homepage-widgets {
    overflow: initial;
}

/* Logo */
.site-logo {
    max-width: 200px;
}

.site-logo img {
    max-width: 200px;
    max-height: 200px;
}

/* Main Navigation */
.main-navigation .menu-toggle {
    z-index: 10;
    position: relative;
    background: #101010;
    color: #fff;
}

.main-navigation.toggled {
    width: 100%;
}

.main-navigation ul {
    margin: 0;
    text-align: right;
}

.main-navigation li {
    width: 100%;
    clear: both;
    display: block;
    text-align: left;
}

.main-navigation a {
    color: #fff;
    background: #101010;
    padding: 3px 15px 5px;
    font-size: 30px;
    line-height: 40px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Menu Active Link Color */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_parent > a,
.main-navigation .current_page_ancestor > a,
.main-navigation li:hover > a {
    background: #f27900;
}

/* Nested Menu Color */
.main-navigation ul ul {
    color: #fff;
}

/* Menu Search */
.main-navigation .search-form {
    background: #101010;
    padding: 15px;
}

.main-navigation .search-form .search-submit {
    padding-left: 15px;
    padding-right: 15px;
}

/* Content Area */
.site-content {
    margin-top: 80px;
    margin-bottom: 80px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Footer */
.site-footer {
    width: 100%;
    background: #101010;
    color: #999;
    padding: 32px 0 0;
    margin: 0;
    position: relative;
    z-index: 1;
    clear: both;
    overflow: initial;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: #999;
}

.site-footer:before {
    top: 0;
    -webkit-transform: skewY(-2deg);
    transform: skewY(-2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: inherit;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
}

.footer-area {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-widget-region {
    padding: 0 15px;
}

.site-info {
    background: #f27900;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-info a {
    color: inherit;
}

.info-area {
    width: 1030px;
    max-width: 100%;
    margin: 0 auto;
    padding: 5px 15px;
    overflow: hidden;
}

/* Pagination */
.nav-links a {
    font-size: 16px;
    color: #999;
}

.nav-links a:hover {
    color: #101010;
}

.nav-links .meta-nav {
    color: #f27900;
}

/* Widgets */
.widget {
    margin: 30px 0 60px;
}

.widget .sp-table-caption {
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Galleries */
.gallery dd {
    background: #f27900;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    padding: 7px 0.625em;
    position: static;
}

.gallery dd strong {
    background: #101010;
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    height: 36px;
    z-index: 1;
}

.gallery dd strong:before {
    top: 0;
    -webkit-transform: skewY(-5deg);
    transform: skewY(-5deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: inherit;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
}

.gallery dd.has-number {
    padding: 7px 0.625em;
}

/* SportsPress */
.sp-template {
	margin-bottom: 30px;
    clear: both;
}

.sp-view-all-link a,
.sp-table-wrapper .dataTables_paginate a {
    font-size: 16px;
    color: #999;
}

.sp-view-all-link a:hover,
.sp-table-wrapper .dataTables_paginate a:hover {
    color: #101010;
}

.sp-highlight,
.sp-highlight a {
    color: #f27900;
}

.sp-heading,
.sp-heading:hover {
    background: #f27900;
    color: #fff;
}

.sp-tab-menu {
    padding: 0;
    border-bottom: 2px solid #dbdbdb;
}

.sp-tab-menu-item a {
    margin: 0 0 -2px;
    padding: 7px 15px;
    font-size: 16px;
    border-bottom: 2px solid #dbdbdb;
}

.sp-tab-menu-item-active a {
    border-color: #f27900;
}

/* Captions */
.widget-title {
    color: #101010;
    background: #dbdbdb;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    padding: 5px 15px;
}

.widget_calendar caption,
.sp-template-event-logos .sp-team-result,
.entry-title .sp-player-number,
.entry-title .sp-staff-role,
.sp-table-caption {
    color: #fff;
    background: #f27900;
    text-align: left;
    font-size: 30px;
    font-weight: 400;
    line-height: 40px;
    margin: 0;
    padding: 3px 15px 5px;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    display: inline-block;
    clear: both;
}

.widget_calendar caption:before,
.sp-template-event-logos .sp-team-result:before,
.entry-title .sp-player-number:before,
.entry-title .sp-staff-role:before,
.sp-table-caption:before {
    top: 0;
    -webkit-transform: skewY(-1.5deg);
    transform: skewY(-1.5deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: inherit;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
}

.sp-template-event-logos .sp-team-result {
    text-align: center;
}

.widget-title {
    margin-bottom: 25px;
}

.widget_sportspress .widget-title {
    margin-bottom: 0;
}

.widget .sp-table-caption {
    display: block;
}

.entry-title .sp-player-number,
.entry-title .sp-staff-role {
    margin-right: 0.25em;
}

.entry-title .sp-player-number:before {
    -webkit-transform: skewY(-5deg);
    transform: skewY(-5deg);
}

.sp-calendar-wrapper .sp-table-caption,
.widget_calendar caption {
    display: table-caption;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
}

/* Countdowns */
.sp-countdown {
    color: #999;
    overflow: hidden;
}

.sp-countdown-wrapper {
    background: #101010;
}

.sp-template-countdown .event-name,
.sp-template-countdown h5 {
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    padding: 0.375em 15px 0.25em;
}

.sp-template-countdown .event-name {
    font-size: 20px;
    color: #fff;
    text-transform: none;
    padding: 15px 15px 0;
}

.sp-template-countdown .event-name a {
    color: #fff;
}

.sp-template-countdown h5 {
    color: #fff;
    background: #f27900;
}

/* Event Blocks */
.sp-event-blocks td {
    padding: 0 !important;
}

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

.sp-event-blocks .sp-event-results {
    margin: 15px 0;
}

.sp-event-blocks .sp-event-results .sp-result {
    background: #f27900;
    color: #fff;
    display: inline-block;
    margin: 0 5px;
    padding: 5px 10px;
}

.widget .sp-event-blocks .sp-event-title {
    margin: 15px 15px 20px;
}

/* Tournaments */
.sp-tournament-bracket .sp-team-name {
    color: #fff;
    background: #333;
}

.sp-tournament-bracket .sp-heading {
    background: #f27900;
    color: #fff;
}

.sp-template-tournament-bracket .sp-team .sp-team-name:before,
.sp-tournament-bracket .sp-team-flip .sp-team-name:before {
    border-left-color: #333;
    border-right-color: #333;
}

.sp-template-tournament-bracket .sp-event .sp-event-main {
    color: #333 !important;
}

.sp-template-tournament-bracket .sp-result {
    color: #fff;
    background: #f27900;
}

.sp-tournament-bracket .sp-event {
    border-color: #333 !important;
}

/* Events */
.sp-template-event-performance-icons tbody tr:first-child td {
    padding-top: 1.25em;
}

.sp-template-event-performance-icons tbody tr:last-child td {
    padding-bottom: 1.25em;
}

.sp-template-event-performance-icons .data-number {
    padding-left: 1.5em;
}

.sp-event-overview, .sp-event-performance-tables {
    overflow: initial;
}

/* Venues */
.sp-template-event-venue .sp-event-venue-map-row td,
.sp-template-event-venue .sp-event-venue-address-row td {
    padding-top: 15px;
}

/* Videos */
.sp-template-event-video {
    background: #000;
}

/* Match Stats */
.sp-event-statistics {
    color: #101010;
    background: #dbdbdb;
    font-size: 14px;
}

.sp-event-statistics td {
    padding: 0 !important;
}

.sp-statistic-label {
    font-size: 24px;
    margin-top: 3px;
    margin-bottom: 8px;
}

.sp-statistic-bar {
    height: 2.5em;
    background: #101010;
}

.sp-statistic-bar-fill {
    background: #f27900;
}

/* Profile Details */
.sp-template-details dl {
    background: #f3f3f3;
}

/* Sponsors */
.sp-footer-sponsors {
    padding-bottom: 30px;
    margin: 0 15px -100px;
}

/* Scoreboard */
.sp-scoreboard td {
    padding: 15px !important;
}

.sp-header-scoreboard-event {
    padding: 0;
}

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

/* Calendars */
.widget_calendar,
.sp-template-event-calendar {
    position: relative;
}

.widget_calendar #today,
.sp-template-event-calendar #today {
    color: #fff;
    background: #f27900;
}

.widget_calendar tbody a,
.sp-template-event-calendar tbody a {
    color: #f27900;
}

.widget_calendar tbody a:hover,
.sp-template-event-calendar tbody a:hover {
    color: #fff;
}

.widget_calendar #today a,
.sp-template-event-calendar #today a {
    color: #fff;
}

.widget_calendar #prev a,
.sp-template-event-calendar #prev a,
.widget_calendar #next a,
.sp-template-event-calendar #next a {
    visibility: hidden;
    position: absolute;
    top: 5px;
    z-index: 2;
    width: 20%;
    max-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.widget_calendar #prev a,
.sp-template-event-calendar #prev a {
    left: 0;
}

.widget_calendar #next a,
.sp-template-event-calendar #next a {
    right: 0;
}

.widget_calendar #prev a:before,
.sp-template-event-calendar #prev a:before,
.widget_calendar #next a:before,
.sp-template-event-calendar #next a:before {
    font-family: dashicons;
    font-size: 30px;
    visibility: visible;
    color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    opacity: 0.5;
}

.widget_calendar #prev a:before,
.sp-template-event-calendar #prev a:before {
    content: "\f341";
}

.widget_calendar #next a:before,
.sp-template-event-calendar #next a:before {
    content: "\f345";
}

.widget_calendar #prev a:hover:before,
.sp-template-event-calendar #prev a:hover:before,
.widget_calendar #next a:hover:before,
.sp-template-event-calendar #next a:hover:before {
    opacity: 1;
}

.widget_calendar tfoot,
.sp-template-event-calendar tfoot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* News Widget */
.news-widget__post__thumbnail {
    margin-bottom: 15px;
}

.news-widget__post__title {
    font-size: 20px;
}

.news-widget__post__date {
    color: #f27900;
}

.news-widget__post__excerpt {
    opacity: 0.75;
    margin-top: 0.5em;
}

.news-widget__post__excerpt p:last-child {
    margin-bottom: 0;
}

.site-widgets .news-widget__post a {
    color: #fff;
}

/* Mega Slider */
.mega-slider-template {
    margin-bottom: 60px;
}

.mega-slider__row--active,
.mega-slider__row--active:hover {
    background: #f27900;
}

/* Posts */
.entry-meta {
    clear: none;
    float: right;
    font-size: 24px;
}

.entry-category-links {
    font-size: 24px;
    color: #999;
    margin: 0 0 10px;
}

.entry-category-links a {
    color: inherit;
    margin-left: 10px;
}

.entry-category-links a:hover {
    color: #101010;
}

.entry-details .posted-on a {
    font-size: 24px;
    text-transform: none;
}

.entry-header {
    padding: 15px 0;
}

.entry-header .entry-title {
    margin-bottom: 0;
}

/* Quotes */
.entry-content blockquote,
.entry-content q {
    background: #dbdbdb;
    position: relative;
    margin: 0 0 15px;
    padding: 40px 50px 30px;
    font-size: 24px;
}

.entry-content blockquote:before,
.entry-content q:before {
    top: 0;
    -webkit-transform: skewY(-2deg);
    transform: skewY(-2deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: inherit;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
}

.entry-content blockquote:after,
.entry-content q:after {
    font-family: "Helvetica-Neue", Helvetica, Arial, sans-serif;
    font-size: 64px;
    font-style: normal;
    line-height: 80px;
    width: 50px;
    height: 50px;
    text-align: center;
    content: '”';
    background: #f27900;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Archives */
.single-article {
    position: relative;
}

.article-header {
    color: #dbdbdb;
    background: #101010;
}

.article-header a {
    color: inherit;
}

.article-header .article-details {
    color: #101010;
    background: #dbdbdb;
    padding: 0.375em 15px 0.25em;
    text-transform: uppercase;
    font-size: 14px;
}

.article-header .entry-title {
    font-size: 24px;
    padding: 0.75em 15px 0.25em;
    margin: 0;
}

.article-header .entry-title a:hover {
    color: #fff;
}

.article-content {
    color: #dbdbdb;
    background: #101010;
    padding: 0 15px 30px;
    overflow: hidden;
}

.article-content .more-link {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #fff;
    background: #f27900;
    padding: 3px 15px 5px;
    z-index: 1;
}

.article-content .more-link:before {
    top: 0;
    -webkit-transform: skewY(-1.5deg);
    transform: skewY(-1.5deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: inherit;
    content: "";
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    z-index: -1;
    -webkit-backface-visibility: hidden;
}

/* Media Queries */
@media screen and (max-width: 600px) {
}

@media screen and (min-width: 601px) {
    .header-area {
        position: relative;
        background-position: center center;
        background-size: cover;
    }
    
    .header-area-has-search,
    .header-area-has-text {
        padding-bottom: 50px;
    }
    
    .header-area-has-search:after,
    .header-area-has-text:after {
        content: "";
        display: block;
        width: 100%;
        height: 50px;
        background: #101010;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 1;
    }

    .site-branding {
        width: 1030px;
        height: 200px;
        max-width: 100%;
        margin: 0 auto;
        padding-top: 50px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: right;
    }

    .site-branding hgroup {
        position: absolute;
        bottom: 0;
        right: 15px;
        z-index: 2;
    }

    .site-title {
        display: inline;
    }

    .site-description {
        display: inline;
        margin-left: 10px;
    }

    .site-logo {
        max-width: 200px;
        float: none;
    }

    .site-logo img {
        max-height: auto;
    }
    
    .main-navigation {
        margin: -100px 0 100px;
    }
    
    .main-navigation ul {
        float: left;
        position: relative;
    }
    
    .main-navigation li {
        float: left;
        padding-bottom: 10px;
    }
    
    .main-navigation a {
        float: left;
    }

    .main-navigation li a:before {
        top: 0;
        -webkit-transform: skewY(-2deg);
        transform: skewY(-2deg);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        background: inherit;
        content: "";
        display: block;
        height: 50%;
        left: 0;
        position: absolute;
        right: 0;
        z-index: -1;
        -webkit-backface-visibility: hidden;
    }

    .main-navigation li:hover > a {
        float: none;
    }
    
    .main-navigation ul ul {
        width: auto;
        top: 0;
        left: 100%;
        height: 100%;
        padding-left: 30px;
    }
    
    .main-navigation ul ul li {
        clear: none;
    }
    
    .main-navigation ul ul a {
        min-width: 0;
        white-space: nowrap;
    }
    
    .main-navigation .search-form {
        position: absolute;
        bottom: 0;
        padding: 0;
        margin-bottom: 10px;
        background: transparent;
        left: 10px;
        z-index: 3;
    }

    .main-navigation .search-form .search-field {
        width: 180px;
        height: 30px;
        margin-bottom: 0;
    }

    .main-navigation .search-form .search-submit {
        height: 30px;
        line-height: 15px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .content-area,
    .widget-area {
        padding: 0 15px;
    }
    
    .content-area {
        width: 67%;
    }

    .content-area-full-width {
        width: 100%;
    }
    
    .widget-area {
        width: 33%;
    }
    
    .site-widgets {
        max-width: 100%;
        width: 1030px;
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-widgets .widget_calendar caption:before,
    .site-widgets .widget-title:before {
        -webkit-transform: skewY(-1deg);
        transform: skewY(-1deg);
    }

    .info-area {
        padding: 5px 30px;
    }

    .mega-slider-template {
        padding: 0 15px;
    }
    
    .news-widget--has-columns {
        margin: 0 -15px;
    }
    
    .news-widget--has-columns .news-widget__post {
        padding: 0 15px;
    }
}

@media screen and (min-width: 801px) {
    .sp-widget-align-left {
        padding-right: 15px;
    }

    .sp-widget-align-right {
        padding-left: 15px;
    }
}

@media screen and (min-width: 1025px) {
    .widget .sp-table-caption {
        margin: -48px 0 0;
        clear: none;
        float: left;
    }

    .widget_sportspress .widget-title {
        text-align: right;
    }

    .widget_calendar .widget-title {
        text-align: left;
    }
    
    .widget_calendar .sp-table-caption {
        clear: both;
        float: none;
    }

    .sp-calendar-wrapper .sp-table-caption,
    .widget_calendar caption {
        margin: 0;
    }
}
