.cp-gallery-with-tabs__title {
  padding-bottom: 40px;
  padding-bottom: 4rem;
}

.cp-gallery-with-tabs__title .el-title {
  display: block;
  width: 800px;
  width: 80rem;
  margin: 0 auto;
  font-size: 48px;
  font-size: 4.8rem;
  font-family: "genesis-head-office-light", sans-serif;
  font-weight: normal;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 50px;
  line-height: 5rem;
  text-align: center;
}

.cp-gallery-with-tabs .cm-tab-item {
  overflow: hidden;
  position: relative;
  padding-top: 50.1043%;
}

.cp-gallery-with-tabs .cm-tab-btn {
  padding: 0 140px;
  padding: 0 14rem;
}

.cp-gallery-with-tabs .cm-tab-btn .tab-btn {
  padding: 20px 15% 20px 0;
  padding: 2rem 15% 2rem 0;
  font-family: "genesis-Head-office", sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 20px;
  line-height: 2rem;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.cp-gallery-with-tabs .cm-tab-btn .text {
  display: block;
}

.cp-gallery-with-tabs .cm-tab-btn ul {
  margin: 0;
}

.cp-gallery-with-tabs .cm-tab-btn li {
  padding: 0;
}

.cp-gallery-with-tabs .cm-tab-btn .line {
  height: 1px;
  height: 0.1rem;
}

.cp-gallery-with-tabs .cm-tab-btn .line-inner {
  height: 1px;
  height: 0.1rem;
}

.cp-gallery-with-tabs .cm-tab-content {
  padding: 40px 0 0;
  padding: 4rem 0 0;
}

.cp-gallery-with-tabs .img-gallery-inner {
  position: absolute;
  top: -4px;
  top: -0.4rem;
  right: -4px;
  right: -0.4rem;
  left: -4px;
  left: -0.4rem;
  bottom: -4px;
  bottom: -0.4rem;
}

.cp-gallery-with-tabs .img-gallery-area {
  float: left;
  width: 33.351%;
}

.cp-gallery-with-tabs .img-gallery-area .img {
  display: block;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.cp-gallery-with-tabs .img-gallery-area .img:before, .cp-gallery-with-tabs .img-gallery-area .img:after {
  position: absolute;
  opacity: 0;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
  content: '';
}

.cp-gallery-with-tabs .img-gallery-area .img:before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
}

.cp-gallery-with-tabs .img-gallery-area .img:after {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 16px;
  height: 16px;
  z-index: 6;
  background: url("../../../../../../etc.clientlibs/genesis-p2/global/clientlibs/clientlib-basepage/resources/images/ico-gallery-dim.png");
}

.cp-gallery-with-tabs .img-gallery-area .img:hover:before, .cp-gallery-with-tabs .img-gallery-area .img:hover:after {
  opacity: 1;
}

.cp-gallery-with-tabs .img-gallery-area .img:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.cp-gallery-with-tabs .img-gallery-area .js-animate-picture {
  padding-top: 100%;
}

.cp-gallery-with-tabs .img-gallery-area .js-animate-picture img {
  position: absolute;
  top: -100%;
  right: -100%;
  bottom: -100%;
  left: -100%;
  width: auto;
  height: auto;
  margin: auto;
  min-width: 100%;
  min-height: 100%;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 100.474%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-height: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 49.45%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):nth-child(3) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(3) .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):nth-child(3) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(3) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-width: 100%;
  max-height: none;
}

.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 100.474%;
}

.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: none;
  max-height: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) {
  width: 33.298%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 49.845%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 100.634%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-height: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 49.845%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 49.53%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):nth-child(3) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(3) .js-animate-picture {
  padding-top: 49.845%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):nth-child(3) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(3) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 100.634%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-width: none;
  max-height: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 49.845%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: 100%;
  max-height: none;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 100.474%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-height: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 49.45%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):nth-child(3) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(3) .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):nth-child(3) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(3) .js-animate-picture img {
  max-width: 100%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture {
  padding-top: 49.766%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture img {
  max-width: 100%;
  max-height: none;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture {
  padding-top: 100.474%;
}

.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture img,
.cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
  max-width: none;
  max-height: 100%;
}

.cp-gallery-with-tabs .img-gallery-box {
  padding: 4px;
  padding: 0.4rem;
}

.gallery-tabs-popup.cm-layer .cm-layer__wrapper {
  overflow-y: auto;
  top: 0;
  width: 100%;
  height: 100%;
  background: #111;
  font-size: 0;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.gallery-tabs-popup.cm-layer .cm-layer__content {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.gallery-tabs-popup.cm-layer .cm-layer__content-inner {
  display: inline-block;
  position: relative;
  width: 100%;
  vertical-align: middle;
}

.gallery-tabs-popup.cm-layer .cm-layer__content:after {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  content: '';
}

.gallery-tabs-popup.cm-layer .cm-layer__content .js-animate-picture {
  position: relative;
  vertical-align: middle;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .js-animate-picture img {
  width: 100%;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container {
  margin: 70px 0;
  margin: 7rem 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container:before, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container:after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  z-index: 2;
  pointer-events: none;
  content: '';
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container:before {
  left: 0;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.35)), to(transparent));
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), transparent);
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container:after {
  right: 0;
  background: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.35)), to(transparent));
  background: linear-gradient(to left, rgba(0, 0, 0, 0.35), transparent);
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container.has-description .slide-inner:after {
  opacity: 1;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container.swiper-no-swiping:before, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container.swiper-no-swiping:after {
  opacity: 0;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container.swiper-no-swiping ~ .swiper-button-prev,
.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container.swiper-no-swiping ~ .swiper-button-next {
  display: none;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .is-active .js-animate-picture:before, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .is-active .js-animate-picture:after {
  opacity: 1;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .is-active .cm-share__link {
  display: block;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .cm-share__link {
  display: none;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .swiper-slide-prev .js-animate-picture:before, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .swiper-slide-prev .js-animate-picture:after, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .swiper-slide-next .js-animate-picture:before, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container .swiper-slide-next .js-animate-picture:after {
  opacity: 0;
  -webkit-transition: opacity .4s;
  transition: opacity .4s;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .slide-inner {
  position: relative;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .slide-inner:after {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 25%;
  opacity: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(transparent));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  -webkit-transition: opacity .4s;
  transition: opacity .4s;
  content: '';
}

.gallery-tabs-popup.cm-layer .cm-layer__content .slide-inner .cm-share {
  display: block;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-pagination {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  position: static;
  width: auto;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-disabled {
  display: none;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-interface {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  position: absolute;
  right: 0;
  bottom: 26px;
  bottom: 2.6rem;
  left: 0;
  z-index: 10;
  padding: 0 80px;
  padding: 0 8rem;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-control {
  margin-left: 5px;
  margin-left: 0.5rem;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-control .btn-controls {
  display: block;
  position: relative;
  width: 20px;
  width: 2rem;
  height: 20px;
  height: 2rem;
  font-size: 0;
  color: #fff;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-control .btn-controls.is-play:after {
  display: inline-block;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
  vertical-align: middle;
  content: '';
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-control .btn-controls.is-pause:before, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-control .btn-controls.is-pause:after {
  display: inline-block;
  width: 3px;
  width: 0.3rem;
  height: 12px;
  height: 1.2rem;
  margin: 0 2px;
  margin: 0 0.2rem;
  background: #fff;
  vertical-align: middle;
  content: '';
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-prev {
  left: 30px;
  left: 3rem;
  margin-top: -31px;
  margin-top: -3.1rem;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-next {
  right: 30px;
  right: 3rem;
  margin-top: -31px;
  margin-top: -3.1rem;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-wrap {
  position: absolute;
  left: 50%;
  bottom: 25px;
  bottom: 2.5rem;
  z-index: 10;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-inner {
  width: 800px;
  width: 80rem;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-inner.is-opened .fold-text-btn:after {
  top: 6px;
  top: 0.6rem;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-inner.is-opened .fold-desc-wrap {
  visibility: visible;
  opacity: 1;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-btn {
  display: inline-block;
  overflow: hidden;
  position: relative;
  padding-right: 20px;
  padding-right: 2rem;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-btn:after {
  position: absolute;
  top: 10px;
  top: 1rem;
  right: 2px;
  right: 0.2rem;
  width: 5px;
  width: 0.5rem;
  height: 5px;
  height: 0.5rem;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  content: '';
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-title {
  display: inline-block;
  margin-bottom: 10px;
  margin-bottom: 1rem;
  padding-top: 5px;
  padding-top: 0.5rem;
  font-family: "genesis-head-office-light", sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: normal;
  color: #fff;
  line-height: 1;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap {
  overflow: hidden;
  visibility: hidden;
  height: 0;
  opacity: 0;
  color: #fff;
  -webkit-transition: opacity .4s, visibility .4s, height .4s;
  transition: opacity .4s, visibility .4s, height .4s;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-desc {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-disc {
  margin-top: 18px;
  margin-top: 1.8rem;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.571;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-disc:first-child {
  margin-top: 0;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .cm-share {
  display: none;
}

.gallery-tabs-popup.cm-layer .cm-layer__content .cm-share__link {
  right: 30px;
  right: 3rem;
  bottom: 30px;
  bottom: 3rem;
}

.type-light .cp-gallery-with-tabs__title .el-title {
  color: #000;
}

.type-light .cp-gallery-with-tabs .cm-tab-btn .tab-btn {
  color: #757575;
}

.type-light .cp-gallery-with-tabs .cm-tab-btn .tab-btn:hover {
  color: #000;
}

.type-light .cp-gallery-with-tabs .cm-tab-btn li.is-active .tab-btn {
  color: #000;
}

.type-light .cp-gallery-with-tabs .cm-tab-btn li .line {
  background: #e5e5e5;
}

.type-light .cp-gallery-with-tabs .cm-tab-btn li .line-inner {
  background: #000;
}

.type-light .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-prev button:after,
.type-light .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-next button:after {
  background: url("../images/ico-swiper-arrow.png") no-repeat;
  background-size: 100% auto;
}

@media (max-width: 1599px) {
  .cp-gallery-with-tabs__title {
    padding-bottom: 30px;
    padding-bottom: 3rem;
  }
  .cp-gallery-with-tabs__title .el-title {
    width: 560px;
    width: 56rem;
    font-size: 42px;
    font-size: 4.2rem;
    line-height: 44px;
    line-height: 4.4rem;
  }
  .cp-gallery-with-tabs .cm-tab-btn {
    padding: 0 100px;
    padding: 0 10rem;
  }
  .cp-gallery-with-tabs .cm-tab-btn .tab-btn {
    padding: 16px 15% 16px 0;
    padding: 1.6rem 15% 1.6rem 0;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 18px;
    line-height: 1.8rem;
  }
  .cp-gallery-with-tabs .cm-tab-content {
    padding-top: 30px;
    padding-top: 3rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-prev {
    left: 20px;
    left: 2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-next {
    right: 20px;
    right: 2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-wrap {
    bottom: 20px;
    bottom: 2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-inner {
    width: 760px;
    width: 76rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-title {
    margin-bottom: 6px;
    margin-bottom: 0.6rem;
    padding-top: 5px;
    padding-top: 0.5rem;
    font-size: 16px;
    font-size: 1.6rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-desc {
    font-size: 16px;
    font-size: 1.6rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-disc {
    margin-top: 13px;
    margin-top: 1.3rem;
    font-size: 14px;
    font-size: 1.4rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-disc:first-child {
    margin-top: 0;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .cm-share__link {
    bottom: 20px;
    bottom: 2rem;
  }
}

@media (max-width: 1359px) {
  .cp-gallery-with-tabs__title {
    padding-bottom: 14px;
    padding-bottom: 1.4rem;
  }
  .cp-gallery-with-tabs__title .el-title {
    width: 416px;
    width: 41.6rem;
    font-size: 30px;
    font-size: 3rem;
    line-height: 32px;
    line-height: 3.2rem;
  }
  .cp-gallery-with-tabs .cm-tab-btn {
    padding: 0 76px;
    padding: 0 7.6rem;
  }
  .cp-gallery-with-tabs .cm-tab-btn .tab-btn {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 16px;
    line-height: 1.6rem;
  }
  .cp-gallery-with-tabs .cm-tab-content {
    padding-top: 30px;
    padding-top: 3rem;
  }
  .cp-gallery-with-tabs .img-gallery-area .img:after {
    right: 10px;
    right: 1rem;
    bottom: 10px;
    bottom: 1rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-prev {
    left: 20px;
    left: 2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-next {
    right: 20px;
    right: 2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-wrap {
    width: 100%;
    bottom: 24px;
    bottom: 2.4rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-inner {
    width: 100%;
    padding: 14px 30px 0;
    padding: 1.4rem 3rem 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-title {
    margin-bottom: 2px;
    margin-bottom: 0.2rem;
    padding-top: 5px;
    padding-top: 0.5rem;
    font-size: 14px;
    font-size: 1.4rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-desc {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.571;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-disc {
    margin-top: 9px;
    margin-top: 0.9rem;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.5;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-disc:first-child {
    margin-top: 0;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .cm-share__link {
    bottom: 20px;
    bottom: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .cp-gallery-with-tabs__title {
    padding-bottom: 12px;
    padding-bottom: 1.2rem;
  }
  .cp-gallery-with-tabs__title .el-title {
    width: 315px;
    width: 31.5rem;
    font-size: 36px;
    font-size: 3.6rem;
    line-height: 38px;
    line-height: 3.8rem;
  }
  .cp-gallery-with-tabs .cm-tab-item {
    padding-top: 139.734%;
  }
  .cp-gallery-with-tabs .cm-tab-item .js-animate-picture {
    height: 100%;
    padding-top: 0 !important;
  }
  .cp-gallery-with-tabs .cm-tab-btn {
    padding: 0;
  }
  .cp-gallery-with-tabs .cm-tab-btn .tab-btn {
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 18px;
    line-height: 1.8rem;
  }
  .cp-gallery-with-tabs .cm-tab-btn .text {
    width: 380px;
    width: 38rem;
  }
  .cp-gallery-with-tabs .cm-tab .cp-swiper-tab-area .swiper-container {
    margin: -5px 0;
    margin: -0.5rem 0;
    padding: 5px 30px;
    padding: 0.5rem 3rem;
  }
  .cp-gallery-with-tabs .img-gallery-inner {
    top: -2px;
    top: -0.2rem;
    right: -2px;
    right: -0.2rem;
    left: -2px;
    left: -0.2rem;
    bottom: -2px;
    bottom: -0.2rem;
  }
  .cp-gallery-with-tabs .img-gallery-box {
    float: left;
    height: 100%;
    padding: 2px;
    padding: 0.2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .cp-gallery-with-tabs .img-gallery-area {
    overflow: hidden;
    position: absolute;
    width: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child {
    top: 0;
    bottom: 66.7%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2):first-child,
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child {
    width: 33.51%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2):last-child,
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:last-child {
    float: none;
    overflow: hidden;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):first-child,
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child {
    width: 33.51%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):nth-child(2),
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) {
    width: 32.985%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):last-child,
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:last-child {
    float: none;
    overflow: hidden;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3):last-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:first-child .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:last-child .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child,
  .cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child {
    width: 66.495%;
  }
  .cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2):nth-child(2) .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:first-child.align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) {
    top: 33.3%;
    bottom: 33.4%;
    width: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2):first-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child {
    width: 66.495%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2):last-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:last-child {
    float: none;
    overflow: hidden;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):first-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child {
    width: 33.51%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):nth-child(2),
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) {
    width: 32.985%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):last-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:last-child {
    float: none;
    overflow: hidden;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3):last-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:last-child .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child {
    width: 33.51%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child .js-animate-picture img {
    max-width: none;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2):last-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(2).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:last-child {
    float: none;
    overflow: hidden;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) {
    top: 66.6%;
    bottom: 0;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2):first-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child {
    width: 33.51%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2):last-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:last-child {
    float: none;
    overflow: hidden;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):first-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child {
    width: 33.51%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):first-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:first-child .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):nth-child(2),
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) {
    width: 32.985%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):nth-child(2) .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:nth-child(2) .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):last-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:last-child {
    float: none;
    overflow: hidden;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3):last-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3) .img-gallery-box:first-child:nth-last-child(3) ~ .img-gallery-box:last-child .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2):first-child,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:first-child {
    width: 66.495%;
  }
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2):last-child .js-animate-picture img,
  .cp-gallery-with-tabs .img-gallery-area:nth-child(3).align-type2 .img-gallery-box:first-child:nth-last-child(2) ~ .img-gallery-box:last-child .js-animate-picture img {
    max-width: none;
    max-height: 100%;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content {
    overflow: hidden;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content-inner {
    position: static;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container {
    overflow: visible;
    height: 100%;
    margin: 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container:before, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container:after {
    display: none;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .slide-inner:after {
    display: none;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .slide-inner .cm-share {
    display: none;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .slide-image {
    position: relative;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .slide-image:before, .gallery-tabs-popup.cm-layer .cm-layer__content .slide-image:after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10%;
    z-index: 2;
    pointer-events: none;
    content: '';
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .slide-image:before {
    left: 0;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.35)), to(transparent));
    background: linear-gradient(to right, rgba(0, 0, 0, 0.35), transparent);
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .slide-image:after {
    right: 0;
    background: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.35)), to(transparent));
    background: linear-gradient(to left, rgba(0, 0, 0, 0.35), transparent);
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-prev, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-next {
    width: 32px;
    width: 3.2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-prev button:after, .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-next button:after {
    width: 12px;
    width: 1.2rem;
    height: 22px;
    height: 2.2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-prev {
    left: 0;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-button-next {
    right: 0;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-interface {
    bottom: 22px;
    bottom: 2.2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-wrap {
    position: relative;
    bottom: auto;
    background: none;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-inner.is-opened .fold-text-btn:after {
    top: 10px;
    top: 1rem;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-btn {
    padding-right: 18px;
    padding-right: 1.8rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-btn:after {
    top: 6px;
    top: 0.6rem;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-text-title {
    margin-bottom: 0;
    font-size: 16px;
    font-size: 1.6rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap {
    margin-top: 12px;
    margin-top: 1.2rem;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .fold-desc-wrap .fold-disc {
    margin-top: 20px;
    margin-top: 2rem;
    color: #999;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .cm-share {
    display: block;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .cm-share__link {
    right: 10px;
    right: 1rem;
    bottom: 10px;
    bottom: 1rem;
  }
}

@media screen and (max-width: 767px) and (max-device-width: 767px) and (orientation: landscape) {
  .gallery-tabs-popup.cm-layer .cm-layer__content {
    overflow: visible;
    display: block;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content-inner {
    position: relative;
  }
  .gallery-tabs-popup.cm-layer .cm-layer__content .swiper-container {
    overflow: hidden;
    margin: 70px 0;
    margin: 7rem 0;
  }
}
