.custom-server:hover > img {
    transform: scale(1.03);
    transition: all ease-in .3s;
    opacity: 0.3;
}

.data-image > img {
    position: absolute;
    width: 30px;
    right: 30px;
    top: 0px;
}
.show_her {
    display: none;
}
@media (min-width: 768px)
{
    .widthall
    {
        max-width: 100% !important;
        flex: 100 !important;
    }
    .show_her {
        display: block;
    }
}

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

.custom-server > img {
    position: relative;
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: all 1s ease-out;
    opacity: .4
}

.card span {
    position: absolute;
    overflow: hidden;
    right: -19px;
    bottom: -16px;
    height: 135px;
    width: calc(100% + 35px)
}

.custom-server .data-basic {
    position: absolute;
    top: 19px;
    width: 100%;
    height: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    z-index: 1;
    text-align: center
}

.custom-server .data-basic .online {
    position: absolute;
    top: 166px;
    left: 0%;
    font-size: 18px;
    font-weight: 400;
    width: 100%;
    /* border-radius: 10px; */
    background-color: rgba(16, 16, 16, 0.5);
    margin: 0 auto;
    margin-top: 10px;
    /* line-height: 30px; */
    height: 5px;
}

.custom-server .data-basic .online .online2 {
    background: rgba(var(--server-graph-rgba));
    background-size: 50px 50px;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    height: 6px;
    max-width: 100%;
}

.custom-server:hover .data-basic .online .online2 {
    background-size: 50px 50px;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    animation: move 4s linear infinite;
}

.custom-server .data-basic .online .value {
    font-size: 14.5px;
    font-weight: 400;
    color: #eaeaea;
    margin-top: -35px;
}

.custom-server .data-basic .data-name {
    font-size: 13px !important;
    font-weight: 400;
    padding: 0 30px;
    text-transform: uppercase;
    overflow: hidden;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    margin-top: 40px;
    z-index: 1;
    width: 100%;
}

.custom-server .data-basic .ip {
    position: absolute;
    bottom: 90px;
    left: 15%;
    width: 70%;
    height: 33px;
    font-weight: 500;
    z-index: 99;
    user-select: all;
    font-size: 12px;
    color: #ffffff9c;
}

.custom-server .border_ip {
    position: absolute;
    border-radius: 10px;
    background-color: rgba(16, 16, 16, 0.5);
    bottom: 68px;
    left: 15%;
    width: 70%;
    align-items: center;
    height: 33px;
    z-index: 98;
    display: none;
}

.custom-server .btn_connect {
    position: absolute;
    color: #fff;
    outline: none;
    font-weight: 500;
    font-size: 15px;
    display: none;
    cursor: pointer;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--span-color);
    bottom: 68px;
    right: 15%;
    width: 13%;
    white-space: nowrap;
    align-items: center;
    height: 33px;
    z-index: 99;
}

.btn_connect_text {
    margin-top:5px
}

.icon-connect {
    margin-top: 5px;
}

.btn_connect i{
    font-size: 22px;
}

@keyframes move {
    0% { background-position: 0 0}
    100% { background-position: 50px 50px}
}

.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 {
    border: 1px solid var(--default-text-color);
    border-radius: 2px;
}

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

.btn_connect_now{
    float: right;
    max-width: 80px;
    max-height: 30px;
    margin-top: 14px;
    margin-right: 14px;
    margin-bottom: 14px;
}

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

@media (max-width: 575.98px) {

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

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

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

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

    .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) {

    .custom-server .data-basic .data-name {
        font-size: 1vw;
        /* font-weight: 500; */
    }

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

@media (min-width: 1500px) {

    .modal-window-server > div {
        width: 28%;
    }
}
.connect_blya {
    position: absolute;
    top: 59%;
    transform: translate(-32px, -10px);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    background: var(--span-color);
    padding: 4px 5px;
    border-radius: 5px;
}
.data-map {
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    left: 30px;
    top: 10px;
}