	.ug-skin-playcustom, .ug-skin-fullscreencustom
	{
		cursor: pointer;
		background: #fff;
		border-radius: 3px;
		padding: 0 3px;
		color: #2488ff
	}
	.ug-skin-playcustom:before
	{
		content: "Play slideshow"
	}

	.ug-skin-playcustom-chi:before
	{
		content: "播放幻燈片"
	}

	.ug-skin-playcustom-smp:before
	{
		content: "播放幻灯片"
	}
	
	div[class*="ug-under"] .ug-skin-fullscreencustom:before
	{
		content: "Full Screen" !important;
	}
	div.ug-gallery-wrapper.ug-theme-grid .ug-skin-fullscreencustom:before
	{
		content: "Exit Full Screen";
	}
	div.ug-skin-fullscreencustom:hover, .ug-skin-playcustom:hover
	{
		color: #7a9d4e
	}
	.ug-skin-playcustom.ug-stop-mode:before
	{
		content: "Pause slideshow"
	}

	.ug-skin-playcustom-chi.ug-stop-mode:before
	{
		content: "暫停幻燈片"
	}

	.ug-skin-playcustom-smp.ug-stop-mode:before
	{
		content: "暂停幻灯片"
	}

	
	div[class*="ug-under"] .ug-skin-fullscreencustom,
	div[class*="ug-under"] .ug-skin-playcustom
	{
		top: 0 !important
	}
	.ug-gallery-wrapper .ug-slider-wrapper
	{
		background: #fff !important
	}
	.ug-item-wrapper img 
	{
		/*top: 30px !important*/
	}
	.ug-textpanel
	{
		bottom: -15px !important
	}

	div.ug-gallery-wrapper.ug-theme-grid .ug-textpanel-description
	{
		padding: 13px 12% 10% 12%;
		top: 0 !important;
		font-weight: bold;
		width: inherit !important;

	}
	div[class*="ug-under"] .ug-textpanel-description
	{
		padding: inherit !important;
		font-weight: bold;
		top: inherit;
	}
	
		
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
.mfp-bottom-bar
{
	background: #fff
}
.mfp-figure
{
	background: #fff;
	padding: 0 6px
}
.mfp-title, .mfp-counter
{
	color: #222;
	font-weight: bold;
	background: #fff;
	padding:5px
}
.mfp-title
{
	margin-right: 45px
}
.mfp-image-holder .mfp-close
{
	color: #222;
	right:0 
}	
@media print 
{
	.ug-slider-wrapper .ug-slider-control
	{
		display: none !important
	}	
}
@media print and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	
    .ug-item-wrapper img
	{
		top: 0 !important
	}
	#gallery,  .ug-item-wrapper, .ug-item-wrapper img
	{
		min-height: 700px !important
	}
	.ug-slider-wrapper, .ug-slider-inner,  .ug-item-wrapper, .ug-item-wrapper img
	{
	}
	.ug-slider-wrapper, .ug-slider-inner, .ug-item-wrapper 
	{
	} 
	div.textpanel, div.ug-gallery-wrapper.ug-theme-grid .ug-textpanel
	{
		display: none !important
	}
}
    