﻿@charset "utf-8";
/* CSS Document */
.modal-dialog.how {
    max-width: 800px;
}

.modal-content.how {
    background: url(/event/assets/wbet/images/match-prediction/how-popup-base.png)no-repeat top center;
    background-size: 100% 100%;
    padding: 15px 30px 30px;
    border: none;
    min-height: 600px;
}

.how-title {
    padding: 17px 0 30px 60px;
}

button.close-x {
    background: none;
    padding: 0;
    border: 0;
    color: #fff;
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 16px;
    z-index: 2;
}

.texting-wrap {
    display: grid;
    grid-template-columns: 42% 58%;
    font-size: 17px;
    padding: 11px 10px;
}

.ylw-text {
    color: #f9de52;
    font-weight: 600;
}

.text-sm {
    color: #6d89b8;
    font-size: 13px;
    font-weight: 400;
}

.text-1 {
    padding: 12px 10px;
}

.table-wrap {
    margin-bottom: 10px;
}

table.rw-table tr td {
    text-align: center;
    background: rgb(0,0,0,0.5);
    border: 1px solid #1c4992;
    padding: 5px 3px;
    width: 33%;
}

table.rw-table tr.top td {
    color: #f9de52;
    font-weight: 600;
}

.modal-dialog.rules {
    max-width: 850px;
}

.modal-content.rules {
    background: url("/event/assets/wbet/images/match-prediction/rules-popup-base.png")no-repeat top center;
    background-size: 100% 100%;
    padding: 15px 30px 30px;
    border: none;
    min-height: 400px;
}

ul.terms {
    padding-left: 17px;
}

    ul.terms li {
        padding: 5px 0;
    }

.modal-content.history {
    background: url("/event/assets/wbet/images/match-prediction/history-popup-base.png")no-repeat top center;
    background-size: 100% 100%;
    padding: 15px 30px 30px;
    border: none;
    min-height: 500px;
}

.history-wrapper {
    overflow: auto;
    max-height: 375px;
}

table.rw-table.history tr td {
    width: auto;
    font-size: 14px;
}

table.rw-table.history tr:first-child td {
    padding: 10px 3px;
}

.bt-img {
    margin-left: 5px;
}

    .bt-img img {
        max-height: 23px;
    }

.gytext {
    color: #889ab7;
}

.history-wrapper::-webkit-scrollbar {
    width: 4px;
}

.history-wrapper::-webkit-scrollbar-track {
    background: #030f34;
    border-radius: 30px;
}

.history-wrapper::-webkit-scrollbar-thumb {
    background: #1f4898;
    border-radius: 30px;
}

    .history-wrapper::-webkit-scrollbar-thumb:hover {
        background: #3774de;
    }

@media(max-width: 767px) {
    .modal-content.how, .modal-content.rules, .modal-content.history {
        background: #0e1d4a url("/event/assets/wbet/images/match-prediction/bg-popup.png")no-repeat;
        background-size: cover;
        border: 2px solid #4485e5;
        border-radius: 0;
        padding: 15px 15px 15px;
        font-size: 14px;
        min-height: auto;
    }

    .how-title {
        text-align: center;
        padding: 5px 0 10px;
    }

    .texting-wrap {
        grid-template-columns: auto;
        grid-gap: 10px;
        font-size: 15px;
    }
}

@media(max-width: 480px) {
    table.rw-table.history tr td {
        font-size: 13px;
        padding: 3px 3px;
    }

    .bt-img img {
        max-height: 19px;
    }

    .gytext {
        display: block;
    }
}
