.help-block.help-block-error, .has-error .control-label {
    color: #ff5b5b;
}

.has-error .form-control, .has-error .form-control:focus {
    border-color: #ff5b5b;
}

.has-error .input-group-addon {
    color: #ff5b5b;
    background-color: #f2dede;
    border-color: #ff5b5b;
}

.panel-integration .panel-title i {
    display: none;
}

.panel-integration.panel-success .panel-title i {
    display: inline-block;
}

a.add-new-account {
    display: block;
    height: 281px;
    background: #fff;
    color: #ced2d5;
    border: 1px dashed #c8c8c8;
    border-radius: 2px;
    opacity: .8;
    padding-top: 103px;
}

a.add-new-account span {
    font-size: 20px;
}

a.add-new-account:hover {
    opacity: 1;
}

.badge-gray {
    background-color: #bcbcbc;
}

.btn.btn-zendesk {
    background-color: #fff;
    border-color: #275662;
    color: #275662;
    font-weight: 600;
}

.btn.btn-zendesk img {
    margin-right: 10px;
}

.btn.btn-zendesk:hover, .btn.btn-zendesk:focus, .btn.btn-zendesk:active, .btn.btn-zendesk.active {
    background-color: rgba(39, 86, 98, 0.02);
    border-color: #275662;
    color: #275662
}

/*conversations*/
#conversation-app .tab-content {
    background: #fbfbfb;
    padding: 0;
    margin-bottom: 40px;
}

#conversation-app .left-panel {
    height: 550px;
    overflow: auto;
    padding-right: 0;
    border-right: 1px solid #eee;
}

@media (max-width: 992px) {
    #conversation-app .left-panel {
        padding-right: 10px;
        border-right: none;
        height: 350px;
    }
}

#conversation-app .left-panel .list-group {
    background: #fff;
    height: 100%;
}

#conversation-app .right-panel {
    height: 550px;
    position: relative;
    padding-left: 0;
}

@media (max-width: 992px) {
    #conversation-app .right-panel {
        padding-left: 10px;
    }
}

.comment-text {
    border-radius: 5px !important;
    background: #fff;
}

.comment .comment-body,
.user-list .user-list-item .user-desc {
    margin-left: 0;
}

.comment .comment-text {
    margin-right: 30px;
    position: relative;
}

#conversation.type-comment .comment .comment-text {
    margin-right: 0;
}

#conversation.type-comment .comment .comment-text.operator-message {
    background: rgb(235, 239, 242);
}

#conversation.type-comment .comment .inner-comment .comment-text {
    margin: 10px 0 0 30px;
    padding-left: 50px;
}

#conversation.type-comment .comment-text {
    padding-left: 50px;
}

#conversation.type-comment .comment .avatar {
    position: absolute;
    left: 10px;
    top: 10px;
}

#conversation.type-comment .comment .avatar img {
    width: 30px;
}

.inner-comments {
    position: relative;
}

.inner-comment {
    position: relative;
}

.inner-comments .l-line {
    position: absolute;
    left: 14px;
    top: -10px;
    background: #d9d9d9;
    width: 2px;
    height: 100%;
}

.inner-comment:last-child .b-line {
    position: absolute;
    left: 14px;
    top: 50%;
    margin-top: 1px;
    background: #f9fafb;
    width: 2px;
    height: 50%;
}

.inner-comment .t-line {
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -1px;
    background: #d9d9d9;
    height: 2px;
    width: 30px;
}

.comment .answer-block {
    font-size: 12px;
    color: #555;
}

.comment .reply-to {
    color: #555 !important;
}

.comment-body-footer {
    padding-top: 10px;
}

.comment .comment-margin {
    margin-left: 30px;
    margin-right: 0 !important;
    background: rgb(235, 239, 242);
    border-color: rgb(217, 221, 224);
}

.conversation-header mark,
.comment-body-text mark {
    background: yellow;
    color: black;
}

#conversation .comment {
    padding: 8px 15px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.comment .attaches {
    overflow: hidden;
}

.comment .attach {
    float: left;
    margin: 5px 5px 0 0;
}

#conversation {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: rgb(249, 250, 251);
}

#conversation-form {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 10px;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
}

#conversation-form textarea {
    min-height: 70px;
    padding: 0 10px;
    border: none;
    resize: none;
}

#conversation-app .conversation-header {
    background: #fff;
    height: 60px;
}

#conversation-app .conversation-header .avatar {
    width: 40px;
    height: 40px;
    float: left;
    margin: 10px 15px 10px 15px;
}

#conversation-app .conversation-header .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

#conversation-app .conversation-header .dropdown a.dropdown-toggle {
    font-size: 17px;
    padding: 18px 18px 18px 28px;
    display: block;
    float: left;
}

#conversation-app .conversation-header .account {
    font-size: 13px;
}

.reply-info {
    position: absolute;
    left: 0;
    top: -30px;
    height: 30px;
    background-color: rgba(218, 230, 236, .7);
}

.close-reply {
    font-size: 12px;
    cursor: pointer;
    margin-left: 5px;
}

@media (max-width: 992px) {
    #conversation-form {
        left: 10px;
    }
}

.user-list-item .app {
    width: 15px;
    height: 15px;
    float: left;
    margin: 2px 5px 0 0;
}

.user-list-item .text-preview {
    width: auto;
    color: #999;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 40px;
    white-space: nowrap;
}

.loader {
    margin: 0 auto;
    border: 2px solid #e2e2e2;
    border-bottom: 2px solid #98a6ad;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin .4s linear infinite;
}

.loader-container {
    overflow: hidden;
    height: 40px;
    transform: scaleX(1);
    transition: transform .3s;
}

.loader-hide {
    height: 0;
    transform: scaleX(0);
    overflow: hidden;
}

.loader-hide .loader {
    transition: .2s;
    opacity: 0;
}

.list-group-item:first-of-type {
    border-top: none;
}

.list-group-item:last-of-type {
    border-bottom: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fade-enter-active, .fade-leave-active {
    transition: opacity .2s
}

.fade-enter, .fade-leave-active {
    opacity: 0
}

[v-cloak] {
    display: none;
}

/* answers-templates */

#conversation-app .answers-templates {
    background: #fff;
    border-radius: 4px;
    width: 450px;
    position: absolute;
    z-index: 100;
    left: 15px;
    bottom: 139px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0px 20px 1px rgba(0, 0, 0, 0.1), 0 1px 0px 0 rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(152, 166, 173, 0.15);
}

#conversation-app .answers-templates-inner {
    width: 450px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px 0;
    height: 180px;
}

#conversation-app .answers-templates-title {
    float: left;
    width: 180px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 168px;
    border-right: 1px solid rgba(152, 166, 173, 0.15);
}

#conversation-app .answers-templates-title .item {
    cursor: pointer;
    padding: 6px 20px;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    position: relative;
}

#conversation-app .answers-templates-title .item.active {
    background: rgba(218, 230, 236, 0.3);
    cursor: default;
}

#conversation-app .answers-templates-title .item .ico {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 12px;
}

#conversation-app .answers-templates-title .item.active .ico {
    display: block;
}

#conversation-app .answers-templates-title .item:hover {
    background: rgba(218, 230, 236, 0.3);
}

#conversation-app .answers-templates-text {
    float: left;
    width: 270px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 168px;
}

#conversation-app .answers-templates-text .item {
    line-height: 1.42857143;
    position: relative;
    font-size: 12px;
    padding: 0 45px 0 0;
}

#conversation-app .answers-templates-text .item .text {
    display: block;
    cursor: pointer;
    padding: 6px 0 6px 20px;
}

#conversation-app .answers-templates-text .item.active,
#conversation-app .answers-templates-text .item:hover {
    background: rgba(218, 230, 236, 0.3);
}

#conversation-app .answers-templates-text .item:hover .text:hover {
    color: #333;
}

#conversation-app .answers-templates-text .item:hover .ico {
    display: block;
}

#conversation-app .answers-templates-text .item .ico {
    font-weight: bold;
    position: absolute;
    top: 10px;
    font-size: 10px;
    cursor: pointer;
    display: none;
}

#conversation-app .answers-templates-text .item .ico:hover {
    color: #333;
}

#conversation-app .answers-templates-text .item .ico-edit {
    right: 30px;
}

#conversation-app .answers-templates-text .item .ico-close {
    right: 15px;
}

#conversation-app .answers-templates-text .item .ico-save {
    right: 16px;
    top: 12px;
}

#conversation-app .answers-templates-add {
    padding: 5px;
}

#conversation-app .answers-templates-form {
    padding: 5px;
}

#conversation-app .answers-templates-form textarea{
    resize: none;
    min-height: 0 !important;
}

#conversation-app .edit-answer {
    height: 36px;
    min-height: 0;
    resize: none;
    margin-left: 5px;
}

@media (max-width: 700px) {
    #conversation-app .answers-templates,
    #conversation-app .answers-templates-inner {
        width: 100% !important;
        left: 0 !important;
    }

    #conversation-app .answers-templates-title {
        width: 35% !important;
    }

    #conversation-app .answers-templates-text {
        width: 65% !important;
    }
}

.widget-builder .channel-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    display: block;
}

@media (max-width: 1440px) {
    .widget-builder .channel-name {
        max-width: 80px;
    }
}

.operators-table .popover-content {
    word-wrap: break-word;
}

.colorpicker {
    -webkit-transition: initial;
    -moz-transition: initial;
    -ms-transition: initial;
    -o-transition: initial;
    transition: initial;
}

/* Seach */
.app-search {
    position: relative;
}

.app-search button {
    position: absolute;
    top: 5px;
    right: 25px;
    color: rgba(152, 166, 173, 0.7);
    border: none;
    background: none;
}

.app-search input {
    margin-right: 20px;
}

.app-search button:hover {
    color: #98a6ad;
}

.app-search .form-control,
.app-search .form-control:focus {
    border: 1px solid rgba(152, 166, 173, 0.15);
    font-size: 13px;
    height: 34px;
    color: #435966;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 40px;
    background: rgba(152, 166, 173, 0.1);
    box-shadow: none;
    border-radius: 30px;
    width: 250px;
    max-width: 100%;
}

input.app-search-input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
}

input.app-search-input:-moz-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input.app-search-input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input.app-search-input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.app-search .loader {
    width: 16px;
    height: 16px;
    border-width: 2px;
    position: absolute;
    top: 8px;
    right: 25px;
}

.app-search .reset-search {
    position: absolute;
    right: 0;
    top: 7px;
    font-size: 14px;
    cursor: pointer;
}

#error-messages {
    display: none;
}

#success-messages {
    display: none;
}

.comment-body-text {
    position: relative;
}

.message-status {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 12px;
}

#conversation-form .tooltip-inner {
    white-space: pre !important;
    max-width: none !important;
}

.emoji {
    width: 1.1em;
    height: 1.1em;
    padding: 0 0 0 0;
    vertical-align: -0.15em;
}

.el-unvisible {
    visibility: hidden;
    height: 34px;
    overflow: hidden;
}

.editable-text {
    height: 100px;
    overflow: scroll;
}

.img-conversation {
    padding-top: 5px;
}

.img-conversation img {
    max-width: 100%;
    height: 100px;
    border-radius: 5px;
}

.nav .dot {
    border: 3px solid transparent;
    border-radius: 100px;
    height: 0;
    width: 0;
    line-height: 0;
    font-size: 0;
    position: absolute;
    left: 5px;
    top: 17px;
    background-color: #ff5b5b;
    z-index: 10;
}

#dropzone {
    line-height: 50px;
    text-align: center;
    font-weight: bold;

    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff2d8;
    z-index: 0;
    display: none;
}

#dropzone.f-in {
    background: #ffdd9b;
    font-size: larger;
}

#dropzone.f-hover {
    /*background: lawngreen;*/
}

#dropzone.f-fade {
    z-index: 1000;
    display: block;
}

#dropzone.f-well {
    /*z-index: 1000;*/
    /*display: block;*/
}

.modal .modal-body img {
    max-width: 100%;
}

#modalImg .modal-body {
    text-align: center;
}

.open-img img {
    background-color: #eee;
}

.ball {
    display: block;
    border: 5px solid #ff5b5b;
    border-radius: 100px;
    width: 0;
    height: 0;
}

.user-desc .ball {
    float: right;
    margin: 5px 7px 0 0;
}

.user-desc .c-status {
    float: right;
    margin-right: 5px;
}

.user-desc .operator-name {
    margin-right: 5px;
    max-width: 90%;
    overflow: hidden;
    display: block;
    float: right;
}

.operator-status {
    font-size: 6px !important;
    position: relative;
    bottom: 2px;
}

.operator-conversation-status {
    font-size: 6px !important;
    position: relative;
    bottom: 1.5px;
    margin-right: 2px;
}

.conversation-header .c-group {
    display: block;
    float: left;
    margin-top: 22px;
}

#conversation-form {
    top: auto !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
}

#conversation-form.enable-close-groups {
    bottom: 35px !important;
}

#conversation-messages {
    position: relative;
    height: 345px;
    overflow: auto;
}

#conversation-messages.enable-close-groups {
    height: 310px !important;
}

.close-groups {
    position: absolute;
    left: 0;
    bottom: 0;
    padding-right: 8px;
    width: 100%;
    height: 35px;
    background: #fff;
    text-align: right;
}

.close-groups .btn {
    margin: 0 2px;
    background-color: #fff;
}

#handle {
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 8px;
    top: -4px;
    background-color: transparent;
    cursor: row-resize;
    display: none !important;
}

#conversation-form {
    width: 100%;
}

.conversation {
    position: relative;
    height: 100%;
}

.conversation:hover #handle {
    display: block !important;
}

#conversation-form, #conversation-input, #conversation-form .nav, .input-icon * {
    transition: none !important;
}

.conversation-header-bottom {
    min-height: 23px;
    background: #fff;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 10px 15px;
    box-sizing: border-box;
    border-bottom: 1px solid #ebeff2;
}

.c-group {
    cursor: pointer;
}

.conversation-header .editable-container {
    padding-top: 14px;
}

.emoji-wysiwyg-editor {
    border: none !important;
    padding: 0 10px !important;
}

.emoji-menu {
    bottom: 130px !important;
}

.event-assign-group {
    cursor: pointer;
}

#conversation-app .avatar {
    position: relative;
}

.operator-last-ico {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .4);
    text-align: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding-top: 8px;
    box-sizing: border-box;
}

.operator-last-ico {
    color: #fff !important;
}

.user-desc .group-color {
    float: right;
}

.select-conversation {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    display: block;
    opacity: 0.6;
}

.select-conversation.selected,
.comment-body:hover .select-conversation {
    opacity: 1;
}

.list-all-tags {
    width: 548px;
    max-width: 100%;
}

#add-tags-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 4px 7px 4px 15px;
    margin: 5px 0 3px 5px;
    color: #555555;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: none;
    box-shadow: none;
    position: relative;
    line-height: 13px;
    cursor: default;
    border-radius: 3px;
    background-clip: padding-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#add-tags-form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    display: block;
    width: 12px;
    height: 13px;
    position: absolute;
    top: 4px;
    outline: none;
    left: 3px;
    color: #999;
    cursor: pointer;
    font-weight: bold;
}

#add-tags-form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #333;
}

#add-tags-form .select2-container .select2-search--inline {
    padding: 2px 0 0 8px;
}

.m-tag {
    background-color: #bcbcbc !important;
    display: inline-block;
    padding: 5px;
    margin: 0 4px 5px 0;
    color: white;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    line-height: 1;
    font-size: 75%;
}

.m-tag .del {
    cursor: pointer;
    color: #fff;
}

.m-tag .del:after {
    content: "x";
    padding: 0 2px;
}

.m-tag .del:hover {
    color: #333;
}

.comment-body.note .comment-text {
    background-color: #e2faff !important;
}

.bot-result {
    width: 300px;
}

.bot-result.reverse {
    bottom: auto !important;
    top: 100% !important;
}

.load-previous-messages {
    margin: 0 auto;
}

.user-desc .c-tags {
    font-size: 12px;
    padding-left: 35px;
}

.user-desc .desc {
    padding-left: 35px;
}

.edit-note {
    cursor: pointer;
}

.edit-note:hover {
    color: #000;
}

.user-desc .m-tag {
    margin: 5px 4px 0 0;
}

/* full size design */

.full {
    padding-bottom: 35px !important;
}

.full .navbar-custom {

}

.full .wrapper {
    margin-top: 65px;
}

.full .footer {
    padding: 5px 0;
}

.full #conversation-app .tab-content {
    margin-bottom: 0;
}

.full .navbar-toggle {
    display: block !important;
}

.full #blinger-launcher-iframe.blinger-launcher-right.blinger-launcher-ring-false {
    right: 0 !important;
}

.full .container {
    max-width: none !important;
    width: auto !important;
    padding: 0 65px !important;
}

.table-analytic-main tr.open-messages:hover {
    cursor: pointer;
}

.whatsapp-qr-container {
    text-align: center;
    margin-bottom: 10px;
}

.whatsapp-qr-container img {
    max-width: 300px;
    display: inline-block;
    margin-left: 120px;
}

.whatsapp-timer {
    display: inline-block;
    font-size: 60px;
    text-align: left;
    padding-left: 20px;
    width: 120px;
}

#loadQr {
    display: none;
    font-size: 40px;
    margin: 0 auto;
}

.delete-topic {
    display: block;
    position: absolute;
    right: 15px;
    top: 13px;
    cursor: pointer;
}

.g-recaptcha > div {
    margin: 0 auto;
}

.settings-ip .ip-input-block {
    position: relative;
}

.settings-ip .ip-input-block .text-success {
    position: absolute;
    right: -60px;
    top: 5px;
}

.table .total-row td {
    border-top: 2px solid #ebeff2;
    background-color: rgba(238, 242, 245, 0.28) !important;
    font-weight: bold;
}

.chart-info-btn {
    color: #53b1d5;
    cursor: pointer;
}

.card-info-btn {
    position: absolute;
    font-size: 22px;
    right: 20px;
    top: 10px;
    z-index: 100;
}

.stats-export-link {
    position: absolute;
    right: 20px;
    bottom: 30px;
}

.ui-datepicker {
    z-index: 500 !important;
}