﻿input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
 .no-padding {
    padding: 0;
}

body {
    background: #e9e9e9 url('/images/texture_grain_200x200_v2.png');
    background-image: none;
}

body.dit-mobile-body {
    background: white;
}

.navbar-brand {
    width: 129px;
    margin-right: 20px;
}

.navbar-brand > img {
    height: 30px !important;
    margin-top: 9px !important;
}

h4{
    font-size:20px;
}

body {
    background-color: #f7f7f7;
}

.navbar {
    box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.2);
}

.sidebar-default .navigation > li.active > a, .sidebar-default .navigation > li.active > a:hover, .sidebar-default .navigation > li.active > a:focus,
.navbar-collapse .navbar-left > li.active > a, .navbar-collapse .navbar-left > li.active > a:hover, .navbar-collapse .navbar-left > li.active > a:focus {
    background-color: white;
    color: black;
}

.sidebar-content.active .media-body a {
    color: #fff;
}

.sidebar-content.active .media-body span {
    color: #fff !important;
}

.sidebar-content.active .media-body a:hover {
    color: #fff;
}

.sidebar-content .category-content {
    cursor: pointer;
}

.change-op-state {
    background-color: #fff;
}

.change-op-state .dropdown-toggle,
.change-op-customer .dropdown-toggle {
    padding: 6px 20px !important;
}

.change-op-state a span, .change-op-state a i {
    color: black;
}

.change-op-customer {
    //background-color: #1e9a36;
}

.change-op-customer a span, .change-op-customer a i {
    color: white;
}

.panel
{
    box-shadow: 0 0 0 1px  rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.2);
    border: 0px;
}

.navbar-component.navbar-default {
    border: 0;
    box-shadow: 0 0 0 1px  rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.2);
}

.sidebar-main.sidebar-default .navigation li > a {
    color: white;
}

.sidebar-main.sidebar-default .navigation li > a:hover {
    color: black !important;
    background-color:white !important;
}


.sidebar-main.sidebar-default .navigation li.active > a {
    color: black;
}

.category-title {
    padding: 5px 20px 0px 20px;
}

.category-title,.h6{
    color: white;
}

.category-content {
    padding: 5px 20px 10px 20px;
}

.category-content + .category-title {
    border-top: 1px solid #ddd;
}

.btn-default {
    /*color: white;
    background-color: #1e9a36;*/
}

.navigation .label, .navigation .badge {
    float: none;
    margin-top: 1px;
}

.sidebar-category.active a {
    color: white;
}

.sidebar-category.active .text-muted {
    color: #dddddd;
}

.h-100 {
    height: 100% !important; 
}

.chat-list .reversed .media-content:not([class*=bg-]) {
    /*background-color: #1e9a36;
    border-color: #1e9a36;*/
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    color:black;
}

.chat-list .reversed {
    padding-right: 8px;
}

.chat-list {
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 0.5em;
    height: calc(100vh - 480px);
}

.chat-list.readonly {
    height: calc(100vh - 265px);
}

.chat-bottom-area {
    padding: 0 1em 1em;
}

.media-badge {
    left: -15px !important;
    top: -7px!important;
}

.media-attachment {
    max-width: 250px;
}

.media-attachment .img-preview {
    width: 100%;
    height: 100%;
    max-height: none;
}
.media-attachment i {
    margin: 0 5px;
}
[contenteditable=true]:empty:before{
  content: attr(placeholder);
  display: block;
  color: #999999;
}

.kibana-dashboard iframe {
    width: 100%;
    min-height: 600px;
}

.dialogs-view {
    min-height: 300px;
}

.sidebar-opposite {
    display: block !important
}

.black-title {
    color: gray !important;
    font-weight: auto;
}

.timer > li {
    font-size: 24px !important;
}

.operator-action-btns {
    margin-top: 5px;
    margin-right: 40px;
}

.btn-online{
    background-color:white;
}

.hwt-content {
    padding-left: 5px !important;
    padding-top: 5px !important;
}

.hwt-input {
    padding: 5px !important;
}

small.text-muted {
    color: #999999 !important;
}

#kb-editor-table tbody tr:hover {
    cursor: pointer;
}

#kb-editor-table .badge {
    width: 100%;
}

.kb-editor-table__sections {
    max-height: 300px;
    overflow-y: auto;
}

.kb-editor-table-sections-classifier__title {
    font-style: italic;
    text-decoration: underline;
}
.kb-editor-table__sections ul {
    margin-left: 10px;
}

.badge-Draft    { background: #999999; border-color: #999999; }
.badge-Approval { background: #2196f3; border-color: #2196f3; }
/*#kb-editor-table .badge-Aborted  { background: #69008E; border-color: #69008E; }*/
.badge-Active   { background: #4CAF50; border-color: #4CAF50; }
.badge-Inactive { background: #00BCD4; border-color: #00BCD4; }
.badge-Removed  { background: #ce00ff; border-color: #ce00ff; }
.badge-Unknown  { background: #ff0000; border-color: #ff0000; }
.badge-expired { opacity: 0.5; }

#customer-config-editor-table tbody tr:hover {
    cursor: pointer;
}

#users-table tbody tr:hover {
    cursor: pointer;
}

#positions-table tbody tr:hover {
    cursor: pointer;
}

#users-actions-table tbody tr:hover {
    cursor: pointer;
}

#kb-slot-editor-table tbody tr:hover {
    cursor: pointer;
}

#kb-record-type-editor-table tbody tr:hover {
    cursor: pointer;
}

#kb-places-editor-table tbody tr:hover {
    cursor: pointer;
}

#routing-param-dicts-editor-table tbody tr:hover {
    cursor: pointer;
}

.message-deleted {
    color: #C4C4C4;
}

.operator-img {
    padding: 2px;
}

.heading-elements-separator {
    display: inline-block;
    border-right: 1px solid #ddd;
    width: 1px;
    line-height: 36px;
    margin-left: 20px;
    margin-right: 20px;
}
.heading-elements-separator:before {
    content: '';
    display: inline-block;
}

#cts-stat-operators > thead > tr > th,
#cts-stat-operators > tbody > tr > th,
#cts-stat-operators > tfoot > tr > th,
#cts-stat-operators > thead > tr > td,
#cts-stat-operators > tbody > tr > td,
#cts-stat-operators > tfoot > tr > td {
    padding: 4px 4px;
}

#cts-stat-operators {
    overflow-x: scroll;
}

.right-dialog-panel {
    height: calc(100vh - 66px);
}

.left-dialog-panel {
    height: calc(100vh - 150px);
    padding-right: 15px !important;
}

.left-dialog-panel .sidebar-content {
    margin-left: 2px;
    margin-right: 2px;
}

.left-dialog-panel-search {
    margin-right: 17px !important;
}

.left-dialog-panel-search .sidebar-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 6px;
}

.history-dialog-list {
    height: calc(100vh - 365px);
    padding-right: 17px;
}

.history-dialog-list .panel-heading {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 5px 20px !important;
}

.history-dialog-list .panel-group {
    margin-bottom: 0 !important;
}

.history-dialog-list .panel-title > a:after {
    content: '\e9b7';
    font-family: Icomoon;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.history-dialog-list .panel-title > a.collapsed:after {
    content: '\e9b8';
}

.history-dialog-list .sidebar-content {
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 10px !important;
}

.history-dialog-list .sidebar-category.active .media-body > span {
    color: #FFFFFF;
}

.history-dialog-search {
    margin-right: 17px;
}

.left-dialog-search-panel {
    padding-right: 15px;
}

.btn-group-custom {
    width: 100%;
    line-height: 1.7em;
    height: 2.5em;
}

.btn-hint-spell-ckeck {
    padding: 0.3em 0.5em;
    margin-right: 5px;
    line-height: 1.5em;
}

.list-spell-ckeck {
    margin-bottom: 7px;
    white-space: nowrap;
    overflow-x: hidden;
}

.list-spell-ckeck > li {
    padding-right: 0;
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-right: 0.6em;
}

.list-spell-ckeck a[class^="btn"] {
    padding: 0.1em 0.5em;
}

.history-panel {
    border-width: 1px 1px 0 1px !important;
    border-style: solid;
    border-color: #ddd;
    box-shadow: none !important;
}

.history-panel .panel-heading {
    border-bottom: 1px solid #ddd;
}

.history-panel .panel-body {
    padding: 0;
}

.history-panel .sidebar-content {
    margin-bottom: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #ddd;
}

.history-dialog-info {
    margin-left: 2px;
    margin-right: 2px;
}

.icon-checkmark:first-of-type:not(:last-of-type) {
    position: relative;
    top: -1px;
    left: 10px;
}
.dropdown-menu {
    max-height: 500px;
    overflow-y: auto;
}


.btn-outline-primary {
    background-image: none;
    background-color: transparent;
}

.update-dialog {
    margin-right: 10px;
    color: #898989;
}

.update-dialog:hover {
    color: #000000;
}

.update-dialog i {
    font-size: 18px;
    margin-top: 9px;
}

.select {
    margin-bottom: 15px;
}

.suggest-reference {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    z-index: 900;
    position: absolute;
    left: 0;
    bottom: 100px;
    display: flex;
    flex-flow: row;
}
.suggest-reference ul {
    border: 1px solid #ddd;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    width: 500px;
}
.suggest-reference .suggest-reference-item {
    overflow: hidden;
    background-color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 7px 10px;
}
.suggest-reference .suggest-reference-item:hover {
    background-color: #eeeeee;
}
.suggest-reference-cancel {
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #EF5350;
    text-align: center;
    font-size: 16px;
    margin-left: 10px;
    padding: 5px 10px;
    cursor: pointer;
}
.suggest-reference-cancel:hover {
    background-color: #EF5350;
    color: #FFFFFF;
}

.key-combine-menu {
    left: -10em;
    text-align: center;
}

.key-combine-menu a {
    display: block;
    padding: 0.3em 0;
    color: black;
}

.key-combine-menu a:hover {
    background-color: #f2f2f2;
}

.dropdown-user .dropdown-menu {
    z-index: 1500;
}
rect {
    cursor: pointer;
}

text {
    pointer-events: none;
}  
circle {
    pointer-events: none;
}

.daterangepicker .ranges {
    border: none;
}

#dialog-queue-table-body tr:nth-child(2) #to-top-button {
    display: none;
}
.dialog-buttons-wide button {
    width: 100%
}
.dialog-buttons-wide button i {
    padding-left: 5px;
}
.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.message-input {
    position: relative;
}
.dialog-header-bottom {
    margin-top: 0.5em;
}
.last-dialog-date {
    padding-top: 1px;
    text-align: right;
}
#dialogs-chat .panel-heading {
    border-bottom: 1px solid #ddd;
}
.modal-close-button {
    font-size:30px; 
    height:30px; 
    top:17px
}
.history-load-button {
    width: 100%;
    margin: 5px 0;
    display: flex;
    justify-content: center;
}
.history-load-button div {
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
}
.user-profile .modal-body .form-group {
    margin-bottom: 10px;
}
.user-profile .modal-body .form-group label {
    color: #929292;
    margin-bottom: 8px;
}
.user-login {
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.user-login span {
    color: #929292;
    margin-right: 20px;
}
#move-to-bottom {
    z-index: 800;
    position: absolute;
    right: 0;
    bottom: 75px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 5px;
}
#move-to-bottom:hover {
    border: 1px solid #8d8d8d;
}
#move-to-bottom i {
    font-size: 25px;
}
.heading-elements.channel-elements {
    display: flex;
}
.update-mode {
    padding-top: 4px;
    padding-right: 15px;
    display: flex;
}
.update-mode-label {
    padding-top: 6px;
    padding-right: 15px;
    color: #999999;
}
.channel-param-value:disabled {
    background-color: #c9c9c9;
    color: #999999;
}

.autogreeting-icon {
    font-size: 1.4em !important;
}
.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #1e9a36;
    border-bottom: 3px solid #1e9a36;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

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

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

.user-profile-collapse-panel {
    box-shadow: none;
    border: 1px solid #d8d8d8;
}

.user-profile-collapse-panel-title {
    max-height: 18px;
}
.message-main {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-start;
}
.message-main.reply {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-end;
}
.message-main.reply .media-content {
    order: 2;
}
.message-main.reply .message-forward {
    order: 1;
}
.media-content {
    order: 1;
    max-width: 40vw;
}
.message-forward {
    cursor: pointer;
    order: 2;
}
.message-forward .icon-forward {
    color: #999999;
    font-size: 16px;
    margin-left: 15px;
    margin-right: 0;
}
.message-main.reply .message-forward .icon-forward {
    margin-right: 15px;
    margin-left: 0;
}
.message-forward-container {
    height: 25px;
    margin-bottom: 5px;
}
.message-forward-container div {
    display: flex;
    align-items: center;
}
.message-forward-container i {
    font-size: 20px;
}
.message-forward-container .icon-cross2 {
    cursor: pointer;
    color: #999999;
}
.message-forward-content span {
    font-weight: bold;
}
.message-forward-content p {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    padding-left: 10px;
}
.message-forward-icon {
    justify-content: flex-start;
    padding-left: 10px;
}
.message-forward-remove {
    justify-content: flex-end;
    padding-right: 10px;
}
label.myLabel input[type="file"] {
    position: fixed;
    top: -1000px;
}
.attachment-add .myLabel {
    margin: 10px 0;
}
.attachment-add .myLabel div {
    font-size: 20px;
}
.attachment-content {
    position: relative;
}
.attachment-show {
    margin-left: 15px;
    cursor: pointer;
    border-radius: 2px;
    padding: 10px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}
.attachment-show .attachment-counter {
    height: 100%;
    width: 100%;
    color: #ffffff;
    font-size: 13px;
    padding: 2px 5px;
    background-color: #db2924;
    border-radius: 8px;
    margin-left: 5px;
}
.attachment-show:hover {
    background-color: #ececec;
}
.attachment-upload {
    position: absolute;
    border-radius: 2px;
    z-index: 900;
    left: 0;
    bottom: 42px;
    min-width: 200px;
    max-width: 400px;
    max-height: calc(100vh - 356px);
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 0 0 0 1px  rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.2);
}
.attachment-upload ul {
    padding: 5px;
    list-style: none;
}
.attachment-upload ul li {
    padding: 5px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}
.attachment-name {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.attachment-remove {
    cursor: pointer;
    margin-left: 10px;
}
.attachment-remove .icon-cross2 {
    font-size: 20px;
    color: #EF5350;
}
.forward-message {
    background-color: #e1e1e1;
    border-radius: 3px;
    margin-bottom: 10px;
}
.forward-message-info {
    color: #888888;
    text-align: left;
    padding: 5px;
}
.reversed .forward-message-info {
    text-align: right;
}
.forward-message-main {
    padding: 5px;
    text-align: left;
}
.reversed .forward-message-main {
    text-align: right;
}
.message-text {
    word-break: break-word;
}

input[type="date"]:invalid, input[type="email"]:invalid, .ng-invalid {
    border-color: red;
}

.table-small-padding > tbody > tr > td {
    padding: 6px 4px;
}
.intent-version {
    padding-left: 4px;
    cursor: pointer;
}

.intent-version__status:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin-right: 3px;
}

.intent-version--Draft .intent-version__status:before { background: #999; }
.intent-version--Approval .intent-version__status:before { background: #2196f3; }
/*.intent-version--Aborted .intent-version__status:before { background: #69008E; }*/
.intent-version--Active .intent-version__status:before { background: #00ce00; }
.intent-version--Inactive .intent-version__status:before { background: #00BCD4; }
.intent-version--Removed .intent-version__status:before { background: #ce00ff; }
.intent-version--Unknown .intent-version__status:before { background: #ff0000; }

.intent-version + .intent-version {
    border-top: 1px solid #ccc;
}

.intent-version:hover {
    background: #f0f8fd;
}

.intent-version__current {
    background: #eaf7ff;
}
.intent-version__expired {
    color: #b5b5b5;
}

.intent-version__date {}
.intent-version__status {}
.intent-version__user {}

.intent-version__current .intent-version__date {
    font-weight: bold;
}

.csection {
    font-size: 13px;
    line-height: 2.1;
}
.csection__wrapper {
    cursor: pointer;
    overflow: hidden;
}
.csection:hover>.csection__wrapper>.csection__title {
    /*font-weight: bold;*/
    /*background: #ccc;*/
}
.csection:hover>.csection__wrapper {
    /*font-weight: bold;*/
    /*background: #e7ffec;*/
    background: #f4f4f4;
}
.csection:hover>.csection__subsections {
    padding-left: 30px;
    border-left: 2px solid lightblue;
}

.csection__wrapper--classifier {
    border-bottom: 1px solid #ccc;
    padding-left: 2px;
}

.csection__title {
    user-select: none;
    display: inline-block;
}

.csection__click-target {
    min-width: 30%;
    float: left;
    display: inline-block;
    white-space: nowrap;
}

.csection__buttons-wrapper {
    float: right;
}

.csection__wrapper--classifier .csection__buttons-wrapper {
    display: none;
}
.csection__wrapper--classifier:hover .csection__buttons-wrapper {
    display: block;
}

.csection__edit,
.csection__remove {
    padding: 0px 5px;
    display: inline-block;
    color: #ccc;
    margin-left: 20px;
}

.csection__edit:hover, 
.csection__remove:hover {
    text-decoration: underline;
    color: black;
}
.csection__remove:hover {
    color: red;
}

.csection__subsections {
    padding-left: 31px;
    border-left: 1px solid lightblue;
    display: none;
    margin-left: 5px;
}
.csection__subsections--expanded {
    display: block;
}
.csection__add {
    color: #a0a0a0;
    cursor: pointer;
}
.csection__add:hover {
    color: black;
    text-decoration: underline;
}
.csection__expand {
    border-radius: 50%;
    /*background: lightblue;*/
    border: 1px solid #ccc;
    width: 20px;
    height: 20px;
    display: inline-block;
    text-align: center;
    line-height: 19px;
}
.kb-text .nav{
    width: 100%;
}

.kb-text .kb-editor-window {
    border: 1px solid #ddd;
    border-radius: 4px;
}
.intent-sections.list-group {
    padding: 0;
    border: 0;
}
.intent-sections .list-group-item {
    position: relative;
    display: block;
    padding: 3px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    line-height: 28px;
}
.intent-sections .list-group-item .btn-xs {
    padding: 0 2px;
    margin-top: 3px;
    padding-top: 1px;
}

.intent-sections__checkbox {
    min-width: 250px;
}

.slot-sortable, .survey-field__sortable {
    border: 1px solid #ddd;
    background-color: white;
}
.slot-sortable:hover {
    cursor: move;
}
.slot-sortable label {
    cursor: move;
}

#kb-editor-table_length {
    padding: 8px 8px 8px 0;
}

.dataTables_info, .dataTables_paginate {
    margin-bottom: 0px;
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
}
.stat-row-group {
    flex: 1 1 auto;
}
.stat-row-group__content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}
.stat-row-group__caption {
    text-align: left;
}
.dashboard-mobile .stat-row-group__caption {
    text-align: left;
}
.stat-row-group__caption h5 {
    color: #1e9a36;
    font-weight: bold;
    font-size: 24px;
}
.dashboard-mobile .stat-row-group__caption, .stat-row-group__caption h5 {
    font-size: 18px;
}

.stat-item {
    position: relative;
    flex: 0 0 auto;
    //width: 150px;
    height: 100px;
    text-align: center;
    
    border-radius: 10px;
    /*border: 1px solid black;*/
    
    cursor: pointer;
}
.stat-item--error {
    border: 1px solid red;
}
.stat-item--error .stat-item__error {
    display: table-cell;
}
.stat-item--error .stat-item__value,
.stat-item--error .stat-item__min,
.stat-item--error .stat-item__max
{
    display: none;
}

.stat-item:hover, .stat-item--active {
    box-shadow: 0px 0px 8px 0px #36c;
}

.stat-item__value {
    display: inline-block;
    font-size: 44px;
    font-weight: bold;
    line-height: 70px;
    height: 70px;
    white-space: nowrap;
    overflow: visible;
    /*box-shadow: inset 0px 0px 10px blue;*/
}
.stat-item--mobile .stat-item__value {
    font-size: 24px;
    overflow-y: visible;
    word-break: break-word;
    line-height: 1em;
    height: 1em;
}

.stat-item__unit {
    font-size: 20px;
}
.stat-item__unit:before {
    content: " "
}
.stat-item__min, .stat-item__max {
    position: absolute;
    width: 100%;
    left: 0;
    color: #828282;
    font-size: 13px;
    line-height: 13px;
}
.stat-item--mobile .stat-item__min,
.stat-item--mobile .stat-item__max {
    font-size: 11px;
    line-height: 11px;
}

.stat-item__max {top: 0px;}
.stat-item__min {top: 57px;}

.stat-item__text {
    text-align: center;
    color: #828282;
}
.stat-item--mobile .stat-item__text {
    word-break: break-word;
    font-size: 11px;
}

.stat-item__graph {
    display: none;
    background: url('/Assets/images/graph.png') center no-repeat;
    height:22px;
    width: 100%;
}
.stat-item__update {
    color: #828282;
    font-size: 10px;
}
.stat-item__update-label {
    
}

.stat-item__error {
    display: none;
    width: 160px;
    text-align: center;
    color: red;
    height: 88px;
    vertical-align: middle;
}

.import-form {
    border: 1px solid #ccc;
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 10px;
}

.survey__border {
    padding: .5em 1em;
    border-style: solid;
    border-color: rgba(173, 216, 230, .6);
    border-width: 0 3px 0 3px;
    margin-left: 5px;
}
.survey__border:hover {
    background: #f4f4f4;
    border-color: rgba(173, 216, 230, 1);
}
.survey__add-field-btn {
    margin-top: 0.8em;
}
.survey__title-wrapper {
    cursor: pointer;
}
.survey__title {
    word-wrap: break-word;
}
.survey__buttons-wrapper {
    float: right;
}
.survey__edit,
.survey__remove {
    padding: 0 5px;
    display: inline-block;
    color: #ccc;
    margin-left: 20px;
}

.survey__edit:hover,
.survey__remove:hover {
    cursor: pointer;
    text-decoration: underline;
    color: black;
}
.survey__remove:hover {
    color: red;
}

.survey-fields {
    border: 0;
 }
.survey-field__sortable {
    padding: .6em 3.5em;
}
.survey-field__delete {
    line-height: 2.5em;
}
.survey-field__select-slot {
    margin: 0;
}
.survey-field__drag {
    position: absolute;
    top: 1.1em;
    left: .9em; 
}
.survey-field__delete {
    position: absolute;
    top: .4em;
    right: .9em;
}


.toggle_radio {
    position: relative;
    display: inline-block;
    background: lightblue;
    margin-top: 4px;
    overflow: hidden;
    padding: 0 !important;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.toggle_radio > * {
    float: left;
}
.toggle_radio input[type=radio] {
    display: none;
}
.toggle_radio label {
    display: block;
    width: 100px;
    height: 20px;
    margin: 3px 3px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1;
    text-align: center;
}
.toggle_option_slider {
    width: 100px;
    height: 20px;
    position: absolute;
    top: 3px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}

input[id^='text-slot']:checked ~ .toggle_option_slider {
    background: rgba(255,255,255,.3);
    left: 3px;
}
input[id^='dict-slot']:checked ~ .toggle_option_slider {
    background: rgba(255,255,255,.3);
    left: 109px;
}

.dashboard {
    position: relative;
}

.dashboard .dashboard__title, .dashboard .h6.dashboard__title {
    display: inline-block;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
}

.dashboard__line-name {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 5px;
}

.dashboard__line-name {
    margin-right: 10px;
    margin-bottom: 5px;
}
.dashboard__line-name:last-of-type {
    margin-right: 0;
}

.dashboard__settings-button {
    position: absolute;
    display: inline-block;
    text-align: center;
    z-index: 100;
    right: 20px;
    top: 0;
    vertical-align: middle;
}
.dashboard__settings-button i {
    line-height: 20px;
}

.dashboard__settings-button:hover {
    cursor: pointer;
}
.dashboard-settings-window .modal-dialog {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-settings__group {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.dashboard .histogram-title {
    color: #1e9a36;
    font-weight: bold;
}
.dashboard .histogram-error {
    color: red;
    font-weight: bold;
}

.dit__article-name,
.dit__variant,
.dit__subvariant,
.dit__speech-module,
.dit__instruction,
.dit__applicants-objections {
    font-family: "times new roman";
    font-size: 16px;
    color: black;
}
.dit__variant {
    font-size: 14px;
    text-decoration: underline;
}
.dit__subvariant {
    font-size: 14px;
    font-style: italic;
    margin-left: 12px;
}
.dit__speech-module {
    font-size: 14px;
    font-weight: bold;
}
.dit__instruction {
    font-size: 14px;
}
.dit__applicants-objections {
    color: green;
}

.dropdown-menu { 
    z-index: 200000; 
    width: 80%;
}
.routing-params label {
    margin-bottom: 0;
}

.routing-params__value {
    margin-right: 10px;
    min-width: 100px;
}

.panel-heading .panel-title .icons-list {
    vertical-align: middle;
}

.panel-heading .heading-elements .btn {
    margin-top: 0px;
}

.topics-table {
    border-collapse: collapse;
}

.topics-table tr:hover {
    cursor: pointer;
    background: #efefef;
}

.topics-table__sum {
    font-weight: bold;
}

.topics-table td {
    border: 1px solid #ccc;
    padding: 5px;
}

.topics-table td.topics-table__title {
    width: 600px;
}

#kb-editor-modal {
    overflow-y: auto;
}

.versions-compare__window {
    z-index: 9999 !important;
}
.intent-notify-emails-editor-modal__window {
    z-index: 1045 !important;
}
.intent-notify-email-modal__window {
    z-index: 9999 !important;
}
.handbook-record-modal__window {
    z-index: 1045 !important;
}
.handbook-record-modal__window .modal-dialog {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
} 
.versions-compare__window .modal-dialog {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}
.version__compare {
    color: #ccc;
}
.version__compare:hover {
    text-decoration: underline;
    color: black;
}
.version-compare__wrapper {
    overflow-x: auto;
}
.version-compare-column__width {
    min-width: 400px;
}
.version-compare__column {
    word-break: break-word;
    vertical-align: top !important;
}
.version-compare__table td {
    vertical-align: top;
}
.version-compare__table {
    table-layout: auto;
    margin-top: 1em;
}
.version-compare-answer__content {
    margin-left: 10px;
}

.intent-comparator-scroll-answer {
    max-height: 500px;
    overflow: auto;
}

.intent-section-filter {
    max-height: 600px;
    overflow-y: auto;
}

.intent-filter__block {
    display: inline-block;
    height: 30px;
    line-height: 30px;
}
.intent-filter__block-right {
    float: right;
    margin-left: 10px;
}
.label-section-filter {
    padding: 5px;
    margin-left: 3px;
}
.call-answers__wrapper {
    overflow-x: auto;
}
.call-answers__wrapper > .row {
    max-width: 99%;
}
.calls-time-interval__wrapper {
    margin: 0 .8em 2em .8em;
}

.caller-number-history__panel {
    margin: 1px !important;
}
.caller-number-history__header {
    margin-top: 0;
}

.caller-number-history-accordion__wrapper {
    min-width: 365px;
}

.caller-number-history__close {
    position: absolute;
    padding: .1em .2em;
    right: -.7em;
    top: .5em;
    cursor: pointer;
}
.intent-status-selector {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    justify-content: stretch;
}
.intent-status-selector__btn {
    flex: 1 0 20%;
    line-height: .8em;
    padding: .6em .4em;
    margin: 0;
    border-radius: 3px;
    border: 0;
}
.intent-status-selector__break {
    flex: 1 0 100%; 
    margin: 3px;
}
.intent-status-selector__btn.intent-status-selector__btn_Draft { background: rgba(153, 153, 153, 0.05); }
.intent-status-selector__btn.intent-status-selector__btn_Approval { background: rgba(33, 150, 243, 0.05); }
.intent-status-selector__btn.intent-status-selector__btn_Active { background: rgba(76, 175, 80, 0.05); }
.intent-status-selector__btn.intent-status-selector__btn_Inactive { background: rgba(0, 188, 212, 0.05); }
.intent-status-selector__btn.intent-status-selector__btn_Removed { background: rgba(206, 0, 255, 0.05); }
.intent-status-selector__btn.intent-status-selector__btn_Actual { background: rgba(255, 237, 107, 0.05);  flex-basis: 30%; }
.intent-status-selector__btn.intent-status-selector__btn_Published { background: rgba(110, 0, 255, 0.05); flex-basis: 30%; }
.intent-status-selector__btn.intent-status-selector__btn_All { background: rgba(255, 117, 0, 0.05);       flex-basis: 30%; }
.intent-status-selector__btn.intent-status-selector__btn_Unknown { background: rgba(255, 0, 0, 0.05);     }


.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Draft { background: rgb(153, 153, 153); color: white; }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Approval { background: rgb(33, 150, 243); color: white; }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Active { background: rgb(76, 175, 80); color: white; }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Inactive { background: rgb(0, 188, 212); color: white; }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Removed { background: rgb(206, 0, 255); color: white; }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Actual { background: rgb(255, 237, 107); }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Published { background: rgb(110, 0, 255); color: white; }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_All { background: rgb(255, 117, 0); color: white; }
.intent-status-selector__btn.intent-status-selector__btn_current.intent-status-selector__btn_Unknown { background: rgb(255, 0, 0); color: white; }

.btn-delete     { border-color: #ddd; color: black; background: rgba(255, 0, 0, 0.2);}
.btn-finish     { border-color: #ddd; color: black; background: rgba(0, 0, 0, 0.2);}
.btn-approve    { border-color: #ddd; color: black; background: rgba(33, 150, 243, 0.2);}
.btn-publish    { border-color: #ddd; color: black; background: rgba(0, 206, 0, 0.2);}
.btn-deactivate { border-color: #ddd; color: black; background: rgba(0, 188, 212, 0.2);}
.btn-remove     { border-color: #ddd; color: black; background: rgba(206, 0, 255, 0.2);}

.intent-status-selector__btn_current {}

.time-interval-selector__addon {
    line-height: 1.5384616;
    font-size: 13px;
    height: 34px;
    padding: 6px 11px;
    font-size: 12px;
    line-height: 1.6666667;
    border-radius: 2px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1;
    color: #333333;
    text-align: center;
    background-color: #fcfcfc;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.time-interval-selector__input {
    min-width: 210px;
}

.dashboard.dashboard-mobile {
    padding-bottom: 20px;
}

.dashboard-mobile hr {
    margin: 10px 0px;
}

.dashboard-mobile .time-interval-selector__input {
    min-width: 180px;
}

.dashboard-mobile .stat-row-group__caption .btn {
    white-space: inherit;
}

.dashboard-mobile .stat-item {
    /*max-width: 25%;*/
    height: 100%;
}

.dashboard-mobile .stat-row .stat-row-group {
    margin-top: 0;
}

.dashboard-mobile .stat-row {
    position: relative;
}

.dashboard-mobile .stat-item__min, .dashboard-mobile .stat-item__max {
    position: static;
}

.dashboard-mobile .input-group {
    display: block;
}

.dashboard-mobile .input-group .input-group-addon {
    display: block;
    border: 1px solid #ddd;
    border-bottom: none;
    width: auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.dashboard-mobile .input-group .daterangepicker-input form-control {
    dispaly: block;
}
.dashboard-mobile .btn-group {
    display: flex;
    width: 100%;
}

.dashboard-mobile .btn-group .btn {
    float: none;
    flex: 1 1 auto;
    margin: 0;
}

.dashboard-mobile time-interval-selector .btn-group .btn.btn-15min,
.dashboard-mobile time-interval-selector .btn-group .btn.btn-6h,
.dashboard-mobile time-interval-selector .btn-group .btn.btn-4w,
.dashboard-mobile time-interval-selector .btn-group .btn.btn-all{
    display: none;
}

.dashboard-mobile .dashboard__grouping-selector .btn-1sec {
    display: none;
}

.dashboard-mobile .histogram-wrapper.dc-chart .x.axis text {
    transform: rotate(-45deg);
    text-anchor: end !important;
}

.caller-number-searchbox__wrapper {
    padding-left: 0;
    max-width: 841px;
}

#topics-table {
    margin-top: 1em;
}

.load-histogram__icon {
    position: absolute;
    top: 0;
    right: 10px;
    
}

#call-answers-table_wrapper {
    padding: 10px;
    overflow-x: auto;
}

.static-line-selector__btn {
    padding: 5px 10px;
    border-radius: 5px;
}
.static-line-selector__btn + .static-line-selector__btn {
    margin-left: 5px;
}

.static-line-selector__btn-group .btn-success {
    border: 1px solid #228B22 !important;
}

.static-line-selector__btn-group .badge {
    color: white !important;
    border: 1px solid white;
    line-height: 2em;
    border-radius: 18px;
    font-size: 12px;
}

.static-line-selector__btn-group {
    text-align: center;
}

.static-line-selector__btn-badge {
    background-color: #00BCD4 !important;
}

.kb-search-page__container .intent-filter {
    line-height: 2.5em;
    padding: 0 0 .5em;
}

.kb-search-page__container .intent-section-filter {
    max-height: 700px;
    overflow-y: auto;
}

.kb-search-page__container .intent__row {
    position: relative;
    padding: 12px 20px 12px 30px;
    line-height: 1.5384616;
    vertical-align: top;
    border-top: 1px solid #ddd;
    border-left: 5px solid white;
    cursor:pointer;
}

.kb-search-page__container .intent__row:hover {
    border-left: 5px solid #1e9a36;
    background-color: rgba(30, 154, 54, 0.04) !important;
}
.kb-search-page__container .intent__row.current-intent {
    border-left: 5px solid #6471da;
    background-color: rgba(160, 168, 255, 0.14) !important;
}
.kb-search-page__container .intent__row .inactive-intent:hover {
    border-left: 5px solid #239a9a;
}
.kb-search-page__container .intent__row.inactive-intent .intent__title {
    color: #239a9a;
}

.kb-search-page__container .intent__row .removed-intent:hover {
    border-left: 5px solid #9a1e20;
}
.kb-search-page__container .intent__row .removed-intent .intent__title {
    color: #9a1e20;
}

.kb-search-page__container .intent__row:nth-of-type(odd) {
    background-color: #fcfcfc;
}

.kb-search-page__container .input-group {
    margin-bottom: 1.5em;
}
.kb-search-page__container .intent__index {
    position: absolute;
    left: 0px;
    top: 50%;
    height: 20px;
    width:25px;
    font-size: 16px;
    margin-top: -10px;
    text-align: center;
}
.kb-search-page__container .intent__title {
    font-size: 16px;
}
.kb-search-page__container .intent__highlights {
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-left: 30px;
    color: #aaa;
}
.kb-search-page__container .intent__highlight {}
.kb-search-page__container .intent__fieldname {}
.kb-search-page__container .intent__field-entry-cell {
    padding-left: 10px;
}
.kb-search-page__container .intent__field-entry {
    overflow: hidden;
}
.kb-search-page__container .intent__field-entry em {
    font-weight: bold;
    color: #999;
}
.kb-search-page__container .intent__field-entry * {
    margin: 0;
    padding: 0;
}

.kb-search-page__container .intent__subtitle {
    color: #9e9e9e;
    float: left;
    font-size: 12px;
}
.kb-search-page__container .intent__subtitle+.intent__subtitle {
    margin-left: 10px;
}
.kb-search-page__container .intent__subtitle_type {
    /*float: right;*/
}

.kb-search-page__container .intent__subtitle i {
    font-size: 12px;
}

.kb-search-page__container .section-filter__badge {
    background: #2196F3; 
    padding: 5px;
}

.kb-search-page__container .selected-intent__table {
    border-left: 5px solid #E0F7FA;
    table-layout:fixed;
}

.kb-search-page__container .selected-intent__table td {
    vertical-align: top;
}

.kb-search-page__container .selected-intent-table__close {
    position: absolute;
    
    top: 0;
    right: 0;
    
    cursor: pointer;
}

.kb-search-page__container .selected-intent-table-header__wrapper {
    position: relative;
}

.kb-search-page__container .top-intents__table .inactive-intent {
    
}

.modal-header__secondary {
    text-align: center;
    color: #b5b5b5; 
    display: block;
    margin: 0;
    font-size: 14px;
}
.expandable {
    margin-top: 10px;
    border: 1px solid #ddd;
}
.expandable__title {
    cursor: pointer;
    padding: 5px 10px;
}
.expandable__title:before {
    content: '\23F5';
    margin-right: 3px;
}
.expandable__title:after {
    display: inline-block;
    content: '';
    border-top: 1px solid #ccc;
}

.expandable__body {
    display: none;
    padding: 0 10px 10px 10px;
}

.expandable--expanded>.expandable__title:before {
    content: '\23F7'
}
.expandable--expanded>.expandable__body {
    display: block;
}

.channel-types-menu {
    padding: 5px;
    font-size: 100%;
}

.channel-types-title {
    
}

.dictionary-slot__domain {
    max-height: 500px; 
    overflow-y: auto; 
}
.dictionary-slot__domain i {
    color: #333333;
}
.dictionary-slot__domain .icon-trash {
    margin-right: 10px;   
}
.dictionary-slot-domain-export__actions {
    display: flex;
}
.dictionary-slot-domain-export__actions a {
    width: 100%;
}
.dictionary-slot-domain__pagination, .dictionary-slot-domain__empty  {
    padding: 10px;
}

.answer-channel-selector label {
    margin-bottom: 0;
}
.answer-channel-selector .dropdown-menu label{
    padding-left: 15px;
}
.comment-edit-btn{
    float: right;
    margin-left: 5px;
}
.comment-text{
    width: 85%;
    display: inline-block;
    padding: 5px;
    font-size: 110%;
}
.comment-box{
    padding-left: 0;
}
.comment-box__item-group {
    margin-bottom: 20px;
    padding-left: 0;
}
.comment-box__item {
    position: relative;
    display: block;
    padding: 4px 6px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}
.comment-box__item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.comment-box__item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.make-comment-btn{
    margin-bottom: 20px;
}
.input-group-flex {
    display: flex;
}

.input-group-flex .input-group-addon,
.input-group-flex .input-group-btn,
.input-group-flex .form-control {
    flex: 0 0 auto;
    display: inline-block;
    float: none;
    width: auto;
    height: 34px;
}

.input-group-flex input.form-control[type=date],
.input-group-flex input.form-control[type=time]{
    width: 160px;
    flex-grow: 0;
}

.input-group-flex .form-control + .form-control {
    margin-left: -1px;
}

.time-selector {
    margin: 10px 0;
}

.table.table-concise > tbody > tr > th,
.table.table-concise > tfoot > tr > th,
.table.table-concise > thead > tr > td,
.table.table-concise > thead > tr > th,
.table.table-concise > tbody > tr > td,
.table.table-concise > tfoot > tr > td {
    padding: 4px 8px;
}


.btn-xl, .btn-group-xl > .btn {
    padding: 11px 25px;
    font-size: 16px;
    line-height: 1.4285715;
    border-radius: 5px;
}

.intents-table-settings {
    margin-top: 10px;
    margin-bottom: -10px;
}

.routing-params-list {
    list-style-type: none;
    margin-bottom: 0;
    padding-left: 0;
}
.routing-params-list-wrapper {
    max-height: 710px;
    overflow-y: auto;
}
.routing-params-list-title,
.routing-params-list-item,
.routing-params-list-create-button {
    padding: 10px 10px 10px 0;
}
.routing-params-list-title,
.routing-params-edit-form-wrapper .input-group-addon {
    background-color: #ddd; 
}
.routing-params-list-item,
.routing-params-edit-form-title-wrapper {
    display: flex; 
    flex-direction: row;
}
.routing-params-list-item-title,
.routing-params-edit-form-title-wrapper span {
    flex: auto;
}
.routing-params-edit-form-title-wrapper i {
    font-size: 30px; 
    margin-left: 5px;
}
.routing-params-list-item-edit {
    opacity: 0;
}
.routing-params-list-item-edit:hover,
.routing-params-list-create-button:hover,
.routing-params-edit-form-wrapper i,
.routing-param-users-list-wrapper i,
.routing-param-search-user-list-wrapper i {
    color: #333333 !important;
}
.routing-param-users-list-wrapper,
.routing-param-search-user-list-wrapper {
    overflow-y: auto;
}
.routing-param-users-list-wrapper {
    max-height: 600px;
}
.routing-param-search-user-list-wrapper {
    max-height: 508px;
}
.routing-params-list-item:hover .routing-params-list-item-edit{
    opacity: 1;
}
.routing-params-list-create-button,
.routing-params-list-item:hover .routing-params-list-item-edit {
    color: #cecece;
}
.routing-params-list-item:hover,
.routing-params-list-create-button:hover {
    cursor: pointer;
}
.routing-params-list-item:hover,
.routing-params-list-item-active {
    background-color: #f1f1f1;
}
.routing-params-edit-form-wrapper {
    padding: 20px 70px;
}
.routing-params-edit-form-wrapper input,
.routing-params-search-user-form-wrapper input {
    padding: 25px 20px;
}

.preview-frame {
    width: 100%;
    height: 1000px;
    overflow-y: auto;
    border: 0;
}

.role-group, .role-subgroup__roles {
    overflow: hidden;
}
.role-subgroup__title {
    font-style: italic; 
    text-decoration: underline;
}

.handbook-search-table {
    max-height: 400px;
    overflow: auto;
}

.intent-notify-head {
    display: flex;
    justify-content: space-between;
    align-content: center;
}
.status-multi-change {
    display: flex;
    justify-content: center;
    padding-right: 100px
}
.inside-status-multi-change {
    display: flex;
    justify-content: center;
    margin-left: 40px
}
.offer-status-multi-change{
    white-space: nowrap;
    line-height: 40px;
    margin-right: 10px;
    height: 100%
}

.mce-tinymce .mce-container-body .mce-top-part .mce-container-body .mce-menubar {
    background-color: white !important;
}

body.modal-open {
    overflow: hidden !important;
}

.mce-menu-align {
    background-color: white !important;
    z-index: 65537 !important;
}