html {
    overflow: hidden;
    font-size: 16px;
}

body {
    user-select: none;
    font-family: Arial, Helvetica, sans-serif, Calibri;
}

.modal {
    text-align: center;
}

.modal:before {
    margin-right: -4px;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    margin: auto;
}

.modal-content {
    border-radius: 0px;
    border: 0;
}

.modal-footer {
    background-color: #f7f7f7;
}

.modal-footer .btn-primary {
    background-color: #0096da;
    border-color: #fff;
    color: #fff;
}

.modal-body {}

.modal-header {
    color: #fff;
    background-color: black;
    border-bottom: 1px groove #d07171;
}

.headerContent {
    width: 100%;
    margin: 0;
    padding: 0 15px 0 15px;
    font-size: 20px;
    color: white;
    padding-top: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    display: none;
}

.notificationContent {
    width: 100%;
    margin-top: -2px;
    padding: 0 15px 0 15px;
    font-size: 15px;
    padding-top: 5px;
    background-color: #f3f1f1;
    position: absolute;
    display: none;
    text-align: center;
    z-index: 2;
}

#notificationContent {
    display: inline-block;
}

.notificationButton {
    display: inline-block;
    margin-bottom: 5px;
}

.notificationButton a {
    background: grey;
    color: white;
}

.notficationButton a:hover {
    background: grey !important;
    color: white !important;
}

.game-controls {}

.game-controls span {
    cursor: pointer;
    font-size: 25px;
}

#leaderBoard {
    display: none;
    overflow: auto;
    background-image: linear-gradient(#02012f, #321b60);
    color: white !important;
    height: 100%;
    padding: 0;
    padding-bottom: 20%;
}

#tournament-content table {
    font-size: 13px;
}

#leader-board-body tr:nth-child(odd) {
    background-color: #282461;
}

#leader-board-body tr:nth-child(even) {
    background-color: #3b3771;
}

#leaderBoard td {
    color: white;
    /* border-top: 1px solid #565075; */
    border-top: none;
    padding: 10px;
    text-align: center;
}

#leaderBoard th {
    color: white;
}

#leader-board-body td {
    color: white;
}

#leaderBoard .gold-header {
    color: gold !important;
}

#leaderBoard h4 {
    margin: 0 !important;
}

.table-header td {
    padding: 15px 8px !important;
    /* padding-bottom: 20px; */
}

.completeMarginPadding {
    margin: 0 !important;
    padding: 0 !important;
}

#leaderboard-close {
    display: none;
    padding: 5px;
    font-size: 30px;
    margin: 0;
}

#termsContent {
    display: none;
    padding: 15px;
}

#termsbutton {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #251d4e;
    padding: 0 10px;
}

#leaderBoard ul {
    padding-inline-start: 20px !important;
}

.close-terms {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #251d4e;
    padding: 10px;
}

#leaderboard .btn {
    color: #fff !important;
    background: none;
    border: none;
}

.change-focus {
    background: white !important;
}

.change-focus td {
    color: #251d4e !important;
}

#close-info-desktop {
    display: none;
}

#close-info-mobile {
    display: none;
}

#index-1 {
    background-image: url(images/gold-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    line-height: 12px;
}

#index-2 {
    background-image: url(images/silver-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    line-height: 12px;
}

#index-3 {
    background-image: url(images/bronze-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    line-height: 12px;
}

td[id*='index'] {
    text-align: center;
}

#roundsToQualify {
    display: block;
}

#score {
    display: none;
}

#tournament-header {
    background-image: url("images/leaderboardbg.png");
    text-align: center;
    width: 100%;
    position: absolute;
    background-size: auto;
    background-repeat: round;
}

#tournament-header img {
    margin: 0 auto;
}

#tournament-prize {
    width: 292px;
    max-width: 100%;
}

#tournament-logo {
    width: 145px;
    max-width: 100%;
}

#tournament-text {
    width: 180px;
    max-width: 100%;
}

.rankClass {
    text-align: center;
}

.glyphicon-info-sign,
.glyphicon-remove-sign {
    font-size: 22px;
    padding-top: 10px;
    cursor: pointer;
}

.modal-open .modal {
    overflow-y: hidden;
}

.col-xs-8 img {
    margin: 0 auto;
}

#showMobile {
    display: none;
}

#standalone-score {
    display: none;
}

#score-header {
    display: none;
}

.score-class {
    border-bottom: 2px solid white;
    margin: 0;
    padding: 10px 8px;
    font-size: 12px;
}

#standalone-bet {
    display: none;
}

#iframe:not(:root):fullscreen::backdrop {
    position: unset !important;
    top: unset !important;
    right: unset !important;
    bottom: unset !important;
    left: unset !important;
    background: unset !important;
}

.modal-header {
    background-color: #1d2872;
}

.modal-body {
    color: #282461;
}

.modal-footer a {
    color: white;
    background-color: #1d2872;
}

.modal-footer {
    text-align: center;
}

.modal-dialog {
    /* max-width: 500px; */
}

.modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
}

#free-round {
    bottom: 0;
    position: fixed;
    width: 100%;
    text-align: center;
    background: #1d2872;
    color: white;
    display: none;
}

#free-round>span {
    margin: 10%;
}

#qualifying-games {
    display: none;
}

#qualifying-games img {
    max-width: 140px;
    margin: 1%;
}

@media screen and (min-width: 768px) {
    /* .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    } */
}


@media only screen and (orientation:portrait) {
    #notificationBar {
        bottom: 0 !important;
    }

    body[base="tournament"] .modal-dialog {
        /* bottom: 66%; */
        margin: 10px;
    }

    .glyphicon-info-sign,
    .glyphicon-remove-sign {
        font-size: 30px !important;
        padding: 5px;
        cursor: pointer;
    }

    /* .modal {
        top: 35%;
    } */
    #free-round>span {
        margin: 8%;
    }
}

@media only screen and (max-width:1200px) {

    .glyphicon-info-sign,
    .glyphicon-remove-sign {
        font-size: 1.4em;
        cursor: pointer;
    }

    #tournament-header .col-xs-2 {
        padding: 0;
    }
}

@media only screen and (orientation:portrait) and (min-width:768px) {
    body[base="tournament"] .modal-dialog {
        bottom: 0;
    }
}

@media only screen and (min-width:1367px) {
    #free-round>span {
        margin: 15%;
    }
}

@media only screen and (max-width: 1366px) {
    .score-class > div:first-of-type {
        padding-right: 0;
    }
}
