/*modal*/
.modal .carousel-inner .helper-table {
  display: table;
  width: 100%;
  height: 100%; }

.modal .carousel-inner .helper-cell {
  position: absolute;
  display: table-cell;
  width: 100%;
  height: 100%;
  -ms-transform: translate(0, 50%);
  -o-transform: translate(0, 50%);
  transform: translate(0, 50%);
  text-align: center;
  vertical-align: middle; }

.content-container a.gallery-open-modal {
  position: relative;
  display: inline-block;
  max-width: 100%; }

.content-container .mediabox a.gallery-open-modal {
  display: table-cell; }

.content-container a.gallery-open-modal i {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: block;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-image: url("../../../../../src_core/img/icon-enlarge.png.19px");
  opacity: 0.9;
  filter: alpha(opacity=90); }
  @media all and (-webkit-min-device-pixel-ratio: 1.5), all and (-o-min-device-pixel-ratio: 3 / 2), all and (min--moz-device-pixel-ratio: 1.5), all and (min-device-pixel-ratio: 1.5) {
    .content-container a.gallery-open-modal i {
      background-image: url("../../../../../src_core/img/icon-enlarge.png@2x.19px");
      background-size: 19px auto; } }

.content-container a.gallery-open-modal:hover i {
  opacity: 0.7;
  filter: alpha(opacity=70); }

.box-content .mediabox.img-slide .carousel-inner .helper {
  line-height: normal;
  position: relative;
  display: inline-block;
  max-width: 100%;
  height: auto; }

.box-content .mediabox.img-slide span.re {
  line-height: normal; }

.modal.in span.hide {
  display: inline-block !important; }

body.modal-open {
  position: fixed;
  overflow: hidden;
  width: 100%; }

.modal .mediabox figure > a,
.modal .mediabox .carousel-control.left,
.modal .mediabox .carousel-control.right {
  height: auto; }

.modal .mediabox {
  height: 100%;
  margin: 0;
  padding: 10px;
  border: none; }

.modal .mediabox .slide,
.modal .mediabox .carousel {
  height: 100%; }

.modal .mediabox .carousel-control .icon-right,
.modal .mediabox .carousel-control .icon-left {
  position: absolute; }

.modal .mediabox .carousel-control .icon-right {
  right: 0; }

.modal .mediabox .set-container {
  line-height: 15px;
  position: absolute; }

.modal .mediabox figure,
.box-8 .box-content .modal .mediabox figure,
.modal .mediabox .carousel-inner > .item {
  width: auto;
  max-width: 100%; }

.modal .mediabox figure,
.box-8 .box-content .modal .mediabox figure {
  display: inline-block;
  float: none;
  max-height: 100%;
  margin: 0;
  background: transparent; }

.modal .mediabox .carousel-inner > .item {
  z-index: 5;
  float: none;
  width: 100%;
  height: 100%; }

.modal .mediabox img {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  -ms-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -ms-border-radius: 5px; }

.modal .mediabox .img-container {
  font-size: 0;
  position: relative;
  display: inline;
  max-width: 100%;
  max-height: 100%; }

.modal .mediabox .carousel-inner {
  height: 100%;
  text-align: center;
  background-image: url("../../../../../src_core/img/spinner.gif");
  background-repeat: no-repeat;
  background-position: center; }

.modal-carousel .modal-body {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  float: left;
  width: 100%;
  padding: 0; }

.modal-carousel .modal-header {
  position: absolute;
  display: block;
  float: left;
  width: 100%;
  height: 34px;
  padding: 10px 10px 5px 0; }

.modal .mediabox .carousel-caption {
  font-size: 14px;
  line-height: 18px;
  position: absolute;
  right: 0;
  bottom: 0.5px;
  left: 0;
  zoom: 1;
  width: auto;
  padding: 4px;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  -ms-border-radius: 0 0 5px 5px;
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccffffff, endColorstr=#ccffffff)";
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccffffff, endColorstr=#ccffffff); }

.modal .mediabox .carousel-caption .p-title {
  font-weight: bold; }

.modal .mediabox .carousel-caption .p-credit {
  display: block;
  clear: both;
  color: #000; }

.modal button.close,
.modal .modal-button.download {
  float: right; }

.modal .modal-functions {
  position: absolute;
  z-index: 50;
  top: 0;
  width: 100%;
  padding: 7px 0 5px;
  border-bottom: 1px solid #646464;
  background: transparent;
  background: -moz-linear-gradient(top, #e3e3e3 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, #e3e3e3), color-stop(50%, rgba(0, 0, 0, 0.65)), color-stop(100%, rgba(227, 227, 227, 0.29)));
  background: -webkit-linear-gradient(top, #e3e3e3 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
  background: -o-linear-gradient(top, #e3e3e3 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
  background: -ms-linear-gradient(top, #e3e3e3 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
  background: linear-gradient(to bottom, #e3e3e3 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%); }

.modal .modal-button {
  font-size: 16px;
  font-weight: normal;
  line-height: normal;
  padding: 3px 5px;
  color: #fff;
  border: none;
  background: transparent;
  text-shadow: none;
  opacity: 1;
  filter: alpha(opacity=100); }

.modal .mediabox .set-container .carousel-indicators li {
  margin-top: 0; }

.modal-backdrop.in {
  opacity: 0.9;
  filter: alpha(opacity=90); }

.modal .mediabox .set-container .carousel-indicators {
  z-index: 80; }

.modal .mediabox .counter {
  position: relative;
  z-index: 80;
  margin-right: 10px;
  color: #fff;
  text-shadow: 0 1px 1px #000; }

.modal .modal-button.download {
  display: none;
  float: left;
  width: 20px;
  height: 20px;
  margin-right: 15px;
  margin-left: 10px;
  text-indent: -19999px;
  background-image: url("../../../../../src_core/img/modal-download.png");
  background-repeat: no-repeat; }

.modal .modal-button.diashow {
  width: 26px;
  height: 20px;
  margin-left: 15px;
  text-indent: -19999px;
  background-image: url("../../../../../src_core/img/modal-diashow.png");
  background-repeat: no-repeat;
  background-position: center; }

.modal .modal-button.diashow.active {
  background-image: url("../../../../../src_core/img/modal-diashow_active.png"); }

.modal .modal-button.close {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  margin-right: 15px;
  text-indent: -19999px;
  background-image: url("../../../../../src_core/img/modal-close.png");
  background-repeat: no-repeat; }

.modal .modal-button.bildtext {
  width: 23px;
  height: 20px;
  margin-right: 15px;
  margin-left: 15px;
  text-indent: -19999px;
  background-image: url("../../../../../src_core/img/modal-bildtext.png");
  background-repeat: no-repeat; }

.modal .modal-button.bildtext.active {
  background-image: url("../../../../../src_core/img/modal-bildtext_active.png"); }

/* modal image gallery - zoom feature */
.modal .viewer {
  position: relative;
  top: 0;
  height: 100%; }

.modal .zoom-on .modal-button.diashow,
.modal .zoom-on .modal-button.download,
.modal .zoom-on .modal-button.bildtext,
.modal .zoom-on .set-container {
  cursor: auto;
  opacity: 0.5; }

.modal .zoom-on .modal-button.zoom-btn {
  display: none; }

.modal .modal-button.zoom-btn {
  width: 29px;
  height: 25px;
  margin-left: 30px;
  text-indent: -199999px;
  background-image: url("../../../../../src_core/img/zoom.png"); }

.modal-button.zoom {
  position: relative;
  top: -4px;
  display: inline-block;
  height: 35px;
  margin: -1px 0 -10px 15px;
  padding: 2px 6px;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.4);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -ms-border-radius: 3px; }

.modal .zoom a {
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-right: 15px;
  padding: 0;
  color: white;
  background-repeat: no-repeat;
  background-position: center center; }

.modal .zoom #in {
  width: 25px;
  height: 25px;
  text-indent: -199999px;
  background-image: url("../../../../../src_core/img/zoom-in.png"); }

.modal .zoom #out {
  width: 25px;
  height: 25px;
  text-indent: -199999px;
  background-image: url("../../../../../src_core/img/zoom-out.png"); }

.modal .zoom #orig {
  width: 25px;
  height: 25px;
  text-indent: -199999px;
  background-image: url("../../../../../src_core/img/zoom-orig.png"); }

.modal .zoom #fit {
  width: 25px;
  height: 25px;
  text-indent: -199999px;
  background-image: url("../../../../../src_core/img/zoom-fit.png"); }

.modal .zoom #close {
  width: 25px;
  height: 25px;
  margin-right: 0;
  text-indent: -199999px;
  background-image: url("../../../../../src_core/img/modal-close.png");
  background-size: auto; }

.modal .mediabox .viewer img {
  position: relative !important;
  max-height: inherit; }

.modal .zoom-on .mediabox .carousel-inner,
.modal .mediabox .carousel-inner.zoom-on {
  background: transparent; }

.modal img.reader-mode {
  position: relative !important;
  max-width: none;
  cursor: move;
  transform: translate(0, 0) !important; }

.modal div.img-container.viewer {
  position: relative;
  top: 0;
  max-width: inherit;
  height: 100%;
  max-height: inherit; }
  .modal div.img-container.viewer .carousel-caption {
    display: none; }

@media (min-width: 980px) {
  .modal .modal-functions {
    padding: 7px 0; }
  .modal .mediabox .set-container {
    top: 5px; }
  .modal .modal-button.bildtext {
    width: 29px;
    height: 25px;
    background-image: url("../../../../../src_core/img/modal-bildtext-big.png"); }
  .modal .modal-button.bildtext.active {
    background-image: url("../../../../../src_core/img/modal-bildtext_active-big.png"); }
  .modal .modal-button.download {
    width: 25px;
    height: 25px;
    background-image: url("../../../../../src_core/img/modal-download-big.png"); }
  .modal .modal-button.close {
    width: 21px;
    height: 21px;
    background-image: url("../../../../../src_core/img/modal-close-big.png"); }
  .modal .modal-button.diashow {
    width: 33px;
    height: 25px;
    background-image: url("../../../../../src_core/img/modal-diashow-big.png"); }
  .modal .modal-button.diashow.active {
    background-image: url("../../../../../src_core/img/modal-diashow_active-big.png"); } }

@media (max-width: 979px) {
  .modal .zoom a {
    width: 20px !important;
    height: 20px !important;
    background-size: 100% auto; }
  .modal .modal-button.zoom {
    height: 30px; }
  .modal .modal-button.zoom-btn {
    width: 23px;
    height: 20px;
    background-size: 100% auto; } }

@media (max-width: 767px) {
  .modal .mediabox .set-container {
    top: 40px; } }

@media (orientation: landscape) and (max-width: 767px) {
  .modal .modal-functions {
    right: 0;
    width: 33px;
    height: 100%;
    padding: 0 5px;
    border-bottom: none;
    border-left: 1px solid #646464;
    background: -moz-linear-gradient(left, #5e5e5e 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, #5e5e5e), color-stop(50%, rgba(0, 0, 0, 0.65)), color-stop(100%, rgba(227, 227, 227, 0.29)));
    background: -webkit-linear-gradient(left, #5e5e5e 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
    background: -o-linear-gradient(left, #5e5e5e 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
    background: -ms-linear-gradient(left, #5e5e5e 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%);
    background: linear-gradient(to right, #5e5e5e 0%, rgba(0, 0, 0, 0.65) 50%, rgba(227, 227, 227, 0.29) 100%); }
  .modal .modal-button {
    display: block;
    clear: both;
    margin: 0 0 10px 0 !important; }
  .modal .mediabox .set-container {
    top: 0; }
  .modal .modal-functions .group-1 {
    position: relative;
    top: 5px;
    right: 3px; }
  .modal .modal-functions .group-2 {
    position: absolute;
    bottom: 25px; }
  .mediabox .carousel-control.left,
  .mediabox .carousel-control.right {
    z-index: 200; }
  .modal .mediabox {
    padding: 10px 40px 10px 10px; }
  .modal .mediabox .set-container {
    top: 0; }
  .modal .zoom a {
    top: inherit;
    display: block;
    float: left;
    margin: 0 0 10px !important; }
  .modal .zoom #close {
    margin-top: 10px !important; }
  .modal .modal-button.zoom {
    top: inherit;
    left: -2px;
    display: inline-block;
    height: auto;
    padding: 2px; } }
