@font-face {
    font-weight: normal;
    font-style: normal;
    font-family: 'feathericons';
    src: url('../fonts/feathericons/feathericons.eot?-8is7zf');
    src: url('../fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'), url('../fonts/feathericons/feathericons.woff?-8is7zf') format('woff'), url('../fonts/feathericons/feathericons.ttf?-8is7zf') format('truetype'), url('../fonts/feathericons/feathericons.svg?-8is7zf#feathericons') format('svg');
}

.instagram-grid {
    position: relative;
    margin: 0 auto;
    list-style: none;
    text-align: center;
    display: grid;
    grid-gap: 12px;
    grid-auto-flow: dense;
    padding: 0;
}

    /* Common style */
    .instagram-grid instagram-figure {
        position: relative;
        float: left;
        overflow: hidden;
        margin: 10px 0px;
        aspect-ratio: 3 / 4;
        text-align: center;
        cursor: pointer;
    }




        .instagram-grid instagram-figure img {
            position: relative;
            display: block;
            min-height: 100%;
            max-width: 100%;
            /*opacity: 0.8;*/
        }

        .instagram-grid instagram-figure figcaptionIG {
            padding: 5em 2em;
            color: #fff;
            /*font-size: 1.25em;*/
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

            .instagram-grid instagram-figure figcaptionIG::before,
            .instagram-grid instagram-figure figcaptionIG::after {
                pointer-events: none;
            }


            .instagram-grid instagram-figure figcaptionIG,
            .instagram-grid instagram-figure figcaptionIG > a {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

                /* Anchor will cover the whole item by default */
                /* For some effects it will show as a button */
                .instagram-grid instagram-figure figcaptionIG > a {
                    z-index: 1000;
                    text-indent: 200%;
                    white-space: nowrap;
                    font-size: 0;
                    opacity: 0;
                }

        .instagram-grid instagram-figure h2 {
            word-spacing: -0.15em;
            font-weight: 300;
        }

            .instagram-grid instagram-figure h2 span {
                font-weight: 800;
            }

        /*.instagram-grid instagram-figure h2,
.instagram-grid instagram-figure p {
	margin: 0;
}*/

        .instagram-grid instagram-figure p {
            letter-spacing: 1px;
            font-size: 68.5%;
        }

/*
.grid-gallery {
    padding: 0px 0px 5px 5px;
}*/

/*---------------*/
/***** Sadie *****/
/*---------------*/
instagram-figure.effect-sadie figcaptionIG::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(top, rgba(72,76,97,0) 0%, rgb(98 98 98 / 80%) 75%);.0
    background: linear-gradient(to bottom, rgba(72,76,97,0) 0%, rgb(98 98 98 / 80%) 75%);
    content: '';
    opacity: 0;
    -webkit-transform: translate3d(0,50%,0);
    transform: translate3d(0,50%,0);
}

instagram-figure.effect-sadie h2 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    /*color: #484c61;*/
    -webkit-transition: -webkit-transform 0.35s, color 0.35s;
    transition: transform 0.35s, color 0.35s;
    -webkit-transform: translate3d(0,-50%,0);
    transform: translate3d(0,-50%,0);
}

instagram-figure.effect-sadie figcaptionIG::before,
instagram-figure.effect-sadie p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

instagram-figure.effect-sadie p {
    /*position: absolute;*/
    top: 0;
    bottom: 0;
    left: 0;
    /*	padding: 1em 1.5em;*/
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transform: translate3d(0,10px,0);
    transform: translate3d(0,10px,0);
    max-height: 100%;
    overflow: hidden;
    /*display: flex;
    align-items: center;*/
}

instagram-figure.effect-sadie:hover h2 {
    color: #fff;
    -webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
    transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
}

instagram-figure.effect-sadie:hover figcaptionIG::before,
instagram-figure.effect-sadie:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    font-size:14px;
}

@media screen and (max-width: 50em) {
    .content {
        padding: 0 10px;
        text-align: center;
    }

    .instagram-grid instagram-figure {
        display: inline-block;
        float: none;
        /*margin: 10px auto;*/
        width: 100%;
    }
}


.popupGrid {
    /*	position: absolute;
  	top: 50%;
  	right: 50%;
  	transform: translate(50%,-50%);*/
    margin: 0;
    max-width: 1070px;
    background: white;
}




    .popupGrid a {
        color: inherit;
        text-decoration: none;
    }

.popup {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    /*background: rgba(0,0,0,0.7);*/
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out .2s;
    transition: opacity .5s ease-in-out .2s;
}

    .popup.pop {
        opacity: 1;
        -webkit-transition: opacity .2s ease-in-out 0s;
        transition: opacity .2s ease-in-out 0s;
    }

        .popup.pop instagram-figure {
            margin-top: 0;
            opacity: 1;
        }

    .popup instagram-figure {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        margin-top: 30px;
        opacity: 0;
        /*width: 40%;*/
    }

        .popup instagram-figure img {
            position: relative;
            z-index: 2;
            /*border-radius: 15px;*/
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 6px 30px rgba(0, 0, 0, 0.4);
        }

/*
 	.popup instagram-figure figcaptionIG {
		position: absolute;
		bottom: 10px;
		z-index: 2;
		width: 100%;
		border-radius: 0 0 15px 15px;
		padding: 100px 20px 20px 20px;
		color: #fff;
		font-family: 'Open Sans', sans-serif;
		font-size: 16px;
	}
*/

.zh .popup instagram-figure figcaptionIG {
    font-size: 20px;
}

.popup instagram-figure figcaptionIG small {
    font-size: 10px;
    display: block;
    text-transform: uppercase;
    margin-top: 12px;
    text-indent: 3px;
    opacity: .7;
    letter-spacing: 1px;
}

.popup .close {
    position: absolute;
    z-index: 10;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    background: url(#close);
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

    .popup .close svg {
        width: 100%;
        height: 100%;
    }


.gallery instagram-figure img {
    height: 100%;
    width: 100%;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.img-rounded {
    /*max-width: 100%;*/
    height: auto;
    width: 100%;
}

.gallery instagram-figure img:hover {
    transition: 1.0s ease-in-out;
    transform: scale(1.05);
}

.repairDesc p {
    font-size: 16px;
    font-weight: 700;
    color: #7a6843;
    padding: 20px;
    text-align: justify;
}

.carousel-caption {
    padding-bottom: 20px;
}

.thumbnail {
    padding: 0px;
    margin-bottom: 0px;
}



.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.thumbnail {
    height: 100%;
}

/* extra positioning */
.thumbnail {
    display: flex;
    flex-direction: column;
}

    .thumbnail .caption {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


.topcorner {
    position: absolute;
    top: 20px;
    right: 20px;
}

.twoo {
    /*padding: 20px 20px 0px;*/
    overflow: auto;
}

.IG_title {
    text-align: right;
    font-size: 14px;
    display: flex;
    align-items: center;

}

.threee {
    line-height: 1.5;
    overflow: auto;
}

.popupGrid:before,
.popupGrid:after {
    content: none;
}


/******************************************************************/


@media (min-width: 1200px) {
    .popupGrid {
        width: 60%;
    }
    .topcorner {
        right: calc(100% /9);
    }
}

@media (max-width: 1199px) {
    .popupGrid {
        width: 80%;
    }
}

@media (max-width: 991px) {
    .popupGrid {
        width: 90%;
    }

    .instagram-grid instagram-figure figcaptionIG {
        padding: 35% 10%;
    }
}

@media (min-width: 768px) {

    .instagram-grid instagram-figure {
/*        max-width: 360px;
        max-height: 360px;*/
        margin: 0px;
    }

    .instagram-grid-gallery {
        padding: 0px;
    }

    .popupGrid {
        max-height: 90%;
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(50%,-50%);
    }
}


@media (max-width: 1399px) {

    .topcorner {
        top: 10px;
    }

    .twoo {
        /*height: -webkit-fill-available;*/
        /*height: 100%;*/
        padding: 0px;
        overflow: auto;
    }

/*    .threee {
        padding: 20px;
        overflow: initial;
    }
*/
    .popupGrid {
        width: 100%;
        overflow: auto;
    }

/*    .container-fluid {
        display: grid;
    }*/

    .popup instagram-figure {
        width: 90%;
    }

        .popup instagram-figure figcaptionIG {
            font-size: 14px;
        }

    .instagram-grid instagram-figure {
        width: 100%;
        height: 100%;
        margin: 0px;
        max-height: 350px;
    }

    instagram-figure.effect-sadie p {
        /*		display: flex;*/
        align-items: center;
    }



    .instagram-grid instagram-figure figcaptionIG {
        padding: 5.1em 2em;
        font-size: 20px;
    }

/*    .grid-gallery {
        padding: 0px 0px 10px;
    }*/
}


@media (max-width: 767px) {
    .mobileCoverBG {
        height: 100%;
        background: #f5f5f7;
    }

    .threee {
        padding: 15px;
        overflow: scroll;
    }

  
}


.horizontal-images.contentIG ul, .vertical-images.contentIG ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.showcase .horizontal-images.contentIG h2 {
    color: #fff;
    background-color: #eb3755;
    padding: 10px 20px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 165%;
}

.showcase .horizontal-images.contentIG h2, .showcase .horizontal-images.contentIG li img {
    height: 340px;
}

.horizontal-images.contentIG li img {
    width: auto;
    padding: 0;
}

.contentIG img {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 3px;
    background: rgba(0,0,0,0.2);
}

.mCSB_draggerRail {
    display: none !important;
}

.mCustomScrollBox {
    overflow: visible !important;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
