.modal-overflow-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
    -webkit-transform: translateZ(0);
    z-index: 6000;
}

div.modal-open {
    width: auto;
    position: absolute;
    overflow: auto;
    display:flex;
    display:-webkit-flex;
    display: -ms-flexbox;
    align-items: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -webkit-justify-content: center;
}

div.modal-open.overflowing-y {
    top: 0 !important;
}

div.modal-open.overflowing-x {
    left: 0 !important;
}

div.modal-open.overflowing-both {
    left: 0 !important;
}

html.modal-showing {
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    html.modal-showing body {
        overflow-x: hidden;
    }

    div.modal-open {
        position: -ms-device-fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: auto !important;
        transform: translate(0%, 0%);
        -webkit-overflow-scrolling: touch;
    }

    div.modal-open .modal-body div {
        max-height: none !important;
    }

    div.modal-open .modal-body {
        border-radius: 0;
        padding:0;
    }
}

.modal-screen {
    pointer-events: none;
    position: fixed;
    top: 0;
    bottom: -9999px;
    left: 0;
    right: -9999px;
    opacity: 0.7;
    filter: alpha(opacity=70);
    background: #000;
}

.modal-close-button {
    border: none;
    cursor: pointer;
    color: white;
    position:absolute;
    top:15px;
    right:15px;
    z-index:5

}

.modal-add-button {
    border: none;
    cursor: pointer;
    color: white;
    position:absolute;
    top:15px;
    right:55px;
    z-index:5

}

.modal-processing {
    position:absolute;
    top:15px;
    right:45px;
}

.modal-header {
    border: none !important;
    padding: 0 15px;
}

.modal-body {
    border-radius:12px;
    margin:auto;
    background: #f2f2f2;
}

h1.modal-title {
    margin-top:0;
    margin-bottom:10px;
    line-height:1;
}

.modal-foot {
    padding-top:15px;
}

.closed-modal {
    display: none;
}

.ui-datepicker {
    z-index: 10000 !important;
}

.report-button {
    border: #999 1px solid;
    border-radius: 4px;
    background: #8E8EF0;
    color: white;
    display: inline-block;
    padding: 6px;
    font-size: 13px;
}

.report-hierarchy {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-left: black 1px solid;
    border-bottom: black 1px solid;
    margin-left: 15px;
    margin-right: 4px;
}
