@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&subset=cyrillic');

table.dataTable thead .sorting { background: url('/imgs/icons/sort_both.png') no-repeat center right; background-size: 12px 12px; }
table.dataTable thead .sorting_asc { background: url('/imgs/icons/sort_asc.png') no-repeat center right; background-size: 12px 12px; }
table.dataTable thead .sorting_desc { background: url('/imgs/icons/sort_desc.png') no-repeat center right; background-size: 12px 12px; }

table.dataTable thead .sorting_asc_disabled { background: url('/imgs/icons/sort_asc_disabled.png') no-repeat center right; background-size: 12px 12px; }
table.dataTable thead .sorting_desc_disabled { background: url('/imgs/icons/sort_desc_disabled.png') no-repeat center right; background-size: 12px 12px; }

tr.shown td.details-control { background: url('/imgs/icons/details_close.png') no-repeat center right; background-size: 9px 9px;}
td.details-control { background: url('/imgs/icons/details_open.png') no-repeat center right; background-size: 9px 9px;}

tr.shown td.details-control:hover {cursor: pointer;}
td.details-control:hover {cursor: pointer;}

#DataTables_Table_0_filter,
#DataTables_Table_0_filter input{
  display: none !important;
}
 
.dateH {
  background: rgba(230,230,255,0.3);
  padding-left: 40px !important;
}

.details-control {
  padding: 0 !important;
}

/* Окно добавления заказа */

.add-order_button{
  padding: 0 15px;
  margin-bottom: 10px !important;
  float: right;
  box-sizing: border-box;
  border-radius: 3px;
  line-height: 40px;
  height: 40px;
  background: #8CD790;
}

.add-order_button a,
.add-order_button a:hover{
  text-decoration: none;
}

.add-order_button:hover{
  box-shadow: 0 0 7px #c6e5d9 !important;
  cursor: pointer;
}

.add-order_inner{
  width: 100%;
  text-align: right;
  line-height: 40px;
  color: white;
  font-size: 14px;
  font-weight: 300;
  font-family: Roboto;
}

.add-order_inner:before{
  content: "";
  display: inline-block;
  float: left;
  margin-right: 10px;
  margin-top: 12px !important;
  width: 15px;
  height: 15px;
  background: url(/imgs/icons/add-order.svg) no-repeat;
  background-size: contain;
  position: relative;
}


.add-order_modal{
  display: none;
  position: absolute;
  z-index: 1000;
  top: 50%;
  margin-top: -350px;
  right: 50%;
  margin-right: -625px;
  width: 1250px;
  height: 700px;
  background: white;
  box-shadow: 0  0 500px 500px rgba(0, 0, 0, 0.5);
}

.add-modal_title{
  box-sizing: border-box;
  border-radius: 3px;
  padding: 30px 0 0 30px;
  width: 25%;
  height: 90px;
  /* background: #8CD790; */
  font-size: 24px;
  font-family: Roboto;
  font-weight: 500;
  color: #333;
  /* box-shadow: 0 0 7px #c6e5d9 !important; */
  margin-bottom: 0px;
  
}

.add-modal_close{
  position: absolute;
  width: 11px;
  height: 11px;
  background: url('/imgs/icons/details_close.png') no-repeat center; 
  background-size: 100%;
  top: 30px;
  right: 30px;
}

.add-modal_close:hover{
  cursor: pointer;
}

.add-modal_form{
  padding: 0 30px 30px;
  font-size: 15px;
  font-family: Roboto;
  font-weight: 300;
}

.add-form{
  margin-top: 10px;
  width: 100% !important;
}

.cell-input_1{
  width: 70%;
  height: 25px !important;
  background: none;
  border-radius: 3px;
  border: 1px dotted #9da5ac !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none !important;
  text-indent: 0.01px; 
  text-overflow: '';
}

.add-form_input{
  height: 30px !important;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px !important;
  line-height: 19px; 
  font-family: Roboto;
  font-weight: 300;
  padding: 5px !important;
  text-align: left !important;
  background: none !important;
  border: 1px solid #dadbdb !important;
}

.add-form_input::-webkit-input-placeholder{font-size: 13px; line-height: 22px;}
.add-form_input::-moz-placeholder{font-size: 13px; line-height: 22px;}/* Firefox 19+ */
.add-form_input:-moz-placeholder{font-size: 13px; line-height: 22px;}/* Firefox 18- */
.add-form_input:-ms-input-placeholder{font-size: 13px; line-height: 22px;}

.add-input_label{
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.add-form_select{
  height: 31px;
  background: none;
  border: 1px solid #dadbdb;
  border-radius: 3px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none !important;
  text-indent: 0.01px; 
  text-overflow: '';
}

.cell-input_1:focus,
.add-form_select:focus{
  border: 1px solid #8CD790 !important;
  box-shadow: 0 0 7px #c6e5d9 !important;
  outline: 0;
}

.add-input_block{
  display: block;
  float: left;
  width: 30.6%;
  margin-right: 4%;
}

.last-input_block{
  margin-right: 0 !important;
  margin-bottom: 20px;
}

.ui-autocomplete{
  z-index: 1001 !important;
  max-width: 310px;
  max-height: 320px !important;
  overflow-y: auto;   /* prevent horizontal scrollbar */
  overflow-x: hidden; /* add padding to account for vertical scrollbar */
}

datalist{
  height: 100px !important;
}

.add-form_table{
  height: 315px;
  overflow: auto;
}

.add-table_inputs{
  width: 50px;
  height: 30px !important;
  box-sizing: border-box;
  font-size: 13px !important;
  text-align: left !important;
  padding: 0 5px;
}


.add-table_inputs > input{
  width: 100%;
}

.add-table_inputs[disabled="disabled"],
.add-table_inputs[disabled]{
  border: 1px solid #d2d2d2 !important;
  background: #f9f9f9 !important;
}

.cell-input_1,
.cell-input_10{
  width: 100%;
}


.cell-input_7,
.cell-input_8{
  min-width: 60px !important;
}

.cell-input_9{
  min-width: 90px !important;
}

.cell-input_11{
  width: 13px;
  height: 13px !important;
  background: url('/imgs/icons/delete.svg') no-repeat center; 
  background-size: contain;
}


.add-table_title{
  font-size: 11px ;
  font-weight: 400;
}

.add-table_title,
.add-table_cell{
  color: #333;
  padding: 4px 10px;
}

.add_input_selfp{
  width: 110px;
  height: 30px;
  box-sizing: border-box;
  border-radius: 3px;
  border: 1px dotted var(--baseColor) !important;
  padding-right: 5px;
  text-align: right;
  line-height: 30px;
  font-weight: 400;
  font-size: 13px;
}

input.add-input_selfp{
  font-size: 13px !important;
  width: 65%;
  height: 100%;
  padding: 0px !important;
  line-height: 26px;
  border: none !important;
}

.self-price_button{
  width: 30%;
  height: 100%;
  float: left;
  background: url('/imgs/icons/refresh.svg') no-repeat center;
  background-size: 13px;
}

.self-price_button:hover{
  cursor: pointer;
}


.top_inputs{
  background: #f4f4f4;
  padding: 20px 40px;
  border-radius: 3px;
  height: 140px;
}

.add-row_button{
  font-size: 18px;
  height: 28px;
  width: 28px;
  font-weight: 200;
  line-height: 30px;
  border-radius: 3px;
  border: 1px dotted rgba(108, 108, 108, 0.39);
}

.add-row_button:hover{
  color: #8CD790;
  font-weight: 600;
  cursor: pointer;
  border: 1px dotted #8CD790;
}

.row-delete_button:hover{
  cursor: pointer;
}

.add-form_confirm{
  position: absolute;
  font-size: 13px !important;
  bottom: 30px;
  right: 30px;
  height: 40px;
  width: 100px;
  border: none !important;
  border-radius: 3px;
  font-weight: 300;
  text-align: center;
  background: #8CD790;
  color: white;
}

.add-form_confirm:hover{
  box-shadow: 0 0 7px #c6e5d9 !important;
  cursor: pointer;
}

.money-input{
  text-align: right !important;
}

.line{
  width: 100%;
  height: 1px;
  margin: 15px 0 5px;
  border-bottom: 1px solid #8CD790;
}

.first-option:disabled{
  color: grey;
}

select.polyfilling{
  position: absolute !important;
  margin-left: 45px !important;
  margin-top: 111px !important;
  border-top-left-radius: 3px !important;
  border-top-right-radius: 3px !important;
  border-bottom-right-radius: 3px !important;
  border-bottom-left-radius: 3px !important;
  min-width: 141px !important;
  max-height: 200px;
  font-size: 13px !important;
}

.form-total{
  font-size: 14px; 
  color: grey;
}

#form-total-field{
  color: #333;
  font-weight: 400;
}

/* Стили основной таблицы */

.tbody{
  height: 100px !important;
  overflow: scroll;
}

.doneQty, .ptoQty, .pfromQty, .awayQty {
  width: 50px;
}

.data-container {
  min-height: 550px !important;
  width: 100% !important;
  font-family: Roboto;
  height: 50%;
}

.data-container tbody{
  min-height: 550px !important;
}

.dataTables_scroll{
  /*width: 97.5% !important;*/
}

.data-container.dataTable.compact thead th{
  font-size: 11px !important;
  font-weight: 600;
}

.data-container.dataTable.compact thead tr{
  border: none !important;
}

#DataTables_Table_0_filter input{
  background: none !important;
}

.order-group {
  height: 40px !important;
  font-weight: 500;
  font-size:12px;
  color: #333;
  background: #8FBC94 !important;
}

.order-group td{
  padding-left: 15px !important;
}

.data-container tr{
  font-size: 12px !important;
}

.data-container tr.even{
  background: rgba(#C6D8AF, 0.5) !important;
}

.data-container tr.even,
.data-container tr.odd{
  text-align: center;
  padding: 80px 0px !important;
}

.data-container tr.even:hover,
.data-container tr.odd:hover{
  background: #c6e5d9 !important;
}

.dataTables_filter{
  margin-bottom: 10px;
}


.dataTables_paginate,
.dataTables_info,
.dataTables_length{
  display: none;
}

.label_manager {
  padding-left: 40px;
}
.shipping_doc {
  padding-left: 60px;
}

.data-container tbody {
  color:#000000;
  font-size:14px;
}

.dataTables_filter input{
  position: relative;
  width: auto;
  background: none;
  border: 1px dotted #6c6c6c !important;
  border-radius: 3px;
  height: 30px !important;
  color: white !important;
  font-size: 12px !important;
  top: -2em !important;
  margin-right: 50px !important;
}

.order-filters{
  width: 100%;
  background: none;
  margin: 10px auto;
  border: 1px dotted #6c6c6c !important;
  border-radius: 3px;
  height: 20px !important;
  color: white !important;
  font-size: 11px !important;
  text-align: left;
}


.order-filters:focus,
input:focus{
  border: 1px solid #8CD790 !important;
  box-shadow: 0 0 7px #c6e5d9 !important;
  outline: 0;
}

.multiselect{
  height: 80px !important;
	padding: 5px 10px;
	text-align: center !important;
}

.select-empty{
		color: #6c6c6c !important;
}


.client-select{
  width: 170px !important;
  text-align: left !important;
}

.order-date-field{
  width: 60px !important;
}

.name-select{
  min-width: 100px !important;
}

.done-select,
.painted-select,
.nopainted-select,
.away-select{
  width: 100% !important;
  min-width: 65px !important;
  padding: 3px !important;
}

.done_column,
.pto_column,
.pfrom_column,
.away_column{
  padding: 0px 3px !important;
}


.details-control{
  width: 3px !important;
  padding-right: 15px !important;
}


#client-filter{
  text-align: left;
}

.prebar {
		width:100%;
		text-align:center;
		color: #ffffff;
		font-weight: 500;
    
}

.inbar {
  border-radius: 3px;
}

.inbar_empty {
  border: 1px dotted #6c6c6c;
  width: 100% !important;
  font-weight: 300;
}

.inbar_middle {
  background: #FDD692; 
}

.inbar_done {
  background: #8CD790; 
}

.inbar_null{
  background: tomato;
}

.inbar > div {
  padding: 2px 4px;
  color: #6c6c6c !important;
}

.add-date{
  color: #a3a1a1;
}

.id_column{
  padding: 0 10px 0 15px !important;
}

#id-filter{
  width: 40px !important;
}

#order-date_column{
  width: 90% !important;
  padding: 0px 0px 0px -20px !important;
}

.warehouse_column{
  width: 40px !important;
}

.wait_date_column{
  padding: 0 20px 0 15px !important;
}

#creator-filter{
  padding: 5px !important;
}

#manager-filter{
  padding: 5px !important; 
}

#pto-filter,
#pfrom-filter,
#done-filter,
#away-filter{
  overflow-x: hidden !important;
}

.child-info{
  width: 98%;
  padding: 10px 0 10px 35px !important;
}

.child-info-row_grill:hover{
		background: rgba(#8FBC94, 0.5) !important;
		cursor: pointer;
	}

.child-info-row_order td:last-child{
  max-width: 250px;
  width: 250px;
}

.child-info,
.child-info tr,
.child-info td,
.child-info th{ 
  background: #f0f5f9;
}

.child-info th{
  font-weight: 500 !important;
}

.child_notes{
  width: 130px !important;
}

.data-container td.child-cell_even, .data-container th.child-cell_even {
  background: rgba(224, 235, 245, 0.78) ;
}
	
.child-cell_odd{
  background: rgba(0, 212, 225, 0.78) ;
}

.hidden-child{
  width: 100%;
  height: 100%;
  padding: 40px 0;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  color: #6c6c6c;
}

.total_footer{
  width: 250px !important;
  text-align: left;
  font-weight: 400 !important;
}

.edit-order_button{
  display: block;
  float: right;
  font-weight: 300;
  color: #333 !important;
  border-radius: 3px;
  text-decoration: none !important;
  border: 1px solid #6c6c6c;
  padding: 3px 7px;
  margin: -5px 0px 5px 10px;
}

.edit-order_button:hover{
  color: #ddd !important;
  border: 1px solid #6c6c6c;
  background: #6c6c6c;
  box-shadow: 0 0 7px #ddd !important;
}

.add-form_table::-webkit-resizer,
.ui-autocomplete::-webkit-resizer,
.top-filters::-webkit-resizer,
.multiselect::-webkit-resizer,
.dataTables_scrollBody::-webkit-resizer {
  width: 0px !important;
  height: 0px
}

.add-form_table::-webkit-scrollbar,
.ui-autocomplete::-webkit-scrollbar,
.top-filters::-webkit-scrollbar,
.multiselect::-webkit-scrollbar,
.dataTables_scrollBody::-webkit-scrollbar {
  width: 0px !important;
}

.paid_status{
  float: right;
  margin-top: 1px;
  width: 14px;
  height: 14px;
  background: url('/imgs/icons/paid_none.svg') no-repeat center;
  background-size: cover !important;
}

.paid_status_none{
    background: url('/imgs/icons/paid_none.svg') no-repeat center;
}

.paid_status_part{
    background: url('/imgs/icons/paid_part.svg') no-repeat center;
}

.paid_status_all{
    background: url('/imgs/icons/paid_all.svg') no-repeat center;
}

.paid_status_error{
  background: url('/imgs/icons/error.svg') no-repeat center;
}

.none{
  visibility: hidden;
}

.modal_back{
  display: none;
  width: 100%;
  height: 100%;
  background: #3a3939d9;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
}    