.footer {
    position: relative;
    margin-top: -150px; /* negative value of footer height */
    height: 150px;
    clear:both;
    padding-top:20px;
}

tr.odd {background-color: rgba(0, 0, 0, 0.05) !important;}

label.is-invalid {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.cpl-draft {
    background-color: #d400ff15;
}

label.required::after {
    content: ' *';
    color: red;
}

.bg-terran {
    background-color: #4470d7;
}

.bg-zerg {
    background-color: #cd2c2c;
}

.bg-protoss {
    background-color: #4d9f3f;
}

.bg-other {
    background-color: #9570c8;
}

.bg-coach {
    background-image: linear-gradient(to right, #ffe006ba, transparent)
}

.bg-win {
    background-color: #abcf9c;
}

.bg-loss {
    background-color: #d56e61;
}

.removable:hover {
    opacity: .5;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.3;
}

.cpl-blue {
    background-color: #061F48;
}

.cpl-grey {
    background-color: #BDC0C2;
}

p.error {
    color: red;
}

.dropdown-item:hover {
    background-image: none;
    background-color: #265093 !important;
}

.error-text {
    color: red;
}

.clear-view {
    background-color: rgba(255, 255, 255, 0.7);
}


th.winner {
    border: 2px solid #e3b818 !important;
}


.cpl-brand {
    position: relative;
    text-align: center;
    max-width: 222px;
    min-width: 222px;
}

.cpl-brand img {
    width: 222px;
    position: absolute;
    top: 0;
    left: 0;
}

.sidebar {
    width: 222px;
    min-width: 222px;
}

a.support-us,
a.support-us:visited {
    /* border color same as kofi logo circle */
    border: 2px solid #13c4ff;
    border-radius: 16px;

    background-color: #061f49;

    /* to prevent background colour bleeding over rounded border */
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;

    /* arbitrary padding values that seem to work alright in chrome... */
    padding-left: 0px;
    padding-bottom: 6px;
    padding-top: 3px;
    padding-right: 10px;

    /* similar effect to the .5 alpha used for top menu items, but .75 to stand out better in context */
    color: rgba(255,255,255,.75);
}

a.support-us:hover,
a.support-us:active {
    /* border and background color same as kofi logo circle */
    border: 1px solid #13c4ff;
    background-color: #13c4ff;

    text-decoration: none;
    color: black;
}

@media (max-width: 767px) {
    .cpl-brand {
        margin-right: 0;
        min-width: unset;
        max-width: unset;
    }
    .cpl-brand img {
        left: 50%;
        margin-left: -111px;
    }
    .navbar-toggler {
        position: absolute;
        top: 0;
        left: 0;
    }

    .navbar-scrollable {
        max-height: 50vh; 
        overflow-y: auto;
    }
}

/* Fixes the top pagination styling for CPL Ladder. */
#dataTable_wrapper .top {
    padding-top: 0.25rem;
}
#dataTable_wrapper .top #dataTable_paginate {
    padding-top: 0;
    margin-top: -0.12rem; /* needed to line up with 'search' label text */
}
/* Modifications for results tables, such as the preseason results table. */

/* There's a few classes that indicate what the result is. Some of them have overlap.

  .not-played means a result was either a draw or walkover.
  .has-winner means the match was actually played.

  .winner-none means the score was 0:0.
  .winner-left means the winning score was on the left player's side.
  .winner-right means the winning score was on the right player's side.
  .inactive-left means the inactive player in a walkover was on the left side.
  .inactive-right means the inactive player in a walkover was on the right side.

  .result-walkover means the match was a walkover win.
  .result-draw means the match was a draw (did not get played).
*/
#results_table tr.result-walkover.inactive-left .player-left,
#results_table tr.result-walkover.inactive-right .player-right {
    color: rgba(33, 37, 41, 0.5);
}
#results_table tr.result-draw .player {
    color: rgba(33, 37, 41, 0.5);
}
#results_table tr.has-winner.winner-left .player-left,
#results_table tr.has-winner.winner-right .player-right {
    background-color: #d1faca;
}


blockquote {
    margin: 0;
}
  
blockquote p {
    padding: 15px;
    background: #eee;
    border-radius: 5px;
}

.alert p:last-child {
    margin-bottom: 0;
}
.link-account-container {
    background: transparent;
    border-width: 5px;
    padding: 2em;
    border-radius: 2em;
}
.link-email-container {
    background-color: #eee;
    border-color: #eee;
}
.link-email-container label {
    margin-bottom: 0.25rem;
}
.link-email-container label + input {
    margin-bottom: 0.75rem;
}
.link-discord {
    background-color: #5764f7;
    border-color: #5764f7;
}
.link-discord:hover {
    background-color: #3e48de;
    border-color: #3e48de;
}

.light-grey {
    background-color: #cdd2d5;
}


.bootstrap-select div.dropdown-menu.show {
    max-height: 314px !important;
    overflow: hidden !important;
}

div .inner.show {
    overflow-y: hidden !important;
}

.bootstrap-select ul.dropdown-menu.inner.show {
    max-height: 260px !important;
    overflow-y: auto !important;
}

.member-name {
    font-size: 87.5%;
    color: #e83e8c;
    word-wrap: break-word;
}