:root {
	--admin-message-color: #F5F5F5;
	--user-message-color: #F0FFF0;
	--admin-header-color: #2c95ff;
	--user-header-color: #2c95ff;
	--admin-side-nav-color: #d8d8d8;
	--message-text-color: black;
	--chat-box-width: 400px;
	--iscared: #2c95ff;
}

.width_5 {
	width: 5%;
	height: auto;
	float: left;
}

.width_10 {
	width: 10%;
	height: auto;
	float: left;
}

.width_12 {
	width: 12%;
	height: auto;
	float: left;
}

.width_15 {
	width: 15%;
	height: auto;
	float: left;
}

.width_20 {
	width: 20%;
	height: auto;
	float: left;
}

.width_25 {
	width: 25%;
	height: auto;
	float: left;
}

.width_30 {
	width: 30%;
	height: auto;
	float: left;
}

.width_33 {
	width: 33.33%;
	height: auto;
	float: left;
}

.width_35 {
	width: 35%;
	height: auto;
	float: left;
}

.width_40 {
	width: 40%;
	height: auto;
	float: left;
}

.width_45 {
	width: 45%;
	height: auto;
	float: left;
}

.width_50 {
	width: 50%;
	height: auto;
	float: left;
}

.width_55 {
	width: 55%;
	height: auto;
	float: left;
}

.width_60 {
	width: 60%;
	height: auto;
	float: left;
}

.width_65 {
	width: 65%;
	height: auto;
	float: left;
}

.width_70 {
	width: 70%;
	height: auto;
	float: left;
	overflow: hidden;
}

.width_75 {
	width: 75%;
	height: auto;
	float: left;
	overflow: hidden;
}

.width_80 {
	width: 80%;
	height: auto;
	float: left;
	overflow: hidden;
}

.width_85 {
	width: 85%;
	height: auto;
	float: left;
	overflow: hidden;
}

.width_90 {
	width: 90%;
	height: auto;
	float: left;
	overflow: hidden;
}

.width_95 {
	width: 95%;
	height: auto;
	float: left;
	overflow: hidden;
}

.width_100 {
	width: 100%;
	height: auto;
	float: left;
	overflow: hidden;
}

/* chat styles */
.tube_button {
	position: fixed;
	width: 60px;
	height: 60px;
	right: 20px;
	bottom: 100px;
	padding: 10px;
	font-size: 24px;
	background-color: #165e96;
	color: white;
	cursor: pointer;
	z-index: 100002;
	transition: 0.6s;
	border: 1px solid #ffffff;
	border-radius: 5px;
	text-align: center;
}

.tube_button_sub_active {
	bottom: 470px;
}

.tube_button_active {
	/* background: #1871a4; */
	right: calc(var(--chat-box-width) - 35px);
}

/* chat styles */
.chat_button {
	position: fixed;
	width: 60px;
	height: 60px;
	right: 20px;
	bottom: 30px;
	padding: 10px;
	font-size: 24px;
	background-color: #ffc800;
	color: white;
	cursor: pointer;
	z-index: 1000200;
	transition: 0.6s;
	border: 1px solid #ffffff;
	border-radius: 5px;
	text-align: center;
}

.chat_button_sub_active {
	bottom: 470px;
}

.chat_button_active {
	/* background: #1871a4; */
	right: calc(var(--chat-box-width) - 35px);
}

.chat_container {
	position: fixed;
	bottom: 61px;
	right: calc(-1.7 * var(--chat-box-width));
	z-index: 100002;
	width: var(--chat-box-width);
	transition: 0.6s;
	border-radius: 5px;
	box-shadow: 4px 4px 9px 0px rgba(0,0,0,0.66);
}

.chat_container_active {
	right: 20px;
}

.chat_header {
	background-color: #1871a4;
	color: white;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	padding: 10px 10px 10px 68px;
	border-radius: 5px 5px 0 0;
}

.chat_box {
	background: #ffffff;
	padding: 10px;
	height: 400px;
	width: 100%;
	border: 2px solid #1871a4;
	box-sizing: border-box;
	border-radius: 0 0 5px 5px;
}

.chat_message {
	border-top: 1px solid #cccccc;
	border-right: 0 solid #ffffff;
	border-bottom: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	margin: 10px auto;

}

.chat_submit_button {
	background-color: var(--user-message-color);
	right: 400;
	color: white;
	border-radius: 7px;
	border: none;
	font-size: 15px;
	margin: 10px auto;
	padding: 8px;
	cursor: pointer;
	transition: 0.8;
}

.text_message_user {
	/* background: var(--user-message-color); */
	background: #ffffff;
	color: var(--message-text-color);
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	border-top-right-radius: 8px;
	padding: 6px 10px;
	max-width: 90%;
	float: right;
	font-weight: 400;
	font-size: 13px;
	margin-bottom: 5px;
	border: 1px solid #696969;
}

.text_message_administrator {
	background: var(--admin-message-color);
	color: var(--message-text-color);
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top-right-radius: 8px;
	padding: 6px 10px;
	max-width: 90%;
	float: left;
	font-weight: 400;
	font-size: 13px;
	margin-bottom: 5px;
	border: 1px solid #696969;
}

.photo_administrator {
	width: 42px;
	height: 42px;
	margin: 0 7px 0 0;
	background: white;
	float: left;
}

.photo_administrator img {
	width: 100%;
	height: auto;
	border-radius: 50%;
}

#message_box {
	padding: 10px;
	padding-top: 15px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: normal;
}

/*admin chat styles */
.admin_chat_container {
	font-family: 'Catamaran', sans-serif;
}

.admin_chat_header {
	background-color: var(--admin-header-color);
	padding: 20px;
}

.admin_chat_side_nav {
	background-color: var(--admin-side-nav-color);
	height: 100%;
}

.admin_chat_side_nav_item {
	padding: 20px;
	cursor: pointer;
	box-sizing: border-box;
}

.admin_chat_side_nav_item:hover {
	background-color: #a5a5a5;
}

.admin_chat_side_nav_item_active {
	background-color: #8e8e8e;
}

.admin_message_form {
	width: 100%;
	height: 30px;
}

.admin_message_form input[type=text] {
	width: 100%;
	padding: 5px;
	height: 100%;
	border: 1px solid #999999 !important;
	box-sizing: border-box;
	border-radius: 0;
}

.admin_message_form input[type=submit] {
	height: 100%;
	width: 9%;
}

.button {
	background-color: white;
	color: black;
	padding: 9px 9px 10px 9px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 15px;
	margin: 10px 0 0 0;
	transition-duration: 0.4s;
	cursor: pointer;
	border-top: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	border-left: 0 solid #cccccc;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.button:hover {
	background-color: #666666;
}

@media (min-width:320px) and (max-width:767px) {
	.chat_container {
		width: 90%;
	}

	.chat_button_active {
		right: calc(90% - 40px);
	}
}
