div.gallery-space {
	height: 15px;
}

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

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

h2.invade-linklist {
	margin-top: -20px;
}

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

fieldset.quickmod {
	padding: 0 0 15px 10px;
	font-weight: 700;
}

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;
}

fieldset.fields1 dd {
	margin-left: 17em;
}

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;
}

.gallery_palbum-icon {
	background-image: none !important;
}

.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;
}

.polaroid {
	width: 20%;
	min-width: 190px;
	display: block;
	float: left;
	margin: 1%;
	padding: 10px 7px;
	text-align: center;
	text-decoration: none;
	background: white;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#30FFFFFF, endColorstr=#00FFFFFF);
	box-shadow: 1px 1px 3px rgba(23, 13, 35, 0.1);
	transition: all .15s linear;
	border: 1px solid #ddd7c8 ;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.polaroid a, .gallery .small-icon::after { color: #884A58; }

.polaroid p { margin-bottom: 1em; }

.polaroid p a { font-size: 11px; }

.polaroid img {
	max-height: 109px !important;
	max-width: 90%;
	border: 3px solid transparent;
	border-radius: 6px;
	padding: 3px;
}

.polaroid a img:hover, div#image.postbody_album a img:hover {
	border-color: $primary-color;
	cursor: zoom-in !important;
}

.polaroid .album-link:hover, .polaroid album-link a:hover {
	border-color: transparent;
	cursor: pointer !important;
}

div.polaroid div#thumbnail {
	min-height: 128px !important;
	padding-top: 6px;
}

div.album-values { margin-bottom: 4px; word-wrap: break-word !important; }

div.album-title {
	white-space: nowrap !important;
	overflow: hidden !important;
	width: 100% !important;
	text-overflow: ellipsis !important;
}

div.thumbnail-values {
	text-align: left;
	margin-left: 6%;
	margin-bottom: 4px;
	word-wrap: break-word;
}

div.thumbnail-values div.dropdown { margin-left: 0 !important; left: 0 !important; }

.polaroid .album-values .dropdown.hidden { margin-left: 70px !important; }

div.thumbnail-values .small-icon.icon-edit::after { margin-top: -6px !important; }

.image_unapproved
{
	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: 14px;
	float: right;
}

.postimage {
	padding: 0 !important;
}

.image_prev_image
{
	float: left; 
	text-align: left; 
	width: 48%;
	clip-path: url(#left_arrow);
}
.image_next_image
{
	float: right; 
	text-align: right; 
	width: 48%;
	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;
}

.trophy-container
{
	position: relative;
	float: right;
	margin-left: -100%;
	font-size: 3em;
	color: #f2f2f2;
	top: -20px;
	left: -10px;
}

.trophy-icon
{
	margin-left: -22px;
	margin-top: -6px;
	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;
}

.trophy-text { font-size: 0.8em; }

.trophy-color-1 { color: #FFD700; }

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

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


/* Added by The Neverlands */
.panel .header .row-item .list-inner { color: white !important; }

.gallery_palbum-icon { background-image: none; }

/* .gallery.panel p { font-size: 11px; } */

/* .gallery.panel h2 { */
	/* font-weight: normal; */
	/* border-bottom-color: #e8e1cf; */
	/* font-size: 19px; */
	/* margin-bottom: 0.5em; */
/* } */

.gallery .small-icon::after {vertical-align: middle; padding-top: 1px; }

/* .gallery.linklist { padding-bottom: 10px; } */

.gallery.linklist .modtools-icon::before { width: 22px; }

.gallery .rightside .dropdown.hidden { margin-right: 5px; }

.fa-navicon::before, .fa-reorder::before, .fa-neverbars::before {
	content: "\f0c9";
	font-size: 1em !important;
	vertical-align: top;
	line-height: 1.2 !important;
}

div.gallery.forumbg { max-width: 98%; margin: 10px auto; }

 ul.topiclist dl { position: unset !important; }

 ul.topiclist dl.row-item.topic_read_mine dd.mark { margin-left: 320px; }

ul.topiclist dl.row-item {
	background-position: 10px 50%;
	background-repeat: no-repeat;
	background-size: 36px;
}

dd.lastpost img.postimage, #recent-comments img.postimage {
	max-width: 100% !important;
	max-height: 47px !important;
	border: 3px solid transparent;
	border-radius: 6px;
	padding: 0 !important;
	margin: -2px 0 0 8px !important;
}

img.postimage, dd.lastpost img.postimage, #recent-comments img.postimage {
	border: 3px solid rgb(209, 202, 187) !important; 
}


img.postimage:hover, dd.lastpost img.postimage:hover, #recent-comments img.postimage:hover {
	border: 3px solid #884A58 !important; 
}

.postbody_album img.postimage { min-width: 600px !important; }

div#recent-comments div.content { width: 65%; float: left; }

div#recent-comments .postprofile { width: 240px; margin-top: -25px; }

div#recent-comments .postprofile dt { margin-top: 10px; }

div#recent-comments .postprofile dt img {
	max-width: 100% !important;
	max-height: 90px !important;
}

div#recent-comments .post-buttons {
	padding-top: 15px;
	position: absolute;
	right: 268px;
}

div#recent-comments p.author {
	padding: 10px 0 5px 0;
	margin-left: -10px;
}

div#phpbb_gallery_user_profile div.polaroid  { width: 216px; margin-bottom: 18px; }

div#phpbb_gallery_user_profile div.polaroid div#thumbnail img.postimage { max-width: 190px !important; }

div.uploadImage.in {
	margin: 22px;
	padding: 17px 10px 12px 4px;
	width: 19%;
	height: 180px;
	text-align: center;
	background: white;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#30FFFFFF, endColorstr=#00FFFFFF);
	box-shadow: 1px 1px 3px rgba(23, 13, 35, 0.1);
	transition: all .15s linear;
	border: 1px solid #bcb29d;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#outputTarget .meter { border: 1px solid #dbd0ba; box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.60) !important; }