/* HELP */



.customer-service {
	position: fixed;
 	z-index:100001;
	right: 25px;
	bottom: 50px;
}

.customer-service .item {
	cursor: pointer;
	margin-top: 8px;
	width: 56px;
	height: 56px;
	background-color: inherit;
	border-radius: 6px;
	text-align: center;
	transition: 0.3s;
	position: relative;

}
/*
.customer-service .item:hover {
	background-color: #fff;
	border-color: #fe4066;
	border: 1px solid #e9e9e9;
	box-sizing: border-box;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
}
*/
.customer-service .item .iconfont {
	display: block;
	position: absolute;
	top: 50%;
	width: 100%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	font-size: 48px;
	color: #5d6098;
	transition: 0.3s;

	-webkit-filter: drop-shadow(0px 0px 10px rgba(245, 245, 245, 1));
    filter:sdrop-shadow(0px 0px 10px rgba(245, 245, 245, 1))
}
.customer-service .item:hover {
	-webkit-filter: drop-shadow(0px 0px 3px rgba(93, 96, 152, .9));
    filter:sdrop-shadow(0px 0px 3px rgba(93, 96, 152, .9))
}


.customer-service .item .message {
	position: absolute;
	right: 60px;
	bottom: 0;
	display: none;
}
@media screen and (max-width: 436px) {
	.customer-service .item .iconfont {
		right: -20px;
	}

	.customer-service .item .iconfont.icon-message-close-off {
		-webkit-transform: rotate(90deg);
  		transform:rotate(90deg);
  		top: 0;
  	}

	.customer-service .item .message {
		right: -18px;
		bottom: 65px;
	}
}


.customer-service .item:hover .iconfont {
  color: #ffffff;
}
/* in rollover
.customer-service .item:hover .message {
  display: block;
}
*/






/* --------
	finestra
----------------- */
.customer-service .item .message .message-warp {
	box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3);
/*  border: 1px solid #e9e9e9;*/
	background: #fff;
	border-radius: 6px;
/*  padding: 13px 16px 10px;*/
	text-align: left;
	width: 260px;
	position:relative;
}

.customer-service .item .message .message-warp .msg-header {
	height: 50px;
	background: #5d5f9c;
	border-radius: 6px 6px 0 0;
}
.customer-service .item .message .message-warp .msg-content {
	min-height:200px;
	padding: 13px 16px 10px;
}
.customer-service .item .message .message-warp .msg-footer {
	min-height: 35px;
	background: #f7f7f7;
	border-radius: 0 0 6px 6px;
	padding: 11px 16px 0px;
}




.customer-service .item .message .message-warp .msg-menu {
	padding: 5px 0;
}

.customer-service .item .message .message-warp .message-menu-item {
	display: table-cell;
	float: left;
	vertical-align: middle;

	width:72px;
	height: 40px;
	margin-left: 6px;
	border-radius: 8px;

	font-size:30px;
	text-align: center;
}
.customer-service .item .message .message-warp .message-menu-item:hover {
	background-color: #424489;
}

.customer-service .item .message .message-warp .message-menu-item a {
	text-decoration: none;
}

.customer-service .item .message .message-warp .message-menu-item .icon-msg {
	color:#fff;
	display:block;
	line-height: 1.3;
	opacity:.6;
}

.customer-service .item .message .message-warp .message-menu-item .icon-msg:hover {
	opacity:1;
}

.customer-service .item .message .message-warp .message-menu-item .msg-link.selected .icon-msg {
	background-color: #424489;
	border-radius: 8px;
	opacity:1;
}
.customer-service .item .message .message-warp .message-menu-item.selected:hover,
.customer-service .item .message .message-warp .message-menu-item.selected:hover .icon-msg {
	color:#aeafce;
}

.box-service-phone,
.box-service-chat,
.box-service-email {
	display:block;
}


#msg-phone.inactive,
#msg-chat.inactive,
#msg-email.inactive {display: none;}

#msg-phone.active,
#msg-chat.active,
#msg-email.active {display: block;}


.msg-imput {
	height: 40px;
	width: 100%;
	font-size: 12px;
	padding: 0 15px;
}
.msg-label {
	top:10px;
	font-size: 12px;
}

.form-textbox-input:focus ~ .form-textbox-label.msg-label,
.form-textbox-input:valid[required] ~ .form-textbox-label.msg-label {
	top: 2px;
	font-size: 8px;
}


.customer-service .item .message .message-warp h5 {
  font-size: 14px;
  color: #000000;
  line-height: 1.1;
  margin: 0 0 15px;
  font-weight: 400;
}


.msg__rimuovi {
	line-height: 2.1;
	padding-left:10px;
	overflow: hidden;
	font-size: 18px;
}
.msg__rimuovi  {
	text-decoration: none;
}
.msg__rimuovi span {
	display: none;
}
.msg__rimuovi:hover {
	opacity:.5;
	cursor:pointer;
	text-decoration: none;
}

.h75 {height:75px;}










/*  GO TOP */
.customer-service #go-top {
  display: none;
}




/* STAR */

.customer-star {
	position: absolute;
  	left: 0;
  	bottom: 50px;

	width:100%;
	margin-top: 8px;

	background-color: inherit;
	transition: 0.3s;
	z-index: 10100;

}
.customer-star .star-container {
  width:96%;
  margin: 0 auto;
  text-align: center;

  border: 1px solid #d1d7dc;
  border-radius: 6px;
  background-color:#f1f3f5;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

  display: none;
}
.customer-star .star-container .star-content {
	border: 1px solid #e9e9e9;
	background: #ffffff;
	border-radius: 6px;

	text-align: left;
	width:auto;
	margin: 10px;
	padding: 10px;
	height: 200px;
}
.box-starRating {
	padding: 15px;
}
.box-progressBar {
	height:auto;
	background: green;
}

.reviews-content {
	display: none;
	text-align: left;
}





/* #################
	CHAT
#################### */

#center-text {
  display: flex;
  flex: 1;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  height:100%;

}
#chat-circle {
  position: fixed;
  bottom: 50px;
  right: 50px;
  background: #5A5EB9;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: white;
  padding: 28px;
  cursor: pointer;
  box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.btn#my-btn {
     background: white;
    padding-top: 13px;
    padding-bottom: 12px;
    border-radius: 45px;
    padding-right: 40px;
    padding-left: 40px;
    color: #5865C3;
}
#chat-overlay {
    background: rgba(255,255,255,0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: none;
}


.chat-box {
  max-width: 85vw;
  max-height:100vh;
}
.chat-box-toggle {
  float:right;
  margin-right:15px;
  cursor:pointer;
}
.chat-box-header {
  background: #5A5EB9;
  height:70px;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  color:white;
  text-align:center;
  font-size:20px;
  padding-top:17px;
}
.chat-box-body {
  position: relative;
  height:auto;
  overflow: hidden;
}
.chat-box-body:after {
  content: "";
  opacity: 0.1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height:100%;
  position: absolute;
  z-index: -1;
}

.chat-input {
  position:absolute;
  left: 0;
  bottom: 0;
  width: 100%;

  min-height: 35px;
background: #f7f7f7;
border-radius: 0 0 6px 6px;
border-top: 1px solid #ccc;
}

#chat-input {
  background: transparent;
  width:100%;
  position:relative;
  height:47px;
  padding-left:15px;
  border:none;
  resize:none;
  outline:none;
  color:#666;
  font-size:14px;
  overflow:hidden;
}
.chat-input > form {
    margin-bottom: 0;
}
#chat-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #888;
  font-size:10px;
}
#chat-input::-moz-placeholder { /* Firefox 19+ */
  color: #888;
  font-size:10px;
}
#chat-input:-ms-input-placeholder { /* IE 10+ */
  color: #888;
  font-size:10px;
}
#chat-input:-moz-placeholder { /* Firefox 18- */
  color: #888;
  font-size:10px;
}

.chat-submit {
  position:absolute;
  bottom:3px;
  right:12px;
  background: transparent;
  box-shadow:none;
  border:none;
/*  border-radius:50%;*/
  color:#5A5EB9;
  width:auto;
  height:35px;
}
.chat-logs {
  padding:15px;
  height:240px;
  overflow-y:scroll;
}

.chat-logs::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.chat-logs::-webkit-scrollbar {
	width: 5px;
	background-color: #F5F5F5;
}

.chat-logs::-webkit-scrollbar-thumb {
	background-color: #5A5EB9;
}



@media only screen and (max-width: 500px) {
   .chat-logs {
        height:40vh;
    }
}

.chat-msg.user > .msg-avatar img {
  width:45px;
  height:45px;
  border-radius:50%;
  float:left;
  width:15%;
}
.chat-msg.self > .msg-avatar img {
  width:45px;
  height:45px;
  border-radius:50%;
  float:right;
  width:15%;
}
.cm-msg-text {
background:#5A5EB9;
  padding: 0px 10px ;
  color:#fff;
  max-width:75%;
  float:left;
/*  margin-left:10px; */
  position:relative;
  margin-bottom:5px;
  border-radius:30px;
}
.chat-msg {
  clear:both;
}
.chat-msg.self > .cm-msg-text {
  float:right;
/*  margin-right:10px;*/
  background: #e1f7cb;
  color:#666;
}
.cm-msg-button>ul>li {
  list-style:none;
  float:left;
  width:50%;
}
.cm-msg-button {
    clear: both;
    margin-bottom: 70px;
}
