body.modal-open {
    padding-right: 0 !important;
    max-height: 100%
}

.modal {
    padding: 0 !important;
}

.modal-header {
    padding: 7px 15px 5px;
    min-height: 45px;
    position: relative;
}

.modal-header .close {
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 15px;
}

.modal-header h4 {
    margin: 0;
    font-size: 20px;
}

.modal-title {
    font-weight: bold;
}

.modal-footer {
    padding: 0px 5px;
}

.modal-footer .title {
    text-align: left;
    font-size: 12px;
}

/*.modal-body {overflow: auto;}*/

.bs-alert i.left {
    font-size: 55px;
    left: 15px;
    margin-top: -25px;
    position: absolute;
    top: 50%;
}

.bs-alert .message {
    font-size: 16px;
    line-height: 24px;
    padding-left: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bs-alert .modal-body {
    padding: 30px 15px;
}

.rf-modal-image {
    text-align: center;
}

.rf-modal-image img {
    width: 100%;
    height: auto;
}

.rf-modal-image .modal-footer {
    display: none;
}

.rf-modal-image .modal-header {
    border-bottom: 0 none;
    min-height: 30px;
    padding: 5px 15px 0;
}

.rf-modal-image .modal-body {
    padding: 5px 15px 15px;
}

.modal.footer-none .modal-footer {
    display: none !important;
}

/* clear modal header */
.modal.header-none .modal-header {
    padding: 0;
    min-height: 0;
    height: 0;
    border: none;
}

.modal.header-none .modal-header .modal-title {
    display: none;
}

.modal.header-none .modal-header .close {
    top: -5px;
    right: -5px;
    padding: 3px 7px;
    border-radius: 20px;
    background-color: #fff;
    font-size: 18px;
    z-index: 999;
    opacity: 1;
}

.modal.header-none .modal-content:hover .modal-header .close:hover {
    color: #ee4444;
}
