@import url('../../../../Chat/public/css/flaty/asc_temas.css');
/********************************************* FONTES *********************************************/
@font-face {
    font-family: 'FontAwesomeChatBot';
    src: url('../../fontawesome/FontAwesome.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    font-weight: 100;
    src: url('../../poppins/Poppins-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 200;
    src: url('../../poppins/Poppins-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 300;
    src: url('../../poppins/Poppins-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    src: url('../../poppins/Poppins-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    src: url('../../poppins/Poppins-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 900;
    src: url('../../poppins/Poppins-ExtraBold.ttf') format('truetype');
}

/********************************************* DIV PRINCIPAL *********************************************/
#chatBot {
    position:fixed;
    width:360px;
    height:100%;
    //height:540px;
    z-index:999999999999999999999;
    right:1%;
    border:none;
    bottom: 0;
}

@media screen and (min-height: 501px) and (max-height: 520px) {
    #chatBot {
        height: 80vh !important;
    }
}

/*@media screen and (max-width: 480px) and (max-height: 500px) {
    #chatBot {
        width:100%!important;
        height:80vh;
    }
}*/

/*@media (max-device-width: 480px) {
    #chatBot {
        bottom: 57px !important;
    }
}*/
@media screen and (max-width: 480px), screen and (max-height: 500px) {
    #chatBot {
        width:100%!important;
        height:83vh !important;
    }
}

/********************************************* BOTÃO ABRIR CHAT *********************************************/
#btnChatFlt {
    position: fixed;
    right: 1%;
    bottom: 0;
    z-index: 99999;
    background-color: #ffc41f;
    color: #333;
    display: inline-block;
    padding: 1px 10px;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 15px 15px 0 0;
    font-family:"Poppins", Sans-serif;
    font-weight:300;
    font-size:12px;
    letter-spacing:1px;
    text-rendering: geometricPrecision;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

#btnChatFlt:hover {
    /*background-color: #017cdb;*/
}

#btnChatFlt > img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border:0;
    /*padding:10px;*/
}

#btnChatFlt > span {
    vertical-align: middle;
    padding:0 10px;
}

#divBtnChtflt.skin-magenta #btnChatFlt {
    background-color:#e1a1ef!important;
}
#divBtnChtflt.skin-blue #btnChatFlt {
    background-color:#b6d1f2!important;
}
#divBtnChtflt.skin-red #btnChatFlt {
    background-color:#f7a1a1!important;
}
#divBtnChtflt.skin-green #btnChatFlt {
    background-color:#ade8a1!important;
}
#divBtnChtflt.skin-orange #btnChatFlt {
    background-color:#f8cd92!important;
}
#divBtnChtflt.skin-yellow #btnChatFlt {
    background-color:#f4f190!important;
}
#divBtnChtflt.skin-pink #btnChatFlt {
    background-color:#f49ed8!important;
}
#divBtnChtflt.skin-gray #btnChatFlt {
    background-color:#bbb!important;
}
#divBtnChtflt.skin-black #btnChatFlt {
    background-color:#555!important;
}

/********************************************* CHAT ABERTO *********************************************/
#abaChatBot {
    width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#abaChatBot .box {
    display: block;
    border: 2px solid #fff;
    margin-right: 5px;
    background: #fff;
}

#abaChatBot .chtflt-box-title {
    background-color:#ffc41f;
    color: #333;
    padding:5px 20px 20px 0;
    border-radius:15px 15px 0 0;
    height:30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    cursor: move;
    z-index: 999999
}

#chatBot.skin-magenta .chtflt-box-title {
    background-color:#e1a1ef!important;
}
#chatBot.skin-blue .chtflt-box-title {
    background-color:#b6d1f2!important;
}
#chatBot.skin-red .chtflt-box-title {
    background-color:#f7a1a1!important;
}
#chatBot.skin-green .chtflt-box-title {
    background-color:#ade8a1!important;
}
#chatBot.skin-orange .chtflt-box-title {
    background-color:#f8cd92!important;
}
#chatBot.skin-yellow .chtflt-box-title {
    background-color:#f4f190!important;
}
#chatBot.skin-pink .chtflt-box-title {
    background-color:#f49ed8!important;
}
#chatBot.skin-gray .chtflt-box-title {
    background-color:#bbb!important;
}
#chatBot.skin-black .chtflt-box-title {
    background-color:#555!important;
}

#abaChatBot .chtflt-box-title .chtflt-box-tool {
    float: right;
}

#abaChatBot .chtflt-box-title .chtflt-box-tool a {
    text-decoration: none;
    color:#fff;
}

.chtflt-fechar {
    display: inline-block;
    cursor:pointer;
    font-style: normal;
    font-size:16px;
}

.chtflt-fechar:before {
    font-family:"FontAwesomeChatBot";
    content: "\f00d"/*"\f068"*/;
}

#closeChatBot {
    /*position: absolute;*/
    /*right:20px;*/
    /*top:8px;*/
}

#abaChatBot .chtflt-box-title span {
    /*font-size:16px;*/
    /*line-height: 1.42857143;*/
    /*letter-spacing: 2px;*/
    /*text-transform: uppercase;*/
}

/********************************************* IFRAME *********************************************/
#bodyIframe {
    padding:0 0px 0 0px;
    width:100%;
    height:100%;
    /*background-color:#fff;*/
}

#iframeChatBot {
    width:100%;
    height:100%;
    /*height:510px;*/
    /*border:1px solid #fff;*/
    border: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.chtflt-box {
    height:100%;
}

/********************************************* MOBILE *********************************************/
@media screen and (max-width: 480px), screen and (max-height: 500px) {
    #chatBot {
        position:fixed;
        z-index:9999999999999999999999;
        right:0;
        border:none;
        top:inherit;
        bottom: 0;
        /*background: #fff;*/
        width:100%!important;
        height:80vh;
    }
    #iframeChatBot {
        height:80vh!important;
    }
}