/* 
Theme Name: PGA Pros
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Colors:
Blue: #1B4A68;
Green: #61CE70;

 */

/* Common Table Styles*/
div#schedule {
    overflow-x:auto;
    border-radius: 3px;
}
div#standings {
    border-radius: 3px;
}
div#schedule table,
div#standings table{
    /*box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.25);*/
    color: #fff;
    border: solid 2px #333;
    margin-bottom: 0;
}
div#schedule table thead,
div#standings table thead {
    background-color: rgba(20, 20, 20, 0.8);
}
div#schedule table tbody tr:nth-child(even) td,
div#standings table tbody tr:nth-child(even) td {
    background-color: rgba(20, 20, 20, 0.7) !important;   
}
div#schedule table tbody tr:nth-child(odd) td,
div#standings table tbody tr:nth-child(odd) td {
    background-color: rgba(20, 20, 20, 0.6) !important;   
}
div#schedule table th,
div#standings table th {
    text-transform: uppercase;
}
div#schedule.schedule-schedule .th-week,
div#schedule.schedule-standings .th-week {
    width: 100px;
    text-align: center;
}
div#schedule.schedule-standings th.th-date {
    width: 200px;
}
div#schedule table td,
div#schedule table th,
div#standings table td,
div#standings table th {
    vertical-align: middle;
    border: none;
}
div#standings table th {
    text-align: left;
}
div#standings table td {
    padding: 8px 15px;   
}
div#standings table th.standings-position-column {
    width: 30px;
    font-style: italic;
    font-size: 13px;
}
td.grouping {
    width: 60px;
    position: relative;
}
div.standings-playoff-grouping {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: absolute; /* Absolutely position the flex container within the td */
    top: 0; /* Align the top of the container with the top of the td */
    bottom: 0; /* Align the bottom of the container with the bottom of the td */
    left: 0; /* Align the left of the container with the left of the td */
    right: 0; /* Align the right of the container with the right of the td */
}

div.standings-playoff-grouping span {
    font-size: 32px;
    transform: rotate(-90deg);
    transform-origin: 50% 50%; /* Rotate around the exact center of the span */
    white-space: nowrap;
    color: #fff;
}
div.group-bye-week {
    background-color: #897F6C;
}
div.group-A {
    background-color: #DB2B39;
}
div.group-B {
    background-color: #29335C;
}
div.group-C {
    background-color: #F3A712;
}
div.group-D {
    background-color: #0b6e4f;
}
div.group-bye-week span {
    text-transform: uppercase;
}
td.ordinal {
    padding-left: 36px !important;
    width: 180px;
}

div#schedule table td.team-1 {

}
div#schedule table td.team-2 {

}
div#schedule table span.team-1-a,
div#schedule table span.team-1-b {

}
div#schedule table span.team-2-a,
div#schedule table span.team-2-b {
    
}
div#schedule table td.team-1-score,
div#schedule table td.team-2-score {

}
div#standings table td.standings-position {
    font-size: 12px;
}
div#standings table td.standings-golfer {
    font-size: 16px;
}
div#schedule table td.score {
    text-align: center;
    font-weight: bold;
}
div#schedule table td.score span,
div#standings table td.standings-points span {
    background-color: #61ce70;
    border-radius: 12px;
    color: #fff;
    padding: 4px 10px;
}
div#standings table td.standings-points span {
    font-weight: bold;
    /*background-color: #1B4A68;*/
}
div#schedule table .border-right,
div#standings table .border-right {
    border-right: solid 2px #999;
}
div#schedule.schedule-schedule td.date,
div#schedule.schedule-standings td.date,
div#schedule.schedule-schedule td.table-week,
div#schedule.schedule-standings td.table-week {
    text-align: center;
}
div#schedule.schedule-schedule td.course {
    text-align: center;
}
div#schedule.schedule-schedule td.course a,
div#schedule.schedule-schedule td.course a:link,
div#schedule.schedule-schedule td.course a:visited {
    color: #61ce70;
}
div#schedule.schedule-schedule td.course a:hover {
    color: #fff;
}
div#schedule.schedule-schedule .full-schedule-border-right {
    border-right: solid 2px #999;
}
div#schedule.schedule-schedule table thead {
    background-color: rgba(20, 20, 20, 1.0);
}
div#schedule.schedule-schedule table tbody tr:nth-child(even) td {
    background-color: rgba(20, 20, 20, 0.95) !important;   
}
div#schedule.schedule-schedule table tbody tr:nth-child(odd) td {
    background-color: rgba(20, 20, 20, 0.9) !important;   
}
div#schedule table tfoot,
div#standings table tfoot {
    background-color: rgba(20, 20, 20, 0.8);
}
div#schedule table tfoot tr td.schedule-last-updated,
div#standings table tfoot tr td.standings-last-updated {
    font-style: italic;
    font-size: 12px;
}
div#schedule table tfoot tr td.schedule-last-updated {
    padding: 8px 15px;
}
table a:link,
table a:visited {
    color: #61ce70;
}
table td.team-1 a:link,
table td.team-1 a:visited,
table td.team-2 a:link,
table td.team-2 a:visited {
    color: #fff;
}
table td.team-1 a:hover,
table td.team-2 a:hover {
    color: #61ce70
}
table td.standings-golfer a:link,
table td.standings-golfer a:visited {
    color: #fff;
}
table td.standings-golfer a:hover {
    color: #61ce70;
}

/* Week Schedule Table */
div#schedule table#schedule-week-table thead th {
    width: 50%;
}
div#schedule table#schedule-week-table td.week-template-date-row {
    text-transform: uppercase;
    padding: 5px 15px;
    text-align: center !important;
    border-top: solid 2px #222;
    background-color: rgba(20, 20, 20, 0.8) !important;
}
div#schedule table#schedule-week-table td.team-1,
div#schedule table#schedule-week-table td.team-2 {
    font-size: 1em;
}
div#schedule table#schedule-week-table td.team-2 {
    text-align: right;
}
div#schedule table#schedule-week-table td.team-1 span.team-1-a,
div#schedule table#schedule-week-table td.team-1 span.team-1-b,
div#schedule table#schedule-week-table td.team-2 span.team-2-a,
div#schedule table#schedule-week-table td.team-2 span.team-2-b {
    font-weight: bold;
}

div.course-challenge-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
div.course-challenge {
    width: 24%;
    background-color: rgba(0,0,0, 0.6);
    border-radius: 8px;
    margin: 0 6px;
    color: #fff;
    padding: 4px 2px 10px;
    font-size: 62px;
    font-weight: 700;
    text-align: center;
}



/* New 2025 Design Styles
=========================================================================================================================================
*/
.team-schedule-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.game-row {
    display: flex; /* Use flexbox for the date and teams */
    justify-content: flex-start;
    align-items: stretch; /* Stretch items to match the height of the row */
    margin-bottom: 20px;
    width: 100%;
}

.game-date {
    display: flex;
    flex-direction: column; /* Stack the date content vertically */
    justify-content: center; /* Center the date vertically */
    text-align: center;
    background-color: #f7f7f7;
    font-size: 1rem;
    padding: 20px;
    border-radius: 8px;
    width: 80px;
    height: 100%; /* Ensure it spans the entire height of the row */
    margin-right: 10px; /* Add some spacing between the rotated date and the teams */
}

.date-day {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.date-month-day {
    font-size: 1.2rem;
    font-style: italic;
}

.teams-container {
    display: flex;
    flex-direction: column; /* Stack the teams vertically */
    margin-left: 20px; /* Add space between date and teams */
    width: calc(100% - 100px); /* Ensure the teams container takes up the remaining space */
}

.team-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 10px;
    width: 100%; /* Ensure the team container spans the width of the right column */
}


.team-name {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin-left: 20px;
    width: 100%;
}

.player-name {
    margin-right: 5px;
}

.team-time {
    margin-left: 15px;
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
}

.team-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 10px;
}

.team-handicap,
.team-score,
.team-firs,
.team-girs,
.team-points {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 4px;
    text-align: center;
    width: 100px;
    font-weight: 700;
    background-color: #f7f7f7;
    border-radius: 6px;
    padding: 5px;
}

.team-handicap span,
.team-score span,
.team-firs span,
.team-girs span,
.team-points span {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 400;
}

.team-handicap {
    color: #555;
}

.team-score,
.team-firs,
.team-girs,
.team-points {
    color: #333;
}

.slash {
    color: #eee;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* Desktop Table Version */



/* Tablet Table Version */



/* Mobile Table Version */
body[data-elementor-device-mode="mobile"] div#schedule table {
    font-size: .8em;
}
body[data-elementor-device-mode="mobile"] div#schedule table td,
body[data-elementor-device-mode="mobile"] div#schedule table th {
    
}
body[data-elementor-device-mode="mobile"] div#schedule table th {
    letter-spacing: 0px;
    font-weight: 500;
    padding: 4px 6px;
    font-size: 11px;
}
body[data-elementor-device-mode="mobile"] div#schedule table td {
    padding: 6px;
}
body[data-elementor-device-mode="mobile"] div#schedule table td {
    padding: 14px 6px;
}
body[data-elementor-device-mode="mobile"] div#schedule table td.date {
    font-size: 13px;
    width:  24%;
}
body[data-elementor-device-mode="mobile"] div#schedule table td.score {
    font-size: 1em;
}

p.locked-message {
    text-align: center;
    padding: 30px;
    background-color: rgba(20,20,20, 0.7);
    margin: 60px auto;
    width: 300px;
    border-radius: 12px;
    color: #fff;
}
p.locked-message a {
 font-weight: bold;
}
p.locked-message a:link,
p.locked-message a:visited {
    color: #61ce70;
}
p.locked-message a:hover {
    color: #fff;
}