/* Index
======================================== */
#main{
	position: relative;
	background: url(../img/gallery/main.jpg) no-repeat center center;
	background-size: cover;
}

#contents{
}
.section{
	max-width: 1080px;
	margin: 100px auto 0 auto;
	overflow: hidden;
}
.section img{
	max-width: 100%;
	height: auto;
}

#contents .photoList{
	font-size: 0;
	margin-bottom: -2%;
}
#contents .photoList li{
	display: inline-block;
	margin-bottom: 2%;
}
#contents .photoList li.col2{
	width: 49%;
	margin-right: 2%;
}
#contents .photoList li.turn{
	margin-right: 0;
}
#contents .photoList video{
  width: 100%;
  height: auto;
}

/*instagram*/
#instagram.section{
	margin-top: 50px;
}
#instagram a{
	transition-duration: .4s;
}
#instagram a:hover{
	opacity: .6;
}
#instagram h3{
	text-align: center;
}
#instafeed{
	font-size: 0;
	margin-top: 50px;
	margin-bottom: -3%;
}
#instafeed li{
	width: 31.333%;
	display: inline-block;
	margin: 0 3% 3% 0;
}
#instafeed li:nth-child(3n){
	margin: 0 0 3% 0;
}
#instafeed li img{
	max-width: 100%;
	height: auto;
}
#instafeed li a{
	color: #fff;
	transition-duration: .5s;
}
#instafeed li a:hover{
	opacity: .6;
}

/* Responsive Styles
======================================== */
@media only screen and (max-width:1080px) {
}
@media screen and (min-width: 769px) {
}
@media only screen and (max-width: 768px) {
	#instagram.section{
		margin-top: 40px;
	}
	#instafeed li{
		width: 49%;
		margin: 0 2% 3% 0;
	}
	#instafeed li:nth-child(3n){
		margin: 0 2% 3% 0;
	}
	#instafeed li:nth-child(2n){
		margin: 0 0% 3% 0;
	}
}
