﻿.chatcontainer {
    background: #605F61;
    width: 100%;
}

#chatboxheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

#logo {
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 3.5rem;
    margin: 0 1rem;
}

#logoimage {
    height: 3.5rem;
    width: 3.5rem;
}

a.speech-bubble-close {
    float: right;
    margin-top: -1rem;
    margin-right: -1rem;
    cursor: pointer;
    color: #fff;
    border: 0.1rem solid #AEAEAE;
    border-radius: 3rem;
    background: #605F61;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 0;
    padding: 1rem 0.3rem;
}

.speech-bubble-close:before {
    content: "×";
}

#speech-bubble,
#speech-bubble:after,
.chatbox {
    transition: all .4s ease-in-out
}

#speech-bubble,
#close-chat,
.minim-button,
.maxi-button,
.chat-text {
    font-weight: 700;
    font-family: Arial, sans-serif;
    text-align: center;
    height: 2rem;
    line-height: 2rem
}

#speech-bubble,
.chatbox {
    border: 0 solid #A8A8A8
}

    #speech-bubble:after,
    #speech-bubble:before {
        position: absolute;
        content: ""
    }

.chatbox {
    position: fixed;
    bottom: 0;
    right: 2%;
    margin: 0 0 -140rem;
    background: #f57000;
    color: #fff;
    box-shadow: 0 0 1rem #A8A8A8;
    border-bottom: none;
    z-index: 100000;
    border-radius: 0.4rem 0.4rem 0 0;
    height: 49rem;
    font: 76%/1.35em HPSimplifiedLight,'Open Sans',sans-serif !important;
}

@media only screen and (max-width: 713px) {
    .chatbox {
        height: 68%;
    }
}

.chatframe {
    width: 30rem;
    height: 45rem;
    margin: auto;
    padding: 0;
    right: 0.1rem;
    left: 0.1rem;
}

.buttonscontainer {
    margin-right: 1rem;
}

#close-chat {
    margin-left: 0.5rem;
    font-size: 2.4rem;
    width: 2rem;
    z-index: 2;
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    background: #f57000;
    text-align: center;
    font-family: Arial,sans-serif;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

#minim-chat,
#maxi-chat {
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    cursor: pointer;
    z-index: 1;
}

.minim-button {
    font-size: 2.4rem;
    width: 2rem;
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    background: #f57000;
    text-align: center;
    font-family: Arial,sans-serif;
    font-weight: 700;
    color: white;
    z-index: 1;
}

.maxi-button {
    font-size: 2.4rem;
    width: 2rem;
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    background: #f57000;
    text-align: center;
    font-family: Arial,sans-serif;
    font-weight: 700;
    color: white;
}

.logocontainer {
    height: 100%;
    display: flex;
    align-items: center;
}

.chat-text {
    font-size: 1.6rem;
    text-align: center;
    font-family: Arial,sans-serif;
    font-weight: 400;
    color: white;
}

#textChat {
    margin-top: -0.7rem;
    height: 100%;
    padding: 2.5rem 0;
    width: 116%;
    margin-left: -0.6rem;
}

#speech-bubble {
    width: 9.4rem;
    height: 12.1rem;
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    font-family: Arial,sans-serif;
    font-weight: 400;
    color: white;
    position: fixed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    bottom: 10rem;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    bottom: 0;
    right: 4rem;
    background-image: url('/Content/Images/ChatBNI.png');
    background-size: cover;
    z-index: 3;
}

    #speech-bubble:before {
        border-width: 1rem 1.1rem 0 0;
        border-color: #f57000 transparent transparent;
        left: 0.6rem;
        bottom: -1rem
    }

    #speech-bubble:after {
        border-width: 0.9rem 0.8rem 0 0;
        border-color: #f57000 transparent transparent;
        left: 0.8rem;
        bottom: -0.8rem
    }

    #speech-bubble:hover {
        -webkit-animation-name: hvr-pulse-grow;
        animation-name: hvr-pulse-grow;
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation-direction: alternate
    }

        #speech-bubble:hover:after {
            border-color: #f56200 transparent transparent !important
        }

.animated-speech-bubble {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in
}

@-webkit-keyframes tada {
    0% {
        -webkit-transform: scale(1)
    }

    10%, 20% {
        -webkit-transform: scale(.9)rotate(-3deg)
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale(1.1)rotate(3deg)
    }

    40%, 60%, 80% {
        -webkit-transform: scale(1.1)rotate(-3deg)
    }

    100% {
        -webkit-transform: scale(1)rotate(0)
    }
}

@keyframes tada {
    0% {
        transform: scale(1)
    }

    10%, 20% {
        transform: scale(.9)rotate(-3deg)
    }

    30%, 50%, 70%, 90% {
        transform: scale(1.1)rotate(3deg)
    }

    40%, 60%, 80% {
        transform: scale(1.1)rotate(-3deg)
    }

    100% {
        transform: scale(1)rotate(0)
    }
}

.tada {
    -webkit-animation-name: tada;
    animation-name: tada
}

@-webkit-keyframes hvr-pulse-grow {
    to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
}

@keyframes hvr-pulse-grow {
    to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
}

.btnOnLineRegistration {
    float: right;
    margin: 10% 10% 20% 30%;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 3rem 0 0 3rem;
    background-color: #ee6205;
    display: inline-block;
    font: 2.5rem 'Museo500',Helvetica,Arial,sans-serif;
    transition: all ease-in-out .15s;
    border: 0.1rem solid #f57000;
    text-align: center;
    height: 8.5rem;
    width: 18rem;
    margin-right: 0;
}

    .btnOnLineRegistration:hover,
    .btnOnLineRegistration:focus {
        cursor: pointer;
        background-color: #f57000;
        color: #ffffff;
        border-radius: 3rem 0 3rem 0;
    }

.btnOnLineRegistrationV2 {
    outline: none;
    float: right;
    color: #fff;
    border-radius: 0.3rem;
    background: linear-gradient(to right,#72226d,#c64097);
    display: inline-block;
    font: 1.8rem 'Museo500',Helvetica,Arial,sans-serif;
    transition: all ease-in-out .15s;
    border: none !important;
    text-align: center;
    height: 16.6rem;
    width: 11rem;
    margin-right: 0;
    animation-duration: 5s;
    animation-name: slidein;
    display: inline-block;
    background-image: url(/Content/Images/btn_adesao_online.png);
}

    .btnOnLineRegistrationV2:hover,
    .btnOnLineRegistrationV2:focus {
        color: #f3f3f3;
    }

.btnOnLineRegistrationenV2 {
    outline: none;
    float: right;
    color: #fff;
    border-radius: 0.3rem;
    background: linear-gradient(to right,#72226d,#c64097);
    display: inline-block;
    font: 1.8rem 'Museo500',Helvetica,Arial,sans-serif;
    transition: all ease-in-out .15s;
    border: none !important;
    text-align: center;
    height: 16.6rem;
    width: 11rem;
    margin-right: 0;
    animation-duration: 5s;
    animation-name: slidein;
    display: inline-block;
    background-image: url(/Content/Images/btn_adesao_online_en.png);
}

    .btnOnLineRegistrationenV2:hover,
    .btnOnLineRegistrationenV2:focus {
        color: #f3f3f3;
    }

@keyframes slidein {
    from {
        margin-left: 0%;
        width: 0;
    }

    to {
        margin-left: 100%;
        width: 11rem;
    }
}