@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body,
html,
.main {
    height: 100vh;
    font-family: 'Roboto';
    background-color: #e7e7e7
}

.body {
    display: flex;
    direction: ltr;

}

.sidebar-option {
    background: #333333;
    display: block;
    width: 200px;

}

.agent-profile {
    padding-top: 30px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.sidebar-option hr {
    background-color: aliceblue;
    margin: 1rem 20px;
    border: 0;
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

.item {
    position: relative;
    display: block;
    max-height: 100px;
}

img {
    width: 100% !important;
}


.container-fluid {
    align-items: center;
    justify-content: center;
    display: flex;
}

.item>img {
    max-height: 140px !important;
    height: 100px !important;
    width: 100px !important;
    background-color: #F2F2F2;
}

.notify-badge {
    position: absolute;
    right: 25%;
    top: 0%;
    background: #28a745;
    text-align: center;
    border-radius: 100%;
    color: white;
    padding: 5%;
}

.logged_agent {
    padding-top: 3px;
    text-align: center;
    align-self: center;
    color: aliceblue;
}

.control-sidebar {
    color: aliceblue;
}

.control-sidebar>ul>li {
    padding: 2px;
    list-style: none;
}

.control-sidebar>ul>li>a {
    font-size: large;
    color: aliceblue;
}

.main {
    background-color: #F2F2F2;
    width: calc(100% - 200px);
}

.rtc-main-image {
    padding-top: 10px;
    height: 200px;
}

.county-code {
    height: 30px !important;
    width: 30px !important;
}

#phoneNumber {
    position: relative;
    font-size: x-large;
    height: 45px;
}

button#callBtn {
    width: 70px;
    height: 100%;
}

.new-call {
    min-height: 400px;

}

.caller {
    margin: 0px 2%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #706cb9;
    min-height: 50px;
    height: 7rem;
}

.new-call-body {
    border-radius: 0.5rem;
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    border-top: 0px !important;
    border: 2px solid black;
    margin: 0px 3%;
    height: 300px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: start;
}

.main-control {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
}

.main-control>button {
    height: 50px;
    width: 200px;
    align-self: center;
    border-radius: 10px;
}

.tools {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.tools>button {
    margin: 5px 15px;
}

.caller-details {
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: #fff;
}

.call-details {
    margin-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: #fff;
}

.caller-number {
    font-size: large;
}

.caller-name {
    font-size: x-large;
}


.caller-type {
    font-size: medium;
}

.call-duration {
    font-size: large;
    width: 100px;
    height: 100px;
    float: right;
}

.call-details {
    width: 100px;
    float: right;
    text-align: right;
}


.new-call-body>button {
    border-radius: 100px;
    height: 80px;
    width: 200px;
    margin-bottom: 10px;
}

table>tbody>tr>td>img {
    border-radius: 100%;
    height: 100px;
    width: 100px !important;
}

select#lineSelect {
    width: 120px;
    background: #ffa77a6b;
    font-weight: bold;
    margin-right: 40px;
}

p.lastActivity {
    font-size: 13px;
    font-weight: lighter;
}

@keyframes blink {
    50% {
        color: transparent
    }
}

.loader__dot {
    animation: 1s blink infinite
}

.loader__dot:nth-child(2) {
    animation-delay: 250ms
}

.loader__dot:nth-child(3) {
    animation-delay: 500ms
}

.call-type>img {
    width: 2rem !important;
    margin: 20px
}

.call-avatar>img {
    padding: 5%;
}

@media screen and (min-width: 1200px) {
    .call-avatar>img {
        padding: 0px;
    }
}

.keypad {
    display: flex;
    flex-direction: column;
}

.loader-outer {
    /* display: none; */
    position: fixed;
    width: 100%;
    z-index: 3;
    height: 100%;
    background: rgba(16, 16, 16, 0.8);
}

.loader-inner {
    max-width: 400px;
    margin: 210px auto;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
}

.lds-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-text {
    font-size: 20px;
    color: #fff;
    font-family: opensans-bold;
    text-align: center;
}


.lds-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #fff;
}

.loader-text {
    color: #ffffff;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.btn-group {
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.incoming-calls {
    height: 20%;
    max-height: 150px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 8;
}

.incoming-call {
    height: fit-content;
    width: 30%;
    max-width: 400px;
    min-width: 270px;
    border: 2px solid #282828;
    margin: 12px;
    background: #494949;
    color: white;
    z-index: 14;

}

.history-tab {
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    display: flex;
}

.history-tab>a {
    color: coral;
    text-decoration: none !important;
    background: blanchedalmond;
    border: 0px;
    border-top: 7px solid coral;
    padding: 1px 10px;
    border-left: 1px solid coral;
    border-right: 1px solid coral;
    border-radius: 20% 5% 0 0;
    width: 100px;
    text-align: center;
}

div.history::-webkit-scrollbar {
    width: 3px;
}

div.history::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

div.history::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
    border-radius: 20px
}

.history-call-item {
    background-color: #ffffff;
    height: 140px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin: 17px 5px;
}

.call-history-column {
    display: flex;
    flex-direction: row;
    flex-basis: 0;
    -ms-flex-positive: 3;
    flex-grow: 3;
    max-width: 100%;
    width: min-content;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.call-history-peer {
    width: min-content;
    margin: 0 5px;
}

.call-history-arrow {
    display: flex;
    flex-direction: row;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

div.history-call-item h6.history-call-type {
    color: #ffffff;
    text-align: center;
    width: fit-content;
    align-self: center;
    padding: 5px 30px;
    font-family: 'Roboto';
    font-weight: lighter;
}

h6.history-call-type-outgoing {
    background-color: #0c6db6;
}

h6.history-call-type-incoming {
    background-color: #7c5173;
}

.history {
    overflow-y: scroll;
    height: 100%;
    padding-bottom: 50px;
}

.move-to-left {
    transform: translateX(-400px);
}

.move-to-left-partly {
    transform: translateX(-200px);
}

.sidebar {
    height: 100%;
    width: 400px;
    position: fixed;
    z-index: 99999;
    right: -400px;
    background-color: #FFF;
    box-shadow: 0 1rem 5rem rgba(0, 0, 0, 0.4);
    transition: transform .7s ease-in-out;
}

.container-liner {
    height: 100%;
    background-color: #f1f1f1;
    padding: 8px 10px 0;
}

.sidebar-tab {
    height: 100%;
    width: 2rem;
    position: fixed;
    z-index: 2;
    right: 0;
    background: #333333;
    background: linear-gradient(45deg, rgba(205, 205, 205, 1) 0%, rgba(51, 51, 51, 0.7) 30%, rgba(50, 50, 50, 1) 60%);
    color: #ffffff;
    box-shadow: 0 1rem 5rem rgba(0, 0, 0, 0.5);
    transition: transform .7s ease-in-out;
}

#sidebar-tab-text {
    width: 400px;
}

.vertical-text {
    transform: rotate(90deg);
    transform-origin: left 2rem;
    vertical-align: middle;

}

.arrow {
    box-sizing: border-box;
    display: inline-block;
    cursor: pointer;
    position: relative;
    transform: rotate(0deg);
    transition: all 0.5s ease-in-out;
    width: 32px;
    height: 32px;
    z-index: 1;
}

.arrow:after,
.arrow:before {
    content: "";
    box-sizing: border-box;
    display: block;
    position: absolute;
    transition: all 0.25s ease-in-out;
    border-radius: 10px;
    background: #fff;
    width: 16px;
    height: 3.2px;
    top: 14.4px;
}

.arrow:after {
    transform: rotate(44deg);
    left: 3.2px;
}

.arrow:before {
    right: 3.2px;
    transform: rotate(-44deg);
}

.arrow.active:after {
    transform: rotate(-44deg);
}

.arrow.active:before {
    transform: rotate(44deg);
}


.card {
    margin-right: 260px;
    margin-left: 225px;
    box-shadow: .5rem .5rem 2rem rgba(0, 0, 0, 0.4);
}

.card-text {
    color: #000;
}




div.agents-bar {
    height: 13%;
    min-height: 150px;
    width: calc(100% - 2em);
    max-width: calc(100% - 2rem);
    justify-self: flex-end;
    align-self: start;
    overflow-x: scroll;
    align-items: center;
    justify-content: start;
    display: inherit;
}

div.agents-bar::-webkit-scrollbar {
    width: 3px;
}

div.agents-bar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

div.agents-bar::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
    border-radius: 20px
}

.agent-status {
    background: #fff;
    height: 90px;
    width: 180px;
    min-width: 180px;
    margin: 5px;
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px #888888;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.agent-status>img {
    border-radius: 100%;
    height: 80px;
    width: 80px !important;
    margin: 5px;
}

.agent-status>div>button {
    border-radius: 12px 0 12px 0;
}

.caller-name {
    color: #fff;
}

.caller-name a {
    color: #fff
}

.big-account-badge {
    background: #d2322d;
    color: #fff;
    font-family: 'Montserrat-Bold';
    padding: 2px 5px;
    font-size: 11px;
    width: 108px;
    border-radius: 5px;
}