#DWebCMS-MediaGalleryWrapper div.jp-video {
	height:auto;
	margin:0 auto;
}

#DWebCMS-MediaGalleryWrapper img{
	margin:0;
}

#DWebCMS-MediaGalleryWrapper .leftnav{
	margin:0;
	position:absolute;
	top:0;
	left:0;
	background: url(/webart/mediagallery/background.png) repeat;
	height:100%;
	width:50px;
	z-index:999;
}

#DWebCMS-MediaGalleryWrapper .rightnav{
	margin:0;
	position:absolute;
	top:0;
	right:0;
	background: url(/webart/mediagallery/background.png) repeat;
	height:100%;
	width:50px;
	z-index:999;
}

#DWebCMS-MediaGalleryWrapper .leftarrow{
	background: url(/webart/mediagallery/l-arrow.png) center center no-repeat;
	height:100%;
}

#DWebCMS-MediaGalleryWrapper .rightarrow{
	background: url(/webart/mediagallery/r-arrow.png) center center no-repeat;
	height:100%;
}

#DWebCMS-MediaGalleryWrapper .videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
#DWebCMS-MediaGalleryWrapper .videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#DWebCMS-MediaGalleryWrapper a.tag {margin:5px;}
#DWebCMS-MediaGalleryWrapper .tag .ui-button-text{margin:0px!important; padding:1px 5px!important; font-size:10px; text-transform:uppercase; }


#DWebCMS-MediaGalleryWrapper div.token-input-dropdown {
	width:100px!important;
}

#DWebCMS-MediaGalleryWrapper ul.token-input-list li input{
	width:100px!important;
}

#DWebCMS-MediaWrapper{
	max-width:1000px;
	width:auto;
	margin:0 auto;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#DWebCMS-MediaGalleryWrapper  .more{position:absolute; right:10px; top:0;}
#DWebCMS-MediaGalleryWrapper  a.more{position:absolute; font-size:12px;right:10px; top:0;height:25px;padding-top:10px;text-decoration:none;}
#DWebCMS-MediaGalleryWrapper  .title{padding:10px;height:15px;font-size:14px;width:auto;float:left;}
#DWebCMS-MediaGalleryWrapper  .mediaItem{ width:100%; float:none; height:auto; margin-bottom:30px; }
#DWebCMS-MediaGalleryWrapper  .newsCategoryHeader{display:block;height:35px;border:0;font-family:Arial, Helvetica, sans-serif;font-weight:bold;position:relative;}
#DWebCMS-MediaGalleryWrapper  .mediaImageContainer{ width:100%; margin:10px 0; height:auto;}
#DWebCMS-MediaGalleryWrapper  .mediaImage{ 
	-webkit-box-shadow: #666 0px 0px 4px;
	-moz-box-shadow: #666 0px 0px 4px;
	box-shadow: #666 0px 0px 4px;
	behavior: url(/share/PIE.htc);
	max-height:160px;
	max-width:160px;
	width:20%;
	height:20%;
	
	padding:1%;
	margin:0 1%;
	float:left;
}

#DWebCMS-MediaGalleryWrapper  .mediaImage img{
	display:block;
}

#DWebCMS-MediaGalleryWrapper .PrintText{width:56%;float:left;line-height:20px; padding:0 2%;}
#DWebCMS-MediaGalleryWrapper .Print{width:36%;float:right;line-height:20px; padding:0 2%;}

#DWebCMS-MediaGalleryWrapper .propertyInput{
	border: 1px solid #e0e0e0;
	width:100%;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #FFFFFF;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFFFFF), to(#f1f1f1));
	background: -webkit-linear-gradient(#FFFFFF, #f1f1f1);
	background: -moz-linear-gradient(#FFFFFF, #f1f1f1);
	background: -ms-linear-gradient(#FFFFFF, #f1f1f1);
	background: -o-linear-gradient(#FFFFFF, #f1f1f1);
	background: linear-gradient(#FFFFFF, #f1f1f1);
	-pie-background: linear-gradient(#FFFFFF, #f1f1f1);
	behavior: url(share/PIE.htc);
	height:25px;
	margin:5px 0px;
	color:#828282;
	padding:0px 0px 0px 3px;
}

@media (max-width:600px) {
	#DWebCMS-MediaGalleryWrapper .PrintText{width:96%;float:left;line-height:20px; padding:0 2%;}
	#DWebCMS-MediaGalleryWrapper .Print{width:100%;float:left;line-height:20px; padding:0 2%;}
}

#DWebCMS-MediaGalleryWrapper div.caption-container{
	min-height:350px!important;
	float:left!important;
}

#DWebCMS-MediaGalleryWrapper div.image-desc{
	float:left!important;
}

#DWebCMS-MediaGalleryWrapper div.caption{
	float:left!important;
}

#DWebCMS-MediaGalleryWrapper span.image-caption{
	float:left!important;
}

#DWebCMS-MediaGalleryWrapper div.mediaGallerySummary{
	float:left;
	width:50%;
}


#DWebCMS-MediaGalleryWrapper .fb-comments, .fb-comments span, .fb-comments iframe[style] {width: 100% !important;}