/*! file: stylesheet.css */

@import 'https://fonts.googleapis.com/css?family=Noto+Sans';

html,
body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #000;
	background-color: #f2f2f2;
	/* background-image: url('/static/assets/images/background.png');
	background-repeat: round; */
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-webkit-animation: bugfix infinite 1s;
	font-size: 16px;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

@-webkit-keyframes bugfix {
	from {
		padding: 0;
	}

	to {
		padding: 0;
	}
}

/* Preload */
.preload * {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}

/* Reset */
*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.os-condensed {
	font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif;
	text-decoration: none;
}

/* Transition */
.transition-2ms {
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

/* ------------------------------------ Header ------------------------------------ */
/* Header stylings */
h1,
h2,
h3,
h4 {
	font-weight: 200;
	margin: 0;
	overflow: hidden;
}

h4 {
	line-height: 22px;
}

/* ------------------------------------ Body ------------------------------------ */
/* --- Chatbox --- */
@-webkit-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@-moz-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@-o-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

main {
	position: relative;
	height: 100%;
	padding: 3% 16px;
	/* background-color: #77aa77; */
	/* background-image: url('/static/assets/images/back.svg'); */
	background-attachment: fixed;
	background-size: contain;
	/* background: -webkit-linear-gradient(-45deg, #183850 0, #183850 25%, #192C46 50%, #22254C 75%, #22254C 100%); */
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.chatbox {
	width: 450px;
	max-width: 85vw;
	height: 90%;
	min-height: 90vh;
	margin: 0 auto;
	padding: 0px 0px 8px 0px;
	position: fixed;
	right: 30px;
	bottom: 30px;
	/* top: 30px; */
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 0.2px 0.7px -7px rgb(0 0 0 / 28%), 0 0.5px 1.8px -7px rgb(0 0 0 / 37%), 0 1.2px 3.8px -7px rgb(0 0 0 / 44%), 0 4px 13px -7px rgb(0 0 0 / 64%);
}

.chatbox>div {
	display: inline-block;
	width: 100%;
	height: 100%;
	position: relative;
}

.chatbox>div>.message-container::-webkit-scrollbar {
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	width: 8px;
	height: 1px;
	z-index: 2;
}

.chatbox>div>.message-container::-webkit-scrollbar-track {
	/* background: transparent;  */
	border-radius: 10px;
	background-color: rgba(25, 147, 147, 0.1);
}

.chatbox>div>.message-container::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: rgba(25, 147, 147, 0.2);
	/* background: #b3ada7; */
}

.chatbox>div>.message-container {
	height: calc(100% - 90px);
	overflow-x: hidden;
	/* padding: 0 16px; */
	margin-bottom: 8px;
}

/* --- Messages --- */
.message {
	padding: 8px;
	position: relative;
	min-height: 34px;
	clear: both;
	margin: 8px 0;
	max-width: 85%;
	border-radius: 8px;
	word-wrap: break-word;
	box-shadow: 0 0.2px 0.7px -7px rgb(0 0 0 / 28%), 0 0.5px 1.8px -7px rgb(0 0 0 / 37%), 0 1.2px 3.8px -7px rgb(0 0 0 / 44%), 0 4px 13px -7px rgb(0 0 0 / 64%);
}

.message.received {
	/* background: #fff;*/
	float: left;
	position: relative;
	clear: both;
	/* display: inline-block; */
	/* padding: 16px 40px 16px 20px; */
	padding: 10px;
	/* margin: 0px 0px 24px 3px; */
	font: 14px/16px "Noto Sans", sans-serif;
	border-radius: 10px;
	background-color: #066371;
	color: #ffffff;
	left: 40px;
	line-height: 1.5;
}

.message.sent {
	/* background: #c587fc; */
	right: 20px;
	float: right;
	position: relative;
	clear: both;
	/* display: inline-block; */
	/* padding: 16px 40px 16px 20px; */
	padding: 10px;
	/* margin: 0px 0px 24px 3px; */
	font: 14px/16px "Noto Sans", sans-serif;
	border-radius: 1000px;
	background-color: #11C6E3;
	color: #ffffff;
	/* line-height: 1.5; */
	box-shadow: 0 .2px .7px -7px rgba(0, 0, 0, .277), 0 .5px 1.8px -7px rgba(0, 0, 0, .369), 0 1.2px 3.8px -7px rgba(0, 0, 0, .442), 0 4px 13px -7px rgba(0, 0, 0, .64);
}

.message:after {
	position: absolute;
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	/* top: calc(50% - 4px);
	-webkit-transform: rotate(29deg) skew(-35deg);
		-moz-transform: rotate(29deg) skew(-35deg);
		-o-transform: rotate(29deg) skew(-35deg);
			transform: rotate(29deg) skew(-35deg); */
}


.message.received:after {
	/* background-color: #fff; */
	/* left: -4px; */
	background-image: url(/static/assets/images/logo_teal_orang.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	left: 0px;
	margin-left: -35px;
	top: 0px;
}

.message.sent:after {
	/* background-color: #c587fc;
	right: -4px; */
	/* background-image: url(/static/assets/images/logo_teal_orang.svg); */
	top: 0px;
	right: 0px;
	margin-right: -35px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.time {
	/* display: inline-block; */
	float: right;
	position: relative;
	color: #fff;
	font-size: 11px;
	padding: 0 0 0 8px;
	bottom: -4px;
}

/* --- Inputs --- */
.chatbox>div>form {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* background-color: #fff; */
	/* border-radius: 8px; */
	overflow: hidden;
	/* width: 100%; */
	height: 48px;
	/* font: 32px/48px "Noto Sans", sans-serif; */
	background: none;
	color: #5415ff;
	border: 0;
	border-bottom: 1px solid rgba(25, 147, 147, 0.2);
	outline: none;
}

.chatbox>div>form>.to-send {
	width: 100%;
	height: 100%;
	padding: 12px 42px 12px 12px;
	border: 0;
	outline: none;
	background-color: inherit;
	color: #5415ff;
}

.chatbox>div>form .send {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 25px;
	height: 25px;
	border: none;
	background-color: inherit;
	cursor: pointer;
	color: #5415ff;
	background-image: url('/static/assets/images/send.svg');
	background-repeat: no-repeat;
	background-position: center;
	margin: 5px;

}


/* --- General --- */
.center {
	text-align: center;
}

.relative {
	position: relative;
}

.bold {
	font-weight: bold !important;
}

.size156 {
	font-size: 156px;
}

.size96 {
	font-size: 96px;
}

.size64 {
	font-size: 64px;
}

.size48 {
	font-size: 48px;
}

.size32 {
	font-size: 32px;
}

.text-indent32 {
	text-indent: 32px;
}

.margin-top-4px {
	margin-top: 4px;
}

.margin-top-16px {
	margin-top: 16px;
}

/* ------------------------------------ Footer ------------------------------------ */
footer {
	text-align: center;
}

/* ------------------------------------ Scaling ------------------------------------ */
@media screen and (max-width: 512px) {

	/* Because screen is already small, set width to 100% of
		its wrapper to prevent them displaying too small within the smaller screen */
	.container {
		width: 100%;
	}
}


/* BUTTONS */
div.rw-reply:hover {
	background-color: #066371 !important;
	color: rgb(255, 255, 255) !important;
}

.rw-reply {
	font-size: 13px !important;
	background-color: rgb(244, 244, 244) !important;
	border-color: rgb(81, 10, 28) !important;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	max-width: unset !important;
}

.rw-reply-more-info {
	font-size: 13px !important;
	background-color: #F0891C !important;
	border-color: #F0891C !important;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	max-width: unset !important;
	border-radius: 100px;
    display: flex;
    position: absolute;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 2px;
    margin-bottom: 0px;
	left:auto
}

.rw-replies {
	margin: unset !important;
}

.message-container .rw-replies {
	margin: 5px 10px;
	display: flex;
	line-height: 20px;
	flex-wrap: wrap;
	font-size: 16px;
	font-family: Inter, sans-serif;
}

.message-container .rw-reply {
	-webkit-transition: box-shadow .3s ease, top .3s ease;
	-moz-transition: box-shadow .3s ease, top .3s ease;
	-o-transition: box-shadow .3s ease, top .3s ease;
	transition: box-shadow .3s ease, top .3s ease;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	background-color: #135afe;
	border: 1px solid #135afe;
	border-radius: 1000px;
	color: #f4f7f9;
	padding: 4px 8px;
	max-width: 215px;
	min-height: 1.7em;
	font-weight: 500;
	text-align: center;
	font-family: Inter, sans-serif;
	cursor: pointer;
	margin: .25em;
	text-decoration: unset;
	box-shadow: 0 .2px .7px -7px rgba(0, 0, 0, .277), 0 .5px 1.8px -7px rgba(0, 0, 0, .369), 0 1.2px 3.8px -7px rgba(0, 0, 0, .442), 0 4px 13px -7px rgba(0, 0, 0, .64);
}

.message-container .rw-reply:hover {
	position: relative;
	top: 1px;
	opacity: 1;
	box-shadow: none;
	background-color: #234449;
}

.base_message {
	max-width: 85%;
	width: 100%;
	position: relative;
	clear: both;
	overflow: hidden;
	margin-top: 15px;
	margin-bottom: 15px;
	left: 40px;
	margin-left: 3px;
}

.chartdiv {
	width: 100%;
	height: 200px;
	max-width: 95%;
	position: relative;
	clear: both;
	overflow: hidden;
	margin-top: 15px;
	background-color: #000000;
	margin-bottom: 10px;
	/* border: 1px solid #ffffff; */
	/* border-radius: 10px; */
	box-shadow: 0 .2px .7px -7px rgba(0, 0, 0, .277), 0 .5px 1.8px -7px rgba(0, 0, 0, .369), 0 1.2px 3.8px -7px rgba(0, 0, 0, .442), 0 4px 13px -7px rgba(0, 0, 0, .64);
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.chartdiv-big {
	width: 100%;
	height: 300px;
	max-width: 95%;
	position: relative;
	clear: both;
	overflow: hidden;
	margin-top: 15px;
	background-color: #000000;
	margin-bottom: 10px;
	/* border: 1px solid #ffffff; */
	/* border-radius: 10px; */
	box-shadow: 0 .2px .7px -7px rgba(0, 0, 0, .277), 0 .5px 1.8px -7px rgba(0, 0, 0, .369), 0 1.2px 3.8px -7px rgba(0, 0, 0, .442), 0 4px 13px -7px rgba(0, 0, 0, .64);
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* icons */

.button-icone {
	width: 25px;
	height: 25px;
	margin-right: 4px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

/* .header-btn {
	margin-right: 2px;
	background: #00000000;
 }

.header-img {
	width: 20px;
	height: 20px;
	margin-right: 2px;
} */

.rw-header {
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	height: 55px;
	font-family: Inter, sans-serif;
	position: relative;
	border-radius: 8px 8px 0px 0px;
	box-shadow: 0 0.2px 0.7px -7px rgb(0 0 0 / 28%), 0 0.5px 1.8px -7px rgb(0 0 0 / 37%), 0 1.2px 3.8px -7px rgb(0 0 0 / 44%), 0 4px 13px -7px rgb(0 0 0 / 64%);
	border: solid 1px;
	border-color: #fefefe;
	background-color: #fff;
}

.rw-avatar {
	width: 50px;
	height: 50px;
	/* border-radius: 100%; */
	/* margin-right: 6px; */
	margin: 5px;
	/* position: relative; */
	/* bottom: 17px; */
	padding: 2px;
}

.rw-header.rw-with-subtitle {
	height: 70px;
}

.rw-header.rw-with-subtitle .rw-avatar {
	top: 20px;
}

.rw-header.rw-with-subtitle .rw-title {
	top: 11px;
}

.rw-header.rw-with-subtitle span {
	bottom: 12px;
	position: absolute;
	left: 22px;
}

.rw-header.rw-with-subtitle span.rw-with-avatar {
	left: 60px;
}

.rw-title {
	font-size: 20px;
	margin: 0;
	font-family: Inter, sans-serif;
	position: absolute;
	left: 20px;
	font-weight: 700;
	color: #234449;
}

.rw-title.rw-with-avatar {
	left: 58px;
}


.rw-header-buttons {
	position: absolute;
	right: 10px;
	display: flex;
	flex-direction: row;
}

.header-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	display: inline-block;
	background-color: transparent;
	border: 0;
	width: 40px;
	cursor: pointer;
}

.header-btn:active,
.header-btn:focus,
.header-btn:hover {
	outline: none;
}

.header-btn:active::-moz-focus-inner,
.header-btn:focus::-moz-focus-inner,
.header-btn:hover::-moz-focus-inner {
	border: 0;
}

.header-img {
	width: 30px;
	height: 30px;
}

.header-img:active,
.header-img:focus,
.header-img:hover {
	width: 34px;
	height: 34px;
	top: -2px;
	margin-left: -2px;
}


.link-href {
	color: #fff;
	margin: 4px;
}

.sliderdiv {
	width: 100%;
	height: 60px;
	max-width: 95%;
	position: relative;
	clear: both;
	overflow: hidden;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

input[type='range'] {
	width: 100%;
	height: 30px;
	overflow: hidden;
	cursor: pointer;
	outline: none;
}

input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none;
	background: none;
}

input[type='range']::-webkit-slider-runnable-track {
	width: 200px;
	height: 8px;
	border-radius: 5px;
	background: #BC3D51;
}

input[type='range']:nth-child(2)::-webkit-slider-runnable-track {
	background: none;
}

input[type='range']::-webkit-slider-thumb {
	position: relative;
	height: 16px;
	width: 16px;
	margin-top: -4px;
	background: rgb(255, 255, 255);
	border: 1px solid #afaeae;
	border-radius: 25px;
	z-index: 1;
}


input[type='range']:nth-child(1)::-webkit-slider-thumb {
	z-index: 2;
}

.rangeslider {
	position: relative;
	height: 60px;
	width: 90%;
	display: inline-block;
	margin-top: -5px;
	margin-left: 20px;
}

.rangeslider input {
	position: absolute;
}

.rangeslider {
	position: absolute;
}

.rangeslider span {
	position: absolute;
	margin-top: 30px;
	left: 0;
	color: #ffffff;
}

.rangeslider .right {
	position: relative;
	float: right;
	margin-right: -5px;
}


/* Proof of concept for Firefox */
@-moz-document url-prefix() {
	.rangeslider::before {
		content: '';
		width: 100%;
		height: 2px;
		background: #003D7C;
		display: block;
		position: relative;
		top: 16px;
	}

	input[type='range']:nth-child(1) {
		position: absolute;
		top: 35px !important;
		overflow: visible !important;
		height: 0;
	}

	input[type='range']:nth-child(2) {
		position: absolute;
		top: 35px !important;
		overflow: visible !important;
		height: 0;
	}

	input[type='range']::-moz-range-thumb {
		position: relative;
		height: 15px;
		width: 15px;
		margin-top: -7px;
		background: #fff;
		border: 1px solid #003D7C;
		border-radius: 25px;
		z-index: 1;
	}

	input[type='range']:nth-child(1)::-moz-range-thumb {
		transform: translateY(-20px);
	}

	input[type='range']:nth-child(2)::-moz-range-thumb {
		transform: translateY(-20px);
	}
}


.expand-area {
	pointer-events: auto;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	/* height: 120px; */
	width: 100%;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 10px;
	max-width: 95%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
	margin-bottom: 15px;
}

.graph-text {
	margin-left: 15px;
	margin-top: 15px;
	max-height: 20vh;
	overflow-y: auto;
	color: #FFFFFF;
}