body,
html {
    background: #f5f5f7 !important;
}

.advanced-style h1,
h2,
h3,
h4,
h5,
h6 {
    color: #505458;
    font-family: 'Roboto', sans-serif;
    margin: 10px 0;
    font-weight: 400;
}

.advanced-style b {
    font-weight: 400;
}

.advanced-style #topnav .topbar-main {
    background-color: #232733;
}

.advanced-style .logo {
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}


.advanced-style .logo img#logo-full {
    width: 120px;
}

.advanced-style .logo img#logo-icon-only {
    height: 50px;
    width: 45px;
    display: none;
}

.advanced-style #topnav #telegram-icon {
    position: relative;
    height: 24px;
    border: 1px solid #fff;
    border-radius: 500px;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
}

.advanced-style #topnav #telegram-icon-mobile {
    position: relative;
    bottom: 2px;
    height: 18px;
}

.advanced-style #topnav .telegram-channel-item-mobile {
    display: none;
}

.advanced-style #topnav .telegram-title {
    position: relative;
    bottom: 2px;
    font-size: 12px !important;
}

.advanced-style #topnav .topbar-main .nav > li > a {
    color: #232834 !important;
}

.advanced-style  #topnav .topbar-main .nav > li .nav-icons {
    color: #ffffff !important;
    font-size: 24px !important;
}

.advanced-style  #topnav .topbar-main .nav > li .nav-icons.icon-only,
.advanced-style  #topnav .topbar-main .nav > li .profile {
    opacity: 0.6;
}

.advanced-style  #topnav .topbar-main .nav-icons-dropdown-mobile {
    display: none;
}

.advanced-style  #topnav .topbar-main .nav > li .nav-icons.icon-only:hover,
.advanced-style  #topnav .topbar-main .nav > li .profile:hover,
.advanced-style  #topnav .topbar-main .nav > li .nav-icons.icon-only.is-active,
.advanced-style  #topnav .topbar-main .nav > li .profile.is-active {
    opacity: 1 !important;
}

.advanced-style  #topnav .topbar-main .nav > li .nav-icons i {
    font-size: 24px !important;
}

.advanced-style #topnav .topbar-main .nav > li #open-live-chat i {
    position: relative;
    top: 1px;
}

.advanced-style #topnav .active a:first-of-type {
    color: #5080f7;
    font-weight: 400;
}

.advanced-style #topnav .active a:first-of-type i {
    color: #5080f7;
}

.advanced-style #topnav .navigation-menu > li > a:hover i {
    color: #5080f7;
}

.advanced-style #topnav .navigation-menu > li > a {
    color: #232834;
    transition: none;
}

.advanced-style #topnav .navigation-menu > li > a:hover {
    color: #5080f7;
}

.advanced-style #topnav .navigation-menu > li > a i {
    color: #232834;
}

.advanced-style #topnav .navigation-menu > li .submenu li a:hover {
    color: #5080f7;
}

.advanced-style .panel {
    padding: 36px 0;
    margin-bottom: 20px;
    background-color: #fff;
    border: none;
    border-radius: 1px;
    box-shadow: none !important;
}

.advanced-style.integrations.settings .panel,
.advanced-style.apps.settings .panel {
    padding: 0;
}

.advanced-style .panel-border .panel-heading {
    background-color: #fff;
    color: #000;
    border: none !important;
}

.advanced-style.integrations.settings .panel-heading,
.advanced-style.apps.settings .panel-heading {
    padding: 15px 30px 0;
}

.advanced-style.integrations.settings .panel-heading h3,
.advanced-style.apps.settings .panel-heading h3 {
    color: #fff;
}


.advanced-style.integrations .panel-border .panel-body {
    height: 185px;
    margin-bottom: 15px;
}

.advanced-style.integrations .panel-border .btn-success {
    width: 94%;
}



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

.advanced-style .panel-title {
    font-size: 18px;
    color: #000;
}

.advanced-style .text-dark {
    color: #969799 !important;
    font-weight: 100;
}

.advanced-style .page-title {
    color: #232834;
    line-height: normal;
}

.advanced-style .panel-heading {
    height: 62px;
    padding: 0;
}

.advanced-style.widget .panel-heading {
    height: 0;
}

.advanced-style .panel-footer {
    background: #fff;
    padding: 0 36px;
}

.advanced-style .panel-body a {
    color: #4f85f5;
    text-decoration: none;
    font-weight: 100;
}

.advanced-style a.add-new-account {
    height: 308px;
}

.advanced-style .zmdi-hc-5x {
    padding-bottom: 10px;
}

.advanced-style a.add-new-account span {
    font-size: 16px;
    font-weight: 100;
}

.advanced-style .panel-integration .center-block {
    width: 68px;
    height: 68px;
}

.advanced-style.integrations .panel-integration .center-block {
    width: auto;
    height: 32px;
}

.advanced-style .footer {
    color: #656566;
}

.advanced-style .footer ul li a {
    color: #656566;
}

.advanced-style #topnav .navbar-toggle span {
    background-color: #fff;
    opacity: 0.6;
}

.advanced-style #topnav .navbar-toggle:hover span {
    background-color: #fff;
    opacity: 1 !important;
}

.advanced-style .list-group-item {
    padding: 16px 20px;
}

.advanced-style #conversation-app .list-group-item:hover,
.advanced-style #conversation-app .list-group-item.text-danger {
    background: #edeff2;
    border-radius: 0 !important;
}

.advanced-style .user-list .user-list-item .avatar {
    margin-right: 12px;
    width: 40px;
    height: 40px;
}

.advanced-style .badge-danger {
    background-color: #75b145;
}

.advanced-style .comment .comment-text {
    margin-left: 30% !important;
    margin-right: auto !important;
}

.advanced-style .comment .comment-margin {
    margin-right: 30% !important;
    margin-left: auto !important;
    background: #edeff2 !important;
    border: none !important;
}

.advanced-style .comment .search-highlight {
    /*background-color: rgba(249, 200, 81, 0.15) !important;*/
}

.advanced-style #conversation {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.advanced-style .emoji-picker-icon {
    font-size: 18px;
    right: 10px;
    top: 10px;
    color: #646566;
}

.advanced-style .zmdi.zmdi-more-vert {
    color: #646566;
    font-size: 20px;
}

.advanced-style .zmdi-headset-mic:before {
    font-size: 20px;
    color: #fff;
}

.advanced-style #topnav .topbar-main .profile img {
    border: none;
}

.advanced-style .operator-last-ico {
    padding-top: 10px;
}

.advanced-style .card-box.clearfix .bg-muted.clearfix {
    background-color: #fff !important;
}

.advanced-style #conversation-app .conversation-header {
    background: #fff;
    height: 73px;
    border-bottom: 1px solid #ebeff2;
}

.advanced-style .app-search .form-control,
.app-search .form-control:focus {
    background: #fff;
    border-radius: 5px;
    border: 1px solid #cacacc !important;
    height: 30px;
    margin-top: 2px;
    padding-left: 10px;
}

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

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

.advanced-style #conversation-app .conversation-header .c-group {
    display: block;
    float: left;
    margin-top: 28px;
}

.advanced-style .conversation-header-top table {
    max-width: 65%;
    height: 73px !important;
    float: left;
}

.advanced-style #conversation-app .app-search button {
    display: none;
}

.advanced-style #conversation-app .app-search .loader {
    right: 5px;
}

.advanced-style #conversation-app input::placeholder {
    font-weight: 100;
}

.advanced-style .panel-title {
    font-weight: 400;
}

.advanced-style #topnav .topbar-main .nav > li > .dropdown-toggle.waves-effect.waves-light.profile {
    color: #ffffff !important;
    line-height: 60px;
    padding: 0;
    position: relative;
    background: transparent !important;
}

.advanced-style #conversation-app .nav-tabs li a {
     font-weight: 400;
     font-family: 'Roboto', sans-serif;
     border: none !important;
 }

.advanced-style #conversation-app .nav-tabs li a.send-message {
    font-size: 12px;
    color: #fff;
}

.advanced-style .app-search .reset-search {
    top: 5px;
    right: 9px;
}

.advanced-style #conversation-app .label.badge-gray {
    background-color: #5080f7;
}

.advanced-style #conversation-app .app-search input {
    margin-right: 0;
}

.advanced-style #conversation-app .operator-last-ico {
    background: rgba(0, 0, 0, .2);
}

.advanced-style th {
    font-weight: 400;
}

.advanced-style #conversation-app .text-muted {
    color: #98a6ad !important;
    font-size: 12px;
}

/* Custom Buttons */

.advanced-style .btn {
    border-radius: 5px !important;
}

.advanced-style .input-group .btn {
    border-radius: inherit !important;
}

.advanced-style .panel-integration .btn-danger {
    background-color: #5c5e66 !important;
    border: 1px solid #5c5e66 !important;
    font-weight: 100;
}

.advanced-style .panel-integration .btn-danger:hover {
    background-color: #232834 !important;
    border: 1px solid #232834 !important;
}

.advanced-style .panel-integration .btn-primary {
    background-color: #fff !important;
    border: 1px solid #cacacc !important;
    color: #656566 !important;
}

.advanced-style .panel-integration .btn-primary:hover {
    border: 1px solid #5c5e66 !important;
    color: #5c5e66 !important;
    background-color: #fff !important;
}

.advanced-style .btn-success {
    background-color: #75b145 !important;
    border: 1px solid #75b145 !important;
}

.advanced-style .btn-success:hover {
    background-color: #58b60c !important;
}

.advanced-style .conversation .btn-primary {
    background-color: #5080f7 !important;
    color: #fff !important;
    border: none !important;
}

.advanced-style .btn-default {
    background-color: #fff !important;
    border: 1px solid #cacacc !important;
    color: #656566 !important;
}

.advanced-style .btn-default:hover {
    border: 1px solid #5c5e66 !important;
    color: #5c5e66 !important;
}

.advanced-style .close-groups .btn-default.active {
    border: 1px solid #000 !important;
}

.advanced-style .btn-primary {
    background-color: #5080f7 !important;
    color: #fff !important;
    border: none !important;
}

.advanced-style .btn-primary:hover {
    background-color: #3f73fa !important;
    color: #fff !important;
    border: none !important;
}


.advanced-style .btn.btn-lg.btn-danger.start-conversation {
    background-color: #75b145 !important;
    border: 1px solid #75b145 !important;
}

.advanced-style .btn.btn-lg.btn-danger.start-conversation:hover {
    background-color: #58b60c !important;
}

.advanced-style .comment-body-text {
    color: #000 !important;
}

.advanced-style.conversations.index.role .btn-danger {
    background-color: #5c5e66 !important;
    border: 1px solid #5c5e66 !important;
    font-weight: 100;
}

.advanced-style.conversations.index.role .btn-danger:hover {
    background-color: #232834 !important;
    border: 1px solid #232834 !important;
}

.advanced-style.conversations.index.role .btn-primary {
    background-color: #fff !important;
    border: 1px solid #cacacc !important;
    color: #656566 !important;
}

.advanced-style.conversations.index.role .btn-primary:hover {
    border: 1px solid #5c5e66 !important;
    color: #5c5e66 !important;
    background-color: #fff !important;
}

.advanced-style #topnav {
    box-shadow: none !important;
    border-bottom: 1px solid #ebeff2;
}

.advanced-style #conversation-app .nav-tabs {
    border: none !important;
}

.advanced-style #conversation-app .tab-content {
    border: none !important;
}

#settings-permissions {
    color: #31708f;
    background-color: #fff;
    border: 1px solid rgba(95, 190, 170, 0.4);
    border-radius: 5px;
    padding: 15px;
}

/* Hide widget icon */
#blinger-launcher-iframe {
    display: none !important;
}

/* intlTellInput override flags images */
.intl-tel-input{
    width: 100%;
}

.intl-tel-input .iti-flag .arrow {
    border: none;
}

.iti-flag {
    background-image: url("../img/intl-tel-input/flags.png");
}

.advanced-style .profile-note {
    width: 60% !important;
    min-height: 0 !important;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti-flag {background-image: url("../img/intl-tel-input/flags@2x.png");}
}

/* Media Queries */
@media (max-width: 330px) {
    #topnav .topbar-main .nav > li > a {
        padding: 0 12px !important;
    }
}

@media (max-width: 385px) {
    .emoji-wysiwyg-editor {
        height: 30px !important;
    }
}

@media (max-width: 405px) {
    .advanced-style .logo img#logo-full {
        display: none;
    }

    .advanced-style .logo img#logo-icon-only {
        display: block;
    }
}

@media (max-width: 450px) {
    .advanced-style #conversation-app .conversation-header {
        height: auto !important;
    }
}

@media (max-width: 569px) {
    .advanced-style #topnav .telegram-channel-item {
        display: none;
    }

    .advanced-style  #topnav .topbar-main .nav-icons-dropdown-mobile {
        display: inline-block;
    }

    .advanced-style #topnav .help-center-item {
        display: none;
    }
}

@media (min-width: 768px) {
    .advanced-style #topnav #telegram-icon {
        bottom: 2px !important;
    }

    .advanced-style #topnav .telegram-title {
        bottom: 4px !important;
    }
}

@media (max-width: 768px) {
    .advanced-style .navbar-right.pull-right .m-r-15 {
        display: none;
    }

    .advanced-style #conversation-messages {
        padding-bottom: 40px;
    }

    .advanced-style .panel-footer {
        background: #fff;
        padding: 0 10px;
    }

    .advanced-style #conversation-app .nav.nav-tabs .btn.btn-default.btn-sm.dropdown-toggle.waves-effect.waves-light,
    .advanced-style #conversation-app .nav.nav-tabs .btn.btn-success.btn-sm.send-message {
        display: none !important;
    }

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

    .advanced-style .page-title-container {
        padding-bottom: 5px;
    }

    .advanced-style .page-title-container-right {
        padding-bottom: 10px;
    }

    .advanced-style #conversation-app .nav.nav-tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 20px 0;
    }

    .advanced-style #conversation-app #conversation-form .hide-on-mob {
        display: none !important;
    }

    .advanced-style #conversation-app #conversation-form .pull-right {
        float: left !important;
    }

    .advanced-style #conversation-app #conversation-form .pull-right .btn-primary {
        margin: 0 6px 0 0 !important;
    }

    .advanced-style #conversation-app #conversation-form .emoji-picker-icon {
        display: none !important;
    }

    .advanced-style #conversation-app .nav.nav-tabs li a {
        padding: 10px;
        border: none !important;
        border-radius: 2px !important;
    }

    .advanced-style #conversation-app .nav.nav-tabs .pull-right {
        width: 100%;
    }

    .advanced-style #conversation-app .app-search input {
        margin-top: 20px;
        width: 100%;
    }

    .advanced-style #conversation-app .edit-custom-name {
        padding: 2px 8px !important;
    }

    .advanced-style #conversation-app .conversation-header {
        height: auto !important;
    }

    .advanced-style .settings-language-label {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .advanced-style #topnav .help-center-icon {
        position: relative;
        top: 2px !important;
    }
}

@media (max-width: 940px) {
    .advanced-style #conversation-app .app-search input {
        margin-top: 20px;
        width: 100%;
    }

    .advanced-style #conversation-app .nav.nav-tabs .pull-right {
        width: 100%;
    }

    .advanced-style #conversation-app .nav.nav-tabs .btn.btn-default.btn-sm.dropdown-toggle.waves-effect.waves-light,
    .advanced-style #conversation-app .nav.nav-tabs .btn.btn-success.btn-sm.send-message {
        display: none !important;
    }

    .advanced-style #conversation-app .nav.nav-tabs {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 20px 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .advanced-style .panel-footer {
        background: #fff;
        padding: 0px 10px;
    }

    .advanced-style .btn.btn-sm.btn-primary.waves-effect.waves-light.m-l-15 {
        margin-left: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .advanced-style #topnav .navigation-menu > li > a {
        padding-left: 12px;
        padding-right: 12px;
    }

    .advanced-style .panel-integration .btn {
        padding: 6px 2px !important;
    }

    .advanced-style .panel-integration .panel-footer {
        padding: 0px 2px !important;
    }

    .advanced-style .app-search .form-control,
    .advanced-style .app-search .form-control:focus {
        width: 140px;
    }

    .advanced-style #conversation-app .nav-tabs a {
        font-size: 12px;
    }


    .advanced-style #conversation-app .nav > li > a {
        padding: 10px 5px;
    }

    .advanced-style #conversation-messages {
        padding-bottom: 50px;
    }

    .advanced-style .fileinput-button input {
        font-size: 20px !important;
    }

    .advanced-style .fileinput-button span {
        display: none;
    }

    .advanced-style .fileinput-button {
        padding: 0 5px !important;
    }
}

@media (max-width: 991px) {
    .advanced-style .settings-language-label {
        text-align: left !important;
    }
}

@media (min-width: 992px) and (max-width: 1000px){
    .advanced-style #conversation-app .app-search input {
        width: 94px !important;
    }
}

@media (min-width: 1000px) and (max-width: 1050px) {
    .advanced-style #conversation-app .app-search input {
        width: 100px !important;
    }
}

@media (min-width: 1280px) and (max-width: 1378px) {
    .advanced-style #conversation-app .app-search input {
        width: 120px !important;
    }
}

@media (min-width: 1025px) and (max-width: 1376px) {
    .advanced-style .panel-footer {
        padding: 0px 20px;
    }
}
