.inline {
    display: inline;
    padding: 15px;
    font-weight: bold;
}

.custom-server {
    width: 100%;
    height: 105px;
}

.custom-server > img {
    position: relative;
    height: 100%;
    width: 100%;
    top: 0;
    object-fit: cover;
    transition: all ease-out 0.45s;
    opacity: 0.4
}
.custom-server:hover > img {
    transform: scale(1.05);
    transition: all ease-in 0.45s;
}
.server-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 15px;
}

.data-basic { 
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 75%;
}

.data-name {
    color: #ededed;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-basic__group {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 10px;
    color: rgb(192, 192, 192);
}

.data-players {
    display: flex;
    gap: 5px;
}

.data-players i {
    font-size: 17px;
}

.data-players__online {
    font-size: 16px;
    font-weight: 500;
    color: rgb(192, 192, 192);
    line-height: 1.1;
}

.data-map {
    font-size: 16px;
    font-weight: 500;
    color: rgb(192, 192, 192);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-play__btn {
    display: none;
}

.data-secondary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    max-width: 15%;
    height: 100%;
    white-space: nowrap;
    font-size: 20px;
    color: rgb(192, 192, 192);
}

.server-play__btn {
    color: rgb(192, 192, 192);
}

.server-copy__btn {
    color: rgb(192, 192, 192);
}

.server-copy__btn:hover {
    cursor: pointer;
}

/* Модалка */

.modal-window-server {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    transition: all 0.3s;
    pointer-events: auto;
}

.modal-window-server .card {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    border-radius: 2px;
}

.modal-window-server > div {
    position: absolute;
    width: 25%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    background: var(--sidebar-color);
}

.server_block_scroll {
    margin: 10px 0px;
    max-height: 400px;
    overflow-y: scroll;
}

.modal-card {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.modal-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #515151;
}

.modal-card__badge {
    padding: 8px 12px;
    margin: 0;
}

.modal-btn__close {
    font-size: 16px;
    line-height: normal;
    color: white;
}

.modal-table {
    padding: 5px;
}

.table-thead tr th{
    background-color: #2c2c2c;
    border-bottom: 0px;
}

.modal-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-top: 1px solid #515151;
}

.modal-btn {
    padding: 8px 12px;
    background-color: var(--span-color);
    color: white;
}

/* Адаптив блока с сервером */

/* Large desktops and laptops */
@media (min-width: 1200px) 
{
    .data-name {
        font-size: 20px;
    }
    .data-players i {
        font-size: 18px;
    }
    .data-players__online {
        font-size: 17px;
    }
    .data-map {
        font-size: 17px;
    }
    .server-copy__btn  {
        font-size: 22px;
    }
    .server-play__btn {
        font-size: 22px;
    }
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) 
{   
    .custom-server {
        height: 90px;
    }
    .data-name {
        font-size: 16px;
    }
    .data-players i {
        font-size: 15px;
    }
    .data-players__online {
        font-size: 13px;
    }
    .server-copy__btn  {
        font-size: 18px;
    }
    .server-play__btn {
        font-size: 18px;
    }
    .data-map {
        display: none;
    }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) 
{
    .custom-server {
        height: 90px;
    }
    .data-name {
        font-size: 16px;
    }
    .data-players i {
        font-size: 15px;
    }
    .data-players__online {
        font-size: 13px;
    }
    .server-copy__btn  {
        font-size: 18px;
    }
    .server-play__btn {
        font-size: 18px;
    }
    .data-map {
        display: none;
    }
}

/* Адаптив модалки */

@media (max-width: 575.98px) {

    .custom-server {
        height: 85px;
    }
    
    .modal-window-server > div {
        width: 70%;
        top: 40%;
    }

    .modal-window-server .input-form{
        display: none;
    }

    .server_block_scroll {
        max-height: 300px;
    }

    .table-point {
        display: none;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .custom-server {
        height: 85px;
    }

    .modal-window-server > div {
        width: 70%;
        top: 40%;
    }

    .server_block_scroll {
        max-height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .modal-window-server > div {
        width: 50%;
        top: 50%;
    }

    .server_block_scroll {
        max-height: 300px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .modal-window-server > div {
        width: 38%;
        top: 50%;
    }

    .server_block_scroll {
        max-height: 300px;
    }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {

    .modal-window-server > div {
        width: 30%;
    }
}

@media (min-width: 1500px) {

    .modal-window-server > div {
        width: 30%;
    }
}

.show_her {
    display: none;
}

@media (min-width: 768px)
{
    .widthall
    {
        max-width: 100% !important;
        flex: 100 !important;
    }
    .show_her {
        display: block;
    }
}