﻿
@font-face {
    font-family: "cookie";
    src: url('../Fonts/cookie-v11-latin-regular.eot'), url('../Fonts/cookie-v11-latin-regular.woff') format('woff');
}

@font-face {
    font-family: "merienda";
    src: url('../Fonts/merienda-one-v10-latin-regular.eot'), url('../Fonts/merienda-one-v10-latin-regular.woff') format('woff');
}

@font-face {
    font-family: "oleo";
    src: url('../Fonts/oleo-script-v8-latin-regular.eot'), url('../Fonts/oleo-script-v8-latin-regular.woff') format('woff');
}

@font-face {
    font-family: "pacifico";
    src: url('../Fonts/pacifico-v16-latin-regular.eot'), url('../Fonts/pacifico-v16-latin-regular.woff') format('woff');
}


.epresto.bartersite div.list epresto-gallery{
    display: grid;
    grid-template-columns: 24% 24% 24% 24%;
    grid-column-gap: 1.25%;
    grid-row-gap: 12.25px;

    margin-bottom: 10px;
    
}


@media (max-width: 1000px) {
    .epresto.bartersite div.list epresto-gallery {
        grid-template-columns: 32% 32% 32%;
        grid-column-gap: 2%;
        grid-row-gap: 15px;
    }
}

@media (max-width: 770px) {
    .epresto.bartersite div.list epresto-gallery {
        grid-template-columns: 49% 49%;
        grid-column-gap: 2%;
        grid-row-gap: 9px;
    }
}

@media (max-width: 359px) {
/*@media (max-width: 400px) {*/ /*für die Weihnachtsaktion*/
        .epresto.bartersite div.list epresto-gallery {
            grid-template-columns: 100%;
        }
    }

@media (max-width: 585px) {
    .epresto.bartersite div.list epresto-gallery {
        margin-left: auto;
        margin-right: auto;
        width: 95%;
    }
}

.epresto.bartersite article.galleryView {
    display: block;
    background-color: #ffffff;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 770px) {

    .epresto.bartersite article.galleryView {
        background-color: #ffffff;
    }
}

.epresto.bartersite article.galleryView.disrupter {
    /*background-color: #ffffff;*/
}

.epresto.bartersite article.galleryView div.coverage { 
    width: 100%;
    height: 100%;
    background-color: transparent;
    font-size: 1em;
    text-align: left;
    cursor: pointer;
    padding: 14px;
    border: 0px;
    border-radius: inherit;
    transition: background-color 0.25s;
    /* neu */
    display: inline-flex; /* keep the inline nature of buttons */
    align-items: flex-start; /* this is default */
    flex-direction: column;

}

.epresto.bartersite article.galleryView div.coverage:hover {
    background-color: #999999;
}

.epresto.bartersite article.galleryView div.coverage:hover .textContainer small, .epresto.bartersite article.galleryView div.coverage:hover .textContainer h3, .epresto.bartersite article.galleryView div.coverage:hover .textContainer h2 {
    color: #ffffff;
}



.epresto.bartersite article.galleryView button.imageContainer {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #efefef;
    overflow: hidden;
    
    /* neu */
    width: 100%;
    display: block;
    cursor: pointer;
}

.epresto.bartersite article.galleryView button.imageContainer:focus {
    outline: 0px;
}

.epresto.bartersite article.galleryView button.imageContainer img {
    position: absolute;
    width: auto;
    height: 100%;
    left: 50%;
    top: 50%;
    z-index: 20;
    transform: translate(-50%,-50%);
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-color: #ff6b00;
    overflow: hidden;
        
    color: #ffffff;
    text-shadow: 4px 4px 3px #bf5000;        
    line-height: 52px;
    font-family: pacifico;
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder.want {
    background-image: url('../Pix/BackgroundGalleryPlaceholderPattern4.svg');
    font-size: 38px;
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder.barter {
    background-image: url('../Pix/BackgroundGalleryPlaceholderPattern.svg');
    font-size: 30px;
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder.giveAway {
    background-image: url('../Pix/BackgroundGalleryPlaceholderPattern2.svg');
    font-size: 28px;
}

/*@media (min-width: 420px) {
.epresto.bartersite article.galleryView button.imageContainer span.placeholder.want {
    font-size: 48px;
}
}*/

@media (max-width: 359px) {
    /*@media (max-width: 400px) {*/ /*für die Weihnachtsaktion*/
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder.want {
        font-size: 68px;
    }
}

/*@media (min-width: 420px) {
.epresto.bartersite article.galleryView button.imageContainer span.placeholder.barter {
    font-size: 43px;

}
}*/

@media (max-width: 359px) {
    /*@media (max-width: 400px) {*/ /*für die Weihnachtsaktion*/
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder.barter {
        font-size: 68px;
    }
}


/*@media (min-width: 420px) {
.epresto.bartersite article.galleryView button.imageContainer span.placeholder.giveAway {
    font-size: 30px;

}
}*/

@media (max-width: 359px) {
    /*@media (max-width: 400px) {*/ /*für die Weihnachtsaktion*/
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder.giveAway {
        font-size: 44px;
    }
}




.epresto.bartersite article.galleryView .textContainer {
    min-height: 7em;
    width:100%;
}

.epresto.bartersite article.galleryView .textContainer header {
    background-color: transparent;
    padding: 0px;
    margin: 0px;
}

.epresto.bartersite article.galleryView .textContainer h2 {
    font-size: 1em;
    font-weight: normal;
    letter-spacing: 0.02em;
    line-height: 1.2em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    color: #333333;
    word-wrap: break-word;
}

.epresto.bartersite article.galleryView .textContainer h3 {
    font-size: 0.75em;
    font-family: PTsansBold;
    line-height: 1.2em;
    color: #ff6b00;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2em;
}

.epresto.bartersite article.galleryView .textContainer small {
    font-family: PTsansBold;
    font-size: 0.75em;
    color: #ff6b00;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.epresto.bartersite article.galleryView .textContainer small.city {
    font-family: PTsansBold;
    font-size: 0.78em;
    color: #ff6b00;
    text-transform: unset;
    letter-spacing: 0.05em;
    display: block;
}

.epresto.bartersite article.galleryView .textContainer small.dateUpdated {
    letter-spacing: 0.02em;
    color: #333333;
    margin-top: 0.9em;
}

article.galleryView .reuser {
    height: 100%;
    min-height: 360px;    
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 359px) {

    article.galleryView .reuser {
        min-height: 440px;
    }
}


article .reuser div {
    width: 100%;
    height: inherit;
    min-height: inherit;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    border-radius: 8px;
}

/*article .reuser div#motiv1 {
    background-image: url(../Pix/Bekanntmachung_Gradestraße_TVM_Kachel_362x485.jpg);
    background-size: cover;
    position: relative;
}*/

/*article .reuser div#motiv1 {*/
    /*background-image: url(../Pix/Bekanntmachung-Gradestr-vorne.png), url(../Pix/Bekanntmachung-Gradestr-hinten.jpg);*/
    /*background-image: url(../Pix/Aktionskachel-vorne.png), url(../Pix/Aktionskachel-hinten.jpg);
    background-repeat: no-repeat, no-repeat;
    background-size: 100%, 100%;
    background-position: bottom, top;
}*/


/*@media (min-width: 360px) and (max-width: 500px) {

    article .reuser div#motiv1 {
        background-size: 100%, 150%;
    }
}
*/

/* aus STATE22RC */
/*article .reuser div#motiv1 {
    background-image: url(../Pix/Abfallarmes_Weihnachten_TVM.png);
}*/

article .reuser div#motiv1 {
    background-image: url(../Pix/230807_BSR_Kiezlocker_Aktionskachel_neu.jpg);
}