﻿:root {
    --star-rating-size: 2rem;
    --unchecked-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3e%3cpath fill='%23ccc' stroke='%23fff' stroke-width='2' d='m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z'/%3e%3c/svg%3e");
    --checked-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3e%3cpath fill='gold' stroke='%23fff' stroke-width='2' d='m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z'/%3e%3c/svg%3e");
    --hovered-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3e%3cpath fill='gold' stroke='%23fff' stroke-width='2' d='m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z'/%3e%3c/svg%3e");
    --max-stars: 5;
}

.tp-spinner-logo {
    color: var(--base-text);
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(../img/LogoVOICEF.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 60px;
    box-sizing: border-box;
}

.tp-spinner-loader {
    color: var(--base-text);
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    border-radius: 50%;
    width: 10em;
    height: 10em;
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1px solid rgba(48,71,176,.2);
    border-right: 1px solid rgba(48,71,176,.2);
    border-bottom: 1px solid rgba(48,71,176,.2);
    border-left: 4px solid #325D95;
    transform: translateZ(0);
    animation: spin 1.1s linear infinite;
    box-sizing: border-box;
}

.Frame-3 {
    object-fit: contain;
    position: absolute;
    height: auto;
    top: 5%;
    left: 5%;
}


.k-drawer-item.k-state-selected {
    color: #fff;
    background-color: #A00095;
}

    .k-drawer-item.k-state-selected:hover, .k-drawer-item.k-state-selected.k-state-hover {
        color: #fff;
        background-color: #A00095;
    }


.remoteauth {
    color: var(--grey-9);
    font-size: 12px;
}

@font-face {
    font-family: 'RobotoCondensed';
    src: url('../css/font/Roboto_Condensed/RobotoCondensed-Regular.ttf');
}

@font-face {
    font-family: 'ProximaNova';
    src: url('../css/font/ProximaNova/Proxima-Nova-Alt-Light.ttf');
}

@font-face {
    font-family: 'RedHatText';
    src: url('../css/font/RedHatText/RedHatText-Regular.ttf');
}

.current-page-title {
    font-family: RobotoCondensed;
    padding-bottom: 5px;
    padding-left: 15px;
    /*border-bottom: 4px solid #325D95;*/
    width: 25%;
    margin-top: 5px;
    font-weight: bolder;
    /*color: #325D95;*/
}

.welcome-title {
    font-family: RobotoCondensed;
    font-size: 1.3em;
    padding-bottom: 5px;
    padding-left: 15px;
    /*border-bottom: 4px solid #325D95;*/
    margin-top: 5px;
    width: 50%;
    /*color: #325D95;*/
}

.button-is-primary {
    padding: 0.3rem 0.45rem;
    background-color: #A00095;
    color: var(--grey-1);
    align-self: center;
}

    .button-is-primary:hover {
        border-color: #6d0066;
        color: #fff;
        background-color: #7a0071
    }

.font-08 {
    /*font-size: 0.8em;*/
}

.col-custom-1 {
    max-width: 250px !important;
    text-align: center;
}

.margintop-custom {
    margin-top: 15px;
}

.div-dashboard-speech {
    /*    -webkit-box-shadow: 0px 0px 5px 1px rgba(106,106,106,0.53);
    box-shadow: 0px 0px 5px 1px rgba(106,106,106,0.53);
    border-radius: 5px;*/
    height: 300px;
    overflow-y: auto;
    overflow-x: auto;
    /*padding: 2px 4px;*/
    /*font-size: .9em;*/
}

.container-dashboard {
    font-size: 1em;
}

#stopDiv ul li {
    padding: 2px 2px;
}

.textAnalisys {
    background-color: #84c98b;
    color: black;
    padding-left: 2px;
    padding-right: 3px;
    border-radius: 4px;
    margin-left: 5px;
    display: inline;
    margin-right: 3px;
}

.card-body {
    flex: 1 1 auto;
    padding: .5rem .5rem;
}

.accordion-button.collapsed {
    background-color: var(--grey-6) !important;
    /*color: var(--grey-1);*/
    font-weight: bolder;
    font-family: RobotoCondensed;
}

/*    .accordion-button.collapsed::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }*/

/* Trascription table header*/
.th_table_trascr {
    background-color: #dddddd !important;
    padding: 2px 2px;
    color: #000000;
    border: 2px solid #ffffff;
}

.div_table_trascr {
    /*background-color: #ffffff;*/
    /*color: #188b62;*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.table_trascr {
    border-spacing: 5px !important;
    border-radius: 4px;
    background-color: #ffffff;
}

.border-primary {
    border-color: #A00095 !important;
}

.accordion-button:not(.collapsed) {
    color: #2e2e2e;
    background-color: var(--grey-6) !important;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

/* Messages and chat body */
.messages-panel img.img-circle {
    border: 1px solid rgba(0,0,0,0.1);
}

.medium-image {
    width: 45px;
    height: 45px;
    margin-right: 5px;
}

.img-circle {
    border-radius: 50%;
    background-color: #e6e6e6;
    padding: 3px;
}

.img-rectangle {
    border-radius: 4px;
}

.messages-panel {
    width: 100%;
    height: calc(100vh - 150px);
    min-height: 460px;
    background-color: #fbfcff;
    display: inline-block;
    border-top-left-radius: 5px;
    margin-bottom: 0;
}

    .messages-panel img.img-circle {
        border: 1px solid rgba(0,0,0,0.1);
    }

    .messages-panel .tab-content {
        border: none;
        background-color: transparent;
    }

.contacts-list {
    background-color: #fff;
    border-right: 1px solid #cfdbe2;
    width: 305px;
    height: 100%;
    border-top-left-radius: 5px;
    float: left;
}

    .contacts-list .inbox-categories {
        width: 100%;
        padding: 0;
        margin-left: 0;
    }

        .contacts-list .inbox-categories > div {
            float: left;
            width: 76px;
            padding: 15px 5px;
            font-size: 14px;
            text-align: center;
            border-right: 1px solid rgba(0,0,0,0.1);
            background-color: rgba(255,255,255,0.75);
            cursor: pointer;
            font-weight: 700;
        }

            .contacts-list .inbox-categories > div:nth-child(1) {
                color: #2da9e9;
                border-right-color: rgba(45,129,233,0.06);
                border-bottom: 4px solid #2da9e9;
                border-top-left-radius: 5px;
            }

                .contacts-list .inbox-categories > div:nth-child(1).active {
                    color: #fff;
                    background-color: #2da9e9;
                    border-bottom: 4px solid rgba(0,0,0,0.15);
                }

            .contacts-list .inbox-categories > div:nth-child(2) {
                color: #0ec8a2;
                border-right-color: rgba(14,200,162,0.06);
                border-bottom: 4px solid #0ec8a2;
            }

                .contacts-list .inbox-categories > div:nth-child(2).active {
                    color: #fff;
                    background-color: #0ec8a2;
                    border-bottom: 4px solid rgba(0,0,0,0.15);
                }

            .contacts-list .inbox-categories > div:nth-child(3) {
                color: #ff9e2a;
                border-right-color: rgba(255,152,14,0.06);
                border-bottom: 4px solid #ff9e2a;
            }

                .contacts-list .inbox-categories > div:nth-child(3).active {
                    color: #fff;
                    background-color: #ff9e2a;
                    border-bottom: 4px solid rgba(0,0,0,0.15);
                }

            .contacts-list .inbox-categories > div:nth-child(4) {
                color: #314557;
                border-bottom: 4px solid #314557;
                border-right-color: transparent;
            }

                .contacts-list .inbox-categories > div:nth-child(4).active {
                    color: #fff;
                    background-color: #314557;
                    border-bottom: 4px solid rgba(0,0,0,0.35);
                }

    .contacts-list .panel-search > input {
        margin-left: 5px;
        background-color: rgba(0,0,0,0);
    }

.contacts-outter-wrapper {
    position: relative;
    width: 305px;
    direction: rtl;
    min-height: 405px;
    overflow: hidden;
}

    .contacts-outter-wrapper:after, .contacts-outter-wrapper:nth-child(1):after {
        content: "";
        position: absolute;
        width: 100%;
        height: 5px;
        bottom: 0;
        background-color: #2da9e9;
        border-bottom-left-radius: 4px;
    }

    .contacts-outter-wrapper:nth-child(2):after {
        background-color: #0ec8a2;
    }

    .contacts-outter-wrapper:nth-child(3):after {
        background-color: #ff9e2a;
    }

    .contacts-outter-wrapper:nth-child(4):after {
        background-color: #314557;
    }

.contacts-outter {
    position: relative;
    height: calc(100vh - 278px);
    width: 325px;
    direction: rtl;
    overflow-y: scroll;
    padding-left: 20px;
}

.contacts {
    direction: ltr;
    width: 305px;
    margin-top: 0px;
}

    .contacts li {
        width: 100%;
        border-top: 1px solid transparent;
        border-bottom: 1px solid rgba(205,211,237,0.2);
        border-left: 4px solid rgba(255,255,255,0);
        padding: 8px 12px;
        position: relative;
        background-color: rgba(255,255,255,0);
    }

        .contacts li:first-child {
            border-top: 1px solid rgba(205,211,237,0.2);
        }

            .contacts li:first-child.active {
                border-top: 1px solid rgba(205,211,237,0.75);
            }

        .contacts li:hover {
            background-color: rgba(255,255,255,0.25);
        }

        .contacts li.active, .contacts.info li.active {
            border-left: 4px solid #2da9e9;
            border-top-color: rgba(205,211,237,0.75);
            border-bottom-color: rgba(205,211,237,0.75);
            background-color: #fbfcff;
        }

    .contacts.success li.active {
        border-left: 4px solid #0ec8a2;
    }

    .contacts.warning li.active {
        border-left: 4px solid #ff9e2a;
    }

    .contacts.danger li.active {
        border-left: 4px solid #f95858;
    }

    .contacts.dark li.active {
        border-left: 4px solid #314557;
    }

    .contacts li > .info-combo {
        width: 172px;
        cursor: pointer;
    }

        .contacts li > .info-combo > h3 {
            width: 167px;
            height: 20px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

    .contacts li .contacts-add {
        width: 50px;
        float: right;
        z-index: 23299;
    }

    .contacts li .message-time {
        text-align: right;
        display: block;
        margin-left: -15px;
        width: 70px;
        height: 25px;
        line-height: 28px;
        font-size: 14px;
        font-weight: 600;
        padding-right: 5px;
    }

    .contacts li .contacts-add .fa-trash-o {
        position: absolute;
        font-size: 14px;
        right: 12px;
        bottom: 15px;
        color: #a6a6a6;
        cursor: pointer;
    }

    .contacts li .contacts-add .fa-paperclip {
        position: absolute;
        font-size: 14px;
        right: 34px;
        bottom: 15px;
        color: #a6a6a6;
        cursor: pointer;
    }

    .contacts li .contacts-add .fa-trash-o:hover {
        color: #f95858;
    }

    .contacts li .contacts-add .fa-paperclip:hover {
        color: #ff9e2a;
    }

    .contacts li > .info-combo > h5 {
        width: 180px;
        font-size: 12px;
        height: 28px;
        font-weight: 500;
        overflow: hidden;
        white-space: normal;
        text-overflow: ellipsis;
    }

    .contacts li .message-count {
        position: absolute;
        top: 8px;
        left: 5px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        background-color: #ff9e2a;
        border-radius: 50%;
        color: #fff;
        font-weight: 600;
        font-size: 10px;
    }

.message-body {
    background-color: #fbfcff;
    height: 100%;
    width: calc(100% - 305px);
    float: right;
}

    .message-body .message-top {
        display: inline-block;
        width: 100%;
        position: relative;
        min-height: 53px;
        height: auto;
        background-color: #fff;
        border-bottom: 1px solid rgba(205,211,237,0.5);
    }

        .message-body .message-top .new-message-wrapper {
            width: 100%;
        }

            .message-body .message-top .new-message-wrapper > .form-group {
                width: 100%;
                padding: 10px 10px 0 10px;
                height: 50px;
            }

            .message-body .message-top .new-message-wrapper .form-group .form-control {
                width: calc(100% - 50px);
                float: left;
            }

            .message-body .message-top .new-message-wrapper .form-group a {
                width: 40px;
                padding: 6px 6px 6px 6px;
                text-align: center;
                display: block;
                float: right;
                margin: 0;
            }

        .message-body .message-top > .btn {
            height: 53px;
            line-height: 53px;
            padding: 0 20px;
            float: right;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            margin: 0;
            font-size: 15px;
            opacity: 0.9;
        }

            .message-body .message-top > .btn:hover,
            .message-body .message-top > .btn:focus,
            .message-body .message-top > .btn.active {
                opacity: 1;
            }

            .message-body .message-top > .btn > i {
                margin-right: 5px;
                font-size: 18px;
            }

.new-message-wrapper {
    position: absolute;
    max-height: 400px;
    top: 53px;
    background-color: #fff;
    z-index: 105;
    padding: 20px 15px 30px 15px;
    border-bottom: 1px solid #cfdbe2;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    box-shadow: 0 7px 10px rgba(0,0,0,0.25);
    transition: 0.5s;
    display: none;
}

    .new-message-wrapper.closed {
        opacity: 0;
        max-height: 0;
    }

.chat-footer.new-message-textarea {
    display: block;
    position: relative;
    padding: 0 10px;
}

    .chat-footer.new-message-textarea .send-message-button {
        right: 35px;
    }

    .chat-footer.new-message-textarea .upload-file {
        right: 85px;
    }

    .chat-footer.new-message-textarea .send-message-text {
        padding-right: 100px;
        height: 90px;
    }

.message-chat {
    width: 100%;
    overflow: hidden;
}

.chat-body {
    width: calc(100% + 17px);
    min-height: 290px;
    height: calc(100vh - 320px);
    background-color: #fbfcff;
    margin-bottom: 30px;
    padding: 30px 5px 5px 5px;
    overflow-y: scroll;
    font-size: .7em;
}

.message {
    position: relative;
    width: 100%;
}

    .message br {
        clear: both;
    }

    .message .message-body {
        position: relative;
        width: auto;
        max-width: calc(100% - 150px);
        float: left;
        background-color: #2e2e2e;
        border-radius: 4px;
        border: 1px solid #dbe3e8;
        margin: 0 5px 20px 15px;
        color: #fff;
    }

    .message:after {
        content: "";
        position: absolute;
        top: 11px;
        left: 63px;
        float: left;
        z-index: 100;
        border-top: 10px solid transparent;
        border-left: none;
        border-bottom: 10px solid transparent;
    }

    .message:before {
        content: "";
        position: absolute;
        top: 10px;
        left: 62px;
        float: left;
        z-index: 99;
        border-top: 11px solid transparent;
        border-left: none;
        border-bottom: 11px solid transparent;
        border-right: 13px solid #dbe3e8;
    }

    .message .medium-image {
        float: left;
        margin-left: 10px;
    }

    .message .message-info {
        width: 100%;
        height: 22px;
    }

        .message .message-info > h5 > i {
            font-size: 11px;
            font-weight: 700;
            margin: 0 2px 0 0;
            /*color: #a2b8c5;*/
        }

        .message .message-info > h5 {
            margin: 8px 0 0 0;
            font-size: 12px;
            float: right;
            padding-right: 10px;
        }

        .message .message-info > h4 {
            font-size: 14px;
            font-weight: 600;
            margin: 7px 13px 0 10px;
            /*color: #65addd;*/
            float: left;
        }

    .message .message-info-customer {
        width: 100%;
        height: 22px;
    }

        .message .message-info-customer > h5 > i {
            font-size: 11px;
            font-weight: 700;
            margin: 0 2px 0 0;
            /*color: #a2b8c5;*/
        }

        .message .message-info-customer > h5 {
            margin: 8px 0 0 0;
            font-size: 12px;
            float: right;
            padding-right: 10px;
            color: #2e2e2e !important;
        }

        .message .message-info-customer > h4 {
            font-size: 14px;
            font-weight: 600;
            margin: 7px 13px 0 10px;
            /*color: #65addd;*/
            float: left;
            color: #2e2e2e !important;
        }

    .message hr {
        margin: 4px 2%;
        width: 96%;
        opacity: 0.75;
    }

    .message .message-text {
        text-align: left;
        padding: 3px 13px 10px 13px;
        font-size: 14px;
    }

    .message.my-message .message-body {
        float: right;
        margin: 0 15px 20px 5px;
    }

    .message.my-message:after {
        content: "";
        position: absolute;
        top: 11px;
        left: auto;
        right: 63px;
        float: left;
        z-index: 100;
        border-top: 10px solid transparent;
        border-left: 13px solid #2e2e2e;
        border-bottom: 10px solid transparent;
        border-right: none;
    }

    .message.my-message:before {
        content: "";
        position: absolute;
        top: 10px;
        left: auto;
        right: 62px;
        float: left;
        z-index: 99;
        border-top: 11px solid transparent;
        border-left: 13px solid #dbe3e8;
        border-bottom: 11px solid transparent;
        border-right: none;
    }

    .message.my-message .medium-image {
        float: right;
        margin-left: 5px;
        margin-right: 10px;
    }

    .message.my-message .message-info > h5 {
        float: left;
        padding-left: 10px;
        padding-right: 0;
    }

    .message.my-message .message-info > h4 {
        float: right;
    }

    .message.info .message-body {
        background-color: #e6e6e6;
        /*border: 1px solid #2da9e9;*/
        color: #232323;
    }

    .message.info:after, .message.info:before {
        /*border-right: 13px solid #2da9e9;*/
    }

    .message.success .message-body {
        background-color: #0ec8a2;
        border: 1px solid #0ec8a2;
        color: #fff;
    }

    .message.success:after, .message.success:before {
        border-right: 13px solid #0ec8a2;
    }

    .message.warning .message-body {
        background-color: #ff9e2a;
        border: 1px solid #ff9e2a;
        color: #fff;
    }

    .message.warning:after, .message.warning:before {
        border-right: 13px solid #ff9e2a;
    }

    .message.danger .message-body {
        background-color: #f95858;
        border: 1px solid #f95858;
        color: #fff;
    }

    .message.danger:after, .message.danger:before {
        border-right: 13px solid #f95858;
    }

    .message.dark .message-body {
        background-color: #314557;
        border: 1px solid #314557;
        color: #fff;
    }

    .message.dark:after, .message.dark:before {
        border-right: 13px solid #314557;
    }

    .message.info .message-info > h4, .message.success .message-info > h4,
    .message.warning .message-info > h4, .message.danger .message-info > h4,
    .message.dark .message-info > h4 {
        color: #fff;
    }

    .message.info .message-info > h5, .message.info .message-info > h5 > i,
    .message.success .message-info > h5, .message.success .message-info > h5 > i,
    .message.warning .message-info > h5, .message.warning .message-info > h5 > i,
    .message.danger .message-info > h5, .message.danger .message-info > h5 > i,
    .message.dark .message-info > h5, .message.dark .message-info > h5 > i {
        color: #fff;
        opacity: 0.9;
    }

.chat-footer {
    position: relative;
    width: 100%;
    padding: 0 80px;
}

    .chat-footer .send-message-text {
        position: relative;
        display: block;
        width: 100%;
        min-height: 55px;
        max-height: 75px;
        background-color: #fff;
        border-radius: 5px;
        padding: 5px 95px 5px 10px;
        font-size: 13px;
        resize: vertical;
        outline: none;
        border: 1px solid #e0e6eb;
    }

    .chat-footer .send-message-button {
        display: block;
        position: absolute;
        width: 35px;
        height: 35px;
        right: 100px;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 1px solid rgba(0,0,0,0.05);
        outline: none;
        font-weight: 600;
        border-radius: 50%;
        padding: 0;
    }

        .chat-footer .send-message-button > i {
            font-size: 16px;
            margin: 0 0 0 -2px;
        }

    .chat-footer label.upload-file input[type="file"] {
        position: fixed;
        top: -1000px;
    }

    .chat-footer .upload-file {
        display: block;
        position: absolute;
        right: 150px;
        height: 30px;
        font-size: 20px;
        top: 0;
        bottom: 0;
        margin: auto;
        opacity: 0.25;
    }

        .chat-footer .upload-file:hover {
            opacity: 1;
        }

/** Button to show scrolling bottom */
#scrollToBottom {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 22px;
    background-color: #A00095;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    opacity: 0.7;
    transition: opacity 0.3s, bottom 0.3s;
}

    #scrollToBottom:hover {
        opacity: 1;
        bottom: 50px;
    }

    #scrollToBottom:focus {
        outline: none;
    }

@media screen and (max-width: 767px) {
    .messages-panel {
        min-width: 0;
        display: inline-block;
    }

    .contacts-list, .contacts-list .inbox-categories > div:nth-child(4) {
        border-top-right-radius: 5px;
        border-right: none;
    }

    .contacts-list, .contacts-outter-wrapper, .contacts-outter, .contacts {
        width: 100%;
        direction: ltr;
        padding-left: 0;
    }

        .contacts-list .inbox-categories > div {
            width: 25%;
        }

    .message-body {
        width: 100%;
        margin: 20px 0;
        border: 1px solid #dce2e9;
        background-color: #fff;
    }

    .message .message-body {
        max-width: calc(100% - 85px);
    }

    .message-body .chat-body {
        background-color: #fff;
        width: 100%;
    }

    .chat-footer {
        margin-bottom: 20px;
        padding: 0 20px;
    }

        .chat-footer .send-message-button {
            right: 40px;
        }

        .chat-footer .upload-file {
            right: 90px;
        }

    .message-body .message-top > .btn {
        border-radius: 0;
        width: 100%;
    }

    .contacts-add {
        display: none;
    }
}

/* Overwrite button color Telerik **/
.k-button.k-primary {
    border-color: #A00095;
    color: #fff;
    background-color: #A00095;
}

    .k-button.k-primary:hover, .k-button.k-primary.k-state-hover {
        border-color: #6d0066;
        color: #fff;
        background-color: #7a0071
    }


.k-dialog-titlebar {
    border-color: inherit;
    color: white;
    background-color: #A00095;
}

.nbalst {
    padding-left: 20px;
    list-style: none;
    font-family: RobotoCondensed;
    font-size: 1.2em;
}

    .nbalst li {
        padding-bottom: 0.3em;
        list-style-type: none;
    }

        .nbalst li img {
            height: 1.2em;
            width: auto;
            vertical-align: middle;
            margin-right: 0.5em;
        }

.nba-highlight {
    background-color: yellow;
    padding: 0.2em 0.3em;
}


/**** star rating class ******/
.star-rating {
    width: min-content;
    padding: 0.3rem;
}

    .star-rating > div {
        position: relative;
        height: var(--star-rating-size);
        width: calc(var(--star-rating-size) * var(--max-stars));
        background-image: var(--unchecked-image);
        background-size: var(--star-rating-size) var(--star-rating-size);
    }

    .star-rating label {
        position: absolute;
        height: 100%;
        background-size: var(--star-rating-size) var(--star-rating-size);
    }

        .star-rating label:nth-of-type(1) {
            z-index: 10;
            width: calc(100% / var(--max-stars) * 1);
        }

        .star-rating label:nth-of-type(2) {
            z-index: 9;
            width: calc(100% / var(--max-stars) * 2);
        }

        .star-rating label:nth-of-type(3) {
            z-index: 8;
            width: calc(100% / var(--max-stars) * 3);
        }

        .star-rating label:nth-of-type(4) {
            z-index: 7;
            width: calc(100% / var(--max-stars) * 4);
        }

        .star-rating label:nth-of-type(5) {
            z-index: 6;
            width: calc(100% / var(--max-stars) * 5);
        }

        .star-rating label:nth-of-type(6) {
            z-index: 5;
            width: calc(100% / var(--max-stars) * 6);
        }

        .star-rating label:nth-of-type(7) {
            z-index: 4;
            width: calc(100% / var(--max-stars) * 7);
        }

        .star-rating label:nth-of-type(8) {
            z-index: 3;
            width: calc(100% / var(--max-stars) * 8);
        }

        .star-rating label:nth-of-type(9) {
            z-index: 2;
            width: calc(100% / var(--max-stars) * 9);
        }

        .star-rating label:nth-of-type(10) {
            z-index: 1;
            width: calc(100% / var(--max-stars) * 10);
        }

    .star-rating input:checked + label,
    .star-rating input:focus + label {
        background-image: var(--checked-image);
    }

        .star-rating input:checked + label:hover,
        .star-rating label:hover {
            background-image: var(--hovered-image);
        }

    .star-rating > div:focus-within {
    }

    .star-rating input,
    .star-rating label > span {
        border: 0;
        padding: 0px;
        margin: 0;
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

legend {
    font-size: 1rem;
}

.p-1 {
    padding: 0rem .25rem !important;
}

.card-header {
    background-color: #dddddd !important;
}

.nav-link {
    background-color: #d0d0d0 !important;
    margin-right: 3px;
}

    .nav-link.active {
        background-color: #fff !important;
    }


.table > :not(:last-child) > :last-child > * {
    border-bottom: 1px solid rgba(0,0,0,.125) !important;
}

.k-window-content, .k-prompt-container {
    background-color: var(--grey-4) !important;
}

.dropdown-item .fas.fa-sign-out-alt.me-2 {
    color: #2e2e2e;
}

.fas.fa-user.me-2 {
    color: var(--brand-primary-brand-color);
}

.k-picker {
    border-color: #e6e6e6 !important;
    color: rgba(0, 0, 0, 0.87);
}

.k-input-solid, .k-picker-solid {
    border-width: 1px 1px;
    border-top-color: #e6e6e6 !important;
}

.bg-success {
    background-color: #84c98b !important;
}

/******* ListBox customized color ********************/

.k-list-item.k-selected, .k-selected.k-list-optionlabel {
    color: white;
    background-color: #a00095;
}

    .k-list-item.k-selected:hover, .k-selected.k-list-optionlabel:hover, .k-list-item.k-selected.k-hover, .k-selected.k-hover.k-list-optionlabel {
        color: white;
        background-color: #a00095;
    }

.k-grid tbody tr:not(.k-detail-row):hover,
.k-grid tbody tr:not(.k-detail-row).k-state-hover,
.k-grid tbody tr:not(.k-detail-row).k-hover {
    background-color: transparent;
}

.k-switch-on .k-switch-track {
    border-color: #5d5d5d;
    color: white;
    background-color: #A00095;
}

.k-switch-off .k-switch-track {
    border-color: #dee2e6;
    color: #424242;
    background-color: #f8f9fa;
}

.tswitch {
    margin-left: 5px;
}

.ultswitch {
    list-style-type: none; /* Rimuove i punti di elenco predefiniti */
    padding: 0; /* Rimuove il padding predefinito */
    margin: 0; /* Rimuove il margine predefinito */
    display: flex; /* Imposta il layout flessibile */
    flex-direction: row; /* Imposta la direzione del layout su orizzontale */
}

    .ultswitch li {
        margin-right: 20px; /* Aggiunge uno spazio tra gli elementi li (opzionale) */
    }

.form-check-input {
    width: 3em !important;
    height: 1.5em;
    margin-right: 3px;
    margin-top: unset;
}

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

.form-check-label {
    margin-right: 10px;
}

.form-check-input:checked {
    background-color: #A00095;
    border-color: transparent;
}

.btn-success {
    color: #fff;
    background-color: #A00095;
    border-color: #A00095;
}

    .btn-success:hover {
        color: #fff;
        background-color: #A00095;
        border-color: #A00095;
    }

    .btn-success:focus {
        color: #fff;
        background-color: #A00095;
        border-color: #A00095;
        box-shadow: 0 0 0 0.25rem rgba(60,153,110,.5);
    }

/* Conversation chat end  */
.box3 {
    width: 400px;
    margin: 50px auto;
    border-radius: 15px;
    background: #00bfb6;
    color: #fff;
    padding: 13px 10px 13px 10px;
    text-align: center;
    font-weight: 900;
    font-family: arial;
    position: relative;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5); /* Aggiunge un'ombra */
}

.sb13:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 15px solid #00bfb6;
    border-right: 15px solid transparent;
    border-top: 15px solid #00bfb6;
    border-bottom: 15px solid transparent;
    right: -16px;
    top: 0px;
}


.imageChatEnd {
    float: left; /* Posiziona l'immagine a sinistra */
    width: 40px; /* Imposta la larghezza dell'immagine */
    height: 40px; /* Imposta l'altezza dell'immagine */
    background-image: url('../img/end-chat.png'); /* Imposta l'immagine di sfondo */
    background-size: cover; /* Fai sì che l'immagine si adatti al contenitore */
    background-position: center; /* Centra l'immagine */
    // margin-right: 20px; /* Margini per allineare l'immagine */
}

.textChatEnd {
    /*margin-bottom: 20px;*/
    transform: translateY(5%);
    font-size: large;
}

/* Classes to be added for sentiment analysis */

.message-body {
    background-color: #fbfcff;
    height: 100%;
    width: calc(100% - 305px);
    float: right;
    position: relative;
}

.small-image {
    width: 22px;
    height: 22px;
    margin-right: 3px;
}

.img-circle-sentiment {
    border-radius: 50%;
    background-color: #e6e6e6;
    padding: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translate(-120%, 0%); /* It position the imagine in the corner */
}

.message.info.green:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 62px;
    float: left;
    z-index: 99;
    border-top: 11px solid transparent;
    border-left: none;
    border-bottom: 11px solid transparent;
    border-right: 13px solid #40C057;
}

.message.info.red:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 62px;
    float: left;
    z-index: 99;
    border-top: 11px solid transparent;
    border-left: none;
    border-bottom: 11px solid transparent;
    border-right: 13px solid #FA5252;
}

.bg_message_red {
    border: 1px solid #FA5252 !important;
    background-color: rgba(250, 82, 82, 0.2) !important;
}

.bg_message_green {
    border: 1px solid #40C057 !important;
    background-color: rgba(64, 192, 87, 0.2) !important;
}
