.gallery-icon, .gallery-icon a {
	background: none top left no-repeat;
}

.album-overview-select > select {
  width: auto;
}

.content.gallery-overview img,
.ucp-gallery-image img {
  border-radius: 5px;
}

ul.profile-icons li.gallery-icon {
	width: 20px; height: 20px;
}

.gallery-icon, .gallery-icon a {
	background-image: url("./images/icon_contact_gallery.gif");
}

.rtl .icon-gallery {
	background-position: 100% 50%;
	padding: 1px 17px 0 0;
}

fieldset.gallery dd.simulate-dt label {
	margin-left:	0;
	float:			left;
	font-weight:	bold;
	text-align:		left;
	color:			#425067;
}

.rtl fieldset.gallery dd.simulate-dt label {
	text-align:		right;
}

fieldset.gallery dl:hover dd.simulate-dt label {
	color:			#000000;
}

fieldset.gallery dt.simulate-dt {
	width:			22em;
}

fieldset.gallery dt.first {
	min-height:		16em;
}

fieldset.gallery dd.simulate-dt {
	margin-left:	0;
	float:			left;
}

fieldset.gallery dd.simulate-dd {
	margin-left:	35em;
}

fieldset.gallery #format-buttons {
	margin-top: 0;
}

fieldset.gallery input.readonly, fieldset.gallery textarea.readonly {
	background: #DCDCDC;
}

dd.g_lastimage {
	padding-left: 5px;
	width: 30%;
}
/*
dd.g_moderation {
	width: 35%;
}
*/
dd.g_rating, dd.g_comments {
	width: 12%;
	text-align: center;
	font-size: 1.1em;
}

dd.g_status {
	width: 15%;
	text-align: center;
	font-size: 1.1em;
}

span.reported-images-number {
	color: red;
}

.g_unapproved {
	background: 100% 0 no-repeat url("./images/icon_gallery_unapproved.gif");
}

.g_locked {
	background: 100% 0 no-repeat url("./images/icon_gallery_locked.gif");
}

.g_reported {
	background: 100% 0 no-repeat url("./images/icon_gallery_reported.gif");
}

input.autowidth-gallery {
	width: 96%;
	max-width: 186px;
}

.image_unapproved,
.image_reported
{
	display: inline-block !important;
	background: transparent none 0 0 no-repeat;
	margin: 0;
	padding: 0;
	width: 0;
	height: 0;
	overflow: hidden;
	background-image: url("./images/icon_topic_unapproved.png");
	padding-left: 16px;
	padding-top: 14px;
	float: right;
}

.image_locked
{
	display: inline-block !important;
	background: transparent none 0 0 no-repeat;
	margin: 0;
	padding: 0;
	width: 0;
	height: 0;
	overflow: hidden;
	background-image: url("./images/lock.png");
	padding-left: 16px;
	padding-top: 16px;
	float: right;
}

.image_prev_image
{
	float: left; 
	text-align: left; 
	clip-path: url(#left_arrow);
}

.image_next_image
{
	float: right; 
	text-align: right; 
	clip-path: url(#right_arrow);
}

.postbody_album {
	text-align:center;
}

.postbody_album img.postimage {
	margin: 10px auto 10px auto;
	max-width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.post > .inner > .unapproved {
	text-align: center;
	overflow: hidden;
	padding: 8px;
	font-weight: 600;
	background-color: #ffcc66;
	color: black;
	border-radius: 8px;
}

.polaroid .post-notice.unapproved {
	font-weight: 700;
	background-color: rgb(255, 204, 102, 1);
	color: black;
}

.polaroid .post-notice.unapproved input:hover {
	background-color: rgb(255, 222, 156);
}

.trophy-container
{
  position: absolute;
  color: #f2f2f2;
  font-size: 1.5em;
  top: 2px;
  right: 2px;
  z-index: 1;
}

.trophy-icon
{
	display: inline-block;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: FontAwesome;
	font-size: 2em;
	line-height: 1;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 1px 1px 1px #b7b7b7;
  fill: #f2f2f2;
}

.trophy-text
{
  text-shadow: 0px 1px 0px #999;
}

.trophy-color-1
{
	fill: #ffd700;
}

.trophy-color-2
{
	fill: silver;
}

.trophy-color-3
{
	fill: #CD7f32;
}


.gallery-block {
  width: 240px;
}

.gallery_index {
  height: 135px;
  width: 240px;
}

.dark .gallery-block {
  border-color: #0c1327;
}

.gallery-block:hover img {
	transform: scale(1.05);
}

.gallery-block:hover {
  border-color: rgba(var(--color-primary));
}

.dark .gallery-block:hover {
  border-color: rgba(var(--color-primary-dark));
}

.gallery-image {
  border-radius: 12px;
  box-shadow: 0 2px 4px rgb(0, 0, 0, 0.5);
}

.dark .gallery-image {
  box-shadow: 0 2px 4px #0f172a;
}

.gallery-name {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.gallery-details > div:last-child {
  padding-bottom: 0 !important;
}

.gallery-details.divide-y>:not([hidden])~:not([hidden]) {
  border-color: #e5e7eb;
}

.dark .gallery-details.divide-y>:not([hidden])~:not([hidden]) {
  border-color: #0c1327;
}

