#messagesBlock div.message-row.response div.msg-body:not(.msg-body-media):not(.msg-body-widget):not(.msg-body-emoji){background-color:#fcfcfc!important;}#messagesBlock div.message-row.response div.msg-body,#messagesBlock div.message-row.response div.msg-body a.link{color:#000105!important;}.btn-bot,.btn-bot:hover,.btn-bot:focus,.btn-bot:active{}.vis-tit {display: none!important;}.user-nick-title,.op-nick-title{display: none!important;}.op-tit {float:left!important;margin-top: 2px!important;}.vis-tit {float:right;margin-left: 3px!important;margin-top: 3px!important;position: absolute!important;right: 0;}.op-tit {position: absolute!important;}.op-tit i.material-icons,.vis-tit i.material-icons{font-size: 24px!important;}div.message-admin div.msg-date,div.message-admin div.msg-body,div.message-admin div.meta-message{margin-left:29px!important;}@media (min-width: 1024px) {.profile-msg-pic {width: 33px!important;}div.message-admin div.msg-body,div.message-admin div.meta-message{margin-left:42px!important;}}.header-chat {background-color: #003580!important;}.desktop-header,.desktop-body{border-color:#003580!important;border-width: 1px!important;}.header-link,.header-link:hover,.header-link .material-icons{color: #ffffff!important;}/* General Chat Message Styling */
.msg-body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #222222 !important;
    font-weight: 500;
    padding: 8px 8px !important;
    line-height: 21px !important;
    border-radius: 10px !important;
}

#ChatSendButtonContainer:hover .send-icon{
    color:#000000;
}

/*.desktop-body {*/
/*    border: 0 !important;*/
/*    margin-top: -10px;*/
/*    z-index: 11;*/
/*}*/

#chat-widget{
    /* Initially hidden below */
    transform: translateY(100%);
    opacity: 0;
    
    /* Apply animation */
    animation: slideUp 0.6s ease-in-out forwards;
    animation-delay: 0.5s; /* Delay to make it smooth */
}
/* Keyframes for sliding up */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* When active (open) */
#chat-widget.open {
    transform: translateY(0);
    opacity: 1;
}

.header-chat{
    padding:10px 0 !important;
}

#chat-widget #root{
    box-shadow: 0px 1px 5px rgba(0, 0, 0, .2) !important;
}

iframe{
    box-shadow: 0px 1px 5px rgba(0, 0, 0, .2) !important;
}

/* Header Styling */
h2 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #003580;
    margin-bottom: 10px;
}

/* Close Button Fix */
#close-need-help-btn.btn-close {
    color: #FFF !important;
    background-color: transparent;
    border: none;
    opacity: 1;
}

/* Hide Chat Status Container */
#chat-status-container {
    display: none !important;
}

/* Chat Box Container */
#id-container-fluid {
    width: 420px;
    background-color: #fff;
    margin: 0 auto;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.34);
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Chat Input Fields & Textareas */
form .form-control,
form textarea {
    border-radius: 6px;
    background-color: #f8f9fa;
    border: solid 1px #cbd6e1;
    width: 100%;
    padding: 10px 15px;
    outline: none;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-size: 14px;
    margin-bottom: 15px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Chat Input Fields - Hover & Focus Effects */
form .form-control:hover,
form .form-control:focus,
form textarea:hover,
form textarea:focus {
    border: 1px solid #107ec8;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1), 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Hide Form Labels */
form .control-label {
    display: none;
}

/* Chat Submit Button */
#id_start_chat_button {
    background: #003580;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    padding: 10px 14px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#id_start_chat_button:hover {
    background: #002b66;
}

/*-- new styles added --*/

#chat-widget{
    padding:5px !important;
}

#chat-widget .widget-header-menu{
    position:absolute;
    top:0;
    right:0;
}

#chat-widget #root{
    border-radius: 10px !important;
    background-color: #003580;
}

.header-link .material-icons {
    font-size: 25px !important;
}

#chat-widget .widget-header-menu a{
        height: 35px;
    width: 35px;
    float: right !important;
    position: relative;
    margin-bottom: 0;
    border-radius: 50px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, .16);
    right: 0;
    text-align: center;
    cursor: pointer;
    opacity: 1;
    background-color: #ffd811;
}


.desktop-body{
    border: 0 !important;
    border-radius: 10px !important;
    background-color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    #id-container-fluid {
        width: 100% !important;
        border-radius: 0;
    }
}
#left{
            width:30px;
            margin:10px;
            height:auto;
            backgroun-color:red;
        }
                #messagesBlock div.message-row.response div.msg-body:not(.msg-body-media):not(.msg-body-widget):not(.msg-body-emoji)
        {
            background-color: #c1c1c1 !important;
            width: 50%;
            text-align: left;
            border-radius: 10px 10px 10px 0px;
            padding: 5px 30px;
            color: #000000 !important;
            margin-bottom:10px;
            
        }
        
        #messagesBlock div.reactions-holder, #messagesBlock div.message-admin div.msg-body:not(.msg-body-media):not(.msg-body-widget):not(.msg-body-emoji) {
    background-color: #202C33 !important;
    /* background-color: #c1c1c1 !important; */
    width: 50%;
    text-align: left;
    border-radius: 10px 10px 0px 10px;
    padding: 5px 20px;
    color: #ffffff !important;
}

#CSChatMessage {
    background-color: #cccccc;
    color: #000000 !important;
    opacity: 1;
    font-weight: 600;
    padding: 10px 15px !important;
    margin: 0;
    /*width: 95%;*/
    border-radius: 5px !important;
    border: 1px solid #2196F3 !important;
}
#CSChatMessage:hover,#CSChatMessage:focus{
 border: 1px solid #107ec8;
    box-shadow: 0 .5px 6px rgba(0, 0, 0, .04), 0 4px 12px rgba(0, 0, 0, .2);   
}

.btn-group {
    display: none;
}

.disable-select {
    background: #000000;
}

#ChatSendButtonContainer {
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    padding: 0 !important;
}
#ChatSendButtonContainer:hover,
#ChatSendButtonContainer:focus{
    background: #d5391a;
}

#ChatSendButtonContainer .settings {
    font-size: 25px;
    cursor: pointer;
    color: #ffffff !important;
}
        
                #messagesBlock div.message-row.response div.msg-body,
        #messagesBlock div.message-row.response div.msg-body a.link
        {color:#000000!important;}
        
                #messagesBlock div.response .vis-tit{color:#005C4B!important;}
        
                #messagesBlock div.reactions-holder,
        #messagesBlock div.message-admin div.msg-body:not(.msg-body-media):not(.msg-body-widget):not(.msg-body-emoji){background-color:#202C33!important;}
        
                #messagesBlock .reaction-item,
        #messagesBlock .reaction-item:hover,
        #messagesBlock div.message-admin div.msg-body,
        #messagesBlock div.message-admin div.msg-body a.link{color:#ffffff!important;}
        
                #messagesBlock div.message-admin .op-tit{color:#ffffff!important;}
        
        .btn-bot,.btn-bot:hover,.btn-bot:focus,.btn-bot:active{
                                                                                }

    


.user-nick-title,
.op-nick-title
{
    display: none!important;
}

.custom-html-container{
    margin:20px 0 0;
}

.custom-html-container h2{
    font-size: 26px;
    color: darkblue;
}

.custom-html-container p{
    font-size: 15px;
    color: #000000;
    font-weight: 400;
    padding-top: 10px;
}

.invalid-feedback{
        margin: -10px 0 12px !important;
    font-size: 12px !important;
}

form .btn{
    background-color: #e85c41 !important;
    color: #ffffff;
    width: 100%;
    border: 0;
    padding: 8px 20px;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 16px;
    margin: 20px 0 0;
}

form .btn:hover,
form .btn:focus{
    background-color: #d5391a !important;
}

form .col-6{
    width:100% !important;
}



.op-tit {
    float:left!important;
    margin-top: 2px!important;
}

.vis-tit {
    float:right;
    margin-left: 3px!important;
    margin-top: 3px!important;
    position: absolute!important;
    right: 0;
}

.op-tit {
    position: absolute!important;
}

.op-tit i.material-icons,
.vis-tit i.material-icons{
    font-size: 24px!important;
}

div.message-admin div.msg-date,
div.message-admin div.msg-body,
div.message-admin div.meta-message{
    margin-left:29px!important;
}



div.response div.msg-body,
div.message-row.response div.msg-date,
div.response div.meta-message{
    margin-right:29px!important;
}
.message-row.response .reactions-holder {
    right:29px!important;
}


@media (min-width: 1024px) {
    .profile-msg-pic {
        width: 33px!important;
    }

    div.message-admin div.msg-body,
    div.message-admin div.meta-message{
        margin-left:42px!important;
    }

        div.response div.msg-body,
    div.response div.meta-message{
        margin-right:42px!important;
    }
    .op-tit i.material-icons,
    .vis-tit i.material-icons{
        font-size: 34px!important;
    }
    
}

.header-chat {
    background-color: #1f9eb5!important;


}

.desktop-header,.desktop-body{
    border-color:#6a93d9!important;
        border-width: 0px!important;
    }




    #scroll-to-message {
        border-bottom-color: #0a546b5c!important;
    }
    .new-msg-holder > .new-msg {
        background-color: #0a546b5c!important;
    }

.new-msg-holder > .new-msg {
    color: #ffffffc4!important;
}

/* bottone chiudi chat risposta no - cancella*/

.btn.btn-link.text-muted.btn-sm.w-100 {
	width: auto !important;
}

/* - */

.start-chat-intro {
    font-weight: inherit;    
    margin-bottom: 10px;
    font-size: .875rem;
} 

input.btn:nth-child(4)  {
visibility: hidden;
display: none;
}

input.btn {
	background-color: #7dcea0 !important;
	border-color: #0c2d4f !important;
}

input.btn:hover {
	background: #467fb8 !important;
    border-color: #0c2d4f !important;
    
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle  {
	background:#7daecc;
}

#widget-layout textarea {
	
	overflow: visible !important;
        min-height: 90px;
        max-width: 100%;
       min-width: 100%;
}

html body.widget-chat div#widget-layout.row div.col-12 div#widget-content-body form#form-start-chat div div#ChatMessageContainer div#ChatSendButtonContainer.user-chatwidget-buttons a.btn.btn-secondary.btn-xs {
	visibility: hidden;
	display: none;
}

.btn-secondary {
	background-color: #4b758f !important;
	border-color: #0c484f !important;
}
#CSChatMessage {
     resize: vertical !important;
	 min-height: 40px;
	 max-height: 90px;
	 font-size:1.2rem;
	 background-color:#ffffff;
	 color:#000000;
	
}
#CSChatMessage.msg-one-line
{
    height:46px;
    overflow-y:hidden;
}


.header-link .material-icons {
	color: #fff !important;
}

.header-link .material-icons:hover {
	color: #9eebfa !important;
}

.btn-success {
	background-color: #7daecc !important;
	border-color: #7daecc;
}

.btn-success:hover {
	background-color: #468cb8 !important;
}

.reset-container-margins{
    /* background:  #e8f8f5  url(https://livechat.peopleinside.it/livechat/whblue.jpg) repeat !important;
    background-size: cover; */
    background: #ffffff;
    
}


div.msg-body {
    font-family: 'open sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 18px;
}

.bottom-message {
	scrollbar-color: #2A3942 transparent !important;
}

input.btn:nth-child(4)  {
visibility: hidden;
display: none;
}

input.btn:active {
	background:#7dabcc !important;
        border-color: #7dabcc;
}


textarea[name="ChatMessage"] {
	overflow: visible !important;

        min-height: 90px;
        min-width: 100%;
        max-width: 100%;
}
div.d-flex:nth-child(3){
  opacity: 0.6;
}


.btn-info {
	background-color: #1895b8 !important;
	border-color: #9dcad9 !important;
}
.survey-star-item svg {
	color: #2cb7c7 !important;
}



.operator-info {
	background-color: #FFFFFF03 !important;
}

.p-1.pl-2.w-100 {
	display: none;
}

#messagesBlock .reaction-item, #messagesBlock .reaction-item:hover, #messagesBlock div.message-admin div.msg-body, #messagesBlock div.message-admin div.msg-body a.link {
	background: #2A3942;
}

/*FIX logo widget*/

.operator-info img {
	/* width: 100% !important; */
	pointer-events: none;
	width: 100% !important;
	max-width: none !important;
	height: auto;
	max-height: 50px;
}

/* disable image embed click and download */

.img_embed {
	pointer-events: none;
}

/* START Dark Mode */

@media (prefers-color-scheme: dark) {


.py-2 {
	background: #223559a6;
	color: #bdd7ee;
}

#widget-content-body {
	background-color: #5271b9;
}

.p-2.border-bottom {
	background: #223559 !important;
}

.container, .container-fluid, .container-sm {
	background: #ffffff;
	color: #00000;
	padding: 50px 50px 50px 50px;
}

.p-2.border-bottom {
	background: #015a7d;
}

.operator-info {
	background-color: #003a51 !important;
}

#messagesBlock {
	background: #B2B8BC;
}

#id-operator-typing {
	color: black;
}

.message-send-area {
	background-color: #60ccf7;
	color: white;
}

.py-2 {

	background: #223559;
}
.px-3 {

	background: #223559;
}

               }
/* END Dark Mode */
h1{
    font-size:25px;
    color:#000000;
   
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	color: var(--bs-nav-pills-link-active-color);
	background-color: #0d6efd5e !important;
}

.msg-date {
	color: #80AEB3 !important;
}

input.btn {
	background-color: #4b7e8f !important ;
	border-color: #0c484f !important;
}

input.btn:hover {
	background: #46b2b8 !important;
	border-color: #0c404f !important;
}


.operator-info {
	background-color: #FFFFFF03;
}



.text-muted-light {
  color: #000000;
    
}


