@font-face {
    font-family: 'Dinpro';
    src: url('/font/DINPro-Regular.otf') format('otf');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Dinpro';
    src: url('/font/DINPro-Bold.otf') format('otf');
    font-weight: 700;
    font-style: bold;
  }



html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100dvh;
    font-family: Dinpro, sans-serif;
    background-color: #f1f1f1;
    color: #333;
    overflow-x: hidden;
    overscroll-behavior: none;
}

/*** reports ***/
.report {
	padding:15px 15px 15px 15px;
	text-align:left;
	margin:0 0 10px 0;
}
.err {
	background:#CF2121;
	font-weight: 600;
    color:white;
	border:1px solid #CE3434;
    border-radius: calc(infinity * 1px);
}
.ok {
	background:#5EB52A;
	font-weight: 600;
    color:white;
	border:1px solid #5EB52A;
    border-radius: calc(infinity * 1px);
}
.warning {
	background:#D9A60D;
    font-weight: 600;
	color:white;
	border:1px solid #B78A04;
    border-radius: calc(infinity * 1px);
}
.err strong, .err a, .ok strong, .ok a, .warning strong, .warning a {
	color:white;
}
.info {
	background:#BDE6FC;
    font-weight: 600;
	color:black;
	border:1px solid #a6d5ed;
    border-radius: calc(infinity * 1px);
}
.info strong {
	color:black;
}


.section1 {
    position: relative;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}
.navbar-main {
    position: fixed;
    width: 85%;
    height: calc(20px + 60px + 10px);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0);
    border-radius: 0 0 35px 35px;
    z-index: 999;
}
.navbar {
    position: fixed;
    height: 60px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: #fff;
    border-radius: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
	margin-right: 1vw;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 0.3s ease, transform 0.3s ease, height 0.3s ease;
	position: fixed;
	background-color: rgba(255,255,255,0.90);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding: 20px;
	width: 83%;
	height: 0px;
	border-radius: 20px;
	top: 90px;
	z-index: 200;
	text-align: center;
	overflow: hidden;
}
.nav-overlay.active {
	opacity: 1;
	transform: translateY(0);
	height: 500px;
}
.links {
	text-decoration: none;
	color: white;
	font-weight: bold;
	background: #1D70B7;
	padding: 20px 20px;
	width: 90%;
	border-radius: 20px;
}
.activ {
	text-decoration: none;
	color: white;
	font-weight: bold;
	background: black;
	padding: 20px 20px;
	width: 90%;
	border-radius: 20px;
}
.blur-overlay {
	position: fixed;
	opacity: 0;
	transition: opacity 0.3s ease;
	width: 100vw;
	height: 100vh;
	background-color: #1D70B7;
  	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	pointer-events: none;
	z-index: 199;
}
.blur-overlay.active {
	opacity: 1;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 100%;
    gap: 5px;
}
.menu a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    font-weight: 500;
    padding:  5px 20px;
    border-radius: 100px;
    transition: all 0.3s ease;
}
.menu a:nth-child(6) {
    background-color: black;
    color: white;
    align-content: center;
    padding: 0 20px;
    margin: 5px;
    height: 50px;
    

}
.menu a:hover {
    background-color: #1D70B7;
    color: white;
}
.menu a.active {
    background-color: black;
}
.logo1 {
    height: 100%;
    margin: 0 10px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo1 > img {
    height: 60%;
    margin-left: 30px;

}


.divs1 {
    position: relative;
    margin: 10px;
    width: 100%;
    aspect-ratio: 21/9;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    overflow: hidden;
}
.divs1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.divs1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.section2 {
    position: relative;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divs2 {
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    margin-top: 80px;
}
.divs2 h1 {
    font-size: 4rem;
    font-weight: bold;
    margin: 0 0 20px 0;
}
.divs2 > h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}
.divs2 p {
    font-size: 1.2rem;
    margin: 0;
}
.section3 {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divs3 {
    position: relative;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 40px;
}
.text3 {
    flex: 0 0 50%;
}
.text3 > h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 20px 0;
}
.text3 > p {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
}
.text3 > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text3 > ul > li {
    position: relative;
    padding-left: 1.5em;
}

.text3 > ul > li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free"; /* adjust based on your FA version */
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 20%;
    color: #1D70B7;
}

.text3 > ul > li {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}
.text3 > ul > li > i {
    color: #1D70B7;
}
.img3 {
    position: relative;
    flex: 0 0 40%;
    aspect-ratio: 4/3;
    border-radius: 40px;
}
.img3::before {
    content: "Pro obyvatele v raném seniorském věku.";
    position: absolute;
    width: 50%;
    height: auto;
    align-content: center;
    text-align: center;
    font-weight: bold;
    background: white;
    padding: 15px;
    border-radius: 15px 15px 0 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    bottom: 15%;
    left: -30px;
}
.img3 > img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    object-fit: cover;
    object-position: center;
}
.section4 {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(13, 13, 13);
    margin-top: 80px;
}
.divs4 {
    position: relative;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 160px 0;
}
.main-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.box-4 {
    position: relative;
    background-color: #fff;
    flex: 0 0 calc(25% - 16px);
    aspect-ratio: 3/4;
    border-radius: 40px;
    overflow: hidden;
}
.box-4 > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 15%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 40px;
    z-index: 2;
}
.box-4 > h2 {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: normal;
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    color: white;
    z-index: 4;
}
.box-4 > h2:nth-child(3) {
    bottom: 15px;
    font-weight: bold;
}

.section5 {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divs5 {
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 80px 0;
}
.divs5 > p {
    font-size: 1.2rem;
    margin: 0 auto 10px auto;
    color: #333;
}
.divs5 > h1 {
    font-size: 4rem;
    font-weight: bold;
    color: black;
    margin: 0 auto 80px auto;
}
.kalkulacka-main {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}
.vypocet {
    position: relative;
    background-color: #fff;
    flex: 0 0 calc(60% - 10px);
    border-radius: 40px;
    padding: 40px;
    height: 400px;
}
.kalkulacka-box {
    position: relative;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.kalkulacka-box:nth-child(3) {
    align-items: flex-start;
}
.kalkulacka-box > h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}
.kalkulacka-box > h2:last-child {
    font-weight: normal;
    text-align: right;
}
.time {
    color: #1D70B7;
}




.vysledek {
    position: relative;
    background: linear-gradient(45deg, #1D70B7, #0f4d84);
    flex: 0 0 calc(25% - 10px);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white; 
    text-align: center;   
}
.vysledek > h2 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}
.vysledek > p {
    font-size: 1rem;
    margin: 0;
}
.vysledek > p:nth-child(3) {
    margin: 50px 0 0 0;
}
.vysledek > p:nth-child(5) {
    font-size: .8rem;
    margin-top: 20%;
}


.section6 {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Přidáno pro lepší zobrazení na menších obrazovkách */
    padding: 0 15px; 
    box-sizing: border-box;
}
.divs6 {
    position: relative;
    width: 90%;
    border-radius: 40px;
    background: linear-gradient( to bottom, rgba(29, 111, 183, 0.25), rgba(241, 241, 241, 0));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 80px 0;
    padding: 40px; /* Přidán vnitřní padding pro odsazení obsahu */
    box-sizing: border-box;
}
.divs6 > p {
    font-size: 1.2rem;
    margin: 40px auto 10px auto; /* Snížen horní margin */
    color: #333;
}
.divs6 > h1 {
    font-size: 3rem; /* Mírně zmenšeno pro responzivitu */
    font-weight: bold;
    color: black;
    margin: 10px auto 40px auto; /* Snížen dolní margin */
    text-align: center; /* Lepší zarovnání */
}
form {
    width: 100%; /* Změněno z 90% na 100% - šířka je řízena .divs6 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px; /* Mezera mezi hlavními bloky formuláře (.input, .calculation-section, .check, .button) */
}







.input2 {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
}
.input2 > input {
    appearance: none;
    border: none;
    flex: 0 0 calc(50% - 20px);
    background-color: #f1f1f1;
    border-radius: 100px;
    padding: 15px 30px;
    box-sizing: border-box;
}
.input2 > input:focus {
    outline: #1D70B7 2px solid;
}
.input2 > select {
    appearance: none;
    border: none;
    flex: 0 0 calc(50% - 20px);
    background-color: #f1f1f1;
    border-radius: 100px;
    padding: 15px 30px;
    box-sizing: border-box;
}

.button {
    background-color: black;
    color: white;
    width: 30%;
    border: none;
    padding: 15px 30px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s ease;
    display: inline-block;
}
.button:hover {
    transform: scale(1.1);
}

.button span {
    position: relative;
    display: inline-block;
    font-size: 1rem;
    transform: translateY(0) scale(1);
    transition: transform 0.3s ease; 
}

.button:hover span {
    transform: translateY(-40px) scale(0.8);
    
}
.button span::before {
    content: "Odeslat";
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    color: white;
    top: calc(50% + 3rem);
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}






/* === Upravené CSS pro layout polí === */
.input {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; TOTO ODSTRANÍME nebo upravíme, protože šířku řídí wrapper */
    align-items: flex-start; /* Zarovnání nahoru */
    gap: 20px 30px; /* Vertikální a horizontální mezera mezi poli */
    margin: 0 auto;
}

/* Wrapper pro každé pole (label + input/select) */
.form-field-wrapper {
    display: flex;
    flex-direction: column; /* Label nad inputem */
    gap: 8px; /* Mezera mezi labelem a inputem */
    flex: 1 1 calc(50% - 15px); /* Dva sloupce (15px je polovina mezery 30px) */
    box-sizing: border-box;
    min-width: 200px; /* Minimální šířka pro lepší zobrazení */
}

/* Wrapper pro pole, které má být přes celou šířku */
.form-field-wrapper.full-width {
    flex: 1 1 100%;
}

/* Styl pro labely */
.form-field-wrapper label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
    margin-left: 15px; /* Malé odsazení */
}

/* Aplikujeme styl .form-box přímo na input a select */
.form-box {
    appearance: none;
    border: none;
    width: 100%; /* Input/select vyplní svůj wrapper */
    background-color: #f1f1f1;
    border-radius: 100px;
    padding: 15px 30px;
    box-sizing: border-box;
    font-size: 1rem; /* Přidáno pro konzistenci */
}
.form-box:focus {
    outline: #1D70B7 2px solid;
}
.form-error {
    border: 1px solid red !important;
}
.checkbox-error {
    border: 2px solid red !important;    
}
/* Odstraníme specifické selektory s přímým potomkem > */
/* .input > input {...} */
/* .input > select {...} */


/* === Styly pro specifické části formuláře === */

/* Číslo účtu */
.account-number-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.account-number-wrapper span {
    font-weight: bold;
    color: #555;
}
.account-number-wrapper .form-box {
     width: auto; /* Zrušíme 100% šířku */
}
.account-number-wrapper .account-part { flex: 1 1 80px; }
.account-number-wrapper .account-main { flex: 3 1 150px; }
.account-number-wrapper .account-bank { flex: 1 1 80px; }

/* Adresy */
.address-group .address-inputs {
    display: flex;
    flex-wrap: wrap; /* Umožní zalamování na menších obrazovkách */
    gap: 10px;
    width: 100%;
}
.address-group .address-part {
    flex: 1 1 200px; /* Flexibilní šířka, minimálně 200px */
    position: relative; /* Pro případné dropdown menu */
}

.form-dropdown {
    position: absolute;
    z-index: 1;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: 30em;
    overflow-y: auto;
    font-size: 0.9em;
    border-radius: 4px; /* Optional: Slightly rounded corners */
    padding: 0.5em 0;    /* Adds vertical padding inside the dropdown */
    list-style-type: none; /* Ensures no bullets */
}

/* Remove bullets from the UL */
.form-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each LI item */
.form-dropdown ul li {
    padding: 0;
    margin: 0;
}

/* Anchor styling */
.form-dropdown ul li a {
    display: block;
    padding: 0.6em 1em;
    border-bottom: 1px solid rgba(204, 204, 204, 0.4);
    color: #333;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

/* Last item border fix */
.form-dropdown ul li:last-child a {
    border-bottom: none;
}

/* Hover effect */
.form-dropdown ul li a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
}


/* Oprávněná osoba */
.authorized-person-wrapper {
    display: flex;
    flex-wrap: wrap; /* Zalamování na menších obrazovkách */
    gap: 10px;
    width: 100%;
}
.authorized-person-wrapper .form-box {
    flex: 1 1 180px; /* Tři sloupce s minimální šířkou */
}

/* Sekce kalkulace */
.calculation-section {
    width: 100%;
    margin-top: 20px; /* Odsazení od zbytku formuláře */
    padding: 20px;
    background-color: rgba(29, 111, 183, 0.1); /* Lehké pozadí pro odlišení */
    border-radius: 20px;
    box-sizing: border-box;
}
.calculation-section .table-overflow {
    overflow-x: auto; /* Pro případ, že se nevejde na šířku */
}
#pocet-row {
    display: flex;
    flex-wrap: wrap; /* Zalamování na mobilu */
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}
.calc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}
.calc-item label {
     font-weight: bold;
     font-size: 0.9rem;
     text-align: center;
}
.calc-item .form-box { /* Použijeme .form-box styl pro input počtu */
    padding: 10px 15px; /* Menší padding */
    text-align: center;
}
.calc-symbol {
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
}
.calc-value {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e9e9e9;
    border-radius: 50px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
    box-sizing: border-box;
}
#hodnota-info {
    text-align: right;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #c00; /* Červená pro upozornění */
}
#hodnota-info a {
    color: #1D70B7;
    text-decoration: underline;
}

/* === Váš původní Checkbox a Button (mělo by fungovat beze změny) === */
.check {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px; /* Snížena mezera */
    padding-left: 15px; /* Malé odsazení */
}
.check > input {
    appearance: none;
    border: #1D70B7 2px solid;
    width: 20px;
    height: 20px;
    background-color: #f1f1f1;
    border-radius: 100px; /* Kruhový checkbox */
    /* padding: 10px; Padding zde není potřeba */
    cursor: pointer;
    position: relative; /* Pro ::after */
    flex-shrink: 0; /* Zabrání smrštění */
}
.check > input:checked {
    background-color: #1D70B7;
}
.check > input:checked::after {
    content: "\f00c"; /* Ujistěte se, že máte Font Awesome načtený */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px; /* Upravena velikost */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}
.check label {
    font-size: 0.9rem;
    color: #333;
}
.check label a {
    color: #1D70B7;
    text-decoration: underline;
}









.sdeleni {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divsdeleni {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 80px 0;
}
.divsdeleni > h1 {
    font-size: 4rem;
    font-weight: bold;
    margin: 0 0 20px 0;
}
.divsdeleni > p {
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}


.section7 {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divs7 {
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 80px 0;
}
.otazky {
    position: relative;
    width: 100%;
    background-color: white;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
}
.otazky > h1 {
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-align: left;
}
.otazky > i {
    position: absolute;
    width: 20px;
    height: 20px;
    align-content: center;
    top: 50px;
    right: 40px;
    font-size: 1.5rem;
    color: #1D70B7;
    padding: 0 0 8px 0;
    cursor: pointer;
}
.otazky-box {
    position: relative;
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}
.otazky-box > h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0 0 0;
    text-align: left;
}
.otazky-box > i {
    font-size: 1rem;
    position: absolute;
    top: calc(20px + 0.75rem);
    right: 0;
    cursor: pointer;
}
.otazky-box > p {
    display: none;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}
.investori {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    padding: 40px;
    border-radius: 40px;
    background-color: white;
    box-sizing: border-box;
}
.investori > h1 {
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-align: left;
}
.investori > i {
    position: absolute;
    width: 20px;
    height: 20px;
    align-content: center;
    top: 50px;
    right: 40px;
    font-size: 1.5rem;
    color: #1D70B7;
    padding: 0 0 8px 0;
    cursor: pointer;
}
.investori-main {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.investori-main2 {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.investori-box {
    box-sizing: border-box;
    flex: 0 0 calc(50% - 20px);
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 5px;
    padding: 15px 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: black;
}

.section8 {
    width: 100vw;
    background-color: rgb(13, 13, 13);
    display: flex;
    justify-content: center;
    align-items: center;
}
.divs8 {
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin: 80px 0;
    color: white;
    gap: 20px;
}
.footer-left {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.footer-left > h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 20px 0;
}
.footer-left > h2 {
    font-size: 1.5rem;
    font-weight: regular;
    margin: 0 0 10px 0;
}
.footer-left > p {
    font-size: 1rem;
    margin: 0;
}
.footer-left > p > a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.footer-right {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.footer-right > p {
    font-size: 1rem;
    font-family: Dinpro;
    margin: 0 0 20px 0;
}
.footer-right > p > i {
    margin-right: 10px;
}
.footer-right > p > i:first-child {
    margin-bottom: 10px;
}
.footer-btn {
    background-color: white;
    width: 100%;
    padding: 15px 30px;
    border-radius: 100px;
    cursor: pointer;
    border: none;
}
.logo2 {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
}
.logo2 svg {
    height: 60px;
}
.cls-4 {
    fill: white;
}



.investment-slider-container {
    border-radius: 10px; /* Volitelné zaoblení kontejneru */
    width: 100%;
    box-sizing: border-box; /* Zajistí, že padding je součástí šířky */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slider-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a; /* Tmavá barva pro titul */
    margin: 0 0 0px 0;
    text-align: center;
}

.slider-subtitle {
    font-size: 1rem;
    color: #6c757d; /* Šedá barva pro podtitul */
    margin: 0 0 20px 0;
    text-align: center;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    gap: 15px; /* Mezera mezi popisky a posuvníkem */
}

.range-label {
    font-size: 14px;
    color: #6c757d;
    white-space: nowrap;
}

.min-label {
    text-align: left;
    margin-right: 20px;
}

.max-label {
    text-align: right;
    margin-left: 20px;
}
label > a {
    text-decoration: none;
    color: #1D70B7;
    font-weight: bold;
}
label > a:hover {
    text-decoration: underline;
}

/* Kontejner pro track, fill a thumb pro přesné pozicování */
.slider-track-container {
    position: relative; /* Nutné pro z-index potomků s position: absolute */
    width: 100%;
    height: 30px; 
    display: flex;
    align-items: center;
}


/* Skrytí výchozího vzhledu posuvníku */
.slider {
    position: absolute;
    left: var(--track-padding, 5px);
    right: var(--track-padding, 5px);
    width: calc(100% - 2 * var(--track-padding, 5px)); /* Pokrývá oblast dráhy */
    top: 50%;
    transform: translateY(-50%);
    height: 100%; /* Pokryje celou výšku kontejneru pro snadné klikání */
    cursor: pointer;
    z-index: 3;
    /* ... zbytek stylů pro skrývání vzhledu ... */
    background: transparent;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

/* Stylování dráhy (pozadí) */
.slider-track-container::before {
    content: '';
    position: absolute;
    /* Začíná za levým paddingem/borderem, končí před pravým */
    left: var(--track-padding, 5px); /* Použijeme proměnnou nebo pevnou hodnotu paddingu */
    right: var(--track-padding, 5px);
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 2 * var(--track-padding, 5px)); /* Šířka je 100% mínus dvojnásobek paddingu */
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    z-index: 0;
}

/* Stylování výplně (barevná část) */
.slider-fill {
    position: absolute;
    left: var(--track-padding, 5px); /* Začíná za levým paddingem */
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    background-color: #2979ff; /* Modrá barva podle nového obrázku */
    border-radius: 4px;
    pointer-events: none;
    z-index: 1;
    /* Šířka se stále počítá v JS, ale její základ je relativní k dostupné šířce dráhy */
}


/* Stylování thumbu (kolečko) - Skryjeme defaultní a použijeme vlastní div */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px; /* Šířka klikací oblasti thumbu */
  height: 40px; /* Výška klikací oblasti thumbu */
  background: transparent; /* Skrýt výchozí thumb */
  cursor: pointer;
  border-radius: 50%;
  position: relative; /* Pro z-index */
  z-index: 3; /* Nad ostatními vrstvami */
}

.slider::-moz-range-thumb {
  width: 40px; /* Šířka klikací oblasti thumbu */
  height: 40px; /* Výška klikací oblasti thumbu */
  background: transparent; /* Skrýt výchozí thumb */
  cursor: pointer;
  border-radius: 50%;
  border: none; /* Firefox může přidávat border */
  position: relative; /* Pro z-index */
  z-index: 3; /* Nad ostatními vrstvami */
}

/* Vlastní div pro vizuální thumb */
.slider-thumb {
    position: absolute;
    top: 50%;
    left: 0; 
    transform: translate(-50%, -50%); 
    width: 40px; 
    height: 40px; 
    background-color: #ffffff; 
    border: 3px solid #1a1a1a; 
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    pointer-events: none; /* Nezachytává myš */
    display: flex; 
    justify-content: center;
    align-items: center;
    gap: .3rem;
    padding: 0 5px; 
    box-sizing: border-box;
    z-index: 2; /* Nad výplní (z-index: 1), pod inputem (z-index: 3) */
}

/* Volitelné: Stylování šipek v thumbu */
.thumb-arrow {
    color: #1a1a1a;
    font-size: 10px;
    font-weight: bold;
}


/* Ovládací prvky hodnoty */
.value-controls {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 15px; /* Mezery mezi tlačítky a polem */
}

.control-button {
    background-color: #1a1a1a; /* Tmavé pozadí tlačítka */
    color: #ffffff; /* Bílá ikona */
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: normal; /* Normální tloušťka pro +/- */
    line-height: 44px; /* Vertikální zarovnání ikony */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: background-color 0.2s ease;
}

.control-button:hover {
    background-color: #333333; /* Tmavší při najetí */
}

.control-button:active {
    background-color: #000000; /* Ještě tmavší při kliknutí */
}

.value-display-wrapper {
    display: flex;
    
    align-items: center;
    border: 1px solid #ced4da; /* Světle šedý okraj */
    border-radius: 8px; /* Zaoblené rohy */
    padding: 0 15px; /* Vnitřní odsazení */
    background-color: #ffffff;
}


.value-display {
    border: none; /* Okraj je na wrapperu */
    background: none;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: right;
    width: 100%; /* Šířka pole pro hodnotu */
    padding: 10px 0; /* Vertikální padding */
    outline: none; /* Odstranit outline při fokusu */
    margin-right: 5px; /* Mezera před "Kč" */
    box-sizing: border-box;
}

/* Odstranění šipek u number inputu (pokud by byl použit) */
.value-display::-webkit-outer-spin-button,
.value-display::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.value-display[type=number] {
    -moz-appearance: textfield; /* Firefox */
  }


.currency-unit {
    font-size: 18px;
    color: #6c757d; /* Šedá barva pro měnu */
}



/* emise */

.emise {
    position: relative;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.emise-main {
    position: relative;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 80px 0;
}
.emise-main > h1 {
    font-size: 4rem;
    font-weight: bold;
    margin: 0 0 20px 0;
}
.emise-main > p {
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}
.emise-popis {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
    margin-top: 40px;
}
.emise-box {
    position: relative;
    background-color: #fff;
    flex: 0 0 26%;
    border-radius: 40px;
    height: 120px;
    overflow: hidden;
    padding: 40px;
}
.emise-box > p {
    font-size: 1rem;
    margin: 0;
    color: #1D70B7;
}
.emise-box > h2 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 20px 0 0 0;
    
}
.cookies-odkaz {
    color: white;
    text-decoration: none;
}
.cookies-odkaz i {
    margin-right: 10px;
}










@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        margin-right: 20px;
    }
    
    
    .divs1 {
        position: relative;
        margin: 8px;
        width: 100%;
        aspect-ratio: 16/9;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 20px;
        overflow: hidden;
    }
    .divs1 video {
        height: 100%;
        object-fit: cover;
    }
    .menu {
        display: none;
    }
    
    .navbar {
        width: 90%;
        border-radius: 15px;
        top: 16px;
    }
    .logo1 {
        height: 30px;
        width: 100px;
        margin-left: 0;
    }
    .logo1 svg {
        height: 30px;
    }
    .divs2 {
        width: 90%;
        margin-top: 20px;
    }
    .divs2 > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 0 20px 0;
        text-align: center;
    }
    .divs3 {
        width: 90%;
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .img3 {
        display: none;
    }
    .section4 {
        margin-top: 20px;
    }
    .divs4 {
        width: 90%;
        margin: 40px 0;
    }
    .main-container {
        flex-wrap: wrap;
    }
    .box-4 {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 20px;
    }
    .divs5 {
        width: 90%;
        margin: 40px 0;
    }
    .divs5 > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 auto 20px auto;
        text-align: center;
    }
    .kalkulacka-main {
        flex-direction: column;
        align-items: center;
    }
    
    .vypocet {
        padding: 40px 20px;   
    }
    .kalkulacka-box > h2 {
        font-size: 1rem;
    }
    .value-controls {
        justify-content: space-between;
    }
    .value-display-wrapper {
        width: calc(100% - 88px - 60px);
    }
    .section6 {
        padding: 0;
    }
    .divs6 {
        width: 100%;
        border-radius: 0;
        margin: 20px 0;
        padding: 5%;
    }
    .divs6 > p {
        font-size: 1.2rem;
        margin: 20px auto 10px auto;
        text-align: center;
    }
    .input2 {
        width: 90%;
        margin: 0;
    }
    .input2 > input, .input2 > select {
        flex: 0 0 100%;
    }
    .divsdeleni {
        width: 90%;
        margin: 40px 0;
    }
    .divsdeleni > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 auto 20px auto;
        text-align: center;
    }
    .divsdeleni > p {
        font-size: 1.2rem;
        margin: 0 auto;
        text-align: center;
    }
    .divs7 {
        width: 90%;
        margin: 20px 0;
    }
    .otazky, .investori {
        padding: 20px;
        border-radius: 20px;
    }
    .otazky > h1, .investori > h1 {
        font-size: 1.5rem;
        font-weight: bold;
    }
    .otazky > i, .investori > i {
        font-size: 1.5rem;
        top: 22px;
        right: 20px;
    }
    .otazky-box {
        width: 100%;
    }
    .otazky-box > h1 {
        width: 80%;
        text-align: left;
    }
    .investori {
        margin-top: 20px;
    }
    .divs8 {
        width: 90%;
        flex-direction: column;
    }
    .logo2 {
        justify-content: flex-start;
    }
    .footer-right {
        align-items: flex-start;
    }
    

    .emise-main {
        width: 90%;
        margin: 20px 0;
    }
    .emise-main > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 auto 20px auto;
        text-align: center;
    }
    .emise-main > p {
        font-size: 1.2rem;
        margin: 0 auto;
        text-align: center;
    }   
    .emise-popis {
        margin-top: 20px;
    }
    .emise-box {
        flex: 0 0 100%;
        padding: 20px;
        box-sizing: border-box;
        height: 150px;
    }
    .emise-box > h2 {
        margin-top: 10px;
    }

    .divs6 > h1 {
        font-size: 2.2rem;
    }
    /* Přidejte toto dovnitř vašeho @media pravidla, např. @media (max-width: 768px) { ... } */

/* === Základní layout na mobilu === */
.input {
    /* Můžete ponechat gap z desktopu nebo upravit jen vertikální */
    gap: 25px 0; /* Jen vertikální mezera mezi bloky polí */
}

.form-field-wrapper,
.form-field-wrapper.full-width {
    /* Všechny obalovače polí na 100% šířky -> jeden sloupec */
    flex: 1 1 100%; 
    min-width: unset; /* Resetovat min-width z desktopu */
}

/* === Úpravy specifických sekcí === */

/* Číslo účtu - Povolit zalamování */
.account-number-wrapper {
    flex-wrap: wrap; /* Mělo by být už v base, ale pro jistotu */
    gap: 8px; /* Mírně menší mezera na mobilu */
}
/* Můžete přidat pravidla pro jednotlivé části, pokud je potřeba vynutit zalamování */
.account-number-wrapper .account-part,
.account-number-wrapper .account-main,
.account-number-wrapper .account-bank {
     flex-grow: 1; /* Dovolí jim růst a vyplnit řádek, pokud se vejdou */
     flex-basis: auto; /* Nechá prohlížeč určit optimální základní šířku */
}


/* Adresy - Vynutit sloupce */
.address-group .address-inputs {
    flex-direction: column; /* Části adresy pod sebou */
    gap: 15px; /* Mezera mezi Ulice, Obec, PSČ */
    align-items: stretch; /* Roztáhnout položky na plnou šířku */
}
.address-group .address-part {
    width: 100%; /* Zajistit plnou šířku v rámci sloupce */
    flex-basis: auto; /* Resetovat flex-basis z desktopu */
}

/* Oprávněná osoba - Vynutit sloupce */
.authorized-person-wrapper {
    flex-direction: column; /* Pole pod sebou */
    gap: 15px; /* Mezera mezi Jméno, Příjmení, Funkce */
    align-items: stretch;
}
.authorized-person-wrapper .form-box {
     width: 100%; /* Zajistit plnou šířku */
     flex-basis: auto; /* Resetovat flex-basis */
     /* Vzhled (padding, border-radius) NENÍ třeba měnit, pokud mají být stejné jako ostatní .form-box */
}


/* Sekce kalkulace - Položky pod sebou */
#pocet-row {
    flex-direction: column; /* Položky pod sebou */
    align-items: stretch; /* Roztáhnout položky na šířku kontejneru */
    gap: 20px; /* Větší mezera mezi položkami kalkulace */
}
.calc-item {
    width: 100%; /* Každá položka zabere plnou šířku */
    /* align-items zůstává center z base CSS, což je zde OK */
}
.calc-item .form-box {
    width: 150px; /* Můžete nastavit fixní nebo max-width pro počet */
    margin: 0 auto; /* Vycentrovat input pro počet */
}
.calc-value {
     width: 150px; /* Sjednotit šířku s inputem pro počet */
     box-sizing: border-box; /* Zajistit konzistentní rozměry */
}
/* Symboly X a = na mobilu možná skrýt nebo otočit? */
.calc-symbol {
    /* display: none; */ /* Možnost skrýt */
     transform: rotate(90deg); /* Možnost otočit */
     margin: 10px 0; /* Přidat vertikální mezeru, pokud jsou otočené */
}


/* Tlačítko */
.button {
    display: block; /* Potřeba pro margin auto */
    width: 80%; 
    max-width: 350px; /* Maximální šířka tlačítka */
    margin: 30px auto 0 auto; /* Horní mezera a centrování */
    /* Vzhled tlačítka (padding, border-radius atd. by měl být definován jinde) */
}

/* Checkbox - Zkontrolovat odsazení a velikost na mobilu */
.check {
     padding-left: 5px; /* Menší odsazení na mobilu */
     /* Můžete upravit velikost inputu a ikony, pokud je potřeba */
}
.check label {
    font-size: 0.85rem; /* Mírně menší text souhlasu */
}

/* Skrytí/Zobrazení polí (JavaScript) - CSS by nemělo být potřeba měnit */
/* #nazev-cont, #ico-cont, #osoba-cont, #rc-cont by měly být řízeny JS */
    

    
    

   
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
        margin-right: 40px;
    }
    .divs1 {
        position: relative;
        margin: 8px;
        width: 100%;
        aspect-ratio: 16/9;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 20px;
        overflow: hidden;
    }
    .divs1 video {
        height: 100%;
        object-fit: cover;
    }
    .menu {
        display: none;
    }
    .navbar {
        width: 95%;
        border-radius: 15px;
        top: 16px;
    }
    .logo1 {
        height: 30px;
        width: 100px;
        margin-left: 10px;
    }
    .logo1 svg {
        height: 30px;
    }
    .divs2 {
        width: 90%;
        margin-top: 20px;
    }
    .divs2 > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 0 20px 0;
        text-align: center;
    }
    .divs3 {
        width: 90%;
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .img3 {
        display: none;
    }
    .section4 {
        margin-top: 20px;
    }
    .divs4 {
        width: 90%;
        margin: 40px 0;
    }
    .divs5 {
        width: 90%;
        margin: 40px 0;
    }
    .divs5 > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 auto 20px auto;
        text-align: center;
    }
    .kalkulacka-main {
        flex-direction: column;
        align-items: center;
    }
    .vypocet {
        width: 100%;
        padding: 40px 20px;   
    }
    .kalkulacka-box > h2 {
        font-size: 1rem;
    }
    .value-controls {
        justify-content: space-between;
    }
    .value-display-wrapper {
        width: calc(100% - 88px - 60px);
    }
    .vysledek {
        width: 100%;
        padding: 40px 20px;
    }
    .vysledek > p:nth-child(3) {
        margin: 20px 0 0 0;
    }
    .vysledek > p:nth-child(5) {   
        margin-top: 20px;
    }
    .section6 {
        padding: 0;
    }
    .divs6 {
        width: 100%;
        border-radius: 0;
        margin: 20px 0;
        padding: 5%;
    }
    .divs6 > p {
        font-size: 1.2rem;
        margin: 20px auto 10px auto;
        text-align: center;
    }
    .divsdeleni {
        width: 90%;
        margin: 40px 0;
    }
    .divsdeleni > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 auto 20px auto;
        text-align: center;
    }
    .divsdeleni > p {
        font-size: 1.2rem;
        margin: 0 auto;
        text-align: center;
    }
    .divs7 {
        width: 90%;
        margin: 20px 0;
    }
    .otazky, .investori {
        padding: 20px;
        border-radius: 20px;
    }
    .otazky > h1, .investori > h1 {
        font-size: 1.5rem;
        font-weight: bold;
    }
    .otazky > i, .investori > i {
        font-size: 1.5rem;
        top: 22px;
        right: 20px;
    }
    .otazky-box {
        width: 100%;
    }
    .otazky-box > h1 {
        width: 80%;
        text-align: left;
    }
    .investori {
        margin-top: 20px;
    }

    .emise-main {
        width: 90%;
        margin: 20px 0;
    }
    .emise-main > h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0 auto 20px auto;
        text-align: center;
    }
    .emise-main > p {
        font-size: 1.2rem;
        margin: 0 auto;
        text-align: center;
    }   
    .emise-popis {
        margin-top: 20px;
    }
    .emise-box {
        flex: 0 0 calc(50% - 10px);
        padding: 20px;
        box-sizing: border-box;
        height: 150px;
    }
    .emise-box > h2 {
        margin-top: 10px;
    }
    

   
}

















/* */
.table-overflow {
  width: 100%;
  overflow: auto;
}
.w-100pro {
  width: 100% !important;
}
.small-font2 {
  font-size: 80% !important;
}


.section {
    position: relative;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.divs {
    width: 80%;
}
@media (max-width:1024px) {
    .divs {
        width: 90%;
        margin-top: 20px;
    }
}

/*** table1 ***/

table.table1 th, table.table1 td {
	vertical-align:top;
}
table.table1 th {
	width:150px;
	font-size:90%;
	vertical-align:top;
	padding:15px 10px 5px 0;
	color:#292323;
	text-align:left;
	text-transform:uppercase;
}
table.table1 thead th {
	padding-right:0;
}
table.table1 td {
	padding:0 15px 10px 0;
}
table.table1 input {
	width:250px;
}
table.table1 textarea {
	width:100%;
	height:100px;
}
table.table1 img {
  border:none;
}

@media (max-width:767px) {
	table.table1 {
		margin:auto;
	}
	table.table1 tr {
		display:block;
		padding:0 0 30px 0;
		padding:0 0 0 0;
		text-align:center!important;
	}
	table.table1 tr th, table.table1 tr td {
		display:block;
		width:100%;
		border:0;
		text-align:center!important;
		padding:0 0 10px 0;
	}
	table.table1 input {
		margin:auto;
		width:100%!important;
		text-align:center;
	}

}



hr {
  border: 1px solid #FFF;
  border-bottom: 1px solid #AAA;
}









