@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.chatbuttonbgextra {
    position: fixed;
    background-color: #fff;font-family: 'Roboto', sans-serif;bottom: 20px;
   width: 345px;height: 456px;-webkit-box-shadow: rgb(0 0 0 / 25%) 0 4px 16px;box-shadow: 0 4px 16px rgb(0 0 0 / 25%);
border-radius: 9px;overflow: hidden;z-index: 999999999999999999999999 !important;}
.clsechtbtextra{position: absolute;top: 11px;right: 7px;}
   .clsechtbtextra:hover{cursor: pointer; opacity: .6;}
.chatbthtrotate .clsechtbtextra {display: none;}

.chatbutton {z-index: 999999999999999999999999 !important; padding: 4px 5px !important;
    position: fixed; outline: none !important; 
    bottom: 20px;
    border-radius: 50%;
    background-color: #4caf50;
    border: none;
    color: #fff;
    width: 70px;
    font-size: 37px;
    height: 70px; animation: shake 2s;
  animation-iteration-count: infinite;
}
.chatbutton span{display: inline-block}
.chatbutton:hover{animation: shake 99999999999999999s;
  animation-iteration-count: infinite; cursor: pointer;}
.chatbuttonbg{ position: fixed; background-color: #fff;  font-family: 'Roboto', sans-serif;
    bottom: 20px; 
    width: 345px;
    height: 456px;
    -webkit-box-shadow: rgba(0,0,0,.25) 0 4px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    border-radius: 9px;
    overflow: hidden; z-index: 999999999999999999999999 !important;}
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.chathdng {
background-color: #f2f2f2;
position: absolute;
width: 100%;
z-index: 99999999999;
}
.chathdng h1 {
    font-size: 15px;
    color: #fff;
    background-color: #4caf50;
    padding:11px 20px 12px 88px;
    margin: 0;
	font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
}
.chathdng p {
    font-size: 15px;
    color: #6f6f6f;
    padding: 9px 6px 12px 88px;
    margin: 0;
}
.userbot {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    left: 7px;
    top: 6px;
    border: 3px solid #fff; background: #e2e2e2;
}
.userbot img{width: 100%; height: auto;}
.clsechtbt{position: absolute;top: 11px;right: 7px;}
.clsechtbt:hover{cursor: pointer; opacity: .6;}
.message.to a {
    text-decoration: inherit;
    color: #ffffff;
    background-color: #00BCD4;
    display: block;
    border-radius: 3px;
    padding: 6px;
    margin-bottom: 6px;
}
.message.to a:hover{opacity: .8;}
.visita{display: block; text-decoration: underline !important;}
.dwnloadcv {
    padding: 5px 8px; outline: none;
    border: 1px solid #46b5aa;
    display: inline-block;
    margin: 5px 0px 0px;
    color: #1a8a7f;
    cursor: pointer;
    border-radius: 3px;
    font-size: 12px;
    float: right;
}
.dwnloadcv:hover{border: 1px solid #4caf50;color: #4caf50;}

.leftstyle{ left: 20px;}
.rightstyle{ right: 20px;}



/* remove scrollbar space */

.radiostyle .message.to a {
    padding-left: 19px;
    background-image: url(https://mip-chatbot.s3-ap-southeast-1.amazonaws.com/css/radiocatbot.png);
    background-repeat: no-repeat;
    background-color: inherit;
    background-size: 15px 23px;
    color: #6f6f6f;
}
.radiostyle .message.to a:hover{color: #6f6f6f; opacity: 1;}
.radiostyle .message.to a.active {background-image: url(https://mip-chatbot.s3-ap-southeast-1.amazonaws.com/css/radiocatbotselect.png);}
.message.to ul{padding: 0;}
.message.to ul li{list-style: none;}
.nneradio{background-image:none !important;}

/* optional: just make scrollbar invisible */



.chatbtht{height: 81px;}
.chathdng:hover{cursor: pointer;}

.newusr img{width: 100%; height: auto}
.newusr{overflow: hidden;}

.chatbthtrotate {height: 81px;transform: rotate(90deg);bottom: 150px;right: -112px; background-color: #333333;}
.chatbthtrotate .userbot{transform: rotate(-90deg);}
.chatbthtrotate .chathdng p {
	writing-mode: tb-rl;
    writing-mode: vertical-rl;
    height: 218px !important;
    padding-left: 4px !important;
    transform: rotate(-90deg) !important;
    padding: 3px !important;
    position: absolute;
    top: -52px;
    left: 185px;
    z-index: 99999999999999!important;
}
.chatbthtrotate .chathdng h1 {
	writing-mode: tb-rl;
    writing-mode: vertical-rl;
    height: 218px !important;
    padding-left: 4px !important;
    transform: rotate(-90deg) !important;
    padding: 3px !important;
    position: absolute;
    top: -92px;
    left: 187px;
    z-index: 99999999999999 !important;
}
.chatbthtrotate .divchtbt{background-color: #b81942;
    height: 38px;}
.chatbthtrotate .clsechtbt {bottom: -28px!important; right: 3px !important; top: auto !important;}
.chatbthtrotate .chathdng { height: 100px !important;}






.typing_loader{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-animation: typing 1s linear infinite alternate;
    -moz-animation: typing 1s linear infinite alternate;
    -ms-animation: typing 1s linear infinite alternate;
    animation: typing 1s linear infinite alternate;
    position: relative;
    left: -12px;
    margin: 7px 15px 6px;
}
.to .typing_loader {
    animation: typing-black 1s linear infinite alternate;
}
@-webkit-keyframes typing{
    0%{
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,0.2);
    }
    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1),
        24px 0px 0px 0px rgba(255,255,255,0.4);
    }
    100%{ background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,1);
    }
}

@-moz-keyframes typing{
    0%{
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,0.2);
    }
    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1),
        24px 0px 0px 0px rgba(255,255,255,0.4);
    }
    100%{ background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,1);
    }
}

@keyframes typing-black{
    0%{
        background-color: rgba(74, 74, 74, 1);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74, 0.4),
        24px 0px 0px 0px rgba(74, 74, 74, 0.2);
    }
    50% {
        background-color: rgba(74, 74, 74, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74, 1),
        24px 0px 0px 0px rgba(74, 74, 74,0.4);
    }
    100%{ background-color: rgba(74, 74, 74, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(74, 74, 74,0.4),
        24px 0px 0px 0px rgba(74, 74, 74,1);
    }
}
@keyframes typing{
    0%{
        background-color: rgba(255,255,255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,0.2);
    }
    50% {
        background-color: rgba(255,255,255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,1),
        24px 0px 0px 0px rgba(255,255,255,0.4);
    }
    100%{ background-color: rgba(255,255,255, 0.2);
        box-shadow: 12px 0px 0px 0px rgba(255,255,255,0.4),
        24px 0px 0px 0px rgba(255,255,255,1);
    }
}

form.convFormDynamic {
    padding: 0 !important;
    position: relative;
    box-shadow: 0 0 5px 5px rgba(222, 222, 222, 0.4);
}

textarea.userInputDynamic {
    border: none; font-family: inherit;
    padding: 7px 10px;
    outline: none;
    font-size:14px;
    float: left;
    line-height: 1.3em;
    min-height: 1.7em;
    max-height: 10rem;
    display: block;
    width: 252px;
    margin-right: 2.5%;
}


input.userInputDynamic {
    border: none;
    padding: 7px 10px;
    outline: none;
    font-size: 14px;
    float: left;
    width: calc(100% - 70px);
    line-height: 1.3em;
    min-height: 1.7em;
    max-height: 10rem;
    display: block;
    max-width: 88%;
    margin-right: 2.5%;
}
div.conv-form-wrapper:after {
    content: '';
    display: block;
    clear: both;
    width: 100%;
    height: 1px;
}
div.conv-form-wrapper div#messages {
    max-height: 77%;
    height: auto !important;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none; /* IE 11 */ margin-bottom: 2px;
}
div.conv-form-wrapper * {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
div.conv-form-wrapper div#messages:after {
    content: '';
    display: table;
    clear: both;
}
div.conv-form-wrapper {
    position: relative;
}
div.conv-form-wrapper div.wrapper-messages {
    position: relative;
height: 411px !important;
max-height: inherit !important;
overflow-y: scroll;
transition: margin 0.1s;
margin-bottom: 0px !important;
}


div.conv-form-wrapper div.wrapper-messages::-webkit-scrollbar, div#feed ul::-webkit-scrollbar, div.conv-form-wrapper div.options::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    /* remove scrollbar space */
    background: transparent;
    /* optional: just make scrollbar invisible */
}
input[type="text"].userInputDynamic.error {
    color: #ac0000 !important;
}
input[type="text"].userInputDynamic {
    border-radius: 3px;
    margin: 7px 10px;
}

textarea.userInputDynamic.error {
    color: #ac0000 !important;
}

textarea.userInputDynamic {
    border-radius: 3px;
    margin: 0px 10px;
}

div.conv-form-wrapper div#messages {
    transition: bottom 0.15s, padding-bottom 0.15s;
    position: absolute;
    bottom: 0;
    height: auto !important;
    width: 98%;
    padding: 0px;
}
div.conv-form-wrapper div.options {
    word-wrap: normal;
    white-space: nowrap;
    overflow-x: scroll;
    padding: 0px 15px;
    bottom: 100%;
    width: 100%;
    transform: translateY(-5px);
}
div.conv-form-wrapper div.options:after {
    content: '';
    display: table;
    clear: both;
}
div.conv-form-wrapper div.options div.option {
    padding: 7px 12px;
    border: 1px solid rgba(6,153,184,0.3);
    display: inline-block;
    margin: 3px;
    background: #fff;
    color: #06c5a6;
    cursor: pointer;
    border-radius: 20px;
    font-size: 12px;
}
div.conv-form-wrapper div.message {
    animation: slideTop 0.15s ease;
}
div.conv-form-wrapper div.message:after {
    content: '';
    display: table;
    clear: both;
}
div.conv-form-wrapper  div.message.ready {
    animation: bounceIn 0.2s ease;
    transform-origin: 0 0 0;
}
div.conv-form-wrapper  div#messages div.message {
    border-radius: 20px;
    padding: 12px 22px;
    font-size:14px;
    color: #333;
    display: inline-block;
    padding: 10px 15px 8px;
    border-radius: 20px;
    margin-bottom: 5px;
    float: right;
    clear: both;
    /* max-width: 65%; */
    word-wrap: break-word;
}
div.conv-form-wrapper  div#messages div.message.to {
    background: #efefef;
    color: #6f6f6f;
    float: left;
    border-top-left-radius: 0; word-break: break-word; margin-left:14px !important; margin-right:14px !important;
}
div.conv-form-wrapper div#messages div.message.from {
    background: #2196F3;
    color: #fff;
    border-top-right-radius: 0; word-break: break-word; margin-left:14px !important; margin-right:14px !important;
}


#messages > div{margin-left:14px !important; margin-right:14px !important;}

.message.to+.message.from, .message.from+.message.to {
    margin-top: 15px;
}
@keyframes slideTop {
    0% {
        margin-bottom: -25px;
    }
    100% {
        margin-bottom: 0;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.75, 0.75);
    }
    100% {
        transform: scale(1.0, 1.0);
    }
}
div.conv-form-wrapper div.options div.option:hover {
    background: #eeeeee;
}
div.conv-form-wrapper div.options div.option.selected {
    background: #06b79a;
    color: #fff;
}
div.conv-form-wrapper div.options div.option.selected:hover {
    background: #069c7f;
}

.conv-form-wrapper button.submit {
    padding: 3px;
    border: none;
    float: left;
    margin: 5px;
    color: #4caf50;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    width: 36px;
    height: 35px;
    padding-left: 13px;
    margin-top: 4px;
    background: #fff;
    outline: none !important;
}


.conv-form-wrapper button.submit:hover {
    background: #4caf50;
    color: #fff;
}

.conv-form-wrapper button.submitnew {
    padding: 3px;
    border: none;
    float: left;
    margin: 5px;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    width: 36px;
    height: 35px;
    padding-left: 13px;
    margin-top: 4px;
    background: #4caf50;
    outline: none !important;
}


.conv-form-wrapper button.submitnew:hover {
    background: #3e96f3;
    color: #fff;
}



button.submit.glow {
    box-shadow: 0 0 10px 5px rgba(6, 197, 166, 0.4);
}
button.submitnew.glow {
    box-shadow: 0 0 10px 5px rgba(6, 197, 166, 0.4);
}
.no-border {
    border: none !important;
}
.dragscroll {
    cursor: grab;
}
div.conv-form-wrapper div#messages::-webkit-scrollbar, div#feed ul::-webkit-scrollbar {
    width: 0px;
    /* remove scrollbar space */
    background: transparent;
    /* optional: just make scrollbar invisible */
}
span.clear {
    display: block;
    clear: both;
}

.spinLoader,
.spinLoader:before,
.spinLoader:after {
    background: #06c5a6 !important;
    -webkit-animation: spinLoaderChat 1s infinite ease-in-out;
    animation: spinLoaderChat 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}
.spinLoader {
    color: #06c5a6 !important;
    text-indent: -9999em;
    margin: 50% auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.spinLoader:before,
.spinLoader:after {
    position: absolute;
    top: 0;
    content: '';
}
.spinLoader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinLoader:after {
    left: 1.5em;
}
@-webkit-keyframes spinLoaderChat {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}
@keyframes spinLoaderChat {
    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }
    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}



.frmoutr {display: block !important; float: none !important;}
.frmoutr #formcolourid {width: 100% !important;}
.frmoutr #formcolourid > div > .text_label {margin: 0px 0px 16px !important;}
.frmoutr #lpContentOuterDiv #successMsg{padding-top: 0px !important; padding-bottom: 0px !important;}
.frmoutr #lpContentOuterDiv #errorMsg{padding-top: 0px !important; padding-bottom: 0px !important;}
.frmoutr .btnpos button{margin-right: -65px;}
.frmoutr .btnpos2 button{margin-right: -65px;}
.frmoutr .btnpos3 button{margin-left: -65px;}
.frmoutr .btnpos4 button{margin-left: -65px;}


.chatbot_powered{background-color: #181a1d;color: #afafaf;height:35px;text-align: center;font-size: 13px;padding:3px 0px;}
div.conv-form-wrapper div.wrapper-messages.wrappht {height: 383px !important;}
.cke_editable textarea.userInputDynamic {margin: 0px 10px !important;}

.chatbuttonbg .posbtns {position: absolute;width: 100%; bottom: 28px; text-align: center;}






/* FOR INTERNET EXPLORER */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .frmoutr .row.form-body{padding: 10px !important; margin-left: -25px !important;}
  .frmoutr .btnpos button{margin-right: -20px;}
  .frmoutr .btnpos2 button{margin-right: -20px;}
  .frmoutr .btnpos3 button{margin-left: -20px;}
  .frmoutr .btnpos4 button{margin-left: -20px;}
}







@media (max-width: 768px){
.markchat {width: 300px;}
.markchat .chathdng h1 {font-size: 12px;}
.markchat .chathdng p {font-size: 12px;}
.markchat div.conv-form-wrapper div#messages div.message {font-size: 12px;}
.markchat textarea.userInputDynamic {font-size: 12px;}

	
.frmoutr #formcolourid {width: 100% !important;}
.frmoutr #btnFormCreate{margin-right: -15px;}
.frmoutr #btnFormcancel{margin-left: -15px;}
	
}