
select, input, textarea {
    font-weight: 300;
}

body {
    overflow-y: scroll;
    overflow-x: hidden;
    --team-color-primary: #c0c0c0;
    --team-color-secondary: #505050;
    --team-color-light: #c0c0c0;
    --team-color-dark: #505050;
    --unique-color: #3F729B;
    --gold: gold;
}
/* Decreade all font sizes on mobile */
@media (max-width: 576px) {

    html {
        font-size: 80%;
    }

}
nav .navbar-text{
    margin-left:auto;
}

.page-footer {
}
.page-footer .spacer {
    height: 20rem;
    box-shadow: 0 0.8rem 0.8rem rgba(0,0,0,.10);
}
.page-footer .teutonic {
    height: 8rem;
    bottom:0;
    position:absolute;
    filter:contrast(0.7) brightness(1.5) grayscale(1);
}

.page-header {
    font-size: 4rem;
    color:white;
    font-weight:200;
}
.page-badge .badge {
    font-weight: 300;
    font-size: 3rem;
}
.page-badge b {
    font-weight: bold;
}

.header-badge {
    border-radius: 10rem;
    padding: 0.6rem 1.5rem;
    background: white;
    font-size: 3rem;
}

.team-badge {
    background-color: var(--team-color-primary) !important;;
    color: var(--team-color-secondary) !important;
    font-weight: normal;
    cursor: pointer;
    font-size: inherit;
}
.team-badge-light {
    opacity: 0.8;
}
.team-badge-light:hover {
    opacity: 1;
}

table.table a {
    color: #007bff;
}
table.table a:hover {
    color: #0056b3;
    text-decoration: underline;
}
table.table-xsm th,
table.table-xsm td {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.badge-high {
    font-size: 0.5em;
    position:relative;
    top:-1em;
    display:inline-block;
}

/* ################### colors */

.player-gradient {
    background: linear-gradient(40deg,#45cafc,#303f9f) !important;
}
.player-text {
    color:#3a84cd !important;
}
.team-gradient {
    background: linear-gradient(40deg,#2096ff,#05ffa3) !important;
}
.team-text {
    color:#12cbd0 !important;
}
.tournament-gradient {
    background: linear-gradient(40deg,#FFD86F,#FC6262) !important;
}
.tournament-text {
    color:#fd9c68 !important;
}
.match-gradient {
    background: linear-gradient(40deg,#ff6ec4,#7873f5) !important;
}
.match-text {
    color:#bb71dd !important;
}

/* ################### elements */

.card-shadow {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
}
.inline-flag {
    border-radius: 0.1em;
    box-shadow: 0.1em 0.1em 0.2em 0 rgba(0,0,0,.16);
    height: 1em;
    width: 1.33333em;
    margin-top:-0.15rem;
    margin-right:0.15rem;
    /*filter:sepia(0.1) opacity(0.9);*/
}
.elo-num {
    padding: 0.2rem 0.4rem 0.1em 0.4rem;
    border-radius: 0.2rem;
    color: #303030;
    font-weight:bold;
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.06);
}
.elo-num.dynamic {
    background-color: rgba(220, 220, 220, 0.7);
    color: #101010;
}

.only-padding-between > * > tr:first-of-type > td,
.only-padding-between > * > tr:first-of-type > th {
    padding-top: 0;
}
.only-padding-between > * > tr:last-of-type > td,
.only-padding-between > * > tr:last-of-type > th {
    padding-bottom: 0;
}
.only-padding-between > * > tr > th:first-of-type,
.only-padding-between > * > tr > td:first-of-type {
    padding-left: 0;
}
.only-padding-between > * > tr > th:last-of-type,
.only-padding-between > * > tr > td:last-of-type {
    padding-right: 0;
}

.todo-wrapper {
    display: flex !important;
    flex-direction: row;
    align-content: start;
    justify-content: stretch;
}
.todo-wrapper > * {
    margin: 1rem;
}
.todo-wrapper p {
    margin: 0;
}
.todo-wrapper .todo-icon {
    flex-grow: 0;
    font-size: 4rem;
    line-height: 4rem;
    margin-right: 0;
    display:flex;
    align-items: center;
    flex-wrap: wrap;
}
.todo-wrapper .todo-content {
    flex-grow: 1;
}

.oversized-something-anchor {
    text-align: center;
    height: 0;
    width: 0;
    position:relative;
    display:inline-block;
}

.oversized-something-anchor img,
.oversized-something-anchor .fas {
    position:absolute;
    bottom: -0.5rem;
    left: -2.5rem;
    height: 5rem;
}
.oversized-something-anchor img.border {
    border-width:0.1rem !important;
}
.oversized-something-anchor .fas {
    position:absolute;
    bottom: -0.5em;
    left: -0.5em;
}

.card-header h3,
.card-header h4,
.card-header h5 {
    margin: 0;
}

.observer-modified,
.observer-modified:focus {
    background-color: #ffeaae;
}

.container-limited {
    max-width: 120rem
}
.tournament-link:before {
}

@media (max-width: 576px) {
    .header-badge {
        font-size: 2rem;
    }
}
.icon-attachment {
    position: relative;
}
.icon-attachment > img {
    position: absolute;
    bottom: 0;
    right:0;
    height: 5rem;
}

/* ################### MDB fakes */

.mt-6, .my-6, .m-6 {
    margin-top: 4rem;
}
.mb-6, .my-6, .m-6 {
    margin-bottom: 4rem;
}
.ml-6, .mx-6, .m-6 {
    margin-left: 4rem;
}
.mr-6, .mx-6, .m-6 {
    margin-right: 4rem;
}
.mt-7, .my-7, .m-7 {
    margin-top: 5rem;
}
.mb-7, .my-7, .m-7 {
    margin-bottom: 5rem;
}
.ml-7, .mx-7, .m-7 {
    margin-left: 5rem;
}
.mr-7, .mx-7, .m-7 {
    margin-right: 5rem;
}
.font-weight-superlight {
    font-weight: 200;
}
.font-400 {
    font-size: 4rem;
}
.font-300 {
    font-size: 3rem;
}
.font-200 {
    font-size: 2rem;
}
.font-170 {
    font-size: 1.7rem;
}
.font-150 {
    font-size: 1.5rem;
}
.font-140 {
    font-size: 1.4rem;
}
.font-130 {
    font-size: 1.3rem;
}
.font-120 {
    font-size: 1.2rem;
}
.font-110 {
    font-size: 1.1rem;
}
.font-100 {
    font-size: 1.0rem;
}
.font-95 {
    font-size: 0.95rem;
}
.font-90 {
    font-size: 0.9rem;
}
.font-85 {
    font-size: 0.85rem;
}
.font-80 {
    font-size: 0.8rem;
}
.font-70 {
    font-size: 0.7rem;
}
.font-65 {
    font-size: 0.65rem;
}
.font-60 {
    font-size: 0.6rem;
}
.o-90 {
    opacity: 0.9;
}
.o-80 {
    opacity: 0.8;
}
.o-70 {
    opacity: 0.7;
}
.o-60 {
    opacity: 0.6;
}
.o-50 {
    opacity: 0.5;
}
.o-40 {
    opacity: 0.4;
}
.o-30 {
    opacity: 0.3;
}
.o-20 {
    opacity: 0.2;
}
.o-10 {
    opacity: 0.1;
}
.o-00 {
    opacity: 0.0;
}
.w-33 {
    width: 33.3333%;
}
.unique-color-text {
    color: var(--unique-color);
}

.card {
    font-weight:300;
}
.card .overlay.narrower {
    overflow:visible;
    margin:-1.25rem 4% 0 4%;
    -webkit-border-radius: .25rem;
    -moz-border-radius: .25rem;
    border-radius: .25rem;
    box-shadow:0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
}
.scrollable-menu {
     height: auto;
     max-height: 200px;
     overflow-x: hidden;
 }
.accordion .card {
    box-shadow: none;
}
.accordion .card-header {
    background:transparent;
}
.md-accordion .card .fa-angle-down {
    float:right;
}
.md-accordion .card .card-header a:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
}
.fas-img img {
    margin-top:-0.2em;
    height: 1em;
    width: 1em;
}

.rgba-light-blue {
    background: linear-gradient(40deg,rgba(69,202,252,.8),rgba(48,63,159,.8)) !important;
}