#btn-chat{
	background: transparent;
}

#btn-chat.chat-icon .chat-instance-bubble button.btn.bg-primary,
#btn-chat.chat-icon .chat-instance-bubble button.btn.bg-primary:focus {
	background-color: #fff !important;
	background-image: url(/custom/img/microsite/6462_DialogDays/Tutorial/chat.svg);
	background-size: 40px 40px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border: 3px solid #0098a1;
	outline: none;
	padding: 33px;
	border-radius: 20px !important;
	border-bottom-right-radius: 0 !important;
	box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
	color: #f8f9fa;
	font-size: 20px;
}
#btn-chat.chat-icon .chat-instance-bubble button.btn.bg-primary .material-icons{
	display: none;
}
#btn-chat.chat-icon .chat-instance-bubble span.badge.badge-danger{
	width: 20px;
	height: 20px;
	padding: 5px !important;
	position: absolute !important;
	transform: scale(1) translate(-50%, -50%);
	top: 0px;
	right: auto;
	left: 0;
	background: #0098a1;
}

#chat-bubble-wrapper{
	position: relative;
	position: fixed;
	top: 50vh;
	right: 10px;
	cursor: pointer;
	background: transparent;
}

#chat-bubble-wrapper #chat-tooltip {
	background: #e11d78;
	color: #fff;
	min-width: 130px;
	width: max-content;
	padding: 6px 17px;
	border-radius: 4px;
	box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
	opacity: 0;
	transition: all 0.2s ease;
	position: absolute;
	top: 20px;
	right: calc(100% + 10px);
	z-index: 999;
}

#chat-bubble-wrapper:hover #chat-tooltip {
	display: block;
	opacity: 1;
}

#chat-bubble-wrapper #chat-tooltip:before {
	content: '';
	background: #e11d78;
	width: 10px;
	height: 10px;
	border-top-right-radius: 2px;
	transform: rotate(45deg);
	position: absolute;
	top: calc(50% - 5px);
	right: -5px;
}

#general-chat,
#participant-chat {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.2);
	z-index: 9999;
	overflow: hidden;
}

#participant-chat {
	width: 500px !important;
	height: 75% !important;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
}

#general-chat-form,
#participant-chat-form {
	position: absolute;
	width: 75%;
	height: 700px;
	max-height: calc(100vh - 125px);
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	overflow: hidden;
}

#general-chat .header,
#participant-chat .header {
	height: 30px;
	background: #fff;
	position: absolute;
	width: 75%;
	right: 12.5%;
	top: 140px;
	overflow: hidden;
}

#general-chat .header .close,
#participant-chat .header .close{
	position: absolute;
	float: right;
	cursor: pointer;
	z-index: 2;
	width: 30px;
	height: 30px;
	right: 10px;
	top: -4px;
	padding: 7px;
}
#general-chat .header .close:before,
#general-chat .header .close:after,
#participant-chat .header .close:before,
#participant-chat .header .close:after{
	position: absolute;
	content: ' ';
	height: 25px;
	width: 2px;
	background-color: #000;
	left: 15px;
}
#general-chat .header .close:before,
#participant-chat .header .close:before{
	transform: rotate(45deg);
}
#general-chat .header .close:after,
#participant-chat .header .close:after{
	transform: rotate(-45deg);
}

#participant-chat{
	height: 675px !important;
	width: 500px !important;
	max-height: 100vh;
}


#participant-chat:before{
    content: '';
    display: block;
    background: rgba(0,0,0,0.3);
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: inherit;
}

#participant-chat .header{
	top: 15px !important;
	width: 80% !important;
	right: 10px !important;
}

#participant-chat .moderated-chat{
	padding: 0px !important;
}

#participant-chat .moderated-chat .chat-messages{
	padding: 10px !important;
}

#participant-chat .moderated-chat .input-group textarea.form-control{
	height: 66px !important;
}

#participant-chat-wrapper .participant-chat{
	background-color: rgba(0,0,0,0.2);
}
	#participant-chat-wrapper .participant-chat .u2d-popup__content{
		border: none !important;
		/*box-shadow: rgb(0 0 0 / 20%) 0px 0px 10px 0px !important;*/
	}
	#participant-chat-wrapper .participant-chat .u2d-popup__content .u2d-popup__body{
		padding: 0px !important;
	}

#main-chat{
	height: calc(100vh - 101px);
}

.bootstrap-scope .chat-channel{
	width: calc(100% - 350px) !important;
	/*border-left: 1px solid #ddd;*/
}

/** ** TOASTIFY ** **/
.bootstrap-scope .chat-channel .Toastify > div.position-absolute{
	top: 85px;
}

.bootstrap-scope .chat-channel .Toastify > div.position-absolute > div.Toastify__toast--info{
	background: #e11d78;
	border-radius:10px 10px 10px 0px;
}

.bootstrap-scope{
	font-size:0.9rem;
	height: 100%;
}

.bootstrap-scope .sidebar.show{
	z-index: 9999;
}

.bootstrap-scope .tab__panel .bg-primary{
	background-color: #0098A1 !important;
}

/*hot fix -- toast in general chat form*/
#general-chat-form .Toastify__toast.Toastify__toast--info {
    display: none;
}


/* *** BADGES *** */
.bootstrap-scope .badge-warning{
	color: #fff;
}


/* *** BUTTONS *** */
.bootstrap-scope .btn-light:focus,
.bootstrap-scope .btn-light.focus,
.bootstrap-scope .btn-light:not(:disabled):not(.disabled):active:focus,
.bootstrap-scope .btn-light:not(:disabled):not(.disabled).active:focus,
.show > .bootstrap-scope .btn-light.dropdown-toggle:focus{
	box-shadow: none;
}

.bootstrap-scope .bg-success{
	background-color:#93c005 !important;
}

.bootstrap-scope .tab__panel button.bg-primary:hover, 
.bootstrap-scope .input-group button.bg-primary:focus, 
.bootstrap-scope .input-group button.bg-primary:hover{
	background-color: #00838A !important;
}

/* *** DROPDOWMN *** */
.bootstrap-scope .dropdown-menu{
	padding: 0;
	border-radius:0 20px 20px 20px;
}

.bootstrap-scope .dropdown-menu .dropdown-item{
	border-radius:0;
}
.bootstrap-scope .dropdown-menu .dropdown-item:first-child,
.bootstrap-scope .dropdown-menu .dropdown-item:first-child:hover{
	border-top-right-radius: 20px;
}
.bootstrap-scope .dropdown-menu .dropdown-item:last-child,
.bootstrap-scope .dropdown-menu .dropdown-item:last-child:hover{
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.bootstrap-scope .dropdown-menu .dropdown-item.active,
.bootstrap-scope .dropdown-menu .dropdown-item:active{
	background-color: #93c005 !important;
}


/* *** FORM CONTROLS *** */
.bootstrap-scope .form-control:focus{
	box-shadow: 0 0 0 0.18em rgb(0 152 161 / 22%) !important;
}

.bootstrap-scope .input-group > textarea.form-control:not(:last-child){
	background: #fff !important;
	border-width: 2px !important;
	border-right: 0 !important;
	border-color: #A2A7A9 !important;
}



/* *** CHANNEL LIST *** */
.bootstrap-scope .channel-list{
	max-width: 350px;
}

.bootstrap-scope .channel-list > div:first-child{
	margin:0 !important;
	padding: 12.5px 10px 7.5px 10px !important;
}

.bootstrap-scope .channel-list > div:first-child + form{
	background: #F6F6F6;
	padding: 5px;
}

.bootstrap-scope .channel-list > div:first-child + form input.form-control{
	background: #fff !important;
	border: none;
	border-radius:20px !important;
}

.bootstrap-scope .channel-list > div:first-child + form .input-group-append{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	border-radius:0 20px 20px 0 !important;
}

.bootstrap-scope .channel-list > div:first-child + form .input-group-append .input-group-text{
	border: none;
	border-radius:0 20px 20px 0 !important;
}

.bootstrap-scope .channel-list .media-body .text-truncate{
	width: 250px;
}
.bootstrap-scope .channel-list > div:first-child{
	padding: 10px 10px 5px 10px;
}
.bootstrap-scope .channel-list .btn-group button .badge{
	margin-left: 5px;
}

.bootstrap-scope .channel-list .avatar{
	cursor: pointer;
}
.bootstrap-scope .channel-list .avatar[data-image="1"]{
	background-color: transparent;
}
.bootstrap-scope .channel-list .avatar-img{
	width: 48px;
	height: 48px;
	object-fit: cover;
}
.bootstrap-scope .badge-wrapper > .badge-anchor{
	top: 10px;
}
.bootstrap-scope .badge-wrapper > .badge-anchor > .badge-content{
	margin-top: -2px;
}

.bootstrap-scope .channel-list .list-group > div{
	font-weight: 500;
	padding: 5px 10px;
	background-color: #e2e8f0;
}
.bootstrap-scope .channel-list .list-group .list-group-item{
	/*border: 0 none;*/
}
.bootstrap-scope .channel-list .list-group .list-group-item:hover{
	cursor: pointer;
	background-color: #fafafa;
}
.bootstrap-scope .channel-list .list-group .list-group-item .media{
	align-items: stretch;
}


/* *** CHAT *** */
.bootstrap-scope .chat-window{
	background-color: #f6f6f6;
	border: 0 none;
}
.bootstrap-scope .chat-message .card{
	max-width: 90%;
	border-radius: 10px 10px 10px 0;
}
.bootstrap-scope .chat-message .card.message-owner{
	border-radius: 10px 10px 0 10px;
}


/* *** LEADMANAGEMENT *** */
#chat_lead #leadmanagement-form{
	overflow-x: visible;
	background-color: #F2F4F6;
}

#chat_lead #leadmanagement-form #leadmanagement-form-inner{
	box-shadow: inset 7px 0 10px -7px #00000029;
	max-width: 100% !important;
    width: 100% !important;
}


/* *** CUSTOM PHOENIXCONTACT *** */
.bootstrap-scope .avatar{
	background-color: #fff !important;
	border:3px solid #0098A1;
}
.bootstrap-scope .avatar[data-image="1"] {
	background-color: transparent;
}
.bootstrap-scope .avatar .avatar-initials{
	color: #202020;
	font-size: 1rem;
}
.bootstrap-scope .avatar + .badge.badge-success{
	margin-top: -6px;
	background-color: #93c005;
	border: 2px solid #FFFFFF;
}

.bootstrap-scope .messages-wrapper .text-muted{
	color: #FFFFFF !important;
}

.bootstrap-scope .chat-message .card{
	color: #FFFFFF;
	background-color: #0098A1;
	border-color: #0098A1 !important;
}
.bootstrap-scope .message.message-owner{
	background-color: #A2A7A9 !important;
	border-color: #A2A7A9 !important;
}

.bootstrap-scope .chat-message .text-muted{
	color: rgba(255,255,255,64%) !important;
}
.bootstrap-scope .chat-message[data-read="1"] .text-success{
	color: #FFFFFF !important;
}

.bootstrap-scope .channel-list  .badge.badge-primary{
	color: #FFFFFF;
	background-color: #93c005;
	padding: 5px;
}


.bootstrap-scope .channel-list button[data-group="contacts"]{
	background-color: #93c005 !important;
	box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2),
	0 6px 10px 0 rgba(0, 0, 0, 0.14),
	0 1px 18px 0 rgba(0, 0, 0, 0.12);
	transition: all 0.1s ease-in-out;
	font-size: 20px;
}
.bootstrap-scope .channel-list .list-group .badge.badge-primary{
	color: #FFFFFF;
	background-color: #0098A1;
}

.bootstrap-scope .btn-light[data-group="moderated"]{
	border-radius:0 20px 20px 0;
}

.bootstrap-scope .btn-light[data-group="chats"]{
	border-radius:20px 0 0 20px;
}

.bootstrap-scope .btn-light[data-group="moderated"] + div.position-absolute,
.bootstrap-scope .btn-light[data-group="chats"] + div.position-absolute{
	top: 0 !important;
	left:calc(50% + 5px) !important;
	transform: unset !important;
}

.bootstrap-scope .btn-light .text-primary{
	color: #0098A1 !important;
}

.bootstrap-scope .btn-light:not(:disabled):not(.disabled):active,
.bootstrap-scope .btn-light:not(:disabled):not(.disabled).active{
	color: #FFFFFF;
	background-color: #0098A1;
	border: 0;
	/*margin: 0;*/
}

/*.bootstrap-scope .btn-light:not(:disabled):not(.disabled) small{
    display: none;
}
*/
.bootstrap-scope .btn-light:not(:disabled):not(.disabled):active,
.bootstrap-scope .btn-light:not(:disabled):not(.disabled).active{
	color: #FFFFFF;
	background-color: #0098A1;
	border: 0;
}

/*.bootstrap-scope .btn-light:not(:disabled):not(.disabled):active small,
.bootstrap-scope .btn-light:not(:disabled):not(.disabled).active small{
    display: block;
}*/

.bootstrap-scope .btn-light:not(:disabled):not(.disabled):active .text-primary,
.bootstrap-scope .btn-light:not(:disabled):not(.disabled).active .text-primary{
	color: #FFFFFF !important;
}

.bootstrap-scope .chat-footer textarea{
	border: 1px solid #D2D6D8 !important;
}
.bootstrap-scope .chat-footer .input-group-append{
	padding: 0 0.25rem 0 0.25rem !important;
	background-color: #0098A1;
}
.bootstrap-scope .chat-footer button,
.bootstrap-scope .chat-footer button:hover,
.bootstrap-scope .chat-footer button:focus{
	background-color: #0098A1 !important;
}

/*.bootstrap-scope .channel-list .tab__nav > .tab-wrapper:nth-child(2) {
    display: none !important;
}*/


/* scroll bar **/
.bootstrap-scope .scroll::-webkit-scrollbar-thumb{
	background-color: #93c005;
}

.BBB-cofirm-modal  {
	z-index: 99999;
	background: transparent;
}
.BBB-cofirm-modal .react-confirm-alert-body{
	width: auto;
	/*min-width: 400px;*/
	max-width: 500px;
    color: #202020;
}

.BBB-cofirm-modal .react-confirm-alert-body > h1 {
    display: block;
    font-size: 28px;
    line-height: 33px;
    font-weight: 600;
}

.BBB-cofirm-modal .react-confirm-alert-body h4 {
    display: block;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    margin: 10px 0 10px 0;
}

.react-confirm-alert-button-group > button {
    background: #0098A1;
    text-decoration: none;
    color: #fff;
    padding: 12px 18px;
    border-radius: 2px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    text-transform:uppercase;
    font-size: 14px;
}

/* *** CHAT CHANNEL -- CHAT,BBB,LM *** */
#chat-channel:fullscreen .body {
	height: calc(100vh - 80px);
	top: 55px;
}

#chat-channel:fullscreen .header {
	top: 20px;
}
#chat-channel {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.2);
	z-index: 9999;
	overflow: hidden;
}

#chat-channel-form {
	position: absolute;
	width: 75%;
	height: 700px;
	right: 12.5%;
	top: 125px;
	overflow: hidden;
}

#chat-channel .header {
	height: 30px;
	background: #fff;
	position: absolute;
	width: 95%;
	right: 0;
	left: 0;
	top: 95px;
	margin: auto;
	overflow: hidden;
}

#chat-channel .header .close{
	position: absolute;
	float: right;
	cursor: pointer;
	z-index: 2;
	width: 30px;
	height: 30px;
	right: 10px;
	top: -4px;
	padding: 7px;
}
#chat-channel .header .close:before,
#chat-channel .header .close:after{
	position: absolute;
	content: ' ';
	height: 25px;
	width: 2px;
	background-color: #000;
	left: 15px;
}
#chat-channel .header .close:before{
	transform: rotate(45deg);
}
#chat-channel .header .close:after{
	transform: rotate(-45deg);
}
#chat-channel .fullscreen{
    cursor: pointer;
    z-index: 25;
    width: 35px;
    height: 35px;
    background-image: url(/custom/img/microsite/6316/popup_fullscreen.png);
    background-repeat: no-repeat;
    background-size: cover;
    float: right;
    position: absolute;
    right: 40px;
    top: -2px;
}

    #chat-channel .fullscreen.close-fullscreen{
        background-image: url(/custom/img/microsite/6316/popup_fullscreen_exit.png);
    }

#chat-channel .body{
	display: flex;
	position: absolute;
	width: 95%;
	height: 730px;
	right: 0;
	left: 0;
	top: 125px;
	margin: auto;
	overflow: hidden;
}

#chat-channel[data-type="attendee"] .body,
#chat-channel[data-type="attendee"] .header{
	width: 75%;
}

#chat-channel .body.loading:before {
	content: '';
	background: #fff;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

#chat-channel .body.loading:after {
	content: '';
	border: 10px solid #adadad;
	border-top: 10px solid #93c005;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 2s linear infinite;
	margin: 0 auto;
	position: absolute;
	left: calc(50% - 25px);
	top: calc(50% - 25px);
	z-index: 99;
}

#chat-channel[data-type="moderator"] .body > iframe#lead-form {
	max-width: 500px;
	background: #fff;
}

#chat-channel .body > div {
	max-width: 400px;
}
/*NEW*/
.moderator-note{
	padding: 0 20px;
}

.moderated-chat .chat-header {
	box-shadow: none !important;
	background: #f5f5f5 !important;
	border: 0;
}

.moderated-chat .input-group textarea.form-control{
	height:40px !important;
}

.moderated-chat .input-group .input-group-append button.btn.square-6.rounded-circle{
	height:1rem;
}

.moderated-chat .chat-header:after {
	content: '';
	width: calc(100% - 40px);
	height: 1px;
	background: rgba(0, 0, 0, 0.125);
	position: absolute;
	bottom: 0;
	right: 20px;
}

.chat-messages .messages-wrapper .day-wrapper:first-child .border-top {
	border: 0 !important;
}

