/* Custom styly mimo puvodni sablonu. */
.row {
    margin-left: 0;
    margin-right: 0;
}
.subheader {
    background: #f9f9f8;
}

.subheader h4 {
    font-size: 18px;
}
.subheader h5 {
    color: #5a4c40;
}

.subtitle-big {
    font-size: 16px;
    font-family: "Ubuntu", serif;
}
.bold-subtitle {
    font-family: "Ubuntu Bold", serif;
}
.subtitle-small {
    font-size: 12px;
}

.p-20 {
    padding: 5px;
}

.p-10 {
    padding: 10px 10px 5px 10px;
}

.p-5 {
    padding: 0 10px 0 10px;
}

.mb-40 {
    margin-bottom: 40px;
}

.top-heading {
    text-align: center;
    display: none;
}

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

@media screen and (min-width: 768px) {
    .subheader h4 {
        font-size: 24px;
    }

    .top-heading {
        text-align: left;
        display: block;
    }

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

    .subheader h4::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 20%;
        height: 4px;
        background-color: #ffeb03; /* Weber žlutá */
    }

    .subtitle-big {
        font-size: 20px;
    }
    .subtitle-small {
        font-size: 15px;
    }
    .p-20 {
        padding: 20px;
    }
}


/* Vertikální centrování pomocí table layoutu */

/*.subheader .row.vcenter {*/
/*    display: table;*/
/*    width: 100%;*/
/*    table-layout: fixed;*/

/*}*/

.subheader .row.vcenter > [class^="col-"] {
    display: table-cell;
    vertical-align: middle;
    float: none;
}

/* Zarovnání na menších obrazovkách */
@media (max-width: 767px) {
    .subheader .row.vcenter > [class^="col-"] {
        display: block;
        text-align: center;
    }
}

.top-bg {
    background-color: #5a4432;
    color: white;
}
.top-bg h4 {
    color:white;
}
@media (min-width: 768px) {
    .vcenter {
        display: flex;
        align-items: center;
    }
}

.navbar-default#header #header-logo {
    width: 190px;
    margin: 10px 0 10px -20px;
}

@media (max-width: 767px) {
    .navbar-default#header #header-logo {
        width: 140px;
        margin: 0 0 0 -10px;
    }
}
.top-btn {
    font-size: 1rem !important;
}

/* Mezera mezi tlačítky */
.subheader-buttons .btn {
    margin: 0 5px;
}

/* Obecné styly */

.section-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 40px;
}
.section-title::after {
    content: "";
    display: block;
    width: 20%;
    height: 4px;
    background-color: #ffeb03;
    margin: 10px auto 0;
}

.underline-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}

.underline-title::after {
    content: "";
    display: block;
    width: 10%;
    height: 4px;
    background-color: #ffeb03;
    margin-top: 10px;
}

.underline-centered-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center; /* vycentrování textu */
    position: relative;
    display: inline-block; /* nutné, aby ::after se vztahovalo jen na text */
}

.underline-centered-title::after {
    content: "";
    display: block;
    width: 20%;
    height: 4px;
    background-color: #ffeb03;
    margin-top: 10px;
    text-align: left; /* pro jistotu */
}

.project-row .col-sm-6 {
    padding: 0 !important;
}

.project-row h4 {
    color:#fff;
}

.project-section {
    position: relative;
    padding: 0;
}


.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    background-color: #5a4432;
    color: #fff;
    font-family: "Ubuntu", serif;
    display: flex;
    height: 100%;
}

.project-card .row.no-gutters {
    margin: 0;
}

.project-card .text-content {
    padding: 20px;
}

.project-card .image-content {
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 180px;
}

@media (max-width: 767px) {
    .project-card .row.no-gutters {
        display: flex;
        flex-wrap: wrap;
    }
    .project-card .image-content {
        order: 1;
    }
    .project-card .text-content {
        order: 2;
    }
}

.btn-yellow {
    background-color: #ffeb03;
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    padding: 6px 16px;
    text-transform: uppercase;
}

.btn-success {
    color: #5a4c40;
    background-color: #ffeb03;
    border-color: #ffeb03;
}

.btn-yellow:hover {
    background-color: #dac700;
    color: #000;
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-icon .icon-border {
    background: #fff;
    border: 6px solid #fff;
    border-radius: 50%;
    padding: 15px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1em;
}

.center-icon img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .center-icon {
        display: none;
    }
    .project-card .image-content {
        min-height: 150px;
    }
}

.material-summary-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.material-summary.box-wrapper {
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 2240px; /* přibližná šířka předchozích boxů */
    padding: 40px 20px;
}

.icon-box-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.icon-box.box-wrapper {
    /*background-color: #f7f7f7;*/
    border-radius: 8px;
    /*box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);*/
    width: 100%;
    max-width: 2240px; /* přibližná šířka předchozích boxů */
    /*padding: 40px 20px;*/
}

.section-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
}

.icon-row {
    margin-top: 20px;
}

.icon-box {
    margin-bottom: 20px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    /*background-color: #ffeb03;*/
    /*border-radius: 50%;*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon-circle img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.icon-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    font-family: "Ubuntu", serif;
}

/* sekce formuláře výběr produktů css override!! */

#content div.component {
    display: block; /* Změna z flex na block */
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    font-size: 20px;
    font-family: "Ubuntu", serif;
}

/* Nadpis (component-left) se nyní chová jako řádek nahoře */
#content div.component div.component-left {
    width: 100%;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    border-right: none;
    border-bottom: none;
    padding: 10px 25px;
    color: #fff;
    background: #5a4c40;
}

@media screen and  (min-width: 768px) {
    #content div.component div.component-left {
    width: 30%;
}}

/* Obsah (component-right) pod nadpisem */
#content div.component div.component-right {
    width: 100%;
    border-radius: 0 8px 8px 8px;
    border: 1px solid #e6e6e6 !important;
    padding: 10px 20px 10px 25px;
}

#content div.component div.chosen button {
    position: static;
    right: 21px;
}
#content div.component div.choice span.chosen_name {
    font-size: 16px;
}

.gray-bg {
    background: #f9f9f8;
    padding: 6px 12px;
    border-radius: 16px;
    width: 230px;
    font-size: small;
}

.product-choice-label {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.2s, border-color 0.2s;
    cursor: pointer;
    background-color: #fff;
}
.product-choice-label.active {
    background-color: #eef5ff;
    border-color: #007bff;
}
.product-choice input[type="radio"] {
    width: 24px !important;
    height: 24px;
    flex-shrink: 0;
}
.product-choice-image {
    max-height: 80px;
    max-width: 80px;
    flex-shrink: 0;
}
.product-choice-content {
    flex: 1;
}
.product-choice-content .product-name {
    font-weight: bold;
    font-size: 2.1rem;
    margin-bottom: 4px;
}
.product-choice-content hr {
    margin: 8px 0;
}
.product-description {
    font-size: 1.6rem;
    color: #666;
}

.d-flex.justify-content-between .chosen_name {
    flex-grow: 1;
    margin-right: 1rem;
}

.choice-header {
    width: 100%;
}
.choice-header-left {
    float: left;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.choice-header-right {
    float: right;
    text-align: right;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #b5b3b3 !important;
}

.btn {
    border-radius: 26px;
}

/* sekce barev */
#content div.component div.chosen span.chosen_tint {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    margin: 5px 10px 0 0;
}

#content div.component div.chosen span.chosen-value {
    padding-left: 2.4em;
}

@media (max-width: 900px) {
    #content #content-text h2 {
        font-size: 22px;
        text-align: center;
    }
}

/*System selector css override */



@media (max-width: 620px) {
    .system-margin {
        margin-top: 320px;
    }

}
@media (min-width: 621px) {
    .system-margin {
        margin-top: 180px;
    }}

@media (min-width: 921px) {
    .system-margin {
        margin-top: 280px;
    }
}


.component-margin {
    margin: 140px 0;
}

@media (max-width: 575px) {
    .component-margin {
        margin: 320px 0 40px 0;
    }

}

@media (min-width: 576px) and (max-width: 768px) {
    .component-margin {
        margin: 220px 0 40px 0; /* Příklad – uprav dle potřeby */
    }
}

@media (min-width: 769px) and (max-width: 920px) {
    .component-margin {
        margin: 160px 0 40px 0; /* Příklad – uprav dle potřeby */
    }
}

@media (min-width: 921px) {
    .component-margin {
        margin: 280px 0px 40px 0;
    }
}


.max-image-size {
    max-height: 220px;

    @media screen and (max-width: 767px) {

        #content.row {
            margin-left: 0;
            margin-right: 0;
        }

        .max-image-size {
            max-height: 180px;
        }
        #content div.component div.chosen span.chosen_name {
            padding-right: 0;
            text-align: center;
        }

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

}

.btn-white {
    background-color: #fff;
    color: #000;
    border: 1px solid #dadada;;
    font-weight: bold;
    padding: 6px 16px;
    text-transform: uppercase;
}

.dp-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.btn-system {
    text-transform: uppercase;
    width: 200px;
    margin: 10px 3px 20px 3px !important;
}

/* step button css*/

.desc {
    text-align: center;
    padding: 15px;
    color: #b2b2b2;
}

@media screen and (min-width: 768px){
    .desc {
        text-align: left;
        float: right;
        padding: 15px;
        color: #b2b2b2;
    }
}

@media screen and (min-width: 768px){
    .mobile-hide {
        display: none
    }
}

@media screen and (max-width: 767px){
    .desktop-hide {
        display: none
    }
}
.login-section {
    /* default (desktop) background */

    background-size: cover;
    padding: 100px 30px;
    margin: 30px auto;
    border-radius: 20px;
    color: #333; /* pro kontrast textu */
    max-width:1100px;
}

/* Mobile verze */
@media (max-width: 767px) {
    .login-section {

        background-size: cover;
        padding: 40px 15px;
        border-radius: 10px; /* na mobile může být full bleed */
    }
}

/* Box s obsahem */
.login-box {
    background: transparent;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Ikona */
.login-icon img {
    width: 80px;
    margin-bottom: 20px;
}

/* Titulek */
.login-title {
    color: #ffeb00;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-family: "Ubuntu Bold", serif;
}

/* Podtitulek */
.login-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    font-family: "Ubuntu Bold", serif;
}

/* Výhody */
.login-benefits {
    font-family: "Roboto", serif;
    margin-bottom: 25px;
    margin-left: 90px;
    list-style: disc;
    padding-left: 25px;
    font-size: 1.5rem;
    color: #fff;
}

/* Tlačítka */
.login-buttons .btn {
    margin: 5px 10px;
    min-width: 160px;
    border-radius: 25px;
    font-weight: bold;
}

/* Mobile */
@media (max-width: 767px) {
    .login-section {
        padding: 30px 10px;
    }
    .login-box {
        padding: 25px 20px;
    }
    .login-title {
        font-size: 18px;
    }
    .login-benefits {
        font-size: 14px;
        margin-left:0;
    }
}


