

.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: #B5DAFF;
	-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{
	object-fit: scale-down;
    /*object-fit: cover;*/
    max-width:100%
}

/* 2024-08-28 */
.gallery .image-video {
	position: relative;
	background: #B5DAFF;
	-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;
	max-height: 250px;
}
.gallery .image .image-video img{
	height : auto;
    object-fit: contain;
    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
}

.onlineread_holder_2 , .onlineread_holder_5 , .onlineread_holder_9 {
    width: 728px;
    height: 90px;
    position: relative;
}

.onlineread_holder_phone_2 , .onlineread_holder_phone_9 {
    width: 300px;
    height: 100px;
    position: relative;
}


.onlineread_holder_5{
    width: 250px;
    height: 250px;
}

.onlineread_frame{
    width: 100%;
    height: 100%;
}

.ads_close_div{
    width: 13px;
    height: 13px;
    position: absolute;
    top: 0px; 
    right: 0px;
    background-color: #ddd; 
    cursor: pointer;
    z-index: 9999;
}
.ads_close_btn{
    text-decoration: none; color: 
    black; float: right; 
    border: none; position: 
    absolute; right: 0px; 
    top: 0px; 
    font-weight: bold; 
    padding-right: 3px; 
    cursor: pointer;
}
.btn_c_pink{
color: #fff; 
background-color: #ff66b5;
border-color: #ff0080;
}
.btn_c_blue{
color: #fff; 
background-color: DodgerBlue;
border-color: #0073e6;
}
.btn_c_DarkGoldenRod{
color: #fff; 
background-color: DarkGoldenRod;
border-color: #e8d84a;
}
.btn_c_DarkMagenta{
color: #fff; 
background-color: DarkMagenta;
border-color: #4d004d;
}
.btn_c_DarkSlateBlue{
color: #fff; 
background-color: DarkSlateBlue;
border-color: #2e2759;
}
.btn_c_DimGray{
color: #fff; 
background-color: DimGray;
border-color:  #4d4d4d;
}
.btn_c_MediumSlateBlue{
color: #fff; 
background-color: DimGray;
border-color: #3819e6;
}
.btn_c_SeaGreen{
color: #fff; 
background-color: SeaGreen;
border-color: #194d30;
}

body{
	font-family: arial,helvetica,sans-serif;
	color: #5C0D11;
	background: #E3E0D1;
	padding: 0px;
	margin: 0;
	#text-align: center;
}
.gallery_card{
	border:1px solid black;
	background: #EDEBDF;
}
.gallery_title{
	font-size: 12pt;
}

.gallery_title2{
	font-size: 10pt;
	color: #9F8687;
	border-bottom: 1px solid #5C0D12;
}

.tag_list , .gallery_action{
	font-size: 9pt;
}

.tag_list td.tc , .gallery_action td{
  text-align: right;
  font-family: verdana;
  padding-top: 3px;
  vertical-align: top;
}
a{
	text-decoration: none;
	color:#5C0D11;
}
.tag{
	float: left;
	font-weight: bold;
	padding: 1px 4px;
	margin: 0px 2px 5px;
	position: relative;
	border-radius: 5px;
	border: 1px solid rgb(128, 103, 105);
	background: rgb(242, 239, 223);
}