﻿html, body {
   height:100%;
}

body {
    background-color: white;
    color: black;
    max-width: 100vw !important;
}
    .container.event-container {
        margin-bottom: 30px;
        border-right: 1px solid silver;
        padding-right:0;
        overflow-x:hidden !important;
    }

#home-link{
    margin-left:7px
}
.cup-link {
    cursor: pointer;
    height:25px;
}
.cup-link img{
    height: 25px;
}


.alert-banner {
    color: var(--banner-text);
    background-color: var(--banner-color);
    border-color: var(--banner-border);
}

.theme-label{
    color:var(--dark);
}

.clickable {
    cursor: pointer;
}

i.fa.fa-home.nav-link {
    font-size: 18px !important;
    margin-right: 8px
}
    i.fa.fa-home.nav-link:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }
.dropdown:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

tabcontent{
   /* min-width:400px;*/
}

body {
    background-color: white;
    color: var(--dark);
}

option {
    font-size: 16px;
    line-height: 2;
}

h1 {
    color: var(--dark);
    margin-top: 8px;
    margin-bottom: 8px;
}

.Poster {
    position: relative;
    height: 550px;
    width: 300px;
    background-color: transparent;
    overflow: hidden;
    margin-right: 25px;
    margin-bottom: 15px;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-box {
    float: right;
    line-height: 15px;
    padding: 5px 5px;
    display: block;
    position: fixed;
    top: 0px;
    right: 20px;
    height: 45px;
    width: 325px !important;
}
.form-check-input{
    border-color: var(--dark);
}
.form-check-label{
    white-space: nowrap;
    overflow: hidden;
}
.form-check-input:checked {
    background-color: var(--dark);
    border-color: var(--dark);
    box-shadow:none !important
}
.bg-dark {
    background-color: var(--dark) !important;
}

.navbar {
    height: 50px;
    padding-top: 0;
    padding-bottom: 0
}

.navbar-toggler {
    color: white;
}

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: 0 0 0 0;
    }

.form-control:focus {
    color: black;
    background-color: #fff;
    border-color: #595959;
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #595959;
}
.form-select:focus {
    color: black;
    background-color: #fff;
    border-color: #595959;
    outline: none !important;
    box-shadow: none !important;
}
.form-check:focus {
    color: black;
    background-color: #fff;
    border-color: #595959;
    outline: none !important;
    box-shadow: none !important;
}
.form-switch .form-check-input:focus {
    border-color: var(--dark);
    color: var(--dark);
    box-shadow: none !important;
}
.form-control-sm {
    border-radius: .25rem;
    border: 1px solid #595959;
}
    .form-control-sm:focus {
        border: 1px solid #595959 !important;
        border-color:#595959 !important;
    }

.sort-header {
    cursor: pointer;
}

.table-header {
    background-color: var(--header);
    color: white;
}

.carousel-item {
    min-height: 400px;
    padding: 10px
}

.carousel-item-long {
    overflow-y: auto
}

.logout-item {
    min-width: 300px;
    color: var(--dark);
}

    .logout-item:hover {
        color: var(--hover);
    }


.nav-link {
    color: white !important;
    font-size: 16px;
    padding: .25rem;
}

    .nav-link:hover {
        color: silver !important
    }

    .nav-link:active {
        color: var(--primary);
    }

.nav .hor-link {
    margin-right: 10px;
}

    .nav .hor-link a:after {
        content: "|";
        position: absolute;
        top: 13.3333px;
        margin-left: 12px;
        color: white !important;
    }

    .nav .hor-link a:hover:after {
        color: silver !important;
    }

    .nav .hor-link:last-child a:after {
        content: "";
    }

.navbar-nav li:not(.hidden):last-child {
    content: "";
}

.dropdown-menu {
    background-color: var(--dark);
    border-color: white;
}
.dropdown-menu .nav-item .nav-link {
    color: var(--dark);
}

    .dropdown-menu .nav-item .nav-link:hover {
        color: var(--hover);
    }

.dropdown-toggle {
    font-size: 13.333px;
    color: white !important;
}

    .dropdown-toggle:hover {
        color: silver !important
    }

a.dropdown-toggle {
    text-decoration: none
}

.ind-game {
    margin-right: 6px;
}
.btn-image {
    margin-right: 5px;
    border-color: var(--dark) !important;
    background-color: var(--primary) !important;
}
.btn-image.active {
    border-color: var(--dark) !important;
    color: white !important;
    background-color: var(--dark) !important;
}
.btn:active, btn:focus, btn:target, btn:active:focus,
.btn.active,
.btn.active.focus,
.btn.active:focus {
    outline: none;
    background-color: white;
    color: var(--dark);
    box-shadow: none;
    border-color: white;
}

.btn-sm {
    font-size: 11px;
}

.btn-primary {
    color: #FFF;
    background-color: var(--dark);
    border-color: var(--dark);
}

    .btn-primary:hover {
        color: #FFF;
        background-color: var(--hover);
        border-color: var(--hover);
    }

    .btn-primary:active, .btn-primary:focus, .btn-primary:target, .btn-primary:active:focus {
        color: #FFF;
        outline: none;
        box-shadow: none;
        background-color: var(--dark);
        border-color: var(--hover);
    }

.btn-secondary {
    color: var(--dark);
    background-color: white;
    border-color: var(--dark);
}

    .btn-secondary:hover {
        color: var(--dark);
        background-color: var(--primary);
        border-color: var(--dark);
    }

    .btn-secondary:active, .btn-secondary:focus, .btn-secondary:target, .btn-secondary:active:focus {
        outline: none;
        box-shadow: none;
        color: var(--dark);
        background-color: white;
        border-color: var(--dark);
    }
.btn-sm-secondary {
    color: var(--dark);
    background-color: white;
    border-color: var(--dark);
    font-size: smaller;
    padding: 3px;
}

    .btn-sm-secondary:hover {
        color: white;
        background-color: var(--primary);
        border-color: var(--dark);
    }

    .btn-sm-secondary:active, .btn-sm-secondary:focus, .btn-sm-secondary:target, .btn-sm-secondary:active:focus {
        outline: none;
        box-shadow: none;
        color: var(--dark);
        background-color: white;
        border-color: var(--dark);
    }
.btn-danger {
    color: red;
    background-color: white;
    border-color: red;
}

    .btn-danger:hover {
        color: white;
        background-color: red;
        border-color: red;
    }

    .btn-danger:active, .btn-danger:focus, .btn-danger:target, .btn-danger:active:focus {
        outline: none;
        box-shadow: none;
        color: red;
        background-color: white;
        border-color: red;
    }

.page-title {
    display: block;
    font-size: 22px;
    font-weight: bold;
    line-height: 1em;
    height: 25px;
    text-wrap: none;
    white-space: nowrap
}

.tee-time {
    cursor: pointer;
    margin-right: 10px;
}

.btn[data-action=incrementMinutes] {
    border: none;
}

.btn[data-action=incrementHours] {
    border: none;
}

.btn[data-action=decrementHours] {
    border: none
}

.btn[data-action=decrementMinutes] {
    border: none
}

.btn[data-action=togglePeriod] {
    min-width: 30px !important;
    min-height: 30px !important;
}

.debug-load {
    display: none;
}

.loading-panel {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    align-content: center;
    text-align: center;
    margin-bottom: 25px
}

.cursor-pointer {
    cursor: pointer;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: var(--dark) !important;
    font-weight: normal;
    color: #fff;
}
.ui-tabs .ui-tabs-panel {
    display: block;
    border-width: 0;
    padding-left: 3px !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 5px !important;
    background: none;
}
.tab-content {
    width: 100%;
    max-width: 600px;
}

.header-description a {
    color: var(--dark);
}

.group-sep {
    margin-bottom: 10px;
}


.games-link-button {
    width: 110px;
    margin-right: 10px;
    height: 65px;
    line-height: 1;
    text-align: center;
    justify-content: center !important;
    position: relative;
    padding: 4px;
    color: var(--dark);
    background-color: white;
    border: 1px solid var(--dark);
    cursor: pointer;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 5px;
}

.nav-linkbutton-text {
    font-size: 11px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5px; /* Add some padding if needed */
    white-space: normal; /* Allow text to wrap */
    overflow: hidden; /* Hide any text that overflows */
}

.nav-linkbutton-icon {
    font-size: 18px;
  /*  margin-bottom: 3px;*/
}

.nav-linkbutton {
    min-width: 150px;
    margin-right: 10px;
   /* height: 35px;*/
    display: flex;
  
    justify-content: left !important;
    position: relative;
    padding: 0 3px;
    color: var(--dark);
    background-color: white;
    border: 1px solid var(--dark);
    cursor: pointer;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    max-width: 300px;
}
    .nav-linkbutton div:first-child {
        margin-right: 8px;
    }

.nav-linkbutton-sm{
    max-width:150px;
}

.full-height {
    height: calc(100vh);
    /*overflow: auto;*/
}

.full-width { 
    width: calc(100vw);
}

.hidden {
    display: none !important
}
.mini-container{
    max-width: 50% !important;
    min-width: 50% !important;
}

.alert-box{
    padding-left:15px;
    padding-top:3px;
    padding-bottom:3px;
    background-color:lightgoldenrodyellow;
    color:black;
}
.alert-info{
    color:black;
}
.alert-info a{
    color:black;
    text-decoration:none;
}
.notation {
    font-size: smaller;
}
.navbar > .container {
    background-color: var(--dark);
}
/*.container {
    overflow-y: auto;
    background-color: white;
}*/
.long-text {
    font-size: 9px !important;
}
.scoring-page {
    max-width: 600px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.feature-card-header {
    text-align: center;
}
.pagetitle {
    background: linear-gradient(180deg, var(--dark), var(--gradient-color));
    color: #fff;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    padding: 1rem 1rem;
    margin-bottom: 15px;
    box-shadow: 0 6px 18px rgba(43,114,185,.25);
}
.button-bar {
    gap: 1rem;
    width: 100%;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--brand-border, #e5e7eb);
    background-color: var( --event-toolbar-background);
    padding: 5px;
}

    .button-bar button {
        font-size: 12px;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding-left: 12px;
        background: var(--brand-primary, #22c55e);
        color: #fff;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        gap: 0.5rem;
        min-width: 150px;
    }

        .button-bar button i {
            font-size: 12px;
            margin-right: 5px;
        }
.profile-image {
    width: 25px;
    height: 25px;              /* ensure square */
    margin-right: 5px !important;
    border-radius: 50%;         /* makes it round */
    overflow: hidden;           /* crops image if it’s an <img> */
    object-fit: cover;          /* keeps image centered & filled */
    display: inline-block;      /* guarantees box model for shadow */
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.profile-image:hover {
    transform: scale(2.0);
    box-shadow: 0 0 0 2px var(--primary),
                0 4px 8px rgba(0,0,0,.35);  /* circular ring + soft shadow */
    filter: brightness(1.15);
    cursor: pointer;
}
@media only screen and (max-width: 500px) {
    .scoring-page{
        max-width:400px;
        margin-top:10px;
        margin-bottom:10px;
    }
    .hide-small {
        display: none !important;
    }
    .container.event-container {
        --bs-gutter-x: 0px !important;
    }
    .action-container{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
        margin-right:auto;
        margin-left:auto;
        width:360px;
    } 
    .action-container > .nav-linkbutton{
        margin-bottom:4px;
    }
    .mini-container{
        max-width: 80% !important;
        min-width: 80% !important;
    }
    .navbar-collapse.show {
        background-color: var(--dark);
        z-index: 10000;
        margin-left: -12px;
        padding-left: 10px;
        padding-bottom: 10px;
        width: 100%
    }

    .nav .hor-link a:after {
        content: none !important;
        position: absolute;
        top: 13.3333px;
        margin-left: 12px;
        color: white !important;
    }

    .nav-text a {
        font-size: 16px !important;
    }

    .nav-text {
        font-size: 16px !important
    }

    a.nav-link.logout-area.logout-item {
        margin-left: 8px;
    }

        a.nav-link.logout-area.logout-item:hover {
            color: black
        }

    table {
        max-width: 384px
    }

    .event-notes {
        max-width: 350px !important;
    }

    .btn {
        font-size: smaller;
        min-width: 60px;
    }

    body {
        min-width: 100vw;
        max-width: 100vw;
        font-size: .80em;
        overflow-x: hidden;
    }
    .main-container {
        height: 100vh;
        width: 100vw;
        overflow:hidden;
    }

    .event-notes {
        max-width: 350px !important;
    }

    .page-title {
        width: 325px;
        overflow: hidden;
        display: block;
        font-size: 22px;
        font-weight: bold;
        line-height: 1em;
        height: 25px;
        text-wrap: none;
        white-space: nowrap
    }
    .pagetitle {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 0.5rem 0.5rem;
        margin-bottom: 15px;
    }

    .nav-linkbutton-text {
        font-size: 8px;
        line-height: 1.5;
    }

    .tab-content {
        max-width:325px;
        min-width:250px;
    }

    .no-mobile{
        display:none !important;
    }

    .tabcontent {
        width: 80% !important;
    }
    .container {
     
        margin-left: 0px !important;
        margin-right: 0px !important;
        max-width: 100vw;
        padding-left: 0px !important;
        padding-right:0px !important;
     
    }
    .allgames-button{
        width:75px;
        font-size:8px;
        max-width:75px;
        min-width:75px;
    }
    .allgames-button-text{
        font-size:11px;
        margin-left:auto;
        margin-right:auto;
    }
    .nav-linkbutton-icon {
        margin-left: auto;
        margin-right: auto;
        font-size:11px;
    }
}
