﻿body {
    margin: 0;
    font-family: Arial;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
    width: 100%;
    background: #F2F2F2;
}

.panel {
    padding-right: 1rem;
    padding-left: 1rem;
    position: absolute;
    height: 100%;
    width: 550px;
    background-image: linear-gradient(45deg, #e5f5fc, #f8fbe5);
}

.welcomemessage {
    margin-top: 2rem;
    color: black;
}

.divInfo {
    margin-top: 3rem;
}

.iniciochat {
    margin-top: 4rem;
}

.images {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .images img {
        width: 170px;
        height: 170px;
    }

.textbox {
    border: 1px solid #165a9f;
    width: 93%;
    border-radius: 10px;
    padding: 0.7rem;
    color: gray;
    text-align: center;
}

.fields {
    display: flex;
    flex-direction: column;
}

.field {
    margin: .5rem;
}

.checkbox {
    color: gray;
}

.message {
    margin-top: 1rem;
    text-align: justify;
    width: 100%;
    margin-bottom: 2rem;
}

.title {
    font-weight: 100;
    font-size: 12px;
    text-align: start;
    color: black;
}

.info {
    color: black;
    font-weight: 100;
    font-size: 12px;
}

.divbtn {
    display: flex;
    align-content: center;
    justify-content: space-evenly;
}

.btn {
    background-color: #165a9f;
    border: none;
    border-radius: 1rem;
    padding: .5rem;
    color: white;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
    width: 200px;
}

.button {
    background-color: #c6d400;
    border: none;
    border-radius: 1rem;
    padding: .5rem;
    color: #1c3583;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

div#chatPanel {
    position: absolute;
    width: 550px;
    height: 100%;
}

#webchat_chat_area {
    width: 100%;
    height: 100%;
}

.header-chat {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

.webchat_history {
    font-family: Arial;
    font-size: 13px;
    border-top: 1px solid;
    color: #6B6267;
    width: 100%;
    height: 78%;
    overflow-x: auto;
    overflow-y: scroll;
    position: relative;
    background-color: white;
}

.text_area_division {
    height: 11%;
}

.msgs {
    display: flex;
    align-items: end;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.msgc {
    display: flex;
    justify-content: right;
    align-items: end;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.msgs img {
    width: 25px;
    height: 30px;
}

.msgc img {
    width: 35px;
    height: 35px;
}

.messageServer {
    width: 70%;
    margin-left: 1rem;
    background: #f4f4f4;
    color: #404040;
    padding: 1rem 1rem 1.4rem 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
    position: relative;
}

.messageCustomer {
    width: 70%;
    margin-right: 1rem;
    background: #165a9f;
    color: white;
    padding: 1rem 1rem 1.4rem 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
    position: relative;
}

.time {
    position: absolute;
    right: 15px;
    bottom: 5px;
    font-size: 10px;
}


a {
    color: #1c3583;
    word-break: break-word;
}

.divbuttons {
    text-align: center;
    position: absolute;
    display: flex;
    overflow-x: auto;
    bottom: 0;
    padding-bottom: .5rem;
    width: 100%;
}

.divbuttons_sticky {
    background-color: white;
    text-align: center;
    position: sticky;
    display: flex;
    overflow-x: auto;
    bottom: 0;
    padding-top: .5rem;
    padding-bottom: .5rem;
    width: 100%;
}

.cannedbutton {
    border: 2px solid #c6d400;
    color: #1c3583;
    background: white;
    padding-top: .4rem;
    padding-bottom: .4rem;
    padding-right: 3rem;
    padding-left: 3rem;
    border-radius: 1rem;
    margin-left: .5rem;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.divexit {
    margin-right: 10px;
}

    .divexit img {
        width: 30px;
        height: 30px;
    }

.divBOT {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

    .divBOT img {
        width: 100px;
        height: 60px;
    }

.btnexit {
    background: none;
    border: none;
    padding: 0px;
    color: gray;
    font-size: 15px;
}

.divtext {
    background-color: #CCCCCC;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 11.8%
}

    .divtext textarea {
        width: 70%;
        height: 50px;
        border-radius: 10px;
        resize: none;
        padding: 10px;
        outline: none;
    }

divtext textarea::placeholder {
    color: lightgray;
}

textarea:placeholder-shown {
    font-style: italic;
}

textarea:focus {
    border: 2px solid gray;
}

.divAttach {
    background-color: #F0F0F0;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: left;
    justify-content: center;
    align-items: center;
    height: 65px;
}

input.chatUpload {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    top: -50px;
    left: -50px;
    z-index: -1;
}

    input.chatUpload + label {
        background: none;
        border: none;
        color: white;
        background-color: #c6d400;
        height: 30px;
        width: 300px;
        padding: 2px;
        cursor: pointer;
        text-align: center;
        border-radius: 5px;
        font-size: 12px;
        display: inline-block;
        cursor: pointer;
    }

.modal-container-help {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-help {
    width: 35%;
    height: 70%;
    background: white;
    border-radius: 1rem;
    position: relative;
    transition: transform 1s;
    transform: translateY(0);
    display: flex;
    justify-content: center;
    align-items:center
}

    .modal-help .btnsconfirm {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    .modal-help img {
        margin: 15px;
        width: 90%
    }

    .modal-close-help {
        transform: translateY(-200%);
    }

.modal-container {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-exit {
    width: 300px;
    height: 20%;
    background: white;
    border-radius: 1rem;
    position: relative;
    transition: transform 1s;
    transform: translateY(0);
    overflow: hidden
}

    .modal-exit .title {
        font-weight: 100;
        font-size: medium;
        text-align: center;
        color: white;
        background-color: #165a9f;
        padding: 5px;
        margin: 0;
    }

    .modal-exit p {
        margin-left: 5px;
        font-size: 13px;
    }

.modal-close-exit {
    transform: translateY(-200%);
}

.modal-container-conditions {
    opacity: 1;
    visibility: visible;
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-conditions {
    width: 300px;
    height: 20%;
    background: white;
    border-radius: 1rem;
    position: relative;
    transition: transform 1s;
    transform: translateY(0);
    overflow: hidden
}

    .modal-conditions .title {
        font-weight: 100;
        font-size: medium;
        text-align: center;
        color: white;
        background-color: #165a9f;
        padding: 5px;
        margin: 0;
    }

    .modal-conditions p {
        margin-left: 5px;
        font-size: 10px;
    }

.modal-container-menu {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: end;
    align-items: center;
}

.modal-menu {
    width: 50%;
    height: 44%;
    background: white;
    border: 2px solid #1c3583;
    border-radius: 1rem;
    position: relative;
    transition: transform 1s;
    transform: translateX(0);
    margin-right: 1rem;
}

.modal-close-menu {
    transform: translateX(200%);
}

.menu {
    display: flex;
    flex-direction: column;
}

.options {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .options img {
        width: 15px;
        height: 15px;
    }

.option {
    background: none;
    border: none;
    border-top: 2px solid lightgray;
    height: 45px;
    text-align: left;
    color: gray;
    width: 100%;
}

.last {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.option:hover {
    background: lightgray;
}

.btnsconfirm {
    display: flex;
    justify-content: space-between;
    padding-right: 1rem;
    padding-left: 1rem;
	position: absolute;
    bottom: 10px;
    width: 90%;
}

.wc_submit {
    margin-left: 1rem;
    background-image: url('../img/icons8-email-send-40.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #c6d400;
    width: 50px;
    height: 50px;
    padding: 1rem;
    border: none;
    border-radius: 50%;
    color: white;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.btnMenu {
    margin-left: 1rem;
    background-image: url('../img/icons8-menu-30.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #1c3583;
    width: 50px;
    height: 50px;
    padding: 1rem;
    border: none;
    border-radius: 50%;
    color: white;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.btnAttach {
    margin-left: 1rem;
    background-image: url('../img/icons8-attach-30.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #c6d400;
    width: 50px;
    height: 50px;
    padding: 1rem;
    border: none;
    border-radius: 50%;
    color: white;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.btnCancel {
    margin-left: 1rem;
    background-image: url('../img/icons8-cancel-30.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #c6d400;
    width: 50px;
    height: 50px;
    padding: 1rem;
    border: none;
    border-radius: 50%;
    color: white;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.btnSend {
    margin-left: 1rem;
    background-image: url('../img/icons8-upload-30.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #c6d400;
    width: 50px;
    height: 50px;
    padding: 1rem;
    border: none;
    border-radius: 50%;
    color: white;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

.call_me.bodymessage {
    margin-bottom: 20px;
}

.balls {
    display: flex;
    margin: 1rem;
}

.firstball {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c6d400;
    margin-right: 3px;
    animation: bounce 1s ease-in;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(.5,0.05,1,.5);
    animation-iteration-count: infinite;
}

.secondball {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c6d400;
    margin-right: 3px;
    animation: bounce 1s ease-in;
    animation-delay: 0.5s;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(.5,0.05,1,.5);
    animation-iteration-count: infinite;
}

.thirdball {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c6d400;
    margin-right: 3px;
    animation: bounce 1s ease-in;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(.5,0.05,1,.5);
    animation-iteration-count: infinite;
}

@keyframes bounce {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, 5px, 0);
        background: white;
    }
}

.footer {
    position: absolute;
    bottom: 0px;
    right: 5px;
}

    .footer img {
        width: 110px;
    }

@media only screen and (max-width: 1200px) {
    .modal-exit {
        width: 30%;
    }
}

@media only screen and (max-width: 1100px) {
    .modal-help {
        width: 45%;
        height: 70%
    }

    .modal-exit {
        width: 30%;
    }
}

@media only screen and (max-width: 1000px) {
    .modal-help {
        width: 55%;
        height: 70%
    }

    .modal-exit {
        width: 30%;
    }
}

@media only screen and (max-width: 900px) {
    .modal-help {
        width: 60%;
        height: 70%
    }

    .modal-exit {
        width: 35%;
    }
}

@media only screen and (max-width: 800px) {
    .modal-help {
        width: 65%;
        height: 70%
    }

    .modal-exit {
        width: 40%;
    }
}

@media only screen and (max-width: 750px) {
    .modal-help {
        width: 70%;
        height: 70%
    }

    .modal-exit {
        width: 45%;
    }
}

@media only screen and (max-width: 700px) {
    .modal-help {
        width: 75%;
        height: 70%
    }

    .modal-exit {
        width: 50%;
    }
}

@media only screen and (max-width: 645px) {
    .modal-help {
        width: 80%;
        height: 70%
    }

    .modal-exit {
        width: 50%;
    }
}

@media only screen and (max-width: 615px){
    .modal-help {
        width: 85%;
        height: 70%
    }

    .modal-exit {
        width: 50%;
    }
}

@media only screen and (max-width: 595px) {
    .modal-help {
        width: 85%;
        height: 65%
    }

    .modal-exit {
        width: 60%;
    }
}

@media only screen and (max-width: 520px){
    .panel{
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    div#chatPanel{
        width: 100%;
    }

    .welcomemessage{
        margin-left: 5px;
    }

    .message{
        padding: 5px;
        width: 95%;
    }

    .modal-help {
        width: 90%;
        height: 60%
    }

    .modal-exit{
        width: 70%;
    }
}

@media only screen and (max-width: 380px) {
    .modal-exit {
        width: 75%;
        height: 26%;
    }

    .btn {
        width: 170px;
    }
}