﻿
.ModuleUnikumContent #main {
    margin-top: 0;
}

@media screen and (max-width: 767.9px) {
    .ModuleUnikumContent #main {
        margin-top: 45px;
    }
}


/************ Content Page Overview Designer *********************/

#designerOverviewContainer
{
    max-width: 680px;
    margin: 45px auto 0 auto;
}

#designerOverviewContent {
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
    justify-content: space-around;
}

.designerColumn
{
    width: Calc(50% - 50px);
}

#designerOverviewContent li {
    list-style: none;
    padding: 0 0 15px 0;
    margin: 0;
}

#main #designerOverviewContent li:before {
    display: none;
}

@media screen and (max-width: 767.9px) {

    #designerOverviewContent {
        display: inline-block;
    }

    .designerColumn {
        width: 100%;
    }
}

/************ Content Page Overview News *********************/

.galleryItemTextContainer {
    text-align: center;
    display: inline-block;
    margin-top: 15px;
    max-width: 100%; 
}

.galleryItemTextContainer h2 {
    font-weight: 400;
    font-size: 19px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* Wäre ein überlagerte Farbe bei Hover */
/*.contentPageItemLink {
    display: inline-block;
    text-decoration: none;
    padding: 0px;
    border: 0px;
    background-image: initial;
    background-position: 0px center;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    text-align: left;
    cursor: pointer;
    position: absolute;
    inset: 1px;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(var(--UnikumAccentColor), 0.9);
    background-color: var(--UnikumAccentColor);
    transition: all 0.2s ease;
    z-index: 2;
}

.contentPageItemLink:hover {
    opacity: 0.5;
}*/

.contentPageItemLink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.galleryItemImageContainer img,
#contentImageContainer img {
    display: block;
    transition: transform 0.4s ease;
}


#unikumGallery[data-contentpagetype="Lookbook"] .contentPageItemLink:hover ~ .item-content img,
#unikumGallery[data-contentpagetype="UnikumLook"] .contentPageItemLink:hover ~ .item-content img,
#contentImageContainer .contentPageItemLink:hover ~ img {
    transform: scale(1.05);
}

@media screen and (max-width: 767.9px) {

    #unikumGallery[data-contentpagetype="News"] #unikumGalleryContent {
        display: inline-block;
    }
}


/************ Content Page Overview Lookbook *********************/

.contentPageItemGetInTouchIcon {
    font-size: 25px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

@media screen and (max-width: 767.9px) {

    .contentPageItemGetInTouchIcon {
        font-size: 20px;
        top: 8px;
        right: 8px;
    }
}

@media screen and (max-width: 400px) {

    .contentPageItemGetInTouchIcon {
        font-size: 12px;
        top: 5px;
        right: 5px;
    }
}



/************ Content Page Overview Homepage *********************/

#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer {
    display: initial;
    margin-top: initial;
    max-width: initial;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 23px;
    font-weight: 300;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0, 0.30);
    text-decoration: underline;
}

#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer h1,
#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer h2,
#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer h3 {
    color: #fff;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0, 0.30);
    text-decoration: underline;
}

#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer.textDark,
#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer.textDark h1,
#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer.textDark h2,
#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer.textDark h3 {
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255 , 255, 0.30);
}

/*#unikumGallery[data-contentpagetype="Homepage"] .contentPageItemLink:hover {
    background-color: rgba(255, 255, 255, 0.1);
}*/

#unikumGallery[data-contentpagetype="Homepage"] .contentPageItemLink:hover ~ .item-content .galleryItemTextContainer,
#unikumGallery[data-contentpagetype="Homepage"] .contentPageItemLink:hover ~ .item-content .galleryItemTextContainer h1,
#unikumGallery[data-contentpagetype="Homepage"] .contentPageItemLink:hover ~ .item-content .galleryItemTextContainer h2,
#unikumGallery[data-contentpagetype="Homepage"] .contentPageItemLink:hover ~ .item-content .galleryItemTextContainer h3 {
    /*color: var(--UnikumAccentColor);*/
}


#unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer p:last-child {
    padding: 0;
}

@media screen and (max-width: 767.9px) {

    #unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer {
        font-size: 19px;
        min-width: max-content;
    }
}

@media screen and (max-width: 500px) {

    #unikumGallery[data-contentpagetype="Homepage"] .galleryItemTextContainer {
        font-size: 15px;
    }
}




/************ PageItem *********************/


#unikumContentPageItemContent {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    margin-bottom: 20px;
}

#unikumContentPageItemContent.noImage {
    display: inline-block;
    margin-top: 30px;
}

#contentTextContainer h1 {
    font-size: 28px;
    font-weight: 500;
}

#contentTextContainer {
    width: Calc(50% - 10px);
    font-weight: 400;
    font-size: 18px;
    padding: 30px 25px 70px 0;
    align-content: center;
}

.textTop #contentTextContainer {
    align-content: start;
}

.textBottom #contentTextContainer {
    align-content: end;
}

#contentAdditionalText {
    font-size: 14px;
}

#unikumContentPageItemContent.noImage #contentTextContainer {
    width: initial;
}

/*#contentTextContainer.smallContextText {
    font-size: 24px;
}

#contentTextContainer.largeContextText {
    font-size: 17px;
}*/

#contentImageContainer {
    position: relative;
    width: Calc(50% - 10px);
    overflow: hidden;
}

#contentImageContainer img {
    vertical-align: top;
}


/**** PageItem Gallery *******/
#unikumGalleryContent {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12 columns */
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    position: relative;
}

.galleryItem {
    position: relative;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.galleryItemImageContainer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.galleryItemImageContainer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/7;
    vertical-align: top;
}

.galleryItemImageTextContainer,
.lookbookContentImageTextContainer {
    text-align: left;
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0.3px 0.3px 3px rgba(0, 0, 0, 0.3);
    font-size: 28px;
}

/* image formats */
.portraitSmall {
    grid-column-end: span 4;
    align-self: end;
}

.portraitSmall .galleryItemImageContainer img {
    aspect-ratio: 5/7;
}

.portraitLarge {
    grid-column-end: span 6;
    align-self: end;
}

.portraitLarge .galleryItemImageContainer img {
    aspect-ratio: 5/7;
}

.landscape {
    grid-column-end: span 8;
    align-self: end;
}

.landscape .galleryItemImageContainer img {
    aspect-ratio: 780/532;
}

.columnStart1 {
    grid-column-start: 1; /* Start on the first column */
}

.columnStart2 {
    grid-column-start: 2; /* Start on the second column */
}

.columnStart3 {
    grid-column-start: 3;
}

.columnStart4 {
    grid-column-start: 4;
}

.columnStart5 {
    grid-column-start: 5;
}

.columnStart6 {
    grid-column-start: 6;
}

.columnStart7 {
    grid-column-start: 7;
}

.columnStart8 {
    grid-column-start: 8;
}

.columnStart9 {
    grid-column-start: 9;
}

@media screen and (max-width: 767.9px) {
    #unikumGalleryContent {
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    #unikumContentPageItemContent {
        display: inline-block;
        margin-bottom: 20px;
    }

    #contentTextContainer {
        width: initial;
        font-size: 17px;
        padding: 0;
    }

    #contentImageContainer {
        width: initial;
    }

    #contentTextContainer h1 {
        font-size: 22px;
    }

    .galleryItemTextContainer h2 {
        font-size: 17px;
    }

    .galleryItemImageTextContainer,
    .lookbookContentImageTextContainer {
        left: 5px;
        bottom: 5px;
        font-size: 20px;
    }

    .textBottom #contentTextContainer {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 400px) {

    .galleryItemImageTextContainer,
    .lookbookContentImageTextContainer {
        left: 3px;
        bottom: 3px;
        font-size: 10px;
    }

    .galleryItemImageTextContainer,
    .lookbookContentImageTextContainer {
        font-size: 10px;
    }
}

/************ PageItem Lookbook *********************/
#lookbookContentContainer
{
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
}

#lookbookContentImagesContainer,
#lookbookContentTextContainer {
    width: Calc(50% - 25px);
    position: relative;
}

.lookbookContentImage
{
    position: relative;
}

#lookbookContentText {
    margin-top: 200px;
    text-align: center;
}

#lookbookContentText h1,
#lookbookContentText h2,
#lookbookContentText h3,
#lookbookContentText h4,
#lookbookContentText h5,
#lookbookContentText h6 {
    text-align: center;
}

.getInTouchLink {
    font-size: 20px;
}

#lookbookDesignerLinkContainer {
    margin-top: 80px;
}

#lookbookDesignerLinkContainer a {
    font-weight: 500;
    margin-right: 20px;
}

#lookbookDesignerLinkContainer a:last-child {
    margin-right: 0;
}

@media screen and (max-width: 767.9px) {

    #lookbookContentContainer {
        column-gap: 20px;
    }

    #lookbookContentImagesContainer,
    #lookbookContentTextContainer {
        width: Calc(50% - 10px);
    }

    #lookbookContentText {
        margin-top: 0;
    }

    #lookbookDesignerLinkContainer {
        margin-top: 30px;
    }

    #lookbookDesignerLinkContainer a {
        margin-right: 0;
        display: block;
    }

    .getInTouchLink {
        font-size: 17px;
    }

    #lookbookContentText h1, #lookbookContentText h2, #lookbookContentText h3, #lookbookContentText h4, #lookbookContentText h5, #lookbookContentText h6 {
        font-size: 17px;
    }
}