/************************* Nova Gallery Dark Colour Scheme *******************/

.disable-scroll,
.disable-scroll * {
  pointer-events: none !important;
}
#novaGallery {
  width: 100%;
  height: 600px;
  min-width: 320px;
  position: relative;
  background: url(../images/dark/loading.gif) center 200px no-repeat;
}
.parentHideOverflow {
  overflow: hidden !important;
}
#novaGallery:-webkit-full-screen {
  width: 100% !important;
  height: 100% !important;
  overflow: auto;
}
#novaGallery:-moz-full-screen {
  overflow: auto;
}
#novaGallery:fullscreen {
  overflow: auto;
}
/****** Gallery sets *********/
#novaGallerySets {
  width: 100%;
  padding-top: 40px;
  display: none;
}
#novaGallerySets.hidden {
  display: block !important;
  visibility: hidden;
}
#novaGallerySets.scale {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  -webkit-transition: all 500ms ease 100ms;
  -moz-transition: all 500ms ease 100ms;
  -ms-transition: all 500ms ease 100ms;
  -o-transition: all 500ms ease 100ms;
  transition: all 500ms ease 100ms;
}
#novaGallerySets.scaleUp {
  opacity: 0;
  -webkit-transform: scale(3) translate3d(0, 0, 0);
  -moz-transform: scale(3) translate3d(0, 0, 0);
  -ms-transform: scale(3) translate3d(0, 0, 0);
  -o-transform: scale(3) translate3d(0, 0, 0);
  transform: scale(3) translate3d(0, 0, 0);
}
#novaGallerySets.scaleDown {
  opacity: 1;
  -webkit-transform: scale(1) translate3d(0, 0, 0);
  -moz-transform: scale(1) translate3d(0, 0, 0);
  -ms-transform: scale(1) translate3d(0, 0, 0);
  -o-transform: scale(1) translate3d(0, 0, 0);
  transform: scale(1) translate3d(0, 0, 0);
}
#novaGallerySets.slide {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#novaGallerySets ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}
#novaGallerySets li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  width: 200px;
  height: 200px;
  margin: 0 40px 40px 0;
}
#novaGallerySets figure {
  position: relative;
}
#novaGallerySets figure:before,
#novaGallerySets figure:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 130px;
  padding: 10px;
  background: #ededed;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
}
#novaGallerySets li figure:before {
  z-index: 2;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
#novaGallerySets li figure:after {
  z-index: 1;
  -webkit-transform: rotate(4deg);
  -moz-transform: rotate(4deg);
  -ms-transform: rotate(4deg);
  -o-transform: rotate(4deg);
  transform: rotate(4deg);
}
#novaGallerySets img {
  position: relative;
  z-index: 3;
  width: 180px;
  height: 130px;
  padding: 10px;
  background: #ededed;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
}
#novaGallerySets figcaption {
  margin-top: 10px;
  text-align: center;
  font: 16px Voltaire, Trebuchet, Trebuchet MS, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#novaGallerySets figcaption .title {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
  max-width: 164px;
  text-align: left;
}
#novaGallerySets figcaption .number {
  font-weight: bold;
  color: #222;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  margin-left: 10px;
  padding: 3px 5px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
  background-color: #ededed;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#888888));
  background-image: -webkit-linear-gradient(top, #ededed, #888888);
  background-image: -moz-linear-gradient(top, #ededed, #888888);
  background-image: -ms-linear-gradient(top, #ededed, #888888);
  background-image: -o-linear-gradient(top, #ededed, #888888);
  background-image: linear-gradient(to bottom, #ededed, #888888);
  -pie-background: linear-gradient(top, #ededed, #888888);
  -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.7);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
/***** Gallery sections wrapper *****/
#novaGalleryWrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  
}
#novaGalleryWrapper.loading {
  background: url(../images/dark/loading.gif) center 200px no-repeat;
}
#novaGalleryWrapper.scale {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}
#novaGalleryWrapper.scaleUp {
  opacity: 1;
  -webkit-transform: scale(1) translate3d(0, 0, 0);
  -moz-transform: scale(1) translate3d(0, 0, 0);
  -ms-transform: scale(1) translate3d(0, 0, 0);
  -o-transform: scale(1) translate3d(0, 0, 0);
  transform: scale(1) translate3d(0, 0, 0);
}
#novaGalleryWrapper.scaleDown {
  opacity: 0;
  -webkit-transform: scale(0) translate3d(0, 0, 0);
  -moz-transform: scale(0) translate3d(0, 0, 0);
  -ms-transform: scale(0) translate3d(0, 0, 0);
  -o-transform: scale(0) translate3d(0, 0, 0);
  transform: scale(0) translate3d(0, 0, 0);
}

/********** Gallery Menubar ***************/
menu {
  margin: 0 auto;
  padding: 0;
  
  text-align: right;
  line-height: 50px;
  height: 50px;
  position: relative;
  padding-right: 16px;
  z-index: 11;
  background-color: #0D1433;
  /*background-image: -webkit-gradient(linear, left top, left bottom, from(#1E2759), to(#0D1433));
  background-image: -webkit-linear-gradient(top, #1E2759, #0D1433);
  background-image: -moz-linear-gradient(top, #1E2759, #0D1433);
  background-image: -ms-linear-gradient(top, #1E2759, #0D1433);
  background-image: -o-linear-gradient(top, #1E2759, #0D1433);
  background-image: linear-gradient(to bottom, #1E2759, #0D1433);
  -pie-background: linear-gradient(top, #1E2759, #0D1433);
  */
  -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.7);
  behavior: url(PIE.htc);
  color: #F2133C;
  background: url(../images/chclient.svg) no-repeat;
}
.buttonset {
  font: bold 14px/30px 'Trebuchet', Trebuchet, Trebuchet MS, Helvetica, Arial, sans-serif;
  color: #F2133C;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  margin: 0 -2px 0 0;
  vertical-align: middle;
  
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.buttonset:last-of-type {
  margin-right: 0;

}
.navButton {
  float: left;
  cursor: pointer;
  padding: 0 10px 0 32px;
  position: relative;
  border: 2px solid #F2133C;
  background-color: #0D1433;
  	text-decoration: none;
  behavior: url(PIE.htc);
  color: #F2133C;
}
.navButton:hover {
	color: #F2133C;
	text-decoration: none;
  border-right: 2px solid #FAEFD3;
  background-color: #5B062B;
}
/*.navButton:active,*/
.navButton.active {
 	color: #F2133C;
 	text-decoration: none;
  background-color: #F2133C;
}
.navButton:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 100%;
  color: #F2133C;
}
#gotoSets:before {
  background: url(../images/dark/home.svg) center center no-repeat;
}
#goHome:before {
  background: url(../images/dark/home.svg) center center no-repeat;
}
#goFullscreen {
  margin-left: 5px;
}
#goFullscreen:before {
  background: url(../images/dark/fullscreen.svg) center center no-repeat;
}
.navButton[data-mode=thumbnails]:before {
  background: url(../images/dark/thumbnails.png) center center no-repeat;
}
.navButton[data-mode=fullwidth]:before {
  background: url(../images/dark/fullwidth.png) center center no-repeat;
}
#displayButtons .navButton:first-child {
  margin-right: 5px;
  color: #F2133C;
}
#filterButtons {
  position: relative;
}
#filterButtons .navButton {
  padding-right: 28px;
  position: relative;
  float: none;
  display: block;
}
#filterButtons .navButton:before {
  background: url(../images/dark/filter.svg) center center no-repeat;
}
#filterButtons .navButton:after {
  content: '';
  position: absolute;
  top: 13px;
  right: 10px;
  border: 5px solid transparent;
  border-top: 5px solid #F2133C;
}
#filterButtons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  text-align: center;
  top: 100%;
  left: 0;
  z-index: 2;
  border: 1px solid #5B062B;
  display: none;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.7);
  -pie-watch-ancestors: 1;
  behavior: url(PIE.htc);
}
#filterButtons li {
  background: #0B001C;
  border-bottom: 1px solid #5B062B;
  line-height: 30px;
  overflow: hidden;
}
#filterButtons li:last-of-type {
  border-bottom: 0;
  behavior: url(PIE.htc);
}
#filterButtons li a {
  display: block;
  cursor: pointer;
  padding: 0 10px;
  white-space: nowrap;
}
#filterButtons li a:hover {
  background: #5B062B;

}
#filterButtons li a.active {
  background-color: #1E2759;
}
#filterButtons.no-touch:hover .navButton:after,
#filterButtons.hover .navButton:after {
  top: 7px;
  border: 5px solid transparent;
  border-bottom: 5px solid #FAEFD3;
}
#filterButtons.no-touch:hover ul,
#filterButtons.hover ul {
  display: block;
}
#showNGMenu {
  float: none;
  padding: 0 10px;
  background: transparent none;
  border: 0;
  display: none;
}
#showNGMenu span {
  font-size: 18px;
}
/***** Gallery section *****/
#novaGallery .displayStyle {
  width: 100%;
  margin: 0 auto;
  display: none;
}
#novaGallery .displayStyle.hidden {
  display: block !important;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
/******************* Thumbnail Gallery Style *****************/
#novaThumbGrid {
  width: 100%;
}
#novaThumbGrid ul {
  margin: 8px auto 0 auto;
  padding: 0;
  list-style: none;
}
#novaThumbGrid li {
  float: left;
  position: relative;
}
#novaThumbGrid li.captionOn {
  z-index: 10;
}
#novaThumbGrid figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#novaThumbGrid figure.hideOverflow {
  overflow: hidden;
}
#novaThumbGrid img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  max-width: none;
  outline: 1px solid transparent;
  /* helps remove jagged edges in firefox during 3d rotation */
}
#novaThumbGrid.css3d img {
  z-index: 0;
}
#novaThumbGrid figcaption,
#novaThumbGrid .showInfo,
#novaThumbGrid .showOverlay {
  position: absolute;
  z-index: 1;
  display: none;
}
#novaThumbGrid figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background: #F2133C;
  color: #FAEFD3;
  width: 100%;
  height: 100%;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  display: none;
  -webkit-font-smoothing: antialiased;
}
#novaThumbGrid figcaption.hideOverflow {
  overflow: hidden;
}
#novaThumbGrid figcaption h2 {
  font: 18px Fugaz One, 'Fugaz One', 'Trebuchet', Trebuchet, Trebuchet MS, 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  padding-right: 15px;
  margin: 0 0 10px 0;
}
#novaThumbGrid figcaption .details {
  font-size: 14px;
  line-height: 1.2;
  padding-top: 48px;
}
#novaThumbGrid .fixedLeft {
  left: 0;
  right: auto;
}
#novaThumbGrid .fixedRight {
  left: auto;
  right: 0;
}
#novaThumbGrid .showInfo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: url(../images/dark/show-info.svg) 14px 5px no-repeat;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
#novaThumbGrid.no-touch li:hover .showInfo,
#novaThumbGrid li.hover .showInfo {
  display: block;
}
#novaThumbGrid .captionOn .showInfo {
  background: url(../images/dark/hide-info.svg) 18px 5px no-repeat;
}
#novaThumbGrid .hoverTitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  font: 16px/24px Fugaz One, 'Fugaz One', 'Trebuchet', Trebuchet, Trebuchet MS, 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  color: #0D1433;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: 0;
  padding: 0 20px 0 10px;
  background: #F2133C;
  /* old IE fallback */
  background: rgba(242, 19, 60, 0.9);
  -webkit-transition: height 400ms ease-in-out;
  -moz-transition: height 400ms ease-in-out;
  -ms-transition: height 400ms ease-in-out;
  -o-transition: height 400ms ease-in-out;
  transition: height 400ms ease-in-out;
}
#novaThumbGrid .hoverTitle.visible {
  height: 40px;
}
#novaThumbGrid .hidden {
  display: none !important;
}
#novaThumbGrid .hoverTitle:after {
  content: '';
  position: absolute;
  top: 0;
  right: 3px;
  height: 100%;
  width: 24px;
}
#novaThumbGrid li[data-type=photoCS] .hoverTitle:after {
  background: url(../images/dark/case-study.svg) center center no-repeat;
  }
#novaThumbGrid li[data-type=photo] .hoverTitle:after {
  background: url(../images/dark/photo.png) center center no-repeat;
}
#novaThumbGrid li[data-type=audio] .hoverTitle:after {
  background: url(../images/dark/audio.png) center center no-repeat;
}
#novaThumbGrid li[data-type=video] .hoverTitle:after {
  background: url(../images/dark/video.svg) center center no-repeat;
}
#novaThumbGrid.no-touch li:hover .hoverTitle,
#novaThumbGrid li.hover .hoverTitle {
  height: 40px;
}
#novaThumbGrid li.captionOn .hoverTitle {
  display: none;
}
#novaThumbGrid .showOverlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  margin: -40px 0 0 -40px;
  width: 80px;
  height: 80px;
  cursor: pointer;
  display: none;
  opacity: 0;
  background: #222222 url(../images/dark/zoom.png) center center no-repeat;
  /* old IE fallback */
  background: rgba(0, 0, 0, 0.7) url(../images/dark/zoom.png) center center no-repeat;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-transition: opacity 400ms ease-in-out;
  -moz-transition: opacity 400ms ease-in-out;
  -ms-transition: opacity 400ms ease-in-out;
  -o-transition: opacity 400ms ease-in-out;
  transition: opacity 400ms ease-in-out;
}
#novaThumbGrid li[data-type=audio] .showOverlay,
#novaThumbGrid li[data-type=video] .showOverlay {
  background: #F2133C url(../images/dark/play.svg) center center no-repeat;
  background: rgba(242, 19, 60, 0.8) url(../images/dark/play.svg) center center no-repeat;
}
#novaThumbGrid.no-touch li:hover .showOverlay,
#novaThumbGrid li.hover .showOverlay {
  display: block;
  opacity: 1;
}
#novaThumbGrid li.captionOn .showOverlay {
  display: none !important;
}
#novaThumbGrid li.linkItem .showOverlay {
  display: none !important;
}
#novaThumbGrid li.linkItem .link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  background: #000;
  opacity: 0;
}
#novaThumbGrid li.captionOn .link {
  display: none !important;
}
#novaThumbGrid.css3d figure {
  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  -ms-perspective: 600px;
  -o-perspective: 600px;
  perspective: 600px;
  -webkit-transition: width 600ms ease-in-out, height 600ms ease-in-out;
  -moz-transition: width 600ms ease-in-out, height 600ms ease-in-out;
  -ms-transition: width 600ms ease-in-out, height 600ms ease-in-out;
  -o-transition: width 600ms ease-in-out, height 600ms ease-in-out;
  transition: width 600ms ease-in-out, height 600ms ease-in-out;
}
#novaThumbGrid.css3d img {
  -webkit-transition: -webkit-transform 600ms ease-in-out;
  -moz-transition: -moz-transform 600ms ease-in-out;
  -o-transition: -o-transform 600ms ease-in-out;
  -ms-transition: -ms-transform 600ms ease-in-out;
  transition: transform 600ms ease-in-out;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}
#novaThumbGrid.css3d figcaption {
  display: block;
  z-index: 0;
  -webkit-transition: -webkit-transform 600ms ease-in-out;
  -moz-transition: -moz-transform 600ms ease-in-out;
  -o-transition: -o-transform 600ms ease-in-out;
  -ms-transition: -ms-transform 600ms ease-in-out;
  transition: transform 600ms ease-in-out;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
#novaThumbGrid.css3d li.flip img {
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  -o-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}
#novaThumbGrid.css3d li.flip figcaption {
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.masonry,
.masonry-brick {
  -webkit-transition: all 600ms ease-in-out;
  -moz-transition: all 600ms ease-in-out;
  -ms-transition: all 600ms ease-in-out;
  -o-transition: all 600ms ease-in-out;
  transition: all 600ms ease-in-out;
}
#novaThumbGrid.setCategory li {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
.masonry-brick {
  z-index: 1;
  opacity: 0;
  -webkit-transform: scale(0) translateZ(0);
  -moz-transform: scale(0) translateZ(0);
  -ms-transform: scale(0) translateZ(0);
  -o-transform: scale(0) translateZ(0);
  transform: scale(0) translateZ(0);
}
.masonry-brick.filtered {
  z-index: 2;
  opacity: 1;
  -webkit-transform: scale(1) translateZ(0);
  -moz-transform: scale(1) translateZ(0);
  -ms-transform: scale(1) translateZ(0);
  -o-transform: scale(1) translateZ(0);
  transform: scale(1) translateZ(0);
}
.masonry-brick.not-loaded {
  display: none;
}
.play.slideSeq .masonry-brick.filtered {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
  -webkit-animation: slideTop 400ms ease both;
  -moz-animation: slideTop 400ms ease both;
  -o-animation: slideTop 400ms ease both;
  -ms-animation: slideTop 400ms ease both;
  animation: slideTop 400ms ease both;
}
.play.fadeSeq .masonry-brick.filtered {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
  -webkit-animation: fadeIn 800ms ease both;
  -moz-animation: fadeIn 800ms ease both;
  -o-animation: fadeIn 800ms ease both;
  -ms-animation: fadeIn 800ms ease both;
  animation: fadeIn 800ms ease both;
}
.play.flipSeq {
  overflow: hidden;
  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  -ms-perspective: 600px;
  -o-perspective: 600px;
  perspective: 600px;
}
.play.flipSeq .masonry-brick.filtered {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-animation: flip 800ms linear both;
  -moz-animation: flip 400ms linear both;
  -o-animation: flip 800ms linear both;
  -ms-animation: flip 800ms linear both;
  animation: flip 400ms linear both;
}
/* Sequential sliding animation for thumbnails */
@-webkit-keyframes slideTop {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}
@-moz-keyframes slideTop {
  0% {
    opacity: 0;
    -moz-transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}
@-o-keyframes slideTop {
  0% {
    opacity: 0;
    -o-transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -o-transform: translateY(0);
  }
}
@-ms-keyframes slideTop {
  0% {
    opacity: 0;
    -ms-transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -ms-transform: translateY(0);
  }
}
@keyframes slideTop {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Sequential flipping animation for thumbnails */
@-webkit-keyframes flip {
  0% {
    opacity: 0;
    -webkit-transform: rotateX(90deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: rotateY(0);
  }
}
@-moz-keyframes flip {
  0% {
    opacity: 0;
    -moz-transform: rotateX(90deg);
  }
  100% {
    opacity: 1;
    -moz-transform: rotateY(0);
  }
}
@-o-keyframes flip {
  0% {
    opacity: 0;
    -o-transform: rotateX(90deg);
  }
  100% {
    opacity: 1;
    -o-transform: rotateY(0);
  }
}
@-ms-keyframes flip {
  0% {
    opacity: 0;
    -ms-transform: rotateX(90deg);
  }
  100% {
    opacity: 1;
    -ms-transform: rotateY(0);
  }
}
@keyframes flip {
  0% {
    opacity: 0;
    transform: rotateX(90deg);
  }
  100% {
    opacity: 1;
    transform: rotateY(0);
  }
}
/* Sequential fading animation for thumbnails */
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* container to determine caption dimensions */
#captionTest {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: hidden;
  z-index: -1;
  padding: 10px;
  max-width: 300px;
  max-height: 300px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#captionTest h2 {
  font: bold 16px 'Open Sans Condensed', 'Arial Narrow', sans-serif;
  margin: 0 0 10px 0;
}
#captionTest .details {
  font-size: 12px;
  line-height: 1.4;
}
/****************** Overlay styling for thumbnails grid ****************/
#thumbMask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: #141414;
  /* fallback */
  background: rgba(0, 0, 0, 0.7);
  -pie-background: rgba(0, 0, 0, 0.7);
  width: 100%;
  display: none;
  behavior: url(PIE.htc);
}
#thumbOverlayLoader {
  position: fixed;
  z-index: 1000;
  left: 50%;
  margin: -30px 0 0 -30px;
  width: 60px;
  height: 60px;
  background: #242424 url(../images/dark/loading.gif) center center no-repeat;
  border: 1px solid #ccc;
  display: none;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  behavior: url(PIE.htc);
}
#thumbOverlay {
  position: fixed;
  z-index: 1001;
  left: 50%;
  padding: 20px;
  background-color: #0D1433;
  /*background-image: -webkit-gradient(linear, left top, left bottom, from(#1E2759), to(#0D1433));
  background-image: -webkit-linear-gradient(top, #1E2759, #0D1433);
  background-image: -moz-linear-gradient(top, #1E2759, #0D1433);
  background-image: -ms-linear-gradient(top, #1E2759, #0D1433);
  background-image: -o-linear-gradient(top, #1E2759, #0D1433);
  background-image: linear-gradient(to bottom, #1E2759, #0D1433);
  -pie-background: linear-gradient(top, #1E2759, #0D1433);
  background-color: #0D1433 /* fallback */ /*;*/
  display: none;
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}
#thumbOverlayContent {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: none;
}
#thumbOverlayContent > img {
  display: block;
  margin: auto;
}
#thumbOverlayContent .mejs-ios .mejs-fullscreen-button {
  visibility: hidden;
}

#thumbOverlay .close {
  position: absolute;
  top: -2px;
  right: -36px;
  width: 32px;
  height: 32px;
  display: block;
  cursor: pointer;
  background: url(../images/close.svg) no-repeat;
}
#thumbOverlayContent .details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 150px;
  overflow: auto;
}
#thumbOverlayContent h2 {
  font: 26px Fugaz One, 'Fugaz One', 'Trebuchet', Trebuchet, Trebuchet MS, 'Arial Narrow', Helvetica, Arial, sans-serif;
  color: #717866;
  letter-spacing: 1px;
  margin: 0;
}
#thumbOverlayContent p {
  font: 14px Voltaire, 'Trebuchet', Trebuchet, Trebuchet MS, 'Open Sans', Arial, sans-serif;
  color: #A69291;
  margin-top: 5px;
}
#thumbOverlay .next-item,
#thumbOverlay .prev-item {
  visibility: hidden;		/** remove this for personal art site to allow prev/next functionality */
  position: absolute;
  display: block;
  width: 35px;
  height: 34px;
  cursor: pointer;
  top: 50%;
  margin-top: -48px;
}
#thumbOverlay .next-item {
  background: url(../images/next.svg) no-repeat;
  right: 0;
  margin-right: -48px;
}
#thumbOverlay .prev-item {
  background: url(../images/prev.svg) no-repeat;
  left: 0;
  margin-left: -48px;
}

<!--.glryIcon { transition: 0.5s; } svg:hover .glryIcon {stroke: #FAEFD3} -->


<!-- Full Width code removed from here -->

/********** Media Queries to adjust gallery dimensions **********/
@media only screen and (max-width: 684px), only screen and (max-device-width: 684px) {
  menu {
    height: 30px;
    line-height: 30px;
    background-color: #444444;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#2b2b2b));
    background-image: -webkit-linear-gradient(top, #444444, #2b2b2b);
    background-image: -moz-linear-gradient(top, #444444, #2b2b2b);
    background-image: -ms-linear-gradient(top, #444444, #2b2b2b);
    background-image: -o-linear-gradient(top, #444444, #2b2b2b);
    background-image: linear-gradient(to bottom, #444444, #2b2b2b);
    -pie-background: linear-gradient(top, #444444, #2b2b2b);
  }
  menu #showNGMenu {
    display: block;
    height: 30px;
  }
  menu .navButton {
    float: none;
    display: block;
    margin-right: 0 !important;
    border-top: 0;
    background-image: none !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  menu #mainNGMenu {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }
  menu .buttonset {
    margin-right: 0;
    display: none;
  }
  menu.no-touch:hover .buttonset,
  menu.hover .buttonset {
    display: block;
  }
  menu #gotoSets {
    display: block;
  }
  menu #goFullscreen {
    margin: 0;
  }
  menu #goHome {
    display: block;
  }
}
@media only screen and (max-width: 480px), only screen and (max-height: 360px), only screen and (max-device-width: 480px), only screen and (max-device-height: 360px) {
  #thumbOverlayContent .details {
    display: none;
  }
}