/*rezultatai start*/
#galvok-results .header {
    background-color: #ff0000;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: relative;
}
#galvok-results .header .logo {
    background-image: url("/pimg/2/galvok/cup3.png");
    width: 39px;
    height: 33px;
    background-size: cover;
}
#galvok-results .header .logo-block {
    position: absolute;
    left: 26px;
    top: 5px;
}
#galvok-results .header .game-name {
    font-size: 20px;
    line-height: 30px;
    color: #ffffff;
    text-align: center;
    padding: 7px 0;
    width: 95%;
}
#galvok-results table {
    width: 100%;
    border-collapse: collapse;
}
#galvok-results table .position {
    width: 10%;
}
#galvok-results table .user {
    text-align: left;
}
#galvok-results table .winner {
    display: inline;
    padding-left: 130px;
}
#galvok-results table .points {
    width: 23%;
}
#galvok-results table tr.first-row {
    background-color: #ff0000;
    font-size: 13px;
    line-height: 30px;
    color: #ffffff;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}
#galvok-results table tr.winner-row {
    background-color: #ffcaca;
}
#galvok-results table tr {
    background-color: #f7f7fe;
    border-bottom: 1px solid #ffffff;
}
#galvok-results table th {
    font-size: 13px;
    line-height: 30px;
    font-weight: 500;
}
#galvok-results .block {
    margin-bottom: 40px;
    cursor: default;
}
button.g-button {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    padding: 4px 15px;
    margin: 3px 15px;
    cursor: pointer;
    border-radius: 15px;
    font-weight: 600;
}
button.g-button:focus {
    outline: none !important
}
#galvok-results table .last-row input {
    line-height: 1.5;
}
#galvok-results table .last-row {
    background-color: #ff0000;
    color: #ffffff;
}
#galvok-results table .last-row th {
    font-weight: 600;
    padding-top: 1px;
    padding-bottom: 1px;
}
#galvok-results table .below-top-ten th {
    font-weight: 600;
}
#galvok-results .not-found {
    font-size: 13px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    margin-top: 5px;
}
#galvok-results .last-row th.user input {
    text-align: center;
    padding: 3px 0;
    border: none;
}
/*rezultatai end*/

/*rezultatai mobile start*/
@media screen and (max-width: 1024px) {
    #galvok-results{
        margin-left: 10px;
        margin-right: 10px;
    }

    #galvok-results table {
        margin-top: -4px;
    }

    #galvok-results .header {
        display: inline-flex;
        width: 100%;
    }

    #galvok-results .header .logo-block {
        left: unset;
        top: unset;
        display: inline-block;
        width: 24%;
        position: relative;
    }

    #galvok-results .header .logo {
        position: absolute;
        left: 1px;
        right: 0;
        margin: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    #galvok-results .header .game-name {
        display: inline-block;
        width: 50%;
    }

    #galvok-results table .position {
        width: 24%;
    }

    #galvok-results table .points {
        width: 26%;
    }
}

/*pagination start*/
.pag {
    display: inline-block;
    float: right;
    font-size: 14px;
}

.pag a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

.pag a.active {
    background-color: #ff0000;
    color: white;
}

.pag a.active:hover {
    color: white !important;
}

.pag a:hover:not(.active) {background-color: #f7f7fe;}
/*pagination end*/

@media screen and (max-width: 580px) {
    #galvok-results .last-row th.user {
        text-align: center;
        padding-top: 4px;
        padding-bottom: 3px;
    }
    #galvok-results .last-row th.user input {
        width: 90%;
        margin-bottom: 5px;
    }
    #galvok-results .last-row th.user button.g-button {
        width: 90%;
        margin: 0;
    }
    #galvok-results .last-row th.points {
        line-height: 20px;
    }
    .pag a {
        padding: 8px 11px;
    }
    .pag {
        height:70px;
        margin-top:-30px;
    }
}
/*rezultatai mobile end*/