body, html{
    user-select: none;
}
#chat-box{
position: absolute;
   /* background-color: grey;*/
    width: 350px;
    max-width: 100%;
/*    width: 100%;*/
    bottom: 0px;
    right: 0px;
    left: unset;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

    overflow: hidden;
    font-family: Arial;
}
#chat-header a:hover{
    color: rgb(101, 23, 171);
}
.auto{
    width: 100%;

}
.auto label{
    justify-content: center;
}
.extra-padding{
    padding-left: 54px !important;
}
#chatbot-main .overlay{
    background: black !important;
    z-index: 8 !important;
}

#messages{
	width: 100%;
	display: flex;
    flex-wrap: wrap;
    align-self: end;
}
/*#messages *{
    display: block;
}*/
.message-block{
    width: 100%;
    position: relative;
}
#messages .message-block:nth-of-type(1) .message-wrapper{
    margin-top: 0px !important;
}
/*#messages .message-block:nth-of-type(1){
    margin-top: 96px;
}*/
#messages .message-block:hover > .correct-answer{
    display: flex;
}
.message-block .correct-answer{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}
.correct-message-block{
    background: green;
    padding: 12px;
    cursor: pointer;
    color: white;
    border-radius: 5px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.correct-message-block:hover{
    background: #00a700;
}
.correct-answer-input{
        width: 320px;
}
.correct-answer-input input{
    width: 100%;
    box-sizing: border-box;
    height: 32px;
    margin-bottom: 10px;
    padding: 0px 8px;
}
.correct-answer-input .row{
    display: flex;
    justify-content: space-between;
}
.correct-answer-input .cancel-answer{
    background: red;
}
.correct-answer-input .confirm-answer{

}
#toggle-header{
        width: 24px;
    height: 24px;
}
#write-message[placeholder]:empty {
    content: attr(placeholder);
    color: #555;
    font-size: 16px;
    font-family: Arial;
}
#chat-header{
    display: flex;
    background-color: black;
    width: 100%;
    height: 54px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px 12px;
    cursor: pointer;
    box-sizing: border-box;
/*    border-left: 1px solid black;
    border-right: 1px solid black;
*/}
#toggle-chat{
    display: block;
    background-color: grey;
    width: 100%;
    height: 300px;
}
#chat-messages{
    position: relative;
    border-left: 1px solid black;
    border-right: 1px solid black;
    display: block;
    background-color: rgb(229, 229, 229);
    width: 100%;
    height: calc(100% - 42px);
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
/*align-content: flex-end;*/
}
.message .username{
	color: white;
    font-weight: bold;
}
.message{
    max-width: 100%;
}
.message-wrapper.mleft .message{
        background: #768f8b;
    padding: 8px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #fff;
    box-sizing: border-box;
}
.message-wrapper.mright .message{
        background: green;
    padding: 8px;
    color: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}
.mright{
	display: flex;
    justify-content: flex-end;

}
.mleft{
    display: flex;
    justify-content: flex-start;

}
.mright .message{
	box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.1);
	border-radius: 1.125rem 1.125rem 0 1.125rem;
    background: #626900;

}
.mleft .message{
	background: white;
	box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.1);
	border-radius: 1.125rem 1.125rem 1.125rem 0;
	color: black;
}
.message .username{

}
.message-text{
    width: 100%;
    display: block;
    word-break: auto-phrase;
}
.message-text img{
    width: 100%;
}
ai-chatbot-a{
    display: block;
    cursor: pointer;
}
.message-wrapper{
width: 100%;
display: flex;
padding: 12px;
box-sizing: border-box;
}
#controls{
    display: flex;
    width: 100%;
    height: 42px;
}
#controls textarea{
width: 100%;
    height: 100%;
    font-family: auto;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    border-right: none;
    outline: none;
    box-sizing: border-box;
    background-color: white;
    padding: 10px 12px;
    overflow-y: auto;
    font-size: 16px;
    cursor: text;
    line-height: 20px;
}
#full-screen{
	    position: absolute;
    right: 13px;
    top: 7px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
#full-screen img{
	width: 100%;
	height: 100%;
}
#send-message{
    display: flex;
    background-color: black;
    height: 100%;
    cursor: pointer;
    align-items: center;
    border-top: 1px solid black;
    border-right: 1px solid black;
    justify-content: center;
    color: white;
    padding: 0px 12px;
}
#send-message i{
    padding-left: 8px;
}
#send-message span{
	display: block;
	align-self: center;
}
#send-message:hover{
	background: rgba(0,0,0,0.5);
}
.typing-1 { animation: typing 3s infinite }
.typing-2 { animation: typing 3s 250ms infinite }
.typing-3 { animation: typing 3s 500ms infinite }
@keyframes typing {
	0%, 75%, 100% {
		transform: translate(0, 0.25rem) scale(0.9);
		opacity: 0.5;
	}
	
	25% {
		transform: translate(0, -0.25rem) scale(1);
		opacity: 1;
	}
}
@keyframes typing {
	0%, 75%, 100% {
		transform: translate(0, 0.25rem) scale(0.9);
		opacity: 0.5;
	}
	
	25% {
		transform: translate(0, -0.25rem) scale(1);
		opacity: 1;
	}
}
#chat-messages .message .typing {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 0rem;
    box-sizing: border-box;
    background: #ccc;
    border-radius: 50%;
}
#push-up{
    display: none;
	scroll-behavior: smooth;
	user-select: none;
	-moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
    position: absolute;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -21px;
    cursor: pointer;
    padding: 4px;
}
#push-up .r-button{
	background: black;
    border-radius: 32px;
    width: 32px;
    height: 32px;
    top: 5px;
    position: absolute;
}
#push-up img{
	display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    margin-top: 4px;
}
.rect-bubble{
    position: absolute;
    top: -41px;
    right: 23px;
    /* bottom: 90px; */
    background: rgb(0 165 0);
    border-radius: 10px;
    color: white;
    padding: 5px;
    font-size: 14px;
    transform-origin: bottom;
    transform: translateY(0);
    animation-duration: 2s;
    cursor: pointer;
}
.bubble-message{

}
#messages-scrolldown{
	display: none;
}
.arrow-down {
width: 0;
height: 0;
border-left: 9px solid transparent;
border-right: 9px solid transparent;
border-top: 10px solid rgb(0 165 0);
position: absolute;
margin: 0 auto;
left: 0;
right: 0;
bottom: -10px;
}
.chat-status{
    padding: 6px;
    border-radius: 1;
	display: inline-block;
	border-radius: 12px;
}
.online{
	background-color: green;
}
#status-name{
        display: flex;
    align-items: center;
    line-height: initial;
}
#chatbot-send-text-out{
    margin-right: 8px;
}
.chat-name{
    width: 100%;
    display: block;
    color: black;
    font-size: 18px;
        margin-left: 8px;
    color: white;
}
.chat-information{
display: flex;
    padding: 12px;
    justify-content: center;
}
.mcenter{
    justify-content: center;
}
.chat-information .message{
	background-color: grey;
    color: white;
    padding: 16px;
    line-height: initial;
}
/*#messages .message-wrapper:nth-of-type(1){
	margin-top: 96px;
}*/
#select-change-version, #ephimeral-mode-wrapper{
    display: none;
}
#chat-box-wrapper{
        position: relative;
        width: 100%;
    height: 100%;
}
#chatbot-main{
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;
        height: 100%;
    width: 100%;
    /*justify-content: flex-end;*/
}
/*STYLE WRAPPER*/
#chatbotstyle-wrapper{
    display: flex;
    width: 100%;
    flex-grow: 1;
    /* height: 100%; */
    flex-flow: row;
}
#styling-controls{
    width: 100%;
    padding: 6px;
    /*margin-right: 32px;*/
}
#styling-controls-wrapper{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    background-color: rgb(181 181 181);
color: white;
    align-items: center;
    /*margin-right: 32px;*/
}
#styling-controls .row:nth-of-type(n+2){
    /*margin-top: 12px;*/
}
#styling-controls h2{
    margin-top: 0;
    padding-top: 0; 
}
#styling-controls .row{
    justify-content: initial;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;
}
#left-toolbar .row{

}
#left-toolbar .row select.general-style{
    padding: 0px 8px;
    box-sizing: border-box;
}
#styling-controls .row .tag{
    padding: 0px 4px 4px 4px;
    font-size: 14px;
    text-align: center;

}
/*#styling-controls .button{
    background: rgb(24 126 14);
}*/
#styling-controls .inputs{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px 6px 6px 6px;
    box-sizing: border-box;
    align-items: flex-end;
    width: 100%;
}
#styling-controls .row input{
    height: 32px;
    box-sizing: border-box;
    padding: 0px 6px;
    width: 103px;
}
#chatbot-descript{
    width: 275px;
}
#aux-chat-box{
    width: 400px;
    height: 400px;
}
.inputs fieldset legend{
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
.inputs fieldset .clr-field button{
    border: 1px solid black;
}
.inputs fieldset{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#left-toolbar .change-bot{
    justify-content: space-between;
    margin-top: 0px !important;
    flex-flow: row;
    display: flex;
}
#left-toolbar .c{

}
.row .row-1{
    display: flex;
    justify-content: flex-start;
    flex-grow: 1;
}
.row .row-2{
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}
#upload-cicon{

    font-size: 15px;
    padding: 6px;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
}
.row .row-1 .c{
    width: 50px;
}
.row .row-1 .c:nth-of-type(n+2){
    margin-left: 10px;
}
.row .row-2 .c:nth-of-type(n+2){
    margin-left: 10px;
}
#left-toolbar .row select{
    height: 28px;
    border: none;
    outline: none;
    box-sizing: border-box;
}
#current-icon{
    position: relative;
    width: 100%;
    display: none;
    justify-content: center;
}
#current-icon-img{
        width: 96px;
    display: block;
}
#current-icon .close{
    position: absolute;
    top: 0;
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 18px;
    /* height: 16px; */
    padding: 4px;
    box-sizing: border-box;
    right: 0;
    left: 0;
    margin: 0 auto;
    background: black;
    color: white;
    border-radius: 14px;
    border: 1px solid white;
    /* width: 16px; */
    cursor: pointer;
}
#current-icon .close:hover{
    background: rgba(0,0,0,0.4);
}

#load-icon-box{
    display: block;
    width: 100%;
    height: 100%;
}
fieldset{
    width: fit-content;
    height: fit-content;
    margin-left: 10px;
}
fieldset .flex{
    justify-content: space-between;
}
fieldset legend{
    margin: 0 auto;
}
fieldset .flex .c{
    width: 32px;
    text-align: center;
    margin-left: 10px;
}
#left-toolbar fieldset .flex .c input{
    margin-top: 4px;
    padding: 0px 4px;
}
fieldset .flex .c label{
    font-size: 13.5px;
}
fieldset .flex .c:first-child{
    margin-left: 0px;
}
/*#styling-controls .buttons-holder{
    padding: 16px 16px 0px 16px;
}*/
/*STYLE WRAPPER*/
#go-live-loader{
    background-color: black !important;
}
#go-live-loader #loader-info{
    left: 76px;
    top: -88px;
}
.receipt-a{
    display: block;
    width: 100%;
}
.receipt-a img{
    width: 100%;
}
#left-toolbar{
    position: relative;
    width: 320px;
    flex: 1;
    
    background: black;
    /* border-bottom: 5px solid green; */
    box-sizing: border-box;
    height: 100%;
    color: white;
    padding: 8px 16px;
    box-sizing: border-box;
    /* align-items: initial; */
    display: flex;
    flex-wrap: wrap;
    z-index: 9;
    flex-flow: column;
    justify-content: space-evenly;
    transition: left 0.5s ease-in-out;
    -webkit-transition: margin-left 0.5s ease-in-out;
    -moz-transition: margin-left 0.5s ease-in-out;
    -ms-transition: margin-left 0.5s ease-in-out;
    -o-transition: margin-left 0.5s ease-in-out;
}
.opened-left-toolbar{
    margin-left: 0 !important;
}
#left-toolbar .row:nth-of-type(n+1){
    margin-top: 4px;
}
#left-toolbar .row .tag{
    margin-bottom: 4px;
    font-size: 13.5px;
}
#left-toolbar .row input{
    height: 28px;
    width: 100%;
    padding: 0px 10px;
    box-sizing: border-box;
    margin: 0;
    border: none;
    outline: none;
}
#chatbot-canvas{
    flex-grow: 1;
}
.attach-code-box{
    margin-bottom: 16px;
        background: white;
    color: black;
    padding: 12px;
    box-sizing: border-box;
    word-break: break-all;
}
#notoken-overlay{
    background: rgb(101 23 171) !important;
}
#notoken-overlay h3{
    color: white;
    text-align: center;
    padding: 0 12px;
}
#notoken-overlay h3 a{
    color: white;
    font-weight: bold;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
#responsive-colors-toggle{
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    height: 54px;
    cursor: pointer;
}
#responsive-left-toolbar-menu{
    width: 54px;
    height: 100%;
    background: #000000;
    color: white;
    align-items: center;
    justify-content: center;
    display: none;
    position: absolute;
    right: -54px;
    cursor: pointer;
}
    #left-toolbar-box{
        height: 100%;
        overflow-y: auto;
        background: black;
    }
    #left-toolbar-wrapper{
        display: flex;
    }
@media all and (max-width: 1024px) {
    #styling-controls .inputs{
        padding-left: 54px !important;
    }
}
@media all and (max-width: 800px) {
    #left-toolbar{
        margin-left: -320px;
        overflow-y: auto;
        
        /*width: calc(100% - 54px);*/
    }
    #responsive-colors-toggle{
        display: flex;
        z-index: 9;
    }
    #left-toolbar .button{
        font-size: 14px;
    }
    #responsive-left-toolbar-menu{
        display: flex;
        z-index: 9;
    }
    #styling-controls-wrapper #styling-controls #inputs-colors{
        padding: 0px !important;
    }
    #styling-controls-wrapper #styling-controls #inputs-colors fieldset{
        display: none;
        justify-content: center;
        flex-wrap: wrap;
        position: absolute;
        top: 53px;
        left: 0;
        margin: 0;
        padding: 16px 0;
        background: #b5b5b5;
        z-index: 10;
    }
    #left-toolbar-wrapper{
    position: relative;
    /* width: calc(100% - 54px); */
    height: calc(100vh - 54px);
    display: flex;
}
    #styling-controls-wrapper #styling-controls #inputs-colors fieldset legend{
        display: none;
    }
    #styling-controls-wrapper #styling-controls #inputs-colors fieldset .row{
        width: 82px;
        margin-top: 15px;
        margin-bottom: 15px;
        margin-left: 7.5px;
        margin-right: 7.5px;
    }
    #styling-controls{
        padding: 0px;
    }
    #responsive-left-toolbar-menu.opened .icon-right-arrow{
        transform: rotate(180deg);
    }
    #responsive-colors-toggle.opened .icon-down-arrow{
        transform: rotate(180deg);
    }
    #chatbot-canvas{
        padding-left: 54px;
    }
    #left-toolbar-wrapper{
        height: calc(100vh - 54px) !important;
    }
    #left-toolbar .row{
        margin-top: 6px !important;
    }
/*    #chatbotstyle-wrapper{
        height: calc(100vh - 110px);
        overflow-y: auto;
    }*/
}
@media all and (max-height: 646px) {
    #left-toolbar-wrapper{
        height: calc(100vh - 102.59px);
    }
    #left-toolbar{
        justify-content: normal;
    }

}