/* ----------------------------------------- */
/* main background */
body {
  background-color: #ffffff;
  /* Firefox 3.6+ */
  background: -moz-linear-gradient(100% 100% 90deg, #ffffff, #ffffff) no-repeat #ffffff;
  /* Safari 4-5, Chrome 1-9 */
  /* -webkit-gradient(<type>, <point> [, <radius>]?, <point> [, <radius>]? [, <stop>]*) */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#ffffff)) no-repeat #ffffff;
  /* Safari 5.1+, Chrome 10+ */
  background: -webkit-linear-gradient(#ffffff, #ffffff) no-repeat #ffffff;
  /* Opera 11.10+ */
  background: -o-linear-gradient(#ffffff, #ffffff) no-repeat #ffffff;
  /* IE 10 */
  /*background: linear-gradient(top, @color_body_back1, @color_body_back2);*/
}
#header {
  background-color: #bfbfbf;
  background-image: -webkit-gradient(linear, left 50%, right 50%, color-stop(0.1, #ffffff), color-stop(0.9, #bfbfbf));
  background-image: -moz-linear-gradient(left center, #ffffff 10%, #bfbfbf 90%);
  color: #000000;
  /* IE 10 */
  background: -ms-linear-gradient(left, #ffffff, #bfbfbf);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#ffffff, endColorStr=#bfbfbf, GradientType=1);
  -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff, endColorstr=#bfbfbf, GradientType=1);
}
#header a,
#user-menu ul li a {
  color: #000000;
}
#header {
  background-color: #ffffff;
  background-image: none;
  filter: none;
  -ms-filter: none;
}
.ff-file-list .ff-file {
  background-color: #f1ead0;
}
ul.formMenu li.active {
  background-color: #41cb98;
}
ul#menu {
  background-color: #153d55;
  border-top: 6px solid #153d55;
  border-left: 6px solid #153d55;
  border-right: 6px solid #153d55;
}
.ff-form-item {
  background-color: #faf8f5;
  color: #153d55;
}
ul.formMenu li.active {
  background-color: #41cb98;
}
ul.formMenu li {
  background-color: #f3e4cd;
}
ul.formMenu li a {
  color: #153d6a;
}
ul.formMenu li.active a,
ul.formMenu span.active {
  color: #153d6a;
  font-weight: bold;
  text-decoration: none;
}
.app-form {
  background-color: #ffffff;
}
.ff-file-list .ff-file {
  background-color: #ffc99a;
}
.ff-budget td.bi-requested,
.ff-budget td.bi-total {
  background-color: #ffc99a;
}
.ff-budget td.bi-own {
  background-color: #e88b38;
}
.ff-sub-section-heading {
  font-size: 16px;
  background-color: #f3e4cd;
  color: #153d6a;
}
.ff-sub-section-heading a {
  color: #eeeeee;
}
.ff-sub-section-heading a:hover {
  color: #ffffff;
}
.missingItems {
  color: #ff9999;
}
.fv-form-item {
  border: 1px solid black;
  background-color: #e9e9e9;
}
.app-form .dijitDisabled .dijitInputField,
.app-form .dijitReadOnly .dijitInputField {
  background-color: #faf8f5;
}
.app-form .dijitDisabled input.dijitInputInner,
.app-form .dijitReadOnly input.dijitInputInner {
  color: #555555;
}
.money-summary-row td {
  border-top: 2px solid #888888;
}
#header {
  background-color: #ffffff;
  background-image: none;
  filter: none;
  -ms-filter: none;
}
.ff-file-list .ff-file {
  background-color: #ffc99a;
  padding: 5px;
  /* Reduces padding for a compact layout */
  margin-bottom: 5px;
  /* Reduces spacing between files */
  border-radius: 4px;
  /* Optional: adds rounded corners */
  border: 1px solid #e88b38;
  /* Adds a subtle border */
}
/* Preview Icon */
.ff-preview img {
  width: 16px;
  height: 16px;
  /* Smaller preview icon */
  margin-right: 8px;
  /* Space between icon and file name */
}
/* File Name and Description Fields */
.dijitTextBox,
.dijitTextArea {
  font-size: 12px;
  /* Smaller font size */
  padding: 2px;
  /* Minimal padding */
  width: 140px;
  /* Adjust width */
  margin: 0;
  /* Remove margins for compact look */
}
/* Style for inputs with negative values */
input.negative-value {
  color: red !important;
}
ul.formMenu li.active {
  background-color: #41cb98;
}
ul#menu {
  background-color: #153d55;
  border-top: 6px solid #153d55;
  border-left: 6px solid #153d55;
  border-right: 6px solid #153d55;
}
/* Pozadie BUNKY formulara */
.ff-form-item {
  background-color: #faf8f5;
  color: #153d55;
}
/* 2 menu pozadie aktivneho tabu */
ul.formMenu li.active {
  background-color: #41cb98;
}
/* 2 menu pozadie pasivneho tabu */
ul.formMenu li {
  background-color: #f3e4cd;
}
ul.formMenu li a {
  color: #153d6a;
}
/* pismo aktivneho tabu urovne 2 */
ul.formMenu li.active a,
ul.formMenu span.active {
  color: #153d6a;
  font-weight: bold;
  text-decoration: none;
}
/* pozadie formulara */
.app-form {
  background-color: #ffffff;
}
.ff-file-list .ff-file {
  background-color: #ffc99a;
}
.ff-budget td.bi-requested,
.ff-budget td.bi-total {
  background-color: #ffc99a;
}
.ff-budget td.bi-own {
  background-color: #e88b38;
}
.ff-sub-section-heading {
  font-size: 16px;
  background-color: #f3e4cd;
  color: #153d6a;
}
.ff-sub-section-heading a {
  color: #eeeeee;
}
.ff-sub-section-heading a:hover {
  color: #ffffff;
}
.missingItems {
  color: #ff9999;
}
.fv-form-item {
  border: 1px solid black;
  background-color: #e9e9e9;
}
.app-form .dijitDisabled .dijitInputField,
.app-form .dijitReadOnly .dijitInputField {
  /*background-color: #14529f;*/
  background-color: #faf8f5;
}
.app-form .dijitDisabled input.dijitInputInner,
.app-form .dijitReadOnly input.dijitInputInner {
  color: #555555;
}
.money-summary-row td {
  border-top: 2px solid #888888;
}
.faq-section {
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
}
.faq {
  margin-bottom: 20px;
}
.faq-question {
  font-weight: bold;
  background-color: #e31e25;
  color: white;
  padding: 10px;
  cursor: pointer;
  display: block;
  border-radius: 5px;
}
.faq-answer {
  display: none;
  padding: 10px;
  background-color: #f1f1f1;
  border-left: 3px solid #0073e6;
  margin-top: 5px;
}
.document-list-wrapper {
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.document-list-wrapper .document-title {
  color: #0073e6;
  font-size: 24px;
}
.document-list-wrapper .attachments-title {
  color: #0073e6;
  font-size: 20px;
  margin-top: 15px;
}
.document-list-wrapper .main-document-list,
.document-list-wrapper .document-attachments-list {
  list-style-type: none;
  padding-left: 0;
}
.document-list-wrapper .main-document-item,
.document-list-wrapper .document-attachment-item {
  margin-bottom: 10px;
}
.document-list-wrapper .main-document-item a,
.document-list-wrapper .document-attachment-item a {
  text-decoration: none;
  color: #0073e6;
  font-weight: bold;
}
.document-list-wrapper .main-document-item a:hover,
.document-list-wrapper .document-attachment-item a:hover {
  color: #005bb5;
  text-decoration: underline;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
  text-align: center;
  color: #333;
}
.contact-section {
  margin: 20px 0;
}
.contact-section h2 {
  font-size: 24px;
  color: #3498db;
}
.contact-section p {
  font-size: 18px;
  margin: 10px 0;
}
.contact-section a {
  color: #3498db;
  text-decoration: none;
}
.contact-section a:hover {
  text-decoration: underline;
}
footer {
  text-align: center;
  margin-top: 20px;
  color: #777;
}
.subordinate-section {
  font-size: 14px;
  background-color: #e5e5e5;
  /* Svetlejšie pozadie */
  color: #333333;
  /* Tmavší text */
  padding-left: 15px;
  /* Menší odsadenie vľavo */
  border-left: 3px solid #007bff;
  /* Modrá hraničná čiara */
}
/* Target elements where the data attribute contains "aktivita" or "rozpoctova_polozka" */
[data-tag-path*="aktivita"] td,
[data-tag-path*="rozpoctova_polozka"] td {
  width: 180px;
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
}
[data-tag-path*="aktivita"] .dijitSelectLabel,
[data-tag-path*="rozpoctova_polozka"] .dijitSelectLabel {
  display: block;
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* Truncate long text with ellipsis */
}
#errorMessage,
.successMessage {
  padding: 5px;
  margin-top: 5px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}
.successMessage {
  color: green;
  background-color: #ddffdd;
  border: 1px solid green;
}
.errorMessage {
  color: red;
  background-color: #ffdddd;
  border: 1px solid red;
}
.risk-low {
  background-color: #d4edda;
  /* Light Green */
  color: #155724;
}
.risk-medium {
  background-color: #fff3cd;
  /* Light Yellow */
  color: #856404;
}
.risk-high {
  background-color: #f8d7da;
  /* Light Red */
  color: #721c24;
}
section {
  margin-top: 12px;
}
section header {
  background-color: #efefef;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}
section header table {
  width: 100%;
  border-collapse: collapse;
}
section header table th {
  border: 1px solid gray;
  padding: 3px;
  background-color: #f0f0f0;
  text-align: right;
}
section header table td {
  border: 1px solid gray;
  padding: 3px;
  background-color: white;
}
section header table th.number {
  width: 90px;
  /*262px;*/
  text-align: center;
}
section header .header {
  width: 30%;
  float: left;
  margin: 1em auto;
}
section header .body {
  width: 70%;
  float: right;
  text-align: right;
}
section header .body > div {
  padding-right: 1em;
  border-left: 1px solid gray;
  padding: 3px;
}
section header .body > div:nth-of-type(1) {
  border-bottom: 1px solid gray;
}
article {
  margin-top: 0.5em;
  font: 12px Arial, Helvetica, sans-serif;
}
/*
section header h1 {
	display: none;
    visibility: hidden;
}
*/
section article header h2 {
  display: none;
  visibility: hidden;
}
section article header div {
  display: block;
  border: 1px solid gray;
  border-collapse: collapse;
  text-align: left;
  padding: 3px;
  background-color: #efefef;
  font-weight: bold;
  font-size: 12px;
}
section article header div:nth-of-type(2) {
  border-top: 0px solid gray;
  border-bottom: 0px solid gray;
}
article table {
  table-layout: fixed;
  width: 100%;
  border: 1px solid gray;
  border-collapse: collapse;
}
article table th {
  border: 1px solid gray;
  padding: 3px;
  background-color: #f0f0f0;
}
article table .name {
  width: 236px;
  text-align: left;
}
article table .number {
  width: 25px;
  text-align: center;
}
article table .subject {
  text-align: left;
}
article table .hlavicka {
  background-color: #efefef;
}
article table td {
  border: 1px solid gray;
  padding: 3px;
}
article .item {
  width: 100%;
  border: 1px solid gray;
}
article .item .inline div {
  display: inline-block;
  background-color: #efefef;
}
article .item .number {
  float: left;
  width: 90px;
  /*262px;*/
  padding: 3px;
  text-align: center;
  border-right: 1px solid gray;
}
article .item .name {
  text-align: left;
  padding: 3px;
}
article .value {
  display: block;
  background-color: white;
  padding: 3px;
  border-top: 1px solid gray;
}
/* UPRAVY */
article .idvyskumnika .value {
  padding: 0px;
}
article .idvyskumnika.item {
  border: 0px;
}
article .idvyskumnika .number {
  border-top: 1px solid gray;
  border-left: 1px solid gray;
}
article .idvyskumnika .name {
  border-top: 1px solid gray;
  border-right: 1px solid gray;
}
article .idvyskumnika .value {
  padding: 0px;
  border-top: 0px;
}
table.rozpocet {
  table-layout: initial;
}
table.rozpocet tbody tr th.number {
  width: 5%;
}
table.rozpocet tbody tr th.name {
  width: 35%;
}
table.rozpocet tbody tr td {
  white-space: nowrap;
  max-width: 0px;
}
.text-end {
  text-align: right;
}
.form-item-required {
  position: relative;
  margin-right: 10px;
}
span.form-item-required {
  margin-right: auto;
}
.form-item-required.dijitUploader {
  overflow: visible !important;
}
.form-item-required:after {
  content: "*";
  color: red;
  position: absolute;
  right: -14px;
  top: 3px;
  font-size: 1.4em;
}
.form-item-required.dijitTextBox,
.form-item-required.dijitSelect,
.form-item-required .dijitTextArea,
.form-item-required .dijitInputField.dijitInputContainer {
  background-color: #def8fc;
}
.form-item-required.dijitError,
.form-item-required .dijitError,
.form-item-required.dijitError .dijitInputField.dijitInputContainer {
  background-color: #bff3fb;
}
