/* Top - Username and rank in navbar */
#game_place .card-header {
    padding: .5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}


#frm-avatar .row {
    margin-bottom: 5px;
    text-align: center;
}

#frm-avatar label {
    font-size: 10pt;
    width: 100%;
    display: flex;
    align-items: center;
    height: 30px;
}

.nav-profile-image {
    width: 38px;
    font-size: 29pt;
    line-height: 100%;
    display: inline-block;
}

.nav-profile-image svg {
    vertical-align: top;
}

.nav-profile-nick {
    display: inline-block;
    color: rgba(0,0,0,.55);
}

.nav-profile .progress {
    height: 2px;
}

.nav-profile .progress-bar {
    background-color: #bb0b22;
}

.nav-xp {
    color: #bb0b22;
    font-size: 8pt;
}

a:hover .nav-xp {
    color: #990b1b;
}

a:hover .progress-bar {
    background-color: #990b1b;
}

.nav-l {
    color: #7c7c7c
}

a:hover .nav-l {
    color: #444
}

#msie-exit {
    display:none;
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: rgba(22,22,22, 0.8);
    z-index: 99999;
}

.msie-card {
    margin-top: 100px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hidden {
    display: none;
}


.notpro-order {
    display: none;
}

.line-select {
    display: none;
}

/* Payment */
.comgate-logo img {
    height: 35px;
}

/* STATS */

.gold {
    color: gold;
}

.silver {
    color: silver;
}

.bronze {
    color: #cd7f32;
}


/* GAME controls */

.info {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    font-size: 13px;
    text-align: justify;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.info h2 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0px;
}

#game {
    padding: 0 0 0 0;
}

#fullscreen {
    display: none;
}

#start-league.players-ready {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

#start-league.players-ready:hover {
    color: #fff;
    background-color: #398439;
    border-color: #255625;
}

span.twitter-typeahead {
    max-width: 170px;
}

.twitter-typeahead a {
    display: block;
    padding: 0.3rem 0.8rem;
    text-decoration: none;
    color: #000;
}

.twitter-typeahead a:hover {
    background: #e9e9e9;
    text-decoration: none;
}

.twitter-typeahead a.tt-cursor {
    background: #dfe3ef;
    text-decoration: none;
}

span.twitter-typeahead .tt-menu, span.twitter-typeahead .tt-dropdown-menu {
    cursor: pointer;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    background-clip: padding-box;
}

/* Chat dropdown */

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}


/* Profile */
.popover-image {
    font-size: 70px;
    color: #dae0e5;
}

.profile-image {
    font-size: 100px;
    color: #dae0e5;
}

.profile-name {
    padding-top: 25px;
    font-size: 12pt;
}

.profile-image-row {
    margin-bottom: 20px;
}

.profile-table-head {
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: normal;
    font-size: 10pt;
}

.profile-table-block {
    font-weight: bold;
    font-size: 16pt;
}

.game-ad {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 320px;
}

#menu a.close-ad {
    float: right;
    clear: both;
    height: 52px;
    line-height: 52px;
    width: 120px;
    font-weight: normal;
    font-family: Arial, serif;
    font-size: 18px;
    background: #666;
    color: white;
    margin: 0 0 0 0;
    visibility: hidden;
}

#ssp-zone-206066 {
    clear: both;
    width: 320px;
    /* height: 100px; */
}

#ssp-zone-206131 {
    width: 300px;
    height: 300px;
    margin-left: 5px;

    position: absolute;
    top: 95px;
}

.game_connecting {
    background: rgba(218, 224, 229, 0.82);
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
}

.game_connecting .bowlG {
    display: inline-block;
}

/* Chat */
#chat {
    margin-left: 5px;
    padding: 0 0;
    text-align: left;
    position: relative;
    font-size: 12pt;
}

#chat .fa-times {
    position: relative;
    top: -5px;
}

.chat-placeholder {
    font-size: 150px;
    width: 100%;
    height: 100%;
    color: #ecedee;
    text-align: center;
    line-height: 484px;
}

.chat-single-result {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 10px solid rgb(255, 232, 164);
    border-radius: 25px;
}

.chat-single-result-top {
    flex: 2;
    width: 100%;
}

.chat-single-result-table {
    display: flex;
    text-align: center;
    height: 100%;
    align-items: center;
}

.chat-single-result-score-container, .chat-single-result-duration-container {
    flex: 1;
}

.chat-single-hourglass, .chat-single-stars {
    font-size: 35px;
}

.chat-single-result-image {
    background: url(https://www.animatedimages.org/data/media/289/animated-turtle-image-0126.gif);
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center;
    flex: 1;
}

.chat-single-result-text {
    flex: 1;
}

.result-star {
    transition: color 0.5s;
}

.send-message-container {
    display: none;
    z-index: 10;
}

.chat-messages {
    overflow-y: scroll;
    overflow-x: hidden;
    display: none;
    height: 255px;
    margin-top: 170px;
    z-index: 10;
}

.chat-message-input {
    margin-top: 20px;
    height: 60px;
    display: none;
    padding-right: 20px;
    padding-left: 10px;
}

.send-message-container {
    margin-top: 20px;
    text-align: left;
    display: none;
}

#send-message-content {
    visibility: hidden;
    height: 34px;
}

.chat-system {
    font-size: 10pt;
    background: #f8f9fa;
    color: gray;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    clear: both;
}

.chat-message {
    margin-top: 8px;
    margin-bottom: 5px;
    border-radius: .25em;
    padding: 10px;
    background-color: #f8f9fa;
    max-width: 80%;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
}

.chat-message.chat-op {
    float: left;
    clear: both;
}

.chat-message.chat-me {
    float: right;
    clear: both;
    background: #dae0e5;
}

.chat-line {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    text-align: left;
    padding: 5px 10px;
    z-index: 10;
}

.chat-line .game-avatar {
    font-size: 55px;
    color: #bdc8d2;
    display: inline-block;
    line-height: 55px;
    padding-left: 10px;
    width: 70px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

.game-avatar .fa-robot {
    font-size: 45px;
}

.chat-line .profile {
    padding-left: 5px;
    display: inline-block;
    vertical-align: top;
    padding-top: 20px;
}

.chat-line svg {
    vertical-align: top;
}

.chat-line div.active {
    background: #dae0e5;
    transition: background-color 0.5s ease;
}

.chat-line .buttons {
    float: right;
    padding-right: 10px;
}

.chat-line .buttons a {
    display: inline-block;
}

.chat-line .name {
    font-size: 10pt;
    margin-bottom: 3px;
}

.chat-line .level {
    font-size: 8pt;
    color: #7c7c7c
}

.player-player, .player-opponent {
    display: block;
    height: 70px;
    margin-top: 5px;
    margin-bottom: 5px;
    background: #f1f1f1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.chat-line .player-winner {
    background: #cce6cc;
}

.chat-line .player-looser {
    background: #e6cccc;

}

.comments-button {
    display: none;
    vertical-align: text-bottom;
}

/* profile */
.main-profile {
    min-width: 107px;
}

/* Rewards */
.reward {
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    display: inline-block;
    color: white;
    text-align: center;
    margin-bottom: 10px;
    border: 10px solid;
    white-space: nowrap;
}

.reward-image {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 40px;
    line-height: 1;
}

.reward .reward-text {
    border-radius: 4px;
    background: #888;
    position: absolute;
    bottom: 0px;
    left: -8px;
    padding: 2px;
    right: -8px;
    font-size: 11px;
    white-space: nowrap;
}

.reward-number {
    font-size: 16px;
    font-weight: bold;
}

.reward-once {
    background-color: #7fd275;
    border-color: #dae0e5;
}

.reward-once .reward-number {
    display:none;
}

.reward-once .reward-image {
    margin-top: 15px;
    font-size: 50px;
}

.reward-1 {
    background-color: #9396a0;
    border-color: #dae0e5;
}

.reward-2 {
    background-color: #73a8bf;
    border-color: #dae0e5;
}

.reward-3 {
    background-color: #cd7f32;
    border-color: #ecc094;
}

.reward-4 {
    background-color: #e0995e;
    border-color: #fdcb6d;
}

.reward-5 {
    background-color: #12840a;
    border-color: #8fc391;
}

.reward-6 {
    background-color: #234e9c;
    border-color: #97a8d8;
}

.reward-7 {
    background-color: #673AB7;
    border-color: #c9a8ef;
}

.reward-8 {
    background-color: #da00ff;
    border-color: #e8ade7;

}

.reward-9 {
    background-color: #dc0047;
    border-color: #ff9cbe;
}

.reward-10 {
    background-color: #000000;
    border-color: #c5c5c5;
}

.reward-10 {
    background-color: #000000;
    border-color: #c5c5c5;
}

.reward-11 {
    background-color: #000000;
    border-color: #73a8bf;
}

.reward-12 {
    background-color: #000000;
    border-color: #97a8d8;
}

.reward-13 {
    background-color: #000000;
    border-color: #ecc094;
}

.reward-14 {
    background-color: #000000;
    border-color: #fd5ff0;
}

.reward-15 {
    background-color: #000000;
    border-color: #ff0000;
}

/* Game */
.login-box {
    position: relative;
    top: -75px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.login-box form {
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#menu #play-now {
    width: 100%;
}

#login-back {
    margin-top: 25px;

}

.online-info {
    color: #676767;
    float: right;
    text-align: right;
    font-size: 16px;
    line-height: 18px;
    margin-top: -3px;
    margin-right: -6px;
    min-width: 36px;
}


#players {
    position: relative;
    height: 50px;
    line-height: 50px;
    text-align: left;
    margin-bottom: 8px;
    font-size: 13px;
    width: 100%;
    border-radius: .25rem;
    background-color: #dae0e5;
}

#game_head {
    font-size: 12pt;
    font-weight: bold;
    color: #40758C;
    line-height: 45px;
    text-align: center;
    width: 484px;
    display: inline-block;
}

.turn_info {
    padding-left: 15px;
    width: 484px;
    display: none;
}

#game_buttons {
    display: none;
    text-align: right;
    position: absolute;
    right: 10px;
    z-index: 5;
}

#newgame, #newbot {
    display: none;
}

.game-over #newgame, .game-over #newbot {
    display: inline-block;
}

#on_turn {
    line-height: 50px;
}

.hidden {
    display: none;
}

#score {
    font-size: 120%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.time {
    width: 51px;
    margin-left: 10px;
    margin-right: 15px;
    line-height: 33px;
    float: right;
}

.time-low {
    color: #bb0b22;
}


.time .bowlG {
    top: 21px;
}

.time_text {
    padding-left: 19px;
}

.tie-row {
    width: 484px;
    text-align: center;
    margin-bottom: 5px;
    display: none;
}

.xp-rewards {
    display: none;
    overflow: hidden;
}

.xp-rewards .reward-once {
    position: relative;
    top: -8px;
}

.xp-rewards .reward {
    margin-right: 5px;
    margin-left: 5px;
}

.xp {
    display: none;
    position: absolute;
    z-index: 200;
    width: 100%;
    top: 40px;
    font-size: 30pt;
}

.xp-level-up {
    display: none;
}

.xp-level {
    display: none;
    font-size: 13pt;
}


/* Border for game */
#menu, #invitation_table, #end_game, #opponent_ended, #opponent_wait, #search_game {
    text-align: center;
    position: relative;
    top: -70%;
    font-weight: bold;
    line-height: 35px;
    clear: both;
}

#invitation_table {
    top: -355px;
    margin-left: auto;
    margin-right: auto;
}

#invitation_text {
    width: 420px;
    text-align: center;
}

#end_game {
    top: -230px;
}

#menu {
    text-align: center;
}

#menu a, .login-box .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    width: 50%;
    line-height: 30px;
    height: 45px;
}

#menu .login-box .btn {
    line-height: 34px;
}

#invitation_dismissed {
    color: #c01a30;
}

#search_game {
    background: url('../img/search.gif') no-repeat top center;
    background-size: 100px;
    padding-top: 100px;
    top: -78%;
}

#create_game {
    background: url('../img/frog.gif') no-repeat top center;
    background-size: 150px;
    padding-top: 150px;
    top: -73%;
    position: relative;
}

#search_game_text {
    font-weight: normal;
    font-size: 12pt;
}

#search_game input {
    margin-top: 5px;
}

#game_place {
    position: relative;
    display: flex;
    font-size: 12pt;
    text-align: center;
    padding: 0 0 0 0;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 5px;
}


.play {
    float: right;
}

/* Pricing - league box */

#transfer-box input {
    border: none;
    color: #000000;
    font-weight: bold;
    cursor: text;
}

.league-prices {
    line-height: 20px;
}

.league-prices .label-border {
    border: 3px solid transparent;
    transition: border 0.3s ease-in-out;
}

.league-prices .label-border:hover {
    border: 3px solid gray;
    cursor: pointer;
}

.league-prices [type=checkbox] {
    margin-right: 8px;
}

.badge-small {
    font-size: 55%;
    vertical-align: middle;
}

.league-bg {
    background-color: #fff6db;
}

.table-hover tbody tr:hover .league-bg {
    background-color: #ffeeba;
}

.league-box h2 {
    font-size: 12pt;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

.league-container td {
    padding: 0;
}

.league-container label {
    margin-bottom: 0;
    cursor: pointer;
}

.league-box label {
    cursor: pointer;
}


.bowlG {
    position: relative;
    width: 10px;
    height: 10px;
}

.bowl_ringG {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}

.ball_holderG {
    position: absolute;
    width: 3px;
    height: 10px;
    left: 4px;
    top: 0px;
    -moz-animation-name: ball_moveG;
    -moz-animation-duration: 1.6s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -webkit-animation-name: ball_moveG;
    -webkit-animation-duration: 1.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -ms-animation-name: ball_moveG;
    -ms-animation-duration: 1.6s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    -o-animation-name: ball_moveG;
    -o-animation-duration: 1.6s;
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: linear;
    animation-name: ball_moveG;
    animation-duration: 1.6s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.ballG {
    position: absolute;
    left: 0px;
    top: -3px;
    width: 5px;
    height: 5px;
    background: #dae0e5;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

@-moz-keyframes ball_moveG {
    0% {
        -moz-transform: rotate(0deg)
    }

    100% {
        -moz-transform: rotate(360deg)
    }

}

@-webkit-keyframes ball_moveG {
    0% {
        -webkit-transform: rotate(0deg)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }

}

@-ms-keyframes ball_moveG {
    0% {
        -ms-transform: rotate(0deg)
    }

    100% {
        -ms-transform: rotate(360deg)
    }

}

@-o-keyframes ball_moveG {
    0% {
        -o-transform: rotate(0deg)
    }

    100% {
        -o-transform: rotate(360deg)
    }

}

@keyframes ball_moveG {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    #ssp-zone-206131 {
        display: none;
    }

    #container {
        width: auto;
    }

    h1 {
        font-size: 16pt;
    }

    .chat-line {
        padding-left: 5px;
        padding-right: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-align: left
    }

    .chat-line .fa-times {
        display: none;
    }


    .chat-line .game-avatar {
        font-size: 30px;
        line-height: 41px;
        padding-left: 6px;
        padding-right: 2px;
        width: 50px;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: center;
    }

    .chat-messages {
        height: 221px;
        margin-top: 205px;
    }

    .chat-line .profile {
        padding-left: 0;
        display: inline-block;
        vertical-align: top;
        padding-top: 9px;
    }

    .game-avatar .fa-robot {
        font-size: 30px;
    }

    .player-opponent {
        height: 104px;
    }

    .chat-line .buttons {
        float: none;
        padding-left: 52px;
    }

    .chat-line div {
        padding-left: 2px;
        padding-right: 2px;
        text-align: left
    }

    #game_head {
        text-align: left;
        width: auto;
        padding-left: 16px;
    }

    #game_buttons {
        float: right;
        margin-right: 8px;
    }

    .turn_info {
        width: 290px;
    }

    .content-container {
        margin-top: 5px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    #ssp-zone-206131 {
        display: none;
    }

    #search_game_text {
        font-size: 10pt;
    }

    #container {
        width: auto;
    }


    .chat-line {
        padding-left: 5px;
        padding-right: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-align: left
    }

    .chat-line .fa-times {
        display: none;
    }


    .chat-line .game-avatar {
        font-size: 30px;
        line-height: 41px;
        padding-left: 6px;
        padding-right: 2px;
        width: 50px;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: center;
    }

    .chat-messages {
        height: 265px;
        margin-top: 160px;
    }

    .chat-line .profile {
        padding-left: 0;
        display: inline-block;
        vertical-align: top;
        padding-top: 9px;
        position:absolute;
    }

    .game-avatar .fa-robot {
        font-size: 30px;
    }

    .chat-line div {
        padding-left: 2px;
        padding-right: 2px;
        text-align: left
    }

    .player-player, .player-opponent {
        height: 65px;;
    }

    .left-menu-col {
        display: none;
    }

    .content-container {
        margin-top: 5px;
    }

    #game_buttons {
        float: right;
        margin-right: 8px;
    }

    #game_head {
        text-align: left;
        width: auto;
        padding-left: 16px;
    }

    .turn_info {
        width: 290px;
    }

    .navbar {
        padding: 5px 15px 5px 4px;
    }

    .navbar-toggler-div {
        padding-right: 0;
    }

    .navbar-nav .nav-link {
        padding-left: 14px;
    }

}

@media (min-width: 768px) and (max-width: 838px) {
    .chat-line .game-avatar {
        display: none;
    }

    div.player-player, div.player-opponent {
        padding-left: 10px;
    }

    .chat-messages {
        height: 266px;
        margin-top: 160px;
    }
}

@media (max-width: 767px) {
    #ssp-zone-206131 {
        display: none;
    }

    .login-box {
        top: -140px;
        width: 70%;
    }

    #invitation_table {
        top: -380px;
    }

    #menu > .login-box form a {
        margin-right: 0px;
    }

    .game-start-buttons #start-league, .game-start-buttons #find-game, .game-start-buttons #invite-friend, .game-start-buttons #play-bot {
        width: 70%;
    }

    #game {
        margin-left: auto;
        margin-right: auto;
    }

    #players {
        height: auto;
        text-align: center;
    }

    .left-menu-col {
        display: none;
    }

    #container {
        width: auto;
    }

    .info, #top {
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
    }

    .navbar {
        padding: 0.1rem 1rem;
    }

    .navbar-toggler-div {
        padding-right: 0;
    }

    .navbar-nav .nav-link {
        padding-left: 14px;
    }

    body {
        padding: 0 0 0 0;
        margin: 0 0 0 0;
    }

    h1 {
        font-weight: bold;
        font-size: 12pt;
    }

    #game_place {
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    #game_head {
        width: 100%;

    }

    .turn_info {
        width: 240px;
    }

    .content-container {
        margin-top: 5px;
    }

    #chat {
        height: 230px;
    }

    .chat-placeholder {
        line-height: 230px;
    }

    .chat-messages {
        height: 160px;
    }
}


@media (max-width: 767px) {
    #game_head {
        text-align: left;
        padding-left: 15px;
    }

    #search_game input {
        margin-top: 5px;
    }

    .chat-line {
        text-align: center;
        position: fixed;
        top: auto;
        left: 0;
        bottom: 36px;
        line-height: 20px;
        padding: 2px 10px;
    }

    .player-player, .player-opponent {
        display: inline-block;
        height: 50px;
        width: 48%;
        background: #f1f1f1;
        text-align: left;
    }

    .chat-line .game-avatar {
        font-size: 40px;
        line-height: 40px;
        padding-left: 10px;
        width: 50px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .chat-line .profile {
        padding-left: 5px;
        display: inline-block;
        vertical-align: top;
        padding-top: 5px;
        position: absolute;
        white-space: nowrap;
    }

    .chat-line .name {
        margin-bottom: 0;
    }

    .game-avatar .fa-robot {
        font-size: 35px;
    }

    #search_game_text {
        font-size: 10pt;
    }

    .profile-image {
        font-size: 50px;
    }

    #game_buttons {
        width: 100%;
    }

    .profile-name {
        padding-top: 0;
    }

    .edit-profile-text {
        display: none;
    }

    .player-player, .player-opponent {
        width:  40%;
    }

    #game .table {
        overflow: auto;
    }

    .chat-placeholder {
        display: none;
    }

    .comments-button .active {
        display: inline;
    }

    .comments-button i, .comments-button svg {
        display: none
    }

    .comments-button .fa-comment-dots {
        color: #c53245;
    }

    .chat-messages {
        margin-top: 0;
        position: fixed;
        background: #fffffff0;
        top: 53px;
        padding-bottom: 160px;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .send-message-container {
        position: fixed;
        width: 100%;
        left: 0;
        padding: 5px;
        padding-left: 15px;
        padding-right: 15px;
        bottom: 100px;
    }

    .comments-button {
        display: inline-block;
    }

    .mobile-collapsed {
        display: none !important;
    }

    #players {
        text-align: left;
    }
}

@media (max-height: 400px) {
    #fullscreen {
        display: inline-block;
    }
}

@media (max-width: 515px), (max-width: 767px) and (max-height: 720px) {
    #menu a.close-ad {
        visibility: visible;
    }

    .game-ad {
        margin-top: 15px;
    }

    .rere {
        display: none;
    }

    .lock-body {
        overflow: hidden;
    }

    #players {
        line-height: 10pt;
    }

    #game_head {
        width: 100%;
        font-size: 10pt;
        line-height: 30px;
        text-align: left;
        padding-left: 10px;
    }

    #on_turn {
        line-height: 30px;
    }

    #game .table {
        overflow: scroll;
    }

    #game_buttons {
        text-align: right;
    }

    .turn_info {
        width: 260px;
        text-align: left;
    }

    .time {
        line-height: 10pt;
    }

    .time .bowlG {
        top: 11px;
    }

    #chat {
        width: 100%;
        height: 50px;
        padding: 5px 0 0 5px;
        line-height: 35px;
    }

    body {
        margin-bottom: 0;
    }

    #container {
        box-shadow: none;
        margin-bottom: 0px;
        padding-bottom: 50px;
        height: 100%;
    }

    #invitation_text {
        width: 100%;
    }

    .tie-row {
        width: 100%;
    }

    .chat-line {
        line-height: 15px;
    }

    .chat-line  .game-avatar {
        display: none;
    }

    .player-player, .player-opponent {
        height: 39px;
        vertical-align: top;
    }

    .comments-button {
        margin-top: 5px;
    }

    #game_buttons.game-over {
        top: 40px;
        z-index: 3;
        background: #cccccc91;
        height: 62px;
        padding: 10px;
        left: 0;
        text-align:center;
    }

    .game-over #newgame, .game-over #newbot {
        display: inline-block;
        margin: 5px;
    }

    .send-message-container {
        bottom: 85px;
    }

}

@media (max-width: 767px) and (max-height: 530px) {
    #menu, #end_game, #opponent_ended, #opponent_wait, #search_game {
        text-align: center;
        position: relative;
        top: -80%;
    }

    #invitation_table, #search_game {
        top: -110%
    }

    #create_game {
        top: -100%;
    }

    .login-box {
        position: fixed;
        top: 10px;
        right: 0;
        left: 0;
    }
}

/* LISTS */
ol {
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}

ol > li {
    display: table;
    counter-increment: item;
    margin-bottom: 1em;
}

ol > li:before {
    content: counters(item, ".") ". ";
    display: table-cell;
    padding-right: 1em;
}

.multi li ol > li {
    margin: 0;
}

.multi li ol > li:before {
    content: counters(item, ".") " ";
}