h1, h2, h3, h45 {
    line-height: normal;
}

html {
    height: 100vh
}

a:visited {
    color: black
}

body,ul,p,ol,td,select,textarea {
    font-family: "Century Gothic", "Open Sans", arial, sans-serif;
    font-size: 11pt
}

th {
    padding-left: 10px;
    padding-right: 10px
}

td {
    text-align: center;
    padding: 7px 5px 7px
}

body {
    background-color: #F0F0F0;
    /* removed teh below line on 16/6/2024 because it stops scrolling through player list. May need to be re-added */
    /*height: calc(100vh - 20px);*/
    margin: 10px
}

.align-right {
    text-align: right
}

.align-left {
    text-align: left
}

.align-top {
    vertical-align: top
}

input,button {
    font-family: "Century Gothic", "Open Sans", Arial, sans-serif
}

.list-line-odd {
    background-color: #E8E8E8
}

.list-line-even {
    background-color: #E0E0E0
}

.done-promotion {
    background-color: #e6e4e1
}

#columns {
    background-color: #909090
}

#main {
    margin: auto;
    width: fit-content;
    width: -moz-fit-content;
    min-height: calc(100vh - 250px);
    background-color: #F0F0F0;
    display: flex;
    flex-direction: column;

}

@media (min-width: 700px) {
    #main {
        min-width:600px;

        align-items: stretch;
    }
}

@media (max-width: 700px) {
    #main {
        width: auto;
        min-width:80%
    }
}

#footer {
    margin: 10px auto auto;
    width: fit-content;
    width: -moz-fit-content;
    font-size: small;
    padding: 10px
}

.centre-heading {
    text-align: center
}

.centre-message {
    text-align: center;
    margin: auto;
    max-width: 30%
}

.centre-table {
    text-align: center;
    margin: auto
}

.margin-auto {
    margin: auto
}

.edit_provider {
    display: inline
}

.top-row {
    width: 100%;
    display: inline-flex;
    margin-bottom: 20px
}

.provider-main {
    width: 45%;
    min-width: fit-content
}

.provider-ethe {
    width: 15em;
    margin-left: 10px
}

.collected-checkboxes {
    display: inline-flex
}

.address {
    margin-top: 20px
}

.Address-type {
    font-weight: bold;
    float: right
}

.row-odd {
    background-color: #E0E0E0
}

.row-odder {
    background-color: #E8E8E8
}

.row-even {
    background-color: #F0F0F0
}

#user_email {
    width: 25em
}

.inline {
    display: inline
}

.org-title {
    margin: auto;
    max-width: 900px;
    z-index: 200
}

.org-logo {
    max-width: 110px;
    max-height: 95px;
    margin-right: 10px;
    float: left
}

h1.org-name {
    display: inline;
    vertical-align: top
}

.bottom-right {
    display: block;
    vertical-align: baseline
}

.org-name {
    display: inline;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    margin-left: 35px;
    white-space: nowrap
}

.header-text-container {
    float: left;
    width: calc(100% - 120px);
    vertical-align: top
}

.email-role {
    display: inline-block;
    margin-left: 20px;
}

ul.nav {
    display: flex;
    padding-inline-start:0px;font-size: 0;
    margin: 1rem 0
}

li.nav {
    display: inline-block;
    color: white;
    padding: 2px;
    margin-right: -4px;
    font-weight: bold
}

li.nav:last-child {
    flex-grow: 1
}

.nav-item {
    display: table-cell;
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: large;
    transform-origin: left bottom;
    transform: skewX(-23deg);
    background-color: #2159A3;
    border: #FFFFFF;
    border-right: 1px solid;
    z-index: 3
}

div.nav-item:hover {
    background-color: #163b6b
}

.nav-end {
    top: 2px;
    display: block
}

.nav-row {
    position: relative
}

a.nav {
    display: inline-block;
    transform: skewX(23deg);
    transform-origin: left bottom;
    padding-right: 10px;
    padding-left: 10px;
    margin-left: 5px;
    margin-right: -9px;
    white-space: nowrap
}

a.subnav {
    font-size: medium
}

a.large-nav {
    display: block;
    transform: none;
    margin: 5px auto auto
}

a.nav:link {
    color: white;
    text-decoration: none
}

a.nav:visited {
    color: white;
    text-decoration: none
}

a.nav:hover {
    color: white;
    text-decoration: none;
    background-color: transparent
}

#org-head {
    width: 100%;
    height: 100%;
    position: relative
}

.large-nav-container {
    display: block;
    margin: auto
}

@media (min-width: 700px) {
    .large-nav-container {
        width:600px
    }
}

@media (max-width: 700px) {
    .large-nav-container {
        width:80%;
    }
}

@media (max-width: 700px) {
    #desktop-header {
        display: none;
    }
}

.large-nav-item {
    display: block;
    transform: none;
    text-align: center
}

div.large-nav-item:hover {
    background-color: #163b6b
}

.large-nav-section {
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1
}

.large-nav-header {
    display: block;
    height: 70px;
    transform: none;
    text-align: center;
    font-size: large;
    font-weight: bold
}

.table-option-container {
    display: table;
    text-align: center;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-collapse: collapse
}

.table-option-caption {
    display: table-caption;
    margin-bottom: 5px
}

.table-option-row {
    display: table-row;
    width: 100%
}

.table-option {
    display: table-cell;
    height: 30px;
    background-color: #2159A3;
    border-right: 1px #F7F7F7 solid;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px
}

div.table-option:hover {
    background-color: #163b6b
}

.flash {
    margin: auto;
    margin-bottom: 10px;
    margin-top: 10px;
    width: fit-content;
    z-index: -1;
    position: relative
}

.notice {
    font-weight: bold;
    font-size: large;
    color: #163b6b;
    max-width: 600px;
    text-align: center;
    z-index: 1
}

.fade-in-fade-out {
    animation: fadeinout 10s linear 1 forwards
}

.zero-opacity {
    opacity: 0
}

@keyframes fadeinout {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.table-form {
    display: table
}

.table-form-row {
    display: table-row
}

.table-form-cell {
    display: table-cell;
    padding: 5px
}

#cookie-message {
    text-align: center;
    font-size: smaller
}

.central-form-container {
    display: block;
    margin: 10% auto auto;
    width: 600px;
    text-align: center
}

.available-date_list {
    margin-top: 60px;
    text-align: left
}

.tooltip {
    position: relative;
    display: inline-block
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    width: max-content;
    bottom: 160%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    z-index: 1;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0;
    transition: opacity .6s
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent
}


/* --------------------------------------------------------------------- */



.tooltip .tooltiptextunder {
    visibility: hidden;
    width: fit-content;              /* adjust as needed */
    white-space: nowrap;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: 120%;                /* positions the tooltip below the trigger */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    overflow: visible;
}

/* Arrow pointing upward */
.tooltip .tooltiptextunder::before {
    content: " ";
    position: absolute;
    top: -5px;                /* positions arrow at the top of the tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    /* This creates a triangle where only the bottom border is colored,
       so the arrow points upward */
    border-color: transparent transparent #555 transparent;
    display: block;
    z-index: 2;
}

.tooltip:hover .tooltiptextunder {
    visibility: visible;
    opacity: 1;
}


/* --------------------------------------------------------------------- */




.w300 {
    width: 300px !important;
    margin-left: -150px !important
}

.w250 {
    width: 250px !important;
    margin-left: -125px !important
}



.smaller {
    font-size: smaller
}

.download-link {
    display: inline;
    float: right
}

.hidden-comment {
    display: none
}

.boxed {
    border: 1px solid darkslategrey;
    padding-top: 5px;
    padding-bottom: 5px
}

.bordered {
    border: 1px solid darkslategrey
}

table.bordered td {
    border: 1px solid darkslategrey
}

.large-text {
    font-size: large
}

.blue {
    color: blue
}

.border-space-zero {
    border-spacing: 0px
}

.data-cell {
    border-top: 1px solid grey;
    border-left: 1px solid grey;
    font-size: small
}

.border-right {
    border-right: 1px solid grey
}

.border-bottom {
    border-bottom: 1px solid grey
}

.left-border-thick {
    border-left: 2px solid black
}

.top-border-thick {
    border-top: 2px solid black
}

.right-border-thick {
    border-right: 2px solid grey
}

.low-margin {
    margin-top: 2px;
    margin-bottom: 2px
}

.bg-red {
    background: #e6b8b8
}

.bg-green {
    background: #cbedca
}

.bg-yellow {
    background: gold
}

.no-decoration {
    text-decoration: none
}

.width-600 {
    max-width: 600px
}

.pagination-links {
    display: inline;
    float: left
}

.pagination-links a {
    text-decoration: none
}

.squish {
    transform: scaleY(0);
    transition: transform 400ms ease 0ms
}

#squishable {
    overflow: hidden;
    height: auto;
    transition: height 400ms
}

#squishable.invisible {
    height: 0;
    transition: height 600ms
}

.nmt {
    max-height: 1em;
    transition: max-height 1s;
    overflow: hidden
}

.squished {
    max-height: 0
}

.fixtures-date {
    margin-right: 10px;
    min-width: max-content
}

.team {
    margin: 0 0 0 0
}

.rino {
    margin: 0 0 0 0;
    color: white
}

.drag-n-drop td {
    font-size: 10pt
}

.drag-n-drop p {
    font-size: 10pt
}

.drag-n-drop td,th {
    padding: 4px 2px 4px 2px
}

.font-11pt {
    font-size: 11pt
}

.details-missing {
    background: khaki
}

.float-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px
}

.float-left {
    float: left
}

.message-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0,0,0,0.4)
}

.message-content {
    background-color: #fefefe;
    margin: 25% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)
}

@media (max-width: 700px) {
    .message-content {
        width: 80%
    }
}

.message-content-fa {
    background-color: #fefefe;
    margin: 25% auto;
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
    min-width: 250px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)
}

.team-sheet-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center
}

.message-content-team-sheet {
    background-color: #fefefe;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)
}

.new-person-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0,0,0,0.4)
}

.new-person-content {
    background-color: #fefefe;
    margin: 25% auto;
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)
}

.postpone-content {
    background-color: #fefefe;
    margin: 25% auto;
    padding: 20px;
    border: 1px solid #888;
    display: inline-block;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)
}

#postpone-modal {
    text-align: center
}

#reason-list {
    display: none
}

.lotg-score-content {
    background-color: #fefefe;
    margin: 25% auto;
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)
}

#message-text {
    text-align: center
}

.modal-ok-button {
    color: #F0F0F0;
    margin: auto;
    width: 21%;
    min-width: fit-content;
    border-radius: 5px
}

#modal-ok-button:hover,#modal-ok-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer
}

#message-header {
    text-align: center
}

#ctxMenu {
    display: none;
    position: absolute;
    background: #2E2F30;
    padding: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)
}

.ctxmenu-link {
    color: white;
    font-size: small
}

a.ctxmenu-link:hover {
    text-decoration: none;
    color: white;
    background: inherit;
    cursor: pointer
}

.button-container {
    background: #2159A3;
    padding: 3px 7px 3px 7px;
    width: fit-content
}

.white-text {
    color: white;
    text-decoration: none
}

a.white-text:visited {
    color: white;
    text-decoration: none
}

.fadeable {
    opacity: 0;
    -webkit-transition: opacity 2s ease;
    -moz-transition: opacity 2s ease;
    -ms-transition: opacity 2s ease;
    -o-transition: opacity 2s ease;
    transition: opacity 2s ease
}

#scrollbar-steadier {
    max-width: 1900px;
    padding-left: calc(100vw - 100%)
}

@media (max-width: 700px) {
    #scrollbar-steadier {
        max-width: none; /* Remove the max-width constraint */
        padding-left: 0; /* Reset padding */
    }
}


.refsec-button {
    background-color: #2159A3;
    border-radius: 3px;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    width: fit-content
}

.refsec-button a {
    color: white;
    text-decoration: none;
}

.refsec-button.disabled {
    cursor: not-allowed;
    opacity: 30%
}

.refsec-button[disabled] {
    cursor: not-allowed;
    opacity: 30%
}


.refsec-button:not(.disabled):hover {
    cursor: pointer;
    background-color: #163b6b
}

.refsec-button:visited {
    color: white
}

.no-padding {
    padding: 0
}

table.ref-match-report td {
    padding: 1px 1px 1px 1px
}

table.club-reg td {
    padding: 2px 2px 2px 2px
}

.icon-container {
    min-width: 23px
}

.valign-top {
    vertical-align: top
}

.display-inline {
    display: inline
}

.no-permission-message {
    max-width: 50%;
    margin: auto
}

.display-none {
    display: none
}

.approved-true {
    background-image: url("/approved.png");
    background-size: 200px 113px;
    background-repeat: no-repeat;
    background-position: right bottom;
    min-height: 120px
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #000;
    animation-timing-function: cubic-bezier(0, 1, 1, 0)
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(24px, 0)
    }
}

.red-border {
    border: 2px solid red
}

.club-edit-header {
    text-align: right
}

.ripple {
    border: 2px red solid;
    padding: 10px;
    border-radius: 10%;
    animation: pulse 1s infinite
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(255,0,0,0.4)
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(255,0,0,0)
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(255,0,0,0)
    }
}

.lepton-logo {
    position: relative;
    width: 300px
}

tbody.anomaly {
    outline: solid #262832 2px;
    outline-radius: 0.4em;
    -moz-outline-radius: 0.4em;
    border-radius: 5px
}

tr.reported-late {
    border: solid 1px red
}

td.reported-late {
    border-top: solid 1px red;
    border-bottom: solid 1px red
}

table.smalltext td {
    font-size: 10pt;
    padding: 5px 3px 5px
}

.mediumtext {
    font-size: medium;
}

.bg-lightgrey {
    background-color: lightgrey
}

#extension-registered {
    display: none
}

.button-18 {
    position: fixed;
    bottom: 35px;
    left: calc(50vw - 100px);
    align-items: center;
    background-color: #0A66C2;
    border: 0;
    border-radius: 100px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: -apple-system, system-ui, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    justify-content: center;
    line-height: 20px;
    max-width: 480px;
    min-height: 60px;
    min-width: 200px;
    overflow: hidden;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    touch-action: manipulation;
    transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s,box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s,color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle
}

@media (min-width: 700px) {
    .photo-description {
        float:left;
        display: inline
    }
}

@media (max-width: 700px) {
    .photo-description {
        margin-bottom:30px
    }
}

@media (min-width: 700px) {
    .photo-upload {
        float:right;
        display: inline
    }
}

.visibility-hidden {
    visibility: hidden
}

.visibility-collapse {
    visibility: collapse
}

.display-flex {
    display: flex
}


.mobile-ref-match-report {
    width: 100%;
    margin-top: 10px;
}

td .mobile-ref-match-report {
    padding: 0;
}

.ref-confirmed {
    background-image: url("/images/confirmed.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.refsec-button .disabled {
    /* Your styles here */
    background-color: grey;
    pointer-events: none;
    opacity: 0.5;
}

.background-job-mfa {
    padding: 0 25px 0 25px;
}

.nowrap {
    white-space: nowrap;
}

.suspended {
    background-color: #f6adb2;
}