/* Chat container */
.bot-chat-container {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
}

.bot-chat-container form {
  display:flex;
  flex-direction:row;
  border:5px solid #0f5652;
  background-color:white;
  padding:2px;
}

.bot-chat-container input {
  font-family: MarkPro, Tahoma, Arial, sans-serif!important;
  font-size:15px;
  color: #0f5652;
  flex-grow:2;
  border:none;
  height: 30px;
  padding: 3px;
}

.bot-chat-container input:focus{
  outline: none;
}

.bot-chat-container button {
  border:none;
  color: #65d0f1;
  margin: 5px;
  background-color: transparent;
}

.bot-chat-container svg {
  width: 30px;
  height: 20px;
}

/* Messages container */
.bot-message-groups {
    bottom: 50px;
    left: 0;
    transform: translateY(0);
    outline: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 0px;
    transition: transform 0.2s cubic-bezier(0, 0, 0.5, 1);
    background-color: #e8e8e8;
}

.bot-message-wrapper {
    animation: animationFrames 2s;
    animation-iteration-count: 1;
    clear: both;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    transition: max-height 2s ease-in-out;
}

.bot-message-content {
    background-color: #fff;
    color: #0f5652;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #0f5652;
    padding:5px;
}

.bot-message {
    max-width: 91%;
    position: relative;
}

.bot-message-from {
    clear: both;
    color: #767676;
    font-size: 11px;
    margin-top: 5px;
}

/* Bot */
.bot-message-from-bot {
    margin-left: 80px;
    float: left;
    min-height: 55px;
}

.bot-message.bot-message-from-bot:before {
    display: block;
    width: 34px;
    height: 21px;
    content: '';
    position: absolute;
    background-image: url(https://www.rtu.lv/third_party/leo_bot/images/tr_left.svg);
    left: -31px;
    top: 0;
    background-repeat: no-repeat;
}

.bot-message.bot-message-from-bot:after {
    display: block;
    width: 55px;
    height: 55px;
    content: '';
    position: absolute;
    background-image: url(https://www.rtu.lv/third_party/leo_bot/images/bot.svg);
    left: -80px;
    top: 0;
    background-repeat: no-repeat;
}

/* User */
.bot-message-from-me {
    float: right;
    margin-right: 80px;
    min-height: 55px;
}

.bot-message-from-me:after {
    display: block;
    width: 55px;
    height: 55px;
    content: '';
    position: absolute;
    background-image: url(https://www.rtu.lv/third_party/leo_bot/images/user.svg);
    right: -80px;
    top: 0;
    background-repeat: no-repeat;
}

.bot-message.bot-message-from-me:before {
    display: block;
    width: 34px;
    height: 21px;
    content: '';
    position: absolute;
    background-image: url(https://www.rtu.lv/third_party/leo_bot/images/tr_right.svg);
    right: -31px;
    top: 0;
    background-repeat: no-repeat;
}

/* Buttons */
.bot-message-button-group button:hover, bot-message-button-group a:hover {
	border: 2px solid #65d0f1;
    color: #65d0f1;
}

.bot-message-button-group button, .bot-message-button-group a {
	border: 2px solid #0f5652;
    color: #0f5652;
    background-color: transparent;
    padding: 5px;
}

/* Scrollbar */
::-webkit-scrollbar
{
  width: 10px;  /* for vertical scrollbars */
  height: 10px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track
{
  background: #e8e8e8;
}

::-webkit-scrollbar-thumb
{
  background: #dbdee1;
}