.m-photorep {
  font-size: 0;
  position: relative;
  z-index: 1;
  overflow-x: scroll;
  overflow-y: hidden;
  margin: 10px 0;
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.9);
  -webkit-overflow-scrolling: touch;
}
.m-photorep__caption {
  font-size: 14px;
  line-height: 20px;
  /*position: absolute;*/
  z-index: 9999;
  padding: 10px;
  white-space: normal;
  pointer-events: none;
  background-color: rgba(0,0,0,0.9);
  color: #ffffff;
  /*color: #ffffff;
  text-shadow: -1px 1px 2px rgba(0, 0, 0, 0.8);*/
}
.m-photorep__caption-p {
  margin-bottom: 2.5px;
}
.m-photorep__caption-p:first-child {
  font-family: PT Sans Narrow,Arial,Helvetica,sans-serif;
  font-size: 25px;
  font-weight: normal;
  line-height: 30px;
}
.m-photorep__caption-p:last-child {
  position: relative;
  font-size: 13px;
  background: none -2px 1px no-repeat transparent;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" enable-background="new 0 0 50 50"><path fill="#fff" d="M39 38H11c-1.7 0-3-1.3-3-3V17c0-1.7 1.3-3 3-3h6c.2 0 .5-.2.6-.3l1.1-2.2c.4-.8 1.4-1.4 2.3-1.4h8c.9 0 1.9.6 2.3 1.4l1.1 2.2c.1.2.4.3.6.3h6c1.7 0 3 1.3 3 3v18c0 1.7-1.3 3-3 3zM11 16c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h28c.6 0 1-.4 1-1V17c0-.6-.4-1-1-1h-6c-.9 0-1.9-.6-2.3-1.4l-1.1-2.2c-.1-.2-.4-.4-.6-.4h-8c-.2 0-.5.2-.6.3l-1.1 2.2c-.4.9-1.4 1.5-2.3 1.5h-6z"/><path fill="#fff" d="M25 34c-5 0-9-4-9-9s4-9 9-9 9 4 9 9-4 9-9 9zm0-16c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7z"/><circle fill="#fff" cx="35" cy="18" r="1"/><path fill="#fff" d="M12 12h4v1h-4z"/><path fill="#fff" d="M25 21v-1c-2.8 0-5 2.2-5 5h1c0-2.2 1.8-4 4-4z"/></svg>');
}
.m-photorep__caption-p:last-child:before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  display: block;
  width: 22px;
  height: 20px;
  content: '';
  opacity: .4;
  background: none -3px 2px no-repeat transparent;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" enable-background="new 0 0 50 50"><path d="M39 38H11c-1.7 0-3-1.3-3-3V17c0-1.7 1.3-3 3-3h6c.2 0 .5-.2.6-.3l1.1-2.2c.4-.8 1.4-1.4 2.3-1.4h8c.9 0 1.9.6 2.3 1.4l1.1 2.2c.1.2.4.3.6.3h6c1.7 0 3 1.3 3 3v18c0 1.7-1.3 3-3 3zM11 16c-.6 0-1 .4-1 1v18c0 .6.4 1 1 1h28c.6 0 1-.4 1-1V17c0-.6-.4-1-1-1h-6c-.9 0-1.9-.6-2.3-1.4l-1.1-2.2c-.1-.2-.4-.4-.6-.4h-8c-.2 0-.5.2-.6.3l-1.1 2.2c-.4.9-1.4 1.5-2.3 1.5h-6z"/><path d="M25 34c-5 0-9-4-9-9s4-9 9-9 9 4 9 9-4 9-9 9zm0-16c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7z"/><circle cx="35" cy="18" r="1"/><path d="M12 12h4v1h-4z"/><path d="M25 21v-1c-2.8 0-5 2.2-5 5h1c0-2.2 1.8-4 4-4z"/></svg>');
}
.m-photorep__fotorama-container .fotorama__caption {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #fff;
  text-shadow: -1px 1px 2px rgba(0, 0, 0, 0.8);
}
.m-photorep__fotorama-container .fotorama__caption__wrap {
  padding-bottom: 8px;
  background-color: transparent;
}
