.hidden {
	display: none;
}

.sticky-button {
	position: fixed;
	background-color: #4c1a3a;
	bottom: 30px;
	right: 30px;
	border-radius: 50px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.1);
    z-index:9999;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 55px;
	height: 55px;
	padding-top:5px;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

.sticky-button svg {
	margin: auto;
	fill: #fff;
    width: 35px;
	height: 35px;
}

.sticky-button a,.sticky-button label {
	cursor: pointer;
	display: flex;
	align-items: center;
	width: 55px;
	height: 55px;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

.sticky-button label svg.close-icon {
	display: none;
}

.sticky-chat {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 420px;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
	z-index: 21;
	opacity: 0;
	visibility: hidden;
}

.sticky-chat a {
  text-decoration: none;
  font-family: 'Roboto',sans-serif;
  color: white;
}

.sticky-chat svg {
	width: 35px;
	height: 35px;
}

.sticky-chat .chat-content {
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
	overflow: hidden;
    min-height:320px;
	font-family: 'Roboto',sans-serif;
	font-weight: 400;
}

.sticky-chat .chat-header {
	position: relative;
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background-color: #4c1a3a;
	overflow: hidden;
}

.sticky-chat .chat-header:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 80px;
	height: 75px;
	background: rgba(0,0,0,.040);
	border-radius: 70px 0 5px 0;
}

.sticky-chat .chat-header svg {
	width: 35px;
	height: 35px;
	flex: 0 0 auto;
	fill: #fff;
}


.sticky-chat .chat-header .livechat-title {
	padding-left: 15px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Roboto',sans-serif;
    color: #fff;
    width:100%;
}

.sticky-chat .chat-header .livechat-title span {
	font-size: 11px;
	font-weight: 400;
	display: block;
	line-height: 1.58em;
	margin: 0;
	color: #f4f4f4;
}

.sticky-chat .chat-line {
    width:100%;
    margin-bottom:10px;
}

.sticky-chat .chat-line .chat-message {
    max-width:60%;
}

.sticky-chat .chat-text {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 20px;
	font-size: 12px;
    max-height: 330px;
	justify-content: center;
	overflow-x: hidden;
}

.sticky-chat .chat-text span {
	display: inline-block;
	padding: 10px;
	background-color: #f0f5fb;
	border-radius: 0px 15px 15px;
}

.sticky-chat .chat-text span.from_user {
	background-color: #f0f5fb;
}

.sticky-chat .chat-text span.to_user {
	background-color: #25b9d7;
    color:white!important;
    float:right;
    border-radius: 15px 15px 0px;
}

/*
    .sticky-chat .chat-text span.from_user:after {
        content: 'just now';
        display: inline-block;
        margin-left: 10px;
        font-size: 9px;
        color: #989b9f;
    }
*/

.sticky-chat .chat-text span.to_user:after {
    content:'';
	color: white;
}

.sticky-chat .chat-text span.typing {
	margin: 15px 0 0 auto;
	padding: 10px;
	border-radius: 15px 0px 15px 15px;
}

.sticky-chat .chat-text span.typing:after {
	display: none;
}

.sticky-chat .chat-text span.typing svg {
	height: 13px;
	fill: #505050;
}

.sticky-chat .chat-button {
	align-items: center;
	margin-top: 15px;
	padding: 12px 20px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
	overflow: hidden;
    color:black;
	font-size: 12px;
	font-family: 'Roboto',sans-serif;
	font-weight: 400;
	display:none;
}

.sticky-chat .chat-button.active 
{
    display:flex;
}

.chat_toolbar {
	cursor: pointer!important;
	margin-bottom:0px!important;
	width:80px!important;
	display:flex!important;
	align-items: center!important;
	justify-content: space-between!important;
  }

.chat_toolbar svg:first-of-type {
	fill: #505050;
	transform: rotate(40deg);
	margin-right:5px;
	-webkit-transform: rotate(40deg);
}

.sticky-chat .chat-button svg {
	width: 20px;
	height: 20px;
}

.chat-menu:checked+.sticky-button label svg.chat-icon {
	display: none;
}

.chat-menu:checked+.sticky-button label svg.close-icon {
	display: table-cell;
}

.chat-menu:checked+.sticky-button+.sticky-chat {
	bottom: 100px;
	opacity: 1;
	visibility: visible;
}

#messagebox {
    border:none;
    width:100%;
    outline:none;
    background:white;
    height:25px;
}

#open_session_form {
	width:90%;
}

#open_session_form input {
	background:white;
	outline:none;
}

#open_session_form textarea {
	background:white;
	outline:none;
}

#loading-spinner {
	display:none;
}

.spinner-box {
    width: 100%;
    display: flex;
    margin-top: 150px;
    margin-bottom: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent;
  }

  @keyframes configure-clockwise {
	0% {
	  transform: rotate(0);
	}
	25% {
	  transform: rotate(90deg);
	}
	50% {
	  transform: rotate(180deg);
	}
	75% {
	  transform: rotate(270deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }

  @keyframes configure-xclockwise {
	0% {
	  transform: rotate(360deg);
	}
	25% {
	  transform: rotate(270deg);
	}
	50% {
	  transform: rotate(180deg);
	}
	75% {
		transform: rotate(90deg);
	}
	100% {
		transform: rotate(0);
	}
  }
  
  .configure-border-1 {
	width: 50px;
	height: 50px;
	padding: 4px;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #4c1a3a;
	animation: configure-clockwise 3s ease-in-out 0s infinite alternate;
  }

  .configure-border-2 {
	width: 50px;
	height: 50px;
	padding: 4px;
	left: -50px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #4c1a3a;
	transform: rotate(45deg);
	animation: configure-xclockwise 3s ease-in-out 0s infinite alternate;
  }

  .configure-core {
	width: 100%;
	height: 100%;
	background-color: white;
  }

  #text-submit {
	display:inherit;
	width:100%;
  }

  .toolbox, .tool {
	display:none!important;
  }

  .toolbox.active, .tool.active {
	display:block!important;
  }

  #chat-dropzone {
	display: flex;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 480px) {
	.sticky-chat {
		width: calc(100% - 60px);
	}
  }