/**
 * Common
 */
.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.ml-0 {
    margin-left: 0 !important;
}

.fs-7 {
    font-size: .75rem !important;
}

.fs-8 {
    font-size: .5rem !important;
}

.html-template {
    display: none;
}

.table tr.linkable {
    cursor: pointer !important;
}

.table tr.linkable:hover td {
    background: rgba(51, 53, 72, 0.05);
}

.preloader-global {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 15px
}

.preloader-global img {
    width: 200px
}

.preloader-global span {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 15px
}

.preloader-global .preloader-icon {
    border-radius: 50%;
    border: 5px solid #fff;
    border-top-color: #2E37A4;
    width: 50px;
    height: 50px;
    margin-left: 10px;
    -webkit-animation: spin .3s linear infinite;
    animation: spin .3s linear infinite
}

.preloader-page {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 100px;
    width: 100px;
    margin: -50px 0 0 -50px;
    background-image: url("/assets/img/loader.gif");
    background-repeat: no-repeat;
    background-position: center;
}

/**
 * Default page
 */
.good-morning-blk:before {
    background-image: url(../img/good-morning-bg-img-02.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100%;
    width: 100%;
    opacity: .5;
    border-radius: 12px;
}

/**
 * Notifications header
 */
.notifications ul.notification-list > li a,
.notifications ul.notification-list > li > span {
    display: block;
    padding: 12px;
    border-radius: 2px;
}

.notifications ul.notification-list > li a:hover,
.notifications ul.notification-list > li > span:hover {
    background-color: #fafafa;
}

.notifications ul.notification-list .notification-message.unread .noti-details {
    color: #333 !important;
}

/**
 * Notifications table
 */
#notifications-table tr.read td {
    color: #a3a4b8 !important;
}

/**
 * Pagination.
 */
.page-item.active .page-link {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #2e37a4;
}

.page-item.current .page-link {
    background-color: #2e37a4;
    border-color: #2e37a4;
    color: #fff;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: #c7cacd;
    border-color: #c7cacd;
}

/**
 * Buttons
 */
.btn[disabled] {
    cursor: not-allowed !important;
}

.btn-outline-primary {
    border-color: #2E37A4;
    color: #2E37A4;
}

.stage-fields-row .btn[disabled] {
    border: none;
}

.add-group .btn .text {
    display: inline-block;
    margin-right: 5px;
}

.add-group .btn-with-text {
    width: auto;
}

.add-group .btn-primary:hover .text {
    filter: invert(1) brightness(100);
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

/**
 * List box
 */
.list-box {
    margin-bottom: .5rem;
}

.list-box .list-item:last-child {
    border-bottom: none;
}

/**
 * Button/links/icons loading
 */
button.loading .spinner-border, button.loading .loading-text {
    display: inline-block !important;
}

button.loading .text {
    display: none;
}

a.action-icon:not(.loading) .fa-spinner,
span.action-icon:not(.loading) .fa-spinner {
    display: none;
}

a.action-icon.loading i:not(.fa-spinner),
span.action-icon.loading i:not(.fa-spinner) {
    display: none;
}

a.action-icon[disabled],
span.action-icon[disabled] {
    color: #ddd;
    /*cursor: default;*/
}

/*a.action-icon.loading i.spinner-border {*/
/*    display: inline-block !important;*/
/*}*/

/*a.action-icon.loading i:not(.spinner-border) {*/
/*    display: none;*/
/*}*/

/**
 * Sidebar
 */
.mini-sidebar .header-left .logo img:nth-child(2) {
    display: none;
}

.sidebar-menu ul li .active span {
    font-weight: bold;
}

/**
 * Fixed footer
 */
.fixed-footer {
    position: fixed;
    bottom: 0;
    /*left: 0;*/
    right: 0;
    height: 50px;
    z-index: 997;
}

.fixed-button-footer {
    right: 18px;
    /*right: 1.5rem;*/
    /*right: 350px;*/
    /*left: 350px;*/
    bottom: 10px;
    padding: 5px;
    height: auto;
    background-color: rgba(0, 0, 0, .1);
    border-radius: 15px;
}

/*@media (max-width: 1200px) {*/
/*    .fixed-button-footer {*/
/*        left: 1.5rem !important;*/
/*    }*/
/*}*/

/**
 * Forms
 */
.form-group.local-forms {
    min-height: 53px;
}

.input-group .form-group {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) .select2-selection--single {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group > .form-group:not(:last-child) .select2-container .select2-selection--single,
.input-group > .form-group:not(:last-child) input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > span {
    cursor: pointer;
}

.input-group.disabled > span {
    background: #eee;
    cursor: not-allowed;
}

.profile-check-blk .remember-me {
    margin-bottom: 0;
}

.local-forms.input-block {
    position: relative;
    margin-bottom: 30px;
}

.local-forms label {
    font-size: 12px;
    color: #333448;
    font-weight: 500;
    position: absolute;
    top: -10px;
    left: 10px;
    background: #fff;
    margin-bottom: 0;
    padding: 0px 5px;
    z-index: 99;
    line-height: 18px;
}

.local-forms .select2-container .select2-selection--single {
    height: 45px;
}

.local-forms .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px;
}

.local-forms .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.form-check-input:hover, .form-check-label:hover {
    cursor: pointer;
}

.inputgroups textarea {
    width: 100%;
    min-height: 52px;
    padding-left: 32px;
    background: rgba(46, 55, 164, 0.05);
    border-radius: 12px;
    border: 0;
    padding-right: 100px;
    field-sizing: content;
    overflow: auto;
}
.inputgroups textarea::placeholder {
    font-size: 14px;
    color: rgba(51, 52, 72, 0.3);
    padding-top: 13px;
}

.select2-container.select2-container--default.select2-container--open {
    z-index: 99999;
}

/**
 * Dropdown action labels
 */
.dropdown.action-label:not(.disabled) > .custom-badge {
    cursor: pointer;
}

.dropdown.action-label .dropdown-item.selected {

}

/**
 * Offcanvas
 */
.offcanvas-resize-wrapper {
    position: relative;
}

.offcanvas-resizer {
    position: absolute;
    left: -5px;
    width: 10px;
    height: 2000px;
    cursor: col-resize;
}

.offcanvas-resize-stroke:hover, .offcanvas-resizer:hover + .offcanvas-resize-stroke {
    background: #00d3c7;
}

.offcanvas-resize-stroke {
    position: absolute;
    left: -1.5px;
    width: 3px;
    height: 2000px;
    cursor: col-resize;
}

/**
 * Slim scrolls
 */
.off-canvas-stage-comments .slimScrollDiv {
    margin-bottom: -32px !important;
}

/**
 * File uploader
 */
.custom-file-container {
    box-sizing: border-box;
    position: relative;
    display: block;
}

.custom-file-container label {
    color: #2E37A4;
}

.custom-file-container__custom-file {
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
    margin-top: 5px;
}

.custom-file-container__custom-file:hover {
    cursor: pointer;
}

.custom-file-container__custom-file__custom-file-input {
    box-sizing: border-box;
    min-width: 14rem;
    max-width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-container__custom-file__custom-file-input:focus ~ span {
    outline: 1px dotted #dddde0;
    outline: 0px auto -webkit-focus-ring-color;
}

.custom-file-container__custom-file__custom-file-control {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: auto;
    overflow: hidden;
    line-height: 1.5;
    user-select: none;
    background-clip: padding-box;
    border-radius: 0.25rem;
    height: auto;
    border: 1px solid #f1f2f3;
    color: #3b3f5c;
    font-size: 15px;
    padding: 8px 10px;
    letter-spacing: 1px;
    background-color: #f1f2f3;
}

.custom-file-container__custom-file__custom-file-control__button {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 6;
    display: block;
    height: auto;
    padding: 10px 16px;
    line-height: 1.25;
    background-color: #bdbdbd;
    color: #ffffff;
    border-left: 1px solid #e0e6ed;
    box-sizing: border-box;
}

.custom-file-container__image-preview {
    box-sizing: border-box;
    margin-top: 54px;
    margin-bottom: 40px;
    height: 250px;
    width: 100%;
    border-radius: 4px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    overflow: auto;
    padding: 15px;
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.custom-file-container__image-multi-preview {
    position: relative;
    box-sizing: border-box;
    border-radius: 6px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    float: left;
    margin: 1.858736%;
    width: 29.615861214%;
    height: 90px;
    box-shadow: 0 4px 10px 0 rgba(51, 51, 51, 0.25);
    -webkit-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container__image-multi-preview__single-image-download,
.custom-file-container__image-multi-preview__single-image-zoom {
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    margin-top: -6px;
    border-radius: 50%;
    box-shadow: 0 4px 10px 0 rgba(51, 51, 51, 0.25);
    position: absolute;
    left: -6px;
    font-size: 2rem;
    display: none;
}

.custom-file-container.single.has-files .custom-file-container__image-multi-preview__single-image-clear {
    display: block;
}

.custom-file-container.single[data-file-id] .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.single[data-file-id] .custom-file-container__image-multi-preview__single-image-download {
    display: block;
}

.custom-file-container.multiple .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.multiple .custom-file-container__image-multi-preview__single-image-download {
    display: block;
}

/*.custom-file-container__image-preview.has-files .custom-file-container__image-multi-preview__single-image-clear,*/
/*.custom-file-container__image-preview.has-files .custom-file-container__image-multi-preview__single-image-download,*/
/*.custom-file-container__image-preview.has-files .custom-file-container__image-multi-preview__single-image-zoom {*/
/*    display: block !important;*/
/*}*/

.custom-file-container.uploading .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.uploading .custom-file-container__image-multi-preview__single-image-download,
.custom-file-container.uploading .custom-file-container__image-multi-preview__single-image-zoom {
    display: none !important;
}

.custom-file-container.multiple .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.multiple .custom-file-container__image-multi-preview__single-image-download,
.custom-file-container.multiple .custom-file-container__image-multi-preview__single-image-zoom {
    /*position: absolute !important;*/
    left: -14px;
    top: -8px;
    width: 30px;
    height: 30px;
}

.custom-file-container.multiple .custom-file-container__image-multi-preview__single-image-download {
    top: 28px;
}

.custom-file-container__image-multi-preview__single-image-clear:hover,
.custom-file-container__image-multi-preview__single-image-download:hover,
.custom-file-container__image-multi-preview__single-image-zoom:hover {
    background: #cbcbbd;
    cursor: pointer;
}

.custom-file-container__image-multi-preview__single-image-clear__icon,
.custom-file-container__image-multi-preview__single-image-download__icon,
.custom-file-container__image-multi-preview__single-image-zoom__icon {
    color: #2E37A4;
    display: block;
    /*margin-top: -2px;*/
    margin-top: 0px;
    line-height: 40px;
    height: 30px;
}

/**
 * File add icon
 */
.custom-file-container.multiple .custom-file-container__image-multi-preview.custom-file-container__image-multi-preview--add {
    background-image: url('/assets/img/icons/plus.svg') !important;
    background-size: 100% !important;
    background-position-x: left;
    cursor: pointer !important;
    box-shadow: none;
    width: 40px !important;;
}

.custom-file-container.multiple.disabled .custom-file-container__image-multi-preview.custom-file-container__image-multi-preview--add {
    cursor: default !important;
}

/**
 * File uploader upload/remove progress
 */
.custom-file-container__image-preview .uploading-progress {
    display: none;
}

.custom-file-container.single.uploading .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.single.deleting .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.single.uploading .custom-file-container__image-multi-preview__single-image-zoom,
.custom-file-container.single.deleting .custom-file-container__image-multi-preview__single-image-zoom,
.custom-file-container.multiple .custom-file-container__image-multi-preview.uploading .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.multiple .custom-file-container__image-multi-preview.uploading .custom-file-container__image-multi-preview__single-image-download,
.custom-file-container.multiple .custom-file-container__image-multi-preview.uploading .custom-file-container__image-multi-preview__single-image-zoom
.custom-file-container.multiple .custom-file-container__image-multi-preview.deleting .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.multiple .custom-file-container__image-multi-preview.deleting .custom-file-container__image-multi-preview__single-image-download,
.custom-file-container.multiple .custom-file-container__image-multi-preview.deleting .custom-file-container__image-multi-preview__single-image-zoom {
    display: none !important;
}

.custom-file-container.single.uploading .custom-file-container__image-preview,
.custom-file-container.single.deleting .custom-file-container__image-preview,
.custom-file-container.multiple .custom-file-container__image-multi-preview.uploading,
.custom-file-container.multiple .custom-file-container__image-multi-preview.deleting {
    background-image: url('/assets/plugins/slick/ajax-loader.gif') !important;
    background-size: 70% !important;
}

.custom-file-container.single.uploading .custom-file-container__image-preview .uploading-progress,
.custom-file-container.multiple .custom-file-container__image-multi-preview.uploading .uploading-progress {
    display: block;
    opacity: .5;
    font-size: 20px;
    font-weight: 900;
    line-height: 130px;
    text-align: center;
}

.custom-file-container.multiple .custom-file-container__image-multi-preview.uploading .uploading-progress {
    line-height: 160px;
}

/**
 * File uploader customization
 */
.custom-file-container.single {
    display: inline-block;
    width: 200px;
    padding: 0 20px;
}

.custom-file-container.single .custom-file-container__image-preview {
    margin: 0;
    height: 160px;
    cursor: pointer;
    background-size: cover;
}

.custom-file-container.single.disabled .custom-file-container__image-preview {
    cursor: default;
}

.custom-file-container.single.has-files .custom-file-container__image-preview--active {
    cursor: zoom-in !important;
}

.custom-file-container.single .custom-file-container__image-clear {
    display: none;
}

.custom-file-container.single .custom-file-container__image-clear-custom {
    position: absolute;
    bottom: 75px;
    left: 5px;
    font-weight: bold;
}

.custom-file-container.single .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container.single .custom-file-container__image-multi-preview__single-image-download {
    position: absolute;
    left: 6px;
    bottom: 143px;
    width: 30px !important;
    height: 30px;
    line-height: 30px;
    /*left: 1px;*/
    /*bottom: 140px;*/
}

.custom-file-container__image-multi-preview__single-image-clear i,
.custom-file-container__image-multi-preview__single-image-download i,
.custom-file-container__image-multi-preview__single-image-zoom i {
    font-size: 21px !important;
    line-height: 30px;
    vertical-align: super;
}

.custom-file-container.single .custom-file-container__image-multi-preview__single-image-download {
    bottom: 107px;
}

.custom-file-container .custom-file-container__image-multi-preview__single-image-clear,
.custom-file-container .custom-file-container__image-multi-preview__single-image-download {
    opacity: .5;
}

.custom-file-container.single .custom-file-container__image-multi-preview__single-image-zoom {
    display: none !important;
    position: absolute;
    left: 11px;
    bottom: 0px;
}

.custom-file-container .custom-file-container__custom-file-name {
    font-size: 16px;
}

.custom-file-container.single .custom-file-container__custom-file-name {
    color: var(--bs-card-color) !important;
    display: block;
    text-align: center;
}

.custom-file-container.single .custom-file-container__custom-file-name a {
    color: var(--bs-card-color) !important;
}

.custom-file-container.single .custom-file-container__custom-file-name > span:first-child {
    font-size: 0.9em;
}

.custom-file-container.multiple label:first-child {
    display: none;
}

.custom-file-container.multiple .custom-file-container__custom-file {
    display: none;
}

.custom-file-container.multiple .custom-file-container__image-preview {
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.custom-file-container.multiple.disabled .custom-file-container__image-preview {
    cursor: default !important;
}

.custom-file-container.multiple .custom-file-container__image-multi-preview {
    cursor: zoom-in;
}

.custom-file-container.multiple .custom-file-container__image-multi-preview {
    height: 160px;
    width: 160px;
    padding: 0;
    margin: 20px;
}

.custom-file-container.multiple .custom-file-container__image-multi-preview__single-image-zoom {
    display: none !important;
    position: absolute;
    bottom: 63px;
}

.custom-file-container.disabled .custom-file-container__image-multi-preview__single-image-clear {
    display: none !important;
}

.custom-file-container.disabled .custom-file-container__image-multi-preview__single-image-clear {
    display: none !important;
}

/**
 * Swal poppups
 */
.swal2-modal .swal2-actions .swal2-danger-important {
    background-color: #f62d51 !important;
    border: 1px solid #f62d51 !important;
}

/**
 * Chat
 */
.chat-body {
    min-height: 150px;
}

.chat-body::-webkit-scrollbar {
    width: .5em;
}

.chat-body::-webkit-scrollbar-thumb {
    border-radius: 7px;
    background: #2E37A4;
}

.chat-body ul.chat-message {
    padding-right: 10px;
}

.chat-box-clinic .chats-list-empty {
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2E37A4;
}

.chat-box-clinic .chat-user-group {
    margin-bottom: 10px;
}

.chat-box-clinic .chat-user-group:hover {
    cursor: pointer;
}

.chat-box-clinic .chat-user-group.selected {
    background: #2E37A4;
}

.chat-box-clinic .chat-user-group.selected .user-titles h5,
.chat-box-clinic .chat-user-group.selected .chat-user-time p {
    color: #FFFFFF;
}

.chat-box-clinic .chat-user-group.selected .user-text p {
    color: rgba(255, 255, 255, 0.5);
}

.chat-user-group .chat-archived {
    margin-left: auto ;
    color: rgba(51, 53, 72, 0.5);
}

.chat-user-group:hover .chat-archived span,
.chat-user-group.selected .chat-archived span {
    color: #fff;
}

.chat-user-group.selected .chat-user-count span {
    background: #fff;
    color: #2E37A4;
}

.chat-message-box .chat-body {
    /*max-height: 600px;*/
    overflow-y: scroll;
}

.chat-message .media {
    border-radius: 15px;
    margin-bottom: 3px;
    align-items: normal;
}

.chat-message .media.sent {
    justify-content: end;
}

.footer-discussion .media {
    position: absolute;
    left: 0;
    right: 9px;
    bottom: 110%;
    height: 56px;
    overflow-y: hidden;
    background-color: rgba(245, 245, 252, 1);
    border-radius: 10px;
}

.chat-message .media-body {
    border-radius: 10px;
}

.message-sub-box p {
    font-size: 15px;
}

.media.doctor-have-problem .message-sub-box p,
.media.doctor-production-need-more-steps .message-sub-box p,
.media.doctor-take-casts .message-sub-box p,
.media.doctor-check-rejected .message-sub-box p,
.media.doctor-order-service-deleted .message-sub-box p,
.media.clinical-specialist-check-rejected .message-sub-box p,
.media.clinical-director-check-rejected .message-sub-box p,
.media.clinical-director-check-recalled-from-doctor .message-sub-box p,
.media.stage-to-draft-from-verification p,
.media.stage-to-verification-from-preparation p,
.media.stage-to-preparation-from-modeling p,
.media.stage-to-payment-bill-after-rejection p,
.replied-message.doctor-have-problem p,
.replied-message.doctor-production-need-more-steps p,
.replied-message.doctor-take-casts p,
.replied-message.doctor-check-rejected p,
.replied-message.clinical-specialist-check-rejected p,
.replied-message.clinical-director-check-rejected p,
.replied-message.clinical-director-check-recalled-from-doctor p,
.replied-message.stage-to-draft-from-verification p,
.replied-message.stage-to-verification-from-preparation p,
.replied-message.stage-to-preparation-from-modeling p,
.replied-message.stage-to-payment-bill-after-rejection p {
    color: rgba(200, 52, 52, .6) !important;
}

.media.doctor-production-require-next .message-sub-box p,
.replied-message.doctor-production-require-next p {
    color: rgba(52, 52, 200, .6) !important;
}

.media.doctor-check-accepted .message-sub-box p,
.media.doctor-order-service-created .message-sub-box p,
.media.doctor-order-service-updated .message-sub-box p,
.media.doctor-production-chosen-all-steps .message-sub-box p,
.media.modeler-3d-check-sent-to-verification .message-sub-box p,
.media.clinical-specialist-check-sent-to-verification .message-sub-box p,
.media.clinical-director-check-sent-to-verification .message-sub-box p,
.media.stage-to-verification .message-sub-box p,
.media.stage-to-preparation .message-sub-box p,
.media.stage-to-modeling .message-sub-box p,
.media.stage-to-payment-awaiting .message-sub-box p,
.media.stage-to-production-options .message-sub-box p,
.media.stage-to-production-options-from-treatment .message-sub-box p,
.media.stage-to-production-preparation .message-sub-box p,
.media.stage-to-production-release .message-sub-box p,
.media.stage-to-production-packaging .message-sub-box p,
.media.stage-to-production-control .message-sub-box p,
.media.stage-to-delivery-preparation .message-sub-box p,
.media.stage-to-delivery .message-sub-box p,
.media.stage-to-delivered .message-sub-box p,
.media.stage-to-treatment .message-sub-box p,
.media.stage-to-completed .message-sub-box p,
.replied-message.doctor-check-accepted p,
.replied-message.doctor-production-chosen-all-steps p,
.replied-message.modeler-3d-check-sent-to-verification p,
.replied-message.clinical-specialist-check-sent-to-verification p,
.replied-message.clinical-director-check-sent-to-verification p,
.replied-message.stage-to-verification p,
.replied-message.stage-to-preparation p,
.replied-message.stage-to-modeling p,
.replied-message.stage-to-payment-awaiting p,
.replied-message.stage-to-production-options p,
.replied-message.stage-to-production-options-from-treatment p,
.replied-message.stage-to-production-preparation p,
.replied-message.stage-to-production-release p,
.replied-message.stage-to-production-packaging p,
.replied-message.stage-to-production-control p,
.replied-message.stage-to-delivery-preparation p,
.replied-message.stage-to-delivery p,
.replied-message.stage-to-delivered p,
.replied-message.stage-to-treatment p,
.replied-message.stage-to-completed p {
    /*color: rgba(52, 200, 52, .6) !important;*/
    color: rgb(1 159 1) !important;
}

.chat-message .media.selected .media-body {
    background-color: rgba(51, 52, 72, .03);
}

.chat-message .media-body:hover {
    background-color: rgba(51, 52, 72, .03);
}

.chat-message .media .media-body {
    max-width: 75%;
}

.chat-message .media.sent .message-sub-box .replied-message {
    padding-top: 8px;
    text-align: left;
    min-width: 90px;
}

.footer-discussion .preview {
    color: #fff;
    display: inline-block;
    font-weight: 500;
    line-height: 38px;
    margin: 0;
    height: 100%;
    min-width: 56px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    /*width: 38px;*/
    position: relative;
    white-space: nowrap;
    font-size: 14px;
}

.footer-discussion .preview img {
    margin-top: 7px;
    height: 42px;
    vertical-align: bottom;
}

.footer-discussion .preview.preview-image img {
    margin-top: 3px;
    height: 50px;
}

.chat-message .media .message-sub-box p {
    max-width: 100%;
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 0;
    background-color: transparent !important;
}

.footer-discussion .media .message-sub-box p {
    font-weight: 400;
    padding: 10px;
    background: none;
    margin-bottom: 5px;
    min-width: 100%;
}

.chat-message .media .message-sub-box .replied-message {
    margin-left: 20px;
    border-width: 0;
    border-left-width: 4px;
    border-color: #00d3c7;
    border-style: solid;
    background-color: rgba(51, 52, 72, .03);
    cursor: pointer;
}

.chat-message .media .message-sub-box .replied-message:hover {
    background-color: rgba(51, 52, 72, .1);
}

.chat-message .media .message-sub-box .replied-message h4 {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 5px;
}

.chat-message .media .message-sub-box .replied-message p {
    padding-bottom: 5px;
}

.chat-message .media .message-sub-box .replied-message.replied-image p img {
    height: 75px;
}

.chat-message .media .message-sub-box span {
    padding-left: 10px;
}

.chat-message .media .message-sub-box .msg-sub-list {
    margin-top: 5px;
}

.media .media .msg-sub-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.message-sub-box .media span, .msg-sub-list .media span {
    color: rgba(51, 53, 72, .5);
    font-size: 10px;
    font-weight: 500
}

.chat-users .user-titles h5 {
    font-weight: 600;
}

.chat-message .message-sub-box h4,
.footer-discussion .message-sub-box h4 {
    height: 17px;
    padding-left: 10px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 8px;
    color: #333448;
}

.footer-discussion .message-sub-box h4 {
    margin-bottom: 0;
}

.footer-discussion .media .reply-icon {
    margin: 0 0 0 14px;
    min-width: 32px;
    color: #2E37A4;
    font-size: 38px;
}

.chat-message .message-sub-box .msg-btn-panel {
    margin-right: 5px;
    display: none;
}

.footer-discussion .message-sub-box .msg-btn-panel {
    margin-right: 10px;
}

.chat-message .media-body:hover .message-sub-box .msg-btn-panel {
    display: block;
}

.chat-message .msg-btn-panel a {
    position: relative;
    display: inline-block;
    height: 25px;
    width: 25px;
    margin-top: -4px;
    margin-left: 5px;
    font-size: 1.2rem;
    color: #2E37A4;
    padding: 0 5px;
    border-radius: 5px;
    line-height: 25px;
    text-align: center;
}

.chat-message .msg-btn-panel a:hover {
    background-color: rgba(51, 52, 72, .1);
    cursor: pointer;
}

.footer-discussion .msg-btn-panel a {
    font-size: 1.2rem;
}

.footer-discussion .msg-btn-panel a:hover {
    cursor: pointer;
}

.chat-message .msg-btn-panel i.ion-edit {
    font-size: 1rem;
}

.chat-message .msg-btn-panel i.fa {
    vertical-align: top;
    text-align: center;
}

.chat-message .msg-btn-panel i.fa:before {
    font-size: .8rem;
}

.chat-message .media.same-sender .avatar {
    background-color: transparent;
}

.send-chat, .send-chat a {
    cursor: default !important;
}

.send-chat.active:hover, .send-chat.active a {
    cursor: pointer !important;
}

.chat-footer-box .symple-text.position-icon li {
    cursor: pointer !important;
    padding: 0 5px;
}

.footer-discussion {
    position: relative;
}

.footer-discussion .msg-sub-list {
    position: absolute;
    right: 20px;
    bottom: 110%;
    border-radius: 8px;
    margin-right: 15px;
    margin-bottom: 0;
    padding: 10px 10px 0;
}

.footer-discussion .msg-sub-list li {
    background-color: rgba(245, 245, 252, 1);
}

/**
 * Timeline
 */
.cd-horizontal-timeline .filling-line, .cd-horizontal-timeline .events a.success::after {
    background: #55ce63;
    border-color: #55ce63;
}

/**
 * Timeline (step line) vertical.
 */
.step-line-box {
    position: relative;
}

.step-line-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/*.step-line-list:before {
    background: #ddd;
    bottom: 0;
    content: "";
    left: 8px;
    position: absolute;
    top: 8px;
    width: 2px;
}*/

.step-line-content:before {
    background: #ddd;
    bottom: -24px;
    content: "";
    left: -32px;
    position: absolute;
    top: 14px;
    width: 2px;
}

.step-line-list > li {
    position: relative;
}

.step-line-list > li:last-child .step-line-content {
    margin-bottom: 0;
}

.step-line-user .avatar {
    height: 32px;
    line-height: 32px;
    margin: 0;
    width: 32px;
}

.step-line-list > li .step-line-user {
    background: #fff;
    height: 10px;
    left: 4px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 4px;
    width: 10px;
}

.step-line-list > li .step-line-content {
    background-color: #fff;
    margin: 0 0 20px 40px;
    padding: 0;
    position: relative;
}

.step-line-list > li .step-line-content .timeline-content {
    color: #9e9e9e;
}

.step-line-list > li .step-line-content .timeline-content .title {
    color: #616161;
    display: block;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
}

.step-line-list > li .desc {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
}

.before-circle {
    background-color: #ddd;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

/**
 * Timeline (step line) vertical specific.
 */
.step-line-box-stage-statues li.active .before-circle,
.step-line-box-stage-statues li.active .step-line-content:before {
    background-color: #55ce63 !important;
}

.step-line-box-stage-statues li.active-last .before-circle {
    background-color: #55ce63 !important;
}
