/*
#page-content-wrapper { display: none; }
*/
.js .gallery-icon .gallery-image {
  display: none;
}
/*#content {
  -webkit-transition: width .5s, height .5s; !* Safari *!
  transition: width .5s, height .5s;
}*/
@media (min-width: 950px) {
  .js .page.tearsheets .rsSlide {
    text-align: right;
  }
}
.js .single.features #PB-text-wrapper,
.js .page.tearsheets #PB-text-wrapper {
  position: absolute;
  right: 0;
  padding: 0;
  top: 0;
  overflow: auto;
  z-index: 10000;
}
.js .single.features #PB-text-wrapper .gallery-item,
.js .page.tearsheets #PB-text-wrapper .gallery-item {
  padding-right: 0;
}
.js .single.features #PB-text-wrapper .gallery-icon:before,
.js .page.tearsheets #PB-text-wrapper .gallery-icon:before {
  content: '-';
}
.js .single.features #PB-text-wrapper .hentry,
.js .page.tearsheets #PB-text-wrapper .hentry {
  padding-left: 1em;
  padding-right: 1em;
}
.js .single.features #PB-text-wrapper h4,
.js .page.tearsheets #PB-text-wrapper h4 {
  font-size: 16px;
  margin: 0;
}
.js .single.features #PB-text-wrapper .current h4,
.js .page.tearsheets #PB-text-wrapper .current h4 {
  color: #E4B709;
}
.js .single.features figcaption,
.js .page.tearsheets figcaption {
  margin-bottom: 1em;
}
.js .single.portfolio #PB-text-wrapper {
  display: none;
}
#PB-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: opacity 0.3s, left 0.3s ease-out;
  -moz-transition: opacity 0.3s, left 0.3s ease-out;
  -o-transition: opacity 0.3s, left 0.3s ease-out;
  transition: opacity 0.3s, left 0.3s ease-out;
}
@media (max-width: 950px) {
  #PB-wrapper {
    top: 36px;
  }
}
.royalSlider {
  position: relative;
  z-index: 1;
}
.site-title,
.primary-navigation a {
  position: relative;
  z-index: 999999;
  opacity: .99;
  -webkit-transform: translateZ(1px);
  /* Safari and Chrome */

  -moz-transform: translateZ(1px);
  /* Firefox */

  -ms-transform: translateZ(1px);
  /* IE 9 */

  -o-transform: translateZ(1px);
  /* Opera */

  transform: translateZ(1px);
}
.menu-toggle {
  z-index: 999999;
  opacity: .99;
  -webkit-transform: translateZ(1px);
  /* Safari and Chrome */

  -moz-transform: translateZ(1px);
  /* Firefox */

  -ms-transform: translateZ(1px);
  /* IE 9 */

  -o-transform: translateZ(1px);
  /* Opera */

  transform: translateZ(1px);
}
#PB-thumbnails-scroller {
  position: absolute;
  z-index: 2002;
}
.PB-wrapper-H #PB-thumbnails-scroller {
  overflow-x: hidden;
}
.PB-wrapper-H #PB-thumbnails-wrapper .gallery-image {
  margin: 5px;
}
.PB-wrapper-V #PB-thumbnails-scroller {
  overflow-y: hidden;
}
.PB-wrapper-V #PB-thumbnails-wrapper .gallery-image {
  margin: 10px 5px;
}
#PB-thumbnails-wrapper {
  position: absolute;
  /*  .landscape img { width: 100%; height: auto; }
  .portrait img { width: auto; height: 100%; }*/

}
#PB-thumbnails-wrapper .gallery-image {
  position: relative;
  text-align: center;
  width: 132px;
  display: block;
  float: left;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
#PB-thumbnails-wrapper a:focus {
  outline: 0;
}
#PB-thumbnails-wrapper img {
  opacity: 0.5;
  display: block;
  margin: 0 auto;
}
#PB-thumbnails-wrapper img:hover {
  opacity: 1 !important;
  -webkit-transform: scale(1.05);
  /* Safari and Chrome */

  -moz-transform: scale(1.05);
  /* Firefox */

  -ms-transform: scale(1.05);
  /* IE 9 */

  -o-transform: scale(1.05);
  /* Opera */

  transform: scale(1.05);
}
#PB-thumbnails-wrapper img.current,
#PB-thumbnails-wrapper img:hover {
  opacity: 1 !important;
}
#PB-background-wrapper {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: right;
}
@media (max-width: 767px) {
  #PB-background-wrapper {
    top: 50px;
  }
}
