.flex-container{display: flex}
#wpp-btn {
    background: #009688 url(img/whattsapp/wpp_icon.png) no-repeat center center;
    position: absolute;
    bottom: 20px;
    /* right: 20px; */
    right: 0px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000000000;
    bottom: 0px!important;
}

#wpp-container {
    /*width: 75px;
    height: 75px;*/
    z-index: 1000000000;
    position: fixed;
    right: 20px;
    bottom: 170px;
}

div#wpp-chat {
    width: 83%;
    height: 100%;
    background: #e5ddd5 url('img/whattsapp/bg_whatsapp.png');
    border-radius: 5px;
    font-size: 14px!important;
    display: none;
}

.shadow{
    box-shadow: 0px 0px 15px rgba(0,0,0,.15)!important;
}

div#wpp-chat .wpp-header{
     background: #d1cbc4;
     float: left;
     width: 100%;     
     
}
.wpp-container{
    display: flex;
    flex-direction: column;
    /* align-content: flex-end; */
    border-radius: 5px;
    overflow: hidden;
    /* justify-content: space-between; */
    height: 100%;
}

#wpp-chat .bg-header {
    background: #eeeeee!important;
    border-bottom: 1px solid #cdc6c1;
    padding: 1em;
    font-size: 14px;
  
    width: 100%;
}

#wpp-chat .bg-header div#close-btn {
    margin-left: auto;
    margin-top: -6px;
    cursor: pointer;
}
#wpp-chat .bg-header div#img-header img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
#wpp-chat div#img-header {
    padding-right: 10px;
}
#wpp-chat div#txt-bg-header {
    margin-top: 9px;
    font-weight: 500;
}
#enviar-sms{
    float: left;
    width: 20%;
    height: 40px;
    cursor: pointer;
}
#wpp-chat .wpp-input-container{
    padding: 1em;
    height: 100%;    
    margin: 0;
    border-radius: 5px;
    margin-top: -13px;
}
#wpp-chat .bg-footer {
    background:  url(img/whattsapp/btn_whatsapp.gif)  left center no-repeat, url(img/whattsapp/btn_whatsapp_rigth.gif) right center no-repeat, url(img/whattsapp/bg_whatsapp.gif)  left center repeat;
    padding: 1.5em 1em;
    font-size: 14px;
    height: 79px;
    width: 100%;
    margin-top: auto;
}

#wpp-chat .wpp-input-container{
    margin-left: 50px;
    width: 100%;
}
#wpp-chat .wpp-input-container input {
    color: #999;
    border: none;
    width: 80%;
    height: 48px;
    margin-top: -7px;
    background: transparent;
    float: left;
}

#wpp-chat .wpp-input-container input:focus{
  outline: 2px solid transparent;     /* oranges! yey */
}

#wpp-chat .wpp-sms{
    padding: 0.7em;
    background: #fefefe;
    margin: 20px;
    border-radius: 5px;
}

#wpp-chat .bg-content {
    align-self: flex-start;
}

@media (max-width: 600px) {
    #wpp-container {
       width: 100%;
       height: 60%;     
       left: 0;
       bottom: 0;
       min-width: 300px;
   }
   div#wpp-chat{
        position: absolute;
        z-index: 2;
   }
   #wpp-btn{
        position: absolute;
        z-index: 1;
   }
   #wpp-chat .wpp-input-container input {   
        width: 60%;
   }
}

div#wpp-container.desplegado {
    width: 46%;
    height: 60%;
}