@font-face {
    font-family: 'Rowdies';
    font-style: normal;
    src: url('/fonts/Rowdies-Light-Elitesimulatoren.woff2') format('woff2'), url('/fonts/Rowdies-Light-Elitesimulatoren.ttf') format('truetype');
}

@font-face {
    font-family: 'Chivo Mono';
    font-style: normal;
    src: url('/fonts/ChivoMono-VariableFont-Elitesimulatoren.woff2') format('woff2'), url('/fonts/ChivoMono-VariableFont-Elitesimulatoren.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    src: url('/fonts/Montserrat-VariableFont-normal-Elitesimulatoren.woff2') format('woff2'), url('/fonts/Montserrat-VariableFont-normal-Elitesimulatoren.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    src: url('/fonts/Montserrat-VariableFont-italic-Elitesimulatoren.woff2') format('woff2'), url('/fonts/Montserrat-VariableFont-italic-Elitesimulatoren.ttf') format('truetype');
}

html {
  font-size: 14px;
}

.action-btn-link {
    font-size: 24px;
}

.play-btn {
    position: absolute;
    top: 15px;
    height: 22px;
    width: 22px;
}

.calc-icon {
    position: absolute;
    top: 10px;
    height: 18px;
    width: 19px;
}

.calc-match {
    font-size: 12px;
    position: relative;
}

.calc-match-list-and-button-container {
    width: 100%;
}

.sticky-stats-wrapper {
    margin: 0;
}

@media (min-width: 530px) {
    .calc-match-list-and-button-container {
        width: 530px;
    }
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .play-btn {
        position: absolute;
        top: 15px;
        height: 25px;
        width: 25px;
    }

    .action-btn-link {
        font-size: 26px;
    }

    .calculator-action-btn-link {
        font-size: 20px;
    }

    .calc-match {
        font-size: 14px;
    }
}

.svg-container {
    width: 100%;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    border-top: 1px solid #e5e5e5;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.navbar {
    background-color: #476F6B;
    padding: 0;
}

.navbar-brand {
    padding-bottom: 0;
    padding-top: 0;
    display: flex;
    align-items: center;
}

.navbar-header {
    margin-left: 14px;
    font-size: 28px;
    font-weight: 300;
    color: white;
    font-family: "Rowdies", sans-serif;
}

.action-btn-link {
    text-decoration: none;
    cursor: pointer;
    color: white;
    font-weight: 600;
    display: inline-block;
    padding: .3em .9em;
    border-radius: 60px;
    user-select: none;
}

.start-simulator-action-btn-link {
    background-image: linear-gradient(109deg, #663384 40%, #b168dc 50%, #663384 60%);
    background-color: #663384;
    background-size: 250% 100%;
    animation: Shine 1s ease-in-out forwards;
    animation-delay: .6s;
}

    .start-simulator-action-btn-link:hover {
        background-image: none;
        background-color: #5e2c7b;
        box-shadow: 0px 0px 3px 0px #43195cc7;
    }

    .start-simulator-action-btn-link:active {
        background-image: none;
        background-color: #5e2c7b;
        box-shadow: 0px 0px 1px 0px #43195cc7;
    }

@keyframes Shine {
    0%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.action-btn-link:hover, .action-btn-link:active, .action-btn-link:visited {
    color: white;
}

.calculator-action-btn-link {
    background-color: #046a9b;
    font-size: 18px;
}

.calculator-action-btn-link:hover {
    background-color: #04577f;
    box-shadow: 0px 0px 3px 0px #00354ec7;
}

.calculator-action-btn-link:active {
    background-color: #04577f;
    box-shadow: 0px 0px 1px 0px #00354ec7;
}

.lock-unlock-btn {
    border: none;
    background-color: transparent;
    position: absolute;
    right: 2px;
}

.lock-unlock-btn:disabled {
    cursor: unset;
    display: none;
}

img.team-logo {
    margin-bottom: 2px;
}

.colTeam img.team-logo {
    margin-right: 2px;
    margin-bottom: 2px;
}

.calc-match-team img.team-logo {
    margin-right: 2px;
    margin-left: 2px;
}

html {
    position: relative;
    min-height: 100%;
}

body {
  margin-bottom: 60px;
}

html, body {
    font-family: "Montserrat", sans-serif;
    background-color: #f1f1f1
}

.action-button-description {
    text-align: center;
    font-size: smaller;
    color: dimgray;
    width: 353px;
    margin: 0 auto;
    margin-top: 5px;
}

a, .btn-link {
    color: #006bb7;
}

.eeo {
    display: block;
    font-size: 10px;
    margin-top: -3px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wN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color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.match-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    width: 50%;
}

.select-btn {
    width: 48px;
    margin-right: 3px;
    border: 1px solid #8e8e8e;
}

.select-btn:hover {
    border-color: black;
}

.selected-gd {
    border: 1px solid black;
}

.select-btn:last-child {
    margin-right: 0;
}

.btn-percent-label {
    font-size: 11px;
    color: #2a2a2a;
    font-weight: 400;
}

.select-btn-hub {
    font-size: 16px;
}

.match-list-item {
    background-color: white;
    margin-bottom: .5em;
    padding: 8px 0px;
    display: flex;
    align-items: center;
}

    .match-list-item > * {
        display: inline-block;
    }

.match-buttons {
    width: 150px;
}

.match-team {
    width: calc((100% - 150px - 1.2em)/2);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.match-team-away {
    margin-left: .6em;
}

.match-team-home {
    text-align: right;
    margin-right: .6em;
}

.team-img {
    width: 26px;
}

.match-date {
    margin-top: 14px;
    color: rgb(29, 29, 29);
    font-weight: 300;
}

.top-banner {
    background-color: #cae5e2;
    padding: 1em .5em 1em 1em;
    z-index: 99;
}

.top-banner-wrapper {
    position: sticky;
    top: 0;
    box-shadow: #aaaaaa 0px 3px 3px;
    z-index: 99;
}

.calc-buttons-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

select {
    background-color: #ebf4f3;
    border: 1px solid aliceblue;
    cursor: pointer;
}

button {
    cursor: pointer;
}

.sticky-stats {
    position: sticky;
    top: 72px;
    margin-left: 12px;
    margin-top: 24px;
    padding: 12px;
    text-align: center;
}

rect {
    fill: #7ea5a1;
}

#main-success-percent {
    text-align: center;
    font-size: 60px;
    font-weight: 600;
    color: rgb(71, 111, 107);
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.sim-count-wrapper {
    font-size: 12px;
    color: #353535;
    display: flex;
    justify-content: space-between;
}

.sim-count-wrapper .mono {
    font-weight: 240;
}

.mono {
    font-family: "Chivo Mono", monospace;
}

.banner-header {
    margin-left: 14px;
    font-size: 30px;
    font-weight: 300;
    color: white;
    font-family: "Rowdies", sans-serif;
}

.more-simulations-btn {
    background-color: transparent;
    border: none;
    font-size: 12px;
    color: #5e5e5e;
    text-decoration: underline;
}

.more-simulations-btn:hover {
    color: rgb(16, 69, 64);
}

.more-simulations-btn:active {
    color: rgb(116, 150, 147);
}

line {
    stroke: #ddd;
}

.selected-results-header {
    font-size: 13px;
    font-weight: 500;
}

.selected-results-list {
    list-style: none;
    padding-left:2px;
    user-select: none;
}

.front-page-table {
    user-select: none;
}

.selected-results-container {
    font-size: 13px;
    width: 250px;
}

.selected-results-list li {
    padding-left: 2px;
    padding-right: 4px;
}

.selected-results-list li:hover {
    background-color: #dddddd;
}

.clear-selected-results-btn {
    padding: 0;
    background-color: transparent;
    border: none;
    text-decoration: underline;
    font-size: 12px;
    color: #5e5e5e;
}

.clear-selected-results-btn:hover {
    color: darkred;
    font-weight: 500;
}

.clear-selected-results-btn:active {
    color: #353535;
}

.remove-selected-result-btn {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    margin-left: 10px;
    font-size: 14px;
    line-height: 1;
}

.remove-selected-result-btn:hover {
    font-weight: 500;
    color: darkred;
}

.front-page-table a {
    color: rgb(0, 44, 40);
    display: inline-block;
    width: 100%;
    text-decoration: none;
    height: 29px;
    line-height: 29px;
}

    .front-page-table a:hover {
        text-decoration: underline;
    }

.front-page-table-team-name a {
    padding-right: 12px;
}

.left-border {
    border-left: 1px solid #c3c3c3;
}

.right-border {
    border-right: 1px solid #c3c3c3;
}

.front-page-table th {
    font-weight: normal;
}

.col-projection {
    width: 6em;
    text-align: right;
    text-align: center;
}

.front-page-table .mono {
    font-weight: 200;
}

td.front-page-table-table {
    color: rgb(94, 94, 94);
}

.smaller-text {
    font-size: smaller;
}

.small-text {
    font-size: small;
}

.h1-simulator {
    width: 480px;
    font-size: inherit;
    font-weight: normal;
}

@media (max-width: 500px) {
    .sticky-stats-wrapper {
        width: 100%;
    }
    .h1-simulator {
        width: 100%;
    }
}

.h1-simulator-text {
    font-weight: 500;
    color: rgb(25, 41, 36);
}

.front-page-h1 {
    color: rgb(42, 63, 61);
    font-weight: 500;
}

.front-page-table-table {
    padding-left: 5px;
    padding-right: 8px;
}

.table-col{
    width: 37px;
}

.table-last-update {
    margin-top: 1em;
    text-align: right;
    font-size: 12px;
    color: rgb(50, 50, 50);
}

.footer {
    background-color: rgb(71, 111, 107);
    color: #ececec;
}

.footer a {
    color: #ececec;
}

.footer a:hover, .footer a:active {
    color: #ddd;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #7ea5a1 #0000;
    animation: l16 1s infinite linear;
}

    .loader::before,
    .loader::after {
        content: "";
        grid-area: 1/1;
        margin: 2px;
        border: inherit;
        border-radius: 50%;
    }

    .loader::before {
        border-color: rgb(255, 120, 120) #0000;
        animation: inherit;
        animation-duration: .5s;
        animation-direction: reverse;
    }

    .loader::after {
        margin: 8px;
    }

@keyframes l16 {
    100% {
        transform: rotate(1turn)
    }
}
/* HTML: <div class="loader"></div> */

@media (max-width: 767px) {
    .front-page-table-table {
        display: none;
    }

    .calc-table-extended {
        display: none;
    }
}

#percent-chance-scroll {
    background-color: rgb(71, 111, 107);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    display: none;
}

@media (max-width: 991px) {
    .match-list {
        width: 100%;
    }

    .sticky-stats {
        position: inherit;
        margin-left: 0;
        margin-top: 20px;
        padding: 0px;
    }

    .sticky-stats-wrapper {
        margin: 0 auto;
    }

    #percent-chance-scroll {
        display: block;
    }

    #percent-chance-scroll.banner-percent-hidden {
        display: none;
    }
}

.front-page-table tbody tr {
    height: 32px;
}

.col-projection-body {
    border-top: 1px solid #bebebe7d;
    border-left: 1px solid #bebebe7d;
}

.calc-match {
    display: flex;
    align-items: center;
    background-color: white;
    margin-top: 3px;
    margin-bottom: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
    box-shadow: 0px 1px 1px 0px #00000010;
}

.calc-match-team {
    margin-top: 3px;
    width: calc(50% - 50px);
}

.calc-match-team:first-child {
    text-align: right;
}

.calc-score {
    margin: 0 .5em;
}

.calc-score > input {
    width: 2.5em;
    text-align: center;
    background-color: #d3f1ff;
}

.calc-score > input::-moz-selection,
.calc-score > input::selection {
    background-color: #046a9b;
    color: white;
}

.calc-match-locked .calc-score > input {
    background-color: #046a9b;
    color: white;
}

.calc-match-locked .calc-score > input::-moz-selection,
.calc-match-locked .calc-score > input::selection{
    background-color: white;
    color: black;
}

.calc-score input::-webkit-outer-spin-button,
.calc-score input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-score input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.calc-reset-button {
    background-color: transparent;
    border: 1px solid #00233396;
    font-size: 16px;
    color: #002333;
    border-radius: 18px;
    padding: 1px 8px;
}

.calc-reset-button:hover {
    color: rgb(16, 69, 64);
}

.calc-reset-button:active {
    color: rgb(116, 150, 147);
}

.calc-auto-button {
    background-color: #046a9b;
    border: none;
    font-size: 16px;
    color: white;
    border-radius: 18px;
    padding: 1px 8px;
}

.calc-auto-button:hover {
    background-color: #04577f;
    box-shadow: 0px 0px 3px 0px #00354ec7;
}

.calc-auto-button:active {
    background-color: #04577f;
    box-shadow: 0px 0px 1px 0px #00354ec7;
}

hr {
    border: none;
    height: 1px;
    color: #c4c4c4;
    background-color: #c4c4c4;
    margin-top: 1px;
    margin-bottom: 1px;
}

.calc-table tbody {
    background-color: white;
}

.calc-table tbody td:not(:first-child) {
    border-bottom: 1px solid #f1f1f1bf;
}


.calc-table td {
    text-align: center;
}

.calc-table td.colTeam {
    text-align: left;
}

.calc-table .mono {
    font-weight: 200;
    font-size: 15px;
    color: #464646;
}

.calc-table tbody .colPoints {
    color: black;
}

.calc-table thead {
    font-size: 15px;
    color: #464646;
}

.calc-table thead tr {
    border-bottom: 1px solid #9f9f9f;
}

.colColor {
    width: 5px;
}

.colRank {
    padding-left: 4px;
}

.colTeam {
    width: 190px;
    padding-left: 17px;
}

td.colPlayed {
    text-align: center;
}

td.colPlayed {
    min-width: 21px;
}

td.colWins {
    min-width: 43px;
    padding-left: 32px;
}

td.colDraws {
    min-width: 43px;
    padding-left: 12px;
}

td.colLosses {
    min-width: 43px;
}

td.colGoals {
    min-width: 43px;
    padding-left: 21px;
}

td.colGd {
    padding-left: 18px;
    text-align: right;
}

td.colPoints {
    padding-left: 18px;
    padding-right: 7px;
}

.relegation-row {
    background-color: #FBDFDF;
}

.relegation-row .colColor {
    background-color: #E65656;
}

.relegation-q-row {
    background-color: #FBF2F2;
}

.relegation-q-row .colColor {
    background-color: #E19A96;
}

.promotion-row {
    background-color: #e0ffe0;
}

.promotion-row .colColor {
    background-color: #54f054;
}

.promotion-q-row {
    background-color: #fffddd;
}

.promotion-q-row .colColor {
    background-color: #fe0;
}

.cl-row {
    background-color: #ebf3ff;
}

.cl-row .colColor {
    background-color: #5691ee;
}

.el-row {
    background-color: #FCF6D4;
}

.el-row .colColor {
    background-color: #EFA465;
}

.cf-row {
    background-color: #e0ffe0;
}

.cf-row .colColor {
    background-color: #54f054;
}

.strikethrough {
    text-decoration: line-through;
}