.details.slideshow .top-bar-details .right-group {
  grid-template-columns: 44px;
}
.details.slideshow .top-bar-details .right-group .slideshow-stop, .details.slideshow .top-bar-details .right-group .slideshow-settings {
  display: flex;
}
.details.slideshow .top-bar-details .right-group .slideshow-settings > a {
  display: flex;
  padding: 0;
}
.details.slideshow .top-bar-details .right-group .slideshow-start, .details.slideshow .top-bar-details .right-group .info, .details.slideshow .top-bar-details .right-group .zoom {
  display: none;
}

.details {
  background: var(--color-grey-02);
}
.details .top-bar-details {
  position: static;
  width: 100%;
  color: #fff;
  background: #000;
  display: flex;
  align-items: center;
  position: relative;
  height: 80px;
  padding-left: var(--outer-side-padding-1);
  padding-right: var(--outer-side-padding-1);
  display: flex;
}
.details .top-bar-details .logo {
  height: 40px;
}
.details .top-bar-details .left-group {
  display: flex;
  margin-left: -5px;
}
.details .top-bar-details .left-group .fab {
  margin-right: 10px;
}
.details .top-bar-details .right-group {
  display: grid;
  grid-template-columns: 44px 44px 44px;
  grid-gap: 2px;
  margin-left: auto;
}
.details .top-bar-details .right-group .slideshow-stop {
  display: none;
}
.details .top-bar-details .right-group .slideshow-settings {
  display: none;
}
.details .top-bar-details .right-group .slideshow-settings .dropdown-toggle::after, .details .top-bar-details .right-group .slideshow-settings .dropright-toggle::after, .details .top-bar-details .right-group .slideshow-settings .dropleft-toggle::after {
  display: none;
}
.details .top-bar-details .right-group .zoom-back {
  display: none;
}
.details .top-bar-details .right-group .zoom .material-icons-outlined, .details .top-bar-details .right-group .zoom-back .material-icons-outlined {
  font-size: 30px;
}
.details .swiper {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}
.details .swiper .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -50px;
  margin-top: -50px;
  z-index: 0;
}
.details .swiper img {
  display: none;
}
.details .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  display: block;
}
.details .swiper .swiper-button-next, .details .swiper .swiper-button-prev {
  color: #fff;
  width: 30px;
  height: 30px;
  margin-top: -15px;
}
.details .swiper .swiper-button-next:after, .details .swiper .swiper-button-prev:after {
  font-size: 30px;
}

.overlay {
  top: -80px;
  height: calc(100% + 80px);
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  right: 0;
  width: 100%;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.info-open .overlay {
  visibility: visible;
  opacity: 1;
}

.details {
  overflow: hidden;
}

.page {
  display: grid;
  grid-template-columns: auto 0;
  position: absolute;
  height: calc(100% - 80px);
  width: 100%;
  left: 0;
  top: 80px;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.main {
  position: relative;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.sidebar.inner {
  display: none;
}

.sidebar-wrapper {
  top: -80px;
  height: calc(100% + 80px);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.sidebar {
  background: #fff;
  width: 86%;
  position: absolute;
  right: -86%;
  top: 0;
  height: 100%;
  z-index: 90;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
  color: #222;
  padding: 20px;
}
.sidebar .sidebar-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 20px;
}
.sidebar .sidebar-title h2 {
  font-size: 22px;
  margin: 0;
}
.sidebar .sidebar-title p {
  margin: 0;
}
.sidebar .close-sidebar {
  position: relative;
  margin-left: auto;
}
.sidebar .close-sidebar .material-icons, .sidebar .close-sidebar .material-icons-outlined {
  color: #222;
}
.sidebar .fab:hover {
  background: rgba(0, 0, 0, 0.1);
}
.sidebar .side-info {
  color: #222;
  position: absolute;
  top: 60px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 85px);
  overflow-y: scroll;
  perspective: 200vw;
}
.sidebar .side-info .side-cards {
  display: grid;
  grid-gap: 30px;
}
.sidebar .side-info .sidebar1, .sidebar .side-info .sidebar2 {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  padding-top: 15px;
  top: 0;
  left: 0;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
}
.sidebar .side-info .sidebar1 iframe, .sidebar .side-info .sidebar2 iframe {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.sidebar .side-info .sidebar2 {
  transform: rotateY(180deg);
}
.sidebar .side-info .sidebar2 iframe {
  display: none;
}

.sidebar-flip .side-info .sidebar1 {
  transform: rotateY(180deg);
}
.sidebar-flip .side-info .sidebar1 iframe {
  display: none;
}
.sidebar-flip .side-info .sidebar2 {
  transform: rotateY(0deg);
}
.sidebar-flip .side-info .sidebar2 iframe {
  display: block;
}

.slideshow-settings {
  display: none;
}

.side-card {
  font-size: 14px;
  font-weight: 300;
}
.side-card .title {
  display: flex;
}
.side-card .title .material-icons, .side-card .title .material-icons-outlined {
  margin-right: 10px;
  position: relative;
  top: -3px;
}
.side-card .title h3 {
  font-size: 16px;
  font-weight: 600;
}
.side-card .photo-title {
  font-size: 18px;
  margin-bottom: -10px;
}
.side-card .people {
  display: grid;
  grid-template-columns: 60px 60px 60px;
  grid-gap: 10px;
  margin-left: 36px;
  margin-top: 5px;
}
.side-card .people img {
  object-fit: cover;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.side-card .people p {
  display: block;
  width: 100%;
  text-align: center;
  margin: 3px 0 0 0 !important;
}
.side-card p {
  margin: 0;
}

.has-icon.side-card p {
  margin-left: 36px;
}

.info-open .sidebar-wrapper {
  pointer-events: auto;
}
.info-open .page {
  grid-template-columns: auto;
}
.info-open .sidebar {
  right: 0;
  box-shadow: -5px 0 20px 5px rgba(0, 0, 0, 0.5);
}

.zoom-in .zoom-back {
  display: flex !important;
}
.zoom-in .zoom {
  display: none;
}
.zoom-in .swiper .swiper-slide-active img {
  transform: scale(2);
}

@media screen and (min-width: 800px) {
  .overlay {
    display: none !important;
  }

  .page {
    grid-template-columns: auto 300px;
    width: calc(100% + 300px);
  }
  .sidebar {
    width: 300px;
    background: #fff;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
  }

  .info-open .page {
    width: 100%;
  }
  .info-open .main {
    width: calc(100% - 300px);
  }
}
@media screen and (min-width: 400px) {
  .details .top-bar-details .right-group {
    grid-gap: 15px;
  }

  .details .top-bar-details .left-group .fab {
    margin-right: 20px;
  }
}
@media screen and (min-width: 800px) {
  .sidebar.inner {
    display: block;
  }

  .sidebar-wrapper {
    display: none;
  }

  .details .top-bar-details {
    padding-left: var(--outer-side-padding-2);
    padding-right: var(--outer-side-padding-2);
  }

  .details .swiper .swiper-button-next, .details .swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    margin-top: -25px;
  }

  .details .swiper .swiper-button-next:after, .details .swiper .swiper-button-prev:after {
    font-size: 50px;
  }

  .info-open .sidebar-wrapper, .info-open .overlay {
    top: 0;
    height: 100%;
  }
}
