@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body, app {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

app {
    position: relative;
    display: flex;
    /*flex-direction: column;*/
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.full-height {
    overflow: hidden;
    max-height: 100vh;
}

/* Syncfusion */
.hide.e-chip {
    display: none;
}

.powerbi iframe {
    min-height: 800px;
}

.report {
    margin-top: -29px;
    margin-left: -39px;
    margin-right: -39px;
    margin-bottom: 100px;
}

/* material theme */
:root {
    --mdc-theme-primary: #167bc0;
    --mdc-theme-secondary: #fbaf41;
    /*--mdc-theme-on-primary: #495f90;
    --mdc-theme-on-secondary: #ffe172;*/
    --mdc-theme-text-primary: #ffffff;
    --mdc-theme-text-secondary: #333;
    --mdc-theme-text-on-primary: #001037;
    --mdc-theme-text-on-secondary: #c48003;
    /*--mdc-theme-surface: #263238; */
}

.spacer {
    min-height: 20px;
}

.mat-expansion-panel__content {
    overflow:visible !important;
}

.toolbox-icon {
    width: 75px;
    padding: 20px;
    border-style: solid;
    border-width: 1px;
    background-color: #f5f5f5;
    border-radius: 10px;
    display: inline-block;
}

.medium-select {
    width: 400px;
}

.search-select {
    width: 300px;
    display: inline-block;
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 15px;
}

.inline-element {
    display: inline-block;
}

.hint {
    font-size: small;
    min-height: 20px;
}

.mdc-text-field--textarea textarea {
    min-height: 146px;
}

/* Bootstrap */

.nav-link {
    color: #167bc0;
}

.card {
    margin-bottom: 20px;
}

.nav {
    margin-bottom: 20px;
}

.row.selection {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    margin-top: -10px;
}

.custom-switch {
    padding-bottom: 10px;
}
.custom-switch label {
    padding-top: 5px;
}


/* General */

.right {
    float: right;
    padding-right: 10px;
}

.left {
    float: left;
    padding-left: 10px;
}

table {
    width: 100%;
    table-layout: fixed;
}

.standard-layout {
    margin: 5px;
    padding: 5px;
}

.vertical-space {
    margin-top: 10px;
}

label {
    margin-top: 10px;
}

.search {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    padding: 15px 30px;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -23px;
    margin-bottom: 3px;
}

.search row {
    margin-bottom: 10px;
}

.search .input-group {
    margin-bottom: 10px;
}


/* Loading page */
.triangle-container {
    left: calc(-50vw + 50%);
    position: fixed;
    right: calc(-50vw + 50%);
    top: 0;
    bottom: 0;
    z-index: -1;
    background-color: #2b91ff;
}

.triangles {
    background-image: url("../images/triangles.svg");
    background-size: cover;
    height: 100%;
    bottom: 0;
    left: 0;
    mix-blend-mode: hard-light;
    position: fixed;
    right: 0;
    top: 0;
    background-position: center center;
}

.loading-container {
    position: relative;
    text-align: center;
    background-color: #fff;
    margin: 10% auto 0 auto;
    padding: 20px;
}

/* Loading Spinner */
.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

    .spinner > div {
        background-color: #333;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

/* Login page */
.login-body {
    position: relative;
}

.logo {
    text-align: center;
}

    .logo h4 {
        margin: 20px auto;
    }

.login-container, .loading-container, .mdc-card {
    border-radius: 0 !important;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}

    .login-container .mdc-card {
        padding: 40px 30px;
        width: 500px;
    }

    .login-container .mat-accordion {
        width: 500px;
    }

.container-fluid .login-container {
    display: block;
    max-width: 500px;
}

.additional-info {
    color: #2b91ff;
    background-color: rgba(0,0,0,.04);
    padding: 10px 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .875rem;
}

.login-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    align-content: center;
    margin: 5% auto 0;
}

.login-body {
    flex-direction: column;
    margin: 0 auto;
}

    .login-body .mat-accordion .mat-expansion-panel__header {
        flex-basis: 80%;
    }

    .login-body .mat-expansion-panel {
        background-color: #f4f4f4 !important;
    }

.logout-button {
    margin-left: 10px;
}

.mdc-drawer__content {
    overflow-y: hidden !important;
    background-color: #878787;
    color: #FFF;
}

.mdc-icon-button .fa {
    font-size: 30px;
}

/* app bar*/
.mdc-top-app-bar__row {
    background-color: #fff;
    color: #404040;
}

.mdc-top-app-bar__section .mdc-icon-button i {
    color: #5D2E8F;
}

.logo-img {
    height: 42px;
}

.mdc-top-app-bar {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    color: white;
    z-index: 7 !important;
    position: sticky !important;
    top: 0;
}

.mdc-top-app-bar__title,
.mdc-top-app-bar__title a {
    color: white;
}


.sub-menu {
    visibility: hidden; /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(-2em);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.hidden-mdc-down nav a {
    color: #E00;
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;
}

    .hidden-mdc-down nav a:hover {
        color: #F55;
    }

.hidden-mdc-down nav ul,
.hidden-mdc-down nav ul li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.hidden-mdc-down nav > ul {
    background: #EEE;
    text-align: center;
}

    .hidden-mdc-down nav > ul > li {
        display: inline-block;
        border-left: solid 1px #aaa;
    }

        .hidden-mdc-down nav > ul > li:first-child {
            border-left: none;
        }

.sub-menu {
    background: #DDD;
}

.flex-1 {
    flex: 1;
}

.mdc-nav-li {
    list-style: none;
}

.mini .mdc-drawer,
.mini .app-sidebar {
    width: 54px;
    transition: width .4s ease-in-out;
}

    .mini .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        margin-left: 54px;
        transition: margin-left .4s ease-in-out;
    }

.mini .drawer-profile {
    padding: 0 4px;
}

/* Menu Items */
li.mat-expansion-panel li {
    margin-left: 15px;
}

li.mdc-nav-item img {
    width: 24px;
    padding-right: 0px;
    margin-left: -8px;
    margin-right: 12px;
    filter: invert(100%) sepia(20%) saturate(709%) hue-rotate(242deg) brightness(113%) contrast(115%);
}

.mini .after.mdc-sub-menu-icon,
.mini .miniHover {
    transform: translateX(200%);
    animation: slide-out 1s forwards;
    transition: .4s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: fixed;
}

.mini .mdc-drawer:hover .after.mdc-sub-menu-icon,
.mini .mdc-drawer:hover .miniHover {
    transform: translateX(0%);
    animation: slide-in 1s forwards;
    transition: width .4s ease-in-out;
    visibility: visible;
    opacity: 1;
    position: relative;
}

.mini .mdc-drawer:hover .after.mdc-sub-menu-icon {
    position: absolute;
}

.mini .drawer-footer .mdc-button {
    min-width: 36px;
}

.mdc-drawer:hover,
.mdc-drawer:hover .app-sidebar,
.full .mdc-drawer,
.full .app-sidebar {
    width: 256px;
    transition: width .4s ease-in-out;
}

.closed .mdc-drawer,
.closed .app-sidebar {
    width: 0;
    transition: width .4s ease-in-out;
}

.mini .mdc-drawer:hover.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content,
.full .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
    margin-left: 256px;
    transition: margin-left .4s ease-in-out;
}

.closed .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
    margin-left: 0;
    transition: margin-left .4s ease-in-out;
}

.mdc-drawer .mdc-list-item {
    margin: 8px 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
}

.mdc-list-item .mdc-nav-item {
    background-color: #54575a;
}

.mdc-drawere .mdc-list-item:active {
    box-shadow: inset 3px 0 0 #886ab5;
}

.mdc-drawer .mdc-list-item--disabled {
    color: #775e91 !important;
}

.mdc-drawer a.mdc-list-item {
    padding: 0 14px !important;
}

.mdc-nav-item, .mdc-nav-li {
    padding-left: 10px;
}

.mdc-drawer .mdc-list-item--selected {
    border-left: solid 4px rgb(43, 145, 255);
}

.mdc-expansion-panel--selected .mat-expansion-panel__summary {
    border-left: solid 3px rgba(255, 255, 255, .3);
}

.mat-accordion .mdc-nav-menu .mat-expansion-panel.mat-expansion-panel--expanded {
    margin: 0;
}

.mdc-button--raised {
    box-shadow: none;
}

.mdc-button.add-attachment {
    margin-top: -10px;
}

.drawer-header {
}

.drawer-profile {
    padding: 16px;
    border-bottom: solid 1px #777;
    background-image: url("../images/profile-bg.jpg");
    background-size: cover;
    color: #fff;
    font-size: 12px;
}

    .drawer-profile a,
    .drawer-profile .material-icons {
        color: #fff;
    }

.app-sidebar .material-icons {
    margin-right: 15px;
    margin-left: -8px;
}

.app-sidebar .mat-expansion-panel__content .material-icons {
    padding-left: 2px;
    margin-left: -3px;
}

li.mat-expansion-panel li.mat-expansion-panel .mdc-nav-sub-menu-header .mdc-sub-menu-icon {
    top: 0;
    height: 13px;
    margin-top: 3px;
}

li.mat-expansion-panel li.mat-expansion-panel .mdc-nav-sub-menu-header {
    margin-left: 15px;
    margin-bottom: 0;
    height: 40px;
}

.app-sidebar .mdc-nav-li .material-icons {
    margin-right: 8px;
    padding-left: 0;
}

.mdc-drawer {
    /*margin-top: 64px;*/
    box-shadow: 2px 0 5px 0 rgba(0,0,0,0.16);
    width: 256px;
}

.mdc-drawer-app-content {
}

.mat-accordion .mdc-nav-menu .mat-expansion-panel__summary {
    padding-left: 15px;
}

.mat-drawer-container-responsive {
    display: flex;
    flex-direction: row;
}

    .mat-drawer-container-responsive .mdc-drawer {
        width: unset !important;
        position: relative;
    }

        .mat-drawer-container-responsive .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
            margin-left: unset !important;
            position: relative;
            flex: 1;
        }

.mdc-top-app-bar--fixed-adjust {
    padding-top: 0 !important;
    overflow: hidden;
}

.drawer-footer {
    position: absolute;
    text-align: left;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: solid 1px #AAA;
    font-size: 12px;
    padding: 0 12px 0 12px;
    background-color: lightgray
}

.contains-scrollable {
    height: 100%;
}


.main {
}

/* LH Navigation */

.row.content {
    position: absolute;
    top: 58px;
    bottom: 0;
    width: 100%;
}

.mini .after.mdc-sub-menu-icon, .mini .miniHover {
    transform: translateX(200%);
    animation: slide-out 1s forwards;
    transition: .4s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: fixed;
}

.mdc-drawer:hover, .mdc-drawer:hover .app-sidebar, .full .mdc-drawer, .full .app-sidebar {
    width: 256px;
    transition: width .4s ease-in-out;
}

.drawer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    height: 64px;
    color: #fff;
}

    .drawer-logo a {
        color: white;
    }

    .drawer-logo img {
        max-height: 50px;
        min-height: 44px;
        position: absolute;
        left: 3px;
        top: 9px;
    }

.sidebar {
    /*background: rebeccapurple;*/
    border-right-style: solid;
    border-right-color: burlywood;
    border-right-width: 1px;
    height: 100%;
    padding-right: 0px;
    margin-top: -20px;
    margin-left: 15px;
    min-width: 255px;
    max-width: 255px;
}

    .sidebar a, .sidebar {
        /*color: white;*/
    }

.break {
    margin-top: 20px;
}

.mdc-nav-menu {
}

/* customer */

.sub-header {
    padding: 10px;
    margin-left: -30px;
    margin-top: 3px;
    width: 100vw;
    background: #5A6EA1;
    color: white;
    font-weight: bold;
}

.conversation-header {
    box-shadow: gray;
    width: 100vw;
    border-bottom-style: solid;
    border-bottom-color: lightgray;
    border-bottom-width: thin;
    font-weight: bold;
}

    .conversation-header .content-heading,
    .conversation-header .assignment {
        padding: 10px;
    }

    .conversation-header .resolve {
        padding: 4px;
    }

.conversation-status {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.channel-icon {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

    .conversation-status span {
        margin-left: 10px;
        vertical-align: super;
    }

.queue tr {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: lightgray;
    height: 100px;
}

.queue .mat-expansion-panel__content {
    padding: 0;
}

.queue .mat-expansion-panel__summary {
    background-color: #dddddd;
}

.mat-accordion .mat-expansion-panel__header {
    white-space: nowrap;
    font-weight: bold;
}

.mat-accordion .mat-expansion-panel.mat-expansion-panel--expanded > .mat-expansion-panel__content,
.mat-accordion .mat-expansion-panel.mat-expansion-panel--expanded .mat-expansion-panel__actions {
    border-top-style: solid;
    border-top-width: thin;
    border-top-color: lightgray;
}

.mdc-nav-menu .mat-expansion-panel--expanded > .mat-expansion-panel__content {
    background-color: #54575a;
}

.my-conversations-header {
    font-weight: bold;
    text-align: left;
    padding: 10px;
    margin-left: 10px;
}

.conversation-info {
    padding: 0px;
    max-height: calc(100vh - 110px);
}

.conversation-info .agent-actions {
    margin-left: -10px;
    margin-top: -5px;
}


.queued-conversation {
    padding: 10px;
    cursor: pointer;
    
    height: 95px;
    max-height: 95px;
}

    .queued-conversation:nth-of-type(odd) {
        background-color: #f9f9f9;
    }

    .queued-conversation.live {
        background-color: hsl(45, 77%, 97%);
        margin-top: 4px;
    }

        .queued-conversation.live:first-of-type {
            margin-top: 0;
        }


.queue .active {
    border-left-color: #545454;
    border-left-width: 2px;
    border-left-style: solid;
}

.contact-name {
    font-weight: bold;
}

.time {
    padding: 0 10px;
}

.actions {
    float: right;
}

.actions-bold {
    float: right;
    font-weight: bold;
}

.message.bold {
    font-weight: bold;
}

.number-of-messages {
    margin-left: 10px;
    float: right;
}

span.clear {
    clear: left;
    display: block;
}

.number-circle {
    border-radius: 50%;
    background: #f04b38;
    border: 1px solid #f04b38;
    color: white;
    text-align: center;
    width: 29px;
    height: 29px;
    font-weight: bold;
    padding-top: 2.5px;
}

.queue {
    padding-right: 0px;
    padding-left: 0px;
    border-right-style: solid;
    border-right-color: lightgray;
    border-right-width: 1px;
    padding-left: 20px;
    overflow-x: hidden !important;
}

.conversation {
    border-right-style: solid;
    border-right-color: lightgray;
    border-right-width: 1px;
    padding-right: 0;
    height: calc(100vh - 156px);
}

    .conversation .reply {
        padding-right: 15px;
    }

.reply-area {
    padding-bottom: 10px;
}

.reply-area .left {
    padding: 0;
}

.queue .sub-header {
    background: aliceblue;
}

.queue .header .row {
    margin-top: 10px;
}

.queue .sub-header {
    margin-right: 0px;
}

    .queue .sub-header div {
        background: blue;
        padding: 8px;
        padding-left: 15px;
        color: white;
    }

.queue .agent-name {
    text-align: right;
}

.queue .current-shift {
}

.queue .operator-mi {
}

.reply-button-icon {
    margin-left: 10px;
    margin-top: 5px
}

.queue table {
    width: 100%;
}


/* NEW CONVERSATIONS */
.small-scroller::-webkit-scrollbar {
    width: 5px;
}

.small-scroller::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.small-scroller::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: rgba(120,120,120,0.6);
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}

    .small-scroller::-webkit-scrollbar-thumb:window-inactive {
        background: rgba(120,120,120,0.2);
    }

.small-scroller {
    -ms-overflow-style: none;
    scrollbar-width: 5px;
    overflow-y: auto !important;
    overflow-x: hidden;
}

.noscroll {
    overflow: hidden;
}

.autolayout {
    table-layout: auto;
}

.conversation .chat {
    -ms-overflow-style: none;
    scrollbar-width: 5px;
    margin-left: -15px;
    padding-left: 20px;
    margin-right: 0px;
    padding-right: 30px;
    padding-top: 15px;
}

    .conversation .chat::-webkit-scrollbar {
        width: 5px;
    }

    .conversation .chat::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }

    .conversation .chat::-webkit-scrollbar-thumb {
        -webkit-border-radius: 5px;
        border-radius: 5px;
        background: rgba(120,120,120,0.6);
        -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
    }

        .conversation .chat::-webkit-scrollbar-thumb:window-inactive {
            background: rgba(120,120,120,0.2);
        }


    .conversation .chat .row {
        flex-direction: column;
    }

.message-data .message-from {
    float: left;
}

.message-data .message-date {
    float: right;
}

.conversation .chat .message-from {
    font-size: small;
}

.conversation .chat .message-date {
    font-size: small;
    text-align: right;
}

.conversation .chat .message-text {
    border-radius: 10px;
    padding: 8px 15px;
    margin-top: 0px;
    margin-bottom: 5px;
    display: inline-block;
}

.conversation .chat > .customer {
    align-items: flex-start;
}

.customer .message-data {
    margin-right: 15%;
}

.conversation .chat .customer .message-text {
    margin-right: 15%;
    background-color: #8596C0;
    color: white;
    position: relative;
    margin-left: 15px;
}


    .conversation .chat .customer .message-text::before {
        content: "";
        position: absolute;
        z-index: 0;
        bottom: 0;
        left: -7px;
        height: 20px;
        width: 20px;
        background: #8596C0;
        border-bottom-right-radius: 15px;
    }

    .conversation .chat .customer .message-text::after {
        content: "";
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: -10px;
        width: 10px;
        height: 20px;
        background: white;
        border-bottom-right-radius: 10px;
    }


.conversation .chat > .bot {
    align-items: flex-start;
}

.conversation .chat > .notification {
    align-items: flex-start;
}

.bot .message-data {
    margin-right: 7%;
    margin-left: 7%;
}

.notification .message-data {
    margin-right: 7%;
    margin-left: 7%;
}
.conversation .chat .bot .message-text {
    margin-right: 7%;
    margin-left: 7%;
    background-color: #243A70;
    color: white;
    position: relative;
}

.conversation .chat .notification .message-text {
    margin-right: 7%;
    margin-left: 7%;
    background-color: #243A70;
    color: white;
    position: relative;
}



.conversation .chat > .agent {
    align-items: flex-end;
    margin-bottom: 10px;
}

.agent .message-data {
    margin-left: 25%;
}

.conversation .chat .agent .message-from {
    text-align: left;
}

.conversation .chat .agent .message-text {
    color: white;
    margin-left: 15%;
    background: #4A8E91;
    background-attachment: fixed;
    position: relative;
    margin-right: 15px;
}

    .conversation .chat .agent .message-text::before {
        content: "";
        position: absolute;
        z-index: 0;
        bottom: 0;
        right: -8px;
        height: 20px;
        width: 20px;
        background: #4A8E91;
        background-attachment: fixed;
        border-bottom-left-radius: 15px;
    }

    .conversation .chat .agent .message-text::after {
        content: "";
        position: absolute;
        z-index: 1;
        bottom: 0;
        right: -10px;
        width: 10px;
        height: 20px;
        background: white;
        border-bottom-left-radius: 10px;
    }

.conversation .chat > .note {
    margin-bottom: 25px;
}

.conversation .chat .note .message-text {
    border-radius: 5px;
    border-style: dashed;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-width: 1px;
    margin-left: 15px;
    margin-right: 15px;
}

.conversation .chat .redacting .message-text {
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    margin-left: 15px;
    margin-right: 15px;
}

.conversation .reply input {
    display: flex;
}

.conversation .note input {
    display: flex;
}

.conversation .chat .upload .message-text {
    color: white;
    margin-left: 15%;
    background: #58a4a7;
    background-attachment: fixed;
    position: relative;
    border-width: thin;
    border-style: solid;
    border-color: #4A8E91;
    font-weight: bold;
}

.right > button {
    margin-left: 10px;
}

.reply-area button {
    margin-bottom: 10px;
}

/* OLD CONVERSATIONS*/

.queue .chat {
    max-height: 500px;
    -ms-overflow-style: none;
    scrollbar-width: 5px;
    margin-left: -10px;
    padding-left: 20px;
    margin-right: 0px;
    padding-right: 30px;
    padding-top: 15px;
}

    .queue .chat::-webkit-scrollbar {
        width: 5px;
    }

    .queue .chat::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }

    .queue .chat::-webkit-scrollbar-thumb {
        -webkit-border-radius: 5px;
        border-radius: 5px;
        background: rgba(120,120,120,0.6);
        -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
    }

        .queue .chat::-webkit-scrollbar-thumb:window-inactive {
            background: rgba(120,120,120,0.2);
        }


.queue .chat-metadata {
    background: red;
    color: white;
    margin-right: 0;
}


    .queue .chat-metadata div {
        padding: 8px;
        padding-left: 15px;
    }

.queue .chat .row {
    flex-direction: column;
}

.message-data .message-from {
    float: left;
}

.message-data .message-date {
    float: right;
}

.queue .chat .message-from {
    font-size: small;
}

.queue .chat .message-date {
    font-size: small;
    text-align: right;
}

.queue .chat .message-text {
    border-radius: 20px;
    padding: 8px 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
}

.queue .chat > .customer {
    align-items: flex-start;
    margin-bottom: 25px;
}

.queue .chat .customer .message-text {
    margin-right: 25%;
    background-color: #eee;
    position: relative;
}

.queue .chat .customer .row:last-of-type .message-text::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: -7px;
    height: 20px;
    width: 20px;
    background: #eee;
    border-bottom-right-radius: 15px;
}

.queue .chat .customer .row:last-of-type .message-text::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: -10px;
    width: 10px;
    height: 20px;
    background: white;
    border-bottom-right-radius: 10px;
}


.queue .chat > .agent {
    align-items: flex-end;
    margin-bottom: 25px;
}

.agent .message-data {
    margin-left: 15%;
}

.upload .message-data {
    margin-left: 15%;
}

.queue .chat .agent .message-from {
    text-align: right;
}

.queue .chat .agent .message-text {
    color: white;
    margin-left: 25%;
    background: linear-gradient(to bottom, #00D0EA 0%, #0085D1 100%);
    background-attachment: fixed;
    position: relative;
}

.queue .chat .agent .row:last-of-type .message-text::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: 0;
    right: -8px;
    height: 20px;
    width: 20px;
    background: linear-gradient(to bottom, #00D0EA 0%, #0085D1 100%);
    background-attachment: fixed;
    border-bottom-left-radius: 15px;
}

.conversation .chat > .note {
    margin-bottom: 5px;
}

.queue .chat .agent .row:last-of-type .message-text::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: -10px;
    width: 10px;
    height: 20px;
    background: white;
    border-bottom-left-radius: 10px;
}

.queue .chat > .note {
    margin-bottom: 25px;
}

.queue .chat .note .message-text {
    border-radius: 5px;
    border-style: dashed;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-width: 1px;
}

.queue .reply input {
    display: flex;
}

.queue .note input {
    display: flex;
}

.drawer-logo i {
    margin-right: 20px;
    margin-left: 20px;
}

.agent-alerts .btn {
    padding: 6px;
    margin-top: 4px;
    margin-right: 10px;
}

.agent-alerts .alert-warning {
    padding: 6px;
    margin-top: 4px;
    margin-right: 10px;
}

/* Material Design - sub menu */
ul.mat-expansion-panel__content {
    padding: 0 0 0 10px;
}

.mdc-select .mdc-select__anchor {
    width: 100%;
}

.mdc-text-field {
    padding: 5px;
    background-color: white;
}

.mdc-elevation--z3, .mat-elevation-z3 {
    box-shadow: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.body {
    min-width: 680px;
    height: calc(100vh - 64px);
    padding-top: 25px;
}

.body-container {
    height: calc(100vh - 89px);
}

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }

    .body {
        min-width: 470px;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui {
    z-index: 9999;
    display: none;
    background: #fff;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}

.tippy-box {
    background-clip: padding-box;
    border: 1.4px solid RGBA(0, 8, 16, 0.25);
    padding: 20px 20px 10px;
    background-color: RGBA(221,221,221,1) !important;
}

.tippy-box .alert-warning {
    background-color: #FFEB3B;
    color: black;
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 596.98px) {
    .drawer-logo {
        height: 56px;
    }

    .logo-img {
        height: 38px;
    }
}

/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

    .mdc-drawer, .app-sidebar {
        width: 54px !important;
        transform: translateX(0%);
        transition: width .4s ease-in-out;
    }

    .drawer-profile {
        padding: 0 4px;
    }

    .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        margin-left: 54px !important;
        transition: margin-left .2s ease-in-out;
    }

    .mat-accordion .mdc-nav-menu .mat-expansion-panel__content {
        padding-left: 6px;
    }

    .full .mdc-drawer:hover .mat-accordion .mdc-nav-menu .mat-expansion-panel__content {
        padding-left: 13px;
    }

    .mdc-sub-menu-icon,
    .drawer-profile span,
    .miniHover,
    .brand {
        visibility: hidden;
        opacity: 0;
        position: fixed;
    }

    .mdc-drawer:hover,
    .mdc-drawer:hover .app-sidebar,
    .full .mdc-drawer,
    .full .app-sidebar {
        width: 256px !important;
        z-index: 99;
    }

        .full .drawer-profile span,
        .full .miniHover,
        .full .brand,
        .mdc-drawer:hover .drawer-profile span,
        .mdc-drawer:hover .miniHover,
        .mdc-drawer:hover .brand {
            visibility: visible;
            opacity: 1;
            position: relative;
        }

    .full .mdc-top-app-bar__section--align-end {
        display: none;
        transition: .4s ease-in-out;
    }

    .full .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        margin-left: 256px !important;
        transition: margin-left .2s ease-in-out;
    }

    .closed .mdc-drawer,
    .closed .app-sidebar {
        width: 0 !important;
        transform: translateX(0%);
        transition: width .4s ease-in-out;
    }

        .closed .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
            margin-left: 0 !important;
            transition: margin-left .2s ease-in-out;
        }

    .drawer-footer {
        padding: 0;
    }

    .closed .mdc-drawer {
        transform: translateX(-100%);
        animation: slide-out 1s forwards;
        transition: .4s ease-in-out;
    }

    .login-container .mdc-card {
        padding: 20px;
        width: 300px;
    }

    .login-container .mat-accordion {
        width: 300px;
    }

    .loading-container {
        padding: 10px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}



/* MatBlazor temp */
.mat-toast-body {
    padding: 8px 5px;
}

.mat-toast-icon {
    padding-left: 5px;
}

.mat-toast-close-button .material-icons {
    color: white;
}

.mat-paginator {
    background: none;
}

.nowrap {
    white-space:nowrap;
}


.mat-fab-animate {
    animation: mat_fab_spin 1s linear normal;
}

@keyframes mat_fab_spin {

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/*Refresh Timer*/
div.refresh-timer.row {
    margin-left: 0;
    margin-right: 0;
    -moz-align-content: center;
    -o-align-content: center;
    -webkit-align-content: center;
    align-content: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

    div.refresh-timer.row div {
        -webkit-align-self: center;
        -o-align-self: center;
        align-self: center;
        margin-left: .2rem;
        margin-right: .2rem;
    }

div.refresh-timer-interval-wrapper {
    width: 100px;
}

div.wide-dialog .mdc-dialog .mdc-dialog__container {
    width: 100%;
}



div.wide-dialog .mdc-dialog .mdc-dialog__surface {
    width: 70%;
}

div.tag-dialog .mdc-dialog .mdc-dialog__container {
    width: 100%;
}

div.tag-dialog .mdc-dialog .mdc-dialog__surface {
    max-width: none;
    width: 50%;
}

.btn-space {
    margin: 10px;
}

.narrow-col {
    width: 100px;
}

.medium-col {
    width: 150px;
}

div.mdc-select__anchor {
    min-width: 100px;
}

.queue-setup-options .row {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 0px;
    margin-right: 0px;
}

.queue-setup-options .right-column {
    padding-left: 100px;
}

.dialog-table td {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
}

.dialog-small-col {
    width: 180px;
}


/*add this to avoid flickering*/
.plk-dd-inprogess > * {
    pointer-events: none;
}

/*dropzone style style*/
.plk-dd-dropzone {
    min-height: 50px;
}

/*drag drop styles*/

.plk-dd-spacing {
    height: 10px;
}

.plk-dd-spacing-dragged-over {
    padding: 25px;
}

.plk-dd-dragged-over {
    background-color: lightgray;
    opacity: 0.6;
    animation: blinker 1s linear infinite;
}

    .plk-dd-dragged-over > div {
        background-color: lightgray;
        opacity: 0.6;
        animation: blinker 1s linear infinite;
    }

.plk-dd-dragged-over-denied {
    background-color: red;
    opacity: 0.6;
    animation: blinker 1s linear infinite;
}

.plk-dd-in-transit {
    opacity: 0;
}

    .plk-dd-in-transit > div {
        opacity: 0;
    }

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.blink_me {
    animation: blinker 1s linear infinite;
}

/*for flex demo*/

.plk-flex .plk-dd-spacing {
    width: 20px;
    height: auto;
}

.plk-flex .plk-dd-dragged-over {
    background-color: lightgray;
    opacity: 0.6;
    animation: blinker 1s linear infinite;
}

    .plk-flex .plk-dd-dragged-over > div {
        background-color: lightgray;
        opacity: 0.9;
        animation: blinker 1s linear infinite;
    }

.plk-flex .plk-dd-in-transit {
    background-color: orangered;
}

    .plk-flex .plk-dd-in-transit > div {
        background-color: orangered;
    }

.plk-dd-noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.tooltip-host {
    display: inline-block;
    padding-bottom: 10px;
}

.tooltip-text {
    display: inline-block;
    padding-left: 10px;
}