/*
* Hacks & Co
*/
.tx-yag-item-meta:after, .tx-yag-navigation-clearer:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}


/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */


/*
* Breadcrumbs
*/
.tx-yag-breadcrumbcomtainer {
	margin: 3px 0 7px 0;
	padding: 5px 0 5px 0;
}

.tx-yag-breadcrumb {
    color: Black;
}


/* Redefine default theme */

.tx-yag-gallery-thumb-outerframe, .tx-yag-album-thumb-outerframe, .tx-yag-item-thumb-outerframe {
	height: auto;
}

.tx-yag-lightbox-leftcolumn {
	width:70%;
	float:left;
}

.tx-yag-lightbox-rightcolumn {
	width:30%;
	margin-left:70%;
	text-align: right;
}


.tx-yag-lightbox-permalink {
}


.offPageItems {
    visibility: hidden;
}


.yag-list-wrap {
    overflow: hidden;
}

.tx-yag-items:after {
	content:'';
	display:block;
	clear: both;
}



.tx-yag-thumb-outerframe {
	float: left;
	list-style-type: none;

}

.tx-yag-gallery-thumb-outerframe, .tx-yag-album-thumb-outerframe {
	margin-bottom: 25px;
	width: 50%;
}

.yag-item-thumb-outerframe {
	margin: 0 15px 15px 0;

}

.tx-yag-thumb-innerframe {
    overflow: hidden;
}

.tx-yag-gallery-thumb-innerframe, .tx-yag-album-thumb-innerframe {
	float:left;
}

.yag-item-thumb-innerframe img {
	width: 100%;
}

.tx-yag-gallery-galleryinfo, .tx-yag-album-albuminfo {
	margin-left: 210px;
}


@media only screen and (max-width : 480px) {
    /* Smartphone view: 1 tile */
	.yag-item-thumb-outerframe , .tx-yag-gallery-thumb-outerframe, .tx-yag-album-thumb-outerframe  {
		max-width: 100%;
	}

	.tx-yag-gallery-thumb-innerframe, .tx-yag-album-thumb-innerframe {
		float:none;
		margin-bottom: 10px;
	}

	.tx-yag-gallery-galleryinfo, .tx-yag-album-albuminfo {
		margin-left: 0;
		float:none;
	}
}


@media only screen and (max-width : 650px) and (min-width : 481px) {
    /* Tablet view: 2 tiles */
    .yag-item-thumb-outerframe {
        max-width: 50%;
    }

	.tx-yag-gallery-thumb-outerframe, .tx-yag-album-thumb-outerframe {
		width: 100%;
	}
}


@media only screen and (max-width : 1050px) and (min-width : 651px) {

	/* Small desktop / ipad view: 3 tiles */
	.yag-item-thumb-outerframe {
		width: 33.3%;
	}

	.tx-yag-gallery-thumb-outerframe, .tx-yag-album-thumb-outerframe {
		width: 100%;
	}
}


@media only screen and (max-width : 1270px) and (min-width : 1051px) {

	/* Medium desktop: 4 tiles */
	.yag-item-thumb-outerframe {
		width: 25%;
	}

	.tx-yag-gallery-thumb-outerframe, .tx-yag-album-thumb-outerframe {
		width: 50%;
	}
}




/* magnific popup css */

.yag-lightbox-meta {
    display: none;
}

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    /* ideally, transition speed should match zoom duration */
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/* Fade animation for popup content */
@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@-moz-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@-o-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}


.mfp-figure {
    -webkit-animation-name: fadeIn;
    -moz-animation-name: fadeIn;
    -o-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .5s;
    -moz-animation-duration: .5s;
    -ms-animation-duration: .5s;
    -o-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
}

