.tr-lead {
  cursor: pointer;
}

select:disabled {
  cursor: default;
  background: #ccc;
}

.div-table {
  overflow-x: auto;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #f1f1f1;
}

.logo {
    max-width:200px;
    height:auto;
}

body {
  background-color: #f0f3fa !important;
}

.menu-header a:hover img {
  opacity: 0.7;
  transition: 0.5s;
}

.menu-header a:hover {
  text-decoration: none;
}

.result-save-text {
  display: block;
  border: 1px solid green;
  padding: 15px;
}

.table-dashboard {
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}

.table-dashboard thead tr {
  background: #dae2f9;
}

.table-dashboard body tr {
  background: #fff;
}

.table-dashboard thead th {
  font-weight: 600;
  font-size: 14px;
  line-height: 101.7%;
  color: #000000;
}

.table-dashboard td {
  font-weight: 400;
  font-size: 12px;
  line-height: 101.7%;
  color: #000000;
  vertical-align: middle;
  padding: 0 0.5rem;
}

.tr-lead:hover {
  background-color: rgba(3, 60, 171, 0.05);
  box-shadow: 0px 0px 9px rgba(3, 60, 171, 0.2);
}

.table-dashboard .btn {
  font-size: 12px;
  padding: 3px 10px;
  white-space: nowrap;
}

.table-reports th,
.table-reports td {
  font-size: 12px;
  text-align: center;
}

table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
  background-color: #cceeff;
}

.user-img {
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid grey;
  margin-right: 5px;
}

.nav-user {
  display: flex;
  align-items: center;
}

.nav-user.dropdown-toggle {
  position: relative;
}

.pagination {
  font-size: 12px;
}

.menu-filter .btn-outline-success:hover {
  color: #fff;
  background-color: #fff;
  border-color: #28a745;
}

.collapse {
  visibility: inherit;
}

.operator-select-2 {
  height: 25px;
  padding: 0.1rem 0.75rem;
  font-size: 14px;
  min-width: 120px;
}

header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.09);
}

.header-date-time {
  background: #fefefe;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
}

.header-date {
  font-weight: 400;
  font-size: 16px;
  line-height: 101.7%;
  color: #292d32;
  white-space: nowrap;
}

.header-time {
  font-weight: 400;
  font-size: 24px;
  line-height: 101.7%;
  color: #292d32;
  white-space: nowrap;
}

.header-user-name {
  font-weight: 400;
  font-size: 16px;
  line-height: 101.7%;
  color: #292d32;
}

.header-send {
  font-weight: 400;
  font-size: 12px;
  line-height: 101.7%;
  color: #ffffff;
  background: #062D79;
  border-radius: 5px;
  padding: 6px 10px;
}

.header-user-logo {
  background-size: cover;
  width: 52px;
  height: 52px;
  display: inline-block;
  border-radius: 50%;
  position: relative;
}

.header-user-logo::after {
  content: "";
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  right: 3px;
  bottom: 3px;
  background: #77d85e;
  border: 1px solid #ffffff;
  border-radius: 50%;
}

header .dropdown-toggle::after {
  display: none;
}

.title-dashboard {
  background: #fefefe;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  padding: 10px 30px;
  position: relative;
}

h1 {
  font-weight: 700;
  font-size: 24px;
  line-height: 101.7%;
  color: #292d32;
  margin-bottom: 0;
}

.btn-blue {
  font-weight: 400;
  font-size: 14px;
  line-height: 101.7%;
  padding: 13px 55px;
  color: #ffffff;
  background: #062D79;
  border-radius: 7px;
}

.btn-blue:hover {
    color:#fff;
}

.btn-blue-2 {
  font-weight: 400;
  font-size: 14px;
  line-height: 101.7%;
  padding: 12px 20px;
  color: #062D79;
  background: #f8f8f8;
  border: 1px solid #062D79;
  border-radius: 7px;
  display: inline-block;
}

.count-leads {
  font-weight: 400;
  font-size: 14px;
  line-height: 101.7%;
  color: #000000;
}

.count-date {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  display: block;
  padding: 10px 0;
}

.count-date > span {
  padding: 7px 10px;
}

/**************************************Меню************************************************/
.main-menu .nav {
  /*  ширна произвольная, не стесняйтесь экспериментировать */
  width: 320px;
  min-width: 320px;
  /* фиксируем и выставляем высоту панели на максимум */
  height: 100%;
  position: fixed;
  top: 0;
  margin: 0;
  /* сдвигаем (прячем) панель относительно левого края страницы */
  left: -320px;
  /* внутренние отступы */
  padding: 15px 20px 15px;
  /* плавный переход смещения панели */
  -webkit-transition: left 0.3s;
  -moz-transition: left 0.3s;
  transition: left 0.3s;
  /* определяем цвет фона панели */
  background: #fff;
  /* поверх других элементов */
  z-index: 2000;
  display: block;
}

/**
 * Кнопка переключения панели
 * тег <label>
 */

.main-menu .nav-toggle {
  /* абсолютно позиционируем */
  position: absolute;
  /* относительно левого края панели */
  left: 320px;
  /* отступ от верхнего края панели */
  top: 100px;
  /* внутренние отступы */
  padding: 0.5em;
  /* определяем цвет фона переключателя
     * чаще вчего в соответствии с цветом фона панели
    */
  background: #062D79;
  /* цвет текста */
  color: #dadada;
  /* вид курсора */
  cursor: pointer;
  /* размер шрифта */
  font-size: 1.2em;
  line-height: 1;
  /* всегда поверх других элементов страницы */
  z-index: 2001;
  /* анимируем цвет текста при наведении */
  -webkit-transition: color 0.25s ease-in-out;
  -moz-transition: color 0.25s ease-in-out;
  transition: color 0.25s ease-in-out;
}

/* определяем текст кнопки 
 * символ Unicode (TRIGRAM FOR HEAVEN)
*/

.main-menu .nav-toggle:after {
  content: "\2630";
  text-decoration: none;
}

/* цвет текста при наведении */

.main-menu .nav-toggle:hover {
  color: #f4f4f4;
}

/**
 * Скрытый чекбокс (флажок)
 * невидим и недоступен :)
 * имя селектора атрибут флажка
 */

[id="nav-toggle"] {
  position: absolute;
  display: none;
}

/**
 * изменение положения переключателя 
 * при просмотре на мобильных устройствах
 * когда навигация раскрыта, распологаем внутри панели
*/

[id="nav-toggle"]:checked ~ .nav > .nav-toggle {
  left: auto;
  right: 2px;
  top: 1em;
}

/**
 * Когда флажок установлен, открывается панель
 * используем псевдокласс:checked
 */

[id="nav-toggle"]:checked ~ .nav {
  left: 0;
  box-shadow: 4px 0px 20px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 4px 0px 20px 0px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 4px 0px 20px 0px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

/* 
 * смещение контента страницы
 * на размер ширины панели,
 * фишка необязательная, на любителя
*/

[id="nav-toggle"]:checked ~ main > article {
  -webkit-transform: translateX(320px);
  -moz-transform: translateX(320px);
  transform: translateX(320px);
}

/*
 * изменение символа переключателя,
 * привычный крестик (MULTIPLICATION X), 
 * вы можете испльзовать любой другой значок
*/

[id="nav-toggle"]:checked ~ .nav > .nav-toggle:after {
  content: "\2715";
}

/**
 * профиксим баг в Android <= 4.1.2
 * см: http://timpietrusky.com/advanced-checkbox-hack
 

body {
  -webkit-animation: bugfix infinite 1s;
}
*/
@-webkit-keyframes bugfix {
  to {
    padding: 0;
  }
}

/**
 * позаботьтимся о средних и маленьких экранах
 * мобильных устройств
 */

@media screen and (min-width: 320px) {
  html,
  body {
    margin: 0;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 320px) {
  html,
  body {
    margin: 0;
    overflow-x: hidden;
  }
  .nav {
    width: 100%;
    box-shadow: none;
  }
}

/**
 * Формируем стиль заголовка (логотип) панели 
*/

.main-menu .nav h2 {
  width: 90%;
  padding: 0;
  margin: 10px 0;
  text-align: center;
  text-shadow: rgba(255, 255, 255, 0.1) -1px -1px 1px,
    rgba(0, 0, 0, 0.5) 1px 1px 1px;
  font-size: 1.3em;
  line-height: 1.3em;
  opacity: 0;
  transform: scale(0.1, 0.1);
  -ms-transform: scale(0.1, 0.1);
  -moz-transform: scale(0.1, 0.1);
  -webkit-transform: scale(0.1, 0.1);
  transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  -moz-transform-origin: 0% 0%;
  -webkit-transform-origin: 0% 0%;
  transition: opacity 0.8s, transform 0.8s;
  -ms-transition: opacity 0.8s, -ms-transform 0.8s;
  -moz-transition: opacity 0.8s, -moz-transform 0.8s;
  -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
}

.main-menu .nav h2 a {
  color: #dadada;
  text-decoration: none;
  text-transform: uppercase;
}

/*плавное появление заголовка (логотипа) при раскрытии панели */

[id="nav-toggle"]:checked ~ .nav h2 {
  opacity: 1;
  transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
}

/**
 * формируем непосредственно само меню
 * используем неупорядоченный список для пунктов меню
 * прикрутим трансфомации и плавные переходы
 */

.main-menu .nav > ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  padding-top: 30px;
}

.main-menu .nav > ul > li {
  line-height: 2.5;
  opacity: 0;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: opacity 0.5s 0.1s, -webkit-transform 0.5s 0.1s;
  -moz-transition: opacity 0.5s 0.1s, -moz-transform 0.5s 0.1s;
  -ms-transition: opacity 0.5s 0.1s, -ms-transform 0.5s 0.1s;
  transition: opacity 0.5s 0.1s, transform 0.5s 0.1s;
}

[id="nav-toggle"]:checked ~ .nav > ul > li {
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

/* определяем интервалы появления пунктов меню */

.main-menu .nav > ul > li:nth-child(2) {
  -webkit-transition: opacity 0.5s 0.2s, -webkit-transform 0.5s 0.2s;
  transition: opacity 0.5s 0.2s, transform 0.5s 0.2s;
}

.main-menu .nav > ul > li:nth-child(3) {
  -webkit-transition: opacity 0.5s 0.3s, -webkit-transform 0.5s 0.3s;
  transition: opacity 0.5s 0.3s, transform 0.5s 0.3s;
}

.main-menu .nav > ul > li:nth-child(4) {
  -webkit-transition: opacity 0.5s 0.4s, -webkit-transform 0.5s 0.4s;
  transition: opacity 0.5s 0.4s, transform 0.5s 0.4s;
}

.main-menu .nav > ul > li:nth-child(5) {
  -webkit-transition: opacity 0.5s 0.5s, -webkit-transform 0.5s 0.5s;
  transition: opacity 0.5s 0.5s, transform 0.5s 0.5s;
}

.main-menu .nav > ul > li:nth-child(6) {
  -webkit-transition: opacity 0.5s 0.6s, -webkit-transform 0.5s 0.6s;
  transition: opacity 0.5s 0.6s, transform 0.5s 0.6s;
}

.main-menu .nav > ul > li:nth-child(7) {
  -webkit-transition: opacity 0.5s 0.7s, -webkit-transform 0.5s 0.7s;
  transition: opacity 0.5s 0.7s, transform 0.5s 0.7s;
}
.main-menu .nav > ul > li:nth-child(8) {
  -webkit-transition: opacity 0.5s 0.8s, -webkit-transform 0.5s 0.8s;
  transition: opacity 0.5s 0.8s, transform 0.5s 0.8s;
}
.main-menu .nav > ul > li:nth-child(9) {
  -webkit-transition: opacity 0.5s 0.9s, -webkit-transform 0.5s 0.9s;
  transition: opacity 0.5s 0.9s, transform 0.5s 0.9s;
}
.main-menu .nav > ul > li:nth-child(10) {
  -webkit-transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: opacity 0.5s 1s, transform 0.5s 1s;
}
.main-menu .nav > ul > li:nth-child(11) {
  -webkit-transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: opacity 0.5s 1s, transform 0.5s 1s;
}
.main-menu .nav > ul > li:nth-child(12) {
  -webkit-transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: opacity 0.5s 1s, transform 0.5s 1s;
}
.main-menu .nav > ul > li:nth-child(13) {
  -webkit-transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: opacity 0.5s 1s, transform 0.5s 1s;
}
.main-menu .nav > ul > li:nth-child(14) {
  -webkit-transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: opacity 0.5s 1s, transform 0.5s 1s;
}
.main-menu .nav > ul > li:nth-child(15) {
  -webkit-transition: opacity 0.5s 1s, -webkit-transform 0.5s 1s;
  transition: opacity 0.5s 1s, transform 0.5s 1s;
}

/**
 * оформление ссылок пунктов меню
 */

.main-menu .nav > ul > li > a {
  display: inline-block;
  position: relative;
  background: #fefefe;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  padding: 15px;
  height: 50px;
  line-height: 1;
  width: 100%;
  text-decoration: none;
  /* плавный переход */
  -webkit-transition: color 0.5s ease, padding 0.5s ease;
  -moz-transition: color 0.5s ease, padding 0.5s ease;
  transition: color 0.5s ease, padding 0.5s ease;
  margin-top: 15px;
  color: #292d32;
}

/**
 * состояние ссылок меню при наведении
 */

.main-menu .nav > ul > li > a:hover,
.main-menu .nav > ul > li > a:focus {
  color: #292D32;
  padding-left: 15px;
}

.main-menu .nav > ul > li > a:hover {
  background: linear-gradient(180deg, #062D79 0%, #3d33ff 100%);
  color: #fff;
  transition: 0.5s;
}

.main-menu .nav > ul > li > a:hover img {
  filter: invert(1);
  transition: 0.5s;
}
.main-menu .helps {
  position: relative;
  bottom: 10px;
  margin-top:30px;
}

.main-menu .helps-title {
  font-size: 14px;
  color: #979797;
}

/**
 * линия подчеркивания ссылок меню
 */

.main-menu .nav > ul > li > a:before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  -webkit-transition: width 0s ease;
  transition: width 0s ease;
}

.main-menu .nav > ul > li > a:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  /*background: #3bc1a0;*/
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

/**
 * анимируем линию подчеркивания 
 * ссылок при наведении
 */

.main-menu .nav > ul > li > a:hover:before {
  width: 0%;
  background: #062D79;
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

.main-menu .nav > ul > li > a:hover:after {
  width: 0%;
  background: transparent;
  -webkit-transition: width 0s ease;
  transition: width 0s ease;
}

/* фон затемнения на основной контент 
 * при этом элементы блокируютя
 * спорная такая фича, если оно вам надо
 * просто раскомментируйте
*/

/*
.mask-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
}

[id='nav-toggle']:checked ~ .mask-content {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .5s, visibility .5s;
    transition: opacity .5s, visibility .5s;
}
*/

td .badge.badge-warning {
  background-color: transparent;
  color: darkred;
  padding: 0;
}

.modal-backdrop {
  background: rgba(64, 128, 255, 0.73);
}

.modal-content {
  border: 1px solid #062D79;
}

.modal-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 101.7%;
}
.modal-content {
  overflow: hidden;
}
.modal-content .pills {
  margin: 20px 0 25px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #062D79;
  box-shadow: 0px 0px 9px rgba(3, 60, 171, 0.2);
  border-radius: 5px;
}

.modal-content .pills .nav-link {
  flex-grow: 1;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 101.7%;
  text-align: center;
  color: #000000;
  border-left: 1px solid #062D79;
  padding: 15px;
}
.modal-content .pills .nav-link:first-child {
  border-left: 0;
}

.modal-content .pills .nav-link.active {
  color: #ffffff;
  background: #062D79;
}

.modal-content h3 {
  font-weight: 400;
  font-size: 20px;
  line-height: 101.7%;
}

.form-control {
  border: 1px solid #062D79;
  border-radius: 5px;
}

.lead-message-block {
  border: 1px solid #062D79;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0 30px;
}

.table-dashboard .btn.btn-save {
  font-weight: 400;
  font-size: 14px;
  line-height: 101.7%;
  color: #062D79;
  background: #ffffff;
  border: 1px solid #062D79;
  border-radius: 7px;
  padding: 13px 22px;
}

.table-dashboard .btn.btn-del {
  font-weight: 400;
  font-size: 14px;
  line-height: 101.7%;
  color: #979797;
  background: #ffffff;
  border: 1px solid #979797;
  border-radius: 7px;
  padding: 13px 22px;
}

.table-history {
  background: #ecf1ff;
  margin: 1rem -1rem -1rem;
  padding: 1rem;
}

.table-history td {
  background: #ffffff;
  border-radius: 4px;
  border: 2px solid #ecf1ff;
  padding: 5px 10px;
}

.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: calc(1.5em + 0.75rem);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #fff;
  content: "Загрузить";
  background: linear-gradient(180deg, #062D79 0%, #3d33ff 100%);
  border-left: inherit;
  border-radius: 0 0.25rem 0.25rem 0;
}

.file-link-download {
  background: #062D79;
  border: 0.77686px solid #062D79;
  border-radius: 5.43802px;
  font-weight: 400;
  font-size: 10.876px;
  line-height: 101.7%;
  padding: 10px 25px;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 20px;
}

body::-webkit-scrollbar {
  width: 5px;
}

body::-webkit-scrollbar-track {
  background: #dddbdb; /* цвет зоны отслеживания */
}

body::-webkit-scrollbar {
  width: 5px; /* ширина всей полосы прокрутки */
}

body::-webkit-scrollbar-track {
  background: #dddbdb; /* цвет зоны отслеживания */
}

body::-webkit-scrollbar-thumb {
  background-color: blue; /* цвет бегунка */
  border-radius: 50%; /* округлось бегунка */
  border: 3px solid #062D79; /* отступ вокруг бегунка */
}
.pos-f-t {
  position: absolute;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 999;
  background: #fefefe;
  border: 0px solid #f1f1f1;
  border-radius: 10px;
  top: 115%;
}

.nowrap {
  white-space: nowrap;
}
.pos-f-t .form-control {
  border: 1px solid #e0e0e0;
  height: 38px;
}
.data-time-filter input[type="date"] {
  border: 1px solid #e0e0e0;
  border-top-left-radius: 7px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 0px;
}
.data-time-filter input[type="time"] {
  border: 1px solid #e0e0e0;
  border-top-left-radius: 0px;
  border-top-right-radius: 7px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 7px;
}

.input-group-text {
  background: transparent;
}

select {
  display: block;
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 700;
  color: #444;
  line-height: 1.3;
  padding: 0.6em 1.4em 0.5em 0.8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
  border-radius: 0.5em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}
select::-ms-expand {
  display: none;
}
select:hover {
  border-color: #888;
}
select:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222;
  outline: none;
}
select option {
  font-weight: normal;
}
*[dir="rtl"] select,
:root:lang(ar) select,
:root:lang(iw) select {
  background-position: left 0.7em top 50%, 0 0;
  padding: 0.6em 0.8em 0.5em 1.4em;
}

.result-1 .col-md-9,.result-2 .col-md-9 {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.result-1 td,.result-2 td {
    font-size:14px;
}

@media screen and (max-width: 768px) {
  .data-time-filter .nowrap {
    display: block;
  }
  .main-menu .nav-toggle {
    top: 200px;
  }
  .table-dashboard thead th {
    padding: 0 0.75rem 0.75rem;
  }

  .title-dashboard{
    padding: 10px 20px;
  }
}
