/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
	font-size: 16px;
}

body {
/* 	outline: 1px solid red; */
}

#container {
	font-family: "Helvetica Neue", "Helvetica", "sans-serif";
}

.logo {
  width: 100%;
	
	margin-bottom: 100px;
/* 	display: none; */
}

.logo img, .logo .title {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

.logo img {
	display: block;
	padding-top: 100px;
	padding-left: 30px;
}

.logo .title {
	width: 50%;
	
	text-align: center;
	
	font-size: 24px;
	font-weight: 600;
	
	font-family: "albertus nova", "georgia", "serif";
	text-transform: uppercase;
}

.messages {
/* 	font-size: 0.8em;
	line-height: 1.2em; */
	
	margin-bottom: 65px;
}

.messages .message {
/* 	line-height: 1.2em; */
	border: 1px solid #ddd;
	border-radius: 5px;
	
	margin-left: 10px;
	margin-right: 10px;
	
	margin-bottom: 30px;
}

div.message1:last-child {
	box-shadow: 0px 0px 5px #aaa;	
	transform: scale(1.02);
}

.message .query, .message .memory, .message .concept {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2em;
	
	margin: 8px;
}

.message .feedback {
	font-size: 12px;
	
	color: 4A4A4A;
	
	margin: 8px;
}

.message .memory {
	color: #4A4A4A;
}

.messages .concept {
	font-style: italic;
	color: #999;
}

.message .result-table {
	border-top: 1px solid #aaa;
	
	background-color: #eee;
}

.message .result-table.selected {
	box-shadow: 0px 0px 5px #aaa;	
	border: 0;
}

.result-table .summary {
	font-size: 12px;
	
	color: #4A4A4A;
	
	margin: 8px;
}

.result-table .rows {
	border-top: 1px solid #ccc;
	margin: 0 8px;
	padding-bottom: 8px;
}

.result-table .row {
	font-family: "courier", "monospace";
	font-size: 12px;
	
	color: #4A4A4A;
	
	margin-top: 12px;
	
	display: flex;
	justify-content: space-between;
}

.row .text {
	line-height: 1.2em;
	
	margin-right: 5px;
}

.row .date {
	font-size: 10px;
	
	color: #9B9B9B;
	
	white-space: nowrap;
}

/* .messages .memory, .messages .concept {
	margin-left: 1em;
	margin-top: 3em;
	margin-bottom: 3em;
}

.messages .concept {
	font-style: italic;
	color: #999;
}

div.result-table div.record-aggregate {
	border-top: 1px solid #ccc;
	padding-top: 10px;
	font-size: 24px;
	font-weight: 500;
	color: #666;
	margin: 0;
}

div.record-aggregate {
	display: flex;
	justify-content: space-between;
}

div.aggregate-value {
	margin: 5px 0;
}

div.record-aggregate .aggregate-value span.label {
	font-weight: 400;
	font-size: 18px;
	margin-left: 5px;
	color: #999;
}
 */

div.input {
  position: fixed;
	bottom: 0px;
	z-index: 10;

	background-color: white;
	
	height: auto;
	width: 100%;
	
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 10px;
	padding-right: 10px;
	
	box-shadow: 0px 0px 5px #aaa;
}

div.input input, div.input textarea {
	font-family: "Helvetica Neue", "Helvetica", "sans-serif";
	font-size: 16px;
	line-height: 1.2em;
	
	width: 100%;
	
/* 	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	border-bottom: 1px solid #000; */
	
	border: 1px solid #aaa;
	border-radius: 14px;
	
	min-height: 30px;
	
	padding-left: 10px;
	padding-top: 4px;
	padding-bottom: 3px;
	color: #000;
	
	resize: none;
	
	padding-right: 25px;
}

div.input input:placeholder-shown {
/* 	font-style: italic; */
}

.input button {
	background-image: url("../images/send.svg");
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-color: white;
	background-size: 20px 20px;
	border: 0;
	
	position: absolute;
	bottom: 15px;
	right: 15px;
	
	height: 20px;
	width: 20px;
}
