﻿
@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) {
        .epresto.bartersite div.list epresto-gallery {
            grid-template-columns: 100%;
        }
    }

    @media (max-width: /*470px*/600px) {
        .epresto.bartersite div.list epresto-gallery {
            margin-left: auto;
            margin-right: auto;
            width: 95%;

        }
    }

    .epresto.bartersite article.galleryView {
        display: block;
        background-color: #f2f2f2;
        height: auto;
        border-radius: 8px;
    }

    @media (max-width: 770px) {

        .epresto.bartersite article.galleryView {
            background-color: #f2f2f2;
        }
    }

.epresto.bartersite article.galleryView.disrupter {
    background-image: linear-gradient(-135deg, #c5edf9 0%, #7cc9e3 70%); 
}

.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;
    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: #ffffff;
}

.epresto.bartersite article.galleryView button.imageContainer {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #0684ae;
    overflow: hidden;
    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%;
    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: #0ba4d3;
    background-image: url('../Pix/BackgroundGalleryPlaceholderPattern.svg');
    overflow: hidden;
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder p {
    color: #ffffff;
    text-shadow: 4px 4px 3px #0684ae;
    text-align: center;
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s400 {
    font-size: 100px;
    font-family: merienda;
}

@media (min-width: 420px) {
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s400 {
        font-size: 116px;
    }
}

@media (max-width: 350px) {
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s400 {
        font-size: 126px;
    }
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s300 {
    font-size: 38px;
    line-height: 52px;
    font-family: pacifico;
}

@media (min-width: 420px) {
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s300 {
        font-size: 48px;
    }
}

@media (max-width: 350px) {
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s300 {
        font-size: 68px;
    }
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s200 {
    font-size: 39px;
    font-family: cookie;
}

    @media (min-width: 420px) {
        .epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s200 {
            font-size: 46px;
            line-height: 48px;
        }
    }

@media (max-width: 350px) {
    .epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s200 {
        font-size: 66px;
    }
}

.epresto.bartersite article.galleryView button.imageContainer span.placeholder p.s100 {
    font-size: 23px;
    font-family: oleo;
}

.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;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    color: #004c75;
    word-wrap: break-word;
}

.epresto.bartersite article.galleryView .textContainer h3 {
    font-size: 0.75em;
    font-family: PTsansBold;
    line-height: 1.2em;
    color: #0ba4d3;
    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: #0ba4d3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}

.epresto.bartersite article.galleryView .textContainer small.city {
    font-family: PTsansBold;
    font-size: 0.75em;
    color: #0ba4d3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top:0.9em;
}

article.galleryView .reuser {
min-height: 14em; 
position: relative;
display: flex;
justify-content: center;
align-items: flex-end;

}



@media (max-width: 359px) {
    article.galleryView .reuser {
        min-height: 31em;
    }


}

article .reuser div {
    width: 220px;
    height: 347px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: -20px;
}

@media (max-width: 1100px) {
    article .reuser div {
        width: 200px;
        height: 316px;
    }
}

@media (max-width: 770px) {
    article .reuser div {
        width: 250px;
        height: 395px;
    }
}

@media (max-width: 670px) {
    article .reuser div {
        width: 190px;
        height: 300px;
        width: 200px;
        height: 316px;
        top: -10px;
    }
}

@media (max-width: 600px) {

    article .reuser div {
        /*width: 170px;
        height: 268px;*/
    }
}

@media (max-width: 450px) {

    article .reuser div {
        width: 160px;
        height: 253px;
        width: 170px;
        height: 268px;
    }
}

@media (max-width: 359px) {
    article .reuser div {
        /*width: 320px;
        height: 505px;*/
        width: 300px;
        height: 474px;
    }
}

article .reuser div#motiv1 {
    background-image: url(../Pix/reuserMotiv1.png);
}

article .reuser div#motiv2 {
    background-image: url(../Pix/reuserMotiv2.png);
}

article .reuser div#motiv3 {
    background-image: url(../Pix/reuserMotiv3.png);
}

article .reuser div#motiv4 {
    background-image: url(../Pix/reuserMotiv4.png);
}

article .reuser div#motiv5 {
    background-image: url(../Pix/reuserMotiv5.png);
}

article .reuser div#motiv6 {
    background-image: url(../Pix/reuserMotiv6.png);
}

article .reuser div#motiv7 {
    background-image: url(../Pix/reuserMotiv7.png);
}

article .reuser div#motiv8 {
    background-image: url(../Pix/reuserMotiv8.png);
}

article .reuser div#motiv9 {
    background-image: url(../Pix/reuserMotiv9.png);
}

article .reuser div#motiv10 {
    background-image: url(../Pix/reuserMotiv10.png);
}

article .reuser div#motiv11 {
    background-image: url(../Pix/reuserMotiv11.png);
}

article .reuser div#motiv12 {
    background-image: url(../Pix/reuserMotiv12.png);
}

article .reuser div#motiv13 {
    background-image: url(../Pix/reuserMotiv13.png);
}

article .reuser div#motiv14 {
    background-image: url(../Pix/reuserMotiv14.png);
}

article .reuser div#motiv15 {
    background-image: url(../Pix/reuserMotiv15.png);
}