﻿.bootbox.msg .modal-header {
    padding: 5px 10px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.bootbox.msg .modal-header {
    padding: 5px 10px;
    background: #0a98b5;
    color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

    .bootbox.msg .modal-header h4 {
        font-size: 15pt;
    }

.bootbox.msg .modal-content {
    padding: 0 !important;
}

.bootbox.msg .modal-body {
    padding: 10px !important;
    overflow-y: auto;
    max-height: 50vh;
}

.bootbox.msg .modal-footer {
    padding: 5px 10px !important;
}

.p_loading {
    font-style: italic;
    font-weight: bold;
    color: #3a3948;
}

/*.modal-backdrop, .modal-backdrop.fade {
    background-color: #3c3f45;
    opacity: 0.5;
}*/

.bootbox.msg .modal-header.error {
    background: #dc3545;
}

.bootbox.msg .modal-header.success {
    background: #28a745;
}

.bootbox.msg .btn-outline {
    border: solid 1px;
    background: none;
}

.bootbox.msg .modal-dialog {
    margin-top: 5rem;
}

fieldset.sp {
    border: solid 1px #ccc;
    padding: 0 5px;
}

legend.sp, legend {
    font-size: 0.75rem;
    padding: 0px 10px;
    max-width: max-content;
    border: solid 1px #ccc;
}

/*custom alert*/
#mainAlert {
    position: absolute;
    top: 10px;
    right: 5px;
    max-height: 95%;
    overflow: auto;
    scrollbar-width: none;
    padding-top: 45px;
    width: 300px;
    padding-left: 10px;
    padding-right: 10px;
    background: #2b99cd12;
    border-radius: 4px;
}

.alert-dismissible .close {
    font-size: 1.2rem !important;
    padding: 0.7rem !important;
    height: 100%;
}


.wj-cell.wj-has-notes:after {
    position: absolute;
    content: '';
    width: 0;
    right: 0;
    top: -10px;
    border: 10px solid transparent;
    border-right: 10px solid red;
    opacity: .5;
}