/*************PHOTO MODULE*************/
.w-grid-list {
	display: flex;
	flex-wrap: wrap;
	margin: -5px -5px 5px;
}
.gallery-section .w-grid-list {
	margin: 5px 5px -5px 5px;
}
.w-grid-item {
    padding: 5px;
}
.cols_1>div[class*=list]>* {
    width: 100%;
}
.cols_2>div[class*=list]>* {
    width: 50%;
}
.cols_3>div[class*=list]>* {
    width: 33.3333%;
}
.cols_4>div[class*=list]>* {
    width: 25%;
}
.cols_5>div[class*=list]>* {
    width: 20%;
}
.cols_6>div[class*=list]>* {
    width: 16.6666%;
}
.w-grid-item-h {
    position: relative;
    height: 100%;
}
.w-grid-item-anchor {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
a[ref*=Popup] {
    cursor: zoom-in;
}
.gallery-image-wrapp {
    overflow: hidden;
    position: relative;
}
.gallery-image-wrapp img {
	display: block;
	width: 100%;
}
.gallery-section .buttons {
	margin: 3.3rem 0;
	text-align: center;
}
.w-grid-list + .btn-freeload {
	margin-top: 1.5rem;
}
/*************PAGE ALBUM*************/
/*************VIDEO*************/
.og-container .og-vd-md {
	text-align: center;
	margin: auto;
}
.og-container .og-vd-md img:hover {
	opacity: 0.7;
}
.og-container .og-vd-md a img {
	border: 2px solid #d1d1d1;
	padding: 1px;
	z-index: 80;
	margin: 0px auto 15px auto;
	position: relative;
}
.og-container .og-vd-md p {
	margin-top: 8px;
}
.og-container .og-vd-md-1 {
	width: 128px;
	height: 72px;
	margin: auto;
	position: relative;
	z-index: 80;
}
.og-container .og-vd-md-2 {
	width: 160px;
	height: 90px;
	margin: auto;
	position: relative;
	z-index: 80;
}
.og-container .og-vd-md-3 {
	width: 192px;
	height: 108px;
	margin: auto;
	position: relative;
	z-index: 80;
}
.og-container .og-vd-md-4 {
	width: 224px;
	height: 126px;
	margin: auto;
	position: relative;
	z-index: 80;
}
.og-container .og-vd-md-5 {
	width: 256px;
	height: 144px;
	margin: auto;
	position: relative;
	z-index: 80;
}
.og-container .og-vd-md-6 {
	width: 288px;
	height: 162px;
	margin: auto;
	position: relative;
	z-index: 80;
}
.og-container .og-vd-md-7 {
	width: 320px;
	height: 180px;
	margin: auto;
	position: relative;
	z-index: 80;
}
.og-container .play-button {
	width: 50px;
	height: 50px;
	position:absolute;
	z-index: 100;
	display: inline-table;
	left: 39px;
	top: 11px;
}
.og-container .og-vd-md-1 .play-button {
	width: 50px;
	height: 50px;
	position:absolute;
	z-index: 100;
	display: inline-table;
	left: 39px;
	top: 11px;
}
.og-container .og-vd-md-2 .play-button {
	width: 50px;
	height: 50px;
	position:absolute;
	z-index: 100;
	display: inline-table;
	left: 55px;
	top: 20px;
}
.og-container .og-vd-md-3 .play-button {
	width: 50px;
	height: 50px;
	position:absolute;
	z-index: 100;
	display: inline-table;
	left: 70px;
	top: 29px;
}
.og-container .play-button-1 {
	background: url('../image/opencart_gallery/play_button/1.png') no-repeat;
}
.og-container .play-button-2 {
	background: url('../image/opencart_gallery/play_button/2.png') no-repeat;
}
.og-container .play-button-3 {
	background: url('../image/opencart_gallery/play_button/3.png') no-repeat;
}
.og-container .play-button-4 {
	background: url('../image/opencart_gallery/play_button/4.png') no-repeat;
}
.og-container .play-button-5 {
	background: url('../image/opencart_gallery/play_button/5.png') no-repeat;
}
.og-container .play-button-6 {
	background: url('../image/opencart_gallery/play_button/6.png') no-repeat;
}
.og-container .play-button-7 {
	background: url('../image/opencart_gallery/play_button/7.png') no-repeat;
}
.og-container .play-button-8 {
	background: url('../image/opencart_gallery/play_button/8.png') no-repeat;
}

.video-container {
    position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	margin-bottom: 30px;
	height:0;
	overflow:hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position:absolute;
	top:0;
	left:0;
}
.album-wall{
	margin-bottom: 20px;
}
.popup-pict{
	display: block;
	text-align: center;
	margin-bottom: 30px;
	-webkit-box-shadow: 7px 10px 19px -8px rgba(0,0,0,0.75);
	-moz-box-shadow: 7px 10px 19px -8px rgba(0,0,0,0.75);
	box-shadow: 7px 10px 19px -8px rgba(0,0,0,0.75);
	-webkit-transition: 0.3s;
	   -moz-transition: 0.3s;
	    -ms-transition: 0.3s;
	     -o-transition: 0.3s;
	        transition: 0.3s;
}
.popup-pict:hover{
	-webkit-box-shadow: 7px 10px 30px -8px rgba(0,0,0,0.75);
	-moz-box-shadow: 7px 10px 30px -8px rgba(0,0,0,0.75);
	box-shadow: 7px 10px 30px -8px rgba(0,0,0,0.75);
}
.popup-pict:hover,
.popup-pict:focus{
	outline:0;
	border: 0;
}
.popup-pict img{
	max-width: 100%;
}
.album-title{
	margin-bottom: 30px;
	text-align: center;
}
.album-description{
	font-size: 14px;
	font-family: Arial;
}
@media screen and (max-width:1199px) { 
	.gallery-section .buttons {
		margin-top: calc(0.6rem + 2vw); 
		margin-bottom: calc(0.6rem + 2vw);
	}
}
@media screen and (max-width:991px) { 
	.cols_3>div[class*=list]>* { width: 50%; }
	.cols_4>div[class*=list]>* { width: 33.333%; }
}
@media screen and (max-width:767px) { 
	.cols_4>div[class*=list]>* { width: 33.333%; }
}
@media screen and (max-width:575px) { 
	.cols_4>div[class*=list]>* { width: 50%; }
}
@media screen and (max-width:479px) { 
	.cols_3>div[class*=list]>*, .cols_4>div[class*=list]>* { width: 100%; }
}