.header-menu-wrapper .label {
  min-width: 80px;
}
.header-menu-wrapper .project-areas {
  max-width: 600px;
}
.header-menu-wrapper .nav .nav-link {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.login-aside {
  background-image: url("/img/intro_bg.jpg");
  background-size: cover;
  filter: brightness(0.4);
}

.swal2-popup .swal2-radio {
  display: grid !important;
  text-align: left;
}
.swal2-popup .swal2-icon {
  margin: 0 auto;
}

.custom-separator-ver {
  width: 1px;
  height: 18px;
}

.hide_person,
.hide_fake,
.hide_contact,
.hide_vat {
  display: none;
}

.select2-container {
  display: block;
  width: auto !important;
}

.select2-dropdown {
  min-width: 300px;
}

input[readonly],
.form-control[readonly] {
  background-color: #F3F6F9;
  opacity: 1;
}
input[readonly]:focus,
.form-control[readonly]:focus {
  border-color: #E4E6EF;
}

input.negative,
input.negative:focus {
  color: #F64E60;
}

input.has-error {
  background: #F64E60 !important;
  color: #fff !important;
}

input.negative.has-error {
  background: #c53544 !important;
}

.has-error ~ .select2-container--default .select2-selection--single,
.has-error ~ .select2-container--default .select2-selection--multiple {
  background: #F64E60;
}
.has-error ~ .select2-container--default .select2-selection--single .select2-selection__rendered,
.has-error ~ .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  color: #fff;
}
.has-error ~ .select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__clear:after,
.has-error ~ .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__clear:after {
  color: #ffd9dd;
}
.has-error ~ .select2-container--default .select2-selection--single .select2-selection__placeholder,
.has-error ~ .select2-container--default .select2-selection--single .select2-selection__arrow:after,
.has-error ~ .select2-container--default .select2-selection--multiple .select2-selection__placeholder,
.has-error ~ .select2-container--default .select2-selection--multiple .select2-selection__arrow:after {
  color: #ffd9dd;
}

.table-event .form-control {
  height: 30px;
  padding: 0 5px;
}

.event-container .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1;
}

.table-invoice {
  /* Chrome, Safari, Edge, Opera */
  /* Firefox */
}
.table-invoice thead th,
.table-invoice thead td,
.table-invoice tbody th,
.table-invoice tbody td {
  min-width: 40px;
}
.table-invoice thead th:invalid, .table-invoice thead th.is-invalid,
.table-invoice thead td:invalid,
.table-invoice thead td.is-invalid,
.table-invoice thead .form-control:invalid,
.table-invoice thead .form-control.is-invalid,
.table-invoice tbody th:invalid,
.table-invoice tbody th.is-invalid,
.table-invoice tbody td:invalid,
.table-invoice tbody td.is-invalid,
.table-invoice tbody .form-control:invalid,
.table-invoice tbody .form-control.is-invalid {
  background-image: none;
}
.table-invoice thead th,
.table-invoice tbody th {
  padding: 0.5rem;
  font-size: 0.8075rem;
}
.table-invoice thead td,
.table-invoice thead .form-control,
.table-invoice thead .select2-container--default .select2-selection--single .select2-selection__rendered,
.table-invoice thead .btn,
.table-invoice thead label,
.table-invoice tbody td,
.table-invoice tbody .form-control,
.table-invoice tbody .select2-container--default .select2-selection--single .select2-selection__rendered,
.table-invoice tbody .btn,
.table-invoice tbody label {
  padding: 0.2rem 0.05rem;
  font-size: 0.8075rem;
}
.table-invoice thead .select2-container--default .select2-selection--single .select2-selection__rendered,
.table-invoice thead .btn,
.table-invoice tbody .select2-container--default .select2-selection--single .select2-selection__rendered,
.table-invoice tbody .btn {
  line-height: 2.6;
}
.table-invoice input::-webkit-outer-spin-button,
.table-invoice input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.table-invoice input[type=number] {
  -moz-appearance: textfield;
}
.table-invoice div .select2-container {
  width: 100% !important;
}

.pdf-layout {
  font-family: sans-serif;
}
.pdf-layout table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}
.pdf-layout table.border td {
  border: 2px solid;
  padding: 5px;
}
.pdf-layout table td div span,
.pdf-layout table td div small {
  display: block;
}

.modal .modal-header .modal-title small {
  display: block;
  color: inherit;
}
.modal .modal-body .card {
  margin-bottom: 0 !important;
}
.modal .modal-body .card.card-custom {
  box-shadow: none;
}

.alert[data-notify] {
  z-index: 1050 !important;
  display: flex !important;
  align-items: center;
  padding: 1rem 2.5rem 1rem 1.5rem;
}

.popover-matrix .alert {
  margin: 0;
}

.popover-matrix .alert.alert-custom {
  padding: 1.2rem;
}

.popover-matrix .alert.alert-custom ul {
  margin: 0;
  padding: 0 0 0 1rem;
  list-style: disc;
}

.popover-matrix .alert.alert-custom ul li:not(:last-child) {
  margin-bottom: 0.6rem;
}

.popover-matrix .alert.alert-custom .alert-icon {
  padding: 0;
}

.popover-matrix .alert.alert-custom .alert-icon i {
  font-size: 2rem;
}

.nav .nav-link {
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}
.nav .nav-link .nav-icon {
  width: 1.8rem;
}

.nav.nav-tabs.nav-tabs-line .nav-item:last-child .nav-link {
  margin-right: 1rem;
}

.navi .navi-item .navi-link .navi-icon {
  flex: initial;
  padding-right: 5px;
}
.navi .navi-item .navi-link .navi-text {
  white-space: nowrap;
}

.dropdown-menu {
  min-width: 15rem;
}

.documents-list-container .uppy .uppy-drag {
  height: 110px;
}

.uppy-DragDrop-arrow {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.uppy-DragDrop-inner {
  line-height: 0;
}

.aggregate-invoice {
  background-color: #f8f8f8;
}

div.dataTables_wrapper div.dataTables_processing {
  background: #3f4254;
  color: white;
}

.blockui {
  background: #3F4254;
}
.blockui > span {
  color: #fff;
}

.vakata-context,
.vakata-context ul {
  box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.4);
}

ul.action-legend {
  padding: 0 0 0 15px;
  margin: 0;
}
ul.action-legend > li {
  padding: 5px 0;
}
ul.action-legend > li ul {
  padding-top: 5px;
}
ul.action-legend > li ul li {
  font-weight: normal;
}

.table-text-rotate {
  -ms-writing-mode: tb-lr;
      writing-mode: vertical-lr;
}

#invoices-container .card.card-custom .card-header .card-title {
  align-items: start;
}
#invoices-container .card-toolbar {
  display: block;
}

.card-header.card-header-tabs-line .card-toolbar .nav.nav-tabs.nav-tabs-line .nav-item .nav-link {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}
.card-header.card-header-tabs-line .card-toolbar .nav.nav-tabs.nav-tabs-line .nav-item .nav-link .nav-text {
  font-size: 0.8rem;
}
.card-header.card-header-tabs-line .btn {
  font-size: 0.8rem;
}

.header-fixed.subheader-fixed .subheader {
  z-index: 97;
}

/* Calendar Rules */
.fc-event {
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 12px;
  cursor: pointer;
}

.fc-event-title {
  font-weight: 600;
}

.fc-daygrid-event {
  margin: 2px;
}

.fc .fc-button-primary:disabled,
.fc .fc-button-primary:hover,
.fc .fc-button-primary:disabled:hover,
.fc .fc-button-primary:disabled:focus,
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary {
  background-color: #187de4;
  border-color: #187de4;
}

.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus,
.fc .fc-button-primary:focus {
  box-shadow: none;
}

.fc a {
  color: inherit;
}

.fc, .fc *, .fc ::after, .fc ::before {
  border-color: #ebedf3;
}

.fc .fc-scrollgrid {
  border-bottom-width: 0px;
  border-collapse: separate;
  border-right-width: 0px;
}

.fc-theme-standard .fc-scrollgrid {
  border: 1px solid #ebedf3;
}

.modal .modal-fullscreen {
  max-width: 90%;
}