html, body {
  height: 100%;
  margin: 0;
  width: 100%;
 
}
.center-align {
  display: table;
  height: 100%;
  overflow: hidden;
  text-align: center;
  width: 100%;
}
.center-align .wrapper {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}
.center-align .content {
  display: -moz-inline-stack;
  display: inline-block;
  text-align: left;
}
h3 {
  font-family: inherit;
  font-weight: bold;
  color: #CCC;
  font-size: 1.1em;
}
/*img {margin: 0 10px;}*/

/* ddfullscreenimageviewer */
body.revealviewer {
  overflow: hidden;
}
#fullscreencanvas {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  width: 100vw;
  height: 100vh;
  visibility: hidden;
  opacity: 0;
  background: white;
  z-index: 9000;
  pointer-events: none;
  display: block;
  transition: opacity .3s, visibility 0s .3s;
  background: #2f2e2e;
}
body.revealviewer #fullscreencanvas {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity .5s, visibility 0s .0s;
}
#fullscreenimagearea {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#fullscreencanvas img {
  position: relative;
  cursor: pointer;
  transition: all .5s;
}
div#closeviewer {
/* Large x close button  */
  width: 35px;
  height: 35px;
  overflow: hidden;
  display: block;
  position: fixed;
  cursor: pointer;
  text-indent: -1000px;
  z-index: 100000;
  top: 10px;
  right: 10px;
}
div#closeviewer::before, div#closeviewer::after {
/* render large cross inside close button */
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 6px;
  background: #fff;
  top: 50%;
  opacity: 0;
  margin-top: -3px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transition: transform .5s, opacity .5s;
}
body.revealviewer div#closeviewer::before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  opacity: 1;
}
body.revealviewer div#closeviewer::after {
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  opacity: 1;
}
/* Loading DIV CSS */
#fullimageloadingdiv, #zoomioloadingdiv {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  pointer-events: none;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  background: white;
}
#fullimageloadingdiv .spinner {
  width: 40px;
  height: 40px;
  margin: 100px auto;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}
@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}
/* zoomio */
#zoomiocontainer {
/* container containing enlarged image (native sized image) */
  position: absolute;
  z-index: 9999;
  overflow: hidden;
  background: white;
  visibility: visible;
}
#zoomiocontainer img {
/* image inside zoom container */
  width: auto;
  height: auto !important;
  position: absolute !important;
  display: block !important;
  cursor: move;
}
.disablepointer {
  pointer-events: none;
}
#zoomiocontainer.mobileclass {
/* CSS class added to zoom container on mobile OS */
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}
#zoomioloadingdiv .spinner {
  width: 40px;
  height: 40px;
  margin: 100px auto;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}
@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}
/* opsional */
.thumbnails {
  cursor: zoom-in;
}