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

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

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

.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
{
	@extend .forabg ul.topiclist li.row;
	width: 20%;
	min-width: 190px;
	display: block;
	float: left;
	margin: 1%;
	padding: 10px 7px;
	text-align: center;
	text-decoration: none;
	background: #1e2842;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#30FFFFFF);
	box-shadow: 1px 1px 3px rgba(102, 116, 140, 0.1);
	transition: all .15s linear;
	border: 1px solid #66748C;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.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, #recent-comments img.postimage:hover {
	border-color: #99A3B5 !important;
	cursor: url("../../../../../../styles/latte_eso/theme/images/zoom.png"), zoom-in !important;
}

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

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: 3px !important;
}
*/

.image_prev_image
{
	float: left; 
	text-align: left; 
	width: 48%;
}
.image_next_image
{
	float: right; 
	text-align: right; 
	width: 48%;
}

.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 */
.gallery.inner li.header dd { color: white !important; }

.fa-navicon::before, .fa-reorder::before, .fa-neverbars::before {
	content: "\f0c9";
}

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

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: 0 0 0 8px !important;
}

dd.lastpost img.postimage:hover {
	border: 3px solid #99A3B5 !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-top: 15px;
	padding: 17px 4px 12px 11px;
	background-color: #1e2842;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#30FFFFFF);
	box-shadow: 1px 1px 3px rgba(102, 116, 140, 0.1);
	transition: all .15s linear;
	border: 1px solid #66748C;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}