/* Widget style */

.input-group > input.form-control {
    margin-bottom: 0 !important;
}

/*form#bm-widget-form{
    margin-top: -30px;
}*/
form#bm-widget-form label,
form#bm-widget-form .g-recaptcha,
form#bm-widget-form button {
    margin-top: 30px;
}

form#bm-widget-form label {
    color: #666;
}

form#bm-widget-form label.sign-in-label {
    border: 1px solid transparent;
    color: #8d8d8d;
    font-size: 12px;
    display: block;
}

form#bm-widget-form label.sign-in-label > span {
    position: absolute;
    margin-left: 10px;
    line-height: 1.1em;
}

form#bm-widget-form label.sign-in-label a {
    color: #8d8d8d;
    text-decoration: underline;
}

form#bm-widget-form button.btn {
    height: 40px;
}

form#bm-widget-form div.input-group > span.input-group-addon {
    border-left-color: rgba(0, 0, 0, 0.003);
    border-top-color: rgba(0, 0, 0, 0.003);
    border-bottom-color: rgba(0, 0, 0, 0.003);
}

div.bm-widget a.contact_us,
div.bm-widget a.contact_us:hover,
div.bm-widget a.contact_us:active,
div.bm-widget a.contact_us:focus {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

div.bm-widget a.contact_us {
    color: #333;
    text-decoration: underline;
}

div.bm-widget a.contact_us:hover,
div.bm-widget a.contact_us:active,
div.bm-widget a.contact_us:focus {
    color: #ed4951;
}

/*
div.bm-widget div.portlet-body{
    margin-top:30px;
}*/
div.bm-widget div#chats ul.chats-list {
    padding-right: 0px;
}

div.bm-widget div.chat-form {
    margin: 15px 0px 0px 0px;
}

div.bm-widget input[type="checkbox"] {
    background-color: rgb(255, 255, 255) !important;
    height: 10px !important;
    border-color: rgb(217, 217, 217) !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    margin-left: 5px;
    border-radius: 0;
    width: 0 !important;
}

div.bm-widget input[type="checkbox"]:checked {
    background-color: rgb(217, 217, 217) !important;
}

div.bm-widget input[type="checkbox"]:focus {
    outline-color: transparent;
}

div.bm-widget {
    position: relative;
}

div.bm-widget ul.chats-list {
    border-right: none;
}

div.bm-widget div.hidden-widget {
    display: none;
}

div.bm-widget div#bm-chats-container div.row {
    margin-left: 0px;
    margin-right: 0px;
}

div.bm-widget div#bm-chats-container div.row > div.col-xs-12 {
    padding: 0;
}

div.bm-widget div.chats-links {
    margin-top: 0px;
    padding: 0;
}

div.bm-widget div.chats-content {
    padding-right: 0px;
}

div.bm-widget div.chat-post-title {
    display: none;
}

div.bm-widget div.chat-user {
    display: inline-block;
    transform: translateY(10%);
}

div.bm-widget div.btn-back {
    display: inline-block;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}

div.bm-widget button.back-to-chats.rounded {
    /*border-bottom-left-radius: 50%;*/
    border-radius: 50%;
    top: 50%;
    /*transform: translateY(30%);*/
    border-width: 2px;
    font-weight: bolder;
}

div.bm-widget div.chat-user {
    padding-top: 10px;
    padding-left: 10px;
}

div.bm-widget div.lwa-loading {
    z-index: 3;
}

div.bm-widget div.widget-view {
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7ecf1;
}

div.bm-widget-title {
    padding-bottom: 10px;
    font-size: 16px !important;
    /*margin-bottom: 30px;*/
    border-bottom: 1px solid #e7ecf1;
    color: #3598dc;
}

div.bm-widget-title a {
    color: #3598dc;
    cursor: pointer;
}

div.bm-widget-title a:hover,
div.bm-widget-title a:active,
div.bm-widget-title a:focus {
    color: #267ebb;
    text-decoration: none;
}

div.bm-widget div.chats-links {
    padding-top: 0px;
    border-top: 1px solid #ececec;
}

div.bm-widget ul.chats-list li > a {
    border: 1px solid transparent;
}

div.bm-widget ul.chats-list li > a:hover,
div.bm-widget ul.chats-list li > a:focus {
    background-color: #32a1ff;
    border-style: solid;
    border-width: 1px;
    border-color: #32a1ff;
    color: white;
    text-decoration: none;
}

div.bm-widget ul.chats-list li > a:hover div.bm-chat.post-title,
div.bm-widget ul.chats-list li > a:hover div.last-msg-time {
    color: #eeeeee
}

div.bm-widget ul.chats-list li.active > a {
    background-color: #32a1ff;
    border-style: solid;
    border-width: 1px;
    border-color: #32a1ff;
    color: white;
}

div.bm-widget ul.chats-list li.active > a:hover {
    background-color: #32a1ff;
    border-style: solid;
    border-width: 1px;
    border-color: #32a1ff;
    color: white;
}

div.bm-widget ul.chats-list li.active > a:focus {
    background-color: #32a1ff;
    border-style: solid;
    border-width: 1px;
    border-color: #32a1ff;
    color: white;
}

div.bm-widget div.cut-text {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bm-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFFFFF url(loading.gif) 50% 50% no-repeat;
    left: 0px;
    top: 0px;
    opacity: 0.8;
    filter: alpha(opacity=80)
}

.bm-loading-hide {
    z-index: 100;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFFFFF url(loading.gif) 50% 50% no-repeat;
    left: 0px;
    top: 0px;
    opacity: 1;
    filter: alpha(opacity=100)
}

div.bm-widget ul.chats li {
    padding: 5px 7px 5px 0px;
}

div.bm-widget div.bm-links-top {
    display: none;
}

div.bm-widget div.bm-chats div.tab-content {
    padding-left: 0px;
}

/*** Mobile ***/
@media screen and (max-width: 768px) {
    div.bm-widget div#bm-chats-container {
        min-height: 457px;
    }

    div.bm-widget div.chats-links {
        margin: 0;
    }

}

/*** Animation ***/
@-webkit-keyframes borderBlink {
    from, to {
        border-color: rgba(255, 0, 0, 0.5)
    }
    50% {
        border-color: transparent
    }
}

@keyframes borderBlink {
    from, to {
        border-color: rgba(255, 0, 0, 0.5)
    }
    50% {
        border-color: transparent
    }
}

.borderBlink {
    border: 1px solid transparent;
    /*border-color: transparent;*/
}

.borderBlink {
    -webkit-animation: borderBlink 2s step-end infinite;

    animation: borderBlink 2s step-end infinite;
}

/*region The Modal (background) */

.bm-widget .bm-modal > .bm-modal-content {
    width: 90%;
    margin: 10% auto;
}

@media (min-width: 768px) {
    /* The Modal (background) */
    .bm-modal-header {
        padding: 40px;
    }

    .bm-modal-header > span {
        font-size: 40px;
    }

    .bm-modal .bm-modal-message {
        padding: 0 0 40px 0;
        font-size: 20px;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .bm-widget .bm-modal > .bm-modal-content {
        width: 90%;
    }

}

@media (min-width: 1200px) {
    .bm-widget .bm-modal > .bm-modal-content {
        width: 90%;
    }

    .bm-modal-header > span {
        font-size: 50px;
    }
}

/*endregion*/