.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;
}

.icon-gallery {
	background-position: 0 50%;
	background-repeat: no-repeat;
	padding: 1px 0 0 1px;
	background-image: url("./images/icon_gallery.png");
}
.phpbb_gallery-icon {
	background-position: 0 50%;
	background-repeat: no-repeat;
	padding: 1px 0 0 1px;
	background-image: url("./images/icon_gallery.png");
}

.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;
}

.polaroid img {
	/*max-height: 120px;
	max-width: 230px;*/
}

.polaroid
{
	width: 242px;
	background: #FFFFFF;
	display: block;
	float: left;
	margin: 9px;
	/*padding: 4px;*/
	text-align: center;
	text-decoration: none;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
	transition: all .15s linear;
	border: 1px solid #EFEFEF;
}

.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;
}



.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;
}







.polaroid-list-header--title{
	
	padding:3px 5px;
	text-align:center;
	display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    -webkit-transition: opacity .25s ease;
	transition: opacity .25s ease;
    overflow: hidden;
    text-overflow: ellipsis;
}

.polaroid-list-footer--title{
	
	padding:5px 5px;
	text-align:center;
	display: block;
    color: #fff;
    /*font-size: 16px;*/
   -webkit-transition: opacity .25s ease;
	transition: opacity .25s ease;
    overflow: hidden;
    text-overflow: ellipsis;
	padding-bottom:10px;
	
}

.polaroid{
	position:relative;
}

.polaroid-list--header{
	position:absolute !important;
	width:100%;
	opacity:0.8;
}


.thumbnail img{
	width:100%;
	height:200px !important;
	object-fit: cover;
}


.polaroid{
	width:96.2%;
}

@media (min-width: 480px) {
	.polaroid{
		width:46%;
	}
	.thumbnail img{
		/*height:24vw;*/
		height:250px !important;
	}
	
}
@media (min-width: 992px) {
	.polaroid{
		width:31.4%;
	}
	.thumbnail img{
		/*height:19vw;*/
		height:210px !important;
	}
}
@media (min-width: 1200px) {
	.polaroid{
		width:23%;
	}
	.thumbnail img{
		/*height:15vw;*/
		height:150px !important;
	}
}


.postimage{
	width : 100%;
	height:auto;
	
}

.image_next_image{
	position:absolute;
	top:0px;
	right:0px;
	border: 3px solid #f0f0f0;
	border-radius : 3px;
	margin : 10px;
	width:auto;
}

.image_prev_image{
	position:absolute;
	top:0px;
	left:0px;
	border: 3px solid #f0f0f0;
	border-radius : 3px;
	margin : 10px;
	width:auto;
}


.postprofile img {
	max-height:200px;
	max-width:130px;
}

.thumbnail a{
	color:#000!important;
	
}

.thumbnail h3{
	display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.col-sm-6, .col-md-4, .col-lg-3{
	padding-right: 5px!important;
    padding-left: 5px!important;
}

