#cwgallery-main {
	clear: both;
	text-align: center;
}
#cwgallery-main .cwgallery-container {
	clear: both;
	display: block;

}
#cwgallery-main .cwgallery-inline-items {
	display: none;
}



#cwgallery-main .cwgallery-items {
	box-sizing: border-box;
	position: relative;
	width: 33.333%;
	cursor: pointer;
	margin: 0px;
	padding: 0;
	display: inline-block;
	vertical-align: top;
	box-shadow: none;
	text-align: left;
}

.cwgallery-justify .justified-gallery a {
	cursor: pointer;
	margin: 0px;
	padding: 0;
	display: inline-block;
	vertical-align: top;
	box-shadow: none;
	text-align: left;
}

#cwgallery-main.cwgallery-1col .cwgallery-items {
	width: 100%;
}

#cwgallery-main.cwgallery-2cols .cwgallery-items {
	width: 50%;
}

#cwgallery-main.cwgallery-4cols .cwgallery-items {
	width: 25%;
}

#cwgallery-main.cwgallery-5cols .cwgallery-items {
	width: 20%;
}

#cwgallery-main.cwgallery-6cols .cwgallery-items {
	width: 16.6666%;
}

#cwgallery-main .cwgallery-items img {
	width: 100%;
	height: auto;
	max-width: 100%;
	padding:0;
	margin:0;
	border-width: 0;
}
#cwgallery-main .cwgallery-items-title {
	display: none;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 150px;
	width: 150px;
	height: 150px;
	box-sizing: border-box;
	padding: 10px;
	color: #fff;
	background: rgba(0,0,0,0.5);
}
#cwgallery-main .cwgallery-items:hover .cwgallery-items-title{
	position: absolute;
	left: 0;
}
#cwgallery-main .cwgallery-items .cwgallery-items-title div{
	display: none;
	position: relative;
	left: -100%;
	font-variant: small-caps;
	font-weight: bold;
	font-size: 90%;
	transition-duration: 400ms;
	transition-property: left;
	transition-timing-function: ease;
}
#cwgallery-main .cwgallery-items:hover .cwgallery-items-title div {left: 0;}

#cwgallery-main .cwgallery-items .cwgallery-play {
	position: absolute;
	width: 80px;
	height: 80px;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
}

#cwgallery-main.cwgallery-tiles .cwgallery-container {
	display:grid;  
	grid-template-rows: auto;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	margin: 0 auto;
}
#cwgallery-main.cwgallery-tiles .cwgallery-items {
	width: 100%;
	display: block;
	min-height: 200px;
}

#cwgallery-main.cwgallery-effect-greyscale .cwgallery-items img,
#cwgallery-main.cwgallery-heffect-greyscale a.cwgallery-items:hover img,
#cwgallery-main.flickity-slider .cwgallery-items img {
	-webkit-filter: grayscale(100%);
}

#cwgallery-main.cwgallery-effect-vintage .cwgallery-items img,
#cwgallery-main.cwgallery-heffect-vintage a.cwgallery-items:hover img,
#cwgallery-main.flickity-slider .cwgallery-items img {
	-webkit-filter: grayscale(50%);
}

#cwgallery-main.cwgallery-effect-saturate .cwgallery-items img,
#cwgallery-main.cwgallery-heffect-saturate a.cwgallery-items:hover img,
#cwgallery-main.flickity-slider .cwgallery-items img {
	-webkit-filter: saturate(2);
}

#cwgallery-main.cwgallery-effect-contrast .cwgallery-items img,
#cwgallery-main.cwgallery-heffect-contrast a.cwgallery-items:hover img,
#cwgallery-main.flickity-slider .cwgallery-items img {
	-webkit-filter: saturate(150%);
}


#cwgallery-main.cwgallery-effect-sepia .cwgallery-items img,
#cwgallery-main.cwgallery-heffect-sepia a.cwgallery-items:hover img,
#cwgallery-main.flickity-slider .cwgallery-items img {
	-webkit-filter: sepia(90%);
}

#cwgallery-main .cwgallery-items {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#cwgallery-main .cwgallery-items:hover img {
	-webkit-filter: none;
}




.cwgallery.cwgallery-slider-s .carousel-cell,
.cwgallery.cwgallery-carousel-s .carousel-cell {
	width: 100%; /* full width */
	height: 250px; /* height of carousel */
	margin-right: 10px;
  	counter-increment: gallery-cell;
}

.cwgallery.cwgallery-carousel-s .carousel-cell {
	width: 50%;
}

.cwgallery.cwgallery-carousel-s .carousel-cell img,
.cwgallery.cwgallery-carousel-m .carousel-cell img,
.cwgallery.cwgallery-carousel-l .carousel-cell img,
.cwgallery.cwgallery-carousel-half .carousel-cell img,
.cwgallery.cwgallery-carousel-full .carousel-cell img
{ max-height: 100%; }
.cwadjust-width { opacity: 0;}

.cwgallery.cwgallery-slider-half .carousel-cell,
.cwgallery.cwgallery-slider-full .carousel-cell,
.cwgallery.cwgallery-carousel-half .carousel-cell,
.cwgallery.cwgallery-carousel-full .carousel-cell {
	width: 100%; /* full width */
	margin-right: 10px;
  	counter-increment: gallery-cell;
}

.cwgallery.cwgallery-slider-m .carousel-cell,
.cwgallery.cwgallery-carousel-m .carousel-cell {
	width: 100%; /* full width */
	height: 500px; /* height of carousel */
	margin-right: 10px;
  	counter-increment: gallery-cell;
}

.cwgallery.cwgallery-carousel-m .carousel-cell {
	width: 65%;
}

.cwgallery.cwgallery-slider-l .carousel-cell,
.cwgallery.cwgallery-carousel-l .carousel-cell {
	width: 100%; /* full width */
	height: 750px; /* height of carousel */
	margin-right: 10px;
  	counter-increment: gallery-cell;
}

.cwgallery.cwgallery-carousel-l .carousel-cell,
.cwgallery.cwgallery-carousel-half .carousel-cell,
.cwgallery.cwgallery-carousel-full .carousel-cell {
	width: 70%;
}

.cwgallery .flickity-prev-next-button {
 	min-width: 0;
	padding: 0;
	width: 30px;
	height: 30px;
}


@media screen and (max-width: 1200px) {
	#cwgallery-main.cwgallery-6cols .cwgallery-items {
		width: 20%;
	}
}

@media screen and (max-width: 1024px) {
	#cwgallery-main.cwgallery-6cols .cwgallery-items,
	#cwgallery-main.cwgallery-5cols .cwgallery-items {
		width: 25%;
	}
}

@media screen and (max-width: 960px) {
	#cwgallery-main.cwgallery-6cols .cwgallery-items,
	#cwgallery-main.cwgallery-5cols .cwgallery-items,
	#cwgallery-main.cwgallery-4cols .cwgallery-items {
		width: 33.33%;
	}
}

@media screen and (max-width: 800px) {
	#cwgallery-main.cwgallery-6cols .cwgallery-items,
	#cwgallery-main.cwgallery-5cols .cwgallery-items,
	#cwgallery-main.cwgallery-3cols .cwgallery-items,
	#cwgallery-main.cwgallery-3cols .cwgallery-items {
		width: 50%;
	}
}

@media screen and (max-width: 800px) {
	#cwgallery-main.cwgallery-6cols .cwgallery-items,
	#cwgallery-main.cwgallery-5cols .cwgallery-items,
	#cwgallery-main.cwgallery-3cols .cwgallery-items,
	#cwgallery-main.cwgallery-3cols .cwgallery-items,
	#cwgallery-main.cwgallery-3cols .cwgallery-items {
		width: 100%;
	}
}