:root {
  --cassiopeia-color-primary: #158479;
  --cassiopeia-color-hover: #158479;
  --cassiopeia-color-link: #1C5E5A;
}

/* ==========================================================
   FARBA POZADIA PRE CELÝ WEB
   ========================================================== */
body,
body.site,
.site,
.site-grid {
  background-color: #f4f7f6 !important; /* Nahraďte želanou farbou */
}

/* Pozadie hlavnej oblasti s obsahom článku (ak má ladiť alebo zostať biele) */
/*.container-component,
main#content {
  background-color: transparent !important;
}*/

/* ==========================================================
   1. HLAVNÁ LIŠTA (HEADER) - KOMPAKTNÁ VÝŠKA 54px
   ========================================================== */
/* --- A) DESKTOP VERZIA LIŠTY (od 992px vyššie) --- */
@media (min-width: 992px) {
header.header.container-header {
  background-color: #ffffff !important;
  background-image: none !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 54px !important;
}

/* Jediný obalový prvok v Cassiopeii */
header.header .container-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 54px !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box !important;
}

/* Aby sa nezobrazilo menu Switch to {language} v hlavnom menu*/
/* Link Class=d-lg-none je nastavene pri danom menu v Joomla*/
.container-header .mod-menu > li:has(> a.d-lg-none),
  .container-header .mod-menu > li:has(> a.d-lg-none) > a {
    display: none !important;
  }

/* ==========================================================
   2. LOGO
   ========================================================== */
/* Netreba - style je pri vlozeni v module

#mod-custom112,
.site-logo {
  display: inline-flex !important;
  align-items: center !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-logo img {
  display: block !important;
  margin: auto 0 !important;
}*/

/* ==========================================================
   3. HLAVNÉ MENU (HORIZONTÁLNE A VERTIKÁLNE VYCENTROVANÉ)
   ========================================================== */
header.header nav.navbar,
header.header .navbar-collapse {
  display: flex !important;
  align-items: center !important;
  height: 54px !important;
  margin: 0 auto !important; /* Horizontálne vycentrovanie menu */
  padding: 0 !important;
}

.container-header .mod-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  height: 54px !important;
  gap: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.container-header .mod-menu > li {
  display: inline-flex !important;
  align-items: center !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Odkazy a rozbaľovacie tlačidlo */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button {
  color: #212529 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  padding: 0 6px !important;
  background: transparent !important;
  border: none !important;
  line-height: 54px !important;
  height: 54px !important;
  transition: color 0.15s ease-in-out;
}

/* Ikony Font Awesome */
.container-header .mod-menu [class*="fa-"] {
  font-size: 0.95rem !important;
  color: inherit !important; /* Automaticky preberá farbu z odkazu/tlačidla */
  line-height: 1 !important;
}

/* Hover a aktívny stav (text aj ikona naraz) */
.container-header .mod-menu > li:hover > a,
.container-header .mod-menu > li:hover > button,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  color: #158479 !important;
}

/* Šípka pri rozbaľovacom menu User */
.container-header .mod-menu .mm-toggler::after {
  color: inherit !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
}

/* ==========================================================
   4. METISMENU DROPDOWN (PODMENU USER)
   ========================================================== */
.container-header .mod-menu ul.mm-collapse {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  padding: 6px 0 !important;
  list-style: none !important;
}

.container-header .mod-menu .metismenu-item.level-2 a {
  color: #000000 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  display: block !important;
  padding: 7px 18px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  background: transparent !important;
  white-space: nowrap !important;
  transition: all 0.15s ease-in-out !important;
}

.container-header .mod-menu .metismenu-item.level-2 a:hover {
  color: #0b5a52 !important;
  background-color: #f0fdfa !important;
}

/* ==========================================================
   5. PREPÍNAČ JAZYKOV (VLAJKY A ZVÝRAZNENIE AKTÍVNEHO JAZYKA)
   ========================================================== */
.container-header .mod-languages {
  display: flex !important;
  align-items: center !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.container-header .mod-languages ul.lang-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.container-header .mod-languages ul.lang-inline li {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}

.container-header .mod-languages ul.lang-inline li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 6px !important; /* Vnútorné odsadenie aj po stranách */
  border-radius: 4px !important; /* Zaoblenie rohov */
  border: 1px solid transparent !important;
  text-decoration: none !important;
  transition: all 0.15s ease-in-out !important;
}

/* Obrázok vlajky */
.container-header .mod-languages img {
  display: block !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
}

/* ==========================================================
   AKTÍVNY JAZYK (.lang-active) - ELEGANTNÝ KOMPAKTNÝ ŠTÝL
   ========================================================== */
.container-header .mod-languages li.lang-active a {
  background-color: #e6f4f1 !important; /* Jemný mätový/tyrkysový podklad */
  border: 1px solid #158479 !important; /* Tenký rámik vo vašej zelenej farbe */
  box-shadow: 0 1px 3px rgba(21, 132, 121, 0.15) !important;
}

/* Hover na neaktívnu vlajku */
.container-header .mod-languages li:not(.lang-active) a:hover {
  background-color: #f3f4f6 !important; /* Jemné neutrálne sivé podfarbenie pri prechode myšou */
}

}

/* ==========================================================
   MOBILNÁ VERZIA HLAVIČKY A ROZBAĽOVACIEHO MENU (do 991px)
   Presne podľa HTML štruktúry šablóny Cassiopeia
   ========================================================== */
@media (max-width: 991.98px) {

  /* 1. Fixná lišta prilepená k hornému okraju */
  header.header.container-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 1rem !important;
  }

  /* 2. Rozbalené menu s možnosťou rolovania na malých displejoch */
  header.header .navbar-collapse.collapse,
  header.header .navbar-collapse.collapsing {
    position: absolute !important;
    top: 54px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 3px solid #158479 !important;
    padding: 0.75rem 1.25rem 1rem 1.25rem !important;
    z-index: 1050 !important;
    box-sizing: border-box !important;

    /* Ochrana pred odrezaním položiek na výšku: */
    max-height: calc(100vh - 54px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Skrytie textu a modulu jazykov */
  header.header #mod-custom114,
  header.header #mod-custom117,
  header.header .mod-languages {
    display: none !important;
  }

  /* 3. Navbar a hamburger na vertikálny stred */
  header.header nav.navbar {
    position: static !important;
    margin-left: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }

  header.header .navbar-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #158479 !important;
    border-radius: 4px !important;
    padding: 5px 8px !important;
    background: transparent !important;
    line-height: 1 !important;
    margin: 0 !important; /* Odstráni prípadný bootstrapový spodný odskok */
  }

  header.header .navbar-toggler .icon-menu {
    color: #158479 !important;
    font-size: 1.4rem !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }

/* 4. Rozbalený panel menu (univerzálne pre všetky jazyky: SK, EN, atď.) */
  header.header .navbar-collapse.collapse,
  header.header .navbar-collapse.collapsing {
    position: absolute !important;
    top: 54px !important; /* Presne pod spodnou hranou 54px lišty */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 3px solid #158479 !important;
    padding: 0.75rem 1.25rem 1rem 1.25rem !important;
    z-index: 1050 !important;
    box-sizing: border-box !important;
  }

  /* 5. Položky menu */
  header.header .mod-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  header.header .mod-menu > li.level-1 {
    width: 100% !important;
    height: auto !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  header.header .mod-menu > li.level-1:last-child {
    border-bottom: none !important;
  }

  header.header .mod-menu > li > a,
  header.header .mod-menu > li > button {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.5 !important;
    padding: 10px 4px !important;
    color: #212529 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
  }

  header.header .mod-menu > li.active > a,
  header.header .mod-menu > li:hover > a {
    color: #158479 !important;
  }
  
  /* Zarovnanie a tieň obrázka vlajky v rozbalenom menu */
  .container-header .mod-menu > li > a img {
    /*width: auto !important;
    height: 14px !important;*/
    vertical-align: middle !important;
    margin-right: 8px !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
  }

  /* 6. Podmenu User */
  header.header .mod-menu ul.mm-collapse {
    padding: 0.25rem 0 0.5rem 1.5rem !important;
    box-shadow: none !important;
    border: none !important;
    list-style: none !important;
  }

  header.header .mod-menu .metismenu-item.level-2 a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
    color: #495057 !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    background: transparent !important;
  }

  header.header .mod-menu .metismenu-item.level-2 a:hover {
    color: #158479 !important;
  }
}

/* ==========================================================
   Ďalšie nastavenia štýlov
   ========================================================== */

.username {
  display: flex;
  justify-content: right;
  color: #158479;
}

a {
  color: #158479;
  text-decoration: underline;
}

a:hover {
  color: #0b4b45;
  text-decoration-color: #0b4b45; /* Plná sýta linka pri hoveri */
}

.turquoise_40 {
  color: #1dafa1;
}

.turquoise_30 {
  color: #158479;
}

.turquoise {
  background-color: #158479;
}

.gray {
  color: #595959;
}

td,
tr,
th {
  border: 1px solid black;
}

.column2 {
  float: left;
  width: 50%;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.dot {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  display: inline-block;
}

.square {
  height: 15px;
  width: 10px;
  display: inline-block;
}

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-screen-shadow {
  max-height: 650px;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Clear floats after the columns */
.row2:after {
  content: '';
  display: table;
  clear: both;
}

.button {
  border: none;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: normal;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
  margin: 4px 2px;
  cursor: pointer;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition-duration: 0.2s;
}

.button.nomargin {
  margin: 0px;
}

.button.bigger {
  font-size: 1rem;
  padding: 10px 15px;
}

.button_graph {
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.8rem;
  margin: 2px 2px;
  cursor: pointer;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 3px 10px 0 rgba(0, 0, 0, 0.19);
  transition-duration: 0.2s;
  background-color: #158479;
  border: 2px solid #158479;
  width: 100%;
}

.button_graph:hover {
  background-color: #ffffff;
  color: black;
  border: 2px solid #158479;
}

.button_register {
  border: none;
  color: white;
  /* padding: 5px 10px;*/
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
  width: 180px;
  height: 50px;
  margin: 10px 10px;
  cursor: pointer;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition-duration: 0.2s;
  background-color: #158479;
  border: 2px solid #158479;
  border-radius: 10px;
}

.button_register:hover {
  background-color: #ffffff;
  color: black;
  border: 2px solid #158479;
}

.button.red {
  background-color: #6b1111;
  border: 2px solid #6b1111;
}

.button.turquoise {
  background-color: #158479;
  border: 2px solid #158479;
}

.button.lightred {
  background-color: #c71f1f;
  border: 2px solid #c71f1f;
}

.button.green {
  background-color: #00bb00;
  border: 2px solid #00bb00;
}

.button.gray {
  background-color: gray;
  border: 2px solid gray;
}

.button.disabled {
  background-color: gray;
  border: 2px solid gray;
  cursor: default;
}

.button.red:hover {
  background-color: #ffffff;
  color: black;
  border: 2px solid #c71f1f;
}

.button.turquoise:hover {
  background-color: #ffffff;
  color: black;
  border: 2px solid #158479;
}

.button.green:hover {
  background-color: #ffffff;
  color: black;
  border: 2px solid #00aa00;
}

.button.gray:hover {
  background-color: #ffffff;
  color: black;
  border: 2px solid gray;
}

.button_green {
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition-duration: 0.2s;
  background-color: #00cc00;
  border: 2px solid #00cc00;
}

.button_green:hover {
  background-color: #ccff99;
  color: black;
  border: 2px solid #00cc00;
}

.instruction_div {
  border-width: 2px;
  border-style: solid;
  border-color: #158479;
  border-radius: 5px;
  background-color: white;
}

.gray_background {
  background-color: gray;
}

.subtitle {
  color: #158479;
  text-align: left;
  text-shadow: 4px 4px 16px #158479;
  font-size: 1.7rem;
}

.text12px {
  font-size: 12px;
}

.textBlock {
  font-size: 1.1em;
  text-align: justify;
}

.nopadding {
  padding: 0px;
}

.basic-table td,
tr {
  border: none;
}

div.tab-header {
  background-color: #158479;
  color: #ffffff;
  text-align: left;
  font-size: 1rem;
  font-family: sans-serif;
  font-weight: bold;
  padding: 5px 10px;
}

div.tab-column {
  text-align: left;
  font-size: 0.9rem;
  font-family: sans-serif;
  padding: 5px 10px;
}

.bg-gray {
  background-color: #d9d9d9;
}

.styled-table {
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 0.9rem;
  font-family: sans-serif;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: #158479;
  color: #ffffff;
  text-align: left;
}

.styled-table th {
  padding: 5px 10px;
  text-align: left;
}

.styled-table td {
  padding: 5px 10px;
  text-align: center;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  /*background-color: #f3f3f3;*/
  background-color: #d9d9d9;
}

.styled-table tbody tr:nth-of-type(odd) {
  background-color: #ffffff;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #158479;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #158479;
}

.table-form {
  border-collapse: collapse;
  margin: 0 auto;
  width: 100%;
  font-size: 0.9rem;
  font-family: sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  border: none;
}

.table-form td {
  /*padding-left: 10px;*/
  padding-top: 5px;
  padding-bottom: 5px;
  border: none;
  text-align: right;
}

.table-form tr {
  border: none;
}

.table-form thead tr {
  background-color: #158479;
  color: #ffffff;
  border: none;
}

.table-form thead th {
  text-align: left;
  border: none;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.numberlist-table {
  margin: 0px auto;
  border-style: hidden;
}

.numberlist-table td {
  border-style: hidden;
  padding: 5px 12px;
  text-align: center;
}

.table_graphtoolbar {
  margin: 0px auto;
  border-style: hidden;
}

.table_graphtoolbar td {
  border-style: hidden;
  padding: 0.6rem 0.2rem;
  text-align: center;
}

td.contentfit {
  width: 1%;
  white-space: nowrap;
}

.norightborder {
  border-right-style: hidden;
}

.redtext {
  color: darkred;
  font-size: 18px;
}

.loader-wheel {
  /* NEPOUZIVAM, ale celkom dobre vyzera*/
  animation: spin2 1s infinite linear;
  border: 2px solid rgba(30, 30, 30, 0.5);
  border-left: 4px solid #fff;
  border-radius: 50%;
  height: 50px;
  margin-bottom: 10px;
  width: 50px;
}

@keyframes spin2 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  color: #000000;
  font-family: arial, sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 60px 0 0 -30px;
}

.loader-text:after {
  content: 'Loading';
  animation: load 2s linear infinite;
}

@keyframes load {
  0% {
    content: 'Loading';
  }
  33% {
    content: 'Loading.';
  }
  67% {
    content: 'Loading..';
  }
  100% {
    content: 'Loading...';
  }
}

.calculating-text {
  color: #000000;
  font-family: arial, sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 60px 0 0 -40px;
}

.calculating-text:after {
  content: 'Loading';
  animation: calc 2s linear infinite;
}

@keyframes calc {
  0% {
    content: 'Calculating';
  }
  33% {
    content: 'Calculating.';
  }
  67% {
    content: 'Calculating..';
  }
  100% {
    content: 'Calculating...';
  }
}

.loader {
  /*position: absolute;
    left: 50%;
    top: 50%;
    */
  /*margin: 0 auto;*/
  top: 50%;
  left: 50%;
  position: absolute;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid red;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

div.error {
  width: 100%;
  height: 500px;
  border: 1px solid darkgray;
  text-align: center;
  line-height: 500px;
  color: darkred;
  font-weight: bold;
  font-size: 1.2rem;
}

p.error {
  color: darkred;
  font-weight: bold;
  font-size: 1.2rem;
}

p.msg {
  color: #158479;
  font-weight: bold;
  font-size: 1.2rem;
}

td.error {
  color: darkred;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}

/* Customize the label (the container) */
.chckbox_container {
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.chckbox_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ffffff;
}

/* On mouse-over, add a grey background color */
.chckbox_container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a red background */
.chckbox_container input:checked ~ .checkmark {
  background-color: #6b1111;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.chckbox_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.chckbox_container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

input[type="text"]:not(.form-control), input[type="email"]:not(.form-control), input[type="url"]:not(.form-control), input[type="date"]:not(.form-control), input[type="password"]:not(.form-control), input[type="search"]:not(.form-control), input[type="tel"]:not(.form-control), input[type="number"]:not(.form-control), select:not(.form-select):not(.form-control) {
  display: block;
  width: 100%;
  padding: .5rem .5rem !important;
  font-size: 1rem;
  line-height: 1.25;
  color: #495057;
  background-color: #fff;
  background-image: none;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/* Úprava vnútorného odsadenia hlavičky modálneho okna */
.modal-header {
  padding: var(--modal-header-padding) !important;
}

#graphModal .modal-dialog {
  --modal-width: 90vw;
  max-width: var(--modal-width) !important;
}


