@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
  color:#000;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Nunito", serif;
}

.h2, h2 {
  font-size: 28px;
}

.h3, h3 {
  font-size: 22px;
}

a {
  color: #009DFF;
}

.link-sort {
  color:#323233;
}

.link {
  color: #009DFF;
  cursor: pointer;
}

.btn.focus, .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0;
}

.btn-login {
  background:#009DFF;
  color:#fff;
  border-radius:10px;
  font-weight: 600;
  padding: 12px 25px;
}

.w-full,.two_factor_code {
  color:#646566;
  background:#F0F2F5;
  border:none;
  --tw-shadow: none;
    --tw-shadow-colored: none;
    box-shadow: none;
    border-radius:10px;
    padding: 10px 25px;
    height: 50px;
}

.two_factor_code:focus {
  background:#F0F2F5;
}

.block-contacts-login {
  position: absolute;
  top:-50px;
  right: 0;
}

.block-contacts-login a {  
  font-size: 28px;
  font-weight: 700;
  line-height: 38.19px;
}

.block-contacts-login p {
  font-size: 18px;
  font-weight: 500;
  line-height: 24.55px;
  color:#646566;
}

header {
  background: #1C1B22;
}

header span {
  line-height: 1.2;
}

.header-user-logo {
  border-radius:10px;
  width:60px;
  height:60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn-menu {
  border-radius: 10px;
  background-color: #fff;
  color:#000;
  padding: 10px 20px;
}

.btn-menu:hover, .btn-menu.active {
  background-color: #F0F2F5;
  transition: .5s;
}

.btn-menu img {
  position: relative;
  top:-2px; 
}

.sidebar .btn-menu {
  border-radius: 10px;
  background-color: #fff;
  color:#000;
  padding: 10px 20px;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

.sidebar .btn-menu:hover, .sidebar .btn-menu.active {
  background-color: #009DFF;
  transition: .5s;
  color:#fff;
}

.sidebar .btn-menu img {
  position: relative;
  top:-2px; 
}

.sidebar .btn-menu .img-1 {
  display: inline-block;
}

.sidebar .btn-menu .img-2 {
  display: none;
}

.sidebar .btn-menu:hover .img-1, .sidebar .btn-menu.active .img-1 {
  display: none;
}

.sidebar .btn-menu:hover .img-2, .sidebar .btn-menu.active .img-2 {
  display: inline-block;
}

.btn-add-lead {
  background:#009DFF;
  color:#fff;
  border-radius:10px;
  font-weight: 600;
  padding: 12px 18px;
}

.tab-pane {
  font-size: 14px;
}

.tab-pane .col-md-2 {
  margin-bottom: 10px;
}

.nav-pills .nav-link {
  font-size: 26px;
  font-weight: 600;
  line-height: 38.19px;
  color:#ADAFB2;
  padding-left: 0;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color:#000000;
  background-color: #fff;
}

.btn-leads-page {
  font-size: 16px;
  padding: 10px 20px;
  background-color: #F0F2F5;
  border-radius: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.btn-leads-page:hover, .btn-leads-page.active {
  background-color: #009DFF;
  color:#FFFFFF;
}

.btn-red {
  background-color: #FF005E;
  color:#FFFFFF;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
}

.btn-red .img-btn-filt-1 {
  display: inline-block;  
  position: relative;
  top:-2px;
}

.btn-red .img-btn-filt-2 {
  display: none;  
  position: relative;
  top:-2px;
}

.btn-red[aria-expanded="true"] .img-btn-filt-1{
  display:none;
}

.btn-red[aria-expanded="true"] .img-btn-filt-2{
  display: inline-block;  
}

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

.table-striped thead th {
  font-size: 14px;
  font-weight: 700;
}

.table-striped td, .table-striped th, .table-striped a {
  font-size: 14px;
  border-top: 0px solid #dee2e6;
  vertical-align: middle;
}

.table-striped thead th {
  border-bottom: 0px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #F0F2F5;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

.table-striped tbody tr td:nth-child(2) {  
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.table-striped tbody tr:nth-of-type(odd) td:nth-child(2) {
  background-color: #F0F2F5;
}

.table-striped tbody tr:hover,.table-striped tbody tr:hover td:nth-child(2){
  background:#E1EDFF;
}

.table-striped tr td:first-child {
  background-color: #fff;
}



.pagination {
  margin-top: 30px;
}

.page-link {
  margin-right: 5px;
  background:#F0F2F5;
  border-radius: 10px!important;
  border:0;
  color:#323233;
  font-size: 14px;
}

.page-item.active .page-link {
  background:#009DFF;
}

.search-name {
  background-color: #F0F2F5;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  padding:0 25px;
  height: 50px;
  border:0;
}

.search-name:focus {
  outline: none;
}

.btn-search {
  position: absolute;
  top:0;
  bottom: 0;
  margin: auto;
  display: block;
  right: 0px;
  border: 0;
  background: transparent;
}

.collapse-btn {
  background-color: #F0F2F5;
  height: 50px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.filter-main input, .filter-main select, .select2-container--default .select2-selection--multiple{
  background: #F0F2F5;
  height: 50px;
  border:0;
  color:#000;
  border-radius: 10px;
  padding: 6px 12px;
}

.filter-main-2 input, .filter-main-2 select{
  background: #F0F2F5;
  height: 36px;
    font-size: 14px;
  border:0;
  color:#000;
  border-radius: 10px;
  padding: 6px 12px;
}

.select2-selection--multiple {
  width:100%;
  padding-left: 12px;
  padding-top: 7px;
  height: 40px;
}

.select2-search textarea {
  border-radius: 0!important;
  height: 40px!important;
}

.filter-main label {
  color:#000;
  font-weight: 500;
}


.filter-main-2 label {
  color:#000;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 0px;
}


.filter-main input::placeholder {
  color:#646566;
}

.filter-main textarea {
  border-radius: 10px;
}


.custom-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-checkbox+label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}
.custom-checkbox+label::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 0;
  background-color: #F0F2F5;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.custom-checkbox:checked+label::before {
  border-color: #F0F2F5;
  background-color: #F0F2F5;
  background-image: url(/img/icons/stroke.svg);
}

/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
  border-color: #b3d7ff;
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
  background-color: #b3d7ff;
  border-color: #b3d7ff;
}
/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
  border-color: #80bdff;
}
/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
  background-color: #e9ecef;
}

.modal-statuses {
  position: fixed!important;
  padding:10px;
  height: 440px;
  background-color: #fff;
  border:0px solid #E0E3E7;
  border-radius: 5px;  
  top: 100px;
  left: 100px;
  z-index:9999;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}

.modal-statuses table td {
  vertical-align: middle;
}

.full, .razv {
  border:0;
}

button.full2 {
  position: absolute;
  top: 20px;
  right: 55px;
}



.active-full {
  display: none;
  opacity: 0;
}

.active-razv {
  height: 100vh!important;
  width: 100vw!important;
  bottom: 0!important;
  right:0!important;
}

.full .img-1, .razv .img-1{
  display: inline-block;
}

.full .img-2,.razv .img-2 {
  display: none;
}

.full.active .img-2,.razv.active .img-2 {
  display: inline-block;
}

.full.active .img-1,.razv.active .img-1 {
  display: none;
}

button:focus {
  outline: 0px dotted;
  outline: 0px auto -webkit-focus-ring-color;
}

button.razv {
  position: absolute;
  top: 20px;
  right: 35px;
}

.ui-resizable {
   position: absolute; 
}

.modal-statuses .nav-pills .nav-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 19.1px;
  color: #000;
  border: 1.5px solid #F0F2F5;
  border-radius: 4px;
  margin-right: 5px;
  padding:5px 15px;
  margin-bottom: 5px;
}

.modal-statuses .tab-content {
    height: calc(100% - 50px);
    margin-top: 10px;
    overflow: auto;
}

.modal-statuses .table thead th {
  border-bottom: 0px solid #dee2e6;
}

.modal-statuses .nav-pills .nav-link.active, .modal-statuses .nav-pills .show>.nav-link {
  border: 0px solid #ADAFB2;
  background-color: #d0d4da;
}

.modal-statuses .nav-pills .nav-link.active b,.modal-statuses .nav-pills .show>.nav-link b {
  display: inline-block;
  font-weight: 400;
  font-size: 12px;
  margin-left: 5px;
  background-color: #fff;
  border-radius: 50%;
  width:20px;
  height:20px;
  text-align: center;
}

.btn-chanel {
  background-color:#8f3535;
  color:#fff;
  padding-top: 1px;
  padding-bottom: 1px;
}

.posts_all {
  display: inline-block;
  width: 10px;
  height:10px;
  border-radius: 50%;
  margin-right: 7px; 
}
.posts_approve {   background-color:#009DFF;  }

.posts_burnt {background: #FF0004;}

.posts_urgent {background: #FF8000;}

.posts_notcame {background: #646566;}

.posts_came {background: #FF00A1;}

.posts_notcall {background: #00FF00;}

.posts_missed {background: #9900FF;}

.btn-gray {
  color: #ADAFB2;
  border:1px solid #ADAFB2;
  border-radius: 10px;
  height: 50px;
  padding: 12px 20px;
}

.btn-blue {
  color: #009DFF;
  border:1px solid #009DFF;
  border-radius: 10px;
  height: 50px;
  padding: 12px 20px;
}

.btn-left-menu {
  color:#fff;
  background: #009DFF;
  width: 100%;
  padding: 10px 20px;
  border-radius: 10px;
  text-align: left;
}


.btn-left-menu[aria-expanded="false"] {
  background-color: #fff;
  color:#000;
}

.btn-left-menu[aria-expanded="false"] img {
  filter: invert(1);
}

.users_left_menu {
  color: #646566;
}

.users_left_menu.active, .users_left_menu.active span {
  color: #009DFF;
}

.users_left_menu:hover {
  text-decoration: none;
  background-color:#E1EDFF;
}

.link-back {
  font-size: 16px;
  font-weight: 500;
  line-height: 21.82px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #ADAFB2;
}

.btn-fssp {
  color:#009DFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 21.82px;
  border: 1.8px solid #009DFF;
  border-radius: 10px;
  padding: 15px 10px;
}

.url-info p{
  color:#000;
  font-weight: 500;
  font-size: 14px;
}

.gray-span {
  white-space: nowrap;
  color: #646566;
}

.msg-sent {
  position: absolute;
  right: 15px;
  top: 5px;
}

.phone-call {
  position: absolute;
  right: 40px;
  top: 5px;
}

.download-link {
  color: #009DFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 21.82px;
}

#exampleModal .modal-dialog .modal-content {
  border:0;
  border-radius: 20px;
  padding: 40px;
}

button.close {
  position: absolute;
  top:0px;
  right:5px;
}

.table-striped-2 tbody tr:nth-of-type(odd) {
  background-color: #F0F2F5;
  border-radius: 10px;
}

.table-striped-2 td, .table-striped-2 th {
  padding: .75rem;
  vertical-align: middle;
  border-top: 0;
}

.table-striped-2 thead th {
  vertical-align: bottom;
  border-bottom: 0;
}


.table-striped-2 td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.table-striped-2 td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.small-table,.small-table td, .small-table th {
  font-size:14px;
}

.small-table th, .small-table td {
  white-space: nowrap;
}

#workplace {
  color:#fff;
  border:0;
  background:transparent;
  padding-left: 0;
  padding-right: 0;
  width:60px;
}

option:disabled {
    background: #ccc;
}

.tablesorter-header-inner {
  display: flex;
  align-items: center;
}

.tablesorter-headerDesc .tablesorter-header-inner ,.tablesorter-headerAsc .tablesorter-header-inner{
 color:#009DFF;
}

.tablesorter-headerAsc .tablesorter-header-inner::after, .asc:after {
  content:'';
  display:block;
  width: 8px;
  height:13px;
  margin-left:5px;
  background-image: url('/img/icons/sort.svg');
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.tablesorter-headerDesc .tablesorter-header-inner::after, .desc:after {
  content:'';
  display:block;
  width: 8px;
  height:13px;
  margin-left:5px;
  background-image: url('/img/icons/sort.svg');
  transform: rotate(180deg);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}



.place_holder {
  z-index: 100;
    cursor: text;
    position: absolute;
    top: -1px;
    bottom: 0;
    height: 22px;
    margin: auto;
    left: 15px;
    width: 100%;
    display: none;
    color: #646566;
}

.placeinput input:invalid + .place_holder {
   display: inline;
}

/*вся проблема в том, если placeholder больше инпута*/
.placeinput {
  position: relative;
  overflow: hidden;
}
.place_holder span {
  color: red;
}

.btn-msg-delete {
  white-space: nowrap;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block; 
  margin: 1px;
}

main {
  position: relative;
}

#btn-menu {
  position: fixed;
  top: 100px;
  left:10px!important;
  z-index: 9999;
  left: 0;
}

#collapseMenu {
  position: fixed;
  background-color: #fff;
  z-index: 999;
  border: 1px solid #ccc;
  max-width: 250px;
  top: 90px;
  left: 0;
  padding: 60px 15px 15px 15px;
}

#btn-menu .img1{
  display:block;
}
#btn-menu .img2{
  display:none;
}

#btn-menu[aria-expanded="true"] .img1{
  display:none;
}

#btn-menu[aria-expanded="true"] .img2{
  display:block;
}

.widget-buttons {
  position: fixed;
  right: 25px;
  bottom: 20px;
  width: 30px;
  height: auto;
  z-index: 9999;
}

.widget-buttons button {
  width: 40px;
  height: 40px;
  border:0;
  background-color: #fff;
  border-radius: 50%;  
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  position: relative;
  padding:0;
}

.widget-number {
  position:absolute;
  color:#fff;
  font-size: 12px;
  top:-10px;
  right: -10px;
  display: block;
  border-radius: 12px;
  padding: 2px 8px;
}

.table-history-lead td,.table-history-lead th{
    font-size: 14px;
}

#btncollapseHistory .span-1 {
  display: block;
}

#btncollapseHistory .span-2 {
  display: none;
}

#btncollapseHistory[aria-expanded="true"] .span-2 {
  display: block;
}

#btncollapseHistory[aria-expanded="true"] .span-1 {
  display: none;
}

.hr-blue {
  border: 1px solid #009DFF;
  margin: 10px 0;
}

.border-left-blue {
  border-left: 2px solid #009DFF;
}

.toast {
  width: 200px;
  display: none;
}
.toast.show {
  display: block!important;
  opacity: 1;
}

.btn-search-2 {
  max-width: 200px;
}

.table-striped-3 tbody tr:nth-of-type(odd) td:nth-child(2) {
  background-color: #fff;
}

#callModal.modal {
  position: fixed;
  top: unset; 
  right: 70px;
  left:unset;
  z-index: 1050;
  display: none;
  width: 400px;
  bottom: 20px;
  height: auto;
  overflow: hidden;
  outline: 0;
}

.modal-backdrop {
  display: none;
}

.tr_green {
  background-color:#9dfab6;
}

.tr_green td {
  background: #9dfab6;
}

.tr_green td:nth-child(2){
  background: #9dfab6!important;
}

#callModal .modal-open {
  overflow: auto !important;
}

#callModal .modal-backdrop {
  display: none !important;
}

.stat {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 10px;
  padding:15px;
  height: 300px;
  overflow-y: auto;
}

@media (min-width: 1460px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 1400px;
  }
}

@media (min-width: 576px) {
  #exampleModal .modal-dialog {
      max-width: 538px;
      margin: 1.75rem auto;
  }
}

@media (max-width: 768px) {

  .border-left-blue {
    border:0;
  }
  .block-contacts-login {
    position: relative;
    top: 30px;
    right: 0;
  }

  .header-user-logo {
    width: 30px;
    height: 30px;
  }

  header span, header a {
    font-size: 14px;
  }

  #btn-menu {
    position: fixed;
    top: 10px;
    left: 10px !important;
    z-index: 9999; 
}

#collapseMenu {
  position: fixed;
  background-color: #fff;
  z-index: 999;
  border: 1px solid #ccc;
  max-width: 250px;
  top: 60px;
  left: 0;
  padding: 15px 15px 15px 15px;
  overflow-y: auto;
  max-height: 90%;
}

.btn-search-2 {
  max-width: 100%;
}

.modal-statuses {
  position: fixed !important;
  padding: 10px;
  height: 80%;
  width: 90%;
  background-color: #fff;
  border: 0px solid #E0E3E7;
  border-radius: 5px;
  top: 50px;
  left: 5%;
  z-index: 9999;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}

.modal-statuses .tab-content {
  height: calc(90% - 100px);
  margin-top: 10px;
  overflow: auto;
}

.modal-statuses .nav-pills .nav-link {
  font-size: 12px;
}

.table td, .table th, .table .btn {
  padding: .75rem;
  font-size: 12px;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

#pills-tabContent div {
    font-size: 12px;
}

}