﻿


body {
    font-family: "Raleway", sans-serif;
    margin: 0;
    background-color: #121212;
}

.splash-banner {
    position: relative;
    height: 25vh;
    min-height: 180px;
    display: flex;
    /* extra style to center the content */
    display: flex;
    align-items: center;
    justify-content: center;
}
    .splash-banner:before {
        content: "";
        background-image: url('/assets/img/wgi-homepagebanner.jpg');
        position: absolute;
        background-size: cover;
        background-position: center;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: -1;
        opacity: .75;
        align-items: center; 
        align-items: flex-start; /* Align content towards the top */
        justify-content: center;
        background-blend-mode: overlay;
    }

    .splash-banner .container-fluid {
        width: 100%; /* Ensure full width */
        padding-left: 8%;
        padding-top: 10px;
        margin-top: 30px;
    }


@media (max-width: 992px) { /* Adjust for small screens */
    .splash-banner {
        height: 15vh;
        min-height: 140px;
    }

        .splash-banner .container-fluid {
            padding-left: 8%;
            margin-top:8%;
        }

}

@media (max-width: 576px) { /* Adjust for small screens */
    .splash-banner {
        height: 15vh;
        min-height: 140px;
    }

        .splash-banner .container-fluid {
            padding-left: 8%;
            margin-top: 15%;
        }
}


.splash-banner-small {
    height: 160px;
}

.events-title {
    font-size: 45px;
}

.homepagebanner {
    background-image: url('/assets/img/wgi-homepagebanner.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    /*display: flex;*/
    /*align-items: center; */
    align-items: flex-start; /* Align content towards the top */
    justify-content: center;
}

    .homepagebanner .container-fluid {
        width: 100%;
    }

    .homepagebanner .row {
        width: 100%; /* Force row to full width */
        /*display: flex;*/ /* Ensure row uses flex layout */
        /*flex-wrap: nowrap;*/ /* Prevent columns from stacking */
        padding-top: 20%; /* Adjust this value to control vertical placement */
        padding-left: 35px; /* Add padding for spacing on the sides */
    }

    .homepagebanner .col {
        flex: 1; /* Allow equal space distribution */
        display: flex; /* Flex layout for column content */
        justify-content: center;
        align-items: center;
        padding: 10px; /* Optional: Adjust spacing */
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-style: normal;
    }

    .homepagebanner .row-content {
        width: 100%; /* Force row to full width */
    }

    .homepagebanner .col-content {
        padding: 10px; /* Optional: Adjust spacing */
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-style: normal;
        color: #fff;
    }

    .homepagebanner .row-content {
        padding-left: 35px;
    }

    .div-left-padded {
        padding-left: 25px;
        margin-left: 25px;
    }


    ul.flat-list{
        list-style: none;
        padding-left: 0px;
    }
        ul.flat-list a {
            color: #fff;
            text-decoration: none;
        }

.flat-list li {
        border-bottom: solid 1px #aaaaaa;
        padding-bottom: 8px;
}

.banner-badge {
    background-color: #000;
    opacity: 0.5;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    width: 100%;
    margin-right:10px;
}

.banner-badge p {
    font-size: 12px;
}

.banner-badge a {
        color: #fff;
        text-decoration: none;
}


.register-content {
    background-color: #000;
    /*opacity: 0.5;*/
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    width: 100%;
    margin-right: 10px;
}

    .register-content p {
        font-size: 12px;
    }

    .register-content a {
        color: #fff;
        text-decoration: none;
    }

.modal-header {
    border-bottom: solid 1px #ffd700 !important;
}


.navbar {
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding-top: 10px;
    padding-right: 25px;
    padding-left: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 200ms linear;
}

    .navbar.scrolled {
        /* background-color: rgba(255, 255, 255, 0.9); */
        background-color: #000;
    }

.navbar-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-right: 35px; /* spacing between menu items */
    text-decoration: none;
}

a.nav-link:hover {
        color:#ffd700;
    }

.navbar.scrolled .nav-link {
    color: white; /* Ensure the nav links stay white */
}

.navbar-brand img {
    max-height: 40px;
    max-width: 100%;
}


/* Ensure Spacing from Right Edge */
.navbar-nav {
    margin-right: 15px; /* Add small spacing from screen edge */
}
/* Align Nav Items with Button */
.nav-item {
    display: flex;
    align-items: center;
    color: white; /* Text color */
}

.nav-button {
    background: #ffd700; /* Yellow background */
    color: white; /* Text color */
    font-weight: bold;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 28px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    transition: background 0.3s;
}

    .nav-button span {
        margin: 0 5px; /* Add internal spacing for text */
    }

    .nav-button-icon {
        margin-left: 10px; /* Space between text and icon */
    }

@media (max-width: 992px) {
    .navbar .nav-link {
        padding-left: 25px;
        padding-top: 10px;
        text-align: left;
    }

    .nav-item {
        border-bottom: solid 1px #ffd700;
    }
}



.gw-button-bordered {
    background: transparent; /* Transparent background */
    /*color: #ffd700;*/ /* Yellow border and text color */
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 35px;
    padding-right: 30px;
    border: 1px solid #ffd700; /* Yellow border */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s, color 0.3s; /* Smooth transitions for hover */
}


    .gw-button-bordered:hover {
        background: #ffd700; /* Yellow background on hover */
        color: white; /* White text color on hover */
    }

.gw-button-bordered-black {
    background: #000; /* Transparent background */
    /*color: #ffd700;*/ /* Yellow border and text color */
    color: #000;
    font-weight: bold;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 35px;
    padding-right: 30px;
    border: 1px solid #ffd700; /* Yellow border */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s, color 0.3s; /* Smooth transitions for hover */
}

    .gw-button-bordered-black:hover {
        background: #ffd700; /* Yellow background on hover */
        color: white; /* White text color on hover */
    }

button.gw-button-bordered-black {
    color: #fff;
}

@media (max-width: 992px) {
    .gw-button-bordered-black {
        padding: 8px;
        font-size: 12px;
    }
}

.gw-button-link-bordered {
    margin-top: 3px;
    margin-bottom: 3px;
    background: transparent;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 35px;
    padding-right: 35px;
    border: 1px solid #ffd700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

    .gw-button-link-bordered:hover {
        background: #ffd700;
        color: white;
    }

    /* shared icon styles */
    .gw-button-link-bordered::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-family: "Font Awesome 6 Free"; /* or "Font Awesome 6 Pro" */
        font-weight: 900; /* solid weight */
        font-size: 16px;
        line-height: 1;
        color: currentColor; /* follows text color */
    }

.gw-ico-pdf::before {
    content: "\f1c1";
}

.gw-ico-download::before {
    content: "\f019";
}

.gw-ico-calendar::before {
    content: "\f073";
}

.gw-ico-link::before {
    content: "\f0c1";
}



/* Content sections */
.content-section, .content-calendar {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    padding: 65px 60px 10px 60px; /* Added padding */
}

    @media (max-width: 992px) {
        .content-section, .content-calendar {
            padding: 35px 5px 10px 5px;
        }
    }

/* Remove Bootstrap container padding on small screens */
/*@media (max-width: 992px) {
    .container {
        padding: 0px;
        margin: 0px;
        max-width: 100%;
    }
}*/

.content-section a {
    color: #fff;
}


/* Division Listing */
.division-listing {
    font-family: "Raleway", sans-serif;
    color: #fff;
    font-size: 14px;
    font-optical-sizing: auto;
    background-color: #000;
}

.last-match-row {
    border-bottom: 3px solid #444; 
}


tr.division-separator td {
    background-color: #000 !important;
    height: 35px;
    padding: 0;
    border: none;
}

tr.division-separator-light td {
    background-color: #fff !important;
    height: 45px;
    padding: 0;
    border: none;
}


/* Registration sections */
.registration-section {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    padding: 10px 60px 10px 60px; /* Added padding */
}

    .registration-section a {
        color: #fff;
    }

.bg-black {
    background-color: #000;
    color: #fff;
}

.bg-dark-grey {
    background-color: #121212;
    color: #fff;
}

.bg-black {
    background-color: #000;
    color: #fff;
}



h1 {
    font-family: "Raleway", sans-serif;
    color: #fff;
    font-size: 65px;
    font-weight: 500;
    line-height: 80px;
    font-optical-sizing: auto;
    letter-spacing: 0.0025em;
}

@media (max-width: 992px) { /* Adjust for small screens */
    h1 {
        font-size: 40px;
        line-height: 45px;
        letter-spacing: 0.01em;
    }
}



.container-styled {
    font-family: "Raleway", sans-serif;
    background-color: #000;
    /*    margin-bottom: 20px;
    border-bottom: solid 4px #ffd700;*/
}

.tee-confirmation {
    background-color: #212529;
    border: solid 1px #000;
    border-radius: 3px;
    padding: 10px;
}



.row-yellow-divider {
    border-bottom: solid 4px #ffd700;
    margin-left: 20%;
    margin-right: 20%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-container {
    font-weight: 400;
    font-style: normal;
    width: 95%;
}

    .footer-container a {
        color: #fff;
        text-decoration: none;
    }


.footer-header {
    padding-top: 20px;
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: italic;
    font-size: 3em;
    font-weight: bold;
}

.bg-light-grey {
    background-color: #121212;
    border: solid 1px #ffd700;
    /*border-bottom: solid 1px #ffd700;*/
}

.yellow-text {
    color: #ffd700;
}

input [type="text"].form-control, input[type="email"].form-control {
    color: #000;
    /*border: solid 1px #aaaaaa;*/
    /*border-radius: 0;*/
    border-radius: var(--bs-border-radius);
    padding: .575rem .75rem;
    margin-top: 2px;
    margin-bottom: 2px;
}

input [type="select"] {
    font-size: 7em;
}


/* ASP.NET non jQuery validation styling */
.field-validation-error {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

.input-validation-error {
    border-color: red;
    outline-color: red;
}

.input-validation-valid {
    border-color: green;
    outline-color: green;
}

.validation-summary-errors {
    color: red;
    font-weight: bold;
    font-size: 16px;
}

.validation-summary-valid span {
    display: none;
}





.bsb-btn-xl {
    --bs-btn-padding-y: 0.625rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-font-size: calc(1.26rem + 0.12vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-xl {
        --bs-btn-font-size: 1.35rem
    }
}

.bsb-btn-2xl {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: calc(1.27rem + 0.24vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-2xl {
        --bs-btn-font-size: 1.45rem
    }
}

.bsb-btn-3xl {
    --bs-btn-padding-y: 0.875rem;
    --bs-btn-padding-x: 1.75rem;
    --bs-btn-font-size: calc(1.28rem + 0.36vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-3xl {
        --bs-btn-font-size: 1.55rem
    }
}

.bsb-btn-4xl {
    --bs-btn-padding-y: 1rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-font-size: calc(1.29rem + 0.48vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-4xl {
        --bs-btn-font-size: 1.65rem
    }
}

.bsb-btn-5xl {
    --bs-btn-padding-y: 1.125rem;
    --bs-btn-padding-x: 2.25rem;
    --bs-btn-font-size: calc(1.3rem + 0.6vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-5xl {
        --bs-btn-font-size: 1.75rem
    }
}

.form-control {
    border-radius: 0.175em;
}

.date-picker {
    width:150px;
}

.phone-input {
    width: 150px;
}


.bsb-sidebar {
    background-image: url('/assets/img/golf-bag.png'); /* Replace with your background image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 85%; /* Ensure it takes the full height of the containing div */
    max-height: 85%; /* Prevents it from growing larger than the containing div */
    overflow: hidden; /* Prevent overflow if content exceeds the container */
    border-radius: 15px; /* Adjust corner radius as desired */
}


.yellow-border-top {
    border-top: solid 1px #ffd700;
}

.breadcrumbs {
    border-bottom: solid 2px #ffd700;
}

.accordion-header {
    background-color: #f8f9fa; /* Example: Light gray */
    font-size: 1.5rem; /* Larger font size for headers */
    color: #000;
}

.accordion-button {
    background-color: #f8f9fa; /* Example: Light gray */
    color: #000; /* Set text color */
    font-weight: normal;
}

.accordion-button.collapsed {
    color: #6c757d; /* Text color for collapsed headers */
    font-weight: normal;
}

.accordion-button:not(.collapsed) {
    color: #000; /* Text color when the accordion is expanded */
    background-color: #e9ecef; /* Example: Slightly darker gray when expanded */
    font-weight: bolder;
}


/*#sharedTomSelect {
    display: none;*/ /* Hidden by default */
    /*z-index: 1000;*/ /* Ensure it appears above other elements */
    /*background-color: white;
    border: 1px solid #ccc;
}*/

.display-input {
    cursor: pointer;
    user-select: none;
    width: 100%; /* Ensure input stretches across the cell */
    min-height: 2rem; /* Match the height of the Tom Select dropdown */
}

/*#sharedTomSelect .ts-dropdown {
    display: none;*/ /* Hidden by default */
/*}

#sharedTomSelect.open .ts-dropdown {
    display: block;*/ /* Show when open */
/*}*/



/*.ts-dropdown {
    display: block !important;*/ /* Ensure dropdown is visible */
    /*z-index: 1000;*/ /* Ensure dropdown appears above other elements */
    /*position: absolute;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}*/


#sharedTomSelectWrapper {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it appears above other elements */
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 500px; /* Fill the table cell */
    position: absolute;
}

.table-inputs {
    min-height: 40px;
}

.table-inputs-fourball {
    min-height: 85px;
}

.content-wrapper {
    max-width: 800px;
    margin: auto;
}

.content-wrapper-full {
    max-width: 100%;
    margin: auto;
}

.scores-wrapper {
    max-width: 100%;
}

.player-name-table td {
    height: 43px;
    position: relative;
}

@media print {
    .content-wrapper {
        max-width: 100%;
        padding: 0px;
        margin: 0px;
    }

    .container {
        margin: 0px;
        max-width: 100%;
        padding: 0px;
        width: 100%;
    }
}


.game-contact-info {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    color: #000;
}

.game {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    color: #000;
}


.game-result {
    width: 100%;
    font-weight: bold;
    font-size: 1.3em;
    padding: 5px;
    padding-left: 60px;
    padding-top: 10px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

@media (min-width: 768px) {

    .game-result-away {
        padding-left: 77px;
    }
}

    .game-player-number {
    color: #6c757d;
}


/*.game-result {
    width: 100%;
    padding: 5px;
    font-weight: bold;
    font-size: 1.3em;
    padding: 5px;
    padding-top:10px;
    padding-left: 25px;
}

.game-result-right {
    width: 100%;
    padding: 5px;
    font-weight: bold;
    font-size: 1.3em;
    padding: 5px;
    padding-top: 10px;
    padding-right: 60px;
}*/

.win {
    /*background-color: #ffeb3b;*/
}

.player h5 {
    margin-bottom: 0.05em;
}



.split-box {
    display: flex;
    width: 100px;
    border: 1px solid #444;
    height: 40px;
}

/* Individual boxes */
.box {
    flex: 1;
    text-align: center;
    padding: 5px;
    border-right: 1px solid #444; /* Divider line */
}

    /* Remove divider from last box */
    .box:last-child {
        border-right: none;
    }

/* Ensure visibility in print */
@media print {
    .split-box,
    .box {
        border: 1px solid #fff !important; /* Ensures print visibility */
    }

    .game {
        page-break-inside: avoid; /* Avoid breaking inside this element */
    }

}


@media (max-width: 576px) {

    .player h5 {
        margin-bottom: 0.05em;
        font-size: 1.2em;
    }

    h5.winner {
        background-color: none;
        color: #ffd700;
    }
}


.score-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.score-box {
    width: 14.5rem;
    height: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccc;
    border-radius: 6px;
    margin: 0 10px;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    margin:20px;
}

    .score-box .badge {
        position: absolute;
        top: -10px;
        background-color: #6c757d;
    }

.winner {
    border-color: gold;
    background-color: #ffeb3b;
}

.winner-sm {
    color: #000;
    padding: 8px;
    background-color: #ffeb3b;
    border: solid 1px #444;
    border-radius: 5px;
}


/*#home-team-score, #away-team-score {
    font-size: xx-large;
}*/


.subheading-yellow {
    border-bottom: solid 1px #ffd700;
    margin-bottom: 20px;
}

.yellow-border-bottom {
    border-bottom: solid 1px #ffd700;
}


.yellow-message-box {
    border: solid 1px #ffd700;
    border-radius: 8px;
    padding: 15px;
    margin: 5px;
    margin-top: 25px;
    margin-bottom: 10px;
}



    .game-header {
        font-weight: bold;
        margin-bottom: 10px;
        /*background-color: #fefefe;*/
        border-bottom: solid 1px #ddd;
    }

    .player {
        display: flex;
        align-items: center;
        min-width: 200px;
    }

        .player img {
            margin-right: 8px;
        }

    .players {
        gap: 20px; /* Adjust the spacing between the two players */
    }

    .player-name-badge {
        font-weight: bold;
        background-color: #aaaaaa;
        min-width: 220px;
        display: inline-block;
    }

    .teetimeinput {
        border: solid 2px #000;
    }







@media print {

    @page {
        size: A4 portrait;
        margin: 5mm; /* Reduce default margins to fit more content */
    }

    /* General body adjustments */
    body {
        font-size: 10pt;
        line-height: 1.1;
        color: #000;
    }


    /* Hide non-essential elements */
    .navbar, .splash-banner, .game-contact-info, footer, .btn, .d-print-none {
        display: none !important;
    }

    /* Remove background colors */
    body, .content-section, .content-wrapper-full {
        background: #fff !important;
        color: #000 !important;
    }

    /* Remove borders and extra spacing */
    .border, .rounded {
        border: none !important;
    }

    /* Compact match listing */
    .game-score {
        padding: 5px 0;
        margin-bottom: 2px !important;
        border-bottom: 1px solid #ccc !important;
    }

    /* Adjust player info layout */
    .player {
        display: inline-block;
        width: 48%;
        text-align: left;
    }

    /* Reduce font sizes */
    h2, h3, h4, h5, h6, p {
        font-size: 12px !important;
        margin: 2px 0 !important;
    }

    /* Keep only score inputs */
    .game-result {
        font-weight: bold;
    }

    /* Ensure score input fields remain visible */
    .d-print-inline-block {
        display: inline-block !important;
    }
}




