#global-modal.has-modal{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

#global-modal.has-modal .modal{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed !important;
    background: #0000000d;
}

#global-modal.has-modal .modal .modal-dialog{
    margin: 0 auto !important;
}

#global-modal.has-modal .modal .modal-content{
    max-height: 100vh;
    box-shadow: 6px 6px 20px rgb(93 93 93 / 16%);
    border: 1px solid #cdcdcd;
    border-radius: 12px;
}

#global-modal .modal-dialog.dragging {
    opacity: 0.8;
}
.modal-backdrop {
    display: none !important;
}

.modal.right .modal-dialog{
    width: 350px;
    position: fixed;
    right: 0;
    margin-top: 0;
}

.modal.right .modal-dialog, .modal.right .modal-content{
    height: 100%;
}

.modal-body{
    max-height: 82vh;
    overflow-y: auto;
    padding: 15px 25px;
}
.modal-body .modal-footer{
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}
.modal-header{
    position: relative;
    padding: 24px 25px 17px;
}
.modal-header .close{
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.modal-tab{
    /*margin-left: 20px;*/
}
.modal-tab >div{
    border-bottom: 0;
    margin-bottom: 0;
}
.modal-tab nav{
    padding-bottom: 0;
}
.modal-tab .tab-active-line{
    top: 45px;
    box-shadow: 3px 3px 12px #337ab79c;
}

.dataTables_wrapper .dt-buttons{
    display: flex;
    justify-content: end;
}
.tab-module nav button{
    background: #fff;
}
.tab-module nav button.tab.active{
    font-size: 18px;
}

.tab-active-line{
    display: none;
    width: 50%;
    height: 4px;
    border-radius: 50px;
    background: #337ab7;
    position: relative;
    top: -12px;
}
.tab-module.bottom .tab-active-line{
    display: none;
}
.tab-module.bottom nav button.tab.active p{
    position: relative;
}
.tab-module.bottom nav button.tab.active p:after{
    content: '';
    height: 3px;
    position: absolute;
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    bottom: -11px;
    background: var(--color-primary);
}

.active .tab-active-line{
    display: block;
}

.tab-module nav button.active p{
    position: relative;
    top: -2px;
}
