

body {
  font-family: "Helvetica", "Helvetica", sans-serif;
  margin: auto;
}
body, html {
  height: 100%;
  color: #777;
  line-height: 1.8;
}


.button-wrapper {
  width: 60%;
  min-width: 220px;
  text-align: center;
  float: left;
}

.convo {
           padding: 3px 3px;
           text-align: center;
           width: 160px;
           min-height: 50px;
           border-radius: 4px;
           margin-bottom: 8px;
           background-color: white; 
           color: black; 
           border: 1px solid #4CAF50;
           margin-right:auto;
           margin-left:auto;
           cursor: pointer;
           vertical-align: top;
         }
         
.conv-start{
           background-color: #F8C471;
           margin-left: 15px;
           margin-right: 15px;
           font-size: 22px;
           padding: 10px;
           line-height: 1.4;
           font-weight: 400;
           width: auto;
           border-radius: 5px;
           color: black;
           box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
         }

button {
  padding: 3px 3px;
  text-align: center;
  width: 160px;
  min-height: 50px;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow-x: auto;
  white-space: normal;
  background-color: white; 
  color: black; 
  border: 1px solid #d357ae;
  margin-right:auto;
  margin-left:auto;
  cursor: pointer;
  vertical-align: top;
}
.card-content{
  display: block;
  overflow-x: auto;
  white-space: normal;
}
button:hover {
  background-color: #d357ae;
  color: white;
}
button:focus {outline:0;}


.chat_window {
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background-image: url("wallpaper.jpg"); 
  overflow: hidden;
}

.w3-container{
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px; 
}

.main-wrapper {
  height: 100%; 
}

.head-wrapper {
  height: 10%;  
}

.body-wrapper {
  height: 90%;  
}


.top_menu {
  background-color: #fff;
  width: 100%;
  padding: 20px 0 15px;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}
.top_menu .buttons {
  margin: 3px 0 0 20px;
  position: absolute;
}
.top_menu .buttons .button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  position: relative;
}
.top_menu .buttons .button.close {
  background-color: #f5886e;
}
.top_menu .buttons .button.minimize {
  background-color: #fdbf68;
}
.top_menu .buttons .button.maximize {
  background-color: #a3d063;
}
.top_menu .title {
  text-align: center;
  color: #604b8c;
  font-size: 24px;
}

.messages {
  position: relative;
  list-style: none;
  padding: 20px 10px 0 10px;
  margin: 0;
  padding-right: 10%;
  padding-left: 10%;
  height: 75%;
  overflow: scroll;
}
.messages .message {
  clear: both;
  overflow: hidden;
  margin-bottom: 15px;
  margin-top: 15px;
  transition: all 0.5s linear;
  opacity: 0;
}
.img_left {
  float: left;
}
.messages .message.left .avatar {
  background-image: url("annie-mini.png");
  background-size: 40px 40px;
  float: left;
}
#my_image{
  width: 30%;
  height: auto;
  margin-left: 5%;
}
.messages .message.left .text_wrapper {
  background-color: #604b8c;
  margin-left: 20px;
  width: auto;
  max-width: 60%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.messages .message.left .text_wrapper::after, .messages .message.left .text_wrapper::before {
  right: 100%;
  border-right-color: #604b8c;
}
.messages .message.left .text {
  color: white;
}
.messages .message.right .avatar {
  background-image: url("tunza_blank.png");
  float: right;
  background-size: 40px 40px;
}
.messages .message.right .text_wrapper {
  background-color: #d357ae;
  width: auto;
  max-width: 75%;
  margin-right: 20px;
  float: right;
}
.messages .message.right .text_wrapper::after, .messages .message.right .text_wrapper::before {
  left: 100%;
  border-left-color: #d357ae;
}
.messages .message.right .text {
  color: white;
}
.messages .message.appeared {
  opacity: 1;
}
.messages .message .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-block;
}
.messages .message .text_wrapper {
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
  width: calc(80% - 85px);
  min-width: 100px;
  position: relative;
}
.messages .message .text_wrapper::after, .messages .message .text_wrapper:before {
  top: 5px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.messages .message .text_wrapper::after {
  border-width: 8px;
  margin-top: 3px;
}
.messages .message .text_wrapper::before {
  border-width: 8px;
  margin-top: 3px;
}
.messages .message .text_wrapper .text {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}

.bottom_wrapper {
  width: 100%;
  background-color: #fff;
  padding-right: 10%;
  padding-left: 10%;
  position: absolute;
  bottom: 0;
}

.all-bubbles {
  width: 100%;
  text-align: center;
  padding: 5px 5px;
  bottom: 0;
  position: absolute;
}

.bottom_wrapper .message_input_wrapper {
  display: inline-block;
  height: 50px;
  border-radius: 25px;
  border: 1px solid #bcbdc0;
  width: calc(100%);
  position: relative;
  padding: 0 20px;
}
.bottom_wrapper .message_input_wrapper .message_input {
  border: none;
  height: 100%;
  box-sizing: border-box;
  width: calc(100% - 40px);
  position: absolute;
  outline-width: 0;
  color: gray;
}
.bottom_wrapper .send_message {
  width: 140px;
  height: 50px;
  display: inline-block;
  border-radius: 50px;
  background-color: #a3d063;
  border: 2px solid #a3d063;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s linear;
  text-align: center;
  float: right;
}
.bottom_wrapper .send_message:hover {
  color: #a3d063;
  background-color: #fff;
}
.loader{float: left;
  margin-left: 5%}
.bottom_wrapper .send_message .text {
  font-size: 18px;
  font-weight: 300;
  display: inline-block;
  line-height: 48px;
}

.message_template {
  display: none;
}
@media only screen and (max-width: 600px) {
  #my_image{
  width: 45%;
  height: auto;
  margin-left: 10%;
}
 .messages {
  position: relative;
  list-style: none;
  padding: 20px 10px 0 10px;
  margin: 0;
  padding-right: 0px;
  padding-left: 0px;
  height: 75%;
  overflow: scroll;
}
.top_menu .title {
  text-align: center;
  color: #604b8c;
  font-size: 20px;
}
.messages .message.left .text_wrapper {
  background-color: #604b8c;
  margin-left: 20px;
  width: auto;
  max-width: 77%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.messages .message.right .text_wrapper {
  background-color: #d357ae;
  width: auto;
  max-width: 77%;
  margin-right: 20px;
  float: right;
}
.messages .message.left .avatar {
  background-image: url("annie-mini.png");
  background-size: 30px 30px;
  float: left;
}

.messages .message.right .avatar {
  background-image: url("tunza_blank.png");
  float: right;
  background-size: 30px 30px;
}
.messages .message .text_wrapper .text {
  font-size: 20px;
  letter-spacing: 1.4;
  font-weight: 400;
}
.messages .message .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
}
button {
  padding: 3px 3px;
  text-align: center;
  width: 120px;
  min-height: 60px;
  border-radius: 4px;
  margin-bottom: 8px;
  overflow-x: auto;
  white-space: normal;
  background-color: white; 
  color: black; 
  border: 1px solid #d357ae;
  margin-right:auto;
  margin-left:auto;
  cursor: pointer;
  vertical-align: top;
}

}