﻿.hide {
	display: none;
}

p {
	margin-bottom: 5px !important;
	line-height: 1.4 !important;
	font-family: Arial, sans-serif !important;
}

hr {
	border: 1px solid #cecece !important;
}

/* reset */
body .wc-app, .wc-app button, .wc-card button, .wc-app input, .wc-app textarea {
	font-family: Arial, sans-serif !important;
	font-size: 14px !important;
}

/*Markdown edits*/
.format-markdown p {
	margin-bottom: 10px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	font-family: Arial, sans-serif !important;
}

.format-markdown ul,
.format-markdown ol {
	padding-left: 28px !important;
	margin-bottom: 14px;
}

/*chat button*/
.chat {
	background-color: #0f4beb;
	color: white !important;
	padding: .8em 1.5em .4em 1.5em;
	display: block;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-color: transparent;
	font-family: Arial, sans-serif;
	text-decoration: none;
}

	.chat img {
		display: inline-block;
		width: 1.2em;
		padding-right: .5em;
		padding-bottom: 3px;
		background: transparent;
	}

	.chat span {
		vertical-align: top;
		font-size: 13px;
	}

#chatButton {
	position: fixed;
	bottom: 0;
	right: 0;
}

/*Window*/
.ui-dialog {
	padding: 0 !important;
}

	.ui-dialog .ui-dialog-titlebar {
		padding: .6em 1em !important;
		position: relative;
	}

.ui-widget.ui-widget-content {
	border-radius: 10px;
	border: none !important;
	box-shadow: none !important;
}

.wc-chatview-panel {
	height: 100% !important;
	width: auto !important;
	min-width: 100%;
	top: 0px !important;
	left: unset !important;
	z-index: 1000;
	background: #ebebeb !important;
	position: fixed !important;
}

.wc-app ::-webkit-scrollbar-thumb {
	background-color: #cecece !important;
}

/*Header*/
.wc-header {
	background-color: #0f4beb !important;
	padding: 1em !important;
	height: auto !important;
	position: relative;
	border-radius: 0px;
	color: white !important;
	display: block;
}

.wc-close {
	color: white;
	font: 25px/100% arial, sans-serif;
	position: absolute;
	right: 10px;
	text-decoration: none;
	top: 19px;
	cursor: pointer;
	background: url(https://uts-prod-askutsbot.azurewebsites.net/WebChat/UTS_close-icon.png) no-repeat;
	width: 15px;
	height: 15px;
}

.ui-dialog .ui-dialog-titlebar {
	padding: .4em 1em;
	position: relative;
	border-radius: 10px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	background-color: #363636 !important;
	color: white !important;
}

/*Main*/

/*Card view*/
.ac-image {
	left: -5px;
}

.wc-card {
	border: none !important;
	font-family: Arial, sans-serif !important;
}

	.wc-card button {
		background-color: #fff !important;
		border-color: #0f4beb !important;
		color: #0f4beb !important;
		font-size: 14px;
		min-height: 32px;
		text-align: center;
		padding: 3px 16px;
		border-radius: 20px !important;
	}

		.wc-card button:hover {
			background-color: #0f4beb !important;
			border-color: #0f4beb !important;
			color: #fff !important;
		}

.wc-adaptive-card {
	width: 100%;
}

.wc-card.wc-adaptive-card {
	border: 1px solid #cecece !important;
	border-radius: 10px !important;
	border-top-left-radius: 0 !important;
}

	.wc-card.wc-adaptive-card.hero {
		border: none !important;
	}

		.wc-card.wc-adaptive-card.hero p {
			font-weight: bold !important;
		}

.wc-adaptive-card {
	width: 100% !important;
}

/*Message view*/
.wc-message-wrapper {
	margin-bottom: 0px !important;
}

.wc-message-content {
	border-radius: 10px !important;
	padding: 10px !important;
	box-shadow: none !important;
	word-break: break-word;
}

	.wc-message-content img {
		max-height: 320px !important;
		max-width: 100% !important;
	}

.wc-message-from {
	height: 0;
}

.wc-message-from-me .wc-message-content {
	background-color: #595959 !important;
	color: white !important;
	font-size: 14px !important;
	border-top-right-radius: 0 !important;
}

.wc-message.wc-message-from-bot {
	padding-left: 20px !important;
	margin-left: 5px !important;
}

.wc-message-from span {
	color: transparent !important;
	margin-bottom: 0;
}

.wc-message-from-bot span {
	padding-left: 16px;
}

.wc-message-from-bot .wc-message-content {
	background-color: white !important;
	border-top-left-radius: 0 !important;
}

.wc-message.wc-message-from-bot:before {
	content: url(https://uts-prod-askutsbot.azurewebsites.net/WebChat/UTS_logo-shield.svg);
	display: inline-block;
	width: 16px;
	position: absolute;
	top: 10px;
	left: -5px;
}


.wc-message svg.wc-message-callout {
	display: none !important;
}

.wc-message-from {
	color: #595959;
	margin-bottom: 5px;
}

.wc-message-from-me {
	margin-right: 2px !important;
}

.wc-wide .wc-card {
	border: none !important;
}

.wc-message-from-bot.wc-typing {
	background: transparent !important;
}


/*Text input*/
#wc-upload-input {
	display: none;
}

label.wc-upload {
	display: none !important;
}

.wc-console .wc-textbox {
	background: white;
	right: 49px;
	left: 0px !important;
}

.wc-console svg {
	fill: #fff !important;
	margin: 5px !important;
}

.wc-send svg {
	background-color: #595959 !important;
	height: 39px !important;
	padding: 10px;
	margin: 1px !important;
	width: 42px !important;
}


/******DESKTOP******/
@media screen and (min-width: 736px) {

	/*chat button*/
	.chat img {
		display: inline-block;
		width: 1.5em;
		padding-right: .5em;
		padding-bottom: 1px;
		background: transparent;
	}

	.chat span {
		font-size: 14px;
	}

	#chatButton {
		right: 6vh;
	}

	.wc-chatview-panel {
		height: auto !important;
		min-height: 600px !important;
		min-width: 320px !important;
		right: 6vh !important;
		bottom: 60px !important;
		top: auto !important;
		left: auto !important;
	}


	/*Text input -- Footer*/
	.wc-console {
		border-bottom-right-radius: 10px;
		border-bottom-left-radius: 10px;
		position: absolute !important;
	}
}

@media screen and (max-height: 736px) {
	.wc-chatview-panel {
		min-height: auto !important;
		top: 0px !important;
	}
}

@media screen and (min-width: 1024px) {
	#chatButton {
		right: 15vh;
	}


	.wc-chatview-panel {
		right: 15vh !important;
	}
}
