/**
    Main Bootstrap Overrides
 */
:root {
    --primary: #17A2B8;
    --sideBySiteMultiSelectColor: #17A2B8;
    --sideBySiteMultiSelectHeight: 200px;
    --sideBySiteMultiSelectSearchFocusColor: white;
    --sideBySiteMultiSelectSearchFocusBgColor: #1594a7;
    --sideBySiteMultiSelectBorderWidth: 2px;
}
form {
    margin: 0;
}
.table {
    color: white;
}
.btn-primary, .bg-primary {
    background-color: #17A2B8 !important;
    border-color: #17A2B8 !important;
    color: white !important;
}
.bg-primary-gradient-toright {
    background: rgb(23,162,184);
    background: linear-gradient(270deg, rgba(23,162,184,1) 0%, rgba(43,82,88,1) 100%);
}
.bg-primary-gradient-toleft {
    background: rgb(23,162,184);
    background: linear-gradient(90deg, rgba(23,162,184,1) 0%, rgba(43,82,88,1) 100%);
}
@keyframes animateoverlay {
    0%,25% {
        transform: translateY(-150%);
        width: 50%;
    }
    50% {
        transform: translateY(0);
        width: 50%;
    }
    100% {
        width: 100%;
    }
}
@keyframes animateoverlay__playerside-content {
    0%,75% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}
.animated-overlay {
    margin: auto;
    animation: 1.5s ease-in-out 0s 1 animateoverlay;
}
.playerside-content {
    max-height: 68px;
}
.animated-overlay .playerside-content {
    animation: 2s ease-in-out 0s 1 animateoverlay__playerside-content;
}
.cursor-pointer {
    cursor: pointer;
}
.text-primary {
    color: #17A2B8 !important;
}
.border-primary {
    border-color: #2b626c !important;
}
.border-lightgrey {
    border-color: #638e92 !important;
}
.bg-lightdark {
    background-color: #5a5a5a;
}
.btn {
    padding: 1rem;
}
.btn:hover {
    text-decoration: none;
}
.btn-primary:hover,
.btn-info:hover {
    background-color: #1594a7 !important;
    color: white !important;
}
.btn-info, .bg-info {
    background-color: #cdcdcd;
    border-color: #cdcdcd;
    color: black;
}
.btn--wide {
    min-width: 22rem;
}
.btn--mobilewide {
    width: 100%;
}

a {
    color: #17A2B8 !important;
    text-decoration: none;
}
a:hover {
    color: #1594a7;
    text-decoration: underline;
}

table .btn {
    padding: 0.2rem;
}

.nomargin {
    margin: 0;
}
.nopadding {
    padding: 0;
}
.showviewtabmenu li {
    width: 100%;
}

/**
    Custom styling
 */
@font-face {
    font-family: "Arual";
    src: url("../webfonts/Arual.woff") format("woff"), /* Modern Browsers */
    url("../webfonts/Arual.woff2") format("woff2"); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "C800";
    src: url("../webfonts/C800.woff") format("woff"), /* Modern Browsers */
    url("../webfonts/C800.woff2") format("woff2"); /* Modern Browsers */
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 16px;
    color: black;
}
.align-right {
    text-align: right;
}
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/logos/rialdave_logo.png') no-repeat -300px -120px;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    opacity: 0.03;
    background-size: cover;
}
.btn--min-width {
    min-width: 160px;
}

.btn--small {
    padding: 0.3rem;
}

.tournamenttextareabutton[aria-expanded='true'],
.form-switch .form-check-input:checked {
    background-color: #17A2B8;
}

.container {
    margin-top: 2rem;
}

.userstatus {
    position: fixed;
    top: 0;
    right: 2rem;
    border-radius: 0 0 0.3rem 0.3rem;
    z-index: 1;
}

.userstatus a {
    display: inline-block;
    color: white;
    padding: 1rem;
}
.userstatus button {
    width: 100%;
}
.userstatus__popup {
    display: none;
}
.userstatus__trigger--open +.userstatus__popup {
    display: block;
}
.userstatus span {
    display: none;
}
.actions {
    text-align: right;
    min-width: 5rem;
}
.header a:hover {
    text-decoration: none;
}

.sitetitle {
    font-weight: bold;
    font-size: 1.2rem;
}

h2 {
    background: rgb(0,0,0);
    background: linear-gradient(312deg, rgba(0,0,0,0) 0%, rgba(29,118,131,0) 20%, rgba(23,162,184,1) 100%);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 0.3rem;
    font-size: 2rem;
}

h3 {
    margin-top: 2rem;
}

.cifont {
    font-family: 'Arual', sans-serif;
}
.boldfont {
    font-family: 'C800', sans-serif;
}

main {
    min-height: calc(100vh - 6.5rem);
}

footer {
    background: #eaeaea;
    font-size: 0.9rem;
    margin: 5rem 0 0;
    padding: 1rem 0;
}
footer > .container {
    position: relative;
    top: 0;
    left: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 95%;
}

.servicenav {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
}

.tournament-bracket {
    hyphens: auto;
}
.tournament-bracket__number {
    text-align: center;
    min-width: 3rem;
}
.tournament-bracket__content:after {
    margin: auto 0.5rem;
}
.tournament-bracket__list {
    padding: 0;
    margin: 0 1rem;
    border-right: 1px inset rgba(0, 0, 0, 0);
}
.tournament-bracket__match {
    background-color: #dcdcdc;
    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}
.tournament-bracket__match:hover {
    background-color: #b1b1b1;
    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
    text-decoration: none;
}
.matchupstandings {
    font-size: 2rem;
}
.overlayfont {
    font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif !important;
}
.contentoverlay {
    font-family: 'C800', sans-serif;
    color: #fff;
    text-shadow: 1px 1px 4px #000;
    font-size: 1rem;
    line-height: 1;
}
.contentoverlay .row {
    margin: 0;
}
.contentoverlay--margintop {
    margin-top: 130px;
}
.contentoverlay--caster {
    margin-top: 450px;
}
.contentoverlay h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-top: 3rem;
}
.contentoverlay h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

.contentoverlay .points {
    margin: 0;
    padding: 0;
    min-width: 80px;
    padding-top: 20px;
}
.round {
    width: 35px;
    height: 13px;
    background: #24616c;
    display: inline-block;
    box-shadow: 1px 1px 3px #292929;
    border: 1px solid #188798;
    border-radius: 2px;
}
.round--won {
    background: #17A2B8;
    box-shadow: inset 1px 1px 3px #292929;
    border: 1px solid #80acb3;
}
.rectangleend {
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
}
.rectangleend--right {
    right: -30px;
    border-top: 68px solid #17A2B8;
    border-right: 30px solid transparent;
}
.rectangleend--left {
    left: -30px;
    border-top: 68px solid #17A2B8;
    border-left: 30px solid transparent;
}
.tournament-bracket__round-title {
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px #000;
}
#overlay__loadouts img {
    max-width: 250px;
}
.overlay__characterimage {
    max-width: 600px;
}
.overlay__brbitem {
    display: none;
}
label,
legend {
    margin-top: 1rem;
    font-weight: bold;
    display: block;
}

.btn-arrow {
    text-decoration: none;
}
.btn--arrow:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f078";
    padding-right: 3px;
    font-weight: 900;
}
.btn--arrow[aria-expanded='true']:before {
    content: "\f077";
}
.btn--arrow:hover {
    text-decoration: none;
}

.c-winner a {
    text-decoration: underline;
}
.c-winner i {
    font-size: 2rem;
}
.c-winner__card {
    margin: 2rem 0.5rem;
    border-radius: 1rem;
}
.c-winner__card--place1 {
    background-color: #FFA500;
}
.c-winner__card--place2 {
    background-color: #D7D7D7;
}
.c-winner__card--place3 {
    background-color: #AD8A56;
}
i.fa-twitch:hover {
    color: #772ce8;
}
.c-cup svg {
    width: 50px;
    height: 50px;
}
.hover-primary,
.hover-lightgrey {
    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}
.hover-primary:hover {
    background-color: #17A2B8 !important;
}
.hover-lightgrey:hover {
    background-color: #d2d2d2 !important;
}
.challengeicons {
    font-size: 4rem;
}
.c-rules {
    width: 200px;
    height: 200px;
}

@media (min-width: 768px) {
    footer {
        padding: 1rem;
    }
    footer > .container {
        width: inherit;
    }
    .sitetitle {
        font-size: 3.5rem;
    }
    .bg-overlay {
        background-size: auto;
    }
    .text-right-sm {
        text-align: right;
    }
    .flex-row-reverse-sm {
        flex-direction: row-reverse!important;
    }
    .btn--mobilewide {
        width: 30%;
    }
    .wr-25 {
        width: 50%;
    }

    .c-winner {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .c-winner__card {
        width: calc(29vw - 2rem);
    }
    .c-winner__card--place1 {
        order: 1;
    }
    .c-winner__card--place2 {
        order: 0;
    }
    .c-winner__card--place3 {
        order: 2;
    }
    .c-cup svg {
        width: 100px;
        height: 100px;
    }
    .c-winner__card--place2,
    .c-winner__card--place3 {
        margin-top: 4rem;
    }
    .row--datetime select {
        flex: 1 0 0;
        margin: 0 1rem;
    }
    .showviewtabmenu li {
        width: inherit;
    }
    .tournament-bracket {
        hyphens: none;
    }
}
@media (min-width: 1024px) {
    .userstatus {
        min-width: 180px;
    }
    .userstatus span {
        display: inline-block;
    }
    .wr-25 {
        width: 25%;
    }
    .c-winner__card {
        width: calc(24vw - 2rem);
    }
    .standingscontainer {
        width: 68%;
        left: 12.5%;
    }
    .playerside {
        flex-basis: 45%;
    }
    .standingscontainer__metainfos {
        font-size: 0.8rem;
    }
    .roundstimer {
        flex-basis: 15%;
    }
    .fontsize__1-5 {
        font-size: 1.5rem;
    }
}