header.top {
  padding-top: 10px;
  padding-bottom: 10px;
}

nav.left-menu ul li {
  padding: 15px 20px;
}

nav.left-menu ul li a {
  font-size: 16px;
}

.help-block {
  margin: 0px !important;
}

.has-error .help-block {
  position: absolute;
  bottom: -12px;
  font-size: 10px;
  z-index: 1;
}

nav.left-menu ul li.active {
  background: rgba(0, 0, 0, 0.15);
}

table thead tr th a:hover,
table thead tr th a {
  color: #000000;
  text-decoration: none;
}

table thead tr th {
  border: 1px solid #d8d8d8;
  padding: 10px 10px;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
}

table thead tr th.year {
  width: 123px;
  min-width: 123px;
}

table thead tr th.number {
  width: 58px;
  min-width: 58px;
}

table thead tr th.agreement-number {
  width: 134px;
  min-width: 134px;
}

table thead tr th.date {
  width: 109px;
  min-width: 109px;
}

table thead tr th.position {
  width: 143px;
  min-width: 143px;
}

table thead tr th.date-issue {
  width: 135px;
  min-width: 135px;
}

table thead tr th.date-birth {
  width: 123px;
  min-width: 123px;
}

table thead tr th.price {
  width: 123px;
  min-width: 123px;
}

table thead tr th.price-type {
  width: 150px;
  min-width: 150px;
}

table thead tr th.time {
  width: 89px;
  min-width: 89px;
}

table thead tr th.discount-cards {
  width: 160px;
  min-width: 160px;
}

table thead tr th.type {
  width: 89px;
  min-width: 89px;
}

table thead tr th.phone {
  width: 129px;
  min-width: 129px;
}

table thead tr th.name {
  width: 148px;
  min-width: 148px;
}

table thead tr th.address {
  width: 155px;
  min-width: 155px;
}

table thead tr th.installers {
  width: 136px;
  min-width: 136px;
}

table thead tr th.gauges {
  width: 136px;
  min-width: 136px;
}

table thead tr th.order-form {
  width: 139px;
  min-width: 139px;
}

table thead tr th.comment {
  max-width: 270px;
  min-width: 80px;
}

table thead tr th.seq-order {
  width: 123px;
  min-width: 123px;
}

table thead tr th.source {
  width: 98px;
  min-width: 98px;
}

table thead tr th.status {
  width: 120px;
  min-width: 120px;
}

table thead tr th.buttons {
  width: auto;
}

table thead tr th.number-places {
  width: 134px;
  min-width: 134px;
}

table thead tr th.min-paymen {
  width: 134px;
  min-width: 134px;
}

table thead tr th.date-payment {
  width: 135px;
  min-width: 135px;
}

table thead tr th.remaining-payment {
  width: 160px;
  min-width: 160px;
}

table thead tr th.min-payment {
  width: 140px;
  min-width: 140px;
}

table thead tr th.ceilings,
table thead tr th.window {
  width: 110px;
  max-width: 110px;
  min-width: 110px;
}

table thead tr th.other {
  width: 110px;
  max-width: 110px;
}

table thead tr th.paid-out {
  width: 120px;
  max-width: 120px;
}

form.ceiling_measuring_sheet_form .top-block .group input[disabled] {
  border: none;
  box-shadow: none;
  background: rgba(216, 216, 216, 0.3);
}

.disable-selecter,
.assignment_installers_ajax select {
  position: relative;
  background: #ffffff;
  cursor: pointer;
  display: block;
  margin: 0;
  overflow: hidden;
  padding: 7px 15px;
  text-overflow: clip;
  z-index: 2;
  box-shadow: inset 0 -2px 3px 0 rgba(0, 0, 0, 0.18);
  background-color: #ffffff;
  border: solid 1px #e2e2e2;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
  display: block;
  width: 100%;
  height: 41px;
}


form.blank-measurement-form .bottom-block .items {
  margin-right: 73px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

form.blank-measurement-form .bottom-block .items .item.totals {
  margin-right: 50px;
  font-size: 24px;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
}

form.blank-measurement-form .bottom-block .items .item.totals .total-text {
  display: inline;
  font-size: 16px;
  font-weight: bold;
}

form.blank-measurement-form .bottom-block .items .item.totals .total-count {
  font-weight: bold;
}

form.blank-measurement-form .bottom-block .items .item.balance {
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
}

form.blank-measurement-form .bottom-block .items .item.balance {
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
}

.bottom-block-price {
  margin-bottom: 20px;
}

.blank-measurement .information-time .has-error input {
  border-color: red;
}

.blank-measurement .information-time .help-block {
  display: none;
}

.default-form {
  max-width: 360px;
}

.default-form .group {
  display: block;
  margin-bottom: 10px;
}

.default-form .group label {
  margin-bottom: 5px;
}

.default-form .group input,
.default-form .group label {
  display: block;
  width: 100% !important;
}


form.filter .group .datepicker:before,
form.filter .group .date:before {
  display: none;
}


section.employment .buttons-block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

section.employment .control-buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right: 30px;
}

table.employee-employment thead tr th .day {
  font-family: 'LucidaGrandeBold';
}

table.employee-employment thead tr th .week {
  font-size: 12px;
  font-weight: normal;
}

#editpass-form {
  margin-top: 40px;
}

.form__hidden {
  display: none;
}

.diagram__google {
  margin: 30px 0px;
}

.field-ordermetersheet2-window_type .selecter {
  width: 100%;
}

table tbody tr td .control-btn-table a {
  text-align: center;
}

.control-btn-table span {
  width: 53px;
  display: block;
  font-size: 9px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  color: #213c75;
  margin-top: 3px;
}

nav.left-menu ul li a .icon.order_contract:before,
nav.left-menu ul li a .icon.money_minus:before,
nav.left-menu ul li a .icon.office_building:before,
nav.left-menu ul li a .icon.shopping_list:before,
nav.left-menu ul li a .icon.order_credit:before,
nav.left-menu ul li a .icon.expense_salary:before,
nav.left-menu ul li a .icon.statistic_employment:before,
nav.left-menu ul li a .icon.statistic_index:before,
nav.left-menu ul li a .icon.admin_cashbox:before,
nav.left-menu ul li a .icon.admin_employees:before,
nav.left-menu ul li a .icon.admin_settings:before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: 20px auto;
  background-repeat: no-repeat;
  background-position: center;
}

nav.left-menu ul li a .icon.order_contract:before {
  background-image: url(../img/menu-icons/signing-the-contract.svg);
}

nav.left-menu ul li a .icon.order_credit:before {
  background-image: url(../img/menu-icons/discount-free.svg);
}

nav.left-menu ul li a .icon.expense_salary:before {
  background-image: url(../img/menu-icons/coin-stack.svg);
}

nav.left-menu ul li a .icon.statistic_employment:before {
  background-image: url(../img/menu-icons/calendar-work.svg);
}

nav.left-menu ul li a .icon.statistic_index:before {
  background-image: url(../img/menu-icons/three-bars-graph.svg);
}

nav.left-menu ul li a .icon.admin_cashbox:before {
  background-image: url(../img/menu-icons/cash-register.svg);
}

nav.left-menu ul li a .icon.admin_employees:before {
  background-image: url(../img/menu-icons/user-shape.svg);
}

nav.left-menu ul li a .icon.admin_settings:before {
  background-image: url(../img/menu-icons/settings-work-tool.svg);
}

nav.left-menu ul li a .icon.money_minus:before {
  background-image: url(../img/menu-icons/money-minus.png);
}

nav.left-menu ul li a .icon.office_building:before {
  background-image: url(../img/menu-icons/office-building.png);
}

nav.left-menu ul li a .icon.shopping_list:before {
  background-image: url(../img/menu-icons/shopping-list.png);
}


table tbody tr td.bg__red {
  background: #ffcfcf;
}

table tbody tr td.bg__green {
  background: #cfffe0;
}

table tbody tr td.bg__blue {
  background: #cfe9ff;
}

form.blank-measurement-form .group label span {
  font-size: 12px;
  opacity: .7;
}


table thead tr th,
table tbody tr td {
  padding: 5px 5px;
  font-size: 13px;
}

table tbody tr:hover {
  background: #f9f9f9;
}

table thead tr th.buttons {
  width: 100px;
}

section.employment .control .float-form.address-view {
  bottom: -67px;
}

form.ceiling_measuring_sheet_form .group label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #000;
}




#dragandrophandler {
  border: 2px dotted rgba(11, 133, 161, 0.5);
  width: 100%;
  color: #94979f;
  vertical-align: middle;
  padding: 30px 10px;
  margin-bottom: 10px;
  font-size: 23px;
  text-align: center;
  box-sizing: border-box;
  font-weight: lighter;
  max-width: 600px;
}

#dragandrophandler:hover {
  cursor: default;
}

.uploadfiles .progressBar {
  width: 200px;
  height: 22px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  margin: 0px 10px 5px 5px;
  vertical-align: top;
}

.uploadfiles .progressBar div.failed {
  background-color: #A8352F;
}

.uploadfiles .progressBar div {
  height: 100%;
  color: #fff;
  text-align: right;
  line-height: 22px;
  width: 0;
  background-color: #5cb85c;
  border-radius: 3px;
  padding: 0px 10px;
  box-sizing: border-box;
}

.uploadfiles .statusbar {
  border-top: 1px solid #A9CCD1;
  min-height: 25px;
  width: 700px;
  padding: 10px 10px 0px 10px;
  vertical-align: top;
  font-size: 13px;
}

.uploadfiles .statusbar:nth-child(odd) {
  background: #EBEFF0;
}

.uploadfiles .filename {
  display: inline-block;
  vertical-align: top;
  width: 250px;
}

.uploadfiles .filesize {
  display: inline-block;
  vertical-align: top;
  color: #30693D;
  width: 100px;
  margin-left: 10px;
  margin-right: 5px;
}

.uploadfiles .abort {
  background-color: #A8352F;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  display: inline-block;
  color: #fff;
  font-family: arial;
  font-size: 13px;
  font-weight: normal;
  padding: 4px 15px;
  cursor: pointer;
  vertical-align: top
}


form.blank-measurement-form .group.field-ordermetersheet1-work_name label,
form.blank-measurement-form .group.field-ordermetersheet1-work_count label,
form.blank-measurement-form .group.field-ordermetersheet2-spec_count label,
form.blank-measurement-form .group.field-ordermetersheet2-spec_sum label,
form.blank-measurement-form .group.field-ordermetersheet2-spec_unit label,
form.blank-measurement-form .group.field-ordermetersheet3-spec_count label,
form.blank-measurement-form .group.field-ordermetersheet3-spec_sum label,
form.blank-measurement-form .group.field-ordermetersheet3-spec_unit label {
  max-width: 100px;
  padding-left: 10px;
}

form .field-ordermetersheet2-spec_sum,
form .field-ordermetersheet2-spec_sum,
form .field-ordermetersheet2-spec_count,
form .field-ordermetersheet3-spec_sum,
form .field-ordermetersheet3-spec_sum,
form .field-ordermetersheet3-spec_count {
  max-width: 200px;
}

.top-block-spec {
  padding: 30px 0px;
  margin: 30px 0px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.spec_block_remove {
  margin-left: 10px;
}

.input__hint {
  position: absolute;
  padding: 0px;
  list-style: none;
  background: #fff;
  width: 100%;
  z-index: 5;
}

.input__hint li {
  font-size: 14px;
  padding: 5px 10px;
  border: 1px solid #eee;
  margin-top: -1px;
  cursor: pointer;
}

.input__hint li:hover {
  background: rgba(255, 128, 0, 0.2);
}

form.blank-measurement-form .group input[type='text'][disabled] {
  background: #f7f7f7;
  border: 1px solid #f7f7f7;
  box-shadow: none;
}

form.modal-form .group input[type='radio']+label span {
  width: 20px;
}

form.modal-form .group.radio-block .field {
  width: auto;
}

table.employee-employment tbody tr td.checked {
  background-color: #00adee;
}

table.employee-employment tbody tr td.day-off {
  background-color: #ff4c4c;
}


section.employment .checked:hover .control .float-form {
  display: block;

}

section.employment .control .float-form {
  bottom: auto;
  top: 30px;
  font-size: 14px;
  height: auto;
}

section.employment .control .float-form ul {
  padding-left: 20px;
  margin: 0px;
  text-align: left;
}

.position_static {
  position: static !important;
  height: 43px;
  width: 190px;
}

.position_static div {
  position: absolute;
  width: 191px;
  height: 43px;
  margin-top: -21px;
  padding: 5px;
  margin-left: -6px;
  border-bottom: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  background: #f9f9f9;
  z-index: 9;
}

table.employee-employment thead tr td.today {
  color: #0fbd03;
}

form.admin-settings-form .group label {
  width: 200px;
}

.input__val_gr {
  width: 100%;
  background: #f7f7f7;
  border: 1px solid #f7f7f7;
  font-size: 16px;
  color: #000000;
  padding: 8px 15px;
  min-height: 40px;
}

.group_flex_separator {
  width: 20px;
  min-height: 1px;
}

.group_label_fix_width label {
  width: 250px !important;
}


.blank-measurement form .spec_block label {
  font-size: 15px;
  line-height: 1;
}

.blank-measurement form .spec_block input {
  font-size: 15px;
}

.blank-measurement form .spec_block .field-ordermetersheet2-spec_unit input,
.blank-measurement form .spec_block .field-ordermetersheet2-spec_count input,
.blank-measurement form .spec_block .field-ordermetersheet2-spec_sum input,
.blank-measurement form .spec_block .field-ordermetersheet3-spec_unit input,
.blank-measurement form .spec_block .field-ordermetersheet3-spec_count input,
.blank-measurement form .spec_block .field-ordermetersheet3-spec_sum input {
  width: 50px;
  padding: 5px;
}

.calc_sum_2 {
  text-decoration: underline;
}

.full_delete_order::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url(../img/delete.svg) center 0px no-repeat;
}

.admin-index table td:nth-child(2n) {
  text-align: right;
}

a.desc,
a.asc {
  position: relative;
  display: inline-block;
  margin-right: 5px;
}

a.asc::before {
  content: "▶";
  display: block;
  float: right;
  margin-top: 5px;
  margin-left: 5px;
  font-size: 8px;
  color: blue;
  transform: rotate(-90deg);
}

a.desc::before {
  content: "▶";
  display: block;
  float: right;
  margin-top: 5px;
  font-size: 8px;
  margin-left: 5px;
  color: blue;
  transform: rotate(90deg);
}

.table-responsive tr.red td {
  background: red;
  color: #fff;
}

.table-responsive>.table {
  width: auto;
}

.inner__submenu {
  padding: 0px;
  margin: 0px;
  margin-bottom: 20px;
}

.inner__submenu li {
  list-style: none;
  display: inline-block;
  font-size: 18px;
  margin-right: 48px;
  color: #223d76;
  border-bottom: 2px dotted #223d76;
}

.inner__submenu li a {
  text-decoration: none;
  color: #223d76;
}

.inner__submenu li.active {
  color: #000000;
  border-bottom: 2px solid transparent;
  font-weight: bold;
}

.inner__submenu li.active a {
  color: #000000;
}

nav.left-menu ul li a .icon.add-work:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(/img/menu-icons/safety.svg) 0px 0px no-repeat;
  background-size: 20px auto;
}

#contractadd-form .selecter {
  width: 100%;
}

.control-btn-table .remove:before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url(/img/delete.svg) center 0px no-repeat;
}

.field-ordermetersheet3-status_id {
  margin-left: 20px;
  width: 300px;
}

.field-ordermetersheet3-status_id .selecter {
  width: 100%;
}

.button-orange-white-bg+.button-orange-white-bg {
  margin-left: 10px;
}

.table-form {
  margin: 20px 0px 30px;
}

.table-form input,
.table-form select {
  font-size: 14px !important;
  padding: 5px !important;
  height: 30px !important;
}

.custom-box {
  padding: 20px 40px;
  background: #fbfbfb;
  border-radius: 10px;
  border: 2px solid #ff8001;
  margin: 30px 0px;
  display: inline-block;
}

.custom-box-button {
  padding: 10px 15px;
  text-overflow: clip;
  z-index: 2;
  background-color: #ffffff;
  border: solid 1px #e2e2e2;
  font-size: 18px;
  color: #000 !important;
  border-radius: 6px;
  text-decoration: none !important;
}

.custom-box-button:hover {
  text-decoration: none;
  background-color: transparent;
}

.fancybox-slide--iframe .fancybox-content {
  width: 700px;
  height: 500px;
  padding: 20px;
  margin: 0;
}

.select2-container--default .select2-selection--single {
  box-shadow: inset 0 -2px 3px 0 rgb(0 0 0 / 18%);
  background-color: #ffffff;
  border: solid 1px #e2e2e2;
}

.modal#monthly_salary ul.months li .hover-block .items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 5px;
  grid-row-gap: 5px;
}

.modal#monthly_salary ul.months li .hover-block .items .item .count-price {
  text-align: left;
}

.modal-closet {
  max-width: 600px;
}

.information-product-number {
  padding-right: 5px;
  opacity: .5;
  width: 25px;
}

.selecter.mobile .selecter-element {
  z-index: 3;
}

@media (max-width: 767px) {
  nav.left-menu ul li {
    padding: 15px 10px;
  }
}