.brock-gallery {
}

.brock-gallery-main {
	padding-top:66.6%;
	background-size:contain;
	background-position:center center;
	background-repeat:no-repeat;
	position:relative;
    cursor:pointer;
}

.brock-gallery-youtube {
	position:absolute;left:0;top:0;width:100%;height:100%;
}

.brock-gallery-youtube-play {
	position:absolute;left:0;top:0;width:100%;height:100%;
    background-image:url(../../assets/images/play.svg);
    background-size:20%;
    background-position:center center;
    background-repeat:no-repeat;
}

.brock-gallery-text { font-size:10pt; margin:6px 0; }
.brock-gallery-item {
	width:18.4%;
	margin-right:2%;
	margin-bottom:2%;
	padding-top:14%;
	float:left;
	cursor:pointer;

	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;

	box-sizing:border-box;
	position:relative;
}

.brock-gallery-item:nth-child(5n) {
	margin-right:0;
}

.brock-gallery-item.selected::after {
	content:' ';
	position:absolute;
	box-sizing:border-box;
	border:3px solid #000;
	position:absolute;
	left:0;top:0;
	width:100%;height:100%;
}

.brock-gallery-item .brock-gallery-more {
	text-align:center;

	border:3px solid #000;
	border-radius:12px;
	font-weight:bold;

	position:absolute;left:0;top:0;width:100%;padding-top:17%;height:100%;
	box-sizing:border-box;
	line-height:1.1em;
}

.brock-gallery-overlay {
	position:fixed;
	z-index:1000;
	top:0;left:0;width:100%;height:100%;
	background-color:rgba(0,0,0,0.95);
}
.brock-gallery-popup {
	position:fixed;
	z-index:1001;
	box-sizing:border-box;
	background-color:#000;
	background-size:contain;
	background-position:center center;
	background-repeat:no-repeat;
}
.brock-gallery-popup-content {
	position:absolute;left:0;top:0;width:100%;height:100%;
	background-color:#000;
	background-size:contain;
	background-position:center center;
	background-repeat:no-repeat;
}
.brock-gallery-popup .brock-gallery-close {
	position:absolute;
	right:0;bottom:100%;
	color:#fff;
	cursor:pointer;
}
.brock-gallery-popup .brock-gallery-prev {
	position:absolute;
	right:calc(100% + 8px);bottom:50%;
	color:#fff;
	font-size:24pt;
	cursor:pointer;
}
.brock-gallery-popup .brock-gallery-next {
	position:absolute;
	left:calc(100% + 8px);bottom:50%;
	color:#fff;
	font-size:24pt;
	cursor:pointer;
}
.brock-gallery-popup .brock-gallery-text {
	position:absolute;
	top:100%;
	right:0;
	color:#fff;
}
.brock-gallery-popup .brock-gallery-caption {
	position:absolute;
	top:100%;
	left:0;
	color:#fff;
    font-size:10pt; margin:6px 0; 
}
