

.gallery {
	margin: 0 -10px
}

.gallery-option-set {
	display: block;
	margin-bottom: -5px
}

.gallery-option-set .btn {
	margin: 0 5px 5px 0
}

.gallery .image {
	width: 24.5%;
	display: block;
	margin-right: -5px;
	overflow: hidden;
	padding: 5px
}

.gallery .image img {
	height: 300px;
	-webkit-border-radius: 3px 3px 0 0;
	-moz-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0
}

.gallery .image-inner {
	position: relative;
	background: #D9E0E7;
	-webkit-border-radius: 3px 3px 0 0;
	-moz-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	border-width: 1px 1px 0;
	border-color: #000;
	border-style: solid;
	overflow: hidden
}

.gallery .image-inner img{
    /* 	
		2025-06-26
		object-fit: cover;
	*/
	object-fit:scale-down;
    max-width:100%;
}

.gallery .image a {
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	transition: all .2s linear
}

.gallery .image a:focus,
.gallery .image a:hover {
	opacity: .8;
	filter: alpha(opacity=80)
}

.gallery .image-caption {
	position: absolute;
	top: 15px;
	left: 0;
	background: url(../img/transparent/black-0.6.png);
	background: rgba(0, 0, 0, .6);
	color: #fff;
	padding: 5px 15px;
	margin: 0
}

.gallery .image-info {
	background: #fff;
	padding: 10px 15px 5px;
	-webkit-border-radius: 0 0 3px 3px;
	-moz-border-radius: 0 0 3px 3px;
	border-radius: 0 0 3px 3px;
	border-width: 0 1px 1px;
	border-color: #000;
	border-style: solid
}

.gallery .image-info .title {
	margin: 0 0 10px;
	line-height: 18px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.gallery .image-info .rating {
	line-height: 20px;
	margin: 0 0 3px
}

.gallery .image-info .desc {
	line-height: 16px;
	font-size: 12px;
	height: 25px;
	overflow: hidden
}

.gallery .rating span.star {
	font-family: FontAwesome;
	display: inline-block
}

.gallery .rating span.star:before {
	content: "\f005";
	color: #999
}

.gallery .rating span.star.active:before {
	color: #FF8500
}

@media(max-width:1100px) {
	.gallery .image {
		width: 48%
	}
}

@media (max-width:768px) {
	.gallery .image {
		width: 100%
	}
}

@media(max-width:700px) {
	.gallery .image {
		width: 100%
	}
}

.md-center {
	text-align: right
}

@media(max-width:1200px) {
	.md-center {
		text-align: center
	}
}

#myBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: 0;
	background-color: red;
	color: #fff;
	cursor: pointer;
	padding: 15px 18px;
	border-radius: 10px
}

#myBtn:hover {
	background-color: #555
}

#imageColorSetting {
	display: block;
	/* Hidden by default */
	position: fixed;
	/* Fixed/sticky position */
	bottom: 80px;
	/* Place the button at the bottom of the page */
	right: 30px;
	/* Place the button 30px from the right */
	z-index: 99;
	/* Make sure it does not overlap */
	border: none;
	/* Remove borders */
	outline: none;
	/* Remove outline */
	background-color: blue;
	/* Set a background color */
	color: white;
	/* Text color */
	cursor: pointer;
	/* Add a mouse pointer on hover */
	padding: 15px 18px;
	/* Some padding */
	border-radius: 10px;
	/* Rounded corners */
}

#imageColorSetting:hover {
	background-color: #555;
	/* Add a dark-grey background on hover */
}

.d {
	visibility: hidden
}

.d_t {
	visibility: hidden
}

.ribbon-wrap {
	width: 106px;
	height: 108px;
	overflow: hidden;
	position: absolute;
	top: -10px;
	right: 0px;
	z-index: 5000;
}

.ribbon-wrap-left {
	width: 106px;
	height: 108px;
	overflow: hidden;
	position: absolute;
	top: -10px;
	left: 0px;
	z-index: 5000;
}

.ribbon-left {
	position: relative;
	left: -35px;
	top: 28px;
	width: 148px;
	font: bold;
	font-size: 18px;
	color: #006064;
	padding: 5px 0;
	text-align: center;
	transform: rotate(315deg);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ribbon-wrap-left-bottom {
	width: 106px;
	height: 108px;
	overflow: hidden;
	position: absolute;
	bottom: -5px;
	left: 0px;
	z-index: 5000;
}

.ribbon-left-bottom {
	position: relative;
	font: bold;
	font-size: 18px;
	color: #006064;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ribbon {
	position: relative;
	left: -11px;
	top: 28px;
	width: 148px;
	font: bold;
	font-size: 18px;
	color: #006064;
	padding: 5px 0;
	text-align: center;
	transform: rotate(45deg);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ribbon-red {
	background-color: red;
}

.ribbon-gold {
	background-color: gold;
}

.ribbon-pink {
	background-color: #f5b3ff;
}

.ribbon-blue {
	background-color: #80bfff;
}

