/* Banner styles for home page */
.banner-title{
    margin-bottom: 2rem!important;

}
/* Common banner styles */
.banner_holder,
.banner_holder_multiple,
.banner_event_multiple {
    margin-bottom: 20px;
}

/* Single product banner */
.banner_holder {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.banner_holder > div:first-child {
    flex: 1;
}

.banner_holder > div:last-child {
    flex: 1;
    text-align: center;
}

.banner_image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

/* Multiple products banner */
.banner_holder_multiple {
    display: flex;
    gap: 20px;
}

.banner_product_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.banner_product_content {
    flex: 2;
}

.banner_product_image {
    flex: 1;
    text-align: center;
}

.banner_product_description {
    margin-bottom: 15px;
}

/* Multiple events banner */
.banner_event_multiple {
    display: flex;
    gap: 1rem;
}

.banner_calendar_event {
    flex: 1 1 calc((100% - 2rem)/3);
    display: flex;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 5px;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
}


.banner_event_multiple .calendar_date {
    width: unset;
    text-align: left;
    border-right: none;
    color: var(--dark);
    padding: 0;
    display: flex;
    align-items: center;

    .calendar_day {
        margin-right: .5rem;
        font-size: 26px;
        font-weight: bold;
    }

    .calendar_month {
        font-size: 26px;
    }
}

.banner_event_single{
    .calendar_content {
        flex: 1;
        text-align: left;
        padding: 1rem;
    }


}
.calendar_content h4 {
    margin-bottom: 1rem;
    font-size: 18px;
    color: var(--dark);
    font-weight: 400;
    text-transform: unset;
}

.calendar_content p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.calendar_icon {
    width: 100%;
    text-align: right;
}

.flag {
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}


.banner_event_single{
    padding: .5rem 1rem;
    background-color: var(--light);
    border-radius: 10px;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
}

.calendar_responsive_content{
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;

    .calendar_icon{
        width: 3rem;
        vertical-align: middle;
        color: var(--text-color);
        padding: 0 1rem;
    }
}

.calendar_event_type_detail{
    border: 1px solid rgba(0,0,0,.1);
    .calendar_date{
        padding: .5rem 1rem .5rem 0;
    }
    h4{
        margin-bottom: .5rem;
    }
}

.banner_event_single .calendar_date {
    width: 4rem;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.13);
    color: var(--dark);
    padding: 1rem 1rem 1rem 0;
    display: block;

    .calendar_day{
        font-size: 32px;
        font-weight: bold;
    }

    .calendar_month{
        font-size: 24px;
    }
}

.calendar_person {
    margin-left: 1rem;
    text-align: center;
    overflow: hidden;
    min-width: 130px;
    max-height: 130px;
}

.calendar_person img {
    width: fit-content;
    max-width: 400px;
}

.event-akcia {
    background-color: #009FE3;
    /*border-left: 4px solid var(--primary);*/
    color: #fff!important;
}
.event-akcia h4,.event-akcia  .calendar_month,.event-akcia  .calendar_day {
    color: #fff!important;
}
.event-akcia  p {
    color: #ffffffaa!important;
}

.event-akcia i{
    color: #fff!important;

}

/* Responsive styles */
@media (max-width: 991px) {
    .banner_holder,
    .banner_event_multiple,
    .banner_product_item {
        flex-direction: column;
    }
    
    .banner_holder > div:last-child,
    .banner_product_image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .banner_holder > div:first-child,
    .banner_product_content,
    .banner_event_content {
        order: 2;
    }
    
    .banner_event_date {
        margin-bottom: 20px;
    }
    
    .banner_calendar_event {
        flex: 1 1 100%;
    }

    .calendar_event_responsive {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar_event .calendar_date {
        width: 100%;
        border-right: none;
        padding: 1rem 1rem 0;
        display: flex;
        align-items: center;
    }
}

@media only screen and (max-width: 768px) {
    .calendar_responsive_content {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
        padding: 1rem;
        .calendar_content {
            padding: 0;
        }
    }
    .calendar_responsive_content {
        .calendar_icon {
            width: 100% !important;
            text-align: right;
            padding: 0 !important;
            color: var(--primary);
        }
    }
}

@media (max-width: 575px) {
    .calendar_icon span {
        display: none;
    }
}