/* modal */
.modal {
    display: none;
    position: fixed;
    z-index: 3;
    padding: 5% 0%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* modal dialog */
.modal-dialog {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
}

.modal-p {
    background-color: #fefefe;
    margin: auto;
    padding: 20px 0px;
    border-radius: 5px;
}

.modal.small .modal-dialog {
    width: 380px;
}

.modal.large .modal-dialog {
    width: 60%;
    max-height: 75%;
}

.modal.xlarge .modal-dialog {
    width: 90%;
    max-height: 90%;
}

/* modal header */
.modal-header {
    text-align: center;
    font-size: 20pt;
    font-weight: bolder;
    font-weight: 700;
    /* margin: 10px 0px; */
    line-height: 1.4;
}

.modal.small .modal-header {
    border-bottom: none;
    padding-bottom: 0px;
}

.modal.large .modal-header,
.modal.xlarge .modal-header {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

/* modal content */
.modal-content {
    border: none;
	/* overflow-y: scroll; */
}

.modal .modal-content .icon {
    font-size: 60pt;
    margin-bottom: 20px;
}

.modal .modal-content .text-title {
    font-size: 14pt;
    font-weight: bolder;
    margin-bottom: 10px;
}

.modal .modal-content .text-desc {
    font-size: 10pt;
}

.modal .modal-content .text-desc span {
    color: #C62828;
    font-weight: bolder;
}

.modal.small .modal-content {
    padding: 20px;
    text-align: center;
}

.modal.large .modal-content,
.modal.xlarge .modal-content {
    padding: 0.5rem 0rem;
    text-align: left;
}

/* close modal */
.close, .tutup-modal, .close-modal, .close-lihat-kamar {
    color: #000;
    opacity: 0.5;
    float: right;
    font-size: 24px;
    top: -5px;
    position: relative;
    right: 0px;
}

.close:hover, .close:focus, .tutup-modal:hover, .tutup-modal:focus, .close-modal:hover, .close-modal:focus, .close-lihat-kamar:hover, .close-lihat-kamar:focus {
    opacity: 0.75;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .modal {
        padding: 20% 4.5%;
        width: 91%;
    }

    .modal-dialog {
        width: 90% !important;
        margin: 0px;
        /* padding: 20px 10px; */
        max-height: 70%;
    }
    
    .modal-header {
        font-size: 120%;
    }

    .modal-content {
        max-height: 450px;
        overflow: auto;
        scrollbar-width: thin;
    }
}