﻿html {
  position: relative;
  min-height: 100%;
}

* {
  font-family: Roboto;
}

body {
  background-image: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 100vh;
}

.text-align-center {
  text-align: center;
}

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

.display-block {
  display: block;
}

.display-none {
  display: none !important;
}

table th {
  text-align: center;
}

.line-break, .e-grid .e-rowcell.line-break, .e-grid.e-responsive .e-rowcell.line-break {
  white-space: pre;
}

.bold {
  font-weight: bold;
}

.cursor-pointer {
  cursor: pointer;
}

.computed-account {
  font-weight: bold;
}
.computed-account .e-detailrowcollapse > * {
  display: none;
}

i, .svg-inline--fa {
  margin-right: 0.2rem;
}

.color-green, .table .color-green {
  color: green;
}

.color-red, .table .color-red {
  color: darkred;
}

.navbar-brand {
  height: 36px;
  width: 150px;
  display: inline-block;
  background-image: url("../images/logo-full.svg");
  background-repeat: no-repeat;
  background-position-y: center;
  background-size: contain;
}

nav {
  background-color: white;
}
nav .navbar-nav {
  width: 100%;
}

*[readonly], *[disabled] {
  cursor: not-allowed;
}

.navbar .nav-item.margin-left-auto {
  margin-left: auto;
}

main {
  padding-top: 2rem;
}

.control_wrapper {
  max-width: 400px;
  margin: auto;
}

.e-upload {
  width: 100%;
  position: relative;
  margin-top: 15px;
}

.dblclickable {
  cursor: pointer;
}

.control_wrapper .e-upload .e-upload-drag-hover {
  margin: 0;
}

.file-wizard {
  height: 500px;
}
.file-wizard .e-upload {
  border: none;
}
.file-wizard .e-upload-files {
  display: none;
}
.file-wizard > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.file-wizard .file-wizard-left {
  background-color: #A6BBE0;
  padding: 1rem;
  border-radius: 10px;
  z-index: 30;
  position: relative;
}
.file-wizard .file-wizard-right {
  background-color: white;
  padding: 1rem;
  padding-left: 2rem;
  position: relative;
  left: -1rem;
  z-index: 20;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.file-wizard .file-wizard-button {
  background-color: #DDDDDD;
  position: relative;
  left: -2rem;
  z-index: 10;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-left: 3rem;
  color: white;
  font-size: 36px;
  user-select: none;
}
.file-wizard .file-wizard-button:hover {
  background-color: #E4E4E4;
}
.file-wizard .file-wizard-button:active, .file-wizard .file-wizard-button:focus {
  background-color: #DDDDDD;
}
.file-wizard .file-wizard-left-border {
  border: 1px black dashed;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.file-wizard .file-wizard-button {
  cursor: pointer;
}
.file-wizard .file-wizard-button.cant-upload {
  cursor: not-allowed;
}

.btn.btn-custom {
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  font-weight: 500;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.05);
}

.fecfiles-actions a {
  margin-right: 0.5rem;
}

#entriesTable {
  height: 300px;
}

.table-style td, .table-style th, .table-style td.e-rowcell, .table-style th.e-headercell, .e-grid.e-default td, .e-grid.e-default th, .e-grid.e-default td.e-rowcell, .e-grid.e-default th.e-headercell {
  border-right: 1px solid #e0e0e0;
  background-color: transparent;
}
.table-style td:last-child, .table-style th:last-child, .table-style td.e-rowcell:last-child, .table-style th.e-headercell:last-child, .e-grid.e-default td:last-child, .e-grid.e-default th:last-child, .e-grid.e-default td.e-rowcell:last-child, .e-grid.e-default th.e-headercell:last-child {
  border-right: none;
}
.table-style th, .table-style th div, .e-grid.e-default th, .e-grid.e-default th div {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.54);
}
.table-style td, .e-grid.e-default td {
  padding: 8px;
  vertical-align: middle;
}
.table-style th, .e-grid.e-default th {
  padding: 12px;
}
.table-style .width-1-btn, .e-grid.e-default .width-1-btn {
  width: 150px;
}
.table-style tr, .e-grid.e-default tr {
  background-color: white;
}
.table-style tr:hover, .e-grid.e-default tr:hover {
  background-color: #EEEEEE;
}

.header-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-actions {
  display: flex;
  align-items: end;
}

.createFromFec-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: end;
}
.createFromFec-actions button:first-child {
  margin-right: 0.3rem;
}

#accounting-principle-tree {
  background-color: white;
  border: 1px solid #e0e0e0;
  margin-top: 1rem;
  height: calc(100vh - 22rem);
  overflow: auto;
}

div[data-level=undefined], td[data-level="0"], td[data-level=undefined] {
  color: #33A7B0;
}

div[data-level="1"], td[data-level="1"] {
  color: #575A63;
}

div[data-level="2"], td[data-level="2"] {
  color: #7C8073;
}

div[data-level="3"], td[data-level="3"] {
  color: #A4B1BA;
}

.table-style td.display-financialResults, .table-style th.display-financialResults {
  padding: 2px;
  text-align: center;
  cursor: pointer;
  min-width: 20px;
}

td .btn.btn-details {
  color: black;
  padding: 0.5rem 0.5rem;
  margin-right: 0.5rem;
}

.incomeStatement-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.incomeStatement-actions .incomeStatement-actions-years {
  display: flex;
}
.incomeStatement-actions .incomeStatement-actions-years > * {
  margin-right: 1rem;
  min-width: 90px;
}
.incomeStatement-actions .incomeStatement-actions-years > *:last-child {
  margin-right: 0;
}

.incomeStatement-results {
  height: calc(100vh - 15.5rem);
  border: 1px solid #e0e0e0;
}
.incomeStatement-results table {
  position: relative;
  margin-bottom: 0;
}
.incomeStatement-results th {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}
.incomeStatement-results th::after {
  background-color: rgba(0, 0, 0, 0.2);
  height: 1px;
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0px;
  right: 0px;
}

.e-treeview .e-list-item:first-child, .e-treeview .e-list-item:last-child {
  padding-top: 0;
  padding-bottom: 0;
}

.dialog-buttons {
  margin-top: 2rem;
}

.scrollable {
  box-sizing: content-box;
  padding-right: 12px;
  background-color: white;
}

/*.simplebar-scrollbar::before {
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: transparent;
}*/
.syncfusion-numeric {
  text-align: right;
}

.e-grid.e-resize-lines .e-headercell .e-rhandler {
  border: none;
}
.e-grid .e-gridheader .e-sortfilter .e-fltr-icon .e-headercelldiv {
  margin: -7px 0;
}
.e-grid .e-groupdroparea {
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
}
.e-grid .e-groupheadercell {
  background-color: #3498db;
}

.btn-primary {
  --bs-btn-bg: #3498db;
  --bs-btn-border-color: #3498db;
}

.custom-card {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  padding: 1rem;
}

.card-sum-footprint {
  text-align: center;
  height: 234px;
}
.card-sum-footprint .card-sum-footprint-ico {
  font-size: 36px;
}
.card-sum-footprint .card-sum-footprint-amount {
  font-size: 36px;
  margin-top: 1rem;
}

.row > div {
  margin-bottom: 1rem;
}

.tab-nav-bar {
  min-height: 40px;
  background-color: #f6f6f6;
}
.tab-nav-bar ul {
  border: none;
}
.tab-nav-bar .nav-tabs .nav-link {
  padding: 0.5rem 1rem;
}
.tab-nav-bar .nav-tabs .nav-link.active {
  color: rgba(0, 0, 0, 0.65);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.65);
  /*border-color: rgba(0, 0, 0, 0.65);*/
}
.tab-nav-bar .container {
  display: flex;
  justify-content: space-between;
}
.tab-nav-bar .form-select {
  line-height: 1;
  margin-top: 4px;
}

.loader {
  width: 6em;
  height: 6em;
  font-size: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader .face {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
}
.loader .face:nth-child(1) {
  width: 100%;
  height: 100%;
  color: black;
  border-color: currentColor transparent transparent currentColor;
  border-width: 0.2em 0.2em 0em 0em;
  --deg: -45deg;
  animation-direction: normal;
  animation: animateLoader 1.5s linear infinite;
}
.loader .face:nth-child(2) {
  width: 70%;
  height: 70%;
  color: red;
  border-color: currentColor currentColor transparent transparent;
  border-width: 0.2em 0em 0em 0.2em;
  --deg: -135deg;
  animation: animateLoader 2s linear infinite;
  animation-direction: reverse;
}
.loader .face:nth-child(3) {
  width: 30%;
  height: 30%;
  color: darkred;
  border-color: currentColor currentColor transparent transparent;
  border-width: 0.2em 0em 0em 0.2em;
  --deg: -135deg;
  animation: animateLoader 1s linear infinite;
  animation-direction: reverse;
}
.loader .face .circle {
  position: absolute;
  width: 50%;
  height: 0.1em;
  top: 50%;
  left: 50%;
  background-color: transparent;
  transform: rotate(var(--deg));
  transform-origin: left;
}
.loader .face .circle::before {
  position: absolute;
  top: -0.5em;
  right: -0.5em;
  content: "";
  width: 1em;
  height: 1em;
  background-color: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 2em, 0 0 4em, 0 0 6em, 0 0 8em, 0 0 10em, 0 0 0 0.5em rgba(255, 255, 0, 0.1);
}

@keyframes animateLoader {
  to {
    transform: rotate(1turn);
  }
}
.wait-upload .loader {
  margin: auto;
  margin-bottom: 2rem;
}

#loading #loading_dialog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#loading .loader {
  margin-bottom: 2rem;
}

.entriesTable-container {
  height: calc(100vh - 180px);
}

#balanceSheet tbody {
  font-size: 0.8rem;
}
#balanceSheet tr td:not(:first-child) {
  text-align: right;
}
#balanceSheet .balanceSheet-subcategorie {
  background-color: #E9F6F8;
}
#balanceSheet .balanceSheet-subcategorie td {
  color: #00ABC0;
}
#balanceSheet .balanceSheet-categorie {
  font-weight: bold;
  background-color: #00ABC0;
}
#balanceSheet .balanceSheet-categorie td {
  color: #FFFFFF;
}
#balanceSheet tr:hover td {
  background-color: rgba(0, 0, 0, 0.1);
}
#balanceSheet th {
  position: sticky;
  top: 0;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  font-weight: bold;
  background-color: #00ABC0;
}
#balanceSheet th::after {
  background-color: rgba(0, 0, 0, 0.2);
  height: 1px;
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0px;
  right: 0px;
}
#balanceSheet .balanceSheet-results {
  height: calc(100vh - 15.5rem);
}
#balanceSheet table {
  margin-bottom: 0;
}

.hovered {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.e-control .e-toolbar {
  background-color: #f6f6f6;
}
.e-control .e-toolbar .e-toolbar-items {
  background-color: #f6f6f6;
}
.e-control .e-toolbar .e-toolbar-items .e-toolbar-item button.e-tbar-btn {
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.05);
  font-weight: 500;
  padding: 0.2rem;
}

.custom-toolbar {
  border-bottom: 0;
  border: 1px solid #e0e0e0;
  background-color: #f6f6f6;
  padding: 7px;
}
.custom-toolbar button {
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.05);
  height: 25px;
  padding: 0.2rem;
  font-weight: 500;
  box-sizing: content-box;
}
.custom-toolbar .e-btn-icon {
  min-width: 24px;
  width: auto;
  font-size: 14px;
  line-height: 25px;
  display: inline-block;
  font-weight: 500;
}
.custom-toolbar .span-text {
  top: -2px;
  position: relative;
}
.custom-toolbar .e-excelexport::before {
  content: "\e242";
  font-weight: 500;
}

@media (min-width: 993px) {
  body {
    min-width: 500px;
  }
}
@media (max-width: 992px) {
  .navbar .nav-item.margin-left-auto {
    margin-left: 0.5rem;
  }
  .file-wizard .file-wizard-left {
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .file-wizard .file-wizard-right {
    left: 0;
    border-radius: 0;
  }
  .file-wizard .file-wizard-button {
    left: 0;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0;
    text-align: center;
  }
  .incomeStatement-results {
    height: calc(100vh - 17rem);
  }
}
