/* Imports */
@import url("/assets/css/m-color.css"); /* Color */
@import url("/assets/css/m-sclass.css"); /* Classes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Elements */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  
    font-family: "Inter", sans-serif;
}
body {
    background-color: var(--background-std);
}
hr {
    border: 1px solid #ccc;
    background-color: #ccc;
}
td.scores {
  text-align: center;
}
table.tablesorter tbody tr.normal-row td {
  background: #F1EFEA;
}
table.tablesorter tbody tr.alt-row td {
  background: #ffffff;
}

.container {
    margin: 0 auto;
    max-width: 1700px;
}
.container.mw1200 {
    max-width: 1200px;
}
.container.mw800 {
    max-width: 800px;
}
.root {
    min-height: 67.5vh;
}

/* Disable Link Hover */
a.disableHover:hover::before {
    visibility: hidden;
}

/* Alert Box */
.alert {
    margin: 0.375rem auto;
    padding: 0;
    overflow: hidden;
    font-weight: 500;
    border-radius: 5px;
    padding: 0.5rem;
    text-align: center;
}   
.alert.grey {
    color: var(--grey-tone);
    background-color: var(--grey);
    border: 1px solid var(--border-std);
}
.alert.red {
    color: var(--red-tone);
    background-color: var(--red);
    border: 1px solid #d4b8ba;
}
.alert.gold {
    color: var(--gold-tone);
    background-color: var(--gold);
    border: 1px solid #c9c097;
}

/* Loading Spinner */
.contentLoading {
    text-align: center;
    font-weight: 500;
}
.contentLoading[data-hideBehindContent="true"] {
    background: hsl(0deg 0% 100% / 90%);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 255;
}
.loadSpinner {
    width: 40px;
    height: 40px;
    margin: 0px auto;
    background-color: #333;
  
    border-radius: 100%;  
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}
@-webkit-keyframes sk-scaleout {
    0% { -webkit-transform: scale(0) }
    100% {
      -webkit-transform: scale(1.0);
      opacity: 0;
    }
}
@keyframes sk-scaleout {
    0% { 
      -webkit-transform: scale(0);
      transform: scale(0);
    } 100% {
      -webkit-transform: scale(1.0);
      transform: scale(1.0);
      opacity: 0;
    }
}

/* Form: Input Field */
.inputForm {
    background-color: var(--background-std);
    border: 1px solid var(--border-std);
    padding: 1rem;
    cursor: text;
    transition: var(--transition);
    font-weight: 600;
    border-radius: var(--border-radius);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Disables custom browser appearence */
    appearance: none;
}
.inputForm:hover,
.inputForm:focus {
    background-color: var(--green);
    border: 1px solid var(--green-tone);
    color: white;
}
.inputForm:hover::placeholder,
.inputForm:focus::placeholder {
    color: white;
    opacity: 100%;
}
.inputForm.error {
    background-color: var(--red);
    border: 1px solid var(--red-tone);
    transition: var(--transition);
}

/* Form: Select */
.selectform {
    min-width: 16ch;
    padding: 0.938rem;
    cursor: pointer;
    border: 1px solid var(--border-std);
    color: black;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: var(--transition);
    font-weight: 600;
    background: url("/assets/img/form/dropdownBlack.svg") no-repeat right var(--grey);
    background-size: .75rem;
    background-position-x: 95%;
    border-radius: var(--border-radius);
    /* Disables custom browser appearence */
    appearance: none;
  }
.selectform:hover {
    border: 1px solid var(--green-tone);
    color: white;
    background: url("/assets/img/form/dropdownWhite.svg") no-repeat right var(--green);
    background-size: .75rem;
    background-position-x: 95%;
}
.selectform option {
    background-color: white;
    color: black;
}
.selectform:focus {
    background: url("/assets/img/form/dropdownWhite_open.svg") no-repeat right var(--green);
    background-size: .75rem;
    background-position-x: 95%;
    color: white;
}

.selectform.removeIcon {
    background: var(--grey);
  }
.selectform.removeIcon:hover, .selectform.removeIcon:focus {
    background: var(--green);
}
/* Form: Button */
.button {
    background-color: var(--background-std);
    color: black;
    cursor: pointer;
    border: 1px solid var(--border-std);
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    width: fit-content;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.button:hover, .button.active {
    background-color: var(--green);
    border: 1px solid var(--green-tone);
    color: white;
}
.button a {
    padding: 0.938rem;
    display: block;
}
.button.sm a, input.button.sm, button.sm {
    padding: var(--standard-margin)
}
input.button, button {
    padding: 0.938rem;
}

/* Grid Layout System */
.splitcontainer {
    display: flex;
}
.splitcontainer > div {
    flex: 50%;
}
/* at min width, flip our containers */
@media only screen and (max-width: 920px) {
    .splitcontainer {
        display: block; 
    }
    .mobilehide {
        display: none;
    }
}

/* ModalCore */
aside.modal {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--background-cover);
    display: none;
    justify-content: center;
    align-items: center;
}
aside.modal .modalBase {
    border: 2px solid var(--border-std);
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 20%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}
aside.modal .close {
    position: relative;
}
aside.modal .close span {
    position: absolute;
    right: -10px;
    top: -15px;
    transition: var(--transition);
    font-size: 2rem;
    padding: .25rem;
}
aside.modal .cbox .close span {
    right: 0px;
    top: -40px;
    color: white;
}
aside.modal .close span:hover, 
aside.modal .close span:focus {
    color: var(--green);
    cursor: pointer;
}
aside.modal .cbox .close span:hover,
aside.modal .cbox .close span:focus {
    color: black;
}

/* Header */
nav.head {
    background-color: var(--green);
    padding: 10px 25px;
    width: 100%;
}
nav.head ul {
  display: flex;
  align-items: center;
}
nav.head ul .navcore {
  margin-right: auto;
}
nav.head ul .navitems {
    gap: .75rem;
    display: flex;
}
nav.head ul li {
  list-style-type: none;
  font-size: 1.25rem;
  color: white;
  position: relative;
}
nav.head ul li:hover,
nav.foot .bottom ul li:hover  {
    color: var(--border-std);
    transition: var(--transition);
}
nav.head ul .navcore button.mobilediv {
    display: none;
}
nav ul li.nav-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
nav ul li.nav-dropdown i {
    font-size: 1rem;
    padding-left: .313rem;
}
nav ul li.nav-dropdown ul {
    display: none;
    flex-direction: column;
    position: absolute;
    align-items: flex-start;
    z-index: 999;
    padding: .625rem;
    top: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-std);
    background-color: var(--background-std);
    box-shadow: 0px 0px 25px 0px rgb(0 0 0 / 20%);
    gap: .5rem;
    width: max-content;
    max-width: 150px;
}
nav ul li.nav-dropdown ul li a {
    color: black;
    font-size: 1.2rem;
}
nav.head ul li:hover > ul.nav-dropdown,
nav.head ul li:focus-within > ul.nav-dropdown,
nav.head ul li ul.nav-dropdown:hover {
  display: flex;
}
@media only screen and (max-width: 920px) {
    nav ul,
    nav.head ul .navitems {
        flex-direction: column;
        align-items: center;
    }
    nav.head ul .navcore {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    nav.head ul .navcore button.mobilediv {
        display: block;
        position: absolute;
        font-size: 1.875rem;
        padding: 1rem;
        appearance: none;
        background: none;
        border: none;
        color: white;
        right: 25px;
        cursor: pointer;
    }
    nav.head ul .navitems li.navlink {
        padding: 0.25rem;
        display: none;
    }
    nav ul li.nav-dropdown {
        display: block;
    }
    nav ul li.nav-dropdown ul {
        display: flex;
        align-items: center;
        position: relative;
        border: unset;
        background-color: unset;
        box-shadow: unset;
        width: 100%;
        max-width: unset;
        top: 0;
    } 
    nav ul li.nav-dropdown ul li a {
        color: white;
    }
}
/* Footer */
nav.foot {
    background-color: var(--green);
    padding: 10px 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 50vh 0 50vh var(--green);
}
nav.foot > div, nav.foot div ul, nav.foot > hr {
    max-width: 1700px;
    align-items: center;
    display: flex;
    width: 100%;
    color: white;
    gap: .75rem;
    font-size: 1.1rem;
}
nav.foot .top {
    justify-content: space-between;
}
nav.foot hr {
    border: 1px solid var(--green-tone);
}
nav.foot .bottom ul {
    margin: var(--standard-margin);
    list-style-type: none;
    justify-content: center;
}
@media only screen and (max-width: 920px) {
    nav.foot .top {
        flex-direction: column;
        text-align: center;
        margin: var(--standard-margin);
    }
}

/* Container Box */
.cbox {
    border: 2px solid var(--border-std);
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin: 5px;
    overflow: hidden;
}
.cbox:hover {
    box-shadow: var(--box-shadow);
}
.cbox .top {
    background-color: var(--green);
    padding: var(--standard-margin);
}
.cbox .top h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}
.cbox .bottom {
    background-color: white;
    padding: var(--standard-margin);
    line-height: 1.5rem;
}
.cbox .cover {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: right;
    color: black;
    font-weight: bold;
}

/* Split Container Box */
.cbox.split {
    display: flex;
    flex-direction: row;
}
.cbox.split .left {
    background-color: var(--green);
    color: white;
    max-width: 400px;
    line-height: 1.5rem;
}
.cbox.split .right {
    flex: 1;
    color: black;
    text-align: center;
    background-color: white;
}
.cbox.split .left,
.cbox.split .right {
    padding: 1.25rem;
}
@media only screen and (max-width: 920px) {
    .cbox.split .left {
        display: none;
    }
}

/* Hero Box */
.herobox {
    border-radius: var(--border-radius);
    margin: var(--standard-margin);
    padding: 1rem;
    box-shadow: var(--box-shadow);
    align-items: center;
    background-color: var(--green);
    border: 2px solid var(--green-tone);
}

/* Login Modal */
aside.modal#modal_login .loginContainer {
    flex-direction: row;
    max-width: 1000px;
    margin: 1.25rem;
}
aside.modal#modal_login .left {
    background: var(--green);
    background: linear-gradient(180deg, rgba(60,140,70,1) 0%, rgba(46,105,53,1) 100%);
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
    max-width: 400px;
}
aside.modal#modal_login .right {
    background: white;
    color: black;
    text-align: center;
    width: 100%;
    padding: 1.25rem;
}
@media only screen and (max-width: 700px) {
    aside.modal#modal_login .loginContainer {
        border: none;
        border-radius: 0px;
        box-shadow: none;
        margin: 0px;
        height: 100%;
        flex-direction: column;
        background: var(--green-tone);
    }
    aside.modal#modal_login .left {
        max-width: none;
        width: 100%;
    }
    aside.modal#modal_login .left .viewportOptional {
        display: none;
    }
    aside.modal#modal_login .right {
        border-radius: 20px 20px 0 0;
        height: 100%;
        box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
    }
}

/* Lineup Stat */
.lineupStat {
    display: flex;
    flex-direction: row;
    gap: 0.625rem; 
}
.lineupStat .statBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.625rem;
    background-color: var(--background-std);
    border: 1px solid var(--border-std);
    border-radius: var(--border-radius);
    line-height: 1.5rem;
    transition: var(--transition);
}
.lineupStat .statBox .bottom {
    padding-top: 0.313rem;
    text-align: center;
}
.lineupStat .statBox:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.2);
}
.lineupStat .statBox .bottom a {
    font-weight: 500;
}
@media only screen and (max-width: 920px) {
    .herobox {
        display: flex;
        overflow: hidden;
        align-items: normal;
        flex-direction: column;
    }
    .herobox .lineupStat {
        overflow-x: scroll;
        margin: .313rem -0.938rem;
        justify-content: left !important;
    }
    .herobox .lineupStat .statBox {
        margin: var(--standard-margin) .313rem;
    }
}

/* Tabbed Selector */
.tabbedContainer ul {
    display: flex;
    gap: var(--standard-margin);
    justify-content: center;
}
.tabbedContainer li {
    display: inline;
}

/* Page: Standings */
table#standingsTable {
    position: relative;
}
#standingsTable thead tr {
    background-color: var(--background-std); 
    color:black;
}
#standingsTable thead tr th {
    border-bottom: 2px solid var(--border-std);
    cursor: pointer;
}

/* Page: Settings */
#settingspage.cbox .left {
    width: 25%;
}
#settingspage.cbox .left ul {
    list-style: none;
    display: block;
    padding-top: 1rem;
}
#settingspage.cbox .left ul li a {
    display: block;
    position: relative;
    padding: 0.188rem 0 1.875rem 3.75rem;
    color: var(--background-std);
    transition: var(--transition-fast);
}
#settingspage.cbox .left ul li a i {
    top: -1px;
    left: 15px;
    position: absolute;
    display: block;
    font-size: 2rem;
    transition: var(--transition-fast);
}
#settingspage.cbox .left ul li a.active,
#settingspage.cbox .left ul li a.active i {
    color: white;
    font-weight: 600;
}
#settingspage.cbox .left ul li a:hover,
#settingspage.cbox .left ul li a:active,
#settingspage.cbox .left ul li a:hover i,
#settingspage.cbox .left ul li a:active i {
    color: white;
}
#settingspage.cbox .right .heroelement {
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
}   
#settingspage.cbox .right .heroelement h2 {
    margin: var(--standard-margin);
    margin-top: 0;
}   
@media screen and (max-width: 920px) {
    #settingspage.cbox {
        flex-direction: column;
    }
    #settingspage.cbox .left,
    #settingspage.cbox .left ul {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    #settingspage.cbox .left ul {
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0.313rem;
    }
    #settingspage.cbox .left ul li a {
        padding: 0.063rem 0 0 3.5rem;
        white-space: nowrap;
    }
    #settingspage.cbox .left ul li a i {
        font-size: 1.813rem;
    }
    #settingspage.cbox .left,
    #settingspage.cbox .right {
        width: 100%;
        max-width: unset;
        padding: .5rem;
    }
}

