@font-face {
    font-family: 'Bonk';
    src: url('assets/gfx/fonts/Bonk.ttf') format('truetype');
}

html,
body {
    height: 100%;
}

* {
    font-family: 'Catamaran', Calibri, Arial, Helvetica, sans-serif !important;
}

@media (min-width: 992px) {

    .modal-lg,
    .modal-xl {
        max-width: 970px;
    }
}

body {
    margin: 0px;
    font-family: Calibri, Arial, Helvetica, sans-serif;
    background-color: #15273e !important;
}


.indice-sup {
    font-size: 0.6em;
    vertical-align: super;
}


/**
XSOLLA
*/

.xpaystation-widget-lightbox {
    z-index: 1060 !important;
}

/**
Make sure everything inside the button can't capture a click
*/

button>* {
    pointer-events: none;
}

#stickforge>canvas {
    margin: 0px !important;
    cursor: url("assets/gfx/gui/crosshair.png") 24 24, auto !important;
}

#chat {
    cursor: url("assets/gfx/gui/crosshair.png") 24 24, auto !important;
}

#respawnAds {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.modal-header {
    padding: 0.5rem 0.5rem !important;
    border-bottom: none !important;
}

.end-game-img {
    width: 40%;
}

.modal-content {
    border-radius: 6px;
}
/* Server list sortable headers */
th.sortable {
    cursor: pointer;
}
th.sortable .sort-icon {
    opacity: 0.7;
    font-size: 0.85em;
}

/* Compact server list rows */
#servers-list-dialog .table {
    font-size: 0.92rem;
}
#servers-list-dialog .table thead th,
#servers-list-dialog .table tbody td {
    padding: 0.25rem 0.35rem !important;
    line-height: 1.05;
    vertical-align: middle;
}
#servers-list-dialog .table tbody td .btn.btn-sm {
    padding: 0.125rem 0.35rem !important;
    font-size: 0.8rem;
    line-height: 1;
}

#fieldName {
    font-size: 16px;
}

.social-banner {
    position: absolute;
    bottom: 1em;
    right: 1em;
    z-index: 99999;
    background: white;
    border-radius: 50px;
    width: 200px;
}

.social-banner p {
    margin-bottom: 0px;
}

.social-banner .fa-facebook {
    color: #4267B2;
}

.social-banner .fa-discord {
    color: #738ADB;
}

.sound-banner {
    position: absolute;
    top: 1em;
    right: 2em;
    z-index: 99999;
}

.sound-banner img {
    cursor: pointer;
}

#loadingPourcentTxt {
    margin-top: inherit;
    margin-bottom: inherit;
}

#xpBar.progress,
#xpBar .progress-bar {
    height: 25px !important;
    font-size: 15px;
    position: relative;
}

/* XP Bar text overlay styling */
#xpBar .position-absolute {
    color: #000;
    font-weight: bold;
    pointer-events: none;
    /* Allows clicking through the text overlay */
    z-index: 10;
}

/* Apply white text and shadow when the class is present (for higher percentage fill) */
#xpBar .position-absolute.white-text {
    color: white;
    text-shadow: #000 0px 0px 3px, #000 0px 0px 3px, #000 0px 0px 6px;
    letter-spacing: 1px;
}

.progress-bar {
    overflow: initial;
}

.gamemode-disabled {
    cursor: not-allowed;
}

.gamemode-disabled img {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.gamemode-nbplayers {
    position: absolute;
    right: 25px;
    bottom: 5px;
}

.text-gamemode {
    position: absolute;
    top: 0px;
    height: 100%;
    padding-top: 40px;
    padding-top: 40px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgba(0, 0, 0, 0.58);
    color: white;
    cursor: pointer;
    width: 100%;
    text-shadow: 0px 0px 5px black, 0px 0px 10px black;
    -webkit-transition: text-shadow 2s ease;
    -moz-transition: text-shadow 2s ease;
    -o-transition: text-shadow 2s ease;
    transition: text-shadow 2s ease;
}

.text-gamemode:hover {
    text-shadow: 0px 0px 5px white;
    -webkit-transition: text-shadow 1s ease;
    -moz-transition: text-shadow 1s ease;
    -o-transition: text-shadow 1s ease;
    transition: text-shadow 1s ease;
}

.levelBubble {
    background-color: rgb(84, 83, 83);
    border-radius: 100%;
    height: 32px;
    width: 32px;
    display: inline-block;
    padding: 2px 0px 0px;
    text-align: center;
    background-position: center;
    color: white;
    font-size: 20px;
    background-size: 32px 32px;
    font-style: bold;
}

.bstick-white-text {
    color: white;
}

#friendsList {
    max-height: 500px;
    overflow-y: auto;
}

#join-ip-dialog {
    z-index: 1060 !important;
}


.alert-warning {
    color: white !important;
    background-color: #fdb600 !important;
    border: none !important;
}

/* Announcement panel */

/*
@media (min-width: 1600px) {
    .announcementsBloc {
        display: block!important;
        top: 0px;
        z-index: 9999;
    }
}
*/

#announcements,
#showAnnouncementsBtn {
    top: 0px;
    z-index: 9999;
}

#announcements .card-header button {
    right: 10px;
    top: 10px;
}

#announcements .list-group-item {
    letter-spacing: 0.5px;
}

#announcements .card-body {
    max-height: 50vh;
    overflow: hidden;
    overflow-y: scroll;
}

/* Color Theme Swatches in Hex */

.endgame-background {
    padding: 0px;
    background-color: white;
    /*background: url("assets/gfx/gui/endgame_screen.jpg") no-repeat;*/
    /* background-size: cover; */
}

.changeEquipmentBtn {
    height: 55px;
    background-image: url("assets/gfx/gui/change_equipment_background.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
}

#equipmentBloc img {
    cursor: pointer;
}

#playBtn {
    height: 55px;
    font-size: 30px;
    /*padding: 8px 0px 8px 0px;*/
    font-weight: bold;
    text-transform: uppercase;
}

#respawnBtn {
    font-weight: bold;
    text-transform: uppercase;
}

.btn-dark {
    letter-spacing: 1px;
    background-color: #15273e !important;
}

#login-dialog .modal-content {
    /*background-image: url(assets/gfx/gui/equipment-bg.jpg);*/
    /*background-color: transparent;
    background-color: #5832326b;*/

    background-color: #15273e;
    background-size: cover;

    /* background-size: auto;
    background-repeat: repeat; */
}

#mainscreen-section #equipmentBloc span,
#mainscreen-section #equipmentBloc h4,
#loadingModalBody h3,
#socialLoginBloc h4,
#armouryCarouselItem h4,
#armouryCarouselItem h5 {
    color: #fff;
}

#mainscreen-section #equipmentBloc span {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

#mainscreen-section,
#adsSlot {
    background-color: #00000044;
}

#footer-section {
    color: #fff !important;
    background-color: #15273e;
}

/*Increasing size for readability*/

#accountBloc {
    color: #fff;
    transform-origin: left;
    transform: scale(1.2, 1.2);
}

.badge {
    font-weight: normal;
}

/**
RECAPTCHA
*/

.grecaptcha-badge {
    visibility: hidden;
}

/*
EQUIPEMENT SECTION
*/

/*
#armoury-section {
    background-image: url("assets/gfx/gui/armoury-bg.jpg");
    background-size: cover;
}
*/

#armoury-section .card {
    border: 1px solid transparent;
}

#armoury-section .items-card {
    height: 405px;
    overflow-y: scroll;
    overflow-x: hidden;
}

#armoury-section .card-pointable {
    cursor: pointer;
}

#armoury-section .card-pointable:hover {
    border: 1px solid #007bff;
}

#armoury-section .items-card .card-img {
    width: 200px;
    height: 200px;
    /*width: 300px;
    height: 300px;*/
    padding: 1.5rem;
}

#armoury-section .items-card .card-img-overlay {
    padding: 0.3rem;
}

.preview-sound {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.preview-sound svg {
    pointer-events: none;
}

#armoury-section h4 {
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

#armoury-section .card-title {
    letter-spacing: 1.5px;
    font-size: 16px;
}

#armoury-section .page-control {
    background-color: #00000090;
}

#armoury-section .nav-tabs .nav-link.active {
    color: white;
    background-color: #00000090;
    border: none;
    letter-spacing: 1.5px;
}

#armoury-section .nav-tabs .nav-link {
    color: white;
    border: none;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    letter-spacing: 1.5px;
}

#armoury-section .custom-control-label {
    letter-spacing: 1px;
}

#armoury-section .nav-tabs {
    border: none;
}

#armoury-section .col-armoury-categories,
#armoury-section .col-armoury-items,
#armouryCarouselItem .container {
    background-color: #00000090;
}

#armoury-section .center-bottom-absolute {
    position: absolute;
    bottom: 8px;
    left: 50%;
}

#armoury-section .left-bottom-absolute {
    position: absolute;
    bottom: 8px;
}

#armoury-section .center-bottom-absolute .btn {
    position: relative;
    left: -50%;
}

#armoury-section #armouryTab .card {
    padding: 10px;
}

.armoury-role-icon {
    margin-top: -2px;
    margin-right: -2px;
}

.tooltip {
    font-size: 16px !important;
    z-index: 9999999 !important;
}

.cardTopRightRibbon {
    position: absolute;
    top: -1px;
    right: -1px;
}

.cardModelTopRightRibbon {
    position: absolute;
    top: 35px;
    right: -1px;
    width: 64px;
}

/**
Item container section
*/

#armoury-section #armouryCarouselItem .card-columns {
    column-count: 2;
}

#armoury-section #armouryCarouselItemData p,
#armoury-section #armouryCarouselItemData span {
    font-family: Calibri !important;
}

#armoury-section #armouryCarouselItemModels .card-header,
#armoury-section #armouryCarouselItemModels .card-body {
    padding: 0.3rem !important;
}

#armouryCarouselItemDataCard {
    min-height: 400px;
}

.overflow-scroll {
    overflow-y: scroll;
}

/**
* End game result sections
*/

#contentEndGameDialog {
    margin-left: 0px;
    margin-right: 0px;
    font-family: Calibri !important;
    letter-spacing: 1px !important;
}

.account-info {
    background-color: rgba(0, 0, 0, 0.58);
    border-radius: 5px;
}

.text-description {
    color: #a5a5a5;
    /*line-height: 14px;
    font-style: italic;*/
    letter-spacing: 1px;
    text-align: center;
}

/**
LEADERBOARD
*/

.leaderboardNumbers {
    font-size: 24px;
    font-weight: bold;
}

.policeLeaderboard {
    font-family: Calibri !important;
    font-size: 30px;
}

#currentseason {
    height: 500px;
    overflow-y: scroll;
}

/*
Server list
*/
#servers-list-dialog td {
    vertical-align: middle;
}

#serverWelcomeText {
    border: 1px solid #e9ecef;
    padding: 9px;
    color: white;
    height: 150px;
    overflow-y: auto;
}


/*
CUSTOM SCROLL BAR
*/

/* width */

::-webkit-scrollbar {
    width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
    background: #888;
}

/* Handle */

::-webkit-scrollbar-thumb {
    background: #343a40;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #1c1f22;
}

.btn-dark,
#playBtn {
    text-shadow: #000 0px 0px 8px, #000 0px 0px 3px;
}

.btn-yellow {
    background-color: #f2d472;
    color: white;
}

/* .btn-shop-item-buy-coins {
    background-image: url("assets/gfx/gui/button-shop-coins.png");
    background-repeat: no-repeat;
    background-position: center;
}

.btn-shop-item-buy-diamonds {
    background-image: url("assets/gfx/gui/button-shop-diamonds.png");
    background-repeat: no-repeat;
    background-position: center;
} */

.bstick-rarity-normal {
    color: #fff !important;
}

.bstick-rarity-uncommon {
    color: #1eff00 !important;
}

.bstick-rarity-rare {
    color: #0070dd !important;
    font-weight: bold;
}

.bstick-rarity-epic {
    color: #9345ff !important;
}

.bstick-rarity-legendary {
    color: #ff8000 !important;
}

.bstick-bonus {
    color: #1eff00 !important;
}

.bstick-malus {
    color: #ff1e00 !important;
}

.bstick-gray-text {
    color: #aaa;
}

.bstick-dark-blue-text {
    color: #056CF2;
}

.bstick-blue-text {
    color: #1BB5F2;
}

.bstick-light-blue-text {
    color: #38D0F2;
}

.bstick-green-text {
    color: #6E8C03;
}

.bstick-red-text {
    color: #ff6847 !important;
}

.bstick-dark-blue {
    background-color: #5177b0;
}

.bstick-blue {
    background-color: #1BB5F2;
}

.bstick-light {
    background-color: #38D0F2;
}

.bstick-green {
    background-color: #6E8C03;
}

.bstick-red {
    background-color: #ff6847;
}

.alert-danger {
    color: #fff;
    background-color: #ff8503;
    border-color: #ff8503;
}