/*Gallery*/
.stop-scrolling {
	height:100%;
	overflow: hidden;
}

.breadcrumb > .active {
	font-weight:300;
}

.breadcrumb > .link {
	cursor: pointer;
	color: #6E1E85;
	font-weight:600;
}

.hidden {
	visibility: hidden;
}

#subnav-container {
	margin-top:5px;
}
#subnav
{
  font-size:14px;
}

#subnav ul
{
	text-align: center;
	padding:0;
}
#subnav li
{
	border: 1px solid #f3f3f3;
	border-radius: 4px;
	color: #777;
	cursor: pointer;
	list-style: none;
	margin-bottom:8px;
	padding: 10px;

	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#subnav li.selected
{
	color: #6E1E85;
	font-weight:bold;
	cursor: default;
	background-color:#f5f5f5;
}
#subnav li:hover
{
	color: #6E1E85;
}

#thumbnails {
	display:flex;
	flex-flow:wrap;

}

.thumb {
	flex:none;
	cursor: pointer;
  display: inline-block;
	margin-bottom:20px;
  text-align: center;
	-webkit-transform: translateZ(0);
	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.thumb .name
{
  font-size: 13px;
  font-family: "Adriane";
	margin-top:10px;
}

.thumbnail:not(.nohover):hover {
	opacity: 0.8;
}



#gallery {

}


#gallery .item
{
	cursor: pointer;
	display: inline-block;
  text-align: center;

}
#gallery .thumbnail_container
{
	border: 1px solid #f3f3f3;
	padding:4px;
}


#gallery .thumbnail
{
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border: none !important;
	border-radius: 0 !important;
	display:inline-block;
	padding:0;
	position: relative;
  height: 0;
  padding-bottom: 100%;
	margin-bottom:0;
}

#gallery_title h3{
	margin-top:17px !important;
}

#gallery .thumb-image
{
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
  display:inline-block;
  width:200px;
  height:200px;
}

#gallery .text /*check css complex for additional styles*/
{
	display: none;
}

#lightbox
{
	background-color: rgba(0,0,0,1);
	height: 100%;
	left: 0;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 101;
}
#lightbox:before
{
	content: '';
	display: inline-block;
	height: 100%;
	/*margin-top: -5em;*/
	vertical-align: middle;
}

#lightbox .close
{
	background-image: url(../img/close.svg);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 25px 25px;
	cursor: pointer;
	height: 25px;
	position: absolute;
	right:20px;
	top: 1em;
	width: 25px;
}
#lightbox .close:hover
{
	opacity: 0.6;
}

#lightbox .arrow
{
	background-image: url(../img/arrow.svg);
	cursor: pointer;
	left: 1em;
	height: 38px;
	opacity: 0.2;
	position: absolute;
	top: 25%;
	width: 15px;
	z-index:999;
}
#lightbox .arrow.right
{
	-moz-transform: scaleX(-1);
     -o-transform: scaleX(-1);
     -webkit-transform: scaleX(-1);
     transform: scaleX(-1);
     filter: FlipH;
     -ms-filter: "FlipH";
	left: auto;
	right: 1em;
}
#lightbox .arrow:hover
{
	opacity: 0.6;
}

#lightbox .text
{
	color: #f5f5f5;
	line-height: 1.4em;
	text-align: center;
	width:100%;
	margin-bottom:10px;
	margin-top:10px;
}
#lightbox .img-title
{
	font-family: "Adriane";
	margin-top:20px;
}
#lightbox .subgallery
{
  font-size: 18px;
	font-family: "Adriane";
	line-height: normal;
	padding:1em 0 10px 0;
	position: absolute;
	top:0;
	z-index: -1;
}

#lightbox .title
{
	font-size: 14px;
	font-family: "Adriane";
	line-height: normal;
	margin-top:10px;
	height:auto;

}

#lightbox .name
{
	font-size:11px;
	font-family:'Open Sans', sans-serif;
	color:#f5f5f5;
	opacity:0.5;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
	width:80px;
}

#lightbox .details
{
	color:#f5f5f5;
	font-size:11px;
	width:100%;
	height:30%;
	margin-top:5px;
	padding:5px 5% 5px 5%;
	position:absolute;
	opacity:0.7;
	overflow:scroll;
}



#lightbox .thumbs
{
	align-items: center;
	bottom:0;
	border-top:1px solid #2e2e2e;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	height:auto;
	padding:10px 6%;
	position: fixed;
	width:100%;
	visibility: hidden;

}

#lightbox .thumb {
	margin-left: 5px;
	margin-right:5px;
	margin-bottom:0;
}

#lightbox .thumbnail {
	background-color: transparent;
	width:80px;
	height:auto;
	border:1px solid #292929;
	border-radius:0;
	margin-bottom:0;
	transition: opacity .44s ease-in-out;
    -moz-transition: opacity 0.44s ease-in-out;
    -webkit-transition: opacity 0.44s ease-in-out;
	opacity: 0.5;
	padding:2px;
}
#lightbox .thumbnail img {

}

#lightbox .thumbnail:hover {
	opacity: 1;
	border-color:#333;
	transition: opacity .22s ease-in-out;
    -moz-transition: opacity .22s ease-in-out;
    -webkit-transition: opacity .22s ease-in-out;

}

#lightbox  .selected {
	opacity: 1;
}

#lightbox .image_data {
	width:100%;
	height:100%;
	position:absolute;
	text-align:center;
	top:3em;
}

#lightbox .photo
{
	/*max-height: 75%;
	max-height: -webkit-calc(100% - 10.625em);
	max-height: -moz-calc(100% - 10.625em);
	max-height: calc(100% - 10.625em);
	max-width: 80%;
	max-width: -webkit-calc(100% - 5em);
	max-width: -moz-calc(100% - 5em);
	max-width: calc(100% - 5em);*/
	height:50%;
	margin-top:20px;
	margin-left:15%;
	width:70%;
}


@media only screen and (max-width: 812px) and (orientation: landscape) {

	#lightbox .details
	{
     visibility: hidden;
  }
	#lightbox .photo
	{
		height:70%;
	}
}


#lightbox .photo:before
{
	content: ' ';
  display: inline-block;
	vertical-align: middle;  /* vertical alignment of the inline element */
  height: 100%;
}


#lightbox .photo img
{
	border:1px solid #2e2e2e;
	max-width:100%;
	max-height:100%;
	display: inline-block;
	vertical-align: middle;
	padding:4px;
	/*width: auto;
	width: auto\9; /* ie8 */


}



@media (min-width: 768px) {

	#subnav-container {
		margin-top:0;
	}

	#subnav {
		margin-top:10px;
	}

	#gallery .thumbnail
	{

	}
	#thumbnails {
		margin-top:10px;
	}

	.thumb .name
	{
	  font-size: 14px;

	}

	/* #lightbox .photo
	{
		height:50%;
	} */

	#lightbox .details
	{
		font-size:13px;
		padding-right:10%;
		padding-left:10%;
	}



}

@media (min-width: 813px) {
	#lightbox .thumbs
	{
		visibility: visible;
	}
}
/*@media (max-width: 767px) {

	#subnav
	{
		margin-bottom:30px;
	}

	#subnav ul
	{
	  text-align: center;
		padding-left: 0px;
	}
	.thumb .thumbnail
	{
		max-width:300px;
	}

	.thumb .name
	{
		font-size: 13px;
	}
	#lightbox .thumbs
	{
		display:none;
	}

	#lightbox .image_data
	{
		padding:0 20px 0 20px;
	}

	#lightbox .title
	{
		width:100%;
		margin-top:10px;
		height:40px;
	}

	#lightbox .details
	{
		color:#f5f5f5;
		width:100%;
		height:auto;
		opacity:0.7;

	}

	#lightbox .photo
	{
		width:100%;
	}

	#lightbox .photo img
	{
		width:60%;
		height:auto;

	}


}*/
