/*
 * botui 0.3.9
 * A JS library to build the UI for your bot
 * https://botui.org
 *
 * Copyright 2019, Moin Uddin
 * Released under the MIT license.
*/


body{
	margin: 0;
	padding: 0;
	background-color: #f8f8f8;
	overflow: hidden;
}

.head {
    background: transparent linear-gradient(80deg, #39CFFF 0%, #2F89FF 100%) 0% 0% no-repeat padding-box;
    padding: 0 40px 0 20px;
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    line-height: 45px;
    height: 45px;
    right: 0;
}

.container{
	position: fixed;
	top: 45px;
	left: 0;
	right: 0;
	overflow-y: auto;
	height: calc(100% - 110px);
}

.head img{
	position: absolute;
    right: 40px;
    top: 10px;
}
.head img:hover{
	opacity: 0.6;
}




a.botui-message-content-link:focus {
	outline: thin dotted
}

a.botui-message-content-link:focus:active,
a.botui-message-content-link:focus:hover {
	outline: 0
}

form.botui-actions-text {
	margin: 0
}

button.botui-actions-buttons-button,
input.botui-actions-text-input {
	margin: 0;
	font-size: 100%;
	line-height: normal;
	vertical-align: baseline
}

button.botui-actions-buttons-button::-moz-focus-inner,
input.botui-actions-text-input::-moz-focus-inner {
	border: 0;
	padding: 0
}

button.botui-actions-buttons-button {
	cursor: pointer;
	-webkit-appearance: button
}

.botui-app-container {
	width: 100%;
	height: 100%;
	line-height: 1
}

@media (min-width:420px) {
	body{
		height: 450px;
	}
	
	.container{
			height: 405px;
	}
	
	
	.botui-app-container {
		width: 420px;
		height: 405px;
		margin: 0 auto 
	}
}

.botui-container {
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden
}

.botui-message {
	margin: 10px 0;
	min-height: 20px;
	position: relative;
}

.botui-message:after {
	display: block;
	content: "";
	clear: both
}

.botui-message-content {
	width: auto;
	max-width: 75%;
	display: inline-block
}

.botui-message-content.human {
	float: right
}

.botui-message-content iframe {
	width: 100%
}

.botui-message-content-image {
	margin: 5px 0;
	display: block;
	max-width: 200px;
	max-height: 200px
}

.botui-message-content-link {
	text-decoration: underline
}

.profil {
	position: relative;
	border-radius: 50%
}

.profil.human {
	float: right;
	margin-left: 5px
}

.profil.agent {
	position: absolute;
	margin-right: 5px;
    top: 0;
}

.profil > img {
	width: 26px;
	height: 26px;
	border: 2px solid #e8e8e8
}

.profil > img.agent {
	border-radius: 50%
}

button.botui-actions-buttons-button {
    margin-top: 5px;
    margin-bottom: 5px;
    width: calc(100% - 65px);
    margin-left: 40px;
    text-align: left;
}

button.botui-actions-buttons-button:not(:last-child) {
	margin-right: 10px
}

@media (min-width:400px) {
	.botui-actions-text-submit {
		display: none
	}
}


@media (max-width:310px) {
.botui-app-container {
    height: 335px;
}
.botui-actions-container {
	padding: 5px !important;
}
}

