@font-face {
    font-family: "ariallight";
    src: url('font/ArialHB.ttf') format("truetype");
}

html {
    height: 100% !important;
    position: relative;
    margin: 0px 0 !important;
    width: 100% !important;
}

input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #a4a3ae;
    opacity: 1;
}

input::-moz-placeholder { /* Firefox 19+ */
    color: #a4a3ae;
}

input:-ms-input-placeholder { /* IE 10+ */
    color: #a4a3ae;
}

input:-moz-placeholder { /* Firefox 18- */
    color: #a4a3ae;
}

body {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: Arial;
    font-family: Arial !important;
    word-wrap: break-word;
    color: rgb(77, 77, 79);
}

body.he {
    direction: rtl;
}

body.en {
    direction: ltr;
}

body.top-window:not(.mobile-design) {
    position: relative;
    margin: 5% auto !important;
    width: 357px !important;
    height: 80% !important;
}

* {
    font-family: Arial !important;
}

/* Cancel default button style */
button {
    border: transparent;
    background: none;
    color: white;
    cursor: pointer;
}

* {
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-thumb {
    border-radius: 26px;
    background-color: rgb(190, 192, 194);
    /* box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5); */
    /* -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.5); */
    /* max-width: 5px; */
    margin: 3px;
    border: 4px solid transparent;
    background-clip: content-box;
}

input[type="range"]:focus::-webkit-scrollbar-thumb {
    border: 10px solid transparent;
}

::-webkit-scrollbar-track {
    /* border-radius: 10px; */
    /* border-right: #d5d5d6 1.5px solid; */
    /* border-left: #ffffff 1.5px solid; */
    /* padding: 1px; */
    /* background: red; */
}

/* #region header*/

#orgPic {
    width: 27px;
    /* height: 44px; */
    position: absolute;
    bottom: 9px;
    z-index: 1;
    display: none;
}

.en #orgPic {
    right: 19px;
}

.he #orgPic {
    left: 19px;
}

#header-title-wrapper {
    font-weight: 500;
    font-size: 1.1em;
    vertical-align: middle;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
    max-width: 77%;
    display: flex;
    flex-flow: column;
}

.en span#header-title {
    font-size: 0.98em;
}

small#header-subtitle {
    font-weight: normal;
}

#dave {
    position: absolute;
    width: 40px;
}

.en #dave {
    left: 0px;
}

.he #dave {
    right: 0px;
}

header {
    position: relative;
    height: 64px;
    width: 100%;
    padding: 0;
    text-align: center;
    border-bottom: 1px solid rgb(220, 221, 222);
    background: white;
    padding: 10px 1.25em;
    box-sizing: border-box;
}

.en header {
    padding-right: 0.75em;
}

.he header {
    padding-left: 0.75em;
}

.subheader.nav {
    height: 100%;
    z-index: 2;
    width: 100%;
    position: absolute;
    top: 0;
    color: black;
    margin: 0;
    padding: 0;
    text-align: right;
}

.hamburg {
    height: 100%;
    background-size: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.he .hamburg {
    right: auto;
    left: 0;
}

.hamburg > div {
    background: #58585a;
    background: rgb(77, 77, 79);
    height: 4px;
    width: 4px;
    border-radius: 50%;
    margin: 0.25em 0.5em;
    pointer-events: inherit;
}

button#subHeadButton:focus {
    outline: none;
}

button#subHeadButton:focus > div {
    height: 6px;
    width: 6px;
}

#subHead li, .back, .menuItem, #uploadPicBtnLabel, #save, .parentListItem, #send {
    cursor: pointer;
}

#subHead {
    display: none;
}

#subHead ul {
    position: absolute;
    margin: auto;
    text-align: center;
    top: 25px;
    list-style: none;
    background: #f6f6f6;
    box-shadow: 2px 2px 5px 0px rgba(172, 171, 171, 0.7);
    -moz-box-shadow: 2px 2px 5px 0px rgba(172, 171, 171, 0.7);
    -webkit-box-shadow: 2px 2px 5px 0px rgba(172, 171, 171, 0.7);
}

.en #subHead ul {
    right: 32px;
}

.he #subHead ul {
    left: 32px;
}

#subHead li button {
    height: 38px;
    padding: 7px 0;
    font-size: 0.8em;
    color: #4e3636;
    width: 100%;
    display: inline-block;
    /* font-weight: bold; */
}

#subHead li button:focus, .card > button:focus {
    background: #dbd9d9;
    outline: none;
    font-size: 1.05em;
}

#subHead li button:focus {
    font-size: 0.9em;
}

#subHead li {
    width: 134px;
    padding: 0px 0px;
    border-bottom: solid 1px #bcbaba;
    background: white;
}

#subHead li:last-child {
    border-bottom: none;
}

header img {
    margin: 16px 28px 0;
}

img.download-img {
    margin: 6px 8px 0;
}

#downloadButton {
    background:none;
    border:none;
    position:absolute;
    left:16px;
    z-index:10;

    display: none;
}

#organization-bot-icon {
    position: absolute;
    right: 1.2em;
    height: 100%;
    width: auto;
    margin: 0;
}

.he #organization-bot-icon {
    right: auto;
    left: 1.2em;
}

#subHead li button.selected {
    /* border-bottom: inset #adabab 1.5px; */
}

/* #endregion */

main {
    display: block;
    width: 100%;
    height: calc(100% - 64px);
    box-sizing: border-box;
    border-radius: 15px;
    top: 0;
}

.page {
    display: none;
    overflow: auto;
    height: 97%;
    /*background: #f6f6f6;*/
}

.title {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 60px;
}

.en .title {
    background: linear-gradient(to right, #0069d9 61%, #25b8e1);
}

.he .title {
    background: linear-gradient(to left, #0069d9 61%, #25b8e1);
}

.full {
    height: 100%;
    border-top: 60px solid #0069d9;
    padding-top: 0;
}

.full::before {
    color: white;
    font-size: 1.3rem;
    position: absolute;
    top: 2.7%;
    right: 15%;
}

.back {
    position: relative;
    font-size: 25px;
    /* background: #ffffff; */
    /* width: 18px; */
    /* height: 2.3px; */
    border-radius: 1rem;
}

.back:focus {
    outline: none;
    font-size: 28px;
}

.back:before, .back:after {
    display: block;
    /* content: ""; */
    position: absolute;
    right: -1px;
    top: 3px;
    background: #ffffff;
    width: 11px;
    height: 2px;
    /* transform-origin: 0.2rem center; */
    transition: 0.5s;
    border-radius: 1rem;
}

.back:before {
    transform: rotate(33deg);
    top: -2.5px;
}

.back:after {
    transform: rotate(-30deg);
}

.popup {
    position: absolute;
    z-index: 5;
    bottom: 32px;
    right: 10%;
    width: 80%;
    background: #ffffff;
    color: black;
    border-radius: 18px;
    font-size: 14px;
    text-align: -webkit-center;
    box-shadow: 0 0 12px 1px #0000008a;
    animation: slide infinite;
    -webkit-animation: slide 2s;
}

@-webkit-keyframes slide {
    0% {
        bottom: 20%;
    }
    100% {
        bottom: 32px;
    }
}

.page-title {
    font-size: 1.1em;
    font-weight: 500;
}

.en .page-title {
    left: 101px;
}

.he .page-title {
    right: 101px;
}

#chatPage {
    height: 100%;
    box-sizing: border-box;
}

#chatPage, #conversation-container {
    font-size: 0.88em;
}

.chat-wrapper, #conversation-container {
    height: calc(100% - 41px - 4px); /*100% - (input outer height) - (chat-header-height) - (self padding)*/
    overflow-y: scroll;
    overflow-x: hidden;
    /*background: rgba(233, 237, 243, 0.64);*/
    padding: 1.8rem 0 4px 0 !important;
    width: 100%;
    direction: ltr;
    box-sizing: border-box;
}

#conversation-container {
    border-bottom: none;
    height: calc(100% - 53px);
}

.chat-wrapper[text-insertion-close='on'] {
    height: calc(100% - 15px);
    border-bottom: none;
}

#chat-input-container[text-insertion-close='on'] {
    display: none;
}

.bubble,
.cards {
    padding: 8px 12px;
    margin: 3px 36px;
    position: relative;
    clear: both;
    width: fit-content;
    word-break: break-word;
    max-width: 59%;
    height: auto;
    white-space: pre-line;
    /* box-shadow: 0 6px 11px #dde1e6; */
}

.bubble.bot {
    background: #ffffff;
}

#chat-header .bubble {
    float: none;
    margin: 0;
    box-sizing: border-box;
    color: rgb(36, 96, 173);
    font-weight: bold;
    background: transparent;
}

.bubble .element-title {
    font-size: small;
    font-weight: bold;
}

.bubble a,
.card a {
    color: #377ed5;
}

.bubble button,
.card button {
    color: #655555;
}

.bubble img,
.card img {
    /*height: 13px;*/
}

.card img {
    height: 22px;
    margin: 0 11px;
    position: absolute;
    bottom: calc((100% - 22px) / 2);
}

.en .card img {
    left: 9px;
}

.he .card img {
    right: 9px;
}

.bot, .card > div {
    white-space: pre-line;
    /*border: 3px solid #f3f3f3;*/
    background: #ffffff;
    -moz-border-radius: 0 5px 5px;
    -webkit-border-radius: 0 5px 5px;
    border-radius: 10px;
    position: relative;
}

.bot {
    margin-right: 28px;
}

.en .bot, .en #chat-header {
    float: left;
}

.he .bot, .he #chat-header {
    float: right;
    direction: rtl;
}

.user, .user-img {
    background-color: rgb(36, 96, 173);
    color: white;
    -moz-border-radius: 0 5px 0 5px;
    -webkit-border-radius: 0 5px 0 5px;
    border-radius: 10px;
    margin: 2px 21px;
    box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px 0px;
}

.en .user, .en .user-img {
    float: right;
}

.he .user, .he .user-img {
    float: left;
    direction: rtl;
}

.bot + :not(.bot) {
    margin-top: 11px;
    margin-bottom: 11px;
}

.user-img {
    min-width: 80px;
    max-width: 46%;
    min-height: 80px;
    padding: 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.user-img img {
    z-index: 1;
    position: relative;
    min-width: 90px;
    max-width: 100%;
    background-color: #0069d9;
    border-radius: 7px;
}

.user-img.file.bubble {
    min-height: 54px;
    padding: 3px 5px;
    max-width: unset;
}

.user-img span {
    display: none;
}

.user-img.file img {
    min-width: 21px;
    max-width: 21px;
}

.user-img.file span {
    margin: 4px;
    display: none;
}

.user-img.file #loadingAnimation {
    display: none;
}

.user-img.img span {
    margin: 4px;
    display: none;
}

.bot.bubble.map {
    width: 80%;
    height: 50%;
}

.bot.bubble.carousel {
    position: relative;
    border: none;
    max-width: 76%;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.carousel:not(.single-card-carousel) .carousel-wrapper {
    display: flex;
    width: 10000px;
}

.carousel-next, .carousel-prev {
    width: 40px;
    height: 40px;
    color: white !important;
    font-size: 22px;
    font-weight: bold;
    position: absolute;
    top: calc(50% - 15px);
    background: rgba(188, 189, 191, 0.9);
    border-radius: 50%;
}

button.carousel-next:focus, button.carousel-prev:focus {
    outline: none;
    background: #9e9fa0;
}

.carousel.bubble, .carousel-next {
    direction: rtl;
}

.en .carousel.bubble, .carousel-next {
    direction: ltr;
}

.en .carousel-next {
    right: 0;
}

.en .carousel-prev {
    left: 0;
}

.he .carousel.bubble, .he .carousel-next {
    direction: ltr;
}

.he .carousel-next {
    left: 0;
}

.he .carousel-next {
    left: auto;
    right: 0;
}

.carousel-prev {
    right: 0;
}

.he .carousel-prev {
    right: auto;
    left: 0;
}

.carousel-item {
    width: 185px;
    display: block;
    float: left;
    position: relative;
    margin: 8px;
    text-align: -webkit-center;
}

.carousel-item.selected {
    display: block;
}

.carousel .card-title {
    color: #2460ad;
}

.carousel img {
    display: block;
    top: 15%;
    left: 15%;
    height: 166px;
    border-radius: 6px 6px 0 0;
}

.carousel .card-title-h-100{
    height: 100%;
}

.carousel .card-title {
    width: 100%;
    min-height: 45px;
    max-height: 60px;
    line-height: 20px; /*important for displaying only 2 first lines*/
    overflow: hidden;
    margin-top: 7px;
    color: #2460ad;
    border: solid 1px #717275;
    border-radius: 0 0 12px 12px;
    font-size: 1rem;
    font-weight: bold;
    padding: 0 5px;
    box-sizing: border-box;
    display: flex;
}

.he .carousel .card-title {
    direction: rtl;
}

.carousel .card-title span {
    margin: auto;
}

.carousel .card-title p {
    text-underline: none;
    font-weight: unset;
    font-size: 0.8rem;
}

button.card-title:focus {
    outline: none;
    border: solid 2px #e0dfdf;
}

.carousel .img-wrapper {
    position: relative;
    overflow: hidden;
    border: solid 1px #717275;
    border-radius: 12px 12px 0 0;
    /*padding: 7px;*/
}

.single-card-carousel .img-wrapper {
    padding: 0;
}

.single-card-carousel .carousel-item {
    width: calc(264px - 14px); /*reduce padding from width*/
}

.carousel .img-container {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    width: 100%;
    height: 100%;
}

.carousel.carousel-images-only .img-container, .carousel.carousel-images-only img {
    border-radius: 6px;
}

.carousel.carousel-images-only .img-wrapper {
    border-radius: 12px;
}

.carousel-item.file-icon-item {
    width: 224px;
    margin: 0;
}

.file-icon-item .img-wrapper {
    padding: 5px;
    border: none;
    border-radius: 9px !important;
    background: #2460ad;
}

.file-icon-item img {
    height: 48px;
    width: 43px;
    margin: 5px;
    margin-right: 9px;
    padding: 0;
}

.he .file-icon-item img {
    margin-right: 5px;
    margin-left: 9px;
}

.file-icon-item .file-download-title {
    text-decoration: underline;
    color: #0069d9;
}

.file-icon-item .img-container {
    display: flex;
    align-items: center;
    background: white;
    direction: ltr;
}

.he .file-icon-item .img-container {
    direction: rtl;
}

.cards {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 0px 0px;
    max-width: 60%;
    border: none;
    font-family: arial;
    background: none;
}

.card > .card-content {
    display: inline-block;
    padding: 7px 7px;
    text-align: center;
    width: 100%;
    font-size: 1em;
    position: relative;
    margin: 3px 0px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px 0px;
}

.card > button.card-content {
    cursor: pointer;
    border: rgb(36, 96, 173) 1px solid;
    color: rgb(36, 96, 173);
    box-shadow: none;
}

.card:first-child {
    /* margin: -6px; */
}

.card:last-child {
    /* margin: -6px; */
    /* border-bottom: none; */
}

.en .card.right {
    text-align: -webkit-left;
    padding-left: 59px;
}

.he .card.right {
    text-align: -webkit-right;
    padding-right: 59px;
}

#jumping-dots {
    font-size: 15px;
    white-space: normal;
}

#header .bubble {
    display: none;
}

#jumping-dots div {
    float: left;
    height: 5px;
    width: 5px;
    background: rgb(77, 77, 79);
    border-radius: 50%;
    position: relative;
    -webkit-animation: jump 2s infinite;
    animation: jump 2s infinite;
    margin: 10px 2px 2px 2px;
}

#jumping-dots .dot-1 {
    -webkit-animation-delay: 200ms;
    animation-delay: 200ms;
}

#jumping-dots .dot-2 {
    -webkit-animation-delay: 400ms;
    animation-delay: 400ms;
}

#jumping-dots .dot-3 {
    -webkit-animation-delay: 600ms;
    animation-delay: 600ms;
}

@-webkit-keyframes jump {
    0% {
        bottom: 0px;
    }
    20% {
        bottom: 5px;
    }
    40% {
        bottom: 0px;
    }
}

@keyframes jump {
    0% {
        bottom: 0px;
    }
    20% {
        bottom: 5px;
    }
    40% {
        bottom: 0px;
    }
}

#chat-input-container {
    position: relative;
    padding: 0px 10px;
}

.chat_input:focus {
    font-size: 1.3em;
    outline: none;
    border: 1px solid rgb(142, 145, 148) !important;
}

#bot-help {
    position: absolute;
    bottom: 28px;
    padding: 5px 14px;
    height: 13px;
    color: #656567;
    /* opacity: 0.7; */
    width: calc(100% - 14px);
    background: #e6e7e8;
    font-size: 13.99px;
    line-height: 0.9em;
}

#bot-help > p {
    display: inline;
}

#bot-help > button {
    color: #0063CC;
    text-decoration: underline;
    margin: 0 -5px;
}

#bot-help > button:focus {
    font-weight: bold;
    outline: none;
}

#uploadChatPicBtnLabel {
    width: 26px;
    height: 100%;
    background-size: 123%;
    cursor: pointer;
}

.fill-image {
    height: 100%;
    width: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

#uploadChatPicBtnLabel > .regular-contrast-image {
    background-image: url("./img/paper-clip.png");
}

#uploadChatPicBtnLabel > .high-contrast-image {
    background-image: url("./img/paper-clip-yellow.png");
}

.chat-input-special-buttons-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
}

.en .chat-input-special-buttons-wrapper {
    right: 50px;
}

.he .chat-input-special-buttons-wrapper {
    left: 50px;
}

button#uploadChatPicBtnLabel:focus {
    width: 30px;
    outline: none;
}

#passwordEye {
    display: none;
    height: 100%;
    color: #000000;
    width: 18px;
}

button#passwordEye:focus {
    opacity: 0.7;
    outline: none;
}

#passwordEye .fill-image {
}

#passwordEye .regular-contrast-image {
    opacity: 0.5;
    background-image: url(./img/eye.png);
}

#passwordEye .high-contrast-image {
    background-image: url("./img/eye-yellow.png");
}

#passwordEye:focus img {
    width: 20px;
}

#microphone .regular-contrast-image {
    background-image: url(./img/microphone.png);
}

#microphone .high-contrast-image {
    background-image: url(./img/microphone-yellow.png);
}

#microphone {
    position: absolute;
    bottom: 0px;
    width: 2em;
    height: 100%;
}

.en #microphone {
    right: 10px;
}

.he #microphone {
    left: 10px;
}

#send {
    position: absolute;
    bottom: 0px;
    width: 2em;
    height: 100%;
}

#send .regular-contrast-image {
    background-image: url(./img/send-icon.png);
}

#send .high-contrast-image {
    background-image: url(./img/send-icon-yellow.png);
}

.en #send {
    right: 15px;
    transform: rotate(180deg);
}

.he #send {
    left: 15px;
}

#send:focus {
    font-size: 1.1em;
}

/* #endregion */

/* #region settingsPage*/
#settingsPage {
    height: 100%;
    padding: 0;
    overflow: auto;
    /*background: #f6f6f6;*/
}

#userName {
    display: none;
    /* padding-top: 43%; */
    bottom: 5%;
    bottom: calc(8%);
    position: absolute;
    width: 100%;
    color: #0069d9;
}

.profileImage {
    color: #ffffff;
    /* background: linear-gradient(rgba(109, 8, 109, 0.28), rgba(109, 8, 109, 0.78)); */
    /* background: white; */
    text-align: center;
    position: relative;
    font-size: 1.5em;
    /* height: calc(100% - 237px);
     height: 31% ;*/
    height: 130px;
    /* max-height: 28%; */
    box-sizing: content-box;
    /* box-shadow: 2px 2px 1px 0px #0762b7; */
}

#profilePage .profileImage button {
    background: url(./img/attach.png) center no-repeat;
    background-position: 3px 3px;
    background-size: 86%;
    width: 35px;
    height: 35px;
    content: '';
    position: absolute;
    top: calc((100% - 92px) / 2 + 56px);
    right: calc((100% - 96px) / 2 + -4px);
    border-radius: 50%;
    /* background-color: white; */
}

#profilePage .profileImage button:focus {
    outline: none;
    width: 40px;
}

.profile-img-wrapper {
    width: 92px;
    height: 92px;
    position: absolute;
    top: calc((100% - 120px) / 2);
    right: calc((100% - 96px) / 2);
    border: #0069d9 solid;
    border-radius: 50%;
}

#profilePage .profileImage {
    /* height: calc(28% + 22px); */
    /* margin-top: 21px; */
}

.he .powered-by {
    float: left;
}

.en .powered-by {
    float: right;
}

.powered-by > a {
    color: rgb(36, 96, 173);
}

.powered-by > a:focus {
    font-weight: bold;
    outline: none;
}

.powered-by:focus {
    font-weight: bold;
    outline: none;
}

.fa-user-o {
    font-size: 66px !important;
    margin-top: 11px;
    color: #0069d9;
    /* border: #0069d9 solid; */
    /* border-radius: 50%; */
    /* padding: 15px; */
    /* position: absolute; */
    /* top: 12%; */
    /* right: 33%; */
}

/*.profileImage::before {
    !* content: ''; *!
    position: absolute;
    top: 11%;
    right: 35%;
    height: 95px;
    width: 95px;
    border: #ffffff solid;
    !*background: url('./img/user.svg') center no-repeat;*!
    background-size: 100px;
    background-color: white;
    border-radius: 50%;
}*/

#profilePicture, #settingsPicture {
    /* width: 113px; */
    /* position: absolute; */
    position: absolute;
    top: calc((100% - 92px) / 2);
    right: calc((100% - 92px) / 2);
    height: 95px;
    width: 92px;
    /* border: #ffffff solid; */
    /* background: url(./img/user.svg) center no-repeat; */
    background-size: 100px;
    /* background-color: white; */
    border-radius: 50%;
    background: #2460ad;
    /* border: #0069d9 solid; */
}

.menuItem {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #0069d9;
    position: relative;
    /*font-size: 15.8px;*/
    font-size: 1em;
    background: white;
    border-radius: 7px;
}

/*@media screen and (orientation: landscape) and (min-height: 450px) {
    .profileImage {
        width: 37%;
        float: right;
        height: 100% !important;
    }

    .menuItem {
        width: 60%;
        float: left;
        height: 19%;
        padding: 16px 15px 0px 0;
        !* box-sizing: border-box; *!
    }

    .menuItem > * {

        top: 23px;
    }
}*/

.menuItem img {
    height: 26px;
    margin: 2px 18px 0;
    margin-left: 13px;
    position: absolute;
    box-sizing: border-box;
    padding-left: 6px;
    opacity: 0.5;
    top: calc((100% - 26px) / 2);
}

.menuItem p {
    color: #666363;
    position: absolute;
    font-size: 1em;
    margin-top: 3px;
    top: calc((100% - 22.4px) / 2);
}

.en .menuItem p {
    left: 69px;
}

.he .menuItem p {
    right: 69px;
}

#soundsPage button:not(.back) {
    color: #666363;
    font-size: 1em;
    padding: 2px 16px 0;
    border-bottom: solid 1px #c0c0c0;
    height: 80px;
    cursor: pointer;
    padding-top: 0;
    width: 100%;
    font-weight: bold;
}

.en #soundsPage button:not(.back) {
    text-align: left;
}

.he #soundsPage button:not(.back) {
    text-align: right;
}

#soundsPage button:not(.back):last-child {
    border-bottom: none;
}

#soundsPage button:not(.back) p {
    height: 10px;
    margin-top: 5px;
    color: #747377;
    font-weight: normal;
}

#soundsPage > .menu > div {
    position: relative;
    font-size: 13px;
}

/*#soundsPage button::before {
    margin-top: -7%;
    color: #0069d9;
    font-size: 16px;
    position: absolute;
}

#soundMode::before {
    content: '×ž×¦×‘ ×¦×œ×™×œ';
}

#soundVolume::before {
    content: '×¢×•×¦×ž×ª ×¦×œ×™×œ';
}*/

#helpPage {
    color: #0069d9;
    /* font-size: 1.5em; */
    /* text-align: center; */
    /* padding-top: 50%; */
}

#profilePage input {
    color: #666363;
    /* margin: 2% 5% 2%; */
    width: calc(100% - 44px);
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-width: 1px;
    background-color: transparent;
    font-size: 1em;
    padding: 0 8px;
    box-sizing: border-box;
    margin: 0 22px;
    padding-top: 1.5%;
    height: 2.8rem;
}

#profilePage input:focus {
    outline: none;
}

.en #identityNumber {
    display: none;
}

#profileloadingAnimation {
    display: none;
}

.menu:not(.page) {
    width: 70%;
    margin: auto;
    border-radius: 14px;
}

ul {
    list-style: none;
}

.menuItemWrapper, .menu > input {
    height: 42px;
    margin: 2% 0;
}

.menuItemWrapper > .menuItem {
    height: 100%;
}

.menuItemWrapper > .menuItem:focus,
#soundsPage button:not(.back):focus {
    background: #dbd9d9;
    outline: none;
}

.menu > ul > li:first-child,
.menu > input:first-of-type {
    border: none;
}

.menu#topics-container,
#soundsPage .menu {
    margin-top: 15%;
}

/*@media screen and (orientation: landscape) and (min-height: 450px) {
    #profilePage input {
        width: 57%;
        margin: 16px;
        float: left;
    }
}*/

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

#profilePage input::before {
    content: 'שם';
    color: #0762b7;
    font-size: 0.5em;
}

#profilePage {
    height: 100%;
    /*background: #f6f6f6;*/
}

#save {
    text-align: -webkit-center;
    height: 30px;
    margin: 3vh 15% 1px;
    bottom: 51px;
    font-size: 1em;
    box-sizing: content-box;
    color: rgb(36, 96, 173);
    border: 1px solid rgb(36, 96, 173);
    border-radius: 12px;
    padding: .3em 1.2em;
}

.en #save {
    float: right;
}

.he #save {
    float: left;
}

#save:focus {
    outline: none;
    font-weight: bold;
    font-size: 1.2em;
}

#save::after {
    left: 15px;
    top: 10px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    /* content: ""; */
    position: absolute;
}

/* #region notifications*/

#notificationsPage {
    height: 100%;
    overflow-x: hidden;
    /*background: #f6f6f6;*/
}

#notificationsPage li {
    list-style: none;
    position: relative;
    font-size: 1em;
}

.parentListItem {
    /* border-top: solid 1px #dddddd; */
    padding: 13px 36px;
    padding-left: 55px;
    font-weight: bold;
}

body.he .parentListItem {
    padding-right: 55px;
    padding-left: 36px;
}

.parentListItem .expander {
    border-top: rgb(36, 96, 173) 1.5px solid;
    border-right: rgb(36, 96, 173) 1.5px solid;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(-45deg);
    cursor: pointer;
    position: absolute;
    top: 21px;
}

.en .parentListItem .expander {
    left: 26px;
}

.he .parentListItem .expander {
    right: 26px;
}

.parentListItem .expander.expanded {
    -webkit-transform: rotate(137deg);
    -ms-transform: rotate(137deg);
    transform: rotate(137deg);
}

.parentListItem .expander:focus {
    outline: none;
    border-width: 4px;
}

ul.childList {
    margin-top: -8px;
    margin-bottom: 6px;
}

.childListItem {
    padding: 13px 36px;
}

/* .parentListItem:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 128px;
    width: 0;
    height: 0;
    border: 50px solid transparent;
    border-left: 12px solid #ccc;
}

.parentListItem:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 129px;
    width: 0;
    height: 0;
    border: 50px solid transparent;
    border-left: 12px solid #999;
} */
input[type=range] {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 0;
    -webkit-appearance: none;
    border: none;
    background: none;
}

.en input[type=range] {
    right: 28px;
}

.he input[type=range] {
    left: 28px;
}

input[type=range]:focus {
    outline: none;
}

/**
1 webkit
*/
input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    width: 60px;
    height: 21px;
    background: rgba(0, 105, 217, 0.37);
    margin-top: 12px;
    border: none;
    border-radius: 25px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #0069d9;
    margin-top: 1px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12);
}

.en input[type=range]::-webkit-slider-thumb {
    margin-right: 5px;
    margin-left: 1px;
}

.he input[type=range]::-webkit-slider-thumb {
    margin-left: 5px;
    margin-right: 1px;
}

input[type=range].isOff::-webkit-slider-runnable-track {
    background: rgb(158, 158, 158) !important;
}

input[type=range].isOff::-webkit-slider-thumb {
    background: rgb(251, 255, 255);
}

input[type=range]:focus::-webkit-slider-runnable-track {
    border: solid 1px #0069d9;
}

/**
2 mozila firefox
*/
input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    border: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #0069d9;
    margin-top: 1px;
    margin-right: 1px;
    margin-left: 5px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12);
}

input[type=range].isOff::-moz-range-thumb {
    background: rgb(251, 255, 255);
}

/**
3 ms
*/
input[type=range]::-ms-fill-lower, input[type=range]::-ms-fill-upper {
    background: rgba(109, 8, 109, 0.37);
}

input[type=range]::-ms-fill-upper {
    border-bottom-left-radius: 50%;
    border-top-left-radius: 50%;
}

input[type=range]::-ms-fill-lower {
    border-bottom-right-radius: 50%;
    border-top-right-radius: 50%;
}

input[type=range].isOff::-ms-fill-lower, input[type=range].isOff::-ms-fill-upper {
    background: rgb(158, 158, 158);
}

input[type=range]::-ms-track {
    width: 35px;
    height: 25px;
    border: none;
}

input[type=range]:focus::-ms-track {
    border: solid 1px #0069d9;
}

input[type=range]::-ms-thumb {
    border: none;
    height: 21px;
    width: 21px;
    border-radius: 50%;
    background: #0069d9;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12);
}

input[type=range].isOff::-ms-thumb {
    background: rgb(251, 255, 255);
}

/* #endregion */
#archivePage {
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

#archive-container {
    height: 100%;
}

#archivePage img {
    align-self: center;
    width: 34px;
    height: 34px;
    /* margin-left: 11px; */
    margin: 3px 0;
}

.en #archivePage img {
    float: left;
}

.he #archivePage img {
    float: right;
}

#archivePage > div > .text {
    color: #757474;
    font-size: 1em;
}

#archivePage .archive-node {
    width: 100%;
    min-height: 67px;
    padding: 20px 8px 8px;
    border-bottom: solid 1px gainsboro;
    color: #655555;
    font-size: 1em;
    position: relative;
}

.en #archivePage .archive-node {
    text-align: left;
}

.he #archivePage .archive-node {
    text-align: right;
}

#archivePage .archive-node:focus {
    box-shadow: inset 0px 0px 38px -12px #272727;
    outline: none;
}

#archivePage .archive-node.is-not-visited {
    font-weight: bold;
    background-color: white;
}

#archivePage .archive-node .notification-title {
    margin-bottom: 4px;
    color: #0069d9;
    font-size: 1em;
}

.en #archivePage .archive-node .notification-title, #archivePage .archive-node .text {
    padding-left: 45px;
}

.he #archivePage .archive-node .notification-title, #archivePage .archive-node .text {
    padding-right: 45px;
}

#archivePage .archive-node .notification-title span {
    padding: 0 7px;
    border: #0069d9 solid;
    border-width: 0;
}

.en #archivePage .archive-node .notification-title span {
    border-right-width: 1px;
}

.he #archivePage .archive-node .notification-title span {
    border-left-width: 1px;
}

.en #archivePage .archive-node .notification-title span:first-child,
.he #archivePage .archive-node .notification-title span:last-child {
    padding-left: 0;
}

.en #archivePage .archive-node .notification-title span:last-child,
.he #archivePage .archive-node .notification-title span:first-child {
    padding-right: 0;
}

#archivePage .archive-node .date {
    direction: ltr;
    position: absolute;
    left: 2px;
    font-size: 0.8125rem;
    top: 3px;
}

#archivePage .archive-node .notification-title span:last-child {
    border-width: 0;
}

#archivePage .archive-node .text {
    /* width: calc(100% - 45px); */
}

body > .sk-fading-circle {
    display: none;
}

.sk-fading-circle {
    margin: auto;
    width: 39px;
    height: 39px;
    position: absolute;
    top: calc((100% - 92px) / 2 + 31px);
    right: calc((100% - 92px) / 2 + 27px);
    z-index: 2;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #ffffff;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

/*for device - when keyboard is open*/
/*if you update this - you have to update the selectors below for safary as well*/
@media only screen and (max-height: 400px) {
    .powered-by, #bot-start {
        display: none !important;
    }

    .bot-wrapper {
        padding-bottom: 0 !important;
        /*height: calc(100% - 23px) !important; !*100% - self-padding-top*!*/
    }
}

@media only screen and (max-height: 640px) {
    #settingsPage, #profilePage {
        padding-top: 0 !important;
    }
}

/*for safary device - when keyboard is open*/
body.isDevice #bot-start, body.isDevice #orgPic, body.isDevice .powered-by {
    display: none !important;
}

/*for safary device - when keyboard is open*/
body.isDevice .bot-wrapper {
    padding-bottom: 0px;
}

.qr {
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

.qr video {
    min-height: 100%;
    /*right: calc((100vw - 100%) / -2);*/
    display: block;
    margin: auto;
    object-fit: contain;
    object-position: unset;
}

.qr .title {
    z-index: 12;
}

/*switch button*/
/* ON/OFF Switch */
.onoffswitch {
    position: absolute;
    width: 36px;
    display: inline-block;
    font-size: 80%;
}

.onoffswitch .onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid hsl(0, 0%, 90%);
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    background: #9e9e9e;
    border-radius: 20px;
    height: 23px;
    margin: 0;
}

.onoffswitch .onoffswitch-switch {
    width: 20px;
    height: 20px;
    margin: 0;
    background: hsl(0, 0%, 100%);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    bottom: 0;
    right: 12px;
    -webkit-transition: right 0.15s ease-in-out;
    -o-transition: right 0.15s ease-in-out;
    -moz-transition: right 0.15s ease-in-out;
    transition: right 0.15s ease-in-out;
}

.toggle-group {
    position: relative;
    float: right;
    width: 35px;
    height: 35px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.he .toggle-group {
    float: left;
}

.toggle-group input[type=checkbox] {
    position: absolute;
    left: 10px;
}

.toggle-group input[type=checkbox]:checked ~ .onoffswitch .onoffswitch-label .onoffswitch-switch {
    right: 1px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    background: rgb(36, 96, 173);
}

.toggle-group input[type=checkbox]:checked ~ .onoffswitch .onoffswitch-label {
    background: #b2caf1;
}

.toggle-group input[type=checkbox]:focus ~ .onoffswitch {
    outline: thin dotted #333;
    outline: 0;
}

.toggle-group label {
    cursor: pointer;
    display: inline-block;
    text-align: left;
    line-height: 24px;
    z-index: 1;
    height: 24px;
    font-weight: 200;
}

/* ==== Accessibility ===== */
.aural {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.aural:focus {
    clip: rect(0, 0, 0, 0);
    font-size: 1em;
    height: auto;
    outline: thin dotted;
    position: static !important;
    width: auto;
    overflow: visible;
}

.toggle-group input[type=checkbox]:focus {
    outline: none;
}

.toggle-group input[type=checkbox]:focus ~ .onoffswitch .onoffswitch-label {
    border: solid 1px #0069d9;
}

#addressInput, #listInput {
    display: none;
}

.he .chat_input, .he #addressInput, .he #listInput {
    padding-left: 34px;
    padding-right: 20px;
}

.he .chat_input[side-padding] {
    padding-left: 67px;
}

.en .chat_input[side-padding] {
    padding-right: 67px;
}

.chat_input, #addressInput, #listInput {
    border-radius: 12px;
    border: 1px solid rgb(220, 221, 222);
}

#addressInput:focus, #listInput:focus {
    outline-color: #a3a2a2;
}

.chat_input, #addressInput, #listInput {
    height: 40px;
    width: 100%;
    color: #464647;
    padding: 2px;
    padding-left: 20px;
    padding-right: 34px;
    font-size: 1.2em;
    box-sizing: border-box;
}

.pac-container, #filteredList {
    left: 0px !important;
    right: 0px;
    bottom: 100% !important;
    position: absolute !important;
    top: auto !important;
    width: 100% !important
}

#filteredList {
    display: none;
}

.autocomplete-items {
    width: 100%;
    right: 0px;
    bottom: 10%;
    background-color: #fff;
    position: absolute !important;
    z-index: 1000;
    border-radius: 2px;
    border-top: 1px solid #d9d9d9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.autocomplete-items div {
    cursor: default;
    padding: 0 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 30px;
    text-align: right;
    border-top: 1px solid #e6e6e6;
    font-size: 0.8rem;
    color: black;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: #ebf2fe;
}

.autocomplete-matches {
    font-weight: 700;
}

.bot-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
    padding: 0px 0px 27px 0px;
    box-sizing: border-box;
    background-color: rgb(238, 240, 241);
    background-image: url('./img/background.png');
    background-position-y: 64px;
    background-size: 150%;
    background-repeat: no-repeat;
}

body.top-window:not(.mobile-design) .bot-wrapper {
    border: 2px solid rgb(220, 221, 222);
}

body:not(.mobile-design) .bot-wrapper {
    border-radius: 15px;
    /*box-shadow: 0 19px 147px -41px rgba(0, 0, 0, .75) !important;*/
}

.bot-container {
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

div:not(.bot) + .bot.bubble::before, .bot.bubble:nth-child(1)::before {
    content: '';
    background: url(./img/bot-image.png) no-repeat;
    background-size: 100%;
    height: 1.5rem;
    width: 1.5rem;
    position: absolute;
    top: 4px;
}

.he div:not(.bot) + .bot.bubble::before, .he .bot.bubble:nth-child(1)::before {
    background-image: url(./img/bot-image-rtl.png);
}

.en div:not(.bot) + .bot.bubble::before, .en .bot.bubble:nth-child(1)::before {
    right: 100%;
    transform: translateX(-12%);
}

.he div:not(.bot) + .bot.bubble::before, .he .bot.bubble:nth-child(1)::before {
    left: 100%;
    transform: translateX(12%);
}

#chat-header {
    padding: 4% 3% 2% 3%;
    box-sizing: border-box;
    position: relative;
    width: 100%;
}

.he #chat-header {
    padding: 4% 0% 2% 6%;
}

#chat-header > * {
    display: inline-block;
}

.feedback-buttons-wrapper, #chat-header-text {
    margin-top: 4%;
}

.feedback-buttons-wrapper button:focus {
    outline: none;
}

#chat-header-text {
    margin-right: 2%;
    width: calc(100% - 45px - 88px - 2%); /*100% - (feedback-buttons-wrapper width) - (bot-image width) - (self margin right)*/
}

.he .feedback-buttons-wrapper {
    float: left;
}

.en .feedback-buttons-wrapper {
    float: right;
}

#main-header-container, #menu-page-header-container {
    text-align: left;
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-flow: row;
    position: relative;
    align-items: center;
}

.he #main-header-container, .he #menu-page-header-container {
    text-align: right;
}

#menu-page-header-container {
    padding: 10px 0;
    box-sizing: border-box;
}

.page.full.menu > .title {
    display: none;
}

.full {
    border-top-width: 0;
}

#menu-page-header-container .back {
    color: inherit;
}

#header-link{
    cursor: default;
}

#menu-page-image {
    width: 27px;
    margin: 0;
    margin-right: 0.5em;
    margin-left: 0.15em;
}

.he #menu-page-image {
    margin-left: 0.5em;
    margin-right: 0.15em;
}

.chat-selected img#menu-page-image {
    width: 47px;
}

#menu-page-title {
    display: table-cell;
    vertical-align: middle;
}

.back-wrapper {
    width: 19px;
}

.he .back-wrapper {
    text-align: right;
}

.en .back-wrapper {
    text-align: left;
}

#bot-start, .powered-by {
    color: inherit;
    font-size: 0.875rem;
    padding: 0 11px;
    margin-top: 0.25rem;
}

#bot-start {
    color: rgb(36, 96, 173);
    text-decoration: underline;
}

.back {
    color: inherit;
}

.vertical-center {
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.back-wrapper {
    display: inline-block;
    vertical-align: middle;
}

#settingsPage, #profilePage {
    padding-top: 4vh;
    box-sizing: border-box;
}

#profilePage .menu {
    background: white;
    text-align: center;
}

#topics-container li {
    display: table;
    width: 100%;
    box-sizing: border-box;
}

#topics-container li > * {
    display: table-cell;
    vertical-align: middle;
}

.he #bot-start {
    float: right;
}

.en #bot-start {
    float: left;
}

body:not(.chat-selected) #bot-start {
    display: none;
}

.chat_input::-ms-clear, #addressInput::-ms-clear, #listInput::-ms-clear {
    display: none;
}

.bot-image {
    height: 45px;
}

.collapsible {
    cursor: pointer;
    position: relative;
    text-align: right !important;
}

.he .collapsible {
    text-align: right !important;
}

.en .collapsible {
    text-align: left !important;
}

.collapsible input {
    cursor: pointer;
}

.collapsible:hover {
    background-color: #f1f1f1 !important;
}

#profilePage .collapsible:after {
    content: '';
    position: absolute;
    left: 10px;
    border-style: solid;
    border-width: 6px 10px;
    border-color: transparent transparent transparent rgb(111, 111, 111);
    vertical-align: middle;
    top: calc(50% - 5px);
}

.he #profilePage .collapsible:after {
    right: 10px;
    left: auto;
    border-color: transparent rgb(111, 111, 111) transparent transparent
}

#profilePage .collapsible.active:after {
    content: '';
    border-width: 10px 6px;
    border-color: rgb(111, 111, 111) transparent transparent transparent;
}

.collapsibleContent {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 1000; /* Sit on top */
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    text-align: center;
}

.modal.show {
    display: block;
}

body:not(.mobile-design) .modal {
    border-radius: 15px;
}

/* Modal Content */
.modal-content {
    position: relative;
    width: 85%;
    margin-right: auto;
    margin-left: auto;
    background: white;
    border: 1px solid rgb(36, 96, 173);
    border-radius: 12px;
    overflow: hidden;
    animation-name: animatetop;
    animation-duration: 0.5s;
    /*vertical center*/
    top: 50%;
    transform: translateY(-75%);
    /*transition: top 0.4s 0.1s;*/
}

.modal-footer {
    display: flex;
    justify-content: center;
    white-space: nowrap;
    padding: 0.5rem;
}

.modal button {
    text-align: -webkit-center;
    font-size: 0.88em;
    box-sizing: content-box;
    color: rgb(36, 96, 173);
    border: 1px solid rgb(36, 96, 173);
    border-radius: 12px;
    background: white;
    padding: 7px 12px;
    margin: 0 0.3em;
}

/* The Close Button */
.modal-close {
    font-weight: bold;
    width: auto !important;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal button:disabled,
.modal button[disabled] {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
}

/* Add Animation */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 50%;
        opacity: 1
    }
}

.modal-header {
    padding: 0.6rem 0.8rem 0.5rem;
    background: rgba(0, 0, 0, 0.1);
}

.en .modal-header {
    text-align: left;
}

.he .modal-header {
    text-align: right;
}

.modal-body {
    background: white;
    width: 100%;
}

#signature-canvas {
    width: 100%;
    height: 100px;
}

#signature-buttons-container {
    direction: ltr;
}

html:not(.high-contrast) div:not(.user):not(.user-img) + .user:after, html:not(.high-contrast) div:not(.user):not(.user-img) + .user-img:after {
    left: calc(100% - 1px);
    top: 0px;
    z-index: 0;
    content: '';
    position: absolute;
    border-width: 12px 9px 0px 0px;
    border-style: solid;
    border-color: rgb(36, 96, 173) transparent transparent rgb(36, 96, 173);
}

html:not(.high-contrast) .he div:not(.user):not(.user-img) + .user:after, html:not(.high-contrast) .he div:not(.user):not(.user-img) + .user-img:after {
    left: auto;
    right: calc(100% - 1px);
    border-width: 12px 0px 0px 9px;
    border-color: rgb(36, 96, 173) rgb(36, 96, 173) transparent transparent;
}

.bot.bubble, .user, .user-img {
    box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px 0px;
}

html:not(.high-contrast) div:not(.bot) + .bot.bubble:after, html:not(.high-contrast) .bot.bubble:first-child:after {
    right: calc(100% - 1px);
    top: 0px;
    z-index: 0;
    content: '';
    position: absolute;
    border-width: 12px 0px 0px 9px;
    border-style: solid;
    border-color: white white transparent transparent;
}

html:not(.high-contrast) .he div:not(.bot) + .bot.bubble:after, html:not(.high-contrast) .he .bot.bubble:first-child:after {
    left: calc(100% - 1px);
    right: auto;
    border-width: 12px 9px 0px 0px;
    border-color: white transparent transparent white;
}

html:not(.high-contrast) .he div:not(.user):not(.user-img) + .user.bubble, html:not(.high-contrast) .he div:not(.user):not(.user-img) + .user-img {
    border-top-left-radius: 0 !important;
}

html:not(.high-contrast) .he div:not(.bot) + .bot.bubble, html:not(.high-contrast) .he .bot.bubble:first-child {
    border-top-right-radius: 0 !important;
}

html:not(.high-contrast) .en div:not(.user):not(.user-img) + .user.bubble, html:not(.high-contrast) .en div:not(.user):not(.user-img) + .user-img {
    border-top-right-radius: 0 !important;
}

html:not(.high-contrast) .en div:not(.bot) + .bot.bubble, html:not(.high-contrast) .en .bot.bubble:first-child {
    border-top-left-radius: 0 !important;
}

/*solution for selecting bubble text only*/
.hidden-space {
    width: 0;
    height: 0;
    font-size: 0;
    overflow: hidden;
    display: table;
    -webkit-user-select: none; /* Chrome 49+ */
    -moz-user-select: none; /* Firefox 43+ */
    -ms-user-select: none; /* No support yet */
    user-select: none;
}

.wrap-bubble-text {
    display: inline-block;
}

.wrap-bubble-text::after {
    content: '';
    display: table;
    width: 0;
}

.wrap-bubble-text::after::-moz-selection {
    background-color: transparent;
}

.wrap-bubble-text::after::selection {
    background-color: transparent;
}

.link-wrapper a {
    text-decoration: none;
}

.link-wrapper {
    display: inline-block;
    word-break: break-all; /*IMPORTANT for IE*/
}

a[href^=tel] {
    /*inline-block display is required for enable direction*/
    display: inline-block;
    direction: ltr;
}

.user.bubble .link-wrapper a {
    color: inherit;
}

input[secured-text='true'] {
    -webkit-text-security: disc;
}

#open-signature {
    width: 26px;
    height: 100%;
    background-size: 123%;
    cursor: pointer;
}

#open-signature > .regular-contrast-image {
    background-image: url("./img/signature.png");
}

#open-signature > .high-contrast-image {
    background-image: url("./img/signature-yellow.png");
}

.map {
    height: 160px;
    width: 80%;
}

.map:empty {
    display: none;
}

.bubble, .card {
    position: relative;
    -moz-animation: bubble-fade-in ease-in 0.5s;
    -webkit-animation: bubble-fade-in ease-in 0.5s;
    animation: bubble-fade-in ease-in 0.5s;
}

.checkboxList.cardsRemoved .checkboxListContainer, .cards.cardsRemoved, .yesNo.cardsRemoved .buttonsContainer, .rating.cardsRemoved .rating-wrapper {
    display: none;
}

.checkboxListContainer {
    border: #2460ad 1px solid;
    margin: 10px;
    border-radius: 10px;
    padding: 8px 12px 2.5em 12px;
}

.checkboxList [type='button'] {
    float: right;
    border: 1px solid #2460ad;
    border-radius: 10px;
    padding: 5px;
    color: #2460ad;
}

.checkboxList label {
    line-height: 1em;
    -webkit-flex: 1;
    flex: 1;
}

.checkboxList p {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 4px;
    line-height: 1.3em;
}

.en .checkboxList label {
    margin-left: 10px;
}

.en .checkboxList button {
    float: right;
}

.he .checkboxList label {
    margin-right: 10px;
}

.he .checkboxList button {
    float: left;
}

.buttonsContainer {
    width: 136px;
    display: flex;
    margin-top: 29px;
}

.buttonsContainer button {
    flex: 1;
    padding: 7px;
    margin: 0 4px;
    font-size: 1em;
    white-space: nowrap;
    border-radius: 10px;
    border: #2460ad 1px solid;
}

.link-icon {
    height: 1.5em;
    vertical-align: middle;
    display: inline-block;
}

.rating-wrapper {
    border: #2460ad 1px solid;
    background: white;
    margin: 10px 7px;
    border-radius: 10px;
    padding: 4px 10px 10px;
}

.rating .rating-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 10px;
    color: #2460ad;
}

.he .rating .button-wrapper {
    text-align: left;
}

.rating [type='button'] {
    border: 1px solid #2460ad;
    border-radius: 6px;
    padding: 5px;
    color: #2460ad;
    background: none;
    outline: none; /*override focus outline*/
    font-size: inherit;
    min-width: 60px;
}

.rating-list {
    float: left;
}

.he .rating-list {
    float: right;
}

.rating-list label {
    padding: 0;
}

.rating-list > label:before {
    font-size: 28px;
}

.mobile-design .rating-list > label:before { /*star is displayed bigger on devices*/
    font-size: 25px;
}

/* :not(:checked) is a filter, so that browsers that don't support :checked don't
   follow these rules. Every browser that supports :checked also supports :not(), so
   it doesn’t make the test unnecessarily selective */
.rating-list:not(:checked) > input {
    display: none;
}

.rating-list:not(:checked) > label {
    float: right;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.2;
    padding-right: 2px;
}

.he .rating-list:not(:checked) > label {
    float: left;
    padding-left: 2px;
}

.rating-list:not(:checked) > label:before {
    text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating-list:not(:checked) > label:before {
    content: '★ ';
    color: #bbb;
    text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0, 0, 0, .5);;
}

.rating-list > input:checked ~ label:before {
    color: #2460ad;
    text-shadow: 1px 1px #2460ad, 2px 2px #666, 0.1em 0.1em 0.2em rgba(0, 0, 0, .5);
}

.rating-list:not(:checked) > label:hover:before,
.rating-list:not(:checked) > label:hover ~ label:before {
    color: #5d8dca;
    text-shadow: 1px 1px #5d8dca, 2px 2px #666, 0.1em 0.1em 0.2em rgba(0, 0, 0, .5);
}

.rating-list > input:checked + label:hover:before,
.rating-list > input:checked + label:hover ~ label:before,
.rating-list > input:checked ~ label:hover:before,
.rating-list > input:checked ~ label:hover ~ label:before,
.rating-list > label:hover ~ input:checked ~ label:before {
    color: #2460ad;
    text-shadow: 1px 1px #2460ad, 2px 2px #666, 0.1em 0.1em 0.2em rgba(0, 0, 0, .5);
}

.mobile-design .rating-list > label:before {
    /*stars with font color are displayed strange on devices -
    solution for devices: color is ignored and the displayed color is set by text-shadow,
    IE browser ignored text-shadow so this solution is set only for devices*/
    color: transparent !important;
}

.rating-list > label:active {
    position: relative;
    top: 2px;
    left: 2px;
}

@-moz-keyframes bubble-fade-in {
    0% {
        opacity: 0;
        top: -5px;
    }
    50% {
        top: 0;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

@-webkit-keyframes bubble-fade-in {
    0% {
        opacity: 0;
        top: -5px;
    }
    50% {
        top: 0;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}

@keyframes bubble-fade-in {
    0% {
        opacity: 0;
        top: -5px;
    }
    50% {
        top: 0;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}
