body.elayer-document{
    padding: 0;
}
iframe.elayer_iframe{
    border: 0;
    width: 100%;
    transition-duration: 0.05s;
}
body:not(.elayer-document) .show-in-modal,
body.elayer-document .hidden-in-modal{
    display: none;
}
.modal .loader > .loader-inner > div{
    background-color: black;
}
.modal-body{
    min-height: 50px;
}
.modal .modal-body:not(.loading) .elayer-loader{
    opacity: 0;
    pointer-events: none;
}

.modal .elayer-loader{
    background-color: rgba(255,255,255,0.8);
    transition-duration: 0.1s;
    cursor : wait;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position : absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.modal .elayer-loader > .loader{
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}