/* Gallery page styles
===================================*/


/* Section 1 */
.section1ContentCont{
    position: absolute;
    background-color: rgba(249, 249, 249, 0.8509803921568627);
    padding: 20px;
    top: 14%;
    margin: auto;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.09019607843137255);
    left: 0;
    text-align: center;
}
.section1ContentCont h1{
    color: #000;
    border-bottom: 0;
    margin: 0;
    font-family: "Avenir LT Heavy";
    padding-bottom:0;
    vertical-align: top;
}
.section1ContentCont h1 span{
    color: #b50b1a;
    font-family: "Avenir LT Heavy";
}


.section2Img {
    margin: 10px;
    display: inline-block;
    margin: 10px;
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    vertical-align: top;
}
.section2Img img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    max-width: none;
    min-width: 100%;
    opacity:0.8;
    -webkit-transition: opacity 0.1s;
    transition: opacity 0.1s;
}
.portrait.section2Img img {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 100%;
}
.section2Img:hover img{
    opacity:1;
}
.instaFeedCont{
    margin-bottom:20px;
}

.galleryCatItem {
    display: inline-block;
    padding: 4px 20px;
    border: 1px solid #333;
    margin: 4px;
    cursor: pointer;
    transition:border 0.1s;
}
.galleryCatItem:hover{
    border: 1px solid #ba0b1b;
}
.galleryCatItemSel{
    border: 1px solid #ba0b1b;
    color: #b50b1a;
}

/* -----------------------------------*/
/* ------->>> Media Queries <<<-------*/
/* -----------------------------------*/



/* Media query
===========================================*/
@media (max-width: 767px) {
    .section1{
        position:relative;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        box-sizing: border-box;
        padding: 30px;
    }
    .no-webp .section1{
        background-image: url("/includes/images/content/gallery_banner.png");
    }
    .yes-webp .section1{
        background-image: url("/includes/images/content/gallery_banner.webp");
    }
    .section1 img{
        display:none;
    }
    .section1ContentCont{
        position:relative;
    }
    .section1ContentCont h1{
        font-size:20px;
        line-height:32px;

    }

    .section2Img{
    width: 130px;
    height: 130px;
    }
}
