.gallery_popup{
	margin-top: 20px;
	text-align: center;
}

.line_main{
	clear: both;
	padding-top: 20px;
	width: 100%;
}

.gallery_top{
	color: #68696a;
	display: block;
	padding-left: 5px;
	font-size: 18px;
}

.gallery_top a{
	color: #68696a;
	display: block;
	padding-left: 5px;
	font-size: 24px;
}

.img_main{
	float: left;
	margin: 8px 5px 5px 5px;
	/* border: 1px solid #DDDDDD; */
	position: relative;
}

.img_main_sub{
	position: relative;
	margin: 2px; 
}

.img_image{
	width: 230px;
	height: 170px;
	overflow: hidden;
	margin-botttom: 5px;
	text-align: center
}

.img_description{
	text-align: center;
	font-size: 12px;
}

.like_main{
	clear: both;
	position: absolute;
	bottom: 0px;
	width: 100%;
	text-align: left;
}
.like{
	float: left;
	line-height: 20px;
	font-size: 12px;
}

.send{
	float: right;
	width: 105px;
}


.sort_main{
	clear: both;
}

.sort_passive{
	float: left;
	padding-right: 10px;
}

.sort_active{
	float: left;
	padding-right: 10px;
}

.sort_passive a:link,
.sort_passive a:visited,
.sort_passive a:active{
	font-size: 13px;
	color: #474747;
	font-weight: normal;
}
.sort_passive a:hover{
	font-size: 13px;
	color: #474747;
	font-weight: normal;
	text-decoration: underline;
}

.sort_active a:link,
.sort_active a:visited,
.sort_active a:active{
	font-size: 13px;
	color: #474747;
	font-weight: bold;
}
.sort_active a:hover{
	font-size: 13px;
	color: #474747;
	font-weight: bold;
	text-decoration: underline;
}

/*  gallegy updates */
.gallery_updates_main{
	background: #f1f6eb;
	padding: 15px;
	margin-bottom: 10px;
}

.gallery_updates_head_left{
	font-size: 18px;
	float: left;
	padding-left: 4px;
	padding-bottom: 7px;
}

.gallery_updates_head_right{
	float: right;
	padding-right: 4px;
	padding-bottom: 7px;
}

.gallery_updates_head_right a{
	color: #fff;
	text-decoration: underline;
}

.video_image{
	clear: both;
	font-size: 18px;
	font-weight: bold;
	padding-top: 20px;
}

.play_icon{
	position: absolute;
	top: 50px;
	left: 80px;
}
.demo-gallery > ul {
	margin:0;
	padding:0;
	list-style: none;
}
.demo-gallery > ul > li {
	float: left;
	margin: 0 6px 6px 0;
	width: 215px;
	height:215px;
}
.demo-gallery > ul > li a {
	display: block;
	overflow: hidden;
	position: relative;
	float: left;
}
.demo-gallery > ul > li a > img {
	-webkit-transition: -webkit-transform 0.15s ease 0s;
	-moz-transition: -moz-transform 0.15s ease 0s;
	-o-transition: -o-transform 0.15s ease 0s;
	transition: transform 0.15s ease 0s;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	height: 215px;
	width:215px;
}
.demo-gallery > ul > li a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery > ul > li a:hover .demo-gallery-poster > img {
	opacity: 1;
}
.demo-gallery > ul > li a .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: background-color 0.15s ease 0s;
	-o-transition: background-color 0.15s ease 0s;
	transition: background-color 0.15s ease 0s;
}
.demo-gallery > ul > li a .demo-gallery-poster > img {
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	opacity: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}
.demo-gallery > ul > li a:hover .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .justified-gallery > a > img {
	-webkit-transition: -webkit-transform 0.15s ease 0s;
	-moz-transition: -moz-transform 0.15s ease 0s;
	-o-transition: -o-transform 0.15s ease 0s;
	transition: transform 0.15s ease 0s;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	height: 100%;
	width: 100%;
}
.demo-gallery .justified-gallery > a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster > img {
	opacity: 1;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: background-color 0.15s ease 0s;
	-o-transition: background-color 0.15s ease 0s;
	transition: background-color 0.15s ease 0s;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster > img {
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	opacity: 0;
	position: absolute;
	top: 50%;
	-webkit-transition: opacity 0.3s ease 0s;
	-o-transition: opacity 0.3s ease 0s;
	transition: opacity 0.3s ease 0s;
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .video .demo-gallery-poster img {
	height: 48px;
	margin-left: -24px;
	margin-top: -24px;
	opacity: 0.8;
	width: 48px;
}
.demo-gallery.dark > ul > li a {
	border: 3px solid #04070a;
}
.demo-gallery .big_gallery{
	width: 436px!important;
	height: 436px!important;
}