﻿iframe {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    outline: none;
    border: none;
}

.box-input input {
    border: none;
    border-bottom: 1px solid #FFFFFF;
    height: 30px;
    line-height: 30px;
    margin-right: 15px;
}

.box-input.-op2 {
    position: relative;
    margin-bottom: 20px;
}


    .box-input.-op2:before {
        -webkit-transition: .3s cubic-bezier(0, 1, 1, 1) all;
        transition: .3s cubic-bezier(0, 1, 1, 1) all;
        content: '';
        display: block;
        position: absolute;
        background-color: #66b7d9;
        bottom: 0;
        left: 0;
        height: 1px;
        width: 0;
    }

    .box-input.-op2.preenchido label,
    .box-input.-op2.focus label {
        bottom: 32px;
        font-size: 12px;
        font-weight: 600;
        color: #60605d;
    }

    .box-input.-op2.preenchido:before,
    .box-input.-op2.focus:before {
        width: 100%;
        height: 2px;
    }

    .box-input.-op2.preenchido label {
        bottom: 32px;
        font-size: 12px;
        font-weight: 600;
    }

    .box-input.-op2.preenchido.-money:after {
        content: 'R$';
        position: absolute;
        top: 8px;
        left: 0;
    }

    .box-input.-op2.preenchido.-money input {
        padding-left: 40px;
    }

    .box-input.-op2.preenchido.-tax:after {
        content: '%';
        position: absolute;
        top: 8px;
        left: 0;
    }

    .box-input.-op2.preenchido.-tax input {
        padding-left: 40px;
    }

    .box-input.-op2 input {
        -webkit-transition: .1s all ease-in;
        transition: .1s all ease-in;
        height: 35px;
        line-height: 35px;
        width: 100%;
        font-size: 15px;
        border-bottom: 1px solid #60605d;
        outline: none;
    }

    .box-input.-op2 label {
        margin-bottom: 0;
    }

    .box-input.-op2 input + label {
        -webkit-transition: .2s cubic-bezier(0, 1.3, 1, 1) all;
        transition: .2s cubic-bezier(0, 1.3, 1, 1) all;
        position: absolute;
        left: 0;
        bottom: 8px;
        pointer-events: none;
        font-weight: 300;
        font-size: 15px;
        color: #adadab;
    }

.box-textarea {
    margin-bottom: 20px;
}

    .box-textarea textarea {
        width: 100%;
        padding-top: 10px;
        padding-left: 10px;
        height: 105px;
    }

textarea {
    resize: none;
}

.btn, .btn:hover, .btn:active, .btn:focus, .btn:link {
    height: 30px;
    line-height: 30px;
    padding: 0 30px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    background-color: #ebb92d;
    display: inline-block;
    border-radius: 0;
}


.box-fale-corretor {
    /*background-color: #821b14;*/
    overflow: hidden;
    position: fixed;
    bottom: 0;
    /*    right: 40px;*/
    z-index: 999;
    height: 70px;
    max-width: 400px;
    -webkit-transition: .3s all ease-out;
    transition: .3s all ease-out;
    left: 50%;
    transform: translate(-50%, 0);
}

    /*.box-fale-corretor .vendas {
        display: flex;
    }

        .box-fale-corretor .vendas label {
            font-size: 16px;
        }

        .box-fale-corretor .vendas img {
            height: 25px;
            margin: 0 10px 0 6px;
        }

        .box-fale-corretor .vendas .title {
            font-size: 12px;
        }*/

    .box-fale-corretor.unfixed {
        display: inline-table;
        position: absolute;
        margin-top: 20px;
        margin-bottom: -95px;
        z-index: 1;
    }

    .box-fale-corretor.hide {
        margin-bottom: -95px;
        opacity: 0;
    }

    .box-fale-corretor.active {
        height: 70px;
    }

        .box-fale-corretor.active .open-fale-corretor .icon img {
            transform: rotate(0);
            -ms-transform: rotate(0);
            -webkit-transform: rotate(0);
        }

    .box-fale-corretor .open-fale-corretor {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-align-items: center;
        -moz-align-items: center;
        -ms-align-items: center;
        -o-align-items: center;
        align-items: center;
        float: left;
        width: 100%;
        text-align: center;
        font-weight: 600;
        color: white;
        height: 70px;
        background-color: rgb(215,65,39);
        padding: 20px;
        font-size: 13px;
        line-height: 16px;
    }

        .box-fale-corretor .open-fale-corretor .icon {
            margin-left: 10px;
        }

            .box-fale-corretor .open-fale-corretor .icon img {
                transform: rotate(180deg);
                -ms-transform: rotate(180deg);
                -webkit-transform: rotate(180deg);
                -webkit-transition: .3s all ease-out;
                transition: .3s all ease-out;
            }

    .box-fale-corretor ul {
        margin-bottom: 0;
        height: 0;
        padding: 0;
        width: 370px;
        max-width: 100%;
    }

        .box-fale-corretor ul li {
            float: left;
            width: auto;
            height: 70px;
            width: 25%;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-bottom: 0;
            border-right: 1px solid #d74127;
            font-size: 13px;
            list-style: none;
            display: -webkit-flex;
            display: -moz-flex;
            display: -ms-flex;
            display: -o-flex;
            display: flex;
            -webkit-align-items: center;
            -moz-align-items: center;
            -ms-align-items: center;
            -o-align-items: center;
            align-items: center;
            -webkit-justify-content: center;
            -moz-justify-content: center;
            -ms-justify-content: center;
            -o-justify-content: center;
            justify-content: center;
            -webkit-flex-direction: column;
            -moz-flex-direction: column;
            -ms-flex-direction: column;
            -o-flex-direction: column;
            flex-direction: column;
            background-color: #821b14;
        }

            .box-fale-corretor ul li.vendas {
                width: 75%;
                background-color: #d74127;
            }

            .box-fale-corretor ul li.vendas label {
                display: inline-block;
            }

            .box-fale-corretor ul li.vendas .icon {
                display: inline-block;
            }

            .box-fale-corretor ul li.vendas .title {
                display: inline-block;
                font-size: 20px;
            }


            .box-fale-corretor ul li:last-of-type {
                border-right: none;
            }

            .box-fale-corretor ul li.chat .icon {
                margin-right: -14px;
                width: 100%;
                position: relative;
            }

                .box-fale-corretor ul li.chat .icon .pin-active {
                    width: 10px;
                    height: 10px;
                    border-radius: 5px;
                    background-color: #FFF;
                    position: absolute;
                    top: 5px;
                    right: 0;
                    left: 40px;
                    margin: auto;
                    display: none;
                }

    /*.box-fale-corretor ul li.vendas > div {
    float: left;
    width: 100px;
}

    .box-fale-corretor ul li.vendas > div > a {
        font-size: 20px;
        font-weight: 300;
        margin-top: 26px;
        float: left;
    }*/

    .box-fale-corretor a, .box-fale-corretor a:active, .box-fale-corretor a:link, .box-fale-corretor a:hover, .box-fale-corretor a:focus {
        outline: 0;
        text-decoration: none;
        color: #fff;
    }

    .box-fale-corretor ul li .icon {
        height: 40px;
        line-height: 40px;
    }

    /*.box-fale-corretor ul li .icon img {
        display: inline-block;
        vertical-align: middle;
        font-size: 13px;
    }*/

    .box-fale-corretor ul li.vendas .icon img {
        height: 23px;
    }

    .box-fale-corretor ul li.mail .icon img {
        height: 18px;
    }


#email {
    overflow-x: hidden;
    /*min-height: 410px;*/
    display: none;
    position: fixed;
    width: 325px;
    /*right: 40px;*/
    bottom: 0;
    margin: auto;
    z-index: 999;
    background-color: #fff;
    /*border: 1px solid #e6e6e6;*/
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color=#000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color=#000000)";
    left: 50%;
    transform: translate(-50%, 0);
}

    #email .header-email {
        height: 30px;
        background-color: #d74127;
        color: white;
        padding-left: 15px;
        position: relative;
        margin: -1px;
    }


        #email .header-email div {
            line-height: 30px;
            font-size: 13px;
            font-weight: 600;
        }

            #email .header-email div span {
                margin-right: 5px;
            }

        #email .header-email .close-email {
            position: absolute;
            right: 0;
            top: 0;
            line-height: 30px;
            height: 30px;
            width: 30px;
            text-align: center;
            background-color: #821b14;
            display: flex;
            justify-content: center; /* Centraliza horizontalmente */
            align-items: center; /* Centraliza verticalmente */
        }

    #email .buttons-box {
        display: none;
    }

        #email .buttons-box.active {
            display: block;
        }


    #email .body-email {
        overflow: auto;
        font-size: 13px;
        padding: 20px;
    }

        #email .body-email form {
            display: none;
        }

            #email .body-email form.active {
                display: block;
            }

        #email .body-email::-webkit-scrollbar-track {
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
            background-color: #F5F5F5;
        }

        #email .body-email::-webkit-scrollbar {
            width: 12px;
            background-color: #F5F5F5;
        }

        #email .body-email::-webkit-scrollbar-thumb {
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
            background-color: #adadab;
        }


        #email .body-email form {
            text-align: center;
        }

            #email .body-email form .box-anexar {
                text-align: left;
            }

            #email .body-email form input {
                margin: 0;
                outline: none;
            }

                #email .body-email form input[type="submit"] {
                    border: 0;
                }

            #email .body-email form .errorMsg {
                margin-top: 15px;
                color: red;
                font-weight: bold;
            }

        #email .body-email .linha-msg {
            display: block;
            margin-bottom: 5px;
        }

            #email .body-email .linha-msg .msg {
                text-align: left;
                padding: 10px 10px;
                display: inline-block;
            }

                #email .body-email .linha-msg .msg.sending {
                    font-size: 24px;
                    line-height: 8px;
                }

                #email .body-email .linha-msg .msg.sendin:after {
                    animation-name: sending;
                    animation-duration: 2s;
                }

            #email .body-email .linha-msg.recebida {
                text-align: left;
            }

                #email .body-email .linha-msg.recebida .msg {
                    background-color: #e6e6e6;
                    color: #60605d;
                }

            #email .body-email .linha-msg.enviada {
                text-align: right;
            }

                #email .body-email .linha-msg.enviada .msg {
                    margin-top: 5px;
                    margin-bottom: 5px;
                    background-color: #66b7d9;
                    color: white;
                }

    #email .btn-iniciar-atendimento {
        height: 30px;
        line-height: 26px;
        display: inline-block;
        border: 1px solid #adadab;
        padding: 0 15px 0 20px;
        margin-top: 7px;
        margin-right: 5px;
        margin-bottom: 15px;
        font-weight: 600;
        font-size: 15px;
    }

        #email .btn-iniciar-atendimento img {
            display: inline-block;
            vertical-align: middle;
            margin-right: 10px;
        }

    #email .box-envia-msg {
        border-top: 1px solid #e6e6e6;
        height: 40px;
    }

        #email .box-envia-msg img {
            position: absolute;
            right: 5px;
            bottom: 5px;
            transform: rotate(90deg);
            max-width: 30px;
            cursor: pointer;
        }

        #email .box-envia-msg input {
            border: none;
            padding-left: 15px;
            padding-top: 0px;
            font-size: 13px;
            height: 40px;
            box-sizing: border-box;
            width: 100%;
            padding-right: 35px;
        }


@media (max-width: 812px) {
    .box-fale-corretor {
        max-width: 100%;
        /*left: 0;
        right: 0;*/
        width: 100%;
    }

    .medidas {
        font-size: 14px;
    }

    .box-fale-corretor .open-fale-corretor {
        height: 50px;
    }

    .box-fale-corretor ul {
        width: 100%;
    }

    #email {
        width: 100%;
        /*left: 0px;*/
        margin-left: 0px;
        max-height: 100%;
        overflow-y: auto;
    }
}

@media (max-height: 480px) {
    .box-fale-corretor {
        max-width: 100%;
        left: 0;
        right: 0;
        width: 100%;
    }

        .box-fale-corretor.active {
            height: 95px;
        }

        .box-fale-corretor .open-fale-corretor {
            float: left;
            width: 100%;
            display: block;
            text-align: center;
            font-weight: 600;
            color: white;
            height: 35px;
            line-height: 35px;
            background-color: rgba(215,65,39,0.9);
            padding-right: 10px;
            font-size: 11px;
            padding: 0;
        }

        .box-fale-corretor ul li {
            background-color: #821b14;
            width: 50%;
            height: 60px;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-bottom: 0;
            border-top: 2px solid #d74127;
            border-right: 2px solid #d74127;
            font-size: 11px;
        }

            .box-fale-corretor ul li .icon {
                height: auto;
                line-height: 0;
                height: 23px;
                line-height: 23px;
                margin-bottom: 3px;
            }

    #email {
        width: 100%;
        left: 0px;
        margin-left: 0px;
        max-height: 100%;
        overflow-y: auto;
    }
}
