﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }


.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.spinner {
    /*margin: 100px auto 0;*/
    /*width: 70px;*/
    text-align: center;
}

    .spinner > div {
        width: 18px;
        height: 18px;
        background-color: white;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
        animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    }

    .spinner .bounce1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .spinner .bounce2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

.info-cla {
    margin-bottom: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 1px;
}

.user-img {
    background-image: url("/Content/Images/user.jpg") !important;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ff0000;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #00ff00;
}

input:focus + .slider {
    box-shadow: 0 0 1px #00ff00;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/**twilio Chat */

.popContainer {
    position: absolute;
    margin: auto;
    width: 340px;
    height: 300px;
    border-radius: 8px;
    display: flex;
    box-shadow: 0 15px 15px -5px rgb(0 0 0 / 20%);
    background-color: #fcfcfe;
}

.open-button {
    background-color: #555;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 23px;
    right: 28px;
    width: 260px;
    margin-right: 4px;
}

/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
    margin-right: 4px;
}

/* Add styles to the form container */
.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

    /* Full-width textarea */
    .form-container textarea {
        width: 100%;
        padding: 15px;
        margin: 5px 0 22px 0;
        border: none;
        background: #f1f1f1;
        resize: none;
        min-height: 200px;
    }

        /* When the textarea gets focus, do something */
        .form-container textarea:focus {
            background-color: #ddd;
            outline: none;
        }

    /* Set a style for the submit/send button */
    .form-container .btn {
        background-color: #04AA6D;
        color: white;
        padding: 16px 20px;
        border: none;
        cursor: pointer;
        width: 100%;
        margin-bottom: 10px;
        opacity: 0.8;
    }

    /* Add a red background color to the cancel button */
    .form-container .cancel {
        background-color: #EF3334;
    }

    /* Add some hover effects to buttons */
    .form-container .btn:hover, .open-button:hover {
        opacity: 1;
    }

.customer-msg {
    background-color: lightgreen;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    padding-left: 2px;
}

.agent-msg {
    background-color: lightblue;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    padding-left: 40px;
}

.dv-message-agent {
    padding: 6px 7px 8px 9px;
    flex-direction: column;
    background-color: #DCF8C6;
}

.dv-chat-list-container {
    background-color: #E5DDD5;
    margin-top: 12px;
}

/**
    new design
*/

.msger {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 867px;
    /*margin: 25px 10px;*/
    height: calc(100% - 50px);
    border: var(--border);
    border-radius: 5px;
    background: var(--msger-bg);
    box-shadow: 0 15px 15px -5px rgb(0 0 0 / 20%);
    overflow-y: hidden;
    height: 300px !important
}

.msger-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: var(--border);
    background: #eee;
    color: #666;
}



.msg-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    /* background: #ddd; */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    margin-top: 10px;
}

.msg-bubble {
    max-width: 450px;
    padding: 15px;
    border-radius: 15px;
    background: #ececec;
}

.msg-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.right-msg .msg-bubble {
    background: #579ffb;
    color: #fff;
    border-bottom-right-radius: 0;
}

.msger-send-btn {
    margin-left: 10px;
    background: rgb(0, 196, 65);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.23s;
}

.right-msg {
    flex-direction: row-reverse;
}

.svg-inline--fa {
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}

.msg {
    display: flex;
    /* align-items: flex-end; */
    margin-bottom: 10px;
}

.chatimg {
    display: inline-block !important;
    vertical-align: middle;
    width: 130px;
    padding-top: 3%;
    padding-left: 7px;
    cursor: pointer;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.justify-content-start {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
}

.justify-content-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
}

.mb-4, .my-4 {
    margin-bottom: 0.5rem !important;
}

.bg-image {
    /* The image used */
    background-image: url("living_room.jpg");
    /* Add the blur effect */
    filter: blur(5px);
    -webkit-filter: blur(5px);
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.local-media-half {
    display: inline-block;
    /*vertical-align: top;*/
    width: calc(50% - 3px);
    /* height:220px;*/
    margin-bottom: 0px;
    position: relative;
    background: #3c4043;
    border-radius: 13px;
}
    /*
    .local-media-half:last-child {
        margin-left: 5px;
    }*/
    /*.local-media-half:first-child {
        margin-left: 3px;
    }*/

    .local-media-half video {
        border-radius: 13px !important;
        width: 100%;
        height: 255px;
        /*margin: 0 auto;*/
    }




.local-media-full {
    display: inline-block;
    /* vertical-align: top;*/
    width: 98%;
    margin-bottom: 0px;
    position: relative;
}

    .local-media-full video {
        border-radius: 13px !important;
        width: 100%;
    }

.dominant-speaker {
    outline: 3px solid #0366d6;
    border-radius: 13px;
}

@media screen and (orientation: portrait) {
    .local-media-half video {
        width: 165px;
    }
}

.simple-spinner {
    height: 110px;
    width: 110px;
    border: 10px solid #2b77ab;
    border-radius: 50%;
    border-top-color: #3fbdf0;
    animation: rotate 2s 0s infinite linear normal;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.img-position {
    margin-left: -18px;
    margin-top: -129px;
}

.animation {
    width: 150px;
    height: 140px;
    margin: auto;
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
}

.animation_bg {
    background-color: rgba(0,0,0,0.4);
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    top: 0;
}

/* The alert message box */
.alert {
    padding: 20px;
    color: white;
    background-color: #f44336;
    width: 30%;
    margin: auto;
    top: 0;
    right: 0;
    position: absolute;
    z-index: 9999;
}

    .alert.success {
        background-color: #04AA6D;
    }

    .alert.info {
        background-color: #2196F3;
    }

    .alert.warning {
        background-color: #ff9800;
    }
/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    /* When moving the mouse over the close button */
    .closebtn:hover {
        color: black;
    }

@keyframes inout {
    0% {
        transform: scale(0.5, 0.5);
    }

    100% {
        transform: scale(1.2, 1.2);
    }
}

.agentHeader {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    background-color: #80cded70;
    padding: 10px;
}

.agentIcon {
    color: black;
    padding-right: 5px;
}

    .agentIcon > img {
        width: 20px;
    }

.agentTitle {
    color: black;
}

.agentSearch {
    display: flex;
    flex-direction: column;
}

.search {
    display: flex;
    flex-direction: row;
}

    .search > img {
        width: 35px;
        cursor: pointer;
        background-color: white;
    }


.new-message {
    width: 15px;
    height: 15px;
    border-radius: 10px;
    bottom: 5px;
    background: #1077f5;
    border-color: #1077f5;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    cursor: pointer;
    animation: inout 2s infinite cubic-bezier(0.40, 0.50, 0.60, 0.65);
}

.agent-name {
    position: absolute;
    left: 5px;
    bottom: 3px;
    color: white;
    border-radius: 5px;
    background-color: #0000006b;
    padding: 0px 5px;
}

.customerDisabledText {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2vw;
    background-color: #3c4043;
    border-radius: 13px;
}

.main-container {
    float: left;
    display: flex;
    flex-direction: row;
    width: 100%;
}

@media screen and (max-width:767px) {
    .navbar {
        margin: 0;
        padding: 0;
        height: 90px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: sticky;
        background-color: #222;
        top: 0;
        z-index: 9999;
    }

    .navbar_container {
        display: flex;
        justify-content: space-between;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar_menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: auto;
        z-index: -1;
        padding-bottom: 20px;
    }

        .navbar_menu.active {
            background: #222;
            top: 100%;
            opacity: 1;
            transition: all 0.5s ease;
            z-index: 999;
            height: auto;
            padding-bottom: 20px;
            font-size: 1.2rem;
        }

    #navbar_logo {
        padding-left: 25px;
        width: 100px;
        height: 100px;
    }

    .navbar_toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar_item {
        width: auto;
        margin: 0 auto;
    }

    .navbar_links {
        text-align: center;
        padding: 1rem;
        width: 100%;
        display: table;
        color: white;
    }

        .navbar_links:hover {
            text-decoration: none;
            color: royalblue !important;
        }

        .navbar_links.active {
            color: dodgerblue;
            background-color: white;
            /*border-radius: 10px;*/
            padding: 5px 20px;
        }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar_toggle .bar {
        display: block;
        cursor: pointer;
    }

    .navbar_toggle {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-container {
        flex-direction: column;
    }

    .sub-content {
        width: auto !important;
        margin: 0 auto;
    }
}



/* Chat Box Alignment Start*/

.chatContainer {
    background: #67a6f308;
    height: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #80cded70;
}

.imgContainer {
    background: #67a6f308;
    height: 359px;
    width: 350px;
    display: flex;
    flex-direction: column;
    border: 1px solid #80cded70;
    margin-left: 15px;
}

.chatHeader {
    display: flex;
    flex-direction: row;
    background-color: #80cded70;
    padding: 10px;
}

.chatIcon {
    color: black;
    padding-right: 5px;
}

.chatTitle {
    color: black;
}

.chatFooter {
    display: flex;
    flex-direction: row;
    background-color: white;
}

.messageText {
    width: 100%;
    display: flex;
    flex-direction: row;
}

    .messageText > input {
        width: 100%;
        padding: 11px;
        outline: none;
    }

.sendButton:focus {
    border: none;
    outline: none;
}

.sendIcon > img {
    cursor: pointer;
    width: 30px;
    height: 20px;
    margin-right: 10px;
}

.chatBody {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 10px 0px;
}

.sender {
    align-self: end;
    margin: 3px 10px;
}

.senderText {
    padding: 5px 10px 5px 10px;
    background-color: white;
    border-radius: 15px 4px;
    margin-left: 55px;
    word-break: break-word;
}

.receiver {
    align-self: start;
    margin: 3px 10px;
}

.receiverText {
    padding: 5px 10px 5px 10px;
    background-color: #80cded70;
    border-radius: 4px 15px;
    margin-right: 55px;
    word-break: break-word;
}

.chatBody::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.chatBody::-webkit-scrollbar-thumb {
    background: #80cded70;
    border-radius: 5px;
}

    .chatBody::-webkit-scrollbar-thumb:hover {
        background: #80cdedbd;
    }

/* Chat Box Alignment End*/



/* Agent List Alignment Start*/

.agentContainer {
    background: #67a6f308;
    height: 370px;
    width: 380px;
    display: flex;
    flex-direction: column;
    border: 1px solid #80cded70;
}

.agent_schedule_appointement {
    padding: 10px;
    margin: 2px;
    border-radius: 5px;
    border: 2px solid;
    border-color: #80cded70;
    width: 100%
}

.agent_schedule_appointement:focus-visible {
        border-color: #80cded70;
}

.add-appoitement {
    background: #67a6f308;
    height: 447px;
    width: 470px;
    display: flex;
    flex-direction: column;
    border: 1px solid #80cded70;
}

.date_input{
    margin: 2px;
    border-radius: 5px;
    border: 2px solid;
    border-color: #80cded70;
    width: 11%;
    padding: 10px;
}

.agentHeader {
    display: flex;
    flex-direction: row;
    background-color: #80cded70;
    padding: 10px;
}

.agentIcon {
    color: black;
    padding-right: 5px;
}

    .agentIcon > img {
        width: 20px;
    }

.agentTitle {
    color: black;
}

.agentSearch {
    display: flex;
    flex-direction: column;
}

.search {
    display: flex;
    flex-direction: row;
}

    .search > img {
        width: 35px;
        cursor: pointer;
        background-color: white;
    }

.inputField {
    padding: 5px;
    margin: 2px;
    border-radius: 5px;
    border: 2px solid;
    border-color: #80cded70;
    width: 100%
}

    .inputField:focus {
        outline: none;
        border: none;
    }

.agentList {
    overflow: auto;
}

    .agentList::-webkit-scrollbar {
        width: 2px;
        height: 4px;
    }

    .agentList::-webkit-scrollbar-thumb {
        background: #80cded70;
        border-radius: 5px;
    }

        .agentList::-webkit-scrollbar-thumb:hover {
            background: #80cdedbd;
        }

#agentList {
    border-collapse: collapse;
    width: 100%;
}

    #agentList td, #agentList th {
        padding: 8px;
        border-bottom: 1px solid #80cded54;
    }

    #agentList tr:nth-child(even) {
        background-color: white;
    }

    #agentList tr:hover {
        background-color: #80cded54;
    }

    #agentList th {
        padding-top: 8px;
        padding-bottom: 8px;
        text-align: left;
        background-color: #80cded54;
    }

/* Agent List Alignment End*/



/* scroll bar design start */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #80cded70;
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #80cdedbd;
    }

/* scroll bar design end */

.saveButton {
    width: 80px;
    height: 30px;
    float: left;
    margin-top: 10px;
    /* background-image: linear-gradient( 180deg, #2fcde5, #a8e3faab);*/
    border: none;
    border-radius: 5px;
    font-size: 18px;
    background-color: #009EDB;
    color: white;
}

    .saveButton:active {
        transform: scale(0.98);
        box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
    }

/* Screen share css starts */

.screen-share {
    width: 100% !important;
    position: fixed;
    height: 100% !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background-color: black;
}

    .screen-share > video {
        width: 100% !important;
        height: 100% !important;
    }

.customer {
    display: contents !important;
    width: 100% !important;
}

    .customer > video {
        cursor: pointer;
    }

    .customer:hover {
        background-color: rgb(0 0 0 / 0.51);
    }

.side-menu {
    text-decoration: none !important;
}

.side-menu--active, .side-menu--active > div, .side-menu--active:hover, .side-menu--active > div:hover {
    /* color: #ef8157 !important;*/
    color: #ffff !important;
}

.split_screen {
    display: block !important;
    width: 610px;
    margin-left: 6px !important;
    cursor: pointer;
}

    .split_screen > video {
        border-radius: 15px !important;
    }

.pinImg {
    top: 5%;
    right: 5%;
    position: absolute;
    cursor: pointer;
    width: 40px;
    height: 25px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 99;
    background-color: darkgray;
    padding: 2px;
    left:2%;
}


.main-div {
    width: 84% !important;
    height: 100% !important;
}

.child-div {
    width: 15% !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#remote-media {
    display: flex;
}

.pin-max video {
    border-radius: 4px !important;
    width: 100% !important;
    height: 430px !important;
}

.w-h-pin-size {
    display: flex;
    margin-bottom: 0px;
    position: relative;
    background: #3c4043;
    border-radius: 4px;
    width: 100% !important;
    height: 100% !important;
}

.callConnDisplay {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 6px !important;
    gap: 6px !important;
}

.text-copied {
    margin-top: 10px;
    color: blue;
    text-decoration: underline;
}

