	[data-section="gallery"],[data-section="gallery"]>*{display:none;}
	[data-section="gallery"]>.active{display:block;height:100%;}


	body.gallery-mode [data-section="gallery"]{
		display:block;
		position:fixed;
		top:0;left:0;right:0;bottom:0;
		background-color:rgba(255,255,255,.8);
		z-index:110;
		}
		
	[data-section="gallery"] .gallery-data{
		/*position:relative;*/
		display:flex;
		overflow:auto;
		height:100%;
	}
	
	[data-section="gallery"] .gallery-data>*{
		visibility:hidden;
		height:100%;
		min-width:100%;
		flex-basis:100%;
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;	
	}

	 [data-section="gallery"] .gallery-data>:first-child
	,[data-section="gallery"] .gallery-data>:last-child{background-image:url('/pic/load.gif'); }

.gallery-control{position: absolute;}
.gallery-scroll {top: 50%;}    
.gallery-scroll-button{
	cursor:pointer;
	position: relative;
	font-size: 1.5em;
	font-weight: bold;
	color: rgba(124, 84, 0, .7);
	padding: 1em;
	background: radial-gradient(rgba(185,185,185,.7) 20%, rgba(65,65,65,0.8) 46%, transparent 70%);
	top: -1.5em
   }
.gallery-close-button{
	cursor:pointer;
	position: relative;
	font-size: 1.5em;
	font-weight: bold;
	color: rgba(144, 24, 0, .7);
	padding: 1em;
	background:radial-gradient(rgba(185,185,185,.7) 20%, rgba(65,65,65,0.8) 46%, transparent 70%);
}   

.gallery-close{right:0;top:0;padding-top:2em;}
.gallery-close-button:hover{
	color: rgba(124, 84, 0, .85);
	background: radial-gradient(rgba(205,205,145,.8) 20%, rgba(45,45,45,0.9) 46%, transparent 70%);
}

.gallery-scroll-left	{left:0;}
.gallery-scroll-right	{right:0;}
.gallery-scroll-button:hover{
	color: rgba(124, 84, 0, .85);
	background: radial-gradient(rgba(205,205,145,.8) 20%, rgba(45,45,45,0.9) 46%, transparent 70%);
}

 [data-section="gallery"]>.loading	.gallery-scroll{display:none;}
 [data-section="gallery"]			.gallery-data .active
,[data-section="gallery"]>.loading	.gallery-data>:first-child
,[data-section="gallery"]>.loading	.gallery-data>:last-child{visibility:visible;}
