﻿
:root {
    --darkColor: #394045;
    --orangeColor: #ff7901;
    --evenColor: #454242;
    --oddColor: #868282;
    --blueColor: #6Bs7A8F;
}

html, body {
    position: relative;
    font-family: 'Kurale', sans-serif;
    font-weight: 500;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    background-color: #090e11;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    text-align: center;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #1e2428;
}

main {
    position: relative;
    width: 90%;
    margin: 1rem auto;
    /*width: 70%;*/
    /*margin: 1rem 1rem 1rem 4rem;*/
    height: 95vh;
    display: flex;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    justify-content: center;
    flex-wrap: wrap;
}

input {
    border: none;
    outline: none;
    border-radius: 5px;
}

select {
    border: none;
    outline: none;
    border-radius: 5px;
    padding: .1rem;
    cursor: pointer;
}

button {
    outline: none;
    background: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

audio {
    outline: none;
}

video {
    outline: none;
    border-radius: 5px;
    max-width: 300px;
}

#topBackground {
    width: 100%;
    background-color: #e48937;
    height: 127px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.container {
    position: relative;
/*    width: 80%;
    margin: auto;*/
}

/*---------------Spinner---------------*/

#spinnerWrapper {
    position: fixed;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    text-align: center;
    z-index: 9999;
    background: rgba(210,220,225,.3);
}

#spinner {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    position: relative;
    margin: 9rem auto 0 auto;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 1));
}

#spinner .circle {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: calc(60px / 10) solid transparent;
}

#spinner .circle.circle-1 {
    border-top-color: #e48937;
    animation: half-circle-spinner-animation 1s infinite;
    -moz-animation: half-circle-spinner-animation 1s infinite;
    -webkit-animation: half-circle-spinner-animation 1s infinite;
    -o-animation: half-circle-spinner-animation 1s infinite;
}

#spinner .circle.circle-2 {
    border-top-color: #e48937;
    animation: half-circle-spinner-animation 1s infinite alternate;
    -moz-animation: half-circle-spinner-animation 1s infinite alternate;
    -webkit-animation: half-circle-spinner-animation 1s infinite alternate;
    -o-animation: half-circle-spinner-animation 1s infinite alternate;
}

@keyframes half-circle-spinner-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*---------------Login---------------*/

#loginWrapper {
    width: 100%;
    display: none;
}

#username {
    display: block;
    width: 50%;
    margin: 5rem auto 1rem auto;
    color: black;
    height: 2.5rem;
    text-indent: 1rem;
    font-size: 1rem;
}

#password {
    display: block;
    width: 50%;
    margin: 0 auto 1rem auto;
    color: black;
    height: 2.5rem;
    text-indent: 1rem;
    font-size: 1rem;
}

#loginBtnWrapper {
    display: block;
    text-align: center;
    margin-top: 2rem;
}

#loginBtn {
    padding: .8rem 3rem;
    background-color: #e48937;
    color: white;
    font-size: 1rem;
}

/*---------------Chats---------------*/
#chatsWrapper {
    position: relative;
    flex: 30%;
    background-color: #131c21;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

#menuImg {
    width: 40px;
    position: absolute;
    top: .7rem;
    right: 1rem;
    display: none;
    cursor: pointer;
    z-index: 999;
}

#menuImg path {
    fill: lightgray;
}

#chatsHeader {
    position: relative;
    height: 39px;
    padding: 10px 16px;
    background-color: #2a2f32;
    border-top-left-radius: 5px;
    text-align: left;
    line-height: 2.5rem;
}

.btnLeft {
    margin-left: 1rem;
    margin-top: 1rem;
}
.myButton {
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background: #e48937 !important;
    border-radius: 6px;
    border: 1px solid #000000;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-size: 15px;
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #979797;
    
}


    .myButton:hover {
        background: linear-gradient(to bottom, #e1dfdd 5%, #a7a19a 100%);
        
    }

    .myButton:active {
        position: relative;
        top: 1px;
    }

#fixMessagePage {
    position: fixed;
    width: 94vw;
    height: 94vh;
    background: #2a2f32;
    top: 2vh;
    right: 2vw;
    z-index: 11;
    display: none;
    overflow:auto;
}
#closeFixMessagePopUp {
  position:fixed;
    top: 2.5rem;
    right: 4rem;
    width: 2rem;
    cursor:pointer;
}
#newFixMessage {
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid white;
    width: 70vw;
    color: white;
    margin-left: 10vw;
    font-family: 'Kurale', sans-serif;
    font-size: 1.2rem;
}


.showMessage {
    display: none;
    background: linear-gradient(0deg,rgb(0 0 0 / 85%), rgb(0 0 0 / 85%)), url(https://011global.com/Slices/Big-Logo3.png) center no-repeat;
    color: black;
    font-size: 1rem;
    padding: 1rem;
}
#newMessageCreat {
    background: linear-gradient(0deg,rgb(0 0 0 / 85%), rgb(0 0 0 / 85%)), url(https://011global.com/Slices/Big-Logo3.png) center no-repeat;
    color: black;
    font-size: 1rem;
    padding: 1rem;
}
    .plusFixMessage {
        font-size: 1.5rem;
        margin-right: 0.5rem;
        font-weight: 600;
    }
.showMessage div, #newMessageCreat div {
    background-color: #e48937;
    max-width: 30rem;
    margin-left: 1rem;
    border-radius: 0.3rem;
    padding-bottom: 10px;
   


}
.textareaFM {
    BACKGROUND: NONE !important;
    COLOR: #acb7bf !important;

}

.showMessage p, #newMessageCreat p {
    background-color: #ffb26d;
    border-radius: 0.3rem;
    padding: 2px;
    font-weight: bold;
}
.showMessage span {
    display: block;
    margin-left: 15px;
}
.newFM {
   
}
.editNewFM {
    display: none;
}
#fixMessageTitlePopup {
    color: gray;
    margin-top: 2rem;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}
.inputNewFM{
    font-size:1rem;
    padding:0.5rem;
}

#currentPerson {
    text-align: left;
    color: lightgray;
    margin: 0 0 0 2.5rem;
    display: inline-block;
}
#improveEdit {
    position: fixed;
    top: 5vh;
    left: 20vw;
    width: 100%;
    max-height: 40rem;
    background: #2a2f32 !important;
    padding: 3rem;
    box-shadow: 1px 1px 22px black;
    pointer-events: all !important;
    overflow: auto;
}
#improveEdit div{

    margin:0 !important;
}
.deletePopupFM {
    position: fixed;
    background: #2a2f32 !important;
    text-align: center;
    top: 40vh;
    left: 35vw;
    padding: 3rem;
    border-radius: 1rem;
    border: 4px solid black;
    box-shadow: 1px 2px 9px black;
    z-index: 20;
    color:white;
}

    .deletePopupFM div{
        background:none;
    }
    #currentStatus {
        margin: 0;
        /*float: right;*/
        color: green;
    }

/*---------------Person Settings---------------*/

#personSettingsBtn {
    position: absolute;
    top: 1rem;
    cursor: pointer;
}

#personSettingsBtn path:active {
    fill: black;
}

#personSettings {
    display: none;
    background-color: #2a2f32;
    position: absolute;
    top: 3.7rem;
    left: -1rem;
    width: 10rem;
    z-index: 999;
    filter: drop-shadow(0 1px 4px rgba(10, 10, 10, .8));
    border-radius: 5px;
    padding: .8rem;
}

#personSettings:before {
    position: absolute;
    content: '';
    top: -1rem;
    left: 1.8rem;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid #2a2f32;
}

#notifState {
    color: green;
    float: right;
}

.personStatus {
    margin-left: .5rem;
}

.online {
    color: green;
}

.offline {
    color: red;
}

#statusAndChats {
    position: relative;
    float: right;
    display: inline-block;
}

#chatsImg {
    display: none;
    position: absolute;
    top: .5rem;
    right: -3rem;
    cursor: pointer;
}

#chatsImg path {
    fill: lightgray;
}

#logoutWrapper {
    width: 100%;
}

#userStatusWrapper {
    position: relative;
}

.userSettingsRow {
    color: lightgray;
    cursor: pointer;
    /*border-bottom: 1px solid lightgray;*/
}

.userSettingsRow:active {
    color: black;
}

.userSettingsRow:not(:last-child) {
    border-bottom: 1px solid lightgray;
}

/*#version {
    color: lightgray;
    margin-top: 2rem;
}

#version span {
    display: block;
}

#version span:first-child {
    text-align: center;
}*/

/*---------------Avaliable Chats---------------*/

#chats {
    height: 90vh;
    overflow-y: auto;
    border-top: 1px solid rgba(241,241,242,0.2);
    border-right: 1px solid rgba(241,241,242,0.11);
}

.chat {
    position: relative;
    padding: .5rem;
    text-align: left;
    border-bottom: 1px solid rgba(241,241,242,0.11);
    cursor: pointer;
    transition: .4s;
    -webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
}

.chat:hover {
    background-color: #2a2f32;
}

.chosenChat {
    background-color: #2a2f32;
}

.chatImg {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 1rem;
    left: .5rem;
}

.chatNameWrapper {
    color: lightgray;
    font-size: 1.2rem;
    margin-left: 3rem;
}

.chatNameWrapper span {
    display: inline-block;
}

.chatNameOnly {
    margin-right: .5rem;
}

.chatSubId {
    color: lightgray;
    font-size: .9rem;
    margin-left: 3rem;
}

.notif {
    background-color: #e48937;
    border-radius: 50%;
    position: absolute;
    top: 3.2rem;
    right: 1rem;
    width: .3rem;
    height: .4rem;
    text-align: center;
    padding: .3em .4em .4rem;
}

/*---------------Current Chat---------------*/
#currentChat {
    position: relative;
    flex: 70%;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    background-color: rgb(14, 21, 25);
}

#currentChatHeader {
    text-align: left;
    position: relative;
    height: 40px;
    line-height: 2.5rem;
    padding: 10px 16px;
    background-color: #2a2f32;
    border-left: 1px solid rgba(241,241,242,0.11);
    border-top-right-radius: 5px;
    z-index: 2;
}

#chosenChatNameWrapper {
    display: inline-block;
    position: relative;
}

#chosenChatSubWrapper {
    display: inline-block;
    position: relative;
}

#chosenChatName {
    color: lightgray;
    cursor: pointer;
    display: inline-block;
}

#chosenChatName:hover {
    color: black;
}

#chosenChatPhone {
    color: lightgray;
}

#chosenChatInputWrapper {
    display: none;
    position: relative;
    width: 14rem;
    margin-right: .5rem;
}

#checkImg {
    width: 1rem;
    position: absolute;
    top: .7rem;
    right: .5rem;
    cursor: pointer;
}

#closeImg {
    width: .7rem;
    position: absolute;
    top: .9rem;
    right: 2.5rem;
    cursor: pointer;
}

#chosenChatInput, #chosenChatSubInput {
    border: none;
    outline: none;
    border-radius: 5px;
    height: 1.5rem;
    text-indent: 1rem;
    width: 100%;
}

#chosenChatSub {
    display: inline-block;
    color: lightgray;
    margin: 0;
    margin-left: .7rem;
}

#chosenChatSubNum {
    text-decoration: none;
    color: lightgray;
    cursor: pointer;
}

#chosenChatSubNum:hover {
    color: black;
}

#chatBackground {
    background: url('https://011global.com/Slices/Big-Logo3.png') center;
    background-repeat: no-repeat;
    background-size: 70%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .1;
    z-index: 1;
}

#chatContent {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 5rem;
    width: 100%;
    height: 85%;
    overflow-y: auto;
    z-index: 1;
}

.messageWrapper {
    position: relative;
    display: table;
    color: black;
    background-color: white;
    max-width: 75%;
    word-break: break-all;
    /*padding: 1.3%;*/
    margin-bottom: 1rem;
    margin-left: 6rem;
    border-radius: 5px;
    text-align: left;
    direction: ltr;
}

.messageImg {
    display: none;
    /*width: 150px;*/
    border-radius: 5px;
    margin-bottom: .5rem;
    cursor: pointer;
}

.wideMessagePop {
    width: 400px !important;
    height: unset;
}

.narrowImgPop {
    width: 350px !important;
    max-height: 500px;
}

.messageDocImg {
    width: 50px;
    border-radius: 5px;
    margin-bottom: .5rem;
}

.messageAudio {
    pointer-events: none;
    opacity: .2;
}

/*.noAudioImgWrapper {
    padding-top: 1rem;
    text-align: center;
}

.noAudioImg {
    width: 150px;
}*/

#popupImgWrapper {
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
}

#selectedBigImg {
    width: 400px;
    border-radius: 5px;
}

#imgPopContent {
    position: relative;
}

#rotateImgWrapper {
    position: absolute;
    text-align: center;
    left: 0;
    bottom: -5rem;
    width: 100%;
}

#rotateBtn {
    display: block;
    margin: auto;
    cursor: pointer;
}

.svgWrapper, .svgWrapper2, .clockWrapper, .chatSettingsWrapper, .xWrapper, .svgBlockMsg {
    display: none;
}

#goToTopBtn {
    display: none;
    position: absolute;
    bottom: 5rem;
    right: 2rem;
    cursor: pointer;
    z-index: 1;
}

.messageStatus {
    position: absolute;
    bottom: .05rem;
    right: .2rem;
}

.blockMessage .messageStatus {
    right: 0.3rem;
    bottom: 0.05rem;
}

.senderName {
    display: block;
    color: black;
    font-weight: 600;
    margin-bottom: .5rem;
    text-align: left;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #ffb26d;
    padding-left: .5rem;
}

.rep {
    direction: rtl;
}

.rep .messageWrapper {
    margin-left: unset;
    margin-right: 6rem;
    background-color: #e48937;
}

.hebrew .messageWrapper {
    text-align: right;
    direction: rtl;
}

.message {
    word-break: break-word;
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
}

/*.line {
    display: block;
}
*/

.rep .msgTime, .blockMessage .msgTime {
    text-align: right;
    padding-right: 1.5rem;
}

.msgTime {
    display: block;
    font-size: .8rem;
    margin-top: .5rem;
    text-align: right;
    direction: ltr;
    padding-left: 1rem;
    padding-bottom: .5rem;
    padding-right: 1rem;
}

#textBoxWrapper {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.5rem;
    text-align: center;
    background-color: #1e2428;
    border-bottom-right-radius: 5px;
    z-index: 1;
}

.hebTextbox {
    direction: rtl;
}

/*.hebTextbox #sendMsgBtn {
    right: unset;
    left: 4%;
    transform: scale(-1);
    -webkit-transform: scale(-1);
    -o-transform: scale(-1);
    -ms-transform: scale(-1);
    -moz-transform: scale(-1);
}*/

.hebTextbox #textBox  {
    padding-left: unset;
    padding-right: 1rem;
}

#textBox {
    border: none;
    outline: none;
    background-color: #2a2f32;
    color: lightgray;
    width: 75%;
    height: 1.7rem;
    margin-top: .5rem;
    border-radius: 5px;
    /*text-indent: 1rem;*/
    /*line-height: 1.5rem;*/
    padding-top: .8rem;
    padding-left: 1rem;
    font-size: 1rem;
    resize: none;
    font-family: 'Kurale', sans-serif;
}

#sendMsgBtn {
    position: absolute;
    top: 1rem;
    right: 4%;
    opacity: .2;
    pointer-events: none;
}

#sessionMsg {
    color: #ff7901;
    font-size: 4.5rem;
    width: 80%;
    margin: auto;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .2);
}

#sessionEndedImg {
    cursor: pointer;
    margin-top: 2rem;
    width: 70px;
}

/*#notifPerm {
    background-color: #ff7901;
    margin-top: 4rem;
    padding: 1rem;
}*/

/*---------------Chat Settings---------------*/
/*.hiddenMenu {
    right: -150rem !important;
}
*/

#chatStatusMenu, #messagesWrapper {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid white;
    border-radius: 5px;
}

#messagesWrapper {
    max-height: 30rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.menuHeader {
    font-weight: 600;
    color: white;
}

#statusWrapper {
    margin-top: 1rem;
    position: relative;
}

.chatStatus {
    margin: 0;
    color: blue;
    position: absolute;
    top: .5rem;
    right: 1.5rem;
}

.onHold {
    color: red !important;
}

#repClose, #langClose {
    display: none;
    width: 15px;
    position: absolute;
    top: .5rem;
    right: .5rem;
    cursor: pointer;
}

.currentLangClose, .currentLangCheck {
    display: none;
    width: 15px;
    cursor: pointer;
}

.currentLangCheck {
    margin-left: 1rem;
    margin-right: 2rem;
}

#repHeader {
    margin: .5rem 0 0 0;
}

.chatSettingsRow {
    /*cursor: pointer;*/
    text-align: left;
}

/*#chatEndWrapper {
    margin-top: 4rem;
}*/

.chatSettingsRow:not(:last-child) {
    border-bottom: 1px solid lightgray;
    margin-bottom: 1rem;
}
/*
#chatSettingsBtn {
    display: none;
    position: absolute;
    right: 2rem;
    top: 1.1rem;
    cursor: pointer;
}

#chatSettingsBtn path:active {
    fill: black;
}*/

#chatSettingsMenu {
    width: 21%;
    height: 100%;
    padding: 0 1rem;
    text-align: center;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #3c4246;
    /*background-color: #60686d;*/
    /*background-color: #e48937;*/
    filter: drop-shadow(0 1px 4px rgba(10, 10, 10, 0.8));
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    z-index: 11;
}

#statusBtns {
    display: flex;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
}

#chatSettingsMenu button {
    color: lightgray;
    font-size: 1rem;
    background-color: #2a2f32;
    padding: .3rem;
    vertical-align: top;
    /*display: inline-block;*/
}

#chatSettingsMenu p:active {
    color: lightgray !important;
}

#chatLangWrapper {
    cursor: unset;
    padding-bottom: 1rem;
}

/*.disabled {
    pointer-events: none;
    background-color: gray;
}
*/

/*
.disabled {
    display: none !important;
}
*/

#langHeader {
    vertical-align: top;
    color: white;
}

#langDrop {
    width: 4rem;
    position: relative;
    display: inline-block;
    margin-right: 1em;
    min-height: 1.3em;
    max-height: 1em;
    overflow: hidden;
    /*top: 0.5em;*/
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    color: #444;
    outline: none;
    border: 0.06em solid transparent;
    border-radius: 5px;
    background-color: white;
    transition: 0.2s all;
}

#langDrop input:focus + label {
    background: #def;
}

#langDrop input {
    width: 1px;
    height: 1px;
    display: inline-block;
    position: absolute;
    opacity: 0.01;
}

#langDrop label {
    border-top: 0.06em solid #d9d9d9;
    display: block;
    /*height: 2em;*/
    line-height: 2em;
    padding-left: .5em;
    /*padding-right: 3em;*/
    cursor: pointer;
    position: relative;
    transition: 0.2s color;
}

#langDrop label:nth-child(2) {
    margin-top: 2em;
    border-top: 0.06em solid #d9d9d9;
}

#langDrop input:checked + label {
    display: block;
    border-top: none;
    position: absolute;
    top: -.3rem;
    width: 100%;
}

#langDrop input:checked + label:nth-child(2) {
    margin-top: 0;
    position: relative;
}

#langDrop::after {
    content: "";
    position: absolute;
    right: 0.8em;
    top: .5rem;
    border: 0.3em solid black;
    border-color: black transparent transparent transparent;
    transition: 0.2s all;
}

#langDrop.expanded {
    border: 0.06em solid black;
    background: #fff;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 5px 0px;
    max-height: 15em;
}

#langDrop.expanded label {
    border-top: 0.06em solid #d9d9d9;
}

#langDrop.expanded label:hover {
    color: #e48937;
}

#langDrop.expanded input:checked + label {
    top: 0;
    color: #e48937;
}

#langDrop.expanded::after {
    transform: rotate(-180deg);
    top: 0.55em;
}

.langBtn {
    display: none;
    background-color: #2a2f32;
    color: lightgray;
    padding: .3rem;
    margin-left: 1rem;
}

#avaliableReps {
    display: none;
    background-color: #2a2f32;
    position: absolute;
    top: -1rem;
    left: 0;
    width: 100%;
    border-radius: 5px;
    filter: drop-shadow(0 1px 4px rgba(10, 10, 10, 0.8));
    z-index: 999;
}

.person {
    display: flex;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    color: lightgray;
    cursor: pointer;
}

.personName {
    color: lightgray !important;
    text-indent: 1rem;
}

.person:not(:last-child) {
    border-bottom: 1px solid rgba(241,241,242,0.11);
}

.personImg {
    width: 30px;
    margin-right: 1rem;
}

#templateError {
    display: none;
    color: red;
    margin-top: 2rem;
}

.messageName {
    cursor: pointer;
    display: block;
    margin: .5rem 0;
    text-align: left;
    color: white;
}

#templateMsg {
    text-align: left;
    line-height: 2rem;
}

.block {
    display: block;
}

/*---------------Utils---------------*/
#darkLight {
    position: absolute;
    right: 4rem;
    top: 1.1rem;
    cursor: pointer;
}

/*---------------Popups---------------*/

.popup {
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    min-height: 900px;
    background: rgba(210,220,225,.8);
    top: 0;
    left: 0;
}

.popupCont {
    display: block;
    position: fixed;
    width: 40rem;
    height: 20rem;
    background: #2a2f32;
    padding: 3em;
    top: 10%;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 10px;
}
.top-notification {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 80%;
    background-color: #2a2f32;
    color: lightgray;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 9999;
    padding: 12px 30px 12px 15px;
    border: 1px solid rgba(241,241,242,0.2);
    text-align: left;
    display: none;
}

.top-notification a {
    color: #e48937;
    text-decoration: underline;
    margin-left: 5px;
}

.top-notification .xBtn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background-size: 100% 100%;
}
.xBtn {
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(../lib/Slices/xbtn2.png) no-repeat top center;
    background-Size: 100% auto;
    top: 1em;
    right: 1em;
    cursor: pointer;
}

#inqiryPopup .popupCont {
    top: 6%;
    width: 85%;
    height: 60vh;
    padding-top: 4rem;
}

#inqiryPopup p {
    font-weight: 600;
}

.popupCont p, .popupCont span, .popupCont h2, th, td {
    color: lightgray;
}

.popupBtnWrapper {
    margin-top: 4rem;
    text-align: center;
}

.popupBtn {
    background-color: #e48937;
    padding: .8rem 3rem;
    color: white;
    font-size: 1rem;
}

.popupBtn:first-child {
    margin-right: 1rem;
}

.popupBtn:last-child {
    margin-left: 1rem;
}

#imagePop {
    background: rgba(210,220,225,.9);
}

#imagePop .popupCont {
    background: none;
    top: 1rem;
}

#repNote {
    /*border: none;*/
    outline: none;
    border: 1px solid lightgray;
    background-color: #2a2f32;
    color: lightgray;
    width: 75%;
    height: 6rem;
    margin-top: .5rem;
    border-radius: 5px;
    padding-top: .8rem;
    padding-left: 1rem;
    font-size: 1rem;
    resize: none;
    font-family: 'Kurale', sans-serif;
}

#endChatNoteBtn {
    pointer-events: none;
    opacity: .2;
}

#endChatSubID span {
    display: inline-block;
    margin-left: .2rem;
}

/* The container */
.langLbl {
    display: block;
    width: 1rem;
    position: relative;
    padding-left: 35px;
    margin: 0 auto 12px auto;
    cursor: pointer;
    color: lightgray;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.langLbl input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.langLbl:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.langLbl input:checked ~ .checkmark {
    background-color: #e48937;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.langLbl input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.langLbl .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.suggestMessageWrapper {
    color: lightgray;
}

.suggestInput {
    background: white;
    color: black !important;
    margin-right: .2rem;
    padding: .2rem 1.3rem;
    outline: none;
    border-radius: 5px;
}

.crmBtn {
    color: white;
    background-color: #e48937;
    padding: .2rem .3rem;
}

.goToInqImg {
    width: 25px;
    cursor: pointer;
}

table {
    display: block;
    overflow-y: hidden;
    width: 100%;
}

tbody, thead {
    flex-direction: column;
    display: flex;
}

table tbody {
    max-height: 350px;
    overflow: auto;
}

tbody tr:hover {
    background-color: gray;
}

table tr {
    display: flex;
}

table td, table th {
    text-align: left;
    flex: 1;
}

th {
    background-color: #454242;
    box-shadow: 0 2px 2px -1px rgb(0 0 0 / 40%);
    color: white;
    position: relative;
}

tr:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}

/*---------------Media---------------*/
@media only screen and (max-width :1200px) {
    #username, #password {
        width: 80%;
    }
}

@media only screen and (max-width :1023px) {

    #chatBackground {
        background-size: 50%;
    }

    main {
        display: block;
        width: 95% !important;
        margin: 1rem auto 6rem auto !important;
        height: unset;
    }

    #menuImg {
        display: block;
    }

    #chatsImg {
        display: block;
    }

    #currentStatus {
        /*float: none;*/
        margin-left: 1rem;
    }

    #statusAndChats {
        position: relative;
        float: none;
    }

    #chatSettingsMenu {
        width: 0;
        display: none;
    }

    #chats {
        height: 17rem;
        display: none;
    }

    #chatContent {
        margin-top: 6rem;
        height: 73%;
    }

    .messageAudio {
        width: 11rem;
    }

    #currentChat {
        height: 35rem;
        border-top: 1px solid rgba(241,241,242,0.2);
    }

    #currentChatHeader {
        border-top-right-radius: unset;
    }

    #chatsWrapper {
        border-top-right-radius: 5px;
    }

    #chatsHeader {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .popupCont {
        width: 65%;
        top: 1%;
        height: unset;
    }

    .popupBtn:first-child {
        margin-right: unset;
        margin: 1rem;
    }

    .popupBtn:last-child {
        margin-left: unset;
        margin: 1rem;
    }
}

@media only screen and (max-width :765px) {

    #username, #password {
        width: 60%;
    }

/*    .container {
        width: 100%;
    }*/

 /*   main {
        display: unset;
    }*/

    .chatName {
        font-size: 1rem;
    }

    #currentChatHeader {
        height: unset;
        border-top-right-radius: unset;
    }

 /*   #chatsWrapper {
        height: 37vh;
        overflow-y: hidden;
    }*/

    #currentChat {
        /*height: 63vh;*/
        overflow: hidden;
        border-top-right-radius: unset;
    }

    #currentChatHeader {
        border-top-right-radius: unset;
    }

/*    #chosenChatNameWrapper {
        display: block;
    }*/

    #chosenChatSub {
        margin-left: unset;
    }

    #changeUserBtn {
        right: 3rem;
    }

/*    #chatContent {
        height: 100%;
    }*/
}

@media only screen and (max-width :500px) {

    #chatBackground {
        background-size: 70%;
    }

    #username, #password {
        width: 80%;
    }

    #textBoxWrapper {
        text-align: left;
    }

    #textBox {
        width: 80%;
        margin-left: .5rem;
    }
}

@media only screen and (max-width :400px) {

    #statusBtns {
        flex-wrap: wrap;
    }

    #chatSettingsMenu button {
        margin: .5rem;
    }

    #textBox {
        width: 75%;
    }
}
