/*El contenido de este archivo es propiedad de
Fogata Grupo Creativo S.A. www.fogatagroup.com
Todos los derechos reservados*/
body, html{
  background-color: #005495 ;
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
  top: 0;
  left: 0;
  margin: 0;

}

#draggable{
  width: 70px;
  height: 70px;
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  -webkit-transition: height 300ms ease-out;
  -moz-transition: height 300ms ease-out;
  -o-transition: height 300ms ease-out;
  transition: height 300ms ease-out;
}

.chat-btn{
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 300px;
  height: 44px;
  background-color: #005495 ;
  -webkit-box-shadow: 0 4px 14px 0 rgba(0,0,0,.4);
  -moz-box-shadow: 0 4px 14px 0 rgba(0,0,0,.4);
  box-shadow: 0 4px 14px 0 rgba(0,0,0,.4);
  cursor: pointer;
}

.chat-btn-logo{
  width: 44px;
  height: 44px;
  position: relative;
  float: left;
  background-color: rgba(0, 0, 0, 0.1);
}

.chat-btn-logo img{
  width: 44px;
  height: 44px;
}

.chat-btn-llamadas{
  width: 256px;
  height: 44px;
  position: relative;
  float: left;
  line-height: 44px;
  padding-left: 10px;
  color: #fff;
}

.has-gradient {
    background-image: -webkit-linear-gradient(to right, #ae192d, #005495 );
    background-image: -webkit-gradient(linear, left top, left bottom, from(to right), color-stop(#ae192d), to(#005495 ));
    background-image: linear-gradient(to right, #ae192d, #005495 );
    color: #fff;
}


.chats{
  top: 15px;
  left: 15px;
  position: absolute;
  width: calc( 100vw - 30px);
  height: calc( 100vh - 30px);
  border-radius: 0px;
  border-radius: 15px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 14px 0 rgba(0,0,0,.4);
  -moz-box-shadow: 0 4px 14px 0 rgba(0,0,0,.4);
  box-shadow: 0 4px 14px 0 rgba(0,0,0,.4);
  background-color: #FFF;
}

.header-chat {
    background-color: #005495 ;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #ccc;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.42);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.42);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.42);
    padding: 0 15px;
    color: #fff;
    font-weight: 300;
    line-height: 40px;
}

#bot-response, #bot-greeting, #bot-menu  {
    width: 700px;
    margin: 0 auto;
    padding: 15px;
    height: auto;
    overflow: hidden;
}

#bot-response  {
    overflow-y: scroll;
}


#bot-response::-webkit-scrollbar {
    width: 0px;  /* remove scrollbar space */
    background: transparent;  /* optional: just make scrollbar invisible */
}
/* optional: show position indicator in red */
#bot-response::-webkit-scrollbar-thumb {
    background: #FF0000;
}

#bot-response {
    -ms-overflow-style: none;  // IE 10+
    overflow: -moz-scrollbars-none;  // Firefox
}
#bot-response::-webkit-scrollbar {
    display: none;  // Safari and Chrome
}

#bot-response  {
    height: calc(100vh - 300px);
}

#bot-loading {
    width: 300px;
    height: 225px;
    position: absolute;
    top: calc( 50vh - 112px );
    left: calc( 50vw - 150px );
    padding: 83px 35px;
    /*background-color: rgba(255, 255, 255, 0.5);*/
    display: none;
    z-index: 99999;
}

.loading-bot{
  width: 30px;
  background-color: #e2e2e2;
  height: 30px;
  margin-top: 7px;
  border-radius: 30px;
  margin-right: 30px;
  float: left;
  -webkit-transition: background-color 0.2s; /* Safari */
  transition: background-color 0.2s;
  z-index: 99999;
  border: 1px solid #e2e2e2;
}

.loading-animation{
  height: 44px;
  width: 230px;
  z-index: 99999;
  position: relative;
}

.menu-chat, .menu-send{
  color: #005495 ;
  width: 46px;
  height: 60px;
  float: left;
  text-align: center;
  line-height: 60px;
  font-size: 20px;
  cursor: pointer;
  background-color: #fff;
  border-top: 2px solid #005495;
  border-bottom: 2px solid #005495;
}

.menu-chat{
  color: #005495;
  border-left: 2px solid #005495;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.menu-send{
  border-right: 2px solid #005495;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.user-text[type=text]:focus{
    outline: none;
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-top: 2px solid #005495  !important;
    border-bottom: 2px solid #005495  !important;
}


.user-text[type=text] {
    width: calc( 100% - 92px );
    padding: 13px 0;
    display: inline-block;
    box-sizing: border-box;
    font-size: 20px;
    border-radius: 0;
    font-family: 'Roboto', sans-serif;
    float: left;
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    border-top: 2px solid #005495 ;
    border-bottom: 2px solid #005495 ;
}

.greener{
  background-color: #005495 ;
}

.option-button:hover, .encuesta-response:hover {
    background-color: #005495;
    color: #fff ;
    cursor: pointer;
}

.option-button, .encuesta-response {
    border: 2px solid #005495;
    position: relative;
    height: auto;
    line-height: 26px;
    border-radius: 13px;
    padding: 5px 10px;
    font-size: 24px;
    width: auto;
    text-align: center;
    color: #005495;
    background-color: #fff;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    text-shadow: 0px 0px 0px #fff !important;
    cursor: pointer;
}

.bot-button {
    position: relative;
    border: 1px solid #fff;
    height: 26px;
    line-height: 26px;
    border-radius: 13px;
    padding: 0 10px;
    font-size: 14px;
    width: auto;
    text-align: center;
    color: #fff;
    float: left;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    text-shadow: 0px 0px 0px #fff !important;
    cursor: pointer;
}

.usr-response{
    max-width: 540px;
    border-radius: 10px;
    float: right;
    background-color: #ae192d;
    color: #fff;
    padding: 10px 12px;
    margin: 5px 0;
    font-size: 24px;
    border: 2px solid #fff;
}

.bot-response, .fogata-bot-response{
    background-color: #005495 ;
    max-width: 540px;
    border-radius: 10px;
    float: left;
    color: #fff;
    padding: 10px 12px;
    margin: 5px 0;
    font-size: 24px;
    border: 2px solid #fff;
}

#bot-webchat-title{
  width: 100%;
}

#bot-webchat-title img{
  width: 100px;
  margin-left: calc(50% - 50px);
  text-align: center;
}


/*Fogata Lead*/

#fogata-bot-lead {
  margin-top: 0;
}

#fogata-bot-lead fieldset{
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline;
  border: none;
}

.fogata-bot-inputContainer{
  width: 100%;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: 400;
}

.fogata-bot-input {
    width: 100% !important;
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
    margin: 0 0 6px !important;
    font-size: 14px !important;
    color: #000 !important;
    line-height: 40px;
    height: 40px !important;
    padding: 0 10px !important;
    box-shadow: 0 0 0 2px transparent, 0 1px 0 rgba(0,0,0,.08) inset !important;
    transition: all 0.3s !important;
    background-color: #fff !important;
    -webkit-appearance: textfield !important;
    -webkit-rtl-ordering: logical !important;
    cursor: text !important;
    text-rendering: auto !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-indent: 0px !important;
    text-shadow: none !important;
    display: inline-block !important;
    text-align: left !important;
    -webkit-writing-mode: horizontal-tb !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.fogata-bot-start{
  height: 40px !important;
  line-height: 40px !important;
  text-align: center !important;
  border-radius: 5px !important;
  color: #fff !important;
  width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
  border: none !important;
  background-color: #00879d ;
  font-size: 14px !important;
}



/*Fogata Gallery*/

.fogata-gallery{
  width: 224px;
  float: left;
  overflow: hidden;
  position: relative;
}

.fogata-scroll{
  float: left;
}

.fogata-tile{
  width: 224px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  float: left;
}

.fogata-controls{
  width: 224px;
  top: 90px;
  height: 40px;
  left: 0;
  position: absolute;
  z-index: 99;
}

.fogata-left-control, .fogata-right-control{
  background-color: #fff;
  border: 1px solid #e2e2e2;
  opacity: 0.3;
  text-align: center;
  line-height: 40px;
  width: 40px;
  transition: all 0.3s;
}

.fogata-left-control i, .fogata-right-control i{
  color: #ff1000;
  font-size: 16px;
}

.fogata-left-control:hover, .fogata-right-control:hover{
  opacity: 1;
}

.fogata-left-control{
  float: left;
}

.fogata-right-control{
  float: right;
}

.fogata-right-position{
  right: 270px;
}

@media (max-width:767px) {
  .logos-bot{
    display: none;
  }
  #bot-response, #bot-greeting, #bot-menu  {
      width: 360px;
  }

  .usr-response{
      font-size: 18px;
  }

  .bot-response, .fogata-bot-response{
      font-size: 18px;
  }

  .option-button, .encuesta-response {
      font-size: 18px;
  }

  #bot-response  {
      height: calc(100vh - 250px);
  }

}

@media (max-width:360px) {
  #bot-response, #bot-greeting, #bot-menu  {
      width: 320px;
  }

}

@media (max-width:320px) {
  #bot-response, #bot-greeting, #bot-menu  {
      width: 290px;
  }

}
