.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    width: 400px;
    max-width: 90%;
    margin: 100px auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.modal-content .pd-20 {
    padding: 20px;
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        margin: 50px auto;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .modal-content {
        width: 400px;
        margin: 80px auto;
    }
}
@media (min-width: 768px) and (max-width: 1280px) {
    .modal-content {
        width: 500px;
        margin: 80px auto;
    }
}
@media (min-width: 1280px) {
    .modal-content {
        width: 500px;
        margin: 80px auto;
    }
}

.modal-input-full {
    width: 100% !important;
}

.servers-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.servers-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -80px;
    border-radius: 5px 5px 0 0;
    margin-top: -1px;
}

@media (max-width: 320px) {
    .servers-img {
        object-position: center -20px;
    }
}
@media (max-width: 480px) {
    .servers-img {
        object-position: center -40px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .servers-img {
        object-position: center -60px;
    }
}
@media (min-width: 768px) and (max-width: 1280px) {
    .servers-img {
        object-position: center -80px;
    }
}
@media (min-width: 1280px) {
    .servers-img {
        object-position: center -80px;
    }
}

.servers-img-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.modal-half-left {
    width: 50%;
}

.modal-half-right {
    width: 50%;
}

.modal-half-left label {
    width: 90%
}

.modal-half-left input {
    width: 90%;
}

.modal-half-right label {
    width: 100%
    
}

.modal-half-right input {
    width: 100%;
}

.modal-full {
    width: 100%;
}

.modal-full label {
    width: 100%;
}

.modal-full textarea {
    width: 100%;
    height: 100px;
}

.modal-captcha {
    padding-right: 5%;
}

.modal-button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-data-table-form {
    padding: 10px 0 0;
}

.modal-data-table-form .sr {
    display: flex;
    align-items: center;
    border-bottom: 1px #EBEBEB solid;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.modal-data-table-form .sr span {
    flex: 0 0 95px;
}

.modal-data-table-form .sr b {
    color: #C7020B;
}

.modal-data-table-form .sr input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
}

.modal-data-table-form .xx {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    line-height: 20px;
}

.modal-data-table-form .xx input {
    margin: 4px 8px 0 0;
}

.modal-data-table-form .xx span {
    display: block;
    font-size: 12px;
}

.modal-data-table-form .xx a {
    text-decoration: underline;
}

.modal-data-table-form .t_c {
    text-align: center;
}

.modal-data-table-form .data_table_button {
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}
