
.col-lg-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 1300px) {
    .col-lg-5 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (max-width: 768px) {
    .col-lg-5 {
        flex: 0 0 50%; /* Dwie kolumny w rzędzie na małych ekranach */
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-5 {
        flex: 0 0 100%; /* Jedna kolumna na małych ekranach */
        max-width: 100%;
    }
}

.configurator-header{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.configurator-header-name{
    width: auto;
}

.configurator-header-name h1{
    font-weight: 900;
    font-size: 26px;
    margin-top: 0px;
    padding-top: 0px;
    text-transform: uppercase;
}

.configurator-header-steps{
    position: relative;
}

.steps-menu{
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0px;
    margin: 0px;
}

.steps-menu li{
    flex: 1;
    text-align: center;
    min-width: 140px;
}

.steps-menu li .step-number{
    width: 50px;
    height:50px;
    background: var(--quaternary-bg);
    color:var(--quaternary-color);
    -webkit-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 26px;
    display: inline-block;
    position: relative;
    z-index: 2;
}
.steps-menu li .step-number .fa{
    font-size: 26px;
}

.steps-menu li.active .step-number{
    background: var(--tertiary-bg);
    color:var(--tertiary-color);
}

.steps-menu li .step-name{
    text-align: center;
    color:var(--quaternary-color);
    display: inline-block;
}
.steps-menu li.active .step-name{
    text-align: center;
    color:var(--tertiary-bg);
}

.configurator-steps-line{
    position: absolute;
    top:25px;
    left:50%;
    z-index: 1;
    transform: translateX(-50%);
    border:1px solid var(--quaternary-bg);
}

@media (max-width: 513px) {
    .steps-menu li .step-name{
        display:none;
    }
}

.card.card-section{
    border-color: var(--tertiary-bg);
}

.card.card-section .card-header{
    border-color: var(--tertiary-bg);
    color:var(--tertiary-color);
    background: var(--tertiary-bg);
}

.card.card-option  .card-header{
    border-color:  #ddd;
    color: #444;
    background: #eee;
}

.card-more-toggle{
    border:none;
    background:#5b5b5b;
    border-radius: 7px;
    padding: 5px 7px 5px 7px;
    color:#fff;
    font-size: 12px;
}

.card-body-info{
    padding: 15px;
    margin-bottom: 15px;
    border:1px solid #eee;
    border-radius: 7px;
    background: #f9f9f9;
}

.card-body-description{
    margin-bottom: 35px;
}

.card-body{
    position: relative;
}

.card-body-options{
    min-height: 220px;
}

.small-section .card-body-options{
    min-height: 20px;
    padding-top: 15px;
}

.card-body-shutter{
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom: 0px;
    background: rgba(255, 255, 255, 1);
    z-index: 10;
}

.card-body-shutter img{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    max-width: 100px;
    height: auto;
}

.card.card-option{
    margin-top: 10px;
}
.card.card-option .card-option-header{
    text-align: center;
}
.card.card-option .card-option-header h3{
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    margin:0px;
    font-weight: 900;
}

.card.card-option{
    transition: all 0.3s ease;
    cursor:pointer;
}

.card.card-option:hover{
    box-shadow: 0 0 25px 0 rgba(0,0,0,0.4);
}

.card-option-featured{
    background: var(--tertiary-bg);
    padding: 3px;
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 7px;
    color:var(--tertiary-color);
    font-size: 12px;
    margin-top: 7px
}

.card-option-featureds ul{
    margin:0px;
    padding: 0px;
}

.card-option-featureds ul li{
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dedede;
    text-align: left;
}

.card-option-featureds ul li .icon {
    margin-left: 10px; /* Odstęp między tekstem a ikoną */
}

.card.card-option.selected{
    border:2px solid #1e9f76;
    position: relative;
}

.circle-checked {
    width: 40px;
    height: 40px;
    background-color: #1e9f76; /* Kolor tła kółka */
    border-radius: 50%; /* Zaokrąglenie, aby utworzyć kółko */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Kolor ikony */
    font-size: 24px; /* Rozmiar ikony */
    position:absolute;
    left:50%;
    top:-35px;
    margin-left: -20px;
}

.circle-checked::before{
    content: "\f00c";
    font-family: "FontAwesome";
    font-weight: 900;
}

.card-small-option-header{
    padding: 20px;
}

.widths_sashes{
    margin-top: 15px;
}

.heights_sashes{
    position: relative;
}

.height_screenings_top{
    position: absolute;
    top:15px;
}

.height_screenings_bottom{
    position: absolute;
    bottom:75px;
}

.height_sashes{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
}

.sizes-legends ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.sizes-legends ul li{
    line-height: 26px;
    font-size: 16px;
}

.sizes-legends ul li span{
    font-weight: 700;
}

.form-control.input-error,
.form-control.input-error:focus {
    background-color: #ffcccc; /* Czerwone tło dla błędu */
    transition: background-color 0.5s ease;
}

.form-control.input-success,
.form-control.input-success:focus {
    background-color: #ccffcc; /* Zielone tło dla poprawnej wartości */
    transition: background-color 0.5s ease;
}

.alert-icon{
    margin-right: 20px;
}

.option-more-toggle{
    width: 40px;
    height: 40px;
    background-color: #3b95de; /* Kolor tła kółka */
    border-radius: 50%; /* Zaokrąglenie, aby utworzyć kółko */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Kolor ikony */
    font-size: 24px; /* Rozmiar ikony */
    position:absolute;
    right:0px;
    top:0px;
    border:none;
    z-index: 2;
}

.section-option-col{
    position: relative;
}

.card-option-ask,
.card-option-ask-material{
    padding: 20px;
    position: relative;
}

.card-option-ask .circle-checked,
.card-option.not-image .circle-checked,
.card-option-ask-material .circle-checked{
    position:absolute;
    right:-20px;
    top:50%;
    transform: translateY(-50%);
    left: auto;
}

.card-body-name h3{
    margin: 0px;
    font-size: 16px;
    padding: 5px;
}

.card-body-muntins-sets {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Odstęp między sekcjami, można dostosować */
    background-color: #eaeaea;
    padding: 10px
}

.muntins-sets-1{
    width: 200px;
}

.muntins-sets-2{
    width: 300px;
}

.muntins-sets-3{
    width: 400px;
}

.card-body-muntins-screenings{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-body-muntins-sashes {
    display: flex; /* Ustawienie Flexbox */
    flex-wrap: nowrap;
    gap: 10px; /* Odstęp między elementami */
}

.with-screenings {
    display: flex;
    flex-wrap: nowrap; /* Pozwala na zawijanie elementów w przypadku mniejszej szerokości rodzica */
    width: 100%; /* Szerokość w przypadku "with-screenings" */
    gap: 10px; /* Odstęp między .screening */
}

.with-screenings-divided {
    display: flex;
    flex-wrap: nowrap; /* Wszystkie elementy obok siebie */
    justify-content: space-between; /* Rozkłada elementy równomiernie */
    gap: 10px; /* Opcjonalny odstęp między elementami */
}

.screening,
.sashe{
    background: linear-gradient(to bottom,  #f0f9ff 0%,#cbebff 47%,#a1dbff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    position: relative;
    border: 2px solid #d0d0d0;
}

/* Wspólne dla .screening */
.with-screenings .screening {
    width: 100%; /* Szerokość 100% */
    min-height: 100px;
}

.with-screenings-divided .screening {
    background-color: blue;
    height: 100px;
    flex: 1; /* Automatyczne dopasowanie szerokości */
}

.card-body-muntins-sashes .sashe {
    height: 200px;
    min-height: 250px;
    flex: 1; /* Automatyczne dopasowanie szerokości */
}

.sashe-1 {
    width: 100%; /* Pełna szerokość */
}

.sashe-2 {
    width: calc(50% - 10px); /* Połowa szerokości z uwzględnieniem odstępów */
}

.sashe-3 {
    width: calc(33.3333% - 10px); /* Jedna trzecia szerokości z uwzględnieniem odstępów */
}

.muntins-horizontal{
    position: absolute;
    left:5px;
    bottom:5px;
    z-index: 10;
}

.muntins-vertical{
    position: absolute;
    right:5px;
    top:5px;
    z-index: 10;
}

.btn-muntin{
    width:20px;
    height: 20px;
    padding: 0px;
    font-size: 12px;
}

.material-nosteel,
.material-steel{
    display:none;
}

.modal .modal-dialog .modal-header{
    background: var(--tertiary-bg);
    color: var(--tertiary-color);
}

.btn-close{
  color: var(--tertiary-color);
}

.modal .modal-dialog  .modal-body{
    color:#000;
}

@media (max-width: 768px) {

}

@media (max-width: 576px) {
    .configurator-header-name h1{
        text-align: center;
        margin-bottom: 15px;
    }
    .configurator-header {
        flex-direction: column; /* Ustawia elementy w pionie, jeden pod drugim */
    }
}
