.dmxGallery2 {
	position: relative;
	-webkit-touch-callout: none;
	user-select: none;	
	outline: none;
	transition: height 1s;
}

.dmxGallery2-main-container {
	z-index: 1;
	position: absolute;
}

.dmxGallery2-image {
	position: absolute;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s;
}

.dmxGallery2-image a {
	position: absolute;
	width: 100%;
	height: 100%;
}

.dmxGallery2-autosize .dmxGallery2-image {
	background-size: 100% 100%;
}

.dmxGallery2-image-shown {
	z-index: 1;
	opacity: 1;
}

.dmxGallery2-thumb-container {
	z-index: 2;
	position: absolute;
	overflow: hidden;
}

.dmxGallery2-thumb-container-top {
}

.dmxGallery2-thumb-container-right {
}

.dmxGallery2-thumb-container-bottom {
}

.dmxGallery2-thumb-container-left {
}

.dmxGallery2-thumb-container-inner {
	opacity: 0;
	transition: opacity 400ms;
}

.dmxGallery2-thumb-container-shown {
	opacity: 1;
}

.dmxGallery2-thumb-holder {
}

.dmxGallery2-thumb {
	float: left;
	background-position: center;
	background-size: cover;
	box-sizing: border-box;
	cursor: pointer;
}

.dmxGallery2-thumb:hover {
}

.dmxGallery2-thumb-active {
	border: 1px solid #f00;
}

.dmxGallery2-caption {
	z-index: 1;
	position: absolute;
	box-sizing: border-box;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	background: #fff;
	color: #333;
	padding: 10px;
}

.dmxGallery2-caption:empty {
	display: none;
}

.dmxGallery2-caption-top {
	top: 0;
}

.dmxGallery2-caption-bottom {
	bottom: 0;
}

.dmxGallery2-caption h3 {
	margin: 0;
	padding: 0;
}

.dmxGallery2-caption p {
	margin: 0;
	padding: 0;
}

.dmxGallery2-prev, .dmxGallery2-next, .dmxGallery2-play, .dmxGallery2-pause {
	cursor: pointer;
}


/*
	Perfect Scrollbar CSS
*/

.ps-container.ps-active-x > .ps-scrollbar-x-rail, .ps-container.ps-active-y > .ps-scrollbar-y-rail {
  display: block; }
.ps-container > .ps-scrollbar-x-rail {
  display: none;
  position: absolute;
  /* please don't change 'position' */
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
  -moz-transition: background-color 0.2s linear, opacity 0.2s linear;
  -o-transition: background-color 0.2s linear, opacity 0.2s linear;
  transition: background-color 0.2s linear, opacity 0.2s linear;
  bottom: 3px;
  /* there must be 'bottom' for ps-scrollbar-x-rail */
  height: 8px; }
  .ps-container > .ps-scrollbar-x-rail > .ps-scrollbar-x {
    position: absolute;
    /* please don't change 'position' */
    background-color: #aaa;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background-color 0.2s linear;
    -moz-transition: background-color 0.2s linear;
    -o-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
    bottom: 0;
    /* there must be 'bottom' for ps-scrollbar-x */
    height: 8px; }
  .ps-container > .ps-scrollbar-x-rail.in-scrolling {
    background-color: #eee;
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90); }
.ps-container > .ps-scrollbar-y-rail {
  display: none;
  position: absolute;
  /* please don't change 'position' */
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: background-color 0.2s linear, opacity 0.2s linear;
  -moz-transition: background-color 0.2s linear, opacity 0.2s linear;
  -o-transition: background-color 0.2s linear, opacity 0.2s linear;
  transition: background-color 0.2s linear, opacity 0.2s linear;
  right: 3px;
  /* there must be 'right' for ps-scrollbar-y-rail */
  width: 8px; }
  .ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
    position: absolute;
    /* please don't change 'position' */
    background-color: #aaa;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background-color 0.2s linear;
    -moz-transition: background-color 0.2s linear;
    -o-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
    right: 0;
    /* there must be 'right' for ps-scrollbar-y */
    width: 8px; }
  .ps-container > .ps-scrollbar-y-rail.in-scrolling {
    background-color: #eee;
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90); }
.ps-container:hover > .ps-scrollbar-x-rail, .ps-container:hover > .ps-scrollbar-y-rail {
  opacity: 0.6;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  filter: alpha(opacity=60); }
  .ps-container:hover > .ps-scrollbar-x-rail.in-scrolling, .ps-container:hover > .ps-scrollbar-y-rail.in-scrolling {
    background-color: #eee;
    opacity: 0.9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90); }
.ps-container:hover > .ps-scrollbar-x-rail:hover {
  background-color: #eee;
  opacity: 0.9;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90); }
  .ps-container:hover > .ps-scrollbar-x-rail:hover > .ps-scrollbar-x {
    background-color: #999; }
.ps-container:hover > .ps-scrollbar-y-rail:hover {
  background-color: #eee;
  opacity: 0.9;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90); }
  .ps-container:hover > .ps-scrollbar-y-rail:hover > .ps-scrollbar-y {
    background-color: #999; }
