@charset "utf-8";
/* =================================================================================
 gallery
================================================================================= */
.bgGalleryMenu{margin-bottom:20px;}

.wrapHash{
	position: relative;
	margin-bottom:30px;
	text-align: center;
	font-size: 0;
	vertical-align: top;
}

.wrapHash .photoNumber{
	position: absolute;
	top:-30px;
	left:50%;
	width:40px;
	margin-left: -30px;
	padding: 2px 10px;
	font-size:12px;
	text-align: center;
	background:#f2f2f2;
}

.photoNumber .numberIn{
	display: block;
	position: relative;
}

.photoNumber .numberIn:after{
	position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -5px;
    border-top: 10px solid #f2f2f2;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: '';
}

.bgGalleryMenu .hashTtl{
	display: inline-block;
	margin-right:20px;
	font-size: 21px;
}

.wrapHash .btnClear{
	display: inline-block;
	color:#999;
	font-size:11px;
	padding: 5px 10px;
	border: 1px solid #999;
	background: #fff;
	vertical-align: top;
}

.wrapHash br{display: none;}

#galleryMenu{
	margin:0 0 -10px -10px;
	font-size: 0;
	letter-spacing: 0;
	word-spacing: 0;
}

#galleryMenu li{
	display: inline-block;
	width : 47%;
	width: -webkit-calc(33% - 10px);
	width: -moz-calc(33% - 10px);
	width: calc(33% - 10px);
	margin:0 0 10px 10px;
	font-size:12px;
	color:#333;
	border:1px solid #6f624e;
	text-align: center;
	box-sizing: border-box;
	border-radius: 25px;
	overflow: hidden;
}

#galleryMenu li span,
#galleryMenu li a{
	display: block;
	padding: 5px;
}

#galleryMenu li.chk{
	border-color:#ff882e;
	color:#ff882e;
}

#galleryMenu input[type='checkbox']{display: none;}
#galleryMenu input[type='radio']{display: none;}

#galleryMenu li:nth-child(3n){
	width: -webkit-calc(34% - 10px);
	width: -moz-calc(34% - 10px);
	width: calc(34% - 10px);
}

/*type2*/
#galleryMenu.type2{
	margin:0 0 -10px -10px;
	font-size: 0;
	letter-spacing: 0;
	word-spacing: 0;
}

#galleryMenu.type2 li{
	display: inline-block;
	width : auto;
	margin:0 0 10px 10px;
	font-size:11px;
	color:#544e41;
	border:none;
	text-align: center;
	box-sizing: border-box;
	border-radius: 5px;
	overflow: hidden;
	background:#f2f2f2;
}

#galleryMenu.type2 li span{
	display: block;
	padding: 5px;
}

#galleryMenu input[type='checkbox']{display: none;}

#galleryMenu.type2 li:nth-child(3n){width: auto;}

#galleryMenu li.cate1 {color:#636efc;}
#galleryMenu li.cate2 {color:#af63fc;}
#galleryMenu li.cate3 {color:#fc63cb;}
#galleryMenu li.cate4 {color:#f8a65c;}
#galleryMenu li.cate5 {color:#1cdf73;}


#galleryMenu.type2 li.chk{
	background:#a29c9c;
	color:#fff;
}

#lstGallery{position: relative;}

.galleryLoader{
	position: fixed;
	top: 0px;
  	right: 0px;
  	bottom: 0px;
  	left: 0px;
  	width:29px;
  	height:29px;
  	margin: auto;
	z-index: 5;
}

.photoNumber{text-align: right;}

@media only screen and (min-width:640px){

	.bgGalleryMenu{
		margin-bottom:40px;
		box-sizing: border-box;
	}

	.bgGalleryMenu .hashTtl{font-size: 25px;}

	.wrapHash .btnClear{
		margin-top:3px;
		cursor: pointer;
		transition: all .3s;
	}

	.wrapHash .btnClear:hover,
	.wrapHash a:hover{opacity: .5}

	#galleryMenu{margin:0 0 -20px -20px;}

	#galleryMenu li{
		width:182px;
		margin:0 0 15px 15px;
		font-size:14px;
		cursor: pointer;
		transition: all .8s;
	}

	#galleryMenu li span,
	#galleryMenu li a{
		padding: 10px;
		cursor: pointer;
	}

	#galleryMenu li:nth-child(3n){width:180px;}

	#galleryMenu li:hover{border:1px solid #ff882e;}

	#galleryMenu.type2{margin:0 0 -15px -15px;}

	#galleryMenu.type2 li{
		margin:0 0 15px 15px;
		font-size:13px;
	}

	#galleryMenu.type2 li span{
		display: block;
		padding: 7px 10px 5px 10px;
	}

	#galleryMenu.type2 li:hover{
		background:#ccc;
		color:#fff;
		border:none;
	}

	.wrapHash .photoNumber{
		position: absolute;
		top:-35px;
		left:50%;
		width:60px;
		margin-left:-40px;
		padding: 2px 10px;
		font-size:14px;
	}

}

#lstGallery {
    margin: 0 0 -15px -15px;
    font-size: 0;
	letter-spacing: 0;
	word-spacing: 0;
}

#lstGallery li {
    display: inline-block;
   	width : 47%;
	width: -webkit-calc(50% - 15px);
	width: -moz-calc(50% - 15px);
	width: calc(50% - 15px);
    margin: 0 0 15px 15px;
    vertical-align: top;
    box-sizing: border-box;
    opacity:1;
    transition:all .8s;
}

#lstGallery li a{transition: all .8s;}

#lstGallery li img{width:100%;}

@media only screen and (min-width:640px){
	#lstGallery {
	    margin: 0 0 -3px -3px;
	    font-size: 0;
    	letter-spacing: 0;
    	word-spacing: 0;
	}

	#lstGallery li {
	   	width: 388px;
	    margin: 0 0 3px 3px;
	    overflow: hidden;
	}

	#lstGallery li img{
		width:auto;
		height: 100%;
	}

	#lstGallery li a:hover{opacity: .7;}
}

/* clear fix
------------------------------------------------------- */
#lstGallery:after{
	content:"";
	display:block;
	clear:both;
	height:0;
}
/* EOF */