body {
  /*font-family: 'Open Sans';*/
  font-family: "Lexend", sans-serif;
  font-size: 1em;
  background: #f7f7f7;
}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ccc #eee;
}

  /* Works on Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 12px;
  }

  *::-webkit-scrollbar-track {
    background: #eee;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 20px;
    border: 3px solid #eee;
  }

h1, h2, h3, h4, h5 {
  font-family: "Lexend", sans-serif;
  /*font-family: "Open Sans";*/
}

a {
  text-decoration: underline;
}


[popover] {
  padding: 2em;
  width: 640px;
  border: none;
  border-radius: 4px;
}

  [popover]:-internal-popover-in-top-layer::backdrop {
    background: rgba(0, 0, 0, .5);
  }

  [popover] > .ui.message.notification.error {
    /*margin-bottom: 0;*/
  }

  [popover] table {
    margin: 0 !important;
  }

  [popover]#upload-certificate {
    width: 320px;
  }

  [popover] #popup-title {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

#fiscalize-outgoing-invoice-popup, #send-outgoing-invoice-popup {
  width: 320px;
}

button.ui.button.open-popover-btn {
  padding: 0 !important;
  margin: 0;
}

button.ui.button.open-popover-link-btn {
  color: #4183c4;
  border: none;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}

  button.ui.button.open-popover-btn,
  button.ui.button.open-popover-link-btn,
  button.ui.button.open-popover-btn:hover,
  button.ui.button.open-popover-link-btn:hover {
    border: none;
    background: none;
    box-shadow: none;
  }

button[popovertarget] {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  cursor: pointer;
}

.ui.loading.form {
  user-select: none;
}

span.ui.red.text {
  color: red;
}

i.grey.check.icon {
  color: #ddd !important;
}

table.ui.table thead tr th a {
  text-decoration: none;
}

i.bordered.icon {
  border-radius: 15px;
}

.txt-rt {
  text-align: right;
}

.text-center {
  text-align: center;
}

.p-t0 {
  padding-top: 0 !important;
}

.m-0 {
  margin: 0 !important;
}

.m-t0 {
  margin-top: 0 !important;
}

.m-b0 {
  margin-bottom: 0 !important;
}

.m-l-auto {
  margin-left: auto !important;
}

.p-t-1em {
  padding-top: 1em;
}

.p-r-1em {
  padding-right: 1em;
}

[readonly] {
  cursor: default;
}

.form-error-label {
  color: white !important;
}

.underline {
  text-decoration: underline;
}

.header-title {
  text-transform: uppercase;
  font-size: 0.8em;
}

.header-actions {
  display: inline-block;
  float: right;
}

.header-action-divider {
  color: #ddd;
}

.header-action,
.header-ajax-action {
  display: inline-block;
  padding: 0 1em;
  font-size: 0.9em;
}

  .header-action a,
  .header-ajax-action a {
    text-decoration: none;
  }

    .header-action a > i.ui.icon,
    .header-ajax-action a > i.ui.icon {
      margin: 0;
    }

.header-actions .header-action .header-action-label {
}

.fw-400 {
  font-weight: 400;
}

.td-subtext {
  color: #777;
  font-size: 0.9em;
}

.ui.basic.message {
  background: none;
}

.ui.table.disabled, .ui.form.filter-form.disabled, menuitem.form.disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

input:-webkit-autofill,
.ui.form .field.field:not(.error) input:-webkit-autofill:focus,
.ui.form .field.field:not(.error) input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0px 9999px white !important;
  box-shadow: inset 0 0 0px 9999px white !important;
  border-color: #ddd !important;
}

.ui.form .fields.error .field label,
.ui.form .field.error label,
.ui.form .fields.error .field .input,
.ui.form .field.error .input {
  color: #db2828;
}

.ui.form .field .prompt.label {
  border: 1px solid rgba(219, 40, 40, 0.5) !important;
  color: #db2828 !important;
}

.ui.form input:not([type]), .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=email], .ui.form input[type=file], .ui.form input[type=number], .ui.form input[type=password], .ui.form input[type=search], .ui.form input[type=tel], .ui.form input[type=text], .ui.form input[type=time], .ui.form input[type=url] {
  font-family: "Lexend", sans-serif;
  font-weight: 400;
}

.ui.form .fields.error .field textarea,
.ui.form .fields.error .field select,
.ui.form .fields.error .field input:not([type]),
.ui.form .fields.error .field input[type="date"],
.ui.form .fields.error .field input[type="datetime-local"],
.ui.form .fields.error .field input[type="email"],
.ui.form .fields.error .field input[type="number"],
.ui.form .fields.error .field input[type="password"],
.ui.form .fields.error .field input[type="search"],
.ui.form .fields.error .field input[type="tel"],
.ui.form .fields.error .field input[type="time"],
.ui.form .fields.error .field input[type="text"],
.ui.form .fields.error .field input[type="file"],
.ui.form .fields.error .field input[type="url"],
.ui.form .field.error textarea,
.ui.form .field.error select,
.ui.form .field.error input:not([type]),
.ui.form .field.error input[type="date"],
.ui.form .field.error input[type="datetime-local"],
.ui.form .field.error input[type="email"],
.ui.form .field.error input[type="number"],
.ui.form .field.error input[type="password"],
.ui.form .field.error input[type="search"],
.ui.form .field.error input[type="tel"],
.ui.form .field.error input[type="time"],
.ui.form .field.error input[type="text"],
.ui.form .field.error input[type="file"],
.ui.form .field.error input[type="url"] {
  color: #db2828 !important;
  background: #fff6f6 !important;
  border-color: #db2828 !important;
}

.ui.form .field > label {
  text-align: left;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  font-size: 0.8em;
}


.ui.dropdown > .text > .icon,
.ui.dropdown > .text > .label,
.ui.dropdown > .text > .flag,
.ui.dropdown > .text > img,
.ui.dropdown > .text > .image,
.ui.dropdown .menu > .item > .icon,
.ui.dropdown .menu > .item > .label,
.ui.dropdown .menu > .item > .flag,
.ui.dropdown .menu > .item > .image,
.ui.dropdown .menu > .item > img {
  position: relative;
  bottom: 1px;
}

.hidden {
  display: none;
}

.margin-bottom-0 {
  margin-bottom: 0 !important;
}

.ui.button {
  font-family: "Lexend", sans-serif;
  /*font-family: "Open Sans";*/
  font-weight: 500;
  border-radius: 30px;
}

.shiny {
  position: relative;
  overflow: hidden;
}

  .shiny:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: all 0.5s;
    opacity: 1;
    transform: translate(-105%, 0);
    background-color: white;
  }

  .shiny:hover:before {
    opacity: 0;
    transform: translate(0,0);
  }

.mobile-only-visible {
  display: none !important;
}

.print-only,
td.print-only {
  display: none !important;
}

.ui.attached.header, .ui.attached.segment {
  border: 1px solid #eee;
  /*border-bottom: none;*/
}

  .ui.attached.segment.clear-padding-and-border {
    padding: 0;
    border: none;
  }

    .ui.attached.segment.clear-padding-and-border > .ui.filter-form,
    .ui.attached.segment.clear-padding-and-border > .ui.table:first-child {
      border-top: none;
    }

.ui.attached.header {
  font-size: 0.9em;
}

.ui.top.attached.header {
  margin: 0;
}

.ui.cards > .card > .content > .header, .ui.card > .content > .header {
  /*font-family: 'Open Sans';*/
  font-family: "Lexend", sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

.ui.yellow.labels .label, .ui.yellow.label {
  background-color: #ffd866 !important;
  border-color: #ffd866 !important;
}

.ui.teal.labels .label, .ui.teal.label {
  background-color: #42abc0 !important;
  border-color: #42abc0 !important;
}

.ui.blue.labels .label, .ui.blue.label {
  background-color: #559ed5 !important;
  border-color: #559ed5 !important;
}

.ui.red.labels .label, .ui.red.label {
  background-color: #e84747 !important;
  border-color: #e84747 !important;
}

.ui.olive.labels .label, .ui.olive.label {
  background-color: #c5d177 !important;
  border-color: #c5d177 !important;
}

.ui.green.labels .label, .ui.green.label {
  background-color: #40cb61 !important;
  border-color: #40cb61 !important;
}

.ui.dropdown > .text > .subtext,
.ui.dropdown > .menu > .item > .subtext {
  display: block;
  font-size: 0.8em;
  padding-top: 0.3em;
}

.ui.dropdown.js-invoice-status-dropdown > .text > i.icon,
.ui.dropdown.js-invoice-status-dropdown > .menu > .item > i.icon {
  bottom: 2px;
  position: relative;
}

#test-env-label {
  position: relative;
  background: rgb(247, 93, 57);
  color: white;
  font-weight: bold;
  font-size: 11px;
  text-align: center;
  line-height: 2em;
  z-index: 99;
}

.border-bottom-none,
.attached.header.border-bottom-none {
  border-bottom: none;
}

p.small {
  font-size: 0.9em;
  line-height: 1.5em;
}

.ui.container {
  position: relative;
  width: 98%;
}

  .ui.container.main {
    margin-top: 1em;
  }

.ui.header, .ui.menu {
  font-family: "Lexend", sans-serif;
  /*font-family: 'Open Sans';*/
}

#account-name {
  background: #2e2e2e;
  background: #191e22;
  color: white;
  font-size: 0.7em;
  font-weight: bold;
  padding: 0.5em 1em;
  text-transform: uppercase;
  text-align: center;
}

header.ui.menu {
  border-radius: 0;
  background: #333;
  background: #1e2f3c;
  margin: 0;
  /*    margin-bottom: 1em;*/
  box-shadow: none;
  -webkit-box-shadow: none;
  border: none;
}

  header.ui.menu.sub-menu {
    background: #223442;
  }

  header.ui.menu.sub-sub-menu {
    background: rgb(75,75,75);
  }

  header.ui.menu .item.ieracunicom {
    padding: 0;
    font-size: 0.9em;
  }

    header.ui.menu .item.ieracunicom > span {
      font-weight: bold;
      color: white !important;
      margin-right: 2em;
      padding: 0;
      text-decoration: none;
    }

    header.ui.menu .item.ieracunicom > img.logo {
      position: relative;
      width: 20px;
      margin-right: 1.25em;
    }

  header.ui.menu a.item,
  header.ui.menu span.item {
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: bold;
    padding: 1.25em 1.5em;
    color: #656565;
    color: #445c6e;
  }

  header.ui.menu a.button.item:first-of-type {
    padding-left: 30px;
  }

  header.ui.menu .item.active {
    background: none;
    font-weight: bold;
    color: white;
  }

    header.ui.menu .item.active .nav-arrow,
    header.ui.menu.sub-menu .item.active .nav-arrow {
      height: 0;
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-bottom: 7px solid #fbfbfb;
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
    }

  header.ui.menu .item:hover {
    color: rgba(255,255,255,0.8);
  }

  header.ui.menu .item.active:hover {
    color: white;
  }

  header.ui.menu .item.has-submenu.active {
    background: #223442;
  }

    header.ui.menu .item.has-submenu.active .nav-arrow {
      display: none;
    }

  header.ui.menu .item.has-sub-submenu.active {
    background: rgb(75,75,75);
  }

    header.ui.menu .item.has-sub-submenu.active .nav-arrow {
      display: none;
    }

/*    header.ui.menu .active.item > i.icon {
        color: #FBBD08 !important;
    }
*/
header .account {
  top: -2px;
  position: relative;
  padding-right: 1em;
  text-align: right;
  text-transform: uppercase;
  color: white;
}

  header .account.left {
    text-align: left;
  }

  header .account.right {
    text-align: right;
  }

  header .account > .user-role,
  header .account > .company-name {
    display: block;
    position: relative;
    top: 2px;
    width: 100%;
    font-size: 8px;
    color: #999;
    font-weight: bold;
  }

  header .account > .user-name,
  header .account > .ieracuni {
    font-size: 12px;
    line-height: initial;
    display: block;
  }

header .item.account-image {
  padding: 0 !important;
}

  header .item.account-image > .image,
  header .item.account-image > .no-image {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  header .item.account-image > .no-image {
    background-image: url(../img/no-avatar.jpg);
  }

header.ui.menu:not(.vertical):not(.sub-menu) .item {
  padding-right: 0;
}

header .item > a.log-out > i.icon {
  padding-left: 0.5em;
  font-size: 1.2em;
  color: white;
}

.toggle-btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  /*font-size: 1.5em;*/
  cursor: pointer;
}

/*#main-menu {
  font-size: 0.9em;
}*/
/*
  #main-menu .menu {
    background: #1e2f3c;
  }

  #main-menu .item {
    color: white !important;
  }*/
#main-menu .item > a {
  text-decoration: none;
  color: #333;
  /*text-transform: uppercase;*/
}

#main-menu > .menu {
  margin-top: 1em;
  border-radius: 0.25em;
  transition: 0.15s color ease-in-out;
}

#sub-menu-title {
  color: white;
  padding: 0;
}

  #sub-menu-title > i.icon {
    margin: 0 0.1em;
  }

    #sub-menu-title > i.icon ~ span {
      padding: 0 1.45em;
    }

#sub-menu {
  font-size: 0.9em;
  color: #445c6e;
  padding-right: 0;
}

  #sub-menu > .menu {
    margin-top: -2em;
    border-radius: 0.25em;
    margin-right: 2em;
    transition: 0.15s color ease-in-out;
  }

    #sub-menu > .menu > .item {
      font-weight: bold !important;
      color: #4183C4 !important;
    }

  #sub-menu > .icon {
    margin: 0;
  }

  #sub-menu.active {
    color: white !important;
    transition: 0.15s color ease-in-out;
  }

  #sub-menu:hover:not(.active) {
    color: #8ba1b1 !important;
    transition: 0.15s color ease-in-out;
  }

.ui.tabular.menu {
  border-bottom: 1px solid #eee;
}

  .ui.tabular.menu .active.item {
    border-color: #eee;
  }


.ui.top.attached.tabular.menu.ier {
  background: white;
  border: solid 1px #eee;
  /*margin: 0;*/
  border-top: 0;
}

  .ui.top.attached.tabular.menu.ier > a.item {
    text-transform: uppercase;
    font-weight: bold;
    color: #555;
    padding: 1.25em 2em;
    font-size: 0.85em;
  }

  .ui.top.attached.tabular.menu.ier > .item.flex-last-item-right-align {
    margin-left: auto;
  }

  .ui.top.attached.tabular.menu.ier > a.item:hover {
    color: #2185d0;
    transition: color ease-in-out 0.15s;
  }

  .ui.top.attached.tabular.menu.ier > a.active.item {
    color: #2185d0;
    border: none;
    border-bottom: solid 2px #2185d0;
    padding-bottom: 1em;
  }

.ui.segments .segment, .ui.segment {
  box-shadow: none;
}

.ui.modal > .actions {
  background: #f3f3f3;
}

.ui.modal > .header > .text {
  font-size: 0.9em;
}

.ui.modal > .close.icon {
  top: 0.75em;
  right: 0.75em;
  color: #ddd;
}

.ui.mini.modal {
  width: 480px;
}

#yes-no-modal {
  /*    padding: 0.5em;*/
}

  #yes-no-modal > .header,
  #yes-no-modal > .actions {
    background: white;
    font-size: 1.2em;
    border: none;
  }

  #yes-no-modal > .content {
    padding-top: 0.5em;
    color: #777;
    font-size: 0.9em;
  }

  #yes-no-modal > .actions {
    background: #fbfbfb;
    border-top: solid 1px #eee;
  }

    #yes-no-modal > .actions > .cancel.button {
      font-weight: bold;
      color: #333 !important;
      border: none;
      box-shadow: none;
    }

    #yes-no-modal > .actions > .approve.button {
      padding: 0.75em 1.25em;
      margin-left: 0;
      background: #3393db;
    }

header .item .js-open-account-details-modal,
header .item .js-open-invoice-import-modal {
  cursor: pointer;
}

.ui.modal.js-account-details-modal {
  width: 480px !important;
  font-size: 0.9em;
}

.ui.modal#js-import-document-modal {
  width: 480px !important;
  font-size: 0.9em;
}

  .ui.modal#js-import-document-modal p,
  .ui.modal#js-import-document-modal a {
    font-size: 0.9em;
    line-height: 1.2em;
  }

  .ui.modal#js-import-document-modal p {
    margin-top: 1em;
  }

  .ui.modal#js-import-document-modal .ui.form {
    font-size: inherit;
  }

  .ui.modal#js-import-document-modal .import-document-form-result-ok {
    text-align: center;
    display: none;
  }

    .ui.modal#js-import-document-modal .import-document-form-result-ok > p {
      margin-top: 0;
    }

  .ui.modal#js-import-document-modal .import-document-form-result-error {
    display: none;
  }

    .ui.modal#js-import-document-modal .import-document-form-result-error > .message {
      margin-bottom: 0;
    }

    .ui.modal#js-import-document-modal .import-document-form-result-error > .error-details {
      display: none;
    }

.ui.modal.js-document-status-modal {
  width: 400px !important;
  font-size: 0.9em;
}

  .ui.modal.js-document-status-modal > .content {
    padding: 0;
  }

    .ui.modal.js-document-status-modal > .content > .js-document-status-modal-name {
      text-align: center;
      font-size: 1.1em;
      font-weight: bold;
      padding: 0.5em;
      padding-bottom: 0;
    }

    .ui.modal.js-document-status-modal > .content > .js-document-status-modal-external-id {
      text-align: center;
      padding: 0.5em;
      padding-bottom: 0;
    }

.ui.modal.js-payment-details-modal {
  width: 400px !important;
  font-size: 0.9em;
}

  .ui.modal.js-payment-details-modal .js-amount {
    display: none;
  }

.ui.modal.js-export-accounting-csv-modal {
  width: 580px !important;
  font-size: 0.9em;
}

  .ui.modal.js-export-accounting-csv-modal label {
    text-align: center;
    color: #333;
  }

.ui.modal.js-reject-document-modal {
  width: 400px !important;
  font-size: 0.9em;
}

  .ui.modal.js-reject-document-modal .ui.field:last-of-type {
    margin: 0;
  }

  .ui.modal.js-reject-document-modal textarea {
    height: 3em;
    resize: none;
  }

.ui.accordion:not(.styled) > .title ~ .content:not(.ui) {
  padding-left: 2em;
}

section {
  padding: 2em;
  background: white;
  border: solid 1px #eee;
  overflow: auto;
}

/*.section-heading {
    padding: 0.75em 1.5em;
    background: white;
    border: solid 1px #eee;
    border-bottom: none;
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: bold;
    color: #4a4a4a;
    border-left: solid 5px #2185d0;
    margin-top: 2em;
}

.section-heading:first-of-type {
    margin-top: 0;
}

    .section-heading ~ .ui.table {
        margin-top: 0;
    }*/

.ui.table,
.ui.basic.table {
  background: white;
  border: solid 1px #eee;
  cursor: default;
}

  .ui.table thead th {
    font-size: 0.9em;
    text-transform: uppercase;
  }

  .ui.table tbody a,
  .ui.basic.table tbody a {
    text-decoration: underline;
  }

    .ui.table tbody a.no-actions,
    .ui.basic.table tbody a.no-actions {
      cursor: default;
      pointer-events: none;
    }

  .ui.basic.table tbody tr.small {
    font-size: 0.9em;
  }

  .ui.table a.button, .ui.basic.table a.button {
    box-shadow: none;
    text-decoration: none;
  }

  .ui.table td {
    position: relative;
  }

  .ui.table a.btn-view-invoice-details,
  .ui.table a.btn-view-import-details,
  .ui.table a.btn-download-invoice {
    color: #333;
    font-size: 1.25em;
    transition: color ease-in-out 0.08s;
    text-decoration: none;
  }

    .ui.table a.btn-view-import-details:hover,
    .ui.table a.btn-view-invoice-details:hover {
      color: #888;
      transition: color ease-in-out 0.04s;
    }

  .ui.table a.js-open-popup {
    color: inherit;
    text-decoration: none !important;
  }

    .ui.table a.js-open-popup > i.icon {
      font-size: 0.9em;
    }

.ui.basic.striped.table tbody tr:nth-child(2n) {
  background-color: rgba(0, 0, 0, 0.025) !important;
}

.ui.basic.striped.table tbody tr.positive {
  background-color: #5cc15e59 !important;
  color: green !important;
}

.ui.basic.striped.table thead tr.negative {
  background-color: #ff111142 !important;
}

  .ui.basic.striped.table thead tr.negative th {
    color: red !important;
  }

.ui.table tr.error, .ui.table td.error {
  color: #e31e1e !important;
}

.ui.table tfoot tr td.paging {
  line-height: 2em;
  font-size: 0.9em;
  border-top: solid 1px #e5e5e5;
  padding: 0.75em 1.25em;
}

  .ui.table tfoot tr td.paging .note {
    float: left;
  }

  .ui.table tfoot tr td.paging .controls {
    float: right;
  }

    .ui.table tfoot tr td.paging .controls a {
      text-decoration: none;
      color: #333;
    }

      .ui.table tfoot tr td.paging .controls a.disabled {
        cursor: default;
        pointer-events: none;
        color: #ddd;
      }

.ui.table thead th.title,
.ui.table tbody tr td > .title {
  text-transform: uppercase;
  font-size: 0.8em;
  line-height: 2em;
}

.ui.table tr.strikeout td:not(:first-child) {
  opacity: 0.5;
  pointer-events: none;
}

  .ui.table tr.strikeout td:not(:first-child):before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 0;
    border-bottom: 1px solid #bbb;
    width: 100%;
  }

.ui.table tr.strikeout td a.js-open-popup i.icon {
  margin: 0;
  padding-left: 4px;
}

.ui.table tr td.strikeout:not(:first-child) {
  opacity: 0.5;
  pointer-events: none;
}

  .ui.table tr td.strikeout:not(:first-child):before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 0;
    border-bottom: 1px solid #bbb;
    width: 100%;
  }

.ui.table > tbody > tr > td > .ui.checkbox {
  position: relative;
  top: 3px;
}

#js-open-import-document-modal {
  color: white;
  text-transform: uppercase;
  border-radius: 30px;
  line-height: 1.15em;
  font-size: 0.9em;
  background: rgba(230,115,39,1);
  background: -moz-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,115,39,1)), color-stop(100%, rgba(255,38,0,1)));
  background: -webkit-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  background: -o-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  background: linear-gradient(to bottom, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e67327', endColorstr='#ff2600', GradientType=0 );
}

/*#js-open-import-document-modal {
    position: absolute;
    top: 2em;
    right: 1em;
    border-radius: 20px;
    color: white;
    text-transform: uppercase;
    background: rgba(230,115,39,1);
    background: -moz-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,115,39,1)), color-stop(100%, rgba(255,38,0,1)));
    background: -webkit-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
    background: -o-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
    background: linear-gradient(to bottom, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e67327', endColorstr='#ff2600', GradientType=0 );
}*/

#js-list-add-new-btn,
.ui.button.js-open-add-new-user-modal {
  position: absolute;
  top: 2em;
  right: 2em;
  /*    border-radius: 4px;
    color: white;
    text-transform: uppercase;
    background: linear-gradient(to bottom, rgb(44, 155, 248) 0%, rgb(66, 112, 215) 100%);
*/
}

footer {
  line-height: 60px;
  font-size: 0.85em;
  text-align: center;
  margin-top: 2em;
}

#terms-of-use, #privacy-policy {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
  margin: 0;
  padding: 0;
  background: white;
}

  #terms-of-use > .close,
  #privacy-policy > .close {
    cursor: pointer;
    position: fixed;
    top: 2em;
    right: 2em;
    z-index: 1;
    text-transform: uppercase;
    font-size: 0.89em;
    color: #ddd;
    transition: color ease-in-out 0.1s;
  }

    #terms-of-use > .close:hover,
    #privacy-policy > .close:hover {
      color: #333;
      transition: color ease-in-out 0.2s;
    }

  #terms-of-use > .text-wrapper,
  #privacy-policy > .text-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2em 20%;
  }

    #terms-of-use > .text-wrapper > .title,
    #privacy-policy > .text-wrapper > .title {
      font-size: 1.5em;
      font-weight: bold;
      margin-top: 2em;
      padding-bottom: 1em;
    }

.ui.message.notification {
  margin-bottom: 1em;
  box-shadow: none;
  width: 100%;
  border-bottom: 0;
  border-radius: 0;
  font-weight: bold;
  /*text-transform: uppercase;*/
}

.ui.small.message.notification {
  font-size: 0.9em;
}

.ui.message.notification.success {
  border-left: solid 5px #21ba45
}

.ui.message.notification.error {
  border-left: solid 5px #db2828;
}

.ui.message.notification.warning {
  border-left: solid 5px #f2711c;
}

.ui.message.notification.info {
  color: #2185d0;
  background-color: #ddf1ff;
  border-left: solid 5px #2185d0;
}

.ui.message.notification > .close.icon {
  display: inline;
  z-index: 1;
}

.ui.message.notification > .close.icon {
  margin: 0.25em;
  margin-right: 0.75em;
}

.ui.message.notification > p {
  margin: 0;
}

.ui.horizontal.label.grey.wip {
  opacity: 0.25;
  position: relative;
}

@keyframes glow {
  0% {
    opacity: 0.15;
    transform: translateX(-50px);
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 0.15;
    transform: translateX(50px);
  }
}

.ui.horizontal.label.grey.wip > .wip-animation {
  position: absolute;
  display: block;
  width: 30px;
  height: 20px;
  border-radius: 10px;
  top: 0;
  left: 0;
  background: #eee;
  animation: glow 1s infinite;
}

#registration > .bckg {
  background-position-x: -150px;
  opacity: 0.65;
}

#registration-completed,
#activation-completed,
#upload-certificate {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

#upload-certificate-popup {
  width: 320px;
}

.ui.button.js-copy-invite-link-btn {
  margin-left: 1em;
}

#registration {
  background: white;
  padding: 50px 0;
}

  #registration .pdf.icon {
    font-size: 1.25em;
    color: red;
  }

    #registration .pdf.icon ~ span {
      color: initial;
      text-decoration: underline;
    }

  #registration .ui.checkbox {
    display: block;
  }

  #registration .ui.horizontal.divider {
    margin-top: 3em;
    margin-bottom: 2em;
  }

    #registration .ui.horizontal.divider:first-of-type {
      margin-top: 0;
    }

    #registration .ui.horizontal.divider > i.icon {
      padding-right: 1.5em;
      padding-bottom: 1.25em;
    }


  #registration form.ui.form {
    padding-top: 2em !important;
    background: white;
    margin-top: 2em;
  }

  #registration .ui.negative.message,
  #registration-completed .ui.negative.message,
  #activation-completed .ui.negative.message {
    margin-top: 3em;
    color: red;
    border: solid 1px red;
  }

  #registration .ui.frameless.message,
  #registration-completed .ui.frameless.message,
  #activation-completed .ui.frameless.message {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0;
    padding-top: 2em;
    text-align: center;
  }

  #registration .ui.red.small.message {
    max-width: 500px;
    margin: 0 auto;
  }

  #registration .ui.mini.message.extra-info {
    color: #aaa;
    font-weight: bold;
    border: none;
    box-shadow: none;
  }

#upload-certificate .js-import-certificate-file-input-trigger {
  cursor: pointer;
}

#upload-certificate > .upload-certificate-wrapper {
  width: 360px;
}

  #upload-certificate > .upload-certificate-wrapper form {
    padding-top: 2em;
  }

    #upload-certificate > .upload-certificate-wrapper form input[type=file] {
      width: 360px;
    }

.ui.table .receiver-oib,
.ui.table .import-id,
.ui.table .sender-oib,
.ui.table .company-oib,
.ui.table .party-identification-id,
.ui.table .receiver-branch,
.ui.table .external-id,
.ui.table .import-subtext,
.ui.table .euro-convert {
  color: #777;
  font-size: 0.8em;
  display: block;
  line-height: 1.5em;
}

.ui.table .document-size-dot-indicator {
  position: relative;
  bottom: 3px;
  margin: 0;
  margin-left: 1em;
}

/*.ui.table .document-size-label {
    display: block;
    position: relative;
    height: 3px;
    top: 1px;
    background: #eee;
}

    .ui.table .document-size-label > .value {
        display: block;
        height: 3px;
        position: absolute;
    }

        .ui.table .document-size-label > .value.low {
            background: #21ba45;
        }
        .ui.table .document-size-label > .value.medium {
            background: #ffba3b;
        }
        .ui.table .document-size-label > .value.high {
            background: #ff3939;
        }*/

.ui.table .invoice-direction-data.incoming > .icon {
  color: #21ba45;
}

.ui.table .invoice-direction-data.outgoing > .icon {
  color: #2185d0;
}

.js-get-document-status.ui.label {
  cursor: pointer;
  padding-top: 0.7em;
  padding-bottom: 0.6em;
  font-size: 0.75em;
}

.ui.table .document-status-data.ok > .icon {
  color: #21ba45;
}

.ui.table .document-status-data.error > .icon {
  color: #db2828;
}

.ui.table .document-status-data.wip > .icon {
  color: #ffa700;
}

.ui.table .invoice-payment-status > .icon {
  position: relative;
  bottom: 0.25em;
  font-size: 0.6em;
}

.ui.table .invoice-payment-status.full > .icon {
  color: #21ba45;
}

.ui.table .invoice-payment-status.not-paid > .icon {
  color: #db2828;
}

.ui.table .invoice-payment-status.partial > .icon {
  color: #ffa700;
}

.ui.table .ui.dropdown.icon.item > .icon {
  margin: 0;
}

.ui.table .icon ~ .text {
  font-size: 0.9em;
}

  .ui.table .icon ~ .text > .date {
    display: block;
    font-size: 0.8em;
    line-height: 1.5em;
  }

.ui.table .status-timestamp {
  display: block;
  font-size: 0.75em;
}

.ui.table tr.list-empty .list-empty-messgae {
  padding: 1em 0em;
  /*    background-color: #f9f9f9;
    border: solid 1px #eee;
*/
  font-size: 0.9em;
  text-align: center;
  color: #bbb;
}

.ui.form.filter-form {
  border-radius: 4px 4px 0 0;
  border: solid 1px #eee;
  border-bottom: none;
  background: white;
}

  .ui.form.filter-form > .fields {
    border-bottom: 0;
    margin: 0;
    padding: 1em;
  }

    .ui.form.filter-form > .fields > .field > label {
      text-transform: uppercase;
      font-size: 0.8em;
      font-weight: 500;
      /*color: rgba(0,0,0,0.25);*/
    }

    .ui.form.filter-form > .fields > .field > .ui.calendar {
      width: 120px !important;
    }

    .ui.form.filter-form > .fields > .field > input[name=id] {
      width: 120px !important;
    }

  .ui.form.filter-form ~ .ui.table {
    margin-top: 0;
    border-radius: 0 0 4px 4px;
  }

#subpage-dropdown > .menu.visible {
  max-height: initial;
}

.ui.form.filter-form .ui.icon.button.js-filter,
.ui.form.filter-form .ui.icon.button.js-clear-filters {
  /*    background: none !important; */
  box-shadow: none;
  -webkit-box-shadow: none;
  position: relative;
  margin: 1em 0;
  bottom: -0.75em;
}

  .ui.form.filter-form .ui.icon.button.js-filter > span,
  .ui.form.filter-form .ui.icon.button.js-filter > i {
    font-size: 0.9em;
  }

.ui.form.filter-form .js-clear-filter {
  position: relative;
  left: 0.5em;
  cursor: pointer;
  opacity: 0.2;
  color: #888;
  transition: all ease-in-out 0.4s;
}

  .ui.form.filter-form .js-clear-filter:hover {
    transition: all ease-in-out 0.2s;
    opacity: 1;
  }

.ui.form.filter-form .ui.icon.button.js-clear-filters:active {
  background: none !important;
}

.ui.form.filter-form .ui.statistics .statistic,
.ui.form.filter-form .ui.statistic {
  float: right;
}

  .ui.form.filter-form .ui.statistics .statistic > .value,
  .ui.form.filter-form .ui.statistic > .value {
    font-weight: 600;
  }

    .ui.form.filter-form .ui.statistics .statistic > .value > .percentage,
    .ui.form.filter-form .ui.statistic > .value > .percentage {
      font-size: 0.5em;
      line-height: 1em;
      padding-left: 0.25em;
    }

    .ui.form.filter-form .ui.statistics .statistic > .value ~ .label,
    .ui.form.filter-form .ui.statistic > .value ~ .label {
      font-size: 0.8em;
      font-weight: bold;
      color: #ccc;
    }

#invoice-upload > .ui.message.error {
  display: none;
  margin: 0;
  border: solid 1px #db2828;
  border-left-width: 5px;
  border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
}

/*.ui.invoice-preview.message {
    background: repeating-linear-gradient( 45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px );
}*/

#upload-here {
  position: relative;
  width: 100%;
  height: 500px;
  float: left;
  border: dashed 5px #ddd;
  border-radius: 4px;
  cursor: default;
}

  #upload-here > p {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    color: #d7d7d7;
    font-weight: bold;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    text-transform: uppercase;
    font-size: 1.5em;
    line-height: 1.25em;
  }

  #upload-here ~ .upload-here-description {
    width: 50%;
    float: right;
    padding: 1em 2em;
    font-size: 0.9em;
    color: #333;
  }

#account-settings form.import-certificate-form > .ui.three.fields {
  margin-bottom: 0;
}

#js-import-document-modal .js-select-outgoing-document-type > .dropdown.icon {
  padding: 1.5em 1em;
}

#admin-accounts .ui.table tr td a {
  color: inherit;
  text-decoration: none;
}

#admin-accounts .icon.phone, #admin-accounts .icon.envelope {
  font-size: 0.9em;
}

#admin-invoices .ui.table tr td i.red.exclamation.triangle.icon {
  vertical-align: middle;
  padding-left: 0.5em;
}

.ui.table tr td.ellipsis-wrap {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#document-details .document-details-attachment-link {
  display: inline-block;
  font-size: 0.9em;
}

#document-details-paper-wrapper {
  max-width: 1150px;
  border: solid 1px #eee;
  background: white;
  margin-top: 3em;
  border-radius: 2px;
  padding: 2em;
}

  #document-details-paper-wrapper > .ui.grid + .grid {
    margin-top: 0;
  }

  #document-details-paper-wrapper .ui.table.lines-and-sums,
  #document-details-paper-wrapper .ui.basic.table.lines-and-sums {
    border: none;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    border-radius: 0;
  }

    #document-details-paper-wrapper .ui.table.lines-and-sums thead tr th {
      background: #f7f7f7;
      /*line-height: 1.25em;*/
    }

    #document-details-paper-wrapper .ui.table.lines-and-sums tr.notes td {
      line-height: 1.25em;
      border: none;
      border-top: solid 1px #ccc;
      /*background: #f3f3f3;*/
      color: #777;
    }

    #document-details-paper-wrapper .ui.table.lines-and-sums p.document-line-item-name {
      font-size: 0.85em;
      margin-bottom: 0;
    }

    #document-details-paper-wrapper .ui.table.lines-and-sums p.document-line-item-description {
      font-size: 0.75em;
      font-weight: 200;
    }

  #document-details-paper-wrapper .ui.centered.header {
    margin-bottom: 0;
  }

  #document-details-paper-wrapper .company-details {
    padding: 1em;
    font-size: 1.25em;
    line-height: 1.5em;
    text-transform: uppercase;
  }

    #document-details-paper-wrapper .company-details > .party {
      margin-bottom: 1em;
      opacity: .6;
      /*font-size: 0.5em;*/
      font-weight: 400;
      border: none;
      padding: 0;
      padding-bottom: 0.5em;
    }

    #document-details-paper-wrapper .company-details > .party-name {
      font-size: 1.2em;
      margin-bottom: 0.25em;
      display: inline-block;
    }

    #document-details-paper-wrapper .company-details > .party-detail {
      font-size: 0.9em;
      line-height: 0.9em;
    }

    #document-details-paper-wrapper .company-details > .company-branch-code {
      font-size: 0.8em;
    }

  #document-details-paper-wrapper .document-general-details {
    text-align: center;
    text-transform: uppercase;
    line-height: 3em;
    margin-top: 1em;
    margin-bottom: 2em;
  }

  #document-details-paper-wrapper tr.invoice-line-row-title {
  }

    #document-details-paper-wrapper tr.invoice-line-row-title td {
      padding: 0.5em 1em;
    }

  #document-details-paper-wrapper tr.invoice-line-row td {
    padding: 0.5em 1em;
    font-size: 0.9em;
  }

  /* #document-details-paper-wrapper tr.totals-row, 
    .ui.basic.striped.table tbody tr.totals-row:nth-child(2n) {
        background: #f3f3f3;
        background-color: #f3f3f3 !important;
    }
*/
  #document-details-paper-wrapper tr.totals-row td {
    /*border-top: solid 1px #ccc;*/
    /*border-bottom: solid 1px #ccc;*/
    padding: 0.25em 0.75em;
  }

    #document-details-paper-wrapper tr.totals-row td .tax-subtotal-desc {
      padding-left: 1em;
      font-size: 0.85em;
    }

  #document-details-paper-wrapper tr.uk-iznos-za-placanje td {
    background: #f7f7f7;
  }

  #document-details-paper-wrapper tr.uk-iznos-prije-poreza td {
    border-top: solid 1px #ccc;
  }

  #document-details-paper-wrapper .attachments-list,
  #document-details-paper-wrapper .delivery-details {
    padding-top: 0;
    padding-bottom: 0;
    /*margin-top: 1.5em;*/
    margin: 1em 0;
    padding-left: 2rem;
  }

  #document-details-paper-wrapper .delivery-details {
    /*        margin-top: 0;*/
    margin: 1em 0;
    font-size: 0.9em;
  }


  #document-details-paper-wrapper .ui.table.lines-and-sums tbody tr:nth-child(2n) {
    background: none !important;
  }

  #document-details-paper-wrapper .document-id {
    margin: 1em;
    margin-bottom: 0.5em;
    margin-left: 0.5em;
  }

  #document-details-paper-wrapper .new-document-general-details {
    border: none;
    margin: 0;
    margin-bottom: 1em;
  }

    #document-details-paper-wrapper .new-document-general-details td.title {
      width: 20%;
      padding: 0;
    }

    #document-details-paper-wrapper .new-document-general-details tr > td > b {
      text-transform: uppercase;
      font-size: 0.9em;
    }

  #document-details-paper-wrapper .payment-information,
  #document-details-paper-wrapper .delivery-location,
  #document-details-paper-wrapper .attachment-list {
    /*margin: 2em 0;*/
    border-left: none;
    border-right: none;
    margin-bottom: 0;
    border: none;
  }

    #document-details-paper-wrapper .payment-information .title,
    #document-details-paper-wrapper .delivery-location .title,
    #document-details-paper-wrapper .attachment-list .title {
      font-size: 0.9em;
    }

  #document-details-paper-wrapper .podatci-za-placanje-divider {
    margin-bottom: 0.5em;
  }

  #document-details-paper-wrapper .podatci-za-placanje-wrapper {
    border: dashed 1px #ccc;
    margin: 0 2rem;
  }

  #document-details-paper-wrapper .podatci-za-placanje-column {
    padding-top: 0.5em;
  }

  #document-details-paper-wrapper .subtotal-line {
    display: block;
    overflow: auto;
    margin: 0;
    line-height: 2em;
  }

    #document-details-paper-wrapper .subtotal-line > span.price-and-desc {
      float: right;
    }

  #document-details-paper-wrapper .additional-data-wrapper p {
    font-size: 0.9em;
  }

  #document-details-paper-wrapper .note {
    padding: 0.25em 0;
    font-size: 0.85em;
  }

    #document-details-paper-wrapper .note.debt {
      color: red;
      font-weight: bold;
    }

#document-details .free-plan-message {
  font-weight: 600;
  border: solid 1px #eee;
  padding: 1.25em;
  text-align: center;
  font-size: 0.9em;
  font-style: italic;
}

  #document-details .free-plan-message span.uppercase {
    text-transform: uppercase;
  }

  #document-details .free-plan-message span.icon {
    font-style: normal;
  }

#document-details #barcode {
  display: block;
  width: 100%;
  max-width: 360px !important;
  margin: 0 auto;
  /*margin-top: 2em;*/
}

#document-details ul {
  list-style-type: none;
  padding: 0;
  padding-left: 0.5em;
}

#document-details #barcode-note {
  width: 100%;
  clear: both;
  font-size: 0.85em;
  text-decoration: underline;
  text-align: center;
  padding-top: 0.5em;
}

#document-details .company-legal-form {
  padding-top: 2em;
}

  #document-details .company-legal-form > p {
    text-align: center;
    color: #555;
    line-height: 1.75em;
  }

#document-details.public .image.logotype {
  margin-top: 3em;
}

#document-details.public > #document-details-paper-wrapper {
  margin-top: 2em;
  margin-bottom: 1em;
}

/*
    #document-details > .logotype.public {
        margin-top: 3em;
    }*/
#document-page-dropdown {
  box-shadow: none;
  font-size: 0.89em;
  /*font-weight: bold;*/
}

  #document-page-dropdown > .ui.dropdown.item {
    /*font-weight: bold;*/
  }

    /*#document-page-dropdown > .ui.dropdown.item > .menu > .ui.dropdown.item > .text {
            display: block;
            font-weight: bold;
            font-family: inherit;
            padding: 0.5em 0em 1em 0px;
        }*/

    #document-page-dropdown > .ui.dropdown.item > .menu > .ui.dropdown.item:hover {
      background: none !important;
      cursor: default;
    }

  #document-page-dropdown > .menu {
    max-height: initial;
  }

  #document-page-dropdown a {
    text-decoration: none;
    color: initial;
  }

#document-direction-dropdown {
  min-width: 140px;
  width: 140px;
}

  #document-type-dropdown a,
  #document-direction-dropdown a {
    text-decoration: none;
    color: initial;
  }

#js-list-add-new-branch.ui.modal {
  width: 550px;
}

#add-new-user-modal.ui.modal {
  width: 350px;
}

  #js-list-add-new-branch.ui.modal form,
  #add-new-user-modal.ui.modal form {
    width: 100%;
    padding: 1em;
  }

  #js-list-add-new-branch.ui.modal .title,
  #add-new-user-modal.ui.modal .title {
    padding-top: 1em;
    text-transform: uppercase;
    font-weight: bold;
  }

#js-list-add-new-branch.ui.modal button[type=submit] {
  margin-bottom: 0.75em;
  margin-top: 1em;
}


#users-list .admin-panel {
  display: grid;
  grid-template-columns: 60px auto;
  background: white;
  padding: 1em;
  border: solid 1px #eee;
  border-radius: 4px 4px 0 0;
  border-bottom: none;
}

  #users-list .admin-panel > .avatar-wrap > .avatar {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 3px;
    background: url(../img/avatar.jpg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  #users-list .admin-panel > .avatar-wrap > .no-avatar {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 3px;
    border: dashed 1px #ddd;
  }

#users-list td.avatar-wrap {
}

  #users-list td.avatar-wrap .avatar,
  #users-list td.avatar-wrap .no-avatar {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 3px;
  }

  #users-list td.avatar-wrap .avatar {
    background: url(../img/avatar.jpg);
    background-size: contain;
    background-repeat: no-repeat;
  }

  #users-list td.avatar-wrap .no-avatar {
    border: dashed 1px #ddd;
  }

#users-list .admin-panel .data {
  position: relative;
  font-size: 0.85em;
  line-height: 1.3em;
}

  #users-list .admin-panel .data > .administrator {
    font-size: 10px;
    display: block;
    padding-bottom: 0.25em;
  }

  #users-list .admin-panel .data > .first-name {
    font-weight: bold;
    text-transform: uppercase;
  }

#users-list .admin-panel ~ .ui.form.filter-form {
  border-radius: 0;
}


.ui.calendar input {
  cursor: pointer;
}

.ui.calendar .ui.table.day tr:nth-child(2) th {
  font-size: 0.8em;
}
/*
.ui.segment.js-list-menu {
    font-family: 'Open Sans';
    font-size: 0.9em;
    color: #767676;
    text-transform: uppercase;
    line-height: 1.5em;
    border-bottom: none;
    margin: 0;
}

    .ui.segment.js-list-menu > i.icon {
        font-size: 1.25em;
        line-height: 1em;
        display: inline;
        margin-right: 0.5em;
    }

    .ui.segment.js-list-menu > .ui.dropdown {
        display: inline;
    }*/

.ui.form .fields > .field.filter-form-action-button-field {
  margin-left: auto;
}

  .ui.form .fields > .field.filter-form-action-button-field > .button.ui.button {
    margin-top: 1.75em;
  }

.font-weight-initial {
  font-weight: initial !important;
}

.error-404 {
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  left: 50%;
  text-align: center;
}

  .error-404 .title {
    font-size: 150px;
    font-weight: bold;
    line-height: 1;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    color: #0039e4;
    background-image: -moz-linear-gradient(145deg, #e40000, #f17c04);
    background-image: -webkit-linear-gradient(145deg, #e40000, #f17c04);
    background-image: linear-gradient(145deg, #e40000, #f17c04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
  }

    .error-404 .title img {
      position: absolute;
      top: 17px;
      right: -200px;
      z-index: -1;
    }

  .error-404 .subtitle {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1a1b1e;
  }

  .error-404 .content {
    padding: 1em;
  }

#finance-payout-request .js-open-complete-payout-request-modal {
  position: absolute;
  right: 0.75em;
  top: 0.75em;
}

.ui.message .header {
  font-size: 1em !important;
}

.euro-convert {
  font-size: 0.75em;
  color: #888;
}

#fiksni-tecaj-konverzije {
  text-align: center;
  margin-bottom: 1em;
  font-size: 0.8em;
  text-transform: uppercase;
  color: #777;
}

#upload-document-btn, #create-document-btn {
  color: white;
  text-transform: uppercase;
  border-radius: 30px;
  background: rgba(230, 115, 39, 1);
  background-image: -moz-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  background-image: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,115,39,1)), color-stop(100%, rgba(255,38,0,1)));
  background-image: -webkit-linear-gradient(top, rgba(230, 115, 39, 1) 0%, rgba(255, 38, 0, 1) 100%);
  background-image: -o-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  background-image: linear-gradient(to bottom, rgba(230, 115, 39, 1) 0%, rgba(255, 38, 0, 1) 100%);
}

  #upload-document-btn.disabled, #create-document-btn.disabled {
    background: rgba(230, 115, 39, 1);
    background-image: -moz-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
    background-image: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,115,39,1)), color-stop(100%, rgba(255,38,0,1)));
    background-image: -webkit-linear-gradient(top, rgba(230, 115, 39, 1) 0%, rgba(255, 38, 0, 1) 100%);
    background-image: -o-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
    background-image: linear-gradient(to bottom, rgba(230, 115, 39, 1) 0%, rgba(255, 38, 0, 1) 100%);
  }


.ui.primary.button {
  color: white;
  /*text-transform: uppercase;*/
  border-radius: 30px;
  background: rgba(230, 115, 39, 1);
  background-image: -moz-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  background-image: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,115,39,1)), color-stop(100%, rgba(255,38,0,1)));
  background-image: -webkit-linear-gradient(top, rgba(230, 115, 39, 1) 0%, rgba(255, 38, 0, 1) 100%);
  background-image: -o-linear-gradient(top, rgba(230,115,39,1) 0%, rgba(255,38,0,1) 100%);
  background-image: linear-gradient(to bottom, rgba(230, 115, 39, 1) 0%, rgba(255, 38, 0, 1) 100%);
}

#submenu, #admin-submenu {
  font-size: 0.9em;
  border-bottom: 2px solid #eee;
  margin-bottom: 1.5em;
}

  #submenu .item,
  #admin-submenu .item {
    color: rgba(0, 0, 0, 0.2);
  }

    #submenu .item:hover,
    #admin-submenu .item:hover {
      background-color: transparent;
      color: rgba(0, 0, 0, 0.87);
    }

  #submenu .active.item,
  #admin-submenu .active.item {
    border-color: #202f3b;
    color: rgb(32, 47, 59);
  }

  #submenu .active.item {
    display: none;
  }

  #submenu.v2,
  #admin-submenu.v2 {
    font-size: 12px;
    border: none;
    margin-bottom: 1.5em;
  }

    #submenu.v2 .item,
    #admin-submenu.v2 .item {
      border: none;
      border-radius: 3px;
      color: rgba(0, 0, 0, 0.2);
      text-transform: uppercase;
      background: #eee;
      margin-right: 1em;
      font-weight: 500;
    }

      #submenu.v2 .item.disabled,
      #admin-submenu.v2 .item.disabled {
        pointer-events: none;
        background: #f3f3f3 !important;
        color: #ddd !important;
      }

      #submenu.v2 .item:hover, #admin-submenu.v2 .item:hover {
        /*background-color: transparent;*/
        color: rgba(0, 0, 0, 0.35);
        background: #e7e7e7;
      }

    #submenu.v2 .active.item,
    #admin-submenu.v2 .active.item {
      pointer-events: none;
      border: none;
      color: white;
      cursor: default;
      background: #202f3b;
      background: #265476;
    }

/* LAYOUT SIMPLE */
.ui.grid > .layout-simple-anonymous-view-wrapper {
  position: relative;
  width: 100%;
  padding: 3em;
  padding-top: 0;
  background: white;
  border-radius: 1em;
  max-width: 1440px;
  margin: 0 auto;
  margin-top: 4em;
  z-index: 9999;
}

.layout-simple-anonymous-view-wrapper-footer {
  padding: 2em;
  margin: 0 4em;
  text-align: center;
  display: block;
  width: 100%;
  font-size: 0.9em;
  color: #cdcdcd;
  color: #aaa;
  cursor: default;
  z-index: 9998;
  background-color: #f7f7f7;
  box-shadow: 10px 10px 10px 10px #f7f7f7;
  z-index: 999;
}

  .layout-simple-anonymous-view-wrapper-footer > a {
    color: inherit;
    text-decoration: none;
  }

.layout-simple-anonymous-view-wrapper > .logotype-link {
  display: inline-block;
  margin-bottom: 1em;
}

  .layout-simple-anonymous-view-wrapper > .logotype-link > .logotype.image {
    filter: invert(1);
    width: 64px;
    padding-top: 2em;
    left: -1em;
  }

.two-factor-auth-enabled-label {
  float: right;
  font-size: 0.9em;
  color: #555;
}


#page-header {
  position: relative;
}

#page-actions-btn-wrap {
  position: absolute;
  top: 0.15em;
  right: 0;
}

#import-outgoing-invoice-popup {
  width: 420px;
}

.ui.small.button{
  font-size: 0.88em !important;
}
/* EOF LAYOUT SIMPLE */
@media only screen and (max-width: 767px) {
  .mobile-hidden, .ui.table tr.mobile-hidden {
    display: none !important;
  }

  .mobile-only-visible {
    display: block !important;
    font-weight: bold;
  }

  header.ui.menu a.button.item:first-of-type {
    padding-left: 1.5em;
    margin: 0.5em 0;
  }

  header.ui.menu .item.ieracunicom {
    padding: 1.25em 1.5em;
  }

  header .ui.container .item:not(.no-mobile-toggle) {
    display: none;
  }

  header.ui.menu .item.log-out i.icon, #js-open-import-document-modal {
    float: left;
  }

  header .js-mobile-menu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px;
    color: white;
    font-size: 1em;
  }

  .ui.menu > .ui.container {
    position: relative;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm 10mm 10mm 20mm;
  }

  .ui.container {
    width: 100%;
  }

  .no-print {
    display: none !important;
  }

  .print-only, .logotype.print-only {
    display: block !important;
  }

  tr.print-only {
    display: table-row !important;
  }

  td.print-only {
    display: table-cell !important;
  }

  table.ui.table.this-doc-is-excahnged-as-e-doc-note {
    border: none;
  }

  #document-details-paper-wrapper {
    width: 100% !important;
    border: none !important;
    font-size: 12px;
    padding: 0 !important;
    margin: 0 !important;
  }

    #document-details-paper-wrapper .ui.table,
    #document-details-paper-wrapper .ui.basic.table {
      position: relative;
      font-size: 0.9em;
      width: 96%;
      left: 2%;
    }

    #document-details-paper-wrapper > .ui.grid > .ui.ten.wide.column {
      width: 100% !important;
    }

    #document-details-paper-wrapper .company-details {
      font-size: 1em;
      padding: 2em;
    }

    #document-details-paper-wrapper .company-legal-form {
      position: relative;
      width: 96% !important;
      left: 2%;
    }

    #document-details-paper-wrapper .document-id {
      margin: 0;
      margin-left: 1.25em;
      margin-bottom: 0.5em;
    }

  /*.ui.grid > .row > [class*="sixteen wide"].column, .ui.grid > .column.row > [class*="sixteen wide"].column, .ui.grid > [class*="sixteen wide"].column, .ui.column.grid > [class*="sixteen wide"].column {
        position: relative;
        width: 96%;
        left: 2%;
    }*/
  /*#document-details-paper-wrapper .additional-data-wrapper {
            break-inside: avoid;
            position: relative;
            width: 96% !important;
            left: 2%;
        }*/
  /*
        #document-details-paper-wrapper .podatci-za-placanje-wrapper {
            margin-right: 0;
        }*/
}

i.icons .icon:first-child {
  margin: 0;
}

#btn-close-popup {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}


.ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child, .ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
  padding: 0.8em;
}
/*
.ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child, 
.ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
  padding: inherit;
}*/

#account-settings.page-root {
}

  #account-settings.page-root td.js-account-setting-action {
    padding: 0.5em 1em;
  }

    #account-settings.page-root td.js-account-setting-action button {
      margin: 0;
      background: none;
      padding: 0.5em;
    }

    #account-settings.page-root td.js-account-setting-action i {
      margin: 0;
    }
