/*
* ----------
    TIMELINE
* ----------
*/
:root {
    /* COLORS */
    --color-messages: #4E8FA5; /* messages */
    --color-hours: #EFD924; /* hours */
    --color-approvals: #7FA831; /* approvals */
    --color-fields: #E17B2B; /* fields */
    --color-messages-chat: #4E8FA526; /* messages */
    --color-hours-chat: #EFD92440; /* hours */
    --color-approvals-chat: #7FA83126; /* approvals */
    --color-fields-chat: #E17B2B40; /* fields */
    --color-onhold: #B4476C; /* */
    --color-resolved: #7FA831; /* */
    --color-canceled: #444444; /* */
}

.web-chat-header {
    font-family: var(--font-family-normal);
    font-style: normal;
    font-weight: normal;
    height: 50px;
    width: 100%;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: rgb(207 217 212) !important;
}

.timeline-width {
}

.card-bordered {
    border: 1px solid #ebebeb;
}

.card {
    border: 0;
    border-radius: 0px;
    margin-bottom: 10px;
    -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.03);
    box-shadow: 0 2px 3px rgba(0,0,0,0.03);
    -webkit-transition: .5s;
    transition: .5s;
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

img {
    width: 100%;
    cursor: pointer;
}

.card-header {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    background-color: transparent;
    border-bottom: 1px solid rgba(77,82,89,0.07);
    margin-top: -42px;
    padding-top: 5px;
    padding-bottom: 5px;
}

    .card-header .card-title {
        padding: 0;
        border: none;
        font-weight: bold;
    }

    .card-header > *:last-child {
        margin-right: 0;
    }

    .card-header > * {
        margin-left: 8px;
        margin-right: 8px;
    }

.card-title {
}

.loading {
    animation: none;
}
.ps-container {
    position: relative;
    -ms-touch-action: auto;
    overflow: auto !important;
    -ms-overflow-style: none;
    height: calc(90vh - 172px - 128px);
    border-top: 1px solid #d1d1d1;
}

.media .avatar {
    flex-shrink: 0;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 100%;
    background-color: #f5f6f7;
    color: #8b95a5;
    text-transform: uppercase;
}

.media-chat .media-body {
    -webkit-box-flex: initial;
    flex: initial;
    display: inline-block;
    min-width: 0;
}

    .media-chat .media-body p {
        position: relative;
        padding: 6px 8px;
        margin: 4px 0;
        background-color: #f5f6f7;
        border-radius: 3px;
        font-weight: 100;
        color: #9b9b9b;
    }

.media > * {
    margin: 0 3px;
}

.media-chat .media-body p.meta {
    background-color: transparent !important;
    padding: 0;
    opacity: .8;
}

.media-meta-day {
    text-align: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 0;
    color: #8b95a5;
    opacity: .8;
    font-weight: 400;
}

.media-chat.media-chat-reverse {
    padding-right: 12px;
    padding-left: 64px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse;
}

.media-chat {
    padding-right: 64px;
    margin-bottom: 0;
}

.media {
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
    border-radius: 2px;
    margin-left: 60px;
    margin-right: 60px;
    padding: 1px 5px;
    margin-top: 0px;
}

.media-chat.media-chat-reverse .media-body p {
    float: right;
    clear: right;
    background-color: #48b0f7;
    color: #fff;
}

.media-chat .media-body p {
    position: relative;
    padding: 6px 8px;
    margin: 4px 0;
    background-color: #f5f6f7;
    border-radius: 3px;
}

.border-light {
    border-color: #f1f2f3 !important;
}

.container-send {
    height: 40px;
    position: relative;
    width: 100%;
    padding-top: 7px;
}

.saveButton {
    border-style: none;
    outline: none;
    border: 1px solid #d1d1d1;
    width: 100%;
    height: 40px;
    background-color: var(--color-white);
}

    .saveButton:hover {
        background-color: #d2d2d2;
    }

.file-group {
    position: relative;
    overflow: hidden;
}

    .file-group input[type="file"] {
        position: absolute;
        opacity: 0;
        z-index: -1;
        width: 20px;
    }

.text-info {
    color: #48b0f7 !important;
}

.messages {
    color: var(--color-messages);
}

    .messages a {
        color: #2f5fef;
        text-decoration: underline;
    }

.hours {
    color: var(--color-hours);
}

.approvals {
    color: var(--color-approvals);
}

.fields {
    color: var(--color-fields);
}

.checkbox-main {
    justify-content: initial !important;
    display: flex;
    width: auto !important;
    text-align: justify;
    align-items: initial !important;
    padding-top: 15px;
}

    .checkbox-main[class*=checkMark-], .checkbox-main[class^=check-], .checkbox-main[class^=checkbox-] {
        border: none !important;
        height: 15px !important;
        width: auto !important;
        align-items: center;
        display: flex !important;
        justify-content: center;
        cursor: pointer;
        box-sizing: border-box;
    }

    .checkbox-main label {
        cursor: pointer;
        font-size: 1.1rem;
        height: auto !important;
        width: max-content !important;
        padding-left: 10px;
        font-weight: 500;
    }

.checkbox-label {
    padding-right: 15px;
    padding-left: 15px;
}

input[type="checkbox"] {
    cursor: pointer;
}

/* The container */
.highlighter {
    position: relative;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

    /* Hide the browser's default checkbox */
    .highlighter input {
        position: relative;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
        float: left;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    cursor: pointer;
}

/* On mouse-over, add  */
.highlighter input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a background */
.check-messages input:checked ~ .checkmark {
    background-color: var(--color-messages);
}

/* When the checkbox is checked, add a background */
.check-hours input:checked ~ .checkmark {
    background-color: var(--color-hours);
}

/* When the checkbox is checked, add a background */
.check-approvals input:checked ~ .checkmark {
    background-color: var(--color-approvals);
}

/* When the checkbox is checked, add a background */
.highlighter .check-fields input:checked ~ .checkmark {
    background-color: var(--color-fields);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.highlighter input:checked ~ .checkmark:after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Style the checkmark/indicator */
.highlighter .checkmark:after {
    font-family: FabricMDL2Icons !important;
    content: '\E8FB' !important;
    color: #FFF;
    font-size: 10px;
    font-weight: bold;
}

.dropdown-initials {
    font-family: var(--font-family-normal);
    font-style: normal;
    font-weight: normal;
    color: var(--color-white);
    border-radius: 50%;
    border: 1px solid white;
    opacity: 50%;
    letter-spacing: -1px;
    font-size: 13px;
    padding: 8px 8px 8px 5px;
    display: inline;
}

.dropdown-avatar {
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-dark);
    opacity: 80%;
    width: 35px;
    height: 35px;
    line-height: 23px;
    border-radius: 50%;
    font-size: 14px;
    text-align: center;
    padding: 5px;
    letter-spacing: 0;
    margin-top: -1px;
}

.dropdown-name {
    display: inline-block;
    font-weight: bold;
    font-size: 13px;
}

.dropdown-hour {
    float: right;
    font-weight: normal;
    font-size: 10px;
}

.agent .dropdown-hour {
    padding-left: 0px;
    margin-right: 0px;
}

.owner .dropdown-hour {
    padding-left: 0px;
    margin-right: 0px;
}

.text-center {
    text-align: center;
    padding-bottom: 5px;
    font-size: 13px;
    word-break: break-word;
    padding-top: 8px;
    padding-bottom: 4px;
}

[data-attribute="messages"] .text-center {
    word-break: break-all;
}

.table-chat table > tbody > tr > td {
    padding-top: 3px;
    padding-bottom: 3px;
}

    .table-chat table > tbody > tr > td p {
        margin-top: 1px;
        margin-bottom: 0px;
        text-align: center;
    }

        .table-chat table > tbody > tr > td p a {
            color: #2f5fef;
            text-decoration: underline;
        }

.table-chat > tr > td .message {
    padding: 0px 7px;
}

.table-chat table > tbody > tr > td[data-attribute="fields"] .message .circle {
    background-color: var(--color-fields-chat);
}

.table-chat table > tbody > tr > td[data-attribute="hours"] .message .circle {
    background-color: var(--color-hours-chat);
}

.table-chat table > tbody > tr > td[data-attribute="approvals"] .message .circle {
    background-color: var(--color-approvals-chat);
}

.table-chat table > tbody > tr > td[data-attribute="messages"] .message {
    background-color: var(--color-messages-chat);
    border: 2px solid var(--color-messages);
}

.table-chat table > tbody > tr > td[data-attribute="messages"] .message {
    background-color: var(--color-messages-chat);
    border: 2px solid var(--color-messages);
}

.owner .text-center {
    text-align: left;
    padding-top: 0;
}

.owner .media {
    margin-right: 25%;
}

.table-chat .owner p {
    text-align: left;
}

.agent .text-center {
    padding-top: 0;
}

.agent .media {
    margin-left: 25%;
}

.agent .dropdown-name {
    text-align: left;
    float: left;
}

.agent .dropdown-hour {
    float: left;
}

.agent .chat-message-header {
    margin-top: 4px;
    height: 20px;
}

.owner .chat-message-header {
    margin-top: 4px;
    height: 20px;
}

.table-chat ol {
    display: inline-block !important;
}

.table-chat ul {
    display: inline-block !important;
}

.ck-content blockquote {
    border-left: 5px solid #666;
}

blockquote {
    display: inline-block;
    border-left: 5px solid #666;
    padding-left: 5px;
    font-size: 13px;
}

.table-chat .text-center table > tbody > tr > td {
    border: 2px solid #666;
}

.table-chat .text-center table {
    display: inline-block;
}

.table-chat .text-center figure {
    display: inline-block;
    margin-inline-end: 0px;
    margin-inline-start: 0px;
}

.table-chat .agent p {
    text-align: left;
}

.agent .text-center {
    text-align: right;
}

.table-chat table .owner .dropdown-avatar {
    float: left;
    margin-left: 8px;
}

.table-chat .agent .dropdown-avatar {
    float: right;
    margin-right: 8px;
}

.chat-message-header {
    margin-top: 4px;
}

.date {
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
}

.day {
    position: relative;
    display: inline-block;
    color: #68696a;
    font-size: 13px;
    margin: 8px;
}

    .day::before,
    .day::after {
        content: "";
        position: absolute;
        top: 0.65em;
        width: 14em;
        height: 0.05em;
        background-color: #b9b9b9;
        left: -15em;
    }

    .day::after {
        left: initial;
        right: -15em;
    }

.ck-rounded-corners .ck.ck-editor__main > .ck-editor__editable, .ck.ck-editor__main > .ck-editor__editable.ck-rounded-corners {
    height: 300px !important;
}

.ck[data-cke-tooltip-text="Insert image"] {
    display: none !important;
}

.ck[data-cke-tooltip-text="Insert media"] {
    display: none !important;
}

.height-container {
    height: 0px;
    border-top: 1px solid #d1d1d1;
}

.main-check {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.display-none {
    display: none;
}

.display-block {
    display: block;
}

.tickets-comments {
    padding-top: 15px;
}

.tribute-container {
    background-color: #f5f5f5;
    padding: 10px;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    max-height: 240px !important;
    overflow-y: auto;
}

    .tribute-container li {
        list-style-type: none;
        cursor: pointer;
    }

        .tribute-container li:hover {
            background: #e2e2e2;
        }

button[role="switch"] {
    display: block;
    margin: 2px;
    padding: 4px 4px 8px 8px;
    border: 0 solid #005a9c;
    border-radius: 5px;
    width: 16em;
    height: 3em;
    text-align: left;
    background-color: white;
    color: black;
}

    button[role="switch"] .label {
        position: relative;
        top: -3px;
        display: inline-block;
        padding: 0;
        margin: 0;
        width: 10em;
        vertical-align: middle;
        color: black;
    }

    button[role="switch"] svg {
        display: inline-block;
        width: 36px;
        height: 20px;
        forced-color-adjust: auto;
        position: relative;
        top: 4px;
        margin-left: -15px;
    }

        button[role="switch"] svg rect {
            fill-opacity: 0;
            stroke-width: 2;
            stroke: currentcolor;
        }

            button[role="switch"] svg rect.off {
                display: block;
                stroke: currentcolor;
                fill: currentcolor;
                fill-opacity: 1;
            }

    button[role="switch"][aria-checked="true"] svg rect.off {
        display: none;
    }

    button[role="switch"] svg rect.on {
        display: none;
    }

    button[role="switch"][aria-checked="true"] svg rect.on {
        color: green;
        display: block;
        stroke-color: currentcolor;
        fill: currentcolor;
        fill-opacity: 1;
    }

    button[role="switch"] span.off {
        display: inline-block;
    }

    button[role="switch"] span.on {
        display: none;
    }

    button[role="switch"][aria-checked="true"] span.off {
        display: none;
    }

    button[role="switch"][aria-checked="true"] span.on {
        display: inline-block;
    }

.ck-content a {
    text-decoration: underline !important;
    color: #2f5fef !important;
}

.circle {
    position: absolute;
    left: 10px;
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.message-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding-left: 30px;
}

.message-content {
    display: inline-block;
}
