/* Add here all your CSS customizations */
.mod_.page-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.head_panel {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}

.pannel_f_b {
  min-width: 350px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.serv_tabl_btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ced4da;
  border-radius: 5px;
}

.click_filter {
  cursor: pointer;
}

.serv_tabl_btn i {
  font-size: 20px;
  cursor: pointer;
  color: #d3d3d3;
}

.serv_tabl_inner {}


.serv_tabl_inner form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.serv_tabl_inner .card-body {
  position: relative;

  padding-left: 15px;
  border: 1px solid #0088CC;
  border-radius: 5px;
}




.arrow_ {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 20px solid transparent;
  border-bottom: 20px solid #0088CC;
  top: 18px;
  display: none;

}

.form_item_ {
  width: 15%;
  min-width: 200px;
}

.form_item_short {
  width: 15%;
  min-width: 110px;
}

.form_item_30 {
  width: 30%;
  min-width: 200px;
}

.form_item_50 {
  width: 50%;
  min-width: 200px;
}

.form_item_70 {
  width: 70%;
  min-width: 200px;
}

.form_item_100 {
  width: 100%;
  /* min-width: 200px;*/
}

.form_item_ .input-group {
  flex-wrap: nowrap;
}

.form_btn_panel {
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}




.click_filter_1 {
  width: 30px;
}

.table_filter_ {
  flex-wrap: wrap;
  column-gap: 15px;
  position: absolute;
  width: 60%;
  height: inherit;
  border: 1px solid #ced4da;
  border-radius: 5px;
  z-index: 99;
  background-color: #FFF;
  padding: 15px;
  display: none;
}

.toggle-primary .toggle .form_item_ label {
  color: #000;
}

.toggle>label i.icon_ {
  font-size: 25px;
}

.toggle label.filter_panel {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}


.autoComplete_wrapper ul,
.autoComplete_wrapper li {
  position: absolute;
  list-style-type: none;
  text-decoration: none;
  padding-left: 0;
  z-index: 99999;

}

.autoComplete_wrapper ul {
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  min-height: 50px;
  margin-top: 10px;
  background-color: #FFF;
}


/**/

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
  color: #bfbfbf;

}

option[disabled] {
  color: #bfbfbf ! important;
}

@media (max-width: 767px) {
  .serv_tabl_inner {
    top: 180px;
  }
}

.visible_ {
  display: flex;
}



/*СТРАХОВАТЕЛЬ*/
.toggle-content.pol_hold {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 30px;
}

.mfp-container {
  display: flex;
}

.serv_tabl_inner.pol_hold form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.popup_form_title {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 20px;
}

.popup_form_text {
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;

}

._horz {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

._vert {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

._wrp {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

._fl_end {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 15px;
}

._fl_cent {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

._fl_r_end {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.serv_tabl_inner form._vert {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.serv_tabl_inner.white-popup-block {
  max-width: 1000px;
}

/*FLEXBOX*/
.gap_5 {
  gap: 5px;
}

.gap_10 {
  gap: 10px;
}

.gap_15 {
  gap: 15px;
}

.gap_20 {
  gap: 20px;
}

.gap_25 {
  gap: 25px;
}

.gap_30 {
  gap: 30px;
}

.f_r_btw_ctr {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.f_r_str_ctr {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.f_c_str_ctr {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.f_c_str_str {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.f_c_btw_ctr {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}


.mt_3 {
  margin-top: 3px;
}

.mt_30 {
  margin-top: 30px;
}

.w_100 {
  width: 100%;
}

.w_30 {
  width: 30%;
}

.w_25 {
  width: 25%;
}

.block_wrap_01 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.tog_tab_wrap_01 {
  width: 75%;
}

.right_blok_01 {
  width: 25%;
  margin-top: 20px;
}

.item_block_name {
  margin-bottom: -5px;
  font-weight: 700;
}

/*DATA_TABLE*/
.ajax_table_wrapper {
  position: relative;
  width: 97%;
}

div.dataTables_wrapper div.dataTables_length select {
  width: 50px;
}

/* кнопка экшена в таблице */
button.action {
  padding: 0.07rem 0.75rem;
}

.dz-default {
  width: 100%;
}

.dz-button {
  width: 100%;
  height: 100%;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  color: rgb(150, 150, 150);
}


#docs_ .form_item_:hover {
  background-color: rgb(224, 224, 224);
  position: relative;
  opacity: 1;
  transform: scale(1.009);
  /*вот так*/
}

#docs_ .form_item_ .docWrap {
  display: flex;
  flex-direction: row;
}

#docs_ .form_item_ .docWrap .filename {
  display: block;
}

#docs_ .form_item_ .imgwrap {
  display: block;
}

#docs_ .form_item_ img {
  width: 60px;
  height: 60px;
  margin-right: 20px;
}

#docs_ .form_item_ svg {
  margin-top: 15px;
  width: 25px;
  height: 25px;
  fill: rgb(160, 160, 160);
}

#docs_ .form_item_ svg:hover {
  cursor: pointer;
}

#docs_ .form_item_ span {
  color: black;
  vertical-align: middle;
  font-size: 20px;
}

#docs_ .form_item_ .download {
  margin-top: 15px;
  margin-left: 30px;
  width: 30px;
  height: 30px;
  color: red;

  .main-wrap {
    background-color: rgb(158, 158, 158);
  }

  .autoSelect {
    width: 300px;
  }

  .help {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .custom-wrap-item {

    max-width: 292px
  }

  .chosen-single {
    border: solid 1px rgb(206, 212, 218) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    background: white !important;
    height: 38px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    color: #626161 !important;
    width: 275px !important;
  }

  .chosen-container {
    width: 270px !important;
  }

  .chosen-single span {
    margin-top: 5px;
  }

  .chosen-single b {
    margin-top: 5px;
  }

  .mb-0 {
    display: flex;
    flex-direction: row;
    align-items: end;
  }

  .mb-0 button {
    margin-left: 0px !important;
  }

  .carSelect {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .carSelect .btn {
    margin-left: 20px;
  }

  #docs_ {
    max-width: 980px;
    margin: 0 auto
  }

  #docs_ .form_item_ {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 980px;
    width: 100%;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 5px;
    padding: 20px;
  }

  #docs_ .form_item_:hover {
    background-color: rgb(224, 224, 224);
    position: relative;
    opacity: 1;
    transform: scale(1.009);
    /*вот так*/
  }

  #docs_ .form_item_ .docWrap {
    display: flex;
    flex-direction: row;
  }

  #docs_ .form_item_ .docWrap .filename {
    display: block;
  }

  #docs_ .form_item_ .imgwrap {
    display: block;
  }

  #docs_ .form_item_ img {
    width: 60px;
    height: 60px;
    margin-right: 20px;
  }

  #docs_ .form_item_ svg {
    margin-top: 15px;
    width: 25px;
    height: 25px;
    fill: rgb(160, 160, 160);
  }

  #docs_ .form_item_ svg:hover {
    cursor: pointer;
  }

  #docs_ .form_item_ span {
    color: black;
    vertical-align: middle;
    font-size: 20px;
  }

  #docs_ .form_item_ .download {
    margin-top: 15px;
    margin-left: 30px;
    width: 30px;
    height: 30px;
    color: red;
  }

  small {
    color: #a6a6a6;
    font-size: 15px;
  }

  .dropzone {
    max-width: 980px;
    margin-bottom: 20px;
  }

  .dz-default {
    width: 100%;
  }

  .dz-button {
    width: 100%;
    height: 100%;
    border: none;
    background-color: rgba(0, 0, 0, 0);
    color: rgb(150, 150, 150);
  }

  .deleteCar {
    margin-right: 90px;
  }

  .addCar {
    width: 100%;
  }

  .custon-wrap-item {
    min-width: 270px !important;
  }
}

#docs_ {
  max-width: 980px;
  margin: 0 auto
}

#docs_ .form_item_ {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 980px;
  width: 100%;
  border: 1px solid rgb(224, 224, 224);
  border-radius: 5px;
  padding: 20px;
}

.drzn {
  background: rgba(0, 0, 0, 0.03) none repeat scroll 0 0;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 3px;
  min-height: 122px;
  padding: 23px;
}

.dropzone-previews {
  display: flex;
  gap: 50px;
  border: solid 1px #e5e6e9;
  max-width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
}

.dz-success-mark {
  position: absolute;
  left: 40px;
}

.dz-success-mark, .dz-error-mark {
  display: none;
}

.dz-success-mark>svg {
  width: 20px;
  filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(87deg) brightness(119%) contrast(119%);
  position: relative;
}

.dz-error-mark>svg {
  width: 20px;
  filter: invert(82%) sepia(93%) saturate(2462%) hue-rotate(14deg) brightness(119%) contrast(89%);
  position: relative;
}


.dz-preview {
  border: solid 1px #ecedf0;
  padding: 10px;
  border-radius: 5px;
}

.dz-remove {
  text-decoration: none;
  width: 100%;
  display: block;
  background: #c55353;
  color: black;
  text-align: center;
  height: 30px;
  padding-top: 4px;
  border-radius: 5px;
  font-size: larger
}

.dz-remove:hover {
  background: #6e0909;
  color: white;
  text-decoration: none;
}

.dz-remove:active {
  text-decoration: none;
}

.dz-image {
  text-align: center;
}
.dz-image>img {
  border-radius: 5px;
  width: 150px;
  height: 114px;
}

.pointer-none {
  pointer-events: none;
  background: #bcbcbc26;
}
tr.selected td {
  color: #777 !important;
}

tr.selected a {
  color: #0088CC !important;
}

table.dataTable>tbody>tr.selected>td:first-of-type {
  border-left: 3px solid rgb(227, 97, 89) !important;
}

.buttons-select-all {
  background-color: #0088CC !important;
  margin-right: 15px;
  border-radius: 5px !important;
  border-color: #0088CC !important;
  width: 111px;
}

.buttons-select-all span {
  visibility: hidden;
  position: relative;
  display: block;
  width: 100%;
}

.buttons-select-all span::after {
  content: "Выбрать всё";
  visibility: visible; 
  position: absolute;
  top: 0; 
  left: 0;
}

.buttons-select-none {
  background-color: #0088CC !important;
  margin-right: 15px;
  border-radius: 5px !important;
  border-color: #0088CC !important;
  width: 109px;
}

.buttons-select-none span {
  visibility: hidden;
  position: relative;
  display: block;
  width: 100%;
}

.buttons-select-none span::after  {
  content: "Снять всё";
  visibility: visible; 
  position: absolute;
  top: 0; 
  left: 5px;
}

.buttons-copy {
  border-radius: 5px 0 0 5px !important;
}

/* Таблицы с историями , скрыть пагинацию */
#history_wrapper  ul.pagination>li:first-child,
#history_wrapper  ul.pagination>li:nth-child(2),
#history_wrapper  ul.pagination>li:last-child,
#history_wrapper  ul.pagination>li:nth-last-child(2)
{
  display: none !important;
}

.delete-rows-btn {
  background-color: red !important;
}

.ajax_table_wrapper {
  margin-bottom: 30vh;
}

.select2-container{
  z-index: 0 !important;
}

.mass-extermination {
  position: fixed;
  bottom: 0px;
  right: 0;
  background-color: white;
  padding: 10px 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: 1000;
  width: calc(100% - 300px);
  -webkit-box-shadow: 1px -1px 8px -1px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 1px -1px 8px -1px rgba(34, 60, 80, 0.2);
  box-shadow: 1px -1px 8px -1px rgba(34, 60, 80, 0.2);
}

#delete-popup {
  max-width: 500px;
}

#delete-popup h3{
  text-align: center;
  margin-bottom: 30px;
}

.delete-popup-buttons {
  display: flex;
  justify-content: center;
}

#delete-popup .delete-rows-btn {
  margin-right: 20px !important;
}

/* Деактивировать поле */
.hide {
  animation: fade 0.5s ease forwards;
}

.hide input, .hide select {
  box-shadow: 0px 0px 6px 2px rgba(255, 2, 2, 0.59);
}

@keyframes fade {
  from {
      background-color: white;
  }
  to {
      background-color: #d9d9d9;
      pointer-events: none;
  }
}
/* ====== */