.rc_gallery.rc_horizontal_scroller {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	display:inline-block;
	line-height:1px;
	font-size:1px;
	text-align: center;
	overflow-x: hidden;
	white-space: nowrap;
	position: relative;
}
.rc_gallery * {
	/* mitigate interference from templates */
	margin:0; padding:0; border:0; width:auto; height:auto; display:initial; position:initial; box-shadow:none; white-space: initial;
}
.rc_gallery.rc_horizontal_scroller a {
	margin: 0;
	padding: 0;
	border: 0;
	display:inline-block;
	line-height:1px;
	font-size:1px;
}
.rc_gallery.rc_horizontal_scroller a:hover, .rc_gallery.rc_horizontal_scroller a:active {
	background:transparent;
	line-height:1px;
	font-size:1px;
}
.rc_gallery.rc_horizontal_scroller .rc_galleryimg_container {
	width: auto;
	height: auto;
	padding: 0;
	margin: 0;
	position: relative;
	display: inline-block;
}
.rc_gallery.rc_horizontal_scroller .rc_galleryimg_container span {
	height: auto;
	padding: 2px 5px;
	margin: 0 auto;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	background: transparent;
	text-shadow: 0 0 10px #000;
	transition: opacity 0.3s ease;
	box-sizing: border-box;
}
.rc_gallery.rc_horizontal_scroller img.rc_galleryimg {
	margin: 0;
	padding: 0;
	border: 0;
	display:inline-block;
	line-height:1px;
	font-size:1px;
	background-image: url("../img/image_icon.png");
	background-position: center;
	background-repeat: no-repeat;
	max-width: 100%;
}
.rc_gallery_error {
	width:auto;
	max-width:100%;
	text-align:center;
	background:#FFCDD2;
	border:1px solid #F44336;
	color:#212121;
	border-radius:2px;
	padding:10px;
}
.rc_gallery_error h3 {
	color:#F44336;
}
.rc_gallery_error p {
	margin:0;
	padding:0;
}
.rc_gallery_debug_info {
	width:auto;
	max-width:100%;
	text-align:center;
	background:#f2f2f2;
	border:1px solid #e2e2e2;
	color:#212121;
	border-radius:2px;
	padding:10px;
	margin:10px;
	display:inline-block;
}

.rc_gallery_scroll_wrapper {
	display: inline-block;
	position: relative;
	padding: 0;
	margin: 0;
	border: 0;
	overflow: hidden;
	width: 100%;
}

.rc_gallery_scroll_wrapper:hover .rc_scroll_button {
	opacity: 1;
	margin: 0;
}

.rc_gallery_scroll_wrapper .rc_scroll_button {
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-25px);
	height: 50px;
	width: 50px;
	background-color: rgba(25, 25, 25, .8);
	background-position: center;
	background-repeat: no-repeat;
	z-index: 2;
	border-radius: 25px;
	opacity: 0;
	transition:
		background-color 0.28s linear,
		opacity 0.28s ease,
		margin 0.28s ease
	;
}

.rc_gallery_scroll_wrapper .rc_scroll_left_button {
	left: 10px;
	margin-left: -25px;
	background-image: url("left.png");
}

.rc_gallery_scroll_wrapper .rc_scroll_right_button {
	right: 10px;
	margin-right: -25px;
	background-image: url("right.png");
}

@media (max-width: 768px) {
	.rc_gallery_scroll_wrapper .rc_scroll_button {
		opacity: 1;
		margin: 0;
	}

	.rc_gallery_scroll_wrapper .rc_gallery.rc_horizontal_scroller {
		overflow-x: scroll;
	}
}

.rc_gallery_scroll_wrapper .rc_scroll_button:hover {
	background-color: rgba(25, 25, 25, 1);
	cursor: pointer;
}


