@font-face {
    font-family: 'BystanderBold';
    src: url('../assetsTEST/fonts/BystanderSans-Bold.otf');
 }

 @font-face {
    font-family: 'BystanderMedium';
    src: url('../assetsTEST/fonts/BystanderSans-Medium.otf');
 }

 @font-face {
    font-family: 'SofiaBold';
    src: url('../assetsTEST/fonts/SofiaPro-Bold.otf');
 }

 @font-face {
    font-family: 'SofiaReg';
    src: url('../assetsTEST/fonts/SofiaPro-Regular.otf');
 }
/* recreating tailwind colour values that we are using in the rebranding designs */
:root {
    --slate-100-color: #394056;
    --slate-120-color: #2B3145;
    --apricot-100-color: #F39D80;
    --apricot-75-color: #F6B5A0;
    --apricot-25-color: #FCE6DF;
    --sand-100-color: #F9F2DD;
    --sand-25-color: #FDFCF6;
    --sand-10-color: #F5F5F5;
    --link-color: #636C8C;
 }

.main-container {
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    background: #F4E8D9;
}
.sofiaBold {
    font-family: 'SofiaBold';
}
.header {
    display: flex;
    height: 112px;
    background-color: var(--slate-100-color);
    width: 100%;
    padding: 0 16px 0 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.logo_bar {
    width: 125px;
    height: 45px;
}
.logo_fill {
    fill: var(--sand-100-color);
}
.increase {
    float: left;
    cursor: pointer;
    font-size: 20px;
    font-weight: bolder;
    font-family: Arial;
    color: #034045;
    margin-right: 15px;
    margin-top: 4px;
}
/* default form view */
.main-content {
    -webkit-flex: 1 1 0;
    flex: 1 1 0;
    height: 100%;
    background-color: #FFFFFF;
}
/* added class to main-content for chat view */
.form-content {
    padding: 48px 15px 0px 15px;
}
.heading {
    text-transform: uppercase;
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
    line-height: 32px;
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.body {
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
}
.bodyEmphasis {
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
    font-size: 18px;
}
.link {
    text-decoration: underline;
}
/* WIP, make select arrow larger/thicker */
.formSelect {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 15px;
    background-image: url('../assetsTEST/icons/custom_down_arrow.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    background-size: 10px;
}
.decrease {
    float: left;
    cursor: pointer;
    font-size: 27px;
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
    border: none;
    text-align: right;
    color: var(--sand-100-color);
    margin-right: 0px;
    margin-top: -3px;
}
.decrease:hover {
    color: var(--apricot-75-color);
}
.endchat {
    align-items: center;
    float: right;
    cursor: pointer;
    width: 40px;
    border: none;
    text-align: right;
    color: var(--sand-100-color);
    margin-left: 16px;
}
.pdf {
    float: left;
    border: none;
    padding: 8px 16px;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
    size: 10px;
    margin-top: -4px;
}
.livechat {
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
    color: var(--apricot-100-color);
    font-size: 18px;
}
.chatView {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chat-box-heading { 
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1;
    background: var(--apricot-25-color);
    color: var(--slate-100-color);
    text-align: center;
    padding: 16px 24px;
    margin-bottom: 17px;
    box-shadow: 0px 6px 12px #00000025;
}
.applyScroll {
    overflow-y: scroll !important;
}
/*  New chat bubble styles */
.chatBubble {
    width: 80%;
    padding: 16px 12px;
    margin: 10px;
    border-radius: 8px;
    position: relative;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
.chatBubble:first-child {
    margin-top: 33px;
}
.chatBubble:last-child {
    margin-bottom: 33px;
}
.userBubble {
    margin-left: 56px;
    margin-right: 32px;
    color: #FFFFFF;
    background-color: var(--link-color);
    z-index:100;
}
.agentBubble {
    margin-left: 32px;
    margin-right: 56px;
    color: var(--slate-100-color);
    background-color: var(--sand-100-color);
    z-index:100;
}
.agentBubble::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 40px;
    border: 0px solid;
    display: block;
    width: 38px;
    height: 20px;
    background-color: transparent;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    box-shadow: 21px 9px 0px 8px var(--sand-100-color);
    z-index: -1;
}
.userBubble::after {
    content: "";
    position: absolute;
    left: 100%;
    bottom: 40px;
    border: 0px solid;
    display: block;
    width: 38px;
    height: 20px;
    background-color: transparent;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    box-shadow: -21px 9px 0px 8px var(--link-color);
    z-index: -1;
}
.chatBubbleHeader {
    padding-right: 10px;
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
    font-size: 14px;
}
.chatBubbleBody {
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
}
.ChatUI .instructions {
    color: var(--slate-100-color);
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 15px 0px 4px 0px;
}
/* Notifications */
.notifications {
    color: var(--slate-100-color);
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 33px 40px 16px 40px;
    text-align: center;
    /* display: flex;
    flex-direction: column;
    align-items: center; */
}
.notificationInfo {
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
    color: var(--link-color);
}

.notifications-emphasis {
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
}

.footer {
    font-size: 13px;
    min-height:25px;
    width: 100%;
}

.pdf_printer {
    color: var(--slate-100-color);
}
.footer-chat {
    background-color: var(--slate-100-color);
    min-height: 155px;
    width: 100%;
    padding: 16px 8px 32px 8px;
    bottom:0;
}
.footer a {
    color: #034045;
    text-decoration: underline;
}

.footer-2 {
    font-weight: bold;
    font-style: italic;
}

.footer-image-container {
    display: flex;
    justify-content: center;
    /* position: relative; */
}

.footer-image {
    padding-top: 50px;
    position: absolute;
    max-width: 800px;
    /* overflow: hidden; */
}

/* Css for responsive footer image */
@media (max-width:760px) {
    .footer-image {
        padding-top: 0;
        max-width: unset;
        width: 100%;
        overflow: hidden;
    }
}
@media (max-width:500px){
    .footer-image {
        position: static;
    }  
}

.footer textarea {
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 10px;
}
body {
    min-width: 400px;
    width: auto !important;
    width: 400px;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden !important;
    color: #034045;
}

label {
    color: var(--slate-100-color);
}

.ChatUI *{box-sizing:border-box}

.ChatUI .input {
    padding: 5px;
    border: 1px solid var(--slate-100-color);
    border-radius: 4px;
    width: 100%;
    height: 100%;
    overflow: auto;
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
    resize: none
}


.ChatUI .form {
    padding:5px 5px 0 5px;
    /*border:1px solid rgb(204,204,204);*/
    min-height:580px;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-y: auto;
    margin: 0;
}
.ChatUI .privacy {
    font-family: Arial;
    color: #a6a6a6;
    font-size: 12px;
    padding-top: 9px;
    padding-left: 10px;
}

.ChatUI .form label textarea.error {
    border-color: red;
}
.ChatUI .form label {
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin-top: 22px;
    display: block;
}
/*.ChatUI .form label input, radio {
    margin-top: 7px;
    margin-left: 7px;
}*/

.ChatUI .form label span {
    margin-bottom: 5px;
    padding-right:5px;
    display:inline-block
}

.ChatUI .form label input, select, textarea {
    color: var(--slate-100-color);
    border: 1px solid var(--slate-100-color);
    border-radius: 4px;
    padding: 0 8px 0 8px;
    margin-right: 6px;
    display: inline-block;
}

.ChatUI .form label input[type='text'], select {
    width: 100%;
    height: 48px;
}

.ChatUI .form label textarea {
    height: 54px;
    width: 100%;
}

.ChatUI .form label input[type='radio'] {
	margin-top: 7px;
}
.ChatUI .form label select.error {
    border: 1px solid red;
}

.ChatUI .form label input.error {
    border-color: red;
}

.submit {
    width: 100%;
    border: 1px solid var(--link-color);
    border-radius: 8px;
    min-height: 48px;
    padding: 10;
    background-color: var(--apricot-100-color);
    color: var(--slate-100-color);
    font-family: 'SofiaPro-Regular', Arial, Helvetica, sans-serif;
    font-size: 18px;
    transition: 0.3s;
}

.submit:hover {
    background-color: var(--apricot-75-color);
}

.submitSecondary {
    width: 100%;
    border: none;
    border-radius: 8px;
    min-height: 48px;
    padding: 10;
    background-color: var(--slate-100-color);
    color: var(--apricot-100-color);
    font-family: 'SofiaPro-Regular', Arial, Helvetica, sans-serif;
    font-size: 18px;
    transition: 0.3s;
}

.submitSecondary:hover {
    background-color: var(--slate-120-color);
}
.ChatUI label.error {
    display: inline;
    margin-top: 0px;
    border: 0;
    margin: 0;
    font-size: 10px;
    font-weight: normal;
    text-align: left;
    vertical-align: bottom;
    color: red;
    float: right;
}

.sendMessageUI {
    height: 100%;
    width: 100%;
    /* overflow-y: hidden; */
}
.sendMessageUI .transcript {
    border-radius: 4px;
    /* margin-top: 15px;
    padding:5px;
    font-family:Arial; */
    display:block;
    background-color:white;
    overflow-y:hidden;
    /* overflow-y: scroll; */
    max-height: 100%;

}
.sendMessageUI .transcript p {
    margin:3px 0px;
    padding:5px 10px;
    font-size:16px;
    display:block;
    -ms-word-wrap:break-word
}

.sendMessageUI .transcript p.system {
    text-align: center;
    color: var(--slate-100-color);
    font-family: 'SofiaReg', Arial, Helvetica, sans-serif;
    font-size: 16px;
    float: none;
    margin: auto;
    padding: 10px;
}

.sendMessageUI .transcript p.idle {
    border-radius: 4px;
    background-color: #FFF6F8;
    text-align: center;
    color: #C12335;
    font-family: Arial;
    font-size: 12px;
    float: none;
    margin-top: 0px;
    padding: 10px;
}

.sendMessageUI .transcript p.system .name{display:block;}

.sendMessageUI .transcript .name {
    /* font-family:Arial;
    font-size:12px; */
    display:block;
    /* color:#666666; */
}

.sendMessageUI .transcript .them {
    text-align:left;
    clear:both;
    font-family: Arial;
    font-size:12px;
    float:left;
    background-color:#f2f2f2;
    color:#8c8c8c;
    word-break: break-word;
    -ms-word-break:break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.sendMessageUI .transcript .them .name {
    padding-bottom:5px;
    padding-right:14px;
    font-style:italic;
    color:#666666;
}

.sendMessageUI .transcript .you {
    text-align:right;
    clear:both;
    font-family:Arial;
    font-size:12px;
    float:right;
    background-color:#ffffff;
    color:#8c8c8c;
    word-break: break-word;
    -ms-word-break:break-word;
    overflow-wrap: break-word;
    width: 100%;
}
.change_you{
    font-size:18px !important;
}

.sendMessageUI .transcript .you .name {
    padding-bottom:5px;
    font-style:italic;
    color:#666666;
}

.countstyle{
    color: #2a2c2e;
    font-weight: 700;
}
.positionQueue_border {
    position: relative;
    border-top: solid;
    border-top-width: thin;
    width: 100%;
    border-bottom: solid;
    border-bottom-width: thin;
}
.isTyping{
    height: 3em;
    bottom: 3px;
    color: var(--sand-100-color);
    font-family: "SofiaReg", Arial, Helvetica, sans-serif;
    font-size: 14px;
    display: none;
    position: static;
    text-align: center;
}
.normalfont {
    font-style:normal !important;
    color:white !important;
}
.footer .send {
    border-radius: 4px;
    float:right;
    border:none;
    display:inline-block;
    padding:4px 16px;
    vertical-align:middle;
    overflow:hidden;
    text-decoration:none;
    color:#B6EBDB;
    background-color:#034045;
    text-align:center;
    cursor:pointer;
    white-space:nowrap;
    font-family: sans-serif;
    transition: 0.3s;
}
.footer .send:hover{
    background-color:#B6EBDB;
    color:#034045;
}
/*Css for devices below width 320px */
@media (max-width:320px) {
     .logo_mobile {
            top: 0px;
            left: 14px;
            padding-left: 5px;
            width: 100px;
         }
      .livechat_mobile {
        font-family: inherit;
        color: #6e747b;
        font-size: 21.5px;
        font-weight: lighter;
        vertical-align: sub;
      }
      .main-content_mobile {
        -webkit-flex: 1 1 0;
        flex: 1 1 0;
        height: 100%;
        overflow: auto;
        font-family: Arial;
        line-height: 1;
        }
        .endchat_mobile {
            font-size: 15px;
            font-weight: 700;
            margin-right: 12px;
            margin-top: 7px;
        }

        .decrease_mobile{
            margin-right: -3px;
            margin-top: 9px;
        }
        .display_mobile{
            padding: 8px;
            font-size: 10px !important;
            }
}
@media (pointer:coarse) {
     .emoji-mobile{
        display: none;
    }
    .footer textarea {
        padding-right: 0px;
    }
}
@media (lang:fr) {
    .live-fr{
        font-size: 20;
        vertical-align: top;
    }
}
/*emoji styles*/
.cx-emoji {
    right: 28px;
    top: 20px;
    position: absolute;
}
.emoji_medium_size {
    font-size: 16px !important;
}
.emoji-button {
    font-size: 16px;
    border: 0;
    font-family: Segoe UI emoji;
    background-color: transparent;
    font-weight: 100;
    padding: 0;
    margin: 0;
    height: 24px;
    width: 24px;
    outline: 0;
    cursor: pointer;
}
.emoji-options {
    display: none;
    white-space: nowrap;
    border: 1px solid #eee;
    padding: 8px;
    position: absolute;
    background-color: #FDFDFD;
    bottom: 38px;
    right: -3px;
    z-index: 101;
}
.cx-option {
    display: inline-block;
    font-family: "Segoe UI Emoji";
    padding: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #222529;
}
.card-message{
  width: 100%;
  background-color:#FFF6F8 !important;
}
.display{
  padding: 10px;
  color: #C12335 !important;
  font-size: 14px;
  text-align: justify;

}
.hand {
    cursor: pointer;
}
/* Conform dialog box*/
.ui-widget-content {
    /* text-align: center !important; */
    overflow: hidden !important;
    background-color: var(--sand-25-color);
    border: none;
    border-radius: 8px;
}
.ui-widget-content button {
    background-color: #034045;
    color: #B6EBDB;
    border: none;
    border-radius: 4px;
    transition: 0.3s;
    width: 80px;
}
.ui-widget-content button:hover {
    color: #034045;
    background-color: #B6EBDB;
    border: none;
    border-radius: 4px;
}
.ui-widget-content button:active {
    color: #034045;
    background-color: #B6EBDB;
    border: none;
    border-radius: 4px;
}
.ui-widget-content button:focus {
    color: #034045;
    background-color: #B6EBDB;
}
.ui-widget-content p {
    margin-top: 15px !important;
}
/* .ui-widget-header {
    background: #034045 !important;
} */
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none !important;
}

/* exit pop up window */
.ui-widget .ui-widget {
    font-size: 0.9em !important;
}

/* New modal styling */
.modal-dialog {
    top: 120px;
    height: 200px;
    background-color: var(--sand-25-color);
    border-radius: 8px;
}
.modal-content {
    min-height: 200px;
    padding: 24px;
    background-color: var(--sand-25-color);
    border-radius: 8px;
}
.modal-header {
    border-bottom:none;
}
.modal-title {
    color: var(--slate-100-color);
    font-family: 'SofiaBold', Arial, Helvetica, sans-serif;
    font-size: 24px;
}
.closeModalButton {
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    color: var(--slate-100-color);
}
.closeModalIcon {
    /* fill: var(--slate-100-color); */
}
.modal-footer {
    border-top: none;
    align-items: baseline;
}

/* The container */
.customcheckbox-container {
  display: block;
  position: relative;
  padding-left: 26px;
  margin-bottom: 2px;
  cursor: pointer;
  font-size: 24px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox-parent {
    padding-left: 14px;
    margin-top: -8px;
}

/* Hide the browser's default radio button */
.customcheckbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.customcheckmark {
  position: absolute;
  top: -1px;
  left: 1px;
  height: 17px;
  width: 17px;
  background-color: #eee;
  border-radius: 50%;
  border: 1px solid navy;
}

/* On mouse-over, add a grey background color */
.customcheckbox-container:hover input ~ .customcheckmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.customcheckbox-container input:checked ~ .customcheckmark {
  background-color: #330066;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.customcheckmark:after {
  content: "";
  position: absolute;
  display: none;
  background-color:#330066 ;
}

/* Show the indicator (dot/circle) when checked */
.customcheckbox-container input:checked ~ .customcheckmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.customcheckbox-container .customcheckmark:after {
    top: 4px;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
}

.endChatDialog {
    width: 382px;
    height: 200px;
}