
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    /* z-index: 3000; */
}

.modal-box {
    margin: auto;
}

.modal .modal-content {
    background: white;
    border-radius: 5px;
    width: calc(100vw - 20px);
    margin: 10px;
    overflow: hidden;
    margin-bottom: 70px;
}

@media only screen and (min-width: 500px) {
    .modal .modal-content {
        width: 400px;
    }
}

.modal .modal-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.modal .modal-content .modal-header .modal-header-title {
    font-weight: 600;
    font-size: 18px;
}

.modal .modal-content .modal-header .modal-header-close {
    cursor: pointer;
}

.modal .modal-content .modal-header .modal-header-close img {
    width: 17px;
}

.modal .modal-content .modal-body {
    padding: 0px 20px;
}

.modal .modal-content .modal-body .exclamation-mark  {
    width: 70px;
    margin: 0px auto;
}

.modal .modal-content .modal-body .message {
    text-align: center;
    padding: 25px 0px 25px 0px;
    font-weight: 500;
}

.modal .modal-content .modal-body .modal-block {
    width: 100%;
    border: 1px solid lightgrey;
    padding: 30px;
    border-radius: 5px;
    cursor: pointer;
}

.modal .modal-content .modal-body .modal-block img {
    width: 30px;
    margin: 0px auto;
}

.modal .modal-content .modal-footer {
    padding: 40px 20px 20px 20px;
}

.modal .modal-content .modal-footer button {
    width: 100%;
}

/* MODAL SEARCH */
#header-modal-search .form input {
    background-color: whitesmoke;
    border: 0px;
    border-radius: 15px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
}

#header-modal-search #header-suggestion-list {
    border: 1px solid #ccc;
    background-color: white;
    color: black;
    max-height: 300px;
    overflow-y: auto;
    /* display: none; */
    z-index: 1000;
}

#header-modal-search #header-suggestion-list div {
    padding: 10px;
    cursor: pointer;
}

#header-modal-search #header-suggestion-list div:hover {
    background-color: #f0f0f0;
}