html, body {
    margin: 0;
    overflow-x: hidden;
}

.wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

figcaption {
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    padding-top: 1rem;
}

.custom-ratio {
    position: relative;
    width: 100%;
}

.custom-ratio::before {
content: '';
display: flex;
padding-top: calc((16 / 9) * 100%);
}

.player-name {
    position: absolute;
    bottom: 0; /* Align at the bottom */
    width: 100%;
    text-align: center;
    z-index: 10; /* Ensure it's above any other content in the jersey container */
    color: #002040;
    font-weight: bold;
    font-size: 0.755rem;
    overflow: visible;
    white-space: nowrap;
    
}

@media print{
    .player-name {
        position: absolute;
        bottom: 0; /* Align at the bottom */
        width: 100%;
        text-align: center;
        z-index: 10; /* Ensure it's above any other content in the jersey container */
        color: #002040;
        font-weight: bold;
        font-size: 10pt !important;
        overflow: visible;
        white-space: nowrap;
        
    }
}

#jersey_1, #jersey_2, #jersey_3, #jersey_4, #jersey_5, #jersey_6, #jersey_7, #jersey_8, #jersey_9, #jersey_10, #jersey_11, #jersey_12, #jersey_13, #jersey_14, #jersey_15, #jersey_16, #jersey_17, #jersey_18, #jersey_19, #jersey_20, #jersey_21, #jersey_22 {  
    position: relative; /* This makes the absolute positioning of .player-name relative to the jersey container */
}

#rosterimage {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}

#announcementLink,
#announcementDelay,
#submitSuccessContainer {
    display: none;
}

#sizeContainer {
    display: none;
}

/*table > tbody > tr > td {
    font-size: 11px !important;
    font-weight: 500;
}*/

table:not(.not-small) > tbody > tr > td {
    font-size: 11px !important;
    font-weight: 500;
}
table:not(.not-small) > thead > tr > th {
    font-size: 12px !important;
    font-weight: 600;
}
table > tbody > tr {
    vertical-align: middle;
}

table > thead > tr {
    vertical-align: middle;
}

table > thead > tr > td {
    font-size: 0.75rem;
}

#backToTopBtn {
    display: none;
    width: 100%;
    margin: 0;
    min-height: 54px;
    position: fixed;
    bottom: 0px;      
    left: 50%;
    transform: translateX(-50%);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    cursor: pointer;
    z-index: 2;
}

#navigation {
    padding: 1rem 2rem 1rem 2rem;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
 }

#logo {
    position:absolute;
    left: 50%;
    top: 0.8rem;
    width: 128px;
    height: 147px;
    margin-left: -64px;
    z-index: 5;
}

.eyeclick{
    position: absolute;
    top: 30%;
    right: 8%;
    cursor: pointer;
    color: lightgray;
}

.whitepulse {
    box-shadow: 0 0 0 0 rgb(255, 255, 255);
    animation: pulse-white 2.5s infinite;
}

@keyframes pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 163, 217, 0);
    }
}

.py-lg {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pb-lg {
    padding-bottom: 6rem;
}

.mb-xl {
    margin-bottom: 100px;
}

.bg-nav {
    background: -moz-linear-gradient(-45deg,  #d90000 0%, #a01e1e 25%, #002040 25%, #003366 100%);
    background: -webkit-linear-gradient(-45deg,  #d90000 0%,#a01e1e 25%, #002040 25%, #003366 100%);
    background: linear-gradient(135deg,  #d90000 0%, #a01e1e 25%, #002040 25%, #003366 100%);
}

#pagetitle {
    display: block;
    background: unset;
    padding-top: 120px;
    padding-bottom: 20px;
}

#pagetitle > h1 {
    padding-left: unset;
    text-align: center;
    color: #002040;
    margin-bottom: 0px;
}

.text-shadow {
    text-shadow: 0px 0px 6px rgba(0,0,0,0.79);
}

.footerphoto {
    max-width: 180px;
}
  
#formresponse {
    display: none;
}

.mobileheight {
    min-height: 240px;
}

/* Responsive */

@media (min-width: 576px) { 


    .mobileheight {
        min-height: 240px;
    }
    .footerphoto {
        max-width: 180px;
    }
    #pagetitle {
        display: block;
        background: unset;
        padding-top: 120px;
        padding-bottom: 20px;
    }
    #pagetitle > h1 {
        padding-left: unset;
        text-align: center;
        color: #002040;
        margin-bottom: 0px;
    }
    
}

@media (min-width: 768px) {

    .mobileheight {
        min-height: 300px;
    }
    #backToTopBtn {
        all: unset;
    }    
    #backToTopBtn {
        display: none;
        width: 100px;
        position: fixed;
        bottom: 20px;      
        right: 0px;
        border-bottom-left-radius: var(--bs-border-radius) !important;
        border-top-left-radius: var(--bs-border-radius) !important;
        cursor: pointer;
    }
    .footerphoto {
        max-width: 180px;
    }
    #pagetitle {
        display: block;
        background: unset;
        padding-top: 120px;
        padding-bottom: 20px;
    }
    #pagetitle > h1 {
        padding-left: unset;
        text-align: center;
        color: #002040;
        margin-bottom: 0px;
    }
   
}

@media (min-width: 992px) { 

    .mobileheight {
        min-height: unset;
    }
    #logo {
        position:absolute;
        left: 3rem;
        top: 0.5rem;
        width: 155px;
        height: 181px;
        margin-left: unset;
    }
    .footerphoto {
        max-width: 100%;
    }
    #pagetitle {
        display: flex;
        background: #003366;  
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;  
    }
    #pagetitle > h1 {
        padding-left: 250px;
        text-align: start;
        color: #ffffff;
        margin-bottom: 0px;
    }
    
}

@media (min-width: 1200px) { 

    .mobileheight {
        min-height: unset;
    }

    #logo {
        position:absolute;
        left: 3rem;
        top: 0.5rem;
        width: 155px;
        height: 181px;
        margin-left: unset;
    }
    .footerphoto {
        max-width: 100%;
    }
    #pagetitle {
        display: flex;
        background: #003366;  
        padding-top: 1rem;
        padding-bottom: 1rem;  
    }
    #pagetitle > h1 {
        padding-left: 250px;
        text-align: start;
        color: #ffffff;
        margin-bottom: 0px;
    }
   
}
