
.main-row {
    justify-content: space-between;
}

@media (min-width: 1500px) {
    .main-row {
        justify-content: start;
    }
}

@media (min-width: 992px) {
    .nav-column {
        flex: 0 0 290px;
    }
}

@media (min-width: 1300px) {
    .nav-column {
        flex: 0 0 380px;
    }
}

@media (min-width: 1500px) {
    .nav-column {
        flex: 0 0 auto;
        width: 430px;
        margin-right: clamp(0px, calc(100% - 1645px), 205px);
        justify-content: start;
    }
}

.main-column {
    flex: 1;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1500px) {
    .main-column {
        flex: 0 0 auto;
        width: 930px;
    }
}


.contblok-in-category {
    & {
        display: flex;
        position: relative;
        flex-direction: column;
        gap: 30px;
    }

    @media (min-width: 1200px) {
        & {
            flex-direction: row;
        }
    }

    .kontakty {
        flex: 1;
    }

    .obrazek {
        margin-bottom: 1rem;
        width: 100%;

    }

    @media (min-width: 768px) {
        .obrazek {
            margin-bottom: 1rem;
            width: 100%;

        }
    }

    @media (min-width: 1200px) {
        .obrazek {
            margin-bottom: 2rem;
            flex: 1;

        }
    }


    .kontakty {
        margin-bottom: 2rem;
    }

    .kontakty p {
        margin-bottom: 0;
    }

    .obrazek img {
        width: 100%;
        height: auto;
        overflow: hidden;
        object-fit: cover;
    }

    @media (min-width: 1200px) {
        .obrazek img {
            height: 265px !important;
        }
    }
    @media (min-width: 1500px) {
        .obrazek img {
            width: 100%;
            height: 265px !important;;
            overflow: hidden;
            aspect-ratio: 400/250;
            object-fit: cover;
        }
    }

    @media (max-width: 575.98px) {

        .table.stack-on-mobile,
        .table.stack-on-mobile tbody,
        .table.stack-on-mobile tr,
        .table.stack-on-mobile td {
            display: block;
            width: 100%;
        }

        .table.stack-on-mobile tr {
            margin-bottom: 1rem;
            border: 1px solid #dee2e6;
            border-radius: .5rem;
            overflow: hidden;
            background: #fff; /* aby byl blok čitelný */
        }

        .table.stack-on-mobile td {
            border: 0 !important; /* skryje vnitřní čáry */
            padding: 0.25rem .75rem;
            box-shadow: none;
        }

        .table.stack-on-mobile td:first-child {
            background: #dfdfdf;
        }

        /* odstranění vnější hranice, už ji dává každý blok */
        .table.stack-on-mobile.table-bordered {
            border: 0;
        }
    }
}

.branch-galery {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    margin-top: 2rem;
    flex-direction: column;
    row-gap: 2rem;
    flex-wrap: wrap;
}

.branch-galery a {
    width: 100%;
    display: block;
    border: none;
}

.branch-galery img {
    width: 100%;
}

@media (min-width: 576px) {
    .branch-galery {
        flex-direction: row;
    }

    .branch-galery a {
        width: calc(50% - 15px);
    }


}


#gealan-plus-accordion  {

    @media (min-width: 992px) {
        & {
            /*margin-top: 3rem;*/
        }
    }

    .card {
        border: none;
        border-bottom: 1px solid #a2d6fe;
    }

    .card-header {
        padding: 0;
        background-color: transparent;
        border: none;
    }

    .accordion-control {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0.5rem 1.5rem 0.5rem;
        background-color: #bce9ff;
        transition: background-color 0.3s ease-in-out;
        position: relative;
        gap: 1rem;
    }

    @media (min-width: 576px) {
        .accordion-control {
            padding: 0.8rem 2rem 0.8rem 2rem;
        }
    }

    @media (min-width: 992px) {
        .accordion-control {
            padding: 0.8rem 2rem 0.8rem 2rem;
        }
    }

    .accordion-control.collapsed {
        background-color: transparent;
    }

    .accordion-control:after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 50px;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid #bce9ff;
        opacity: 1;
        transition: opacity 0.3s ease-in-out, bottom 0.3s ease-in-out;
        z-index: 0;
    }

    .accordion-control.collapsed:after {
        opacity: 0;
        bottom: 5px;
    }

    .accordion-control .accordion-arrow {
        display: flex; /* pro správnou rotaci*/
        width: 20px; /* pro správnou rotaci*/
        font-size: 32px;
        position: relative;
        top: 2px;
        color: var(--g-color-1);
        transform: rotateZ(180deg);
        transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    }

    .accordion-control.collapsed .accordion-arrow {
        transform: rotateZ(0);
        color: var(--g-color-1);
    }

    .title-container {
        display: flex;
        align-items: center;
    }

    .accordion-control .title-container .title {
        font-weight: 500;
        font-size: 20px;
        color: var(--g-color-1);
        transition: color 0.3s ease-in-out;
        font-family: var(--font-primary);
        line-height: 36px;
    }

    @media (min-width: 992px) {
        .accordion-control .title-container .title {
            font-size: 20px;
        }
    }

    .accordion-control.collapsed .title-container .title {
        color: black;
    }

    .ico-controller {
        font-weight: 600;
        font-size: 28px;
        width: 26px;
        height: 26px;
        line-height: 50px;
        text-align: center;
        color: var(--g-color-1);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        margin-right: 20px;
        min-width: 40px;
        transition: background-color 0.3s ease-in-out;
    }

    .accordion-control.collapsed .ico-controller {
        background-color: transparent;
        color: var(--g-color-1);
    }

    .card-body {
        padding: 1rem 2rem 0.5rem 2rem;
    }
}

/* ALERTS */
#reklamace-alert.alert-success,
#faq-alert.alert-success {
    color: white;
    background-color: var(--g-color-2);
    border-color: var(--g-color-2-hover);
}

/* ALERS - end */
