#page-wrapper {
    position: relative;
    transition: all 0.6s;
    min-height: 500px;
    overflow: scroll;
    height: calc(100vh - 75px);
    padding-bottom: 0px;
}

label.title {
    font-size: 13px;
    font-weight: 300;
    /* color: #828282; */
    color: #565656;
    margin-bottom: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-footer {
    font-size: 13px;
    position: fixed;
    left: 0px;
    width: 100%;
    bottom: 0px;
    z-index: 9;
    padding: 2px 30px;
    color: #58666e;
    background: #fff;
    /* box-shadow: 0px 0px 125px -20px #000; */
    box-shadow: 0px 0px 60px -10px #000;
}

.footer-toolbar {
    position: fixed;
    bottom: 0px;
    width: 100%;
    margin-bottom: 0px;
    z-index: 100;
    box-shadow: 0px -20px 100px -30px;
    border-top: 1px solid #ebeff2;
    left: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-toolbar button {
    min-width: 80px;
}

.nav-tabs .nav-item a {
    min-width: 140px;
    text-align: center;
}
.nav-tabs .nav-item.active a {
    color: #007bff !important;
}

.datepicker--cell.-current- {
    color: #4EB5E6;
    border: 1px solid #4EB5E6;
}

.card-body {
    padding-top: 46px;
    position: relative
}

.note_created_at {
    background: #ffc907;
    padding: 5px 5px;
    position: absolute;
    width: 50%;
}

.note_created_by_name {
    background: #315294;
    padding: 5px 8px;
    position: absolute;
    left: 50%;
    color: #fff;
    width: 50%;
}

.error_custom {
    color: #e23131;
}

.teamplate_message {
    border: 1px solid #cbc3ae;
    border-radius: 5px;
    height: 355px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #ffffff;
    max-width: 375px;
    margin: auto;
}

.icon_template {
    font-size: larger;
    font-weight: bold;
    color: #cbc3ae;
    font-size: 45px;
}

.button-configure {
    width: 320px;
    left: calc(50% - 160px);
    position: absolute;
    background: #fff;
    border: 1px solid #cbc3ae;
    z-index: 10;
    border-radius: 3px;
    box-shadow: 0px 20px 100px -50px #000;
    padding: 15px;
}

.form-control-alert {
    color: #e23131;
    font-weight: 400;
    display: none;
}

.invalid input {
    background-size: 100% 1px, 100% 1px !important;
    transition-duration: .3s !important;
    background-image: linear-gradient(#e23131, #e23131) !important;
}

.invalid .form-control-alert {
    display: block;
}

#history_message_log .grid-header th {
    text-align: center;
}

.btn.focus, .btn:focus, .btn:hover {
    outline: none !important;
}

#top_bar_menu_popup {
    overflow: hidden;
    position: absolute;
    top: 70px;
    left: -500px;
    width: 500px;
    height: auto;
    z-index: 991;
    margin-right: 4px;
    max-width: 100%;
    max-height: calc(-61px + 100vh);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 3px 0px;
    opacity: 0
}

#message_filter .btn-clear {
    width: 40px;
    font-size: 17px;
    padding: 9px 5px;
    text-align: center;
    font-weight: 100;
    height: 38px;
    border-bottom: 0.5px solid #edeff0;
    color: #0000001c;
    transition: all 0.2s;
}
#message_filter .filter-item .btn-clear:hover {
    color: #848484;
}

#timeline .timeline-item .timeline-content h2, #timeline .timeline-item .timeline-content h3 {
    font-size: 18px;
    padding: 5px 10px;
}

#timeline .timeline-item .timeline-content h2, #timeline .timeline-item .timeline-content .bell-time {
    position: absolute;
    right: 7.5px;
    font-size: 14px;
    top: 5px;
}

ul.timeline {
    list-style-type: none;
    position: relative;
    padding-top: 1px;
    padding-bottom: 0px;
}

ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 10px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline>li {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

ul.timeline>li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    /* border: 3px solid #22c0e8; */
    border: 3px solid #007bff;
    left: 5px;
    width: 10px;
    height: 10px;
    z-index: 400;
}
.timeline p {
    font-size: 90%;
}

.comment-center .user-img {
    width: 50px;
}
.comment-center .comment-body {
    width: 100%;
    padding: 15px 25px;
}
.comment-center .mail-contnet {
    /* position: relative; */
}
.comment-center .mail-contnet .mail-desc {
    /* height: 25px; */
    font-size: 13px;
}
.comment-center .mail-contnet .time {
    /* position: absolute; */
    /* top: 0px; */
    /* right: 0px; */
}


.btn-phone-call {
    position: absolute;
    top: calc(50% - 3rem/2 - 5px);
    right: 25px;
    font-size: 3.5rem;
    color: #ff5e00;
    cursor: pointer;
    transition: all 0.4s;
    background: #fff;
}

.btn-phone-call:hover, .btn-phone-call:active {
    color: #ff3b00;
    transform: scale(1.1);
}

.jq-toast-wrap.top-right {
    top: 63px;
    right: 15px;
}
.jq-toast-wrap .jq-toast-single {
    border-radius: 3px;
}
.jq-toast-wrap .jq-toast-single .jq-toast-loader {
    bottom: -1px;
    height: 3px;
}
.jq-toast-wrap .jq-toast-single.jq-icon-success {
    background-color: #28a745;
}
.jq-toast-wrap .jq-toast-single.jq-icon-info {
    background-color: #17a2b8;
}
.jq-toast-wrap .jq-toast-single.jq-icon-warning {
    background-color: #ffc107;
}
.jq-toast-wrap .jq-toast-single.jq-icon-error {
    background-color: #dc3545;
}

.config .nav-tabs .nav-item.active a.nav-link {
    color: #007bff !important
}




.progress-title{
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 0 0;
    line-height: 24px;
}
.progress-title .current-rank {
    color: #28a745;
}
.progress{
    height: 12px;
    line-height: 12px;
    border-radius: 12px;
    background: #f0f0f0;
    margin-bottom: 15px;
    box-shadow: none;
    overflow: visible;
}
.progress .progress-bar{
    position: relative;
    border-radius: 20px;
    animation: animate-positive 2s;
}
.progress .progress-percent {
    position: absolute;
    right: 0px;
    top: -15px;
    color: #000;
    font-size: 10px;
}
.progress .progress-value{
    display: block;
    font-size: 11px;
    color: #fff;
    position: absolute;
    top: 0;
    right: 8px;
}

.coupon-promotion-dropdown input.form-control {
    border-left: 0 none;
    border-radius: 0;
    border-right: 0 none;
    border-top: 0 none;
    box-shadow: none;
    padding-left: 0;
}
.coupon-promotion-dropdown input, .coupon-promotion-dropdown .dropdown-menu li a {
    font-size: 12px;
}

@-webkit-keyframes animate-positive{
    0% { width: 0%; }
}
@keyframes animate-positive{
    0% { width: 0%; }
}




@media (max-width:414px) {
    .container-fluid {
        padding: 7.5px;
    }
    .bg-title {
        margin-left: -7.5px;
        margin-right: -7.5px;
        padding: 7.5px;
    }
    .white-box {
        padding: 7.5px;
    }
    #header_tenant_select {
        width: 82px;
        margin: 0px !important;
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
    #top_bar_menu {
        font-size: 17px !important;
    }
    .avatar-circle {
        margin-right: 0px;
    }
}

/* MOBILE SCREEN */

@media (min-width:415px) and (max-width:767px) {
    #top_bar_menu_popup {}
}

@media (min-width:768px) {
    #page-wrapper.minimize {
        width: calc(100% - 60px - 300px);
    }
    #mobile_space_container {
        overflow: scroll;
        padding-bottom: 150px;
    }
    .footer-toolbar {
        width: calc(100% - 60px);
        left: 60px;
    }
}

@media (min-width:1024px) {
    #page-wrapper.minimize {
        width: calc(100% - 60px - 300px);
    }
    #mobile_space_container {
        position: absolute;
        top: 42px;
        right: 0px;
        width: 300px;
        height: calc(100% - 60px);
        z-index: 100;
        background: #ffffff;
        border-left: 1px solid #ebeff3;
        overflow: scroll;
        padding: 25px 15px 170px 15px;
        margin-bottom: 0px;
    }
    .footer-toolbar {
        width: calc(100% - 60px);
        left: 60px;
    }
    #top_bar_menu_popup {
        /* left: 75px; */
    }
}

@media (min-width:1170px) {
    #page-wrapper.minimize {
        width: calc(100% - 220px - 300px);
    }
    #mobile_space_container {
        position: absolute;
        top: 42px;
        right: 0px;
        width: 300px;
        height: calc(100% - 60px);
        z-index: 100;
        background: #ffffff;
        border-left: 1px solid #ebeff3;
        overflow: scroll;
        padding: 25px 15px 170px 15px;
        margin-bottom: 0px;
    }
    .footer-toolbar {
        width: calc(100% - 60px);
        left: 60px;
    }
    #top_bar_menu_popup {
        /* left: 230px; */
    }
}

/* style quick care */
.save-quick-care:hover{
    background-color:  #e6e6e6;
    padding: 10px;
    border-radius: 1000px;
}
.save-quick-care{
    padding: 10px;
    cursor: pointer;
    border-radius: 1000px;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 35px;
    height: 35px;
}
.close-quick-care:hover{
    background-color:  #e6e6e6;
    padding: 10px;
    border-radius: 1000px;
}
.close-quick-care{
    padding: 10px;
    cursor: pointer;
    border-radius: 1000px;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 35px;
    height: 35px;
}
  