*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

button {
    text-transform: none;
    overflow: visible;
    margin: 0;
    align-items: flex-start;
    text-rendering: auto;
    color: initial;
    letter-spacing: normal;
    word-spacing: normal;
    text-indent: 0;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    font: 400 13px Arial;
    -webkit-writing-mode: horizontal-tb !important;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.btn-info {
    color: #fff;
    background-color: #3498DB;
    border-color: #3498DB;
}

.btn-danger {
    color: #fff;
    background-color: #E74C3C;
    border-color: #E74C3C;
}

.btn-confirm {
    color: #000;
    background: #fff;
    font-weight: 700;
}

.btn-delete-img {
    width: 50px;
    height: 50px;
    background-image: url("../img/system/button_delete.png");
}

.return-button-img {
    background-image: url("../img/system/button_return.png");
}

#IMEButton, #CloseButton {
    display: flex;
}

#ReturnButton, #CloseButton {
    font-size: initial;
}

#ModalWindow {
    width: 200px;
    text-align: center;
    transition: transform .3s ease-out;
    pointer-events: auto;
    background-clip: padding-box;
    border-radius: .3rem;
    outline: 0;
    padding: 10px;
    background: #000;
    border: 2px solid #fff;

}

#ModalWindow p {
    color: #fff;
}

@media (max-height: 400px) {
    #IMEButton {
        padding: 2px 8px;
    }
}

@media (min-height: 500px) {
    #ReturnButton, #CloseButton {
        font-size: 30px;
    }

    .btn-delete-img {
        background-size: 80px;
        background-repeat: no-repeat;
        width: 80px;
        height: 80px;
    }
}
