.modal-header-css {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 2.5rem;
    height: 1.82rem;
    width: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-sizing: border-box;
    background-color: #5a5a5a;
    top: -1.23rem;
    right: -1.27rem;
    border-radius: 100%;
    border: 3px solid #fff;
    color: #ffffff;
    z-index: 10;
}
.close-css:focus, .close-css:hover {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    font-size: 37px;
}
.close-css {
    float: right;
    font-size: 37px;
}
button.close-css {
    -webkit-appearance: none;
    padding-bottom: 4px;
    cursor: pointer;
    background: 0 0;
    border: 0;
    color: #ffffff;
}
.modal-body-css {
    padding: 0px;
}
/* แสดงภาพเท่าขนาดจริง ถ้าใหญ่กว่าจอจะย่อให้พอดีจอโดยคงสัดส่วนเดิม */
.modal-image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 3rem);
    max-height: calc(100vh - 3rem);
    border-radius: 6px;
}
/* จัด popup ให้อยู่กึ่งกลางจอทั้งแนวตั้งและแนวนอน กรอบกว้างเท่าภาพ */
#popupHome .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: none;
    width: auto;
    min-height: calc(100% - 3rem);
    margin: 1.5rem;
}
#popupHome .modal-content {
    width: auto;
    border: 0;
    background-color: transparent;
}
