/**
 * Gallery styles
 */
#mns .gallery.with-padding {
	padding: 2em 1em;
}

#mns .gallery li {
	width: 9em;
	height: 6em;
	line-height: 6em;
	float: left;
	text-align: center;
	vertical-align: middle;
	color: #999999;
}

#mns .gallery li img {
	border: 1px solid white;
	background: #efefef;
	background: rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	vertical-align: middle;
	margin-top: -4px;
	-moz-transition: all 250ms;
	-webkit-transition: all 250ms;
	-o-transition: all 250ms;
	transition: all 250ms;
}

#mns .gallery li a:hover img {
	padding: 4px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-background-clip: padding-box;
	border-radius: 5px;
	margin: -8px -5px -4px;
	-moz-transition: all 100ms;
	-webkit-transition: all 100ms;
	-o-transition: all 100ms;
	transition: all 100ms;
}

#mns .gallery-preview {
	position: relative;
	z-index: 89;
	min-height: 92px;
	padding: 2em;
	text-align: center;
}

#mns .gallery-preview img,
#mns .jcrop-holder {
	border: 1px solid white;
	background: #efefef;
	background: rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	vertical-align: middle;
	margin-top: -4px;
	-moz-transition: all 250ms;
	-webkit-transition: all 250ms;
	-o-transition: all 250ms;
	transition: all 250ms;
        display: inline-block;
}

#mns .jcrop-holder img {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
}

#mns .gallery-preview a:hover img {
	padding: 4px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-background-clip: padding-box;
	border-radius: 5px;
	margin: -8px -5px -4px;
	-moz-transition: all 100ms;
	-webkit-transition: all 100ms;
	-o-transition: all 100ms;
	transition: all 100ms;
}

#mns .gallery-preview .prev, #mns .gallery-preview .next {
	display: block;
	position: absolute;
	z-index: 89;
	width: 35px;
	height: 92px;
	line-height: 92px;
	top: 50%;
	margin-top: -46px;
}

#mns .gallery-preview .prev img, #mns .gallery-preview .next img {
	border: 0;
	margin: 0;
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
/* IE class */
#mns .ie7 .gallery-preview .prev img, #mns .ie7 .gallery-preview .next img {
	margin-top: 40px;
}

#mns .gallery-preview .prev:hover img, #mns .gallery-preview .next:hover img {
	border: 0;
	margin: 0;
	padding: 0;
}
/* IE class */
#mns .ie7 .gallery-preview .prev:hover img, #mns .ie7 .gallery-preview .next:hover img
	{
	margin-top: 40px;
}

#mns .gallery-preview .prev {
	left: 0;
}

#mns .gallery-preview .prev:hover {
	background-position: 0 0;
}

#mns .gallery-preview .next {
	right: 0;
}

#mns .gallery-preview .next:hover {
	background-position: 0 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
#mns .gallery:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

#mns .gallery {
	display: inline-block;
}

* html .gallery {
	height: 1%;
}

#mns .gallery {
	display: block;
}