:root {
    --color-primary: #3a99f5;
    --link-color: #3a99f5;
  }
  
  html {
      height: 100%;
  }
  
  .ea.page-login {
      background: no-repeat center center fixed;
      background-size: cover;
  }
  
  .logo-image {
      width: 190px;
  }
  
  .main-header #header-logo a {
      padding-top: 7px;
  }
  
  .expenseBreakdownProgress {
      cursor: pointer;
  }
  
  a.googlesignin {
      background-image: url('/images/googlesignin/dark_normal_web.png');
      background-size: cover;
      margin-left: auto;
      margin-right: auto;
      display: block;
      width: 191px;
      height: 46px;
  }
  
  a.googlesignin:hover {
      background-image: url('/images/googlesignin/dark_pressed_web.png');
  }
  
  .versioninfo {
      text-align: right;
  }
  
  .table-sticky tbody td {z-index: 1;}
  .table-sticky thead,
  .table-sticky thead th { position: sticky; top: 0; opacity: 1; z-index: 3; }
  .table-sticky thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 4; opacity: 1; }
  .table-sticky tbody th:first-child { position: sticky; left: 0; z-index: 2; background: #fff; opacity: 1; }
  .table-sticky tfoot, .table-sticky tfoot th { position: sticky; bottom: 0; opacity: 1; z-index: 3;}
  .table-sticky tfoot th:first-child { position: sticky; left: 0; z-index: 2; opacity: 1; }
  
  .db-empl-actv-head { background: rgba(13, 202, 240, 0.25) !important;}
  .db-empl-actv-body { background: rgba(13, 202, 240, 0.1) !important;}
  .ea-light-scheme .db-empl-actv-foot { background: rgb(181, 195, 201) !important;}
  .ea-dark-scheme .db-empl-actv-foot { background: rgb(52, 67, 76) !important;}

  .wt-we-head { background: rgba(13, 202, 240, 0.25) !important;}
  .wt-ho-head { background: rgba(13, 202, 240, 0.5) !important;}
  .wt-we-body { background: rgba(13, 202, 240, 0.1) !important;}
  .wt-ho-body { background: rgba(13, 202, 240, 0.25) !important;}
  .wt-va-body { background: rgba(25, 135, 84, 0.25) !important;}
  .wt-sl-body { background: rgba(220, 53, 69, 0.25) !important;}
  .wt-xv-body { background: rgba(33, 37, 41, 0.25) !important;}
  
  .div-cro { color: #ad4ce8 !important; }
  .div-dc { color: #6a6ced !important; }
  .div-dev { color: #11caf2 !important; }
  .div-ppc { color: #1dd3a7 !important; }
  .div-seo { color: #f190b5 !important; }
  .div-soc { color: #f8b105 !important; }
  .div-bo { color: #7ea3c8 !important; }
  .div-intren { color: #9094b4 !important; }
  .div-hr { color: #000000 !important; }
  
  .ea-light-scheme .zeus-searchbar { background: #F5F5F5 }
  .ea-dark-scheme .zeus-searchbar { background: #212121; color: #E0E0E0}

  .ea-light-scheme thead th,
  .ea-light-scheme thead td,
  .ea-light-scheme table.datatable thead th,
  .ea-light-scheme table.datatable thead td { background: #E1F5FE; color: #212121; border: 1px solid #B3E5FC;}
  
  .ea-light-scheme tfoot th,
  .ea-light-scheme tfoot td,
  .ea-light-scheme table.datatable tfoot th,
  .ea-light-scheme table.datatable tfoot td { background: #CFD8DC; color: #212121; border: 1px solid #B0BEC5}

  .ea-dark-scheme thead th,
  .ea-dark-scheme thead td,
  .ea-dark-scheme table.datatable thead th,
  .ea-dark-scheme table.datatable thead td { background: #455A64; color: #E0E0E0}

  .ea-dark-scheme tfoot th,
  .ea-dark-scheme tfoot td,
  .ea-dark-scheme table.datatable tfoot th,
  .ea-dark-scheme table.datatable tfoot td { background: #263238; color: #E0E0E0}

  .ea-light-scheme td.overhead-green { background: #C8E6C9; color: #33691E;}
  .ea-light-scheme td.overhead-green a { color: #33691E; text-decoration: underline;}

  .ea-light-scheme td.overhead-yellow { background: #FFF9C4; color: #BF360C;}
  .ea-light-scheme td.overhead-yellow a { color: #BF360C; text-decoration: underline;}
  .ea-light-scheme span.overhead-yellow { background: #FFF9C4; color: #BF360C;}

  .ea-light-scheme th.overhead-grey { background: #cfd8dc; color: #212121;}
  .ea-light-scheme td.overhead-grey { background: #cfd8dc; color: #212121;}

  .ea-dark-scheme td.overhead-green { background: #004D40; color: #C8E6C9;}
  .ea-dark-scheme td.overhead-green a { color: #C8E6C9; text-decoration: underline;}

  .ea-dark-scheme td.overhead-yellow { background: #827717; color: #FFF9C4;}
  .ea-dark-scheme td.overhead-yellow a { color: #FFF9C4; text-decoration: underline;}
  .ea-dark-scheme span.overhead-yellow { background: #827717; color: #FFF9C4;}

  .ea-dark-scheme th.overhead-grey { background: #263238; color: #e0e0e0;}
  .ea-dark-scheme td.overhead-grey { background: #263238; color: #e0e0e0;}

  .ea-light-scheme td.overhead-minus, .ea-light-scheme td.total-minus { color: #E65100;}
  .ea-light-scheme td.overhead-plus, .ea-light-scheme td.total-plus { color: #2E7D32;}
  .ea-dark-scheme td.overhead-minus, .ea-dark-scheme td.total-minus { color: #F57C00;}
  .ea-dark-scheme td.overhead-plus, .ea-dark-scheme td.total-plus { color: #81C784;}
  
  .ea-light-scheme table.datatable tbody td.worktime-disabled { background: #EEEEEE;}
  .ea-dark-scheme table.datatable tbody td.worktime-disabled { background: #424242;}

  /* pivot táblák (DataTables RowGroup) */
  table.datatable-pivot tr.dtrg-group { cursor: pointer; }
  table.datatable-pivot tr.dtrg-group td:first-child,
  table.datatable-pivot tr.dtrg-group td:last-child { font-weight: bold; }
  table.datatable-pivot tr.dtrg-level-1 td:first-child { padding-left: 1.75rem; }
  table.datatable-pivot tr.dtrg-level-2 td:first-child { padding-left: 3.25rem; }
  table.datatable-pivot tbody tr:not(.dtrg-group) td:first-child { padding-left: 4.75rem; }
  table.datatable-pivot .pivot-toggle { display: inline-block; width: 1rem; }
  .ea-light-scheme table.datatable-pivot tr.dtrg-level-0 td { background: #ECEFF1; }
  .ea-light-scheme table.datatable-pivot tr.dtrg-level-1 td { background: #F5F7F8; }
  .ea-light-scheme table.datatable-pivot tr.dtrg-level-2 td { background: #FAFBFB; }
  .ea-dark-scheme table.datatable-pivot tr.dtrg-level-0 td { background: #37474F; }
  .ea-dark-scheme table.datatable-pivot tr.dtrg-level-1 td { background: #2E3B41; }
  .ea-dark-scheme table.datatable-pivot tr.dtrg-level-2 td { background: #263238; }
  .ea-light-scheme table.datatable-pivot tr.pivot-expense td { color: #757575; }
  .ea-dark-scheme table.datatable-pivot tr.pivot-expense td { color: #9E9E9E; }

  /* szoftver margin: bizonylatszám popover */
  table.datatable-pivot td.has-documents { cursor: help; }
  table.datatable-pivot td.has-documents:hover,
  table.datatable-pivot td.has-documents:focus { text-decoration: underline dotted; outline: none; }
  .margin-documents-popover { max-width: 360px; }
  .margin-documents-popover .popover-body { padding: .5rem .75rem; }
  .margin-documents-popover .margin-documents-list { max-height: 260px; overflow-y: auto; }
  /* a popover a <body>-ba kerül, ezért a globális thead/tfoot szabályokat (pl. világos témában a kék keret) felül kell írni */
  .margin-documents-popover .margin-documents-list table { --bs-table-bg: transparent; border-collapse: collapse; }
  .margin-documents-popover .margin-documents-list th { position: sticky; top: 0; background: var(--bs-popover-bg); font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--bs-secondary-color); padding: 0 0 .25rem; border: 0; border-bottom: 1px solid var(--bs-border-color); box-shadow: none; }
  .margin-documents-popover .margin-documents-list td { padding: .1875rem 0; vertical-align: baseline; border: 0; border-bottom: 1px solid var(--bs-border-color-translucent); box-shadow: none; }
  .margin-documents-popover .margin-documents-list tbody tr:last-child td { border-bottom: 0; }
  .margin-documents-popover .margin-documents-list th + th,
  .margin-documents-popover .margin-documents-list td + td { padding-left: 1.5rem; }
  .margin-documents-popover .margin-documents-list td.document-number { font-family: var(--bs-font-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace); font-size: .8125rem; font-weight: 600; }
  .margin-documents-popover .margin-documents-list td.document-total { font-size: .75rem; color: var(--bs-secondary-color); font-variant-numeric: tabular-nums; }


  .breakdown-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
  .breakdown-filters label { min-width: 5rem; max-width: 19rem; }
  .breakdown-filters input[type=number] { width: 6rem; }
  .breakdown-scroll { overflow: auto; max-height: 72vh; }
  .breakdown-pivot { width: 100%; min-width: max-content; }
  .breakdown-pivot th[scope=row] { min-width: 16rem; max-width: 26rem; white-space: normal; }
  .breakdown-pivot thead th { position: sticky; top: 0; z-index: 2; }
  .breakdown-toolbar, .breakdown-views { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
  .breakdown-toolbar .btn, .breakdown-filters .btn { padding: .35rem .65rem; }
  .ea-light-scheme .breakdown-pivot tbody th:first-child { background: #fff; color: #212121; }
  .ea-dark-scheme .breakdown-pivot tbody th:first-child { background: #1b2226; color: #eceff1; }
  .ea-light-scheme .breakdown-pivot thead th, .ea-light-scheme .breakdown-subtotal > * { background: #e1f5fe; color: #212121; }
  .ea-dark-scheme .breakdown-pivot thead th, .ea-dark-scheme .breakdown-subtotal > * { background: #37474f; color: #eceff1; }
  .ea-light-scheme .breakdown-pivot tbody tr.breakdown-subtotal > * { background: #e1f5fe; color: #212121; }
  .ea-dark-scheme .breakdown-pivot tbody tr.breakdown-subtotal > * { background: #37474f; color: #eceff1; }
