.projects-group-icon-file-folder {
  width: 20px;
  vertical-align: middle;
  margin-right: 5px;
  margin-top: -4px;
}

.ui-page-slider-workarea .crm-projects-wrapper {
  padding: 20px;
}

.crm-projects-form-field-wrapper {
  padding: 0 0 20px 0;
  clear: both;
}

.crm-projects-form-field-wrapper button {
  cursor: pointer;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-wrapper {
  padding: 0;
}

.crm-projects-form-field-wrapper label+.crm-projects-form-field-item {
  margin-top: 5px;
}

.crm-projects-form-field-wrapper.crm-wrapper50, .crm-projects-form-field-wrapper.crm-wrapper50-right {
  width: 49.3%;
  display: inline-block;
  vertical-align: top;
}

.crm-projects-form-field-wrapper.crm-wrapper50 {
  margin-right: 0.5%;
}

.crm-projects-form-field-wrapper.crm-wrapper50-right {
  /*float: right;*/
}

.crm-projects-form-field-wrapper .is-required {
  color: #FF0000 !important;
}

.crm-projects-form-field-wrapper .ui-ctl-element-date {
  width: 300px;
  max-width: 100%;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item textarea {
  height: 100px;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item textarea,
.crm-projects-form-field-wrapper .crm-projects-form-field-item .mli-layout input
{
  width: 100% !important;
  resize: none;
  border: 1px solid #c6cdd3;
  border-radius: 2px;
  padding: 11px 11px;
  font: 400 14px "Helvetica Neue",Helvetica,Arial,sans-serif;
  transition: border .3s ease,background-color .3s ease,color .3s ease,padding .3s ease;
  box-sizing: border-box;
  background-color: #fff;
  color: #535c69;
  outline: none !important;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item textarea:focus,
.crm-projects-form-field-wrapper .crm-projects-form-field-item textarea:hover,
.crm-projects-form-field-wrapper .crm-projects-form-field-item .mli-layout input:focus,
.crm-projects-form-field-wrapper .crm-projects-form-field-item .mli-layout input:hover
{
  border-color: #66AFE9;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .mli-search-results {
  z-index: 1000;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .bx-ius-layout br {
  display: none;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .select2.select2-container {
  width: 100% !important;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .select2.select2-container .select2-selection {
  border: 1px solid #c6cdd3;
  border-radius: 2px;
  font: 400 14px "Helvetica Neue",Helvetica,Arial,sans-serif;
  transition: border .3s ease,background-color .3s ease,color .3s ease,padding .3s ease;
  box-sizing: border-box;
  background-color: #fff;
  color: #535c69;
  height: 39px;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .select2.select2-container .select2-selection.select2-selection--multiple
{
  min-height: 39px;
  height: auto;
}
.crm-projects-form-field-wrapper .crm-projects-form-field-item .select2.select2-container .select2-selection:hover
{
  border-color: #66AFE9;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .select2.select2-container .select2-selection.select2-selection--single .select2-selection__rendered {
  line-height: 39px;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .select2.select2-container .select2-selection__arrow {
  height: 39px;
}

.crm-projects-form-field-wrapper .crm-projects-form-field-item .select2-container--default .select2-search--inline .select2-search__field {
  padding-top: 5px;
  height: 23px;
}

.crm-project-item-menu {
  padding: 10px 0 0;
  margin-bottom: 10px;
}

.crm-project-item-menu.crm-project-item-menu-background {
  background: #EEF2F4;
}

.crm-project-item-menu .crm-project-item-menu-item {
  display: inline-block;
  vertical-align: bottom;
  padding: 5px 15px 20px;
  margin-right: 20px;
  font-size: 15px;
  box-sizing: border-box;
  position: relative;
}

.crm-project-item-menu .crm-project-item-menu-item a{
  color: #525c68;
  font-weight: bold;
}

.crm-project-item-menu .crm-project-item-menu-item:hover:after,
.crm-project-item-menu .crm-project-item-menu-item.active:after {
  border-bottom: 2px solid #1058d0;
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #1058d0;
  box-sizing: border-box;
}

.crm-project-item-menu .crm-project-item-menu-item:hover a,
.crm-project-item-menu .crm-project-item-menu-item.active a {
  color: #1058d0;
}

.crm-projects-wrapper .dataTables_filter {
  margin-bottom: 20px;
}

table.dataTable.crm-projects-datatable {
  min-width: 100% !important;
}

table.dataTable.crm-projects-datatable td input[type="text"],
table.dataTable.crm-projects-datatable td input[type="date"],
table.dataTable.crm-projects-datatable td input[type="number"],
table.dataTable.crm-projects-datatable td textarea {
  padding: 5px;
  box-sizing: border-box;
  width: 100%;
  outline: 0;
  border: 1px solid #c6cdd3;
  border-radius: 2px;
  background-color: #fff;
  color: #535c69;
  resize: none;
}

table.dataTable.crm-projects-datatable td textarea {
  overflow: hidden;
  overflow-y: auto;
  width: 100%;
}

table.dataTable.crm-projects-datatable td input[type="text"]:hover,
table.dataTable.crm-projects-datatable td input[type="date"]:hover,
table.dataTable.crm-projects-datatable td input[type="number"]:hover,
table.dataTable.crm-projects-datatable td textarea:hover {
  border-color: #66AFE9;
}

table.dataTable.crm-projects-datatable thead th.centered{
  text-align: center;
}

table.dataTable.crm-projects-datatable td{
  padding-top: 15px;
  padding-bottom: 15px;
}

.crm-project-footage-total-wrapper {
  margin-bottom: 10px;
}

.ui-entity-editor-content-block[data-cid="UF_CRM_DEAL_MAIN_PG"],
.ui-entity-editor-content-block[data-cid="UF_CRM_DEAL_ADD_PG"] {
  display: none;
}

.ui-entity-editor-content-block.ui-entity-editor-content-block-click-editable[data-cid="UF_CRM_DEAL_MAIN_PG"],
.ui-entity-editor-content-block.ui-entity-editor-content-block-click-editable[data-cid="UF_CRM_DEAL_ADD_PG"],
.ui-entity-editor-content-block.ui-entity-editor-content-block-edit[data-cid="UF_CRM_DEAL_MAIN_PG"],
.ui-entity-editor-content-block.ui-entity-editor-content-block-edit[data-cid="UF_CRM_DEAL_ADD_PG"],
.ui-entity-editor-content-block.js-crm-visible-block[data-cid="UF_CRM_DEAL_MAIN_PG"],
.ui-entity-editor-content-block.js-crm-visible-block[data-cid="UF_CRM_DEAL_ADD_PG"] {
  display: inherit;
}

.crm-wait-block-wrapper {
  position: absolute;
  z-index: 10000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.6);
}

.catalog-product-edit a.ui-ctl-after.ui-ctl-icon-forward {
  display: none !important;
}

.gefera-dialog-row {
  margin-bottom: 10px;
}

.gefera-dialog-row.gefera-dialog-row-error {
  color: #FF0000;
}

.crm-section-tree-item {
  padding-left: 5px;
}

.crm-section-tree-subitems > .crm-section-tree-item {
  padding-left: 15px;
}

.crm-section-tree-item label {
  padding-top: 5px;
  padding-bottom: 5px;
  display: inline-block;
}

.crm-section-tree-item input[type='radio'],
.crm-section-tree-item input[type='checkbox'],
.crm-section-tree-item label {
  cursor: pointer;
}

.crm-section-tree-item label {
  padding-left: 5px;
  padding-right: 5px;
}

.crm-section-tree-items-wrapper {
  overflow: hidden;
  overflow-y: auto;
  color: #535c69;
  border: 1px solid #c6cdd3;
  border-radius: 2px;
  padding: 5px 0;
  font: 400 14px "Helvetica Neue",Helvetica,Arial,sans-serif;
  transition: border .3s ease,background-color .3s ease,color .3s ease,padding .3s ease;
}

.crm-section-tree-items-wrapper:hover {
  border-color: #66AFE9;
}

.crm-section-tree-collapse {
  display: inline-block;
  font-size: 22px;
  cursor: pointer;
  width: 14px;
  text-align: center;
  position: relative;
  top: -1px;
}

.crm-section-tree-collapse:hover {
  color: #66AFE9;
}

.crm-section-tree-item.collapsed > div > .crm-section-tree-collapse {
  top: 1px;
}

.crm-section-tree-item input[type='checkbox']:checked + label,
.crm-section-tree-item input[type='radio']:checked + label {
  background: #e4e4e4;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  margin-top: 7px;
}

table.crm-projects-datatable.top-align td {
  vertical-align: middle;
  padding-top: 10px;
  padding-bottom: 10px;
}

table.crm-projects-datatable td.projects-table-file-column {
  width: 120px;
  position: relative;
}

table.crm-projects-datatable td .adm-fileinput-btn-panel,
table.crm-projects-datatable td .adm-fileinput-drag-area-hint {
  display: none;
}

table.crm-projects-datatable td .adm-fileinput-drag-area {
  height: 39px;
  overflow: hidden;
  min-height: auto;
  position: relative;
  box-sizing: border-box;
}

table.crm-projects-datatable td .adm-fileinput-area {
  padding: 5px;
  text-align: center;
  box-sizing: border-box;
  min-height: auto;
  position: relative;
}

table.crm-projects-datatable td .adm-fileinput-drag-area.hover {
  position: absolute;
  overflow: visible;
  z-index: 100;
  top: 14px;
  left: 10px;
  right: 10px;
  height: auto;
  min-height: 39px;
  background: #ffffff;
}

table.crm-projects-datatable td .adm-fileinput-drag-area:after {
  position: absolute;
  content: '';
  width: 100%;
  bottom: 0;
  left: 0;
  height: 20px;
  z-index: 10;
  background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0), rgb(255, 255, 255));
  background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0), rgb(255, 255, 255));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

table.crm-projects-datatable td .adm-fileinput-drag-area:hover:after {
  display: none;
}

table.crm-projects-datatable td .adm-fileinput-area input.adm-fileinput-drag-area-input {
  bottom: 0 !important;
  height: 100%;
}

table.crm-projects-datatable td .adm-fileinput-area-container {
  position: relative;
  z-index: 10;
  display: inline;
}

table.crm-projects-datatable td .adm-fileinput-area-container div.adm-fileinput-item-wrapper {
  width: auto;
}

table.crm-projects-datatable td div.adm-fileinput-item {
  padding: 0;
  position: relative;
  width: 70px;
}

table.crm-projects-datatable td div.adm-fileinput-item-saved {
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.4), 0 0 0 3px #ffe667;
}

table.crm-projects-datatable td .adm-fileinput-item-panel {
  height: auto;
  position: absolute;
  top: 0;
  right: 7px;
}

table.crm-projects-datatable td .adm-fileinput-item-panel .adm-fileinput-item-panel-btn {
  width: 14px;
  height: 14px;
  float: none;
  text-align: inherit;
  margin-right: 0;
  margin-left: 0;
  position: absolute;
  left: -5px;
  top: 1px;
}

table.crm-projects-datatable td .adm-fileinput-item-panel .adm-fileinput-item-panel-btn:before {
  left: 0;
}

table.crm-projects-datatable td .adm-fileinput-item-panel .adm-fileinput-item-panel-btn.adm-btn-setting {
  top: 20px;
  left: -12px;
  display: none !important;
}

table.crm-projects-datatable td div.adm-fileinput-item .bx-file-icon-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

table.crm-projects-datatable td div.adm-fileinput-item div.adm-fileinput-item-preview {
  height: 70px;
  vertical-align: top;
  width: 100%;
}

table.crm-projects-datatable td div.adm-fileinput-item div.adm-fileinput-item-preview:before {
  height: 70px;
}

table.crm-projects-datatable td div.adm-fileinput-item div.adm-fileinput-item-preview span.container-doc-title {
  display: none;
}

.pwd-expenses-request-total-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: right;
  width: 100%;
  line-height: 1.8em;
  font-size: 14px;
  color: #525c69;
}

.pwd-expenses-request-total-wrapper span {
  min-width: 80px;
  margin-left: 10px;
  display: inline-block;
}

.pwd-expenses-request-total-wrapper span.js-request-projects-currency-code {
  min-width: auto;
  margin-left: 0;
}

.pwd-expenses-request-total-wrapper .expenses-request-total {
  font-weight: bold;
  font-size: 21px;
  margin-top: 25px;
}

.expenses-request-projects-total-wrong {
  color: red;
}

.expenses-request-projects-total-correct {
  color: #0ea90f;
}

.pwd-crm-tabs-item-wrapper {
  display: none;
}

.pwd-crm-tabs-item-wrapper.active {
  display: block;
}

td.expenses-request-control {
  text-align: right;
  width: 60px !important;
}

img.pwd-pdf-icon {
  width: 35px;
}

table.crm-projects-datatable.crm-expenses-request-table {
  border-bottom: 1px #eef2f4 solid;
}

table.crm-projects-datatable.crm-expenses-request-table th,
table.crm-projects-datatable.crm-expenses-request-table tbody .js-expenses-request-subitem-wrapper td {
  font-weight: normal;
  color: #535c69;
  border-bottom: 1px #eef2f4 solid;
  padding-top: 14px;
  padding-bottom: 14px;
}

td.projects-table-project-selector-column,
td.projects-table-budget-item-selector-column {
  width: 300px !important;
  box-sizing: border-box;
}

td.projects-table-price-selector-column {
  white-space: nowrap;
}

.projects-table-price-selector-column > * {
  display: inline-block;
}

.projects-table-price-selector-column input {
  width: 100px !important;
}

.projects-table-price-selector-column .crm-projects-form-field-item {
  width: 100px;
}

.pwd-pagetitle-container {
  justify-content: flex-end;
  overflow: hidden;
}

.webix_dtable .webix_ss_body .webix_column > div {
  border-right-color: #EDEFF0;
  border-left-color: #EDEFF0;
}

.crm-editable-cell {
  cursor: text;
}

.crm-number-cell {
  text-align: right;
}

.crm_gefera_budget_wrong_cell {
  font-weight: bold;
  font-style: italic;
}

.crm_gefera_budget_error_cell {
  background: rgba(255, 0, 0, 0.4) !important;
}

.crm_gefera_budget_calculated_cell {
  color: #1058D0 !important;
}

.crm-budget-table {
  position: relative;
  clear: both;
}

.crm_b_editor_operation {
  color: #2EA5EB;
  font-weight: bold;
}

.crm_b_editor_correct {
  color: #16A34A;
}

.crm_b_editor_edit {
  background: #FCFAED;
}

.crm-budget-multiline {
  line-height: 30px !important;;
}

.crm-budget-header {
  border-right-color: #DADEE0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.statusBudget{
  float: right;
  margin-bottom: 10px;
}

.statusBudget-indicator{
  font-weight: bold;
}

.statusBudget-indicator-new{
    color: #868d95;
}
.statusBudget-indicator-agreed{
    color: #399fc2;
}
.statusBudget-indicator-in_work{
    color: #bbed21;
}
.statusBudget-indicator-closed{
    color: #a21429;
}

.gefera-dialog-row .select2-container {
  width: 100% !important;
}

.gefera-dialog-row .select2-container--default .select2-selection--single .select2-selection__clear {
  margin-top: 0;
}

.select2-container.select2-container--default.select2-container--open {
  z-index: 10000000;
}

.crm-projects-digits-data-wrapper {
  font-weight: bold;
  font-size: 18px;
  padding: 0 5px 10px;
  display: inline-block;
  vertical-align: top;
  margin-right: 30px;
}

.crm-projects-digits-data-wrapper:last-child {
  margin-right: 0;
}

.projects-table-price-selector-readonly {
  position: relative;
}

.projects-table-price-selector-readonly:after {
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.5);
}

.webix_ss_footer .webix_last_row {
  text-align: right;
}

.webix_ss_footer .webix_first.webix_last_row {
  text-align: left;
}

.webix_el_texthighlight.webix_el_textarea .webix_el_box {
  padding: 0;
}

.webix_el_texthighlight.webix_control .webix_el_box textarea, .webix_el_texthighlight .webix_text_highlight {
  width: 100% !important;
}

.crm-budget-table .webix_column > div, .crm-budget-table .webix_table_cell {
  padding: 5px 12px;
}

.crm-budget-table-edit-row {
  background-color: #D2F95F !important;
}

.gefera-dialog-row textarea {
  width: 100%;
  resize: none;
}

.pwd-crm-full-block-wrapper {
  padding: 15px 15px 20px;
}
