/* shared botkit ui styles */
* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  font-size: 18px;
  background-color: rgb(255, 231, 224);
  font-family: "helvetica", sans-serif;
}
#message_window .message{
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 10px;
  border-radius: 25px;
  background-color: #17a2b8;
  color: white;
  padding: 10px;
  position: relative;
  float: left;
    
  }

.wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.wrapper:after {
  content: "";
  display: table;
  clear: both;
}

.box {
  border: 2px solid rgb(14, 13, 13);
  padding: 1rem calc(1rem - 2px);
  margin-bottom: 1rem;
}
.box:after {
  content: "";
  display: table;
  clear: both;
}
.box h1,
.box h2,
.box h3 {
  margin-top: 0;
}

#footer {
  text-align: center;
  margin-top: 1px;
}

#messenger_input {
  color: #17a2b8;
}

.hero {
  text-align: center;
  padding: 2rem;
}
.hero h1 {
  font-size: 4rem;
  margin: 0;
}

a {
  color: navy;
}

.copyurl {
  width: 100%;
  font-size: 1.25rem;
}

div.input label {
  font-weight: bold;
  font-size: smaller;
}

.addon {
  display: flex;
  border: 1px solid #999;
  border-radius: 6px;
  padding: 5px;
  background: #F0F0F0;
}
.addon input,
.addon textarea {
  flex-grow: 1;
  border: 0;
  background: transparent;
}
.addon button {
  flex-grow: 0;
  background: transparent;
  border: 1px solid #999;
  border-radius: 6px;
  font-weight: bold;
}
.addon button.textarea {
  align-self: flex-start;
  padding: 0.5rem;
}
.addon button:hover {
  background: #FFF;
  color: #f397d4;
}

div.hr {
  border: 1px dashed #ccc;
  width: 10%;
  margin: 4rem auto;
  height: 1px;
}

a.button {
  border: 2px solid red;
  font-weight: bold;
  margin: 0;
  border-radius: 3px;
  display: inline-block;
  padding: 0.5rem 2rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  background-color: #FFF;
  transition: box-shadow 0.1s linear;
  
}
a.button:hover {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

/* chat client */
#message_window {
  background: #FFFFFF;
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
  /*height: 500px;
  width: 320px;*/
  height: 100%;
  width: 100%;
  /*margin: 2rem auto;*/
  display: flex;
  flex-direction: column;
  font-family: "helvetica", sans-serif;
}
#message_window .disconnected {
  background: #FFFFCC;
  padding: 0.25rem;
}
#message_window.connected .disconnected {
  display: none;
}
#message_window .offline {
  display: none;
}
#message_window.offline .disconnected {
  display: none;
}
#message_window.offline .offline {
  background: #38385B;
  color: #FFF;
  padding: 0.25rem;
  display: block;
}
#message_window .powered_by {
  flex-shrink: 0;
  text-align: center;
  /* border-bottom: 1px solid #CCC; */
  font-size: 14px;
  padding: 0.25rem;
  color: #666;
}
#message_window .powered_by a {
  text-decoration: none;
  color: #666;
}
#message_window .powered_by img {
  position: relative;
  top: 2px;
}
#message_window section {
  flex-grow: 1;
  flex-direction: column-reverse;
  display: flex;
  /*overflow-y: auto;*/
}
#message_window section div div {
  margin: 0.25rem;
  clear: both;
}
#message_window footer {
  border-top: 1px solid #CCC;
  padding: 0.25rem;
}

#message_window footer input[type=text] {
  flex-grow: 1;
  font-size: 1.25rem;
  outline: none;
  border: none;
  background-color: #ececec !important;
  border:0 !important;
  color:#3c3c3c !important;
  /*height: 60px !important;*/
  padding: 8px;
  border-radius: 10px 0px 0px 10px;
}

#message_window footer input[type=text]::placeholder {
  color: black; 
}

#message_window footer input[type=text]:focus{
     box-shadow:none !important;
       outline:0px !important;
}
#message_window footer button {
  border-radius: 0 15px 15px 0 !important;
  background-color: #a3a3a3 !important;
  border:0 !important;
  color: white !important;
  cursor: pointer;
}

#message_window form {
  display: flex;
  margin: 0;
  padding: 0.25rem;
}
#message_window #message_template {
  display: none;
}


#message_window .file_attachment {
  background: #F0F0F0;
  color: #333;
  border-radius: 5px;
  display: inline-block;
  max-width: 75%;
}
#message_window .file_attachment img {
  max-width: 100%;
  display: block;
}
#message_window .button_message {
  margin: 1rem 0;
  border-radius: 4px;
  border-color: orange;
  border-style: solid;
  color: orange;
  border-width: 1px;
  padding: 0.25rem 1rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  display: block;
}
#message_window .message p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
#message_window .message p:last-child {
  margin-bottom: 0;
}
#message_window .message.outgoing {
  float: right;
  margin-top: auto;
  margin-bottom: 10px;
  margin-right: 10px;
  border-radius: 25px;
  background-color: #78e08f;
  padding: 10px;
  position: relative;
}
#message_window #message_replies {
  text-align: center;
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  /* Lets it scroll lazy */
}
#message_window #message_replies ul {
  list-style-type: none;
  margin: 0px auto;
  padding: 0;
}
#message_window #message_replies ul li {
  display: inline-block;
  margin-left: 15px;
  margin: 15px;
}
#message_window #message_replies a {
  text-decoration: none;
  display: block;
  border: 1px solid #666;
  color: #FFF;
  background: #38385B;
  border-radius: 20px;
  padding: 20px;
  margin: 10px;
  font-size: 24px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  line-height: 5px;
}
#message_window #message_replies a:hover {
  background: #78e08f;
  color: #FFF;
}

/* typing indicator CSS based on code by Joseph Fusco -> https://codepen.io/fusco/pen/XbpaYv */
.typing-indicator {
  display: table;
  margin: 0 auto;
  position: relative;
}
.typing-indicator span {
  height: 5px;
  width: 5px;
  float: left;
  margin: 0 1px;
  background-color: #333;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}
.typing-indicator span:nth-of-type(1) {
  animation: 1s blink infinite 0.3333s;
}
.typing-indicator span:nth-of-type(2) {
  animation: 1s blink infinite 0.6666s;
}
.typing-indicator span:nth-of-type(3) {
  animation: 1s blink infinite 0.9999s;
}

@keyframes blink {
  50% {
    opacity: 1;
  }
}
/* special styles for homepage */
#home {
  position: relative;
  max-width: 650px;
  margin: auto;
}
#home:after {
  content: "";
  display: table;
  clear: both;
}

#homepage_bot {
  width: 400px;
  height: 450px;
  float: left;
  border: 5px solid #333;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
#homepage_bot iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

#welcome {
  margin-left: 440px;
}
body,html{
  height: 100%;
  margin: 0;
  background:rgba(0, 0, 0, 0.03)
}

.success {

  color: rgb(15, 105, 15);
}

.fail {

  color: rgba(255, 0, 0, 0.767);

}
.contactar{

  border:none; 
  padding:0.5em;
  background-color:#c23616;
  color:white; 
  border-radius:1em;
}
.chat{
  margin-top: auto;
  margin-bottom: auto;
}
.card{
  border-radius: 15px !important;
  background-color: #ececec
}
.contacts_body{
  padding:  0.75rem 0 !important;
  white-space: nowrap;
  min-height: 65% !important;
}
.msg_card_body{
  overflow-y: auto;
  -webkit-overflow-scrolling: auto;
}

.card-header{
  border-radius: 15px 15px 0 0 !important;
  border-bottom: 0 !important;
  /* background: linear-gradient(90deg, rgba(201,171,118,1) 0%, rgba(233,197,88,1) 50%, rgba(201,171,118,1) 100%); */
  background: #a3a3a3;
}
.card-footer{
  border-radius: 0 0 90px 90px !important;
  border-top: 0 !important;
}
.container{
  align-content: center;
}
.search{
  border-radius: 15px 0 0 15px !important;
  background-color: rgba(0,0,0,0.3) !important;
  border:0 !important;
  color:white !important;
}
.search:focus{
     box-shadow:none !important;
       outline:0px !important;
}

.attach_btn{
border-radius: 15px 0 0 15px !important;
background-color: rgba(0,0,0,0.3) !important;
  border:0 !important;
  color: white !important;
  cursor: pointer;
}
.send_btn{
border-radius: 0 15px 15px 0 !important;
background-color: rgba(0,0,0,0.3) !important;
  border:0 !important;
  color: white !important;
  cursor: pointer;
}
.search_btn{
  border-radius: 0 15px 15px 0 !important;
  background-color: rgba(0,0,0,0.3) !important;
  border:0 !important;
  color: white !important;
  cursor: pointer;
}
.contacts{
  list-style: none;
  padding: 0;
}
.contacts li{
  width: 100% !important;
  padding: 5px 10px;
  margin-bottom: 15px !important;
}
.active{
  background-color: rgba(0,0,0,0.3);
}
.user_img{
  border:1.5px solid #f5f6fa;

}
.user_img_msg{
  border:1.5px solid #f5f6fa;

}
.img_cont{
  position: relative;
}
.img_cont_msg{
  height: 40px;
  width: 40px;
}
.online_icon{
position: absolute;
background-color: #4cd137;
border-radius: 50%;
bottom: 0.2em;
right: 0.4em;
border:1.5px solid white;
}
.offline{
background-color: #c23616 !important;
}
.user_info{
margin-top: auto;
margin-bottom: auto;
margin-left: 15px;
}
.user_info span{
font-size: 20px;
color: white;
}
.user_info p{
font-size: 10px;
color: rgba(255,255,255,0.6);
}
.video_cam{
margin-left: 50px;
margin-top: 5px;
}
.video_cam span{
color: white;
font-size: 20px;
cursor: pointer;
margin-right: 20px;
}


.msg_time{
position: absolute;
left: 0;
bottom: -15px;
color: rgba(255,255,255,0.5);
font-size: 10px;
}
.msg_time_send{
position: absolute;
right:0;
bottom: -15px;
color: rgba(255,255,255,0.5);
font-size: 10px;
}
.msg_head{
position: relative;
}
#action_menu_btn{
position: absolute;
right: 10px;
top: 10px;
color: white;
cursor: pointer;
font-size: 20px;
}
.action_menu{
z-index: 1;
position: absolute;
padding: 15px 0;
background-color: rgba(0,0,0,0.5);
color: white;
border-radius: 15px;
top: 30px;
right: 15px;
display: none;
}
.action_menu ul{
list-style: none;
padding: 0;
margin: 0;
}
.action_menu ul li{
width: 100%;
padding: 10px 15px;
margin-bottom: 5px;
}
.action_menu ul li i{
padding-right: 10px;

}
.action_menu ul li:hover{
cursor: pointer;
background-color: rgba(0,0,0,0.2);
}

#final {
  text-align: center;
  vertical-align: middle !important;
  display: none;
  width: 95vw;
}
/* @media(max-width: 576px){
.contacts_card{
margin-bottom: 15px !important;
}
} */
/*# sourceMappingURL=styles.css.map */

#finalButton {
  text-align: center !important; 
  vertical-align: auto !important;
  border:none; 
  padding:5px; 
  height: 2em;
  background-color:#38385B; 
  color:white; 
  border-radius:1em; 
  margin-top: 5px !important;
  cursor: pointer;
}

/* PCs */
@media (min-width: 1281px) {
  #message_window footer input[type=text] {
    height: 65%;
    width: 100% !important;
  }

  .card{
    height: 65vh !important;
    width: 100% !important;
    border-radius: 15px !important;
  }

  .user_img{
    height: 70px;
    width: 70px;
    border:1.5px solid #f5f6fa;
  
  }

  .user_img_msg{
    height: 40px;
    width: 40px;
    border:1.5px solid #f5f6fa;
  
  }

  .img_cont{
    position: relative;
    height: 70px;
    width: 70px;
  }

  .img_cont_msg{
    height: 40px;
    width: 40px;
  }

  .online_icon{
  position: absolute;
  height: 15px;
  width:15px;
  background-color: #4cd137;
  border-radius: 50%;
  bottom: 0.2em;
  right: 0.4em;
  border:1.5px solid white;
  }

  #final {
    text-align: center !important;
  }

  #finalButton { 
    width: 15%; 
    margin-bottom: 5px; 
    transform: translateX(-17vw);
  }

}

/* PCs */
@media (min-width: 1025px) and (max-width: 1280px) {
  #message_window footer input[type=text] {
    height: 65%;
    width: 100% !important;
  }

  #finalButton { 
    width: 15%; 
    margin-bottom: 5px; 
    transform: translateX(-15vw);
  }

  .user_img{
    height: 70px;
    width: 70px;
    border:1.5px solid #f5f6fa;
  
  }

  .user_img_msg{
    height: 40px;
    width: 40px;
    border:1.5px solid #f5f6fa;
  
  }

  .img_cont{
    position: relative;
    height: 70px;
    width: 70px;
  }

  .img_cont_msg{
    height: 40px;
    width: 40px;
  }

  .online_icon{
  position: absolute;
  height: 15px;
  width:15px;
  background-color: #4cd137;
  border-radius: 50%;
  bottom: 0.2em;
  right: 0.4em;
  border:1.5px solid white;
  }

  #finalButton { 
    width: 15%; 
    margin-bottom: 5px; 
    transform: translateX(-14vw);
  }

}

/* Tablets, Ipads (portrait) */
@media (min-width: 768px) and (max-width: 1024px) {
  .chat {
    margin-top: 15%;
  }

  .card{
    height: 75vw !important;
    width: 95vw !important;
    border-radius: 15px !important;
  }

  #logo {
    width: 48px !important;
    height: 66px !important;
    transform: translatex(40vw) !important;
    background-color: transparent;
  }

  #message_window footer input[type=text] {
    height: 65% !important;
    /* width: 75vw !important; */
    min-width: 85vw !important;
    max-width: 100vw !important;
  }

  .user_img{
    height: 70px;
    width: 70px;
    border:1.5px solid #f5f6fa;
  
  }

  .user_img_msg{
    height: 40px;
    width: 40px;
    border:1.5px solid #f5f6fa;
  
  }

  .img_cont{
    position: relative;
    height: 70px;
    width: 70px;
  }

  .img_cont_msg{
    height: 40px;
    width: 40px;
  }

  .online_icon{
  position: absolute;
  height: 15px;
  width:15px;
  background-color: #4cd137;
  border-radius: 50%;
  bottom: 0.2em;
  right: 0.4em;
  border:1.5px solid white;
  }

  #finalButton { 
    width: 30vw !important; 
    margin-top: 5px !important; 
  }

}

/* Tablets, Ipads (landscape) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .chat {
    margin-top: 2px;
    margin-bottom: 0%;
  }


  .powered_by {
    height: 4vw !important;
    margin-top: 0px;
  }

  .card{
    height: 32vw !important;
    width: 95vw !important;
    border-radius: 15px !important;
  }

  .card-header{
    border-radius: 15px 15px 0 0 !important;
    border-bottom: 0 !important;
    padding: .25rem .80rem;
  }

  #message_window footer input[type=text] {
    margin-top: 0%;
    height: 65%;
    width: 100% !important;
  }

  #msg_card_body {
    height: 50vw;
  }
  .user_img{
    height: 40px;
    width: 40px;
    border:1.5px solid #f5f6fa;
  
  }

  .user_img_msg{
    height: 20px;
    width: 20px;
    border:1.5px solid #f5f6fa;
  
  }
  .img_cont{
    position: relative;
    height: 40px;
    width: 40px;
  }

  .img_cont_msg{
    height: 20px;
    width: 20px;
  }

  .online_icon{
  position: absolute;
  height: 10px;
  width:10px;
  background-color: #4cd137;
  border-radius: 50%;
  bottom: 0.02em;
  right: 0.2em;
  border:1.5px solid white;
  padding: 0.25rem;
  }

  #logo {
    width: 70px;
    height: 40px;
    transform: translateY(-10px);
  }

  #message_window form {
    display: flex;
    margin: 0;
    padding: 0rem !important;
  }

  #message_window #message_replies ul li {
    margin-left: 5px;
  }

  #message_replies {
    width: 90vw;
  }

  #finalButton { 
    width: 30vw !important; 
    margin-top: 5px !important; 
  }

}

/* Low Resolution Tablets, Mobiles (Landscape) */
@media (min-width: 481px) and (max-width: 767px) {
  #message_window footer input[type=text] {
    height: 65%;
    width: 100% !important;
  }

  .powered_by {
    height: 5vw !important;
    margin-top: 0px;
    
  }

  #logo {
    width: 40px !important;
    height: 55px !important;
    transform: translatey(0.5px) !important;
    background-color: transparent;
  }

  .card{
    height: 65vh !important;
    width: 100% !important;
    border-radius: 15px !important;
  }

  .card-header{
    border-radius: 15px 15px 0 0 !important;
    border-bottom: 0 !important;
    padding: .25rem .80rem;
  }

  .user_img{
    height: 40px;
    width: 40px;
    border:1.5px solid #f5f6fa;
  
  }

  .user_img_msg{
    height: 20px;
    width: 20px;
    border:1.5px solid #f5f6fa;
  
  }
  .img_cont{
    position: relative;
    height: 40px;
    width: 40px;
  }

  .img_cont_msg{
    height: 20px;
    width: 20px;
  }

  .online_icon{
  position: absolute;
  height: 10px;
  width:10px;
  background-color: #4cd137;
  border-radius: 50%;
  bottom: 0.02em;
  right: 0.2em;
  border:1.5px solid white;
  padding: 0.25rem;
  }

  #logo {
    width: 70px;
    height: 40px;
    transform: translateY(-10px);
    background-color: transparent;
  }

  #finalButton { 
    width: 30vw !important; 
    margin-top: 5px !important; 
  }

}

/* Smartphones Mobiles (Portrait) */
@media (min-width: 320px) and (max-width: 480px) {
  #message_window footer input[type=text] {
    height: 65%;
    width: 100% !important;
  }

  .card{
    height: 65vh !important;
    width: 100% !important;
    border-radius: 15px !important;
  }
  
  .user_img{
    height: 70px;
    width: 70px;
    border:1.5px solid #f5f6fa;
  
  }

  .user_img_msg{
    height: 40px;
    width: 40px;
    border:1.5px solid #f5f6fa;
  
  }
  .img_cont{
    position: relative;
    height: 70px;
    width: 70px;
  }

  .img_cont_msg{
    height: 40px;
    width: 40px;
  }

  .online_icon{
  position: absolute;
  height: 15px;
  width:15px;
  background-color: #4cd137;
  border-radius: 50%;
  bottom: 0.2em;
  right: 0.4em;
  border:1.5px solid white;
  }

  #finalButton { 
    width: 30vw !important; 
    margin-top: 5px !important; 
  }

}