﻿/* tournament start*/
.modal-body {
    position: relative;
    padding: 15px;
    line-height: 1.6;
    font-size: 14px;
    font-family: Graphik-Regular,HelveticaNeue-Light,sans-serif;
}

.white2 {
    background: #f7f9ff;
    padding: 0 0 20px;
}

#tournament-games #flex-box {
    margin-bottom: 20px;
}

#tournament .header {
    width: 100%;
    min-height: 150px;
    background-image: linear-gradient(to bottom, #002d5d, #00235b);
    padding: 25px 0 0 0;
    box-sizing: border-box;
}

    #tournament .header h1 {
        font-family: Graphik-Semibold,HelveticaNeue-Light,sans-serif;
        font-size: 28px;
        font-weight: 600;
        letter-spacing: -0.9px;
        text-align: left;
        color: #ffffff;
        margin: 0;
    }

    #tournament .header h3 {
        opacity: 0.5;
        font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
        font-size: 15px;
        letter-spacing: -0.5px;
        text-align: left;
        color: #ffffff;
        margin: 0;
        font-weight: 300;
    }

#tournament .breadcrumbs {
    padding: 20px 0;
    background-color: transparent;
    box-shadow: none;
}

    #tournament .breadcrumbs ul {
        margin: 0;
        padding: 0;
        display: block;
    }

        #tournament .breadcrumbs ul li {
            display: inline-block;
        }

            #tournament .breadcrumbs ul li a {
                color: #596C8B;
                margin: 0 5px 0 0;
                padding: 0;
                line-height: 20px;
                font-size: 12px;
                text-decoration: none;
                border: none;
            }

            #tournament .breadcrumbs ul li::after {
                content: "\e91f";
                font-family: 'baymavi' !important;
                speak: none;
                font-style: normal;
                font-weight: normal;
                font-variant: normal;
                text-transform: none;
                line-height: 1;
                color: #596C8B;
                margin: 5px 0;
                font-size: 16px;
                position: relative;
                top: 3px;
                margin-right: 5px;
            }

            #tournament .breadcrumbs ul li a:hover {
                text-decoration: underline;
                border: none;
            }

            #tournament .breadcrumbs ul li:last-child a {
                color: #4a90e2;
            }

            #tournament .breadcrumbs ul li:last-child:after {
                content: " ";
            }

.tournament-type {
    width: 100%;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 3px 10px 0 #d5ddf5;
    padding: 10px 25px;
    overflow: hidden;
    margin-top: 30px;
}

    .tournament-type h2 {
        line-height: 1.5;
    }

#tournament .tournaments-holder {
    width: 100%;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 3px 10px 0 #d5ddf5;
    margin: 20px auto;
    padding: 0;
    overflow: hidden;
}

.scroll--blue::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    padding-right: 20px;
}

.scroll--blue::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

.scroll--blue::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #4286FB;
}

    .scroll--blue::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.4);
    }

    .scroll--blue::-webkit-scrollbar-thumb:active {
        background: rgba(0, 0, 0, 0.9);
    }
/*Accordion*/
.accordion {
    position: relative;
    width: 100%;
    height: auto;
}

    .accordion > a {
        padding: 25px;
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid #ddd;
        -webkit-transition: all 0.2s linear;
        -moz-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

    .accordion:last-child > a {
        border: none;
    }

        .accordion:last-child > a.active {
            border: none;
        }

    .accordion > a.active {
        border-bottom: 1px solid #fff;
    }

    .accordion > a span {
        position: relative;
        float: right;
        color: #1a8eff;
        font-size: 36px;
        padding: 2px;
    }

    .accordion > a.active span {
        color: #e1e3e8;
    }

    .accordion .content {
        position: relative;
        width: 100%;
        height: auto;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
        display: none;
        padding: 0px 30px 30px;
        box-sizing: border-box;
        font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
    }

#tournament .buttons {
    margin: 0;
    justify-content: space-between;
    display: flex;
}

.accordion .btn, .accordion .btn2 {
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.4px;
    text-align: center;
    color: #ffffff;
    border-radius: 3px;
    background-color: #1a8eff;
    padding: 15px;
    display: inline-flex;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 100%;
    justify-content: center;
    margin: 0 10px 0 0;
    border: 2px solid #1a8eff;
    align-items: center;
    transition: all 0.25s ease;
}

.accordion .btn2 {
    color: #1a8eff;
    background-color: #fff;
}

    .accordion .btn2:hover {
        background-color: #1a8eff;
        color: #fff;
        transition: all 0.25s ease;
    }



    .accordion .btn:last-child, .accordion .btn2:last-child {
        margin: 0;
    }

.accordion .btn:hover {
    opacity: 0.8;
    transition: all 0.25s ease;
}

.accordion .content p {
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: -0.4px;
    text-align: left;
    color: #949494;
    font-weight: 100;
}

.accordion .content h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.4px;
    text-align: left;
    color: #000000;
    margin: 8px 0;
    font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
}

.accordion .prizes {
    border: solid 1px #d8d8d8;
    font-family: Graphik;
    font-size: 16px;
    font-weight: 500;
    line-height: 3.06;
    letter-spacing: -0.5px;
    text-align: right;
    color: #949494;
    height: 260px;
    overflow-y: auto;
}

.accordion .refresh {
    background: #d8d8d8;
    padding: 10px;
    color: #fff;
    position: relative;
    cursor: pointer;
    box-shadow: 0 -10px 30px #fff;
    transition: all 0.25s ease;
}

    .accordion .refresh:hover {
        background: #ccc;
        transition: all 0.25s ease;
    }

    .accordion .refresh img {
        position: absolute;
        right: 10px;
        top: 7px;
    }

.accordion .prizes ul {
    margin: 0;
    padding: 0;
}

    .accordion .prizes ul li {
        border-bottom: 1px solid #d8d8d8;
        list-style: none;
        font-family: Graphik-Semibold,HelveticaNeue-Light,sans-serif;
        padding: 0 15px;
        box-sizing: border-box;
        margin: 0;
    }

        .accordion .prizes ul li span {
            text-align: left;
            float: left;
        }

        .accordion .prizes ul li:last-child {
            border-bottom: none;
            list-style: none;
        }

.accordion .cover {
    max-width: 450px;
    width: 100%;
    overflow: hidden;
    max-height: 293px;
}

    .accordion .cover img {
        margin: 0;
        padding: 0;
        width: 100%;
    }

#tournament-games .rows {
    display: block;
    width: 100%;
}
/* Dropdown style */
.dropdown {
    margin: 0 auto;
    font-family: Graphik-Regular,HelveticaNeue-Light,sans-serif;
    border-radius: 4px;
    border: solid 2px rgba(232, 232, 232, 0.44);
    font-size: 14px;
    letter-spacing: -0.3px;
    padding: 5px;
    width: 350px;
}

    .dropdown dt a {
        display: block;
        height: 2.5em;
        width: 100%;
        border-radius: 3px;
        text-decoration: none;
    }

        .dropdown dt a:hover, .dropdown dt a:active {
            border-color: #bdc3c7;
        }

    .dropdown dt span {
        display: block;
        padding: 0 1em;
        line-height: 2.7em;
        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAYAAACALL/6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHo+AACAQQAA+MoAAIC0AAB48QAA9RwAADw3AAAbzhlfIT4AAACJSURBVHjajNAxCsJAEEbhb5cU4i0sbHIaL6IQTxFPo4VeROwXQs4gKW1cWJZEM90wj5l5f0jDeMXBunqENIw7vLD9A09oIxL6FdsvSCENI2zwxH4BTmgxxeJc92P76cuIpRBuc6K45yZWwzPeleixBOLMr30tWgJZuqwcQJNFy2GzkHeHUMPwGQChFSPmzlJ1WgAAAABJRU5ErkJggg==) no-repeat scroll right center;
        border-right: 1em solid transparent;
        cursor: pointer;
    }

        .dropdown dt span div {
            font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
            margin-right: 10px;
            display: inline-block;
        }

    .dropdown dd {
        position: relative;
    }

        .dropdown dd ul {
            display: none;
            position: absolute;
            left: -7px;
            top: 0px;
            width: 100%;
            list-style: none;
            background: #fff none repeat scroll 0 0;
            margin: 0;
            padding: 0 5px;
            border: solid 2px rgba(232, 232, 232, 0.44);
            border-top: none;
            box-sizing: content-box;
            margin-left: 0px;
        }

        .dropdown dd li a {
            display: block;
            padding: 2px 6px 0 14px;
            line-height: 2.5em;
            text-decoration: none;
            border-bottom: solid 1px rgba(232, 232, 232, 0.44);
        }

        .dropdown dd li div {
            font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
            margin-right: 10px;
            display: inline-block;
        }

        .dropdown dd li a:hover {
            background-color: #1a8eff;
            color: #fff;
            cursor: pointer;
        }

.selected {
    background-color: #f7f9ff;
}

#winners {
    background: #fafafa;
    margin: 0 0 30px 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    letter-spacing: -0.5px;
    text-align: left;
    color: #2e303b;
    font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
    font-size: 14px;
    max-height: 260px;
    overflow-x: hidden;
    box-sizing: border-box;
    overflow-y: auto;
    min-height: 260px;
}

    #winners ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        width: 100%;
        box-sizing: border-box;
        align-self: start;
        padding: 6px 0 0 35px;
    }

        #winners ul li {
            list-style: none;
            border-bottom: 2px solid rgba(237, 234, 234, 0.32);
            padding: 6px 0 14px 0;
            width: 95%;
        }

            #winners ul li .number {
                width: 50px;
                display: inline-block;
            }

            #winners ul li .name {
                width: 50%;
                max-width: 200px;
                display: inline-block;
            }

            #winners ul li .score {
                display: inline-block;
            }

.resultHistory {
    background: #fafafa;
    padding: 20px 40px 20px 10px;
    box-sizing: border-box;
}
/*dropdown finish*/
.grider, .grider-2 {
    display: block;
    width: 100%;
}

.col-1 {
    width: calc(37.5% - 40px);
    float: left;
    margin-right: 40px;
}

.col-2 {
    width: calc(25% - 40px);
    float: left;
    margin-right: 40px;
}

.col-3 {
    width: calc(37.5%);
    float: left;
}

.grider .col-3 {
    align-self: center;
    min-height: 42px;
}

.gridHistory {
    display: block;
    padding: 20px;
    box-sizing: border-box;
}

    .gridHistory .left {
        width: 50%;
        float: left;
        padding: 11px 0;
    }

    .gridHistory .right {
        width: 350px;
        float: right;
        display: block;
    }

    .gridHistory .col-2 {
        justify-self: end;
    }

@media (max-width: 1100px) {
    .counter {
        zoom: 0.8;
    }
}

@media (max-width: 980px) {
    .content .col-1 {
        width: calc(50% - 40px);
    }

    .content .col-2 {
        width: calc(50%);
        margin-right: 0;
    }

    .accordion .prizes {
        max-height: 244px;
        overflow-y: auto;
    }

    .content .col-3 {
        width: calc(100%);
    }
}

@media (max-width: 620px) {
    .gridHistory .right {
        width: 100%;
    }

    .gridHistory .left {
        width: 100%;
    }

    .accordion .cover {
        width: 100% !important;
        height: auto !important;
        margin: 0;
        max-height: 340px;
        max-width: none !important;
    }

    .content .col-1 {
        width: calc(100%);
        margin: 0 0 20px 0;
    }

    .content .col-2 {
        width: calc(100%);
        margin: 0 0 20px 0;
    }

    .content .col-3 {
        width: calc(100%);
        margin: 0;
    }

    a .col-1 {
        width: calc(100%);
        margin: 0 0 10px 0;
    }

    a .col-2 {
        width: calc(100%);
        margin: 0;
    }

    a .col-3 {
        width: calc(100%);
        margin: 0;
    }

    .accordion > a span {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 30px;
    }

    .accordion .content {
        padding: 0px 20px 20px;
    }

    .accordion > a {
        padding: 20px;
        padding-right: 60px;
    }

    #tournament-games .row {
        grid-template-columns: repeat(4,calc(23%));
    }
}

@media (max-width: 720px) {
    .accordion .cover {
        max-width: 380px;
    }

    .accordion .prizes {
        max-height: 243px;
    }

    .counter .expire {
        display: none;
    }
}

@media (max-width: 412px) {
    .accordion .cover {
        max-width: 372px;
    }
}

@media (max-width: 375px) {
    .accordion .cover {
        max-width: 335px;
    }
}

@media (max-width: 320px) {
    .accordion .cover {
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    .resultHistory {
        padding: 20px 20px 20px 0;
    }

    #winners ul {
        grid-template-columns: 1fr;
    }

    .gridHistory {
        grid-template-columns: 1fr;
    }

        .gridHistory .col-1, .gridHistory .col-2 {
            padding: 20px 25px;
            align-self: center;
        }

        .gridHistory .col-2 {
            justify-self: center;
            margin: 0;
            margin-bottom: 20px;
            padding: 0;
        }
}

.accordion h1, .gridHistory h1 {
    font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.6px;
    text-align: left;
    color: #000000;
    margin: 0;
}

.accordion h3 {
    opacity: 0.5;
    font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.5px;
    text-align: left;
    color: #9b9ea6;
    margin: 3px 0 0 0;
}

.counter {
    font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #757575;
    float: left;
    margin-top: 16px;
    white-space: nowrap;
}

    .counter dk {
        border-radius: 4px;
        background-color: #f9f9f9;
        border: solid 1px #e4e4e4;
        padding: 8px;
        font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        color: #248cff;
        margin: 5px 5px 5px 0;
    }

        .counter dk:first-child {
            margin-left: 0 !important;
            padding-left: 0 !important;
        }

    .counter .expire {
        position: absolute;
        top: 15px;
        font-size: 12px;
        opacity: 0.5;
    }

.finished {
    color: #e1e3e8;
    font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
    font-size: 20px;
}

.started {
    color: #1a8eff;
    font-family: Graphik-Medium,HelveticaNeue-Light,sans-serif;
    font-size: 20px;
    opacity: 0.8;
}

.flowspinner {
    width: 100px;
    position: relative;
    height: 200px;
    margin: 0 auto;
    margin-top: 50px;
}

    .flowspinner:after {
        position: absolute;
        width: 50px;
        height: 50px;
        border-left: 5px solid #1a8eff;
        border-right: 5px solid #1a8eff;
        border-top: 5px solid transparent;
        border-left: 5px solid transparent;
        border-radius: 9999px;
        content: '';
        left: 0px;
        background: transparent;
        bottom: 0px;
        top: 0px;
        right: 0;
        margin: auto;
        -webkit-animation: spinme 400ms linear infinite;
        animation: spinme 400ms linear infinite;
    }

@-webkit-keyframes spinme {
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes spinme {
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@media (max-width: 420px) {
    .dropdown {
        zoom: 0.8;
    }
}

.owl-dots {
    margin-top: -74px;
    text-align: center;
}

.owl-dot {
    display: inline-block;
}

    .owl-dot span {
        background: none repeat scroll 0 0 #fff;
        border-radius: 20px;
        display: block;
        height: 12px;
        margin: 6px;
        opacity: 0.9;
        width: 12px;
    }

    .owl-dot.active span {
        background: none repeat scroll 0 0 #408eff;
    }
