.contador_sub_count {
    float: right;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-left: 1em;
    background: #fff;
    height: 29px;
    width: 69px;
    margin-top: .1em;
}

.contador_sub_count button {
    color: #9a9a9a;
    float: left;
    background: transparent;
    font-size: 9px;
    padding: 6px;
}

.cont_total_sub {
    font-size: 13px;
    padding-top: .4em;
    float: left;
    width: 1.8em;
    border: 0;
    color: #949494;
    text-align: center;
}

.contador_count {
    border: 1px solid #eee;
    border-radius: 5px;
    float: left;
    margin-left: 1em;
    margin-bottom: 10px;
    min-width: 98px;
    background: #fff;
}

.contador_count button {
    color: #9a9a9a;
    float: left;
    background: transparent;
    font-size: 9px;
}

.cont_total {
    font-size: 14px;
    padding-top: .5em;
    float: left;
    width: 1.8em;
    border: 0;
    color: #949494;
    text-align: center;
}

@media screen and (max-width: 535px) {
    .contador_count,
    .contador_count2 {
        margin: 1px auto 4px auto;
    }
    .caixa_chat {
        width: calc(100% - 2em) !important;
        bottom: 0 !important;
        right: 0 !important;
        height: calc(100% - 2em) !important;
        margin: 1em !important;
    }
    .cont_chat {
        height: calc(100% - 76px) !important;
    }
    .listChatConvs {
        margin: 0 !important;
    }
    .listaMensagens {
        margin: 0 !important;
    }
}

.contador_count2 {
    border: 1px solid #eee;
    border-radius: 5px;
    float: left;
    width: 44px;
    margin-right: 10px;
}

.contador_count2 button {
    color: #9a9a9a;
    float: left;
    background: transparent;
    font-size: 9px;
    width: 100%;
}

.cont_total2 {
    font-size: 14px;
    float: left;
    width: 100%;
    border: 0;
    color: #949494;
    text-align: center;
}

.btn_coment {
    box-shadow: #1c4dd8 0px 0px 2px;
    padding: 6px 10px;
    margin-top: 5px;
}

.totalPed {
    margin-top: -0.4em;
    font-size: 15px;
}

.totalPed span {
    font-weight: 600;
    color: #ea4949;
}

.totalPed_span {
    float: right;
    margin-top: 13px;
}

.btn_inicia_chat {
    position: fixed;
    bottom: 5em;
    right: 2em;
    background: #36ab28;
    box-shadow: 0px 0px 2px #25a742;
    color: #fff;
    font-family: arial;
}

.btn_inicia_chat i {
    font-size: 20px;
}

.caixa_chat {
    background: #fff;
    position: fixed;
    right: 1em;
    bottom: 4.8em;
    width: 19em;
    box-shadow: 0px 0px 2px #000;
    border-radius: 5px;
    z-index: 999999;
    display: none;
}

.cont_chat {
    height: 21em;
    overflow: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

.caixa_chat textarea:focus,
.caixa_chat textarea:active,
.caixa_chat textarea:focus-visible {
    border: 1px solid #bfbfbf;
    outline: -webkit-focus-ring-color auto 0px;
}

.caixa_chat textarea {
    margin-top: 0px;
    max-height: 100px;
    min-height: 35px;
    width: calc(100% - 41px);
    height: 35px;
    border: 1px solid #d6d6d6;
    margin-left: 0px;
    margin-bottom: -5px;
    border-radius: 5px;
}

.header_chat i {
    float: right;
    margin-top: 1px;
    font-size: 20px;
    cursor: pointer;
}

.footer_chat i {
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    margin: 0 auto;
}

.header_chat {
    height: 40px;
    background: #e6e6e6;
    border-radius: 5px 5px 0px 0px;
    padding: 8px;
    border-bottom: 1px solid #b9b9b9;
}

.cont_chat p {
    margin-bottom: 0;
    margin-top: 0;
    float: left;
    width: 100%;
    position: relative;
}

.msg_vindo label {
    background: #eaeaea;
    padding: 5px 15px;
    border-radius: 5px;
    color: #808080;
    max-width: calc(100% - 44px);
    margin-left: 42px;
}

.msg_indo label {
    float: right;
    margin-right: 5px;
    background: #dcf8c6;
    padding: 5px 15px;
    border-radius: 5px;
    color: #565656;
}

.msg_vindo img {
    width: 35px;
    margin-left: 3px;
    border-radius: 5px;
    margin-top: 1px;
    box-shadow: 0px 0px 2px #696969;
    top: 0;
    left: 0;
}

.listChatConvs {
    background: #f0f2f7;
    margin: 1em;
    min-height: 36em;
    border-radius: 5px;
    box-shadow: 0px 0px 3px #929292;
    padding: 1em;
}

.listChatConvs>label {
    border-bottom: 1px solid #888888;
    width: 100%;
    font-family: arial;
    color: #343a40;
    font-size: 16px;
    font-weight: 600;
}

.listChatConvs ul {
    padding: 0;
}

.listChatConvs ul li {
    list-style-type: none;
    border-bottom: 1px solid #cacaca;
    box-shadow: 0px 0px 2px #c1c1c1;
    padding: 10px 10px;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    margin-top: 10px;
}

.listChatConvs ul li p {
    width: calc(100% - 9px);
}

.listChatConvs ul li b {
    width: calc(100% - 9px);
}

.listChatConvs ul li i {
    position: absolute;
    top: calc(50% - 6px);
    right: 5px;
    font-size: 15px;
}

.listaMensagens {
    background: #f0f2f7;
    margin: 1em;
    min-height: 36em;
    border-radius: 5px;
    box-shadow: 0px 0px 3px #929292;
    padding: 1em;
}

.header_msg {
    background: #fff;
    padding: 10px 10px 2px 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    border-bottom: 1px solid #b7b7b7;
    color: #444;
    font-size: 15px;
}

.corpo_msg {
    overflow: auto;
    height: calc(100% - 95px);
    max-height: 29em;
}

.corpo_msg p {
    width: 100%;
    float: left;
}

.btn_ctg {
    margin: .3em 0;
    padding: .3em .7em;
    background: #f0f2f7;
    color: #585858;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
    box-shadow: 0px 0px 2px 0px #757474;
}

.visulUsuarioModalDiv {
    width: 100%;
    bottom: 0;
    left: 0;
    position: fixed;
    display: none;
    overflow: auto;
    padding: 1em 0 0 0;
}

.btn_close {
    position: absolute;
    right: .5em;
    top: 0em;
    cursor: pointer;
    color: #c73333;
}

.visulUsuarioModalDiv #visul_usuario {
    background: #f0f2f7;
    padding: 1em;
    border: 1px solid #c3c3c3;
    border-radius: 3px;
}


/* -------------------------------------- */

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}


/* The Modal (background) */

.modalImg {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999999;
}


/* Modal Content (image) */

.modal-content-img {
    margin: auto;
    display: block;
    max-width: 64%;
    max-height: 100vh;
}


/* Caption of Modal Image */

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}


/* Add Animation */

.modal-content-img,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}


/* The Close Button */

.closeImg {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.closeImg:hover,
.closeImg:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
    .modal-content-img {
        width: 100%;
    }
}