/* -------------------------------- 

Main Components 

-------------------------------- */
.cd-gallery {
  width: 100%;
  max-width: 1048px;
  margin: 0 auto;
}
.cd-gallery::after {
  clear: both;
  content: "";
  display: table;
}
.cd-gallery > li {
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5em;
  background: #ffffff;
}
.cd-gallery > li > a {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-gallery {
    margin: 0 auto;
  }
  .cd-gallery > li {
    width: 100%;
    float: left;
  }
  .cd-gallery > li:nth-of-type(2n) {
    margin-right: 0;
  }
}
@media only screen and (min-width: 1048px) {
  .cd-gallery {
    margin: 0 auto;
  }
  .no-touch .cd-gallery > li:hover .cd-dots li.selected a {
    /* Slider dots - change background-color of the selected dot when hover over the its parent list item */
    background: #2f2933;
    border-color: #2f2933;
  }
  .no-touch .cd-gallery > li:hover .cd-dots a {
    /* Slider dots - change dot border-color when hover over the its parent list item */
    border-color: #9688a0;
  }
  .no-touch .cd-gallery > li:hover li.move-right, .no-touch .cd-gallery > li:hover li.move-left {
    /* show preview items when hover over the its parent list item */
    opacity: 0.3;
  }
}

.cd-item-wrapper {
  position: relative;
  overflow: hidden;
  margin: 3em 0;
}
.cd-item-wrapper li {
  position: absolute;
  top: 0;
  left: 25%;
  height: 100%;
  width: 50%;
  min-height:200px;
  opacity: 0;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
  -webkit-transform: translateX(200%) scale(0.46);
  -moz-transform: translateX(200%) scale(0.46);
  -ms-transform: translateX(200%) scale(0.46);
  -o-transform: translateX(200%) scale(0.46);
  transform: translateX(200%) scale(0.46);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
  -moz-transition: -moz-transform 0.4s, opacity 0.4s;
  transition: transform 0.4s, opacity 0.4s;
  line-height:200px;
  vertical-align:middle;
}
.cd-item-wrapper li.selected {
  /* selected item */
  position: relative;
  opacity: 1;
  -webkit-transform: translateX(0) scale(1);
  -moz-transform: translateX(0) scale(1);
  -ms-transform: translateX(0) scale(1);
  -o-transform: translateX(0) scale(1);
  transform: translateX(0) scale(1);
}
.cd-item-wrapper li.move-left {
  /* item on left - preview visible */
  -webkit-transform: translateX(-73%) scale(0.46);
  -moz-transform: translateX(-73%) scale(0.46);
  -ms-transform: translateX(-73%) scale(0.46);
  -o-transform: translateX(-73%) scale(0.46);
  transform: translateX(-73%) scale(0.46);
  opacity: 0.5;
}
.cd-item-wrapper li.move-right {
  /* item on right - preview visible */
  -webkit-transform: translateX(73%) scale(0.46);
  -moz-transform: translateX(73%) scale(0.46);
  -ms-transform: translateX(73%) scale(0.46);
  -o-transform: translateX(73%) scale(0.46);
  transform: translateX(73%) scale(0.46);
  opacity: 0.5;
}
.cd-item-wrapper li.hide-left {
  /* items hidden on the left */
  -webkit-transform: translateX(-200%) scale(0.46);
  -moz-transform: translateX(-200%) scale(0.46);
  -ms-transform: translateX(-200%) scale(0.46);
  -o-transform: translateX(-200%) scale(0.46);
  transform: translateX(-200%) scale(0.46);
}
.cd-item-wrapper li img {
  display: block;
  position:relative;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:0 auto;
  max-height:200px;
  max-width:100%;
  vertical-align:middle;
  -ms-interpolation-mode:bicubic;
  image-rendering:optimizeQuality;
  image-rendering: auto;
image-rendering: crisp-edges;
image-rendering: pixelated;

}
img {
-ms-interpolation-mode:bicubic;
  image-rendering:optimizeQuality;

}
@media only screen and (min-width: 1048px) {
  .cd-item-wrapper li.move-left,
  .cd-item-wrapper li.move-right {
    /* hide preview items */
    opacity: 0.5;
  }
  .cd-item-wrapper li.focus-on-left {
    /* class added to the .selected and .move-right items when user hovers over the .move-left item (item preview on the left) */
    -webkit-transform: translateX(3%) scale(1);
    -moz-transform: translateX(3%) scale(1);
    -ms-transform: translateX(3%) scale(1);
    -o-transform: translateX(3%) scale(1);
    transform: translateX(3%) scale(1);
  }
  .cd-item-wrapper li.focus-on-left.move-right {
    -webkit-transform: translateX(76%) scale(0.46);
    -moz-transform: translateX(76%) scale(0.46);
    -ms-transform: translateX(76%) scale(0.46);
    -o-transform: translateX(76%) scale(0.46);
    transform: translateX(76%) scale(0.46);
  }
  .cd-item-wrapper li.focus-on-right {
    /* class added to the .selected and .move-left items when user hovers over the .move-right item (item preview on the right) */
    -webkit-transform: translateX(-3%) scale(1);
    -moz-transform: translateX(-3%) scale(1);
    -ms-transform: translateX(-3%) scale(1);
    -o-transform: translateX(-3%) scale(1);
    transform: translateX(-3%) scale(1);
  }
  .cd-item-wrapper li.focus-on-right.move-left {
    -webkit-transform: translateX(-76%) scale(0.46);
    -moz-transform: translateX(-76%) scale(0.46);
    -ms-transform: translateX(-76%) scale(0.46);
    -o-transform: translateX(-76%) scale(0.46);
    transform: translateX(-76%) scale(0.46);
  }
  .cd-item-wrapper li.hover {
    /* class added to the preview items (.move-left or .move-right) when user hovers over them */
    opacity: 1 !important;
  }
  .cd-item-wrapper li.hover.move-left {
    -webkit-transform: translateX(-70%) scale(0.5);
    -moz-transform: translateX(-70%) scale(0.5);
    -ms-transform: translateX(-70%) scale(0.5);
    -o-transform: translateX(-70%) scale(0.5);
    transform: translateX(-70%) scale(0.5);
  }
  .cd-item-wrapper li.hover.move-right {
    -webkit-transform: translateX(70%) scale(0.5);
    -moz-transform: translateX(70%) scale(0.5);
    -ms-transform: translateX(70%) scale(0.5);
    -o-transform: translateX(70%) scale(0.5);
    transform: translateX(70%) scale(0.5);
  }
}

.cd-dots {
  /* not visible in the html document - created using jQuery */
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  padding: .2em;
}
.cd-dots::after {
  clear: both;
  content: "";
  display: table;
}
.cd-dots li {
  display: inline-block;
  float: left;
  margin: 0 5px;
  pointer-events: none;
}
.cd-dots li.selected a {
  background: #2f2933;
  border-color: #2f2933;
}
.cd-dots a {
  display: block;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  border: 1px solid #9688a0;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: border-color 0.2s, background-color 0.2s;
  -moz-transition: border-color 0.2s, background-color 0.2s;
  transition: border-color 0.2s, background-color 0.2s;
}
@media only screen and (min-width: 1048px) {
  .cd-dots li {
    pointer-events: auto;
  }
  .cd-dots li.selected a {
    background: #cccccc;
    border-color: #cccccc;
  }
  .cd-dots a {
    height: 6px;
    width: 6px;
    border-color: #cccccc;
    /* fix a bug in IE9/10 - transparent anchor not clickable */
    background-color: rgba(255, 255, 255, 0);
  }
}


.no-js .move-right,
.no-js .move-left {
  display: none;
}

/* -------------------------------- 

xcredits 

-------------------------------- */
.credits {
  width: 90%;
  margin: 2em auto;
  text-align: center;
}

.no-touch .credits a:hover {
  text-decoration: underline;
}


/*****IE8******/
.cd-gallery-ie8 .cd-dots {
  left:0;
  right:0;
  text-align:center;
}
.cd-gallery-ie8 .cd-dots li {
  display: inline-block;
  float: none;
  margin: 0 5px;
  pointer-events: none;
}
.cd-gallery-ie8 .cd-item-wrapper li img {
  opacity:0;
  filter:alpha(opacity=0);
}
.zoomWindow {
  border:none!important;
  background-color:inherit!important;
}
.zoomLens {
  border:none!important;
}
.zoomContainer {
}
.cd-gallery > li > a:hover {
  text-decoration:none;
}
.cd-item-wrapper li.selected {
  overflow:hidden;
}
.zoomContainer {
  display:none;
}
.zoomContainer.selected {
  display:block;
}
.zoomWindow {   
   margin:-100px 0 0 10px; 
}/* -------------------------------- 

Main Components 

-------------------------------- */
.cd-gallery {
  width: 100%;
  max-width: 1048px;
  margin: 0 auto;
}
.cd-gallery::after {
  clear: both;
  content: "";
  display: table;
}
.cd-gallery > li {
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5em;
  background: #ffffff;
}
.cd-gallery > li > a {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-gallery {
    margin: 0 auto;
  }
  .cd-gallery > li {
    width: 100%;
    float: left;
  }
  .cd-gallery > li:nth-of-type(2n) {
    margin-right: 0;
  }
}
@media only screen and (min-width: 1048px) {
  .cd-gallery {
    margin: 0 auto;
  }
  .no-touch .cd-gallery > li:hover .cd-dots li.selected a {
    /* Slider dots - change background-color of the selected dot when hover over the its parent list item */
    background: #2f2933;
    border-color: #2f2933;
  }
  .no-touch .cd-gallery > li:hover .cd-dots a {
    /* Slider dots - change dot border-color when hover over the its parent list item */
    border-color: #9688a0;
  }
  .no-touch .cd-gallery > li:hover li.move-right, .no-touch .cd-gallery > li:hover li.move-left {
    /* show preview items when hover over the its parent list item */
    opacity: 0.3;
  }
}

.cd-item-wrapper {
  position: relative;
  overflow: hidden;
  margin: 3em 0;
}
.cd-item-wrapper li {
  position: absolute;
  top: 0;
  left: 25%;
  height: 100%;
  width: 50%;
  min-height:200px;
  opacity: 0;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /*will-change: transform, opacity;*/
  -webkit-transform: translateX(200%) scale(0.46);
  -moz-transform: translateX(200%) scale(0.46);
  -ms-transform: translateX(200%) scale(0.46);
  -o-transform: translateX(200%) scale(0.46);
  transform: translateX(200%) scale(0.46);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
  -moz-transition: -moz-transform 0.4s, opacity 0.4s;
  transition: transform 0.4s, opacity 0.4s;
  line-height:200px;
  vertical-align:middle;
}
.cd-item-wrapper li.selected {
  /* selected item */
  position: relative;
  opacity: 1;
  -webkit-transform: translateX(0) scale(1);
  -moz-transform: translateX(0) scale(1);
  -ms-transform: translateX(0) scale(1);
  -o-transform: translateX(0) scale(1);
  transform: translateX(0) scale(1);
}
.cd-item-wrapper li.move-left {
  /* item on left - preview visible */
  -webkit-transform: translateX(-73%) scale(0.46);
  -moz-transform: translateX(-73%) scale(0.46);
  -ms-transform: translateX(-73%) scale(0.46);
  -o-transform: translateX(-73%) scale(0.46);
  transform: translateX(-73%) scale(0.46);
  opacity: 0.5;
}
.cd-item-wrapper li.move-right {
  /* item on right - preview visible */
  -webkit-transform: translateX(73%) scale(0.46);
  -moz-transform: translateX(73%) scale(0.46);
  -ms-transform: translateX(73%) scale(0.46);
  -o-transform: translateX(73%) scale(0.46);
  transform: translateX(73%) scale(0.46);
  opacity: 0.5;
}
.cd-item-wrapper li.hide-left {
  /* items hidden on the left */
  -webkit-transform: translateX(-200%) scale(0.46);
  -moz-transform: translateX(-200%) scale(0.46);
  -ms-transform: translateX(-200%) scale(0.46);
  -o-transform: translateX(-200%) scale(0.46);
  transform: translateX(-200%) scale(0.46);
}
.cd-item-wrapper li img {
  display: block;
  position:relative;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:0 auto;
  max-height:200px;
  max-width:100%;
  vertical-align:middle;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='fixed', src='http://domain.tld/path/image.png');
      background: none;


}
@-moz-document url-prefix() { 
  .cd-item-wrapper li img { 
  -webkit-transform:translateZ(0);
  -moz-transform:translateZ(0);
  -ms-transform:translateZ(0);
  -o-transform:translateZ(0);
  transform:translateZ(0);
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
}
@media only screen and (min-width: 1048px) {
  .cd-item-wrapper li.move-left,
  .cd-item-wrapper li.move-right {
    /* hide preview items */
    opacity: 0.5;
  }
  .cd-item-wrapper li.focus-on-left {
    /* class added to the .selected and .move-right items when user hovers over the .move-left item (item preview on the left) */
    -webkit-transform: translateX(3%) scale(1);
    -moz-transform: translateX(3%) scale(1);
    -ms-transform: translateX(3%) scale(1);
    -o-transform: translateX(3%) scale(1);
    transform: translateX(3%) scale(1);
  }
  .cd-item-wrapper li.focus-on-left.move-right {
    -webkit-transform: translateX(76%) scale(0.46);
    -moz-transform: translateX(76%) scale(0.46);
    -ms-transform: translateX(76%) scale(0.46);
    -o-transform: translateX(76%) scale(0.46);
    transform: translateX(76%) scale(0.46);
  }
  .cd-item-wrapper li.focus-on-right {
    /* class added to the .selected and .move-left items when user hovers over the .move-right item (item preview on the right) */
    -webkit-transform: translateX(-3%) scale(1);
    -moz-transform: translateX(-3%) scale(1);
    -ms-transform: translateX(-3%) scale(1);
    -o-transform: translateX(-3%) scale(1);
    transform: translateX(-3%) scale(1);
  }
  .cd-item-wrapper li.focus-on-right.move-left {
    -webkit-transform: translateX(-76%) scale(0.46);
    -moz-transform: translateX(-76%) scale(0.46);
    -ms-transform: translateX(-76%) scale(0.46);
    -o-transform: translateX(-76%) scale(0.46);
    transform: translateX(-76%) scale(0.46);
  }
  .cd-item-wrapper li.hover {
    /* class added to the preview items (.move-left or .move-right) when user hovers over them */
    opacity: 1 !important;
  }
  .cd-item-wrapper li.hover.move-left {
    -webkit-transform: translateX(-70%) scale(0.5);
    -moz-transform: translateX(-70%) scale(0.5);
    -ms-transform: translateX(-70%) scale(0.5);
    -o-transform: translateX(-70%) scale(0.5);
    transform: translateX(-70%) scale(0.5);
  }
  .cd-item-wrapper li.hover.move-right {
    -webkit-transform: translateX(70%) scale(0.5);
    -moz-transform: translateX(70%) scale(0.5);
    -ms-transform: translateX(70%) scale(0.5);
    -o-transform: translateX(70%) scale(0.5);
    transform: translateX(70%) scale(0.5);
  }
}

.cd-dots {
  /* not visible in the html document - created using jQuery */
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  padding: .2em;
}
.cd-dots::after {
  clear: both;
  content: "";
  display: table;
}
.cd-dots li {
  display: inline-block;
  float: left;
  margin: 0 5px;
  pointer-events: none;
}
.cd-dots li.selected a {
  background: #2f2933;
  border-color: #2f2933;
}
.cd-dots a {
  display: block;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  border: 1px solid #9688a0;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: border-color 0.2s, background-color 0.2s;
  -moz-transition: border-color 0.2s, background-color 0.2s;
  transition: border-color 0.2s, background-color 0.2s;
}
@media only screen and (min-width: 1048px) {
  .cd-dots li {
    pointer-events: auto;
  }
  .cd-dots li.selected a {
    background: #cccccc;
    border-color: #cccccc;
  }
  .cd-dots a {
    height: 6px;
    width: 6px;
    border-color: #cccccc;
    /* fix a bug in IE9/10 - transparent anchor not clickable */
    background-color: rgba(255, 255, 255, 0);
  }
}


.no-js .move-right,
.no-js .move-left {
  display: none;
}

/* -------------------------------- 

xcredits 

-------------------------------- */
.credits {
  width: 90%;
  margin: 2em auto;
  text-align: center;
}

.no-touch .credits a:hover {
  text-decoration: underline;
}


/*****IE8******/
.cd-gallery-ie8 .cd-dots {
  left:0;
  right:0;
  text-align:center;
}
.cd-gallery-ie8 .cd-dots li {
  display: inline-block;
  float: none;
  margin: 0 5px;
  pointer-events: none;
}
.cd-gallery-ie8 .cd-item-wrapper li img {
  opacity:0;
  filter:alpha(opacity=0);
}
.zoomWindow {
  border:none!important;
  background-color:inherit!important;
}
.zoomLens {
  border:none!important;
}
.zoomContainer {
}
.cd-gallery > li > a:hover {
  text-decoration:none;
}
.cd-item-wrapper li.selected {
  overflow:hidden;
}
.zoomContainer {
  display:none;
}
.zoomContainer.selected {
  display:block;
}
.zoomWindow {   
   margin:-100px 0 0 10px; 
}
