/* modal */
.modal {
    display: none;
    position: fixed;
    z-index: 30;
    padding: 58px 0px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal.small {
    padding: 2% 0%;
}

/* modal dialog */
.modal-dialog {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
}

.modal.small .modal-dialog {
    width: 380px;
}

.modal.medium .modal-dialog {
    width: 50%;
}

.modal.large .modal-dialog {
    width: 60%;
}

.modal.xlarge .modal-dialog {
    width: 90%;
}

/* modal header */
.modal-header {
    text-align: center;
    font-size: 20pt;
    font-weight: bolder;
    font-weight: 700;
}

.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: auto;
    max-height: calc(100vh - 175px);
    scrollbar-width: thin;
}

.modal .modal-content .icon {
    font-size: 60pt;
    margin-bottom: 20px;
    color: #E00F0F;
}

.modal .modal-content .text-title {
    font-size: 14pt;
    font-weight: bolder;
    margin-bottom: 10px;
}

.modal .modal-content .text-desc {
    font-size: 11pt;
}

.modal .modal-content .text-desc span {
    color: rgb(51,133,243);
    font-weight: bolder;
}

.modal.small .modal-content {
    text-align: center;
}

.modal.large .modal-content,
.modal.xlarge .modal-content {
    padding: 0.5rem 0rem;
    text-align: left;
}

/* close modal */
.close {
    color: #000;
    opacity: 0.5;
    float: right;
    font-size: 24px;
    top: -5px;
    position: relative;
    right: 0px;
}

.close:hover, .close:focus {
    opacity: 0.75;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .modal {
        padding: 48px 0px;
    }

    .modal-header {
        font-size: 150%;
    }

    .modal .modal-dialog {
        width: 90% !important;
    }
}