/* VARS */
@font-face {
    font-family: "Lexend";
    src: url("../../../static/fonts/Lexend-Regular.ttf");
    font-weight: 400;
}
@font-face {
    font-family: "Lexend";
    src: url("../../../static/fonts/Lexend-Light.ttf");
    font-weight: 300;
}
@font-face {
    font-family: "Lexend";
    src: url("../../../static/fonts/Lexend-SemiBold.ttf");
    font-weight: 600;
}
@font-face {
    font-family: "Lexend";
    src: url("../../../static/fonts/Lexend-Bold.ttf");
    font-weight: 700;
}
@font-face {
    font-family: "Lexend";
    src: url("../../../static/fonts/Lexend-Black.ttf");
    font-weight: 900;
}

:root {
    --dark-gray: #434343;
    --light-gray: #F5F8F7;
    --primary-blue: #3F4DA7;
    --succes-yellow: #FDC50B;
    --link-blue: #3F4DA7;
}
.bg-light-gray {
    background-color: #F5F5F6;
}
.bg-dark {
    background-color: #1E2133 !important;
}
.text-muted {
    color: #787880 !important;
}

body {
    font: normal normal normal 16px/23px Lexend;
    letter-spacing: 0;
    color: #17171A;
    background-color: #F5F5F6;
}
h1, h2, h3, h4, h5,
.display-h1, .display-h2, .display-h3, .display-h4, .display-h5 {
    letter-spacing: 0;
    color: #17171A;
}
h1, .display-h1 {
    font: normal normal bold 44px/55px Lexend;
    letter-spacing: -1.32px;
}
h2, .display-h2 {
    font: normal normal bold 40px/50px Lexend;
}
h3, .display-h3 {
    font: normal normal bold 36px/45px Lexend;
}
h4, .display-h4 {
    font: normal normal bold 28px/35px Lexend;
}
h5, .display-h5 {
    font: normal normal bold 22px/28px Lexend;
}
.display-hs-muted {
    font: normal normal 300 15px/19px Lexend;
    letter-spacing: 0;
    color: #A5A5A5;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.display-hs-primary {
    font: normal normal 300 15px/19px Lexend;
    letter-spacing: 0;
    color: #3F4DA7;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.block-title {
    font: normal normal 600 24px/31px Lexend;
    letter-spacing: 0;
    color: #1E2133;
    margin-bottom: 12px;
}
p {
    font: normal normal normal 16px/26px Lexend;
}
p.small {
    font: normal normal normal 14px/22px Lexend;
}
.primary-big-text {
    font: normal normal bold 30px/55px Lexend;
    letter-spacing: 0;
    color: #3F4DA7;
}
p.primary-big-text {
    margin:0;
}

.footer-wrapper {
    width: 100%;
    background-color: #1E2133;
    padding: 120px 0 45px;
}
footer .menu-item-title {
    text-align: left;
    font: normal normal bold 16px/20px Lexend;
    text-transform: uppercase;
    letter-spacing: 0.32px;
    color: #FFFFFF;
    margin-bottom: 24px;
}
footer p {
    text-align: left;
    font: normal normal 300 14px/22px Lexend;
    letter-spacing: 0.42px;
    color: #CECFD9;
}
footer .footer-menu .menu-block {
   padding-top: 24px;
}
footer .footer-menu p {
    font: normal normal 300 15px/36px Lexend;
    letter-spacing: 0.45px;
    color: #FFFFFF;
    margin-bottom: 0;
}
.footer-link {
    text-decoration: none;
    font: normal normal 300 15px/36px Lexend;
    letter-spacing: 0.45px;
    color: #FFFFFF;
}
.footer-bottom {
    padding-top: 90px;
}
.footer-bottom p {
    text-align: center;
    margin-bottom: 0;
}
.footer-bottom a {
    color: #CBCBCD;
    text-decoration: none;
    font: normal normal normal 14px/21px Lexend;
    letter-spacing: 0.28px;
}
.footer-bottom a:hover, .footer-link:hover {
    text-decoration: underline;
}
.jumbotron {
    background-color: #1E2133;
    min-height: 350px;
    padding-top: 130px;
    padding-bottom: 130px;
}
.wrapper-block {
    margin-bottom: 180px;
}
.block-image.img-absolute {
    position: relative;
    padding-top: 16px;
}
.block-image img {
    width: 100%;
    height: auto;
}
.block-image.img-absolute img {
    position: absolute;
}
.block-image-text img {
    width: 100%;
    height: auto;
}
.block-important {
    background-color: #F5F5F6;
    padding: 100px 80px;
}
.block-important .headlines {
    margin-bottom: 80px;
}
.block-important .block-title span {
    color: #FDC50B;
}
.block-important .block-icon {
    margin-bottom: 24px;
}
.block-important .block-icon svg {
    height: 50px;
    width: auto;
}
.block-important ul {
    list-style: none;
    padding-left: 1.8rem;
}
.block-important li {
    position: relative;
}
.block-important li::before {
    content: "";
    background-image: url("../../../static/icons/check.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    position: absolute;
    top: 4px;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: -1.8em;
    margin-right: 8px;
}

nav.navbar {
    padding-top: 24px;
    padding-bottom: 24px;
}
.navbar-collapse {
    background-color: #1E2133;
}
.btn {
    --bs-btn-padding-x: 25px;
    --bs-btn-padding-y: 15px;
    --bs-btn-font-size: 15px;
    --bs-btn-font-weight: 700;
    --bs-btn-line-height: 19px;
    --bs-btn-border-radius: 8px;

    font: normal normal bold 15px/19px Lexend;
    letter-spacing: 0.65px;
}
.btn-sm {
    --bs-btn-padding-x: 25px;
    --bs-btn-padding-y: 8px;
}

.btn.btn-link {
    --bs-btn-font-size: 15px;
    --bs-btn-line-height: 23px;
    --bs-btn-padding-x: 0;
    --bs-btn-padding-y: 6px;
    --bs-btn-font-weight: 400;
    font: normal normal normal 15px/23px Lexend;
}
.btn-link {
    --bs-btn-color: #3F4DA7;
}

.btn-primary {
    --bs-btn-color: #000;
    --bs-btn-bg: #FDC50B;
    --bs-btn-border-color: #FDC50B;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #fac411;
    --bs-btn-hover-border-color: #fac411;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #fac411;
    --bs-btn-active-border-color: #fac411;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #222;
    --bs-btn-disabled-bg: #ffda5e;
    --bs-btn-disabled-border-color: #ffda5e;
}
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #3F4DA7;
    --bs-btn-border-color: #3F4DA7;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3F4DA7;
    --bs-btn-hover-border-color: #3F4DA7;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3F4DA7;
    --bs-btn-active-border-color: #3F4DA7;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #222;
    --bs-btn-disabled-bg: #3F4DA7;
    --bs-btn-disabled-border-color: #3F4DA7;
}
fieldset {
    max-width: 840px;
}
.form-group {
    margin-bottom: 24px;
}
.form-control {
    font: normal normal normal 16px/20px Lexend;
    max-width: 585px;
    padding: .75rem;
}

.input-group, input.form-control, .form-select {
    max-width: 350px;
    font: normal normal normal 16px/20px Lexend;
}

.input-group .input-group-prepend * {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
/* výchozí stav – nevyplněný input */
.form-control, .form-control:placeholder-shown, .input-group-text {
    background-color: #CECFD926; /* jemné podbarvení */
    border-color: #CECFD9;
}
.form-control:focus, .form-control.not-empty {
    background-color: #fff;
    box-shadow: none !important; /* Bootstrap default má modré zvýraznění */
    outline: none !important;
    border-color: #CECFD9;
}

/** textarea */
textarea.form-control {
    resize: none;
    height: 140px;
    max-width: 585px;
}

/* checkbox */
.form-check.form-check-inline {
    margin-right: 1.5rem;
    padding-left: 0;
    min-width: 220px;
}

/*
.form-control:not(:placeholder-shown) {
    background-color: #fff;
}*/
/* -------------------- */
/* SELECT               */
/* -------------------- */
.form-select {
    padding: .75rem 2.25rem .75rem .75rem;
}
.form-select:has(option:checked[value=""]) {
    background-color: #CECFD926;
    color: #6c757d; /* šedý text pro "placeholder" option */
}

.form-select:focus {
    background-color: #fff;
    box-shadow: none !important;
    outline: none !important;
    color: #212529;
    border-color: #CECFD9;
}
.form-check-input[type="radio"],
.form-check-input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
    box-shadow: none !important;
}
.form-check-input[type="radio"]:focus,
.form-check-input[type="checkbox"]:focus {
    background-color: #fff;
    outline: none !important;
    box-shadow: none !important;
    border-color: #CECFD9;
}

.form-check-input[type="radio"]:checked {
    background-color: #fff;
    border-color: #CECFD9;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2317171A'/%3e%3c/svg%3e");
}
.form-check-input[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #CECFD9;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.phone-item legend {
    display: none;
}

.ref-item {
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 1px dotted #a1a1a1;
}
.ref-item .universal-upload-group {
    margin-bottom: 16px;
}

/* -------------------- */
/* CHECKBOX / RADIO     */
/* -------------------- */

/* výběr typu účtu */
.account-option {
    border: 1px solid #CECFD9;
    border-radius: 6px;
    flex: 1 1 0;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    max-width: 270px;
    background-color: #CECFD926;
}

/* Hover efekt */
.account-option:hover {
    border-color: #69A63F;
}

/* Schovej radio input */
.account-option input[type="radio"] {
    display: none;
}

.option-content {
    border: 1px solid #CECFD9;
    width: 100%; /* Aby se texty uvnitř nelámaly blbě */
    padding: 27px 25px;
    height: 100%;
}
.option-content .option-title {
    font: normal normal bold 16px/23px Lexend;
    margin-bottom: 8px;
}
.option-content .option-text  {
    font: normal normal normal 15px/19px Lexend;
}

/* Aktivní karta – celé label */
.account-option input[type="radio"]:checked ~ .option-content {
    border: 1px solid #69A63F;
    background-color: #fff;
    border-radius: 6px;
}
.account-option input[type="radio"]:checked ~ .option-content .option-title {
    color: #69A63F;
}

/** typ účtu */

/*.form-check-input {
    background-color: #CECFD926;
    border: 1px solid #ced4da;

}

.form-check-input:checked {
    background-color: #CECFD926;
    border-color: #ced4da;
}*/

.card {
    --bs-card-spacer-y: 2rem;
    --bs-card-spacer-x: 2.5rem;
}
.nav-link {
    --bs-nav-link-font-size: 15px;
}

/* navigace */
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font: normal normal bold 36px/45px Lexend;
    color: #FDC50B;
}
.navbar-nav .nav-link.active {
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: -6px;
    height: 3px;
    background-color: currentColor; /* stejné barvy jako text */
    border-radius: 2px;
}

/* blocks, text */
.title {
    font-size: 20px;
    line-height: 28px;
    font-weight: bold;
    margin-bottom: 16px;
}

/* forms */
form .step {
    padding: 16px 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 6px -1px, rgba(0, 0, 0, 0.06) 0 2px 4px -1px;
}
.step .title {
    font-size: 17px;
    line-height: 22px;
}

.form-btn {
    margin-top: 24px;
}

label.required:after, legend.required:after {
    content: " *";
    color: red;
}
.has-search-icon {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23999" stroke-width="2" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><line x1="16.65" y1="16.65" x2="21" y2="21"/></svg>') no-repeat right 0.75rem center;
    background-size: 1rem;
    padding-right: 2rem; /* místo pro ikonu */
}

/* navigace - registrační form */
#sideNav-registrace .nav-link {
    font: normal normal bold 16px/27px Lexend;
    color: #69A63F;
}
#sideNav-registrace .nav-link.active {
    font: normal normal bold 18px/27px Lexend;
    color: #17171A;
}
#sideNav-registrace .nav-link.disabled {
    font: normal normal 300 16px/27px Lexend;
    color: #787880;
}

/** clanky, novinky */

.wrapper-news-listing {

}
.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ořez textu na 4 řádky */
.text-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* card */
.card-title, .card-title * {
    text-align: left;
    font: normal normal 600 20px/27px Lexend;
    letter-spacing: 0;
    color: #3F4DA7;
}

.project-detail .d-table-cell {
    padding-bottom: 12px;
}

.project-detail .d-table-cell.text-muted {
    color: #787880;
    font-weight: 300;
}

.gallery {
    display: flex;
    gap: 10px;
}

.gallery-item img {
    max-width: 200px;
    border-radius: 4px;
}

@media (max-width: 1199px) {
    nav.navbar {
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .jumbotron {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
@media (max-width: 991px) {
    nav.navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .footer-wrapper {
        padding: 60px 0 30px;
    }
    .wrapper-block {
        margin-bottom: 60px;
    }
}