
.overlay {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    z-index: 20;
    transition: .3s all;
 }
 
 .modal {
    opacity: 0;
    visibility: hidden;
    width: 100%;
    max-width: 900px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0);
    z-index: 30; 
    text-align: center;
    padding: 17px;
    border-radius: 3px;
    transition: 0.3s all;
 }
 .modal_content {
    box-shadow: 0 3px 10px -.5px rgba(0, 0, 0, .2); 
    background-color: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
 }
 .modal_title {
     display: flex;
     flex-direction: row;
     text-align: left;
     color: #FFF;
     justify-content: space-between;
     padding: 5px 10px;
     background-color: var(--main-color);
     height: fit-content;
 }
 
@media screen and (max-width: 600px) {
    .modal.active{
        width: 85% !important;
    }
}

 .modal.active,
 .overlay.active{
    opacity: 1;
    visibility: visible;
 }
 
 .modal_btn__close {
    top: 0;
    right: 0;
    width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 15px;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: rgba(0, 0, 0, 0);
    color: #FFF;
    cursor: pointer;
 }
 
 .modal_downToolbar_class {
     position: absolute;
     bottom: 17px;
 }
 
 .modal_btn {
     height: 30px;
 }

 #viewModalDialog .exinTableContent td {
   padding: 5px;
}