html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

button.fas.fa-archive, button.fas.fa-undo {
    padding: 10px;
}

button .icon-check:before, button .icon-remove:before {
    font-size: 20px;
    top: 0px;
    position: relative;
    left: -3px;
    right: 0px;
}

button .icon-check {
    color: #27C827;
}

button .icon-remove {
    color: #C82727;
}

.e-btn .e-btn-icon, .e-css.e-btn .e-btn-icon {
    width: 1.1em;
}

.ml-10 {
    margin-left: 10px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.mb-05 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mt-10 {
    margin-top: 10px;
}

.p0 {
    padding: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}


.pl-0 {
    padding-left: 0 !important;
}

.hidden {
    display: none !important;
}

.no-border{
    border:none;
}

.logo img.img-fluid {
    padding: 50px;
}

#breadcrumb {
    display: none;
}

.breadcrumb, .breadcrumb a {
    color: #999;
    font-size: .8125rem;    
}

.breadcrumb-item.active {
    color: #2971a0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">" !important;
}

.e-toast-container {
    z-index:1003 !important;
}
/* Loading */
#loadingMsg.loading {
    display: none;
    position: fixed;
    z-index: 1052;
    opacity: 0.5;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ffffff url('/assets/images/loading.gif') 50% 50% no-repeat;
}

    #loadingMsg.loading p {
        position: relative;
        z-index: 1000;
        height: 100%;
        width: 100%;
        text-align: center;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 20px;
        top: 50%;
    }
/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
   modal element will be visible */
    body.loading .loading {
        display: block !important;
    }

.form-control:disabled, .form-control[readonly] {
    background-color: #eff2f7;
    opacity: 1;
}

.card-header.grid {
    background-color: #fff !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    color: #556ee6 !important;
    padding: 0.75rem 0rem;
}

.left-section {
    display: flex;
    align-items: center;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 1rem; /* space between checkbox, search, and button */
}

.e-checkbox-wrapper.e-wrapper.show-all-cb {
    width: 80px;
}

.card-header {
    padding: .75rem .75rem;
}

.grid-title {
    font-weight: bold;
}

.e-checkbox-wrapper .e-frame, .e-css.e-checkbox-wrapper .e-frame {    
    height: 15px;
    line-height: 14px;
    width: 15px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus {
    border-color: transparent !important;
    box-shadow: none !important;
}

.form-control:focus, .form-check-input:focus {
    border-width: 2px;
    border-color: #ced4da;
}

.accordion .btn {
    text-align: left !important;
}

.accordion .card-body {
    background: #FFF;
}

.accordion .card .btn-header-link, #form .card-header, #jobsContainer .card-header {
    display: block;
    text-align: left;
    background: #4dc8f059 !important;
    color: #2a3042 !important;
    padding: 20px;
    min-height: 62px;
}

    .accordion .card .btn-header-link:after {
        content: "\f107";
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        float: right;
        top: 5px;
        position: absolute;
        right: 25px;
    }

    .accordion .card .btn-header-link.collapsed:after {
        content: "\f106";
    }

.e-pager .e-currentitem, .e-pager .e-currentitem:hover {
    background-color: #4dc8f059 !important;
    color: #556ee6 !important;
}

.grid-900 {
    max-width: 900px !important;
}

.grid-1200 {
    max-width: 1200px !important;
}

.unblock-user{
    display:none;
}

.blocked {
    background-color: #ff000033;
}

    .blocked .unblock-user{
        display:block;
        cursor: pointer;
        color: red;
    }

td.e-rowcell.e-unboundcell {
    text-align: left !important;
}

.hide-approved-deny .e-unboundcelldiv button:nth-child(1), .hide-approved-deny .e-unboundcelldiv button:nth-child(2) {
    display: none;
}

.hide-edit .e-unboundcelldiv button:nth-child(4) {
    display: none;
}

.hide-archive .e-unboundcelldiv button:nth-child(3) {
    display: none;
}

.required-warning {
    background-color: #ff000021 !important;
}

    .required-warning .e-rte-container .e-rte-content {
        background-color: #ff000000 !important;
    }


input[type=date].form-control {
    width: 170px;
}

/* Comments */
.comment-date {
    font-weight: 100;
}

.comment-column {
    padding: 15px;
    background-color: #f8f8fb;
    width: 70%;
    border-left: 3px solid #3888d9;
    max-width: 700px;
    margin-bottom: 5px;
}

    .comment-column .comment-by .kind-event, .comment-column .value {
        font-weight: 100;
    }

.comments-container {
    float: left;
    margin: 30px 0;
    padding: 0 11px;
    width: 100%;           
}


    .comments-container .comment {        
        border-bottom: 2px solid #eee;       
        border-image-slice: 1 !important;
        padding-bottom: 0;
        float: left;
        width: 100%;
    }
        .comments-container .comment .comment-container {
            background-color: #f8f8f8a3;
            border-left: 5px solid #eee;
            border-radius: 0;
            float: left;
            margin-bottom: 20px;
            margin-left: -30px;
            margin-top: 20px;
            padding: 16px 32px 16px 15px;
            width: calc(100% + 30px) !important;
        }      

        .comments-container .comments-summary span.user-name {
            font-weight: 600;
        }

        .comments-container .comments-summary .comment-text {
            padding:30px 0;
        }

    .comments-container .comments-summary .comment-commands {
        float: right;
        position: relative;
        right: -15px;
        top: -35px;
    }

    .comments-container .comments-summary .comment-commands .e-btn-icon{
        border: solid 1px #ccc;
        border-radius:10px;
        padding:5px;
        cursor:pointer;
        margin-left:5px;
    }

        .comments-container .comments-summary .comment-commands .e-btn-icon.e-delete:before {
            content: '\e84e';
        }
    
    .initial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2a3042;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    float: left;
}

.new-comment-container {
    background-color: #f8f8f8a3;
    border-left: 5px solid #2a3042;
    border-radius: 0;
    float: left;
    margin-left: -20px;
    margin-top: 20px;
    padding: 16px 32px 16px 15px;
    width: calc(100% + 8px) !important;
}    

.rte-container, .comments-container .comments-summary {
    float: right;
    width: calc(100% - 50px);
}

    .rte-container input {
        position: relative;
        top: 2px;
    }

    #editComment{
        width:100%;
    }

/* Syncfusion rte*/
.e-popup-open {
    min-height: 100px;
    height: auto;
}

.main-content {
    overflow: visible;
}

/* Syncfusion grid */
.e-grid {
    border-color: #fff;
}

.e-grid .e-gridpopup {
    display: none;
}

.e-grid .e-content {
    height: auto;
    overflow-y: auto;
}

#gridsearch {
    width: 200px;
}

td.e-detailrowcollapse, .e-detail-intent {
    min-width: 30px !important;
}

.e-pagerexternalmsg {
    display: none !important;
}

span.dept-icon {
    border: 1px solid #74788d;
    padding: 5px;
    border-radius: 10px;
}

.label-title label {
    color: #2a3042 !important;
    font-weight: 600;
    font-size: 16px;
    color: #FFF;
}

.fa-users::before {
    content: "\f0c0";
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .mini-stats-wid .mini-stat-icon {
        height: 2.2rem;
        width: 2.2rem;
        overflow: hidden;
        position: absolute;
        right: 10px;
        bottom: 10px;
    }

    .mini-stat-icon .fa-home,
    .mini-stat-icon .fa-file-alt,
    .mini-stat-icon .fa-check-circle,
    .mini-stat-icon .fa-cogs {
        font-size: 16px !important;
    }

    .page-content {
        padding: calc(70px + 24px) calc(0px / 2) 60px calc(0px / 2);
    }

    .comments-container {
        float: left;
        margin: 30px 0;
        padding: 0 0px 0 8px;
        width: calc(100% + 15px);
    }

        .comments-container .comment .comment-container{
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .comments-container .comments-summary .comment-commands {            
            right: 5px;
        }        
}

.btn-primary {
    background-color: #2993d1;
    border-color: #2993d1;
    color: #fff;
}

    /* Hover & focus state: darken by ~7.5% */
    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #2357b1; /* approximated darkened color */
        border-color: #2357b1;
        color: #fff;
    }

    /* Active state: darken by ~10% */
    .btn-primary:active,
    .btn-primary.active,
    .show > .btn-primary.dropdown-toggle {
        background-color: #2152a6; /* approximated darkened color */
        border-color: #2152a6;
        color: #fff;
    }

    /* Focus shadow (optional) */
    .btn-primary:focus, .btn-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(41, 147, 209, 0.5);
    }

.bg-soft-primary {
    background-color: #2993d142 !important;
}

.text-primary {
    color: #2993d1 !important;
}

.list-style-none{
    padding-left: 0;
}

.list-style-none li {
    list-style: none;
}

.verification-container {
    display: flex;
    justify-content: center;
    margin: calc(20px - .5rem) 0 20px;
}

.verification-code {
    width: 30px;
    text-align: center;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #ccc; /* Acts as an underscore */
    margin: 0 5px;
    outline: none;
}

.footer.footer-account{
    left: 0 !important;
}

.completed {
    color: green;
}

.e-grid .e-delete::before, .e-grid .e-cancel-icon::before {
    background: #fff;
    border-color: #fff;
}

.e-grid .e-edit::before, .e-grid .e-update::before {
    background: #fff;
    border-color: #fff;
}

/* hide the summary container when it has no errors */
.validation-summary-valid ul {
    display: none !important;
}
/* show it when it has errors */
.validation-summary-errors ul {
display: block !important;
}

#revisionComment {
   padding-left:13px;
}

    #revisionComment .comment-column {
        max-width: 100%;
    }
