/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

#page-description-manager {
    --g-slider-corner-radius: 8px;
}

#page-description-manager .page-description-title {
    font-weight: 700;
}

#page-description-manager .category-image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 340px;
    position: relative;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

#page-description-manager .page-description-title { font-size: calc(26 / var(--g-base) * 1rem); }

@media(min-width: 992px){
    #page-description-manager .page-description-title { font-size: calc(28 / var(--g-base) * 1rem); }
}

@media(min-width: 1300px) {
    #page-description-manager .category-image {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 454px;
        position: relative;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }
}

/*#region Category image v1 a v2 */
#page-description-manager .category-image img {
    height: 100%;
    position: absolute;
    top: 0;
}

/* v1 Memo: Verze, kdy obrázek drží poměr 4:3 */
#page-description-manager .category-image img {
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: bottom;
    object-position: bottom;
}

/* version 2 - img na 50vw
Memo: toto je pro verzi, kdy obrázek může být libovolně široký a přesahuje do konce obrazovky.
Klient nakonec tuto verzi odmítl, protože by musel všechny obrázky předělat na poměr 4:3

.category-image img {
    max-width: calc(50vw - 10px);
    object-fit: cover;
}
*/

/*#endregion Category image v1 a v2 */
@media(min-width: 1300px) {

    #page-description-manager .category-container:nth-child(even) .category-image img {
        left: 0;
    }

    #page-description-manager .category-container:nth-child(odd) .category-image img {
        right: 0;
    }

    #page-description-manager .category-image:after {
        content: "";
        height: 100%;
        width: 3px;
        position: absolute;
        top: 0;
        background: var(--g-color-2);
        /* border-top-left-radius: var(--g-slider-corner-radius); */
        /* border-top-right-radius: var(--g-slider-corner-radius); */
    }
}

#page-description-manager .category-container:nth-child(odd) .category-image:after {
    right: 0;
}

#page-description-manager .category-container:nth-child(even) .category-image:after {
    left: 0;
}

#page-description-manager .page-description-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#page-description-manager .description-button {
    display: block;
    background: var(--g-color-1);
    color: white;
    text-decoration: none;
    font-family: var(--font-primary);
    padding: 4px 14px;
    margin-right: 10px;
    border-radius: 4px;
    min-width: 150px;
    text-align: center;
    font-size: 17px;
}

@media (min-width: 576px) {

}


#page-description-manager .category-image-icon {
    width: 28px;
    height: 28px;
    position: absolute;
    top: 26px;
    background: #4a2828;
    border-radius: 50%;
    z-index: 15;
}

#page-description-manager .category-container:nth-child(even) .category-image-icon {
    left: -13px;
}

#page-description-manager .category-container:nth-child(odd) .category-image-icon {
    right: -13px;
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}

#page-description-manager .category-container .description-content-column {
    background: rgb(239 239 239 / 90%);
}

@media(min-width: 768px) and (max-width: 991px) {
    #page-description-manager .category-container .description-content-column {
        top: -85px;
        margin-left: 8rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}


@media(min-width: 992px) and (max-width: 1299px) {
    #page-description-manager .category-container .description-content-column {
        max-height: 420px;
        left: -100px;
        top: 200px;
        margin-bottom: 275px!important;
        margin-left: -130px;
        margin-right: -130px;
        max-width: 620px;
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 620px !important;
        flex: 0 0 620px !important;
    }
}

@media(min-width: 992px) and (max-width: 1299px) {
    #page-description-manager .category-container .description-content-column-img {
        left: 100px;
        margin-bottom: 150px!important;
    }
}

@media(min-width: 1300px) {
    #page-description-manager .category-container .description-content-column {
        background: white;
    }
}

#page-description-manager .svg-arrow-right-think {
    position: relative;
    z-index: 999;
}

#page-description-manager .category-image-icon .svg-arrow-right-think path {
    fill: white;
    z-index: 999;
}

#page-description-manager .category-image-icon:after {
    content: "";
    position: absolute;
    top: -7px;
    width: calc(100% + 14px);
    height: calc(100% + 14px);
    left: -7px;
    background: #ffffff;
    z-index: 6;
    border-radius: 50%;
}

#page-description-manager .category-image-icon:before {
    content: "";
    position: absolute;
}

#page-description-manager .category-image-icon:before {
    content: "";
    position: absolute;
    top: 0;
    background: #d7d7d7;
    width: 100%;
    height: 100%;
    z-index: 99;
    border-radius: 50%;
}



#page-description-manager .bottom-line-fluid {
    background: #f2f2f2;
    position: absolute;
    width: calc(50vw - 34px);
    height: 1px;
}

#page-description-manager .category-container:nth-child(even) .bottom-line-fluid {
    left: 0;
}
#page-description-manager .category-container:nth-child(odd) .bottom-line-fluid {
    right: 0;
}

.btn-description-show-more {
    display: none;
}
.btn-description-show-more.description-show-more-active{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    z-index: 999;
    top: 287px;
    width: 100%;
    height: 72px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(255,255,255,0.0)), color-stop(50%, rgba(255,255,255,1)));
    background: -o-linear-gradient(top, rgba(255,255,255,0.0) 0, rgba(255,255,255,1) 50%);
    background: linear-gradient(to bottom, rgba(255,255,255,0.0) 0, rgba(255,255,255,1) 50%);
    text-align: center;
}

/*#region 3/3 fungující tlačítko, které zobrazuje a schovává více textu, ovšem klient to nakonec nechce*/
/*.description-content-frame {*/
/*    max-height: 335px;*/
/*    transition: max-height 0.3s ease-out;*/
/*}*/
/*#endregion*/
