a.toggle-play {
	position: relative;
	display: block;
}
a.toggle-play div, a.toggle-play > span {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	text-align: center;
        left: 0;
}
a.toggle-play.playing div, a.toggle-play.playing > span {
	display: none;
}

.gif-space {
	display: inline-block;
	color: #FFF;
	background: #000;
	font-size: 14px;
	font-weight: bold;
	border: 2px solid #fff;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	line-height:50px;
	padding: 0;
}
.empty-space {
	display: block;
	width: 0;
	height: calc(50% - 25px);
}
.progress {
	display: none;
	position: relative;
	width: 100%;
	height: 30px;
	background: #DDD;
	overflow: hidden;
}
.bar {
	position: absolute;
	top: 0; left: 0;
	width: 0;
	height: 30px;
	line-height: 30px;
	background: #1998ed;
	text-align: center;
	color: white;
	font-size: 14px;
}
.bar.red { background: tomato; }

#placeholder-image {
	width: 640px;
	margin: 0 auto;
	min-height: 150px;
	cursor: pointer;
}
#video-upload-form {
	cursor: pointer;
}
#placeholder-image.video-placeholder {
	padding-top: 20px;	
}
.longcat {
	position: relative;
	display: block;
	height: 400px;
	overflow: hidden;
	text-align: center;
}
.longcat-more {
	display: none;

	background: rgba(0, 0, 0, 0.8);
	background: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8), #000);
	background: -o-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8), #000);
	background: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8), #000);
	background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8), #000);
}
.longcat .longcat-more {
	text-decoration: none;
	display: block;
	padding: 20px;
	padding-top: 30px;
	font-size: 14px;
	font-weight: bold;
	position: absolute;
	left: 0px;
	bottom: 0px;
	color: #FFFFFF;
	font-weight: bold;
	width: 100%;
}
.overlay {
	background: rgba(0, 0, 0, .8);
	width: 100%;
	height: 100%;
	z-index: 10;
	top: 0;
	left: 0;
	position: absolute;
	text-align: center;
	line-height: 1.5em;
	display: none;
	font-size: 56px;
}
.overlay .center {
	top:25%;
	position: relative;
	margin-top: -0px;
	color: white;
}
.overlay .center p {
	padding: 25px;
	color: white;
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
}
.image-grid__thumb_a {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}
a.frm-img-wrapper {
	display: block;
	text-align: center;
}
.image-thread__content a, .image-thread__content video {
	max-width: 100%;
}
#placeholder-image p, #default_video_picture p {
	text-align: center;
	margin-top: 10px;
	color: #aaa;
	font-size: 16px;
	line-height: 1.2em;
}
.like-btn-widget a {
	text-decoration: none;
}
.image-grid__thumb img,.image-grid__thumb video { 
	min-width:auto;
	max-height: 100%;
}
.image-grid__thumb .image-grid__thumb_a.longcat img, .longcat img {
	margin-top: -160px;
	max-height: initial;
}
#uploaded-img-preview {
	display: block;
	margin: 0 auto;
}
#uploaded-video-file {
	text-align: center;
	display: none;
}
#uploaded-video-file.active {
	display: block;
}
.image-upload-wrapper.upload-video {
	border-left: none;
	border-right: none;
	border-top: 1px dashed #d4d4d4;
	border-bottom: 1px dashed #d4d4d4;
}
#hidden-wrapper {
	display: none;
}
