/* !gallery Archive Template Styles */

.rw-gallery-archive {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
    flex-direction: row;
}

.rw-gallery-archive .rw-post-content-wrapper {
	border: none;
}

.rw-gallery-archive .rw-post-image {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #ddd;
}

.rw-gallery-archive .rw-post-image img {
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    will-change: transform;
    width: 100%;
}

.rw-gallery-archive .rw-post-image:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1)
}

.rw-gallery-archive .rw-overlay {
	background-color: rgba(0,0,0,0);
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	-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;
}

.rw-gallery-archive a:hover .rw-overlay {
	background-color: rgba(0,0,0,0.3);
	-webkit-box-shadow: inset 0 0 20px 0 rgba(0,0,0,0.8);
    box-shadow: inset 0 0 20px 0 rgba(0,0,0,0.8);
}

.rw-gallery-archive .rw-overlay i {
	color: #fff;
	font-size: 42px;
	text-shadow: 0 3px 6px #000;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.rw-gallery-archive a:hover .rw-overlay i {
	opacity: 1;
}

.rw-gallery-archive a h2.entry-title {
    font-size: 24px;
    text-align: center;
    padding: 5px 0;
    font-weight: 700;
}

.rw-gallery-archive a h2.entry-title {
    color: #6E1117;
}

.rw-gallery-archive a:hover h2.entry-title  {
    color: #B71B25;
    text-decoration: none !important;
}


/* !gallery Single Template Styles */

.single-rw_gallery .fl-post-content .fl-row-content-wrap {
    padding: 0 15px 30px;
}

.single-rw_gallery .fl-photo-content {
    border: 1px solid #ddd;
    position: relative;
    width: 100%;
}











