html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #222;
    margin: 0;
    padding: 0;
    overflow:hidden;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently not supported by any browser */
}

#pStatusArmor {
    color: #FF0000;
    font-size: 30px;
    font-family: fantasy;
    width: 160px;
}

canvas {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#game_dead_block h1 {
    text-align: center;
    display: block;
    font-size: 60px;
    color: #FF0000;
}

#player_restart {
    margin: 0 auto;
    display: block;
    width: 100px;
    height: 60px;
    font-size: 20px;
}

#game_statistics_block h1 {
    text-align: center;
    display: block;
    font-size: 60px;
    color: #ffffff;
}

#game_statistics_block table {
    margin: 0 auto;
    width: 400px;
}

#game_statistics_block td {
    margin: 0 auto;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

#menu_statistics {
    color: #ffffff;
    margin: 0 auto;
    width: 26%;
    position: absolute;
    text-align: center;
    left: 37%;
    top: 2px;
    cursor: grab;
    background-image: url(/images/grad-top.png);
    height: 60px;
}

.mobile-interface #menu_statistics span {
    display: none;
}

#tournament_status {
    width: 20%;
    position: absolute;
    text-align: center;
    left: 40%;
    top: 25px;
    cursor: grab;
    color: #ffffff;
    font-size: 20px;
}

#change-weapons {
    background-color: #ffffff;
    border: 1px solid #000000;
    margin: 0 auto;
    position: absolute;
    text-align: center;
    left: 40%;
    top: 30px;
    cursor: grab;
    width: 20%;
}

#change-weapons img {
    max-height: 34px;
}

#menu_back {
    position: absolute;
    border: 1px solid #FF0000;
    color: #FF0000;
    padding: 2px;
    top: 1px;
    left: 1px;
}

#statistics_map {
    text-align: center;
}

.statistics-content {
    margin: 0 auto;
}

.statistics-content table {
    width: 100%;
}

.statistics_row_red {
    background-color: #FF8888;
}

.statistics_row_red.even {
    background-color: #EE9999;
}

.statistics_row_red td {
    width: 33%;
}

.statistics_row_blue {
    background-color: #8888FF;
}

.statistics_row_blue.even {
    background-color: #9999EE;
}

.statistics_row_blue td {
    width: 33%;
}

.name_block {
    padding: 0px 30px;
    text-align: left;
}

#statisticsModalToggle thead {
    font-weight: bolder; 
}

.statistics_global_red {
    color: #FF9999;
}

.statistics_global_blue {
    color: #9999FF;
}

.weapon-item-list {
    position: absolute;
    width: 80px;
    right: 15px;
    bottom: 80px;
}

.weapon-item-list .weapon-item {
    width: 80px;
    margin: 5px 0px;
}

.mobile-interface .weapon-item-list {
    bottom: 10px;
    left: calc(50% - 168px);
    width: 336px;
}

.mobile-interface .weapon-item-list .weapon-item {
    display: inline-block;
    border: 1px solid #ffee00;
}

@media (max-width: 768px) {
    #select-block-solder .card-header h4,
    #select-block-stormtrooper .card-header h4,
    #select-block-sniper .card-header h4 {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .mobile-interface .weapon-item-list {
        left: calc(50% - 84px);
        width: 168px;
    }
}

@media (max-width: 440px) {
    .mobile-interface .weapon-item-list {
        left: calc(50% - 40px);
        width: 80px;
    }
}

@media (max-height: 500px) {
    #menu-interface hr {
        display: none;
    }

    #select-block-solder .card-header,
    #select-block-stormtrooper .card-header,
    #select-block-sniper .card-header {
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
    }

    #select-block-solder .card-header h4,
    #select-block-stormtrooper .card-header h4,
    #select-block-sniper .card-header h4 {
        font-size: 1rem;
    }

    #menu-interface .btn {
        padding: 2px;
    }

    #select-play-sniper, #select-play-stormtrooper, #select-play-solder {
        padding: 1px;
    }

    #menu-interface {
        padding-top: 1rem!important;
        padding-bottom: 1rem!important;
    }
}

.interface-hp {
    position: absolute;
    width: 40px;
    bottom: 10px;
    left: 20px;
}

#block-hp {
    text-shadow: 1px 1px #000000;
    font-weight: bold;
    position: absolute;
    color: #ff0000;
    left: 65px;
    bottom: 5px;
    font-size: 30px;
}

#block-cartridge {
    text-shadow: 1px 1px #000000;
    font-weight: bold;
    position: absolute;
    color: #ff0000;
    right: 100px;
    bottom: 5px;
    font-size: 30px;
}

.interface-touch-move {
    display: none;
    width: 120px;
    position: absolute;
    bottom: 70px;
}

.interface-touch-move.mobile {
    display: block;
}

.interface-touch-move.mobile,
.weapon-item-list .weapon-item,
.interface-hp,
#menu_statistics,
#block-cartridge,
#block-hp
{
    touch-action: none;
}

#block-interface-chat {
    color: #ffffff;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

#block-interface-chat ul {
    position: inherit;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    overflow: hidden;
    bottom: 85px;
    width: 330px;
    height: 116px;
}

#block-interface-chat .background-chat {
    position: inherit;
    width: 200px;
    height: 128px;
    bottom: 80px;
    background-image: url(/enemy-contact/images/grad.png);
}

.interface-cartridge {
    position: absolute;
    bottom: 5px;
    right: 20px;
    height: 47px;
}

#block-interface-chat ul li {
    list-style-type: none;
}

#block-interface-chat ul li span.type_team_1 {
    color: #ff0000;
    font-weight: bolder;
}

#block-interface-chat ul li span.type_team_2 {
    color: #0000ff;
    font-weight: bolder;
}

#block-interface-chat.mobile {
    display: none;
}

.loading-page {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bottom-progress {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.progress {
    margin: 12px 70px;
    height: 50px;
}

#loading-banner img {
    width: 600px;
    margin: 50px auto;
    display: block;
}

#mini_map {
    width: 201px;
    height: 201px;
    position:absolute;
    top: 10px;
    left: 10px;
}

#mini_map canvas {
    border-radius: 100px;
    border: 2px solid #000000;
}

.aim {
    position: absolute;
    top: 50%;
    left: 50%;
}

.aim img {
    position: relative;
    top: -14px;
    left: -8px;
}

.select-block-solder,
.select-block-stormtrooper,
.select-block-sniper {
    border-color: #222;
}

.select-block-solder .card-body,
.select-block-stormtrooper .card-body,
.select-block-sniper .card-body {
    padding: 0px;
}

.select-block-solder.disabled,
.select-block-stormtrooper.disabled,
.select-block-sniper.disabled {
    opacity: 0.6;
}

button.hide {
    display: none;
}

#fpsDisplay {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    display: none;
}

/*
@media (max-height: 480px) {
    #menu-interface {
        padding-top: 1rem!important;
        padding-bottom: 1rem!important;
    }

    #select-play-solder,
    #select-play-sniper,
    #select-play-stormtrooper {
        display: none;
    }    
}
*/

#play-window, #drowcanvas {
    width: 100%;
    height: 100%;
}
