/**
 * SFD 2015
 *
 * LICENSE
 *
 * This software and its source code is protected by copyright law (Sec. 69a ff. UrhG).
 * It is not allowed to make any kinds of modifications, nor must it be copied,
 * or published without explicit permission. Misuse will lead to persecution.
 *
 * @copyright  2015 infomax websolutions GmbH
 * @link       http://www.infomax-it.de
 * @package    css
 * @subpackage heroImage
 * @author     degener
 * @since      29.09.2015
 * @version    $Id: imageGalleries.css 1337 2016-10-07 09:46:15Z oswald $
 **/
/*  =========================================================
    0.1 global setting slick-galleries
     0.1.1 arrows prev/next
     0.1.2 navigation-dots
  0.2 global setting lightgallery
     0.2.1 zoom icon

  play-button videos

  1. stage ( frontdoor/content )
    2. galleries header ( frontdoor/content )
  3. image gallery article, default ( content )
  4. image gallery article, small ( content )
  5. image gallery splitscreen ( content )
========================================================== */
/*  =========================================================
    0.1.1. slick-gallery - arrows prev/next
========================================================== */
@media screen {
  .slick-arrow {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    z-index: 2000;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 0;
    overflow: visible;
  }
  .slick-arrow::after {
    content: '';
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.6);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .slick-arrow:hover::after {
    background-color: #ffffff;
  }
  .slick-arrow::before {
    font-family: 'iconset';
    font-size: 32px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1100;
  }
  .slick-arrow.slick-prev {
    left: -40px;
  }
  .slick-arrow.slick-prev::before {
    content: '\e600';
    left: 54%;
  }
  .slick-arrow.slick-next {
    right: -40px;
  }
  .slick-arrow.slick-next::before {
    content: '\e601';
    right: 54%;
  }
}
/*  =========================================================
    0.1.2. slick-gallery - navigation-dots
========================================================== */
@media screen {
  .slick-dots {
    position: absolute;
    left: 50%;
    z-index: 900;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    list-style: none;
  }
  .slick-dots > li {
    float: left;
    margin: 5px;
  }
  .slick-dots > li button {
    width: 10px;
    height: 10px;
    float: left;
    font-size: 0;
    background-color: rgba(120, 120, 120, 0.8);
    padding: 0;
    margin: 0;
    text-indent: -50000px;
    cursor: pointer;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  /*#26874 limited the dots: n is the counter (starts with 0) chooses 16 and everything above*/
  .slick-dots > li:nth-child(n+16) {
    display: none;
  }
  .slick-dots > li button:hover,
  .slick-dots > li button:focus,
  .slick-dots > li.slick-active button {
    background-color: #787878;
  }
}
/*  =========================================================
    0.2.1 lightgallery - zoom icon
========================================================== */
@media screen {
  .zoom a.icon {
    width: 58px;
    height: 58px;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    color: #fff;
    text-decoration: none;
    background-color: rgba(120, 120, 120, 0.7);
    -webkit-border-radius: 0;
    border-radius: 0;
  }
  .zoom a.icon::before {
    content: '\e603';
    font-size: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  .zoom a.icon:hover,
  .zoom a.icon:active,
  .zoom a.icon:focus {
    background-color: #787878;
  }
}
/*  =========================================================
    play-button video
========================================================== */
@media screen {
  a.playVideo {
    width: 88px;
    height: 88px;
    display: inline-block;
    position: absolute;
    top: 29.5%;
    left: 50%;
    z-index: 10;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  a.playVideo::before {
    content: '\e923';
    font-size: 88px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  }
  iframe#youTubePlayer {
    height: 100%;
    width: 100%;
  }
  .html5video > video {
    height: 100%;
    width: 100%;
  }
  iframe#youTubePlayer {
    height: 100%;
    width: 100%;
  }
  .heroGallery .html5video > video {
    height: 550px;
  }
}
@media screen and (max-width: 400px) {
  .heroGallery .html5video > video {
    height: 330px;
  }
}
/*  =========================================================
    1. stage ( frontdoor / content )
========================================================== */
@media screen {
  #stage {
    position: relative;
  }
  /* frontdoor */
  #stage.hero {
    height: 100%;
    height: 920px;
  }
  #stage.hero .keyvisual {
    object-fit: cover;
    width: 100%;
    height: 920px;
  }
  /*
    content: with keyvisual-gallery
  */
  #stage.keyvisual {
    height: 550px;
  }
  #stage.keyvisual .keyvisual {
    object-fit: cover;
    width: 100%;
    height: 550px;
  }
  /*
    content: default-solution, when no keyvisual is needed
  */
  #stage.mountains {
    height: 195px;
    background: #a3c2d9 url(/portal/assets/images/environment/mountains.svg) no-repeat 50% 100%;
    background-size: contain;
  }
  /* transparent background-layer for destination-links */
  #stage::before {
    content: '';
    width: 100%;
    height: 180px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    display: inline-block;
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.35)), color-stop(50%, rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d000000', endColorstr='#00000000', GradientType=0);
    /* IE6-9 */
  }
  #stage.mountains::before {
    content: '';
    background: transparent;
  }
  #section-wrapper {
    width: auto !important;
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  /* link slide down ( frontdoor ) */
  #stage > a.slideDown {
    width: 88px;
    height: 45px;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 20;
    display: none;
  }
  #stage > a.slideDown::before {
    content: '\e901';
    font-size: 1.5rem;
    color: #787878;
    position: absolute;
    top: 18px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 20;
  }
  #stage > a.slideDown::after {
    content: '';
    width: 88px;
    height: 88px;
    display: inline-block;
    position: absolute;
    top: 18px;
    left: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.6);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  #stage > a.slideDown:hover::after {
    background-color: #ffffff;
  }
}
@media only screen and (max-width: 590px) {
  #stage.keyvisual {
    height: 450px;
  }
  #stage.keyvisual .keyvisual {
    height: 450px;
  }
  #stage.mountains {
    height: 1px;
    overflow: hidden;
    margin-bottom: 70px;
  }
}
@media only screen and (max-width: 500px) {
  #stage.mountains {
    margin-bottom: 50px;
  }
  #stage > a.slideDown {
    display: inline-block;
  }
}
@media only screen and (max-width: 490px) {
  #stage.keyvisual {
    height: 320px;
  }
  #stage.keyvisual .keyvisual {
    height: 320px;
  }
}
@media only screen and (max-width: 400px) {
  #stage.keyvisual {
    height: 380px;
  }
  #stage.keyvisual .keyvisual {
    height: 380px;
  }
}
/* BCS #29118: Hero image responsiveness optimization for wide-format hero images */
@media only screen and (max-width: 800px) {
  #stage.hero {
    height: 600px;
  }
  #stage.hero .keyvisual {
    height: 600px;
  }
}
@media only screen and (max-width: 480px) {
  #stage.hero {
    height: 380px;
  }
  #stage.hero .keyvisual {
    height: 380px;
  }
  .hero .slick-arrow {
    margin-top: 40px;
  }
}
@media only screen and (max-width: 320px) {
  #stage.hero {
    height: 240px;
  }
  #stage.hero .keyvisual {
    height: 240px;
  }
  .hero .slick-arrow {
    margin-top: 40px;
  }
}
/*  =========================================================
    2. galleries header ( frontdoor/content )
========================================================== */
@media screen {
  /* gallery-containers */
  .gallery {
    width: 100%;
    height: 100%;
    float: left;
    position: relative;
    z-index: 10;
    overflow: hidden;
  }
  .gallery .panel {
    width: 100vw;
    height: 100vh;
    float: left;
    position: relative;
    z-index: 10;
  }
  /* images */
  .gallery .img {
    background-color: rgba(210, 210, 210, 0.4);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .gallery figure picture img {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    max-width: 100%;
  }
  .gallery.splitGallery figure picture img {
    max-width: initial;
  }
}
/*  =========================================================
    3. image gallery default-article ( content )
========================================================== */
@media screen {
  /* gallery-container */
  .imgGallery {
    width: 100%;
    height: 1px;
    float: left;
    position: relative;
    z-index: 10;
    padding: 45.62043% 0 25px 0;
    margin: 20px 0;
    overflow: hidden;
  }
  .imgGallery .gallery {
    width: 100%;
    height: auto;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    padding-bottom: 25px;
    overflow: hidden;
  }
  .imgGallery .panel {
    width: 100%;
    height: auto;
    position: relative;
    top: 0 !important;
    left: 0;
    background-color: #787878;
    overflow: hidden;
  }
  .imgGallery .panel > figure {
    width: 100%;
    padding: 45.62043% 0 0 0;
    float: left;
    position: relative;
    overflow: hidden;
  }
  .imgGallery .panel > figure picture {
    float: left;
  }
  .imgGallery .panel > figure picture img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
  }
  /* slick-gallery - navigation-dots */
  .imgGallery .slick-dots {
    bottom: 3px;
  }
  .keyvisual {
    object-fit: cover;
  }
}
@media only screen and (max-width: 1024px) {
  .imgGallery {
    margin: 0 0 10px 0;
  }
}
/*  =========================================================
    4. image gallery default-article, small ( content )
========================================================== */
@media screen {
  /* gallery-container */
  .contentGallery {
    width: 100%;
    margin: 0 0 40px 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
  }
  /* image */
  .imgWrapper {
    width: 275px;
    height: 252px;
    float: none;
    padding: 10px;
  }
  .imgWrapper:last-of-type {
    margin-right: 0;
  }
  .imgWrapper figure {
    width: 100%;
    float: left;
  }
  .imgWrapper figure a {
    float: left;
    position: relative;
    padding: 0;
    background-color: transparent;
  }
  .imgWrapper figure a:not(galleryNoZoomIcon)::after {
    content: '\e603';
    width: 48px;
    height: 48px;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 32px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: rgba(120, 120, 120, 0.7);
    padding-top: 8px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .imgWrapper figure a:hover::after,
  .imgWrapper figure a:active::after,
  .imgWrapper figure a:focus::after {
    background-color: #787878;
  }
  .imgWrapper figure a img {
    width: 100%;
    height: auto;
    float: left;
  }
  /* required for gallery widged on the images gallery page (NOT the detail page gallery) */
  #contentgallery .imageGalleryArticle .imgWrapper figure {
    padding: 90.83557% 0 0 0 !important;
  }
}
@media screen and (max-width: 600px) {
  .contentGallery {
    flex-flow: column wrap;
  }
  .imgWrapper {
    width: 100%;
    height: auto;
    margin: 10px 0;
  }
  #contentgallery .imageGalleryArticle .imgWrapper figure {
    padding-top: 72% !important;
  }
}
@media screen and (min-width: 601px) and (max-width: 800px) {
  #contentgallery .imageGalleryArticle {
    width: auto !important;
  }
}
/*  =========================================================
    5. image gallery splitscreen ( content )
========================================================== */
@media screen {
  /* gallery-container */
  .splitScreen > .lightgallery .splitGallery {
    width: 50vw;
    height: 500px;
    float: left;
    position: relative;
    z-index: 10;
    background-color: #787878;
    margin: 0;
    overflow: hidden;
  }
  .splitScreen > .lightgallery .panel {
    height: 500px;
    width: 100%;
  }
  .splitScreen > .lightgallery .img {
    background-position: 50% 100%;
    background-size: cover;
  }
  /* background-images for gallery */
  .splitScreen > .lightgallery .img_04 {
    background-image: url(/portal/assets/images/_tmp/imgGallery_04.jpg);
  }
  .splitScreen > .lightgallery .img_05 {
    background-image: url(/portal/assets/images/_tmp/imgGallery_05.jpg);
  }
  .splitScreen > .lightgallery .img_06 {
    background-image: url(/portal/assets/images/_tmp/imgGallery_06.jpg);
  }
  /* slick-gallery - navigation-dots */
  .splitGallery .slick-dots {
    bottom: 0;
    left: inherit;
    right: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    background-color: rgba(120, 120, 120, 0.8);
    padding: 5px;
  }
  .splitGallery .slick-dots > li button {
    background-color: rgba(255, 255, 255, 0.3);
  }
  .splitGallery .slick-dots > li button:hover,
  .splitGallery .slick-dots > li button:focus {
    background-color: #ffffff;
  }
  .splitGallery .slick-dots > li.slick-active button {
    background-color: #ffffff;
  }
}
@media only screen and (max-width: 800px) {
  .splitScreen > .lightgallery .splitGallery {
    width: 100vw;
  }
}
@media only screen and (max-width: 500px) {
  .splitScreen > .lightgallery {
    height: 80vh;
  }
  .splitScreen > .lightgallery .splitGallery {
    height: 80vh;
  }
  .splitScreen > .lightgallery .panel {
    height: 80vh;
  }
}
/* Video placeholder and player in stage */
@media screen {
  .panel.videoPlaceholder.videoHeader.slick-slide.slick-current.slick-active {
    width: 100%;
    height: 550px;
    object-fit: cover;
  }
  .videoHeaderImage {
    height: 550px;
    width: 100%;
  }
}
@media only screen and (max-width: 479px) {
  .panel.videoPlaceholder.videoHeader.slick-slide.slick-current.slick-active,
  .videoHeaderImage {
    height: 320px;
  }
  iframe#youTubePlayer {
    height: 262px;
    margin-top: 58px;
  }
}
@media only screen and (min-width: 480px) and (max-width: 760px) {
  iframe#youTubePlayer {
    height: 492px;
    margin-top: 58px;
  }
}
/*  =========================================================
    6. image gallery list accommodations ( content )
========================================================== */
@media screen {
  .roomDetails > .galleryWrapper {
    width: 256px;
    height: 232px;
    float: left;
    overflow: hidden !important;
  }
  /* gallery-container */
  .roomDetails > .galleryWrapper .imgGallery {
    width: 256px;
    height: 232px;
    float: left;
    position: relative;
    z-index: 10;
    background-color: #787878;
    margin: 0;
  }
  .roomDetails > .galleryWrapper .imgGallery .gallery {
    padding-bottom: 0;
  }
  .roomDetails > .galleryWrapper .imgGallery .gallery .panel {
    width: 256px;
    height: 232px;
  }
  .roomDetails > .galleryWrapper .imgGallery .gallery .panel figure {
    padding: 90.625% 0 0 0;
  }
}
@media only screen and (max-width: 690px) {
  .roomDetails > .galleryWrapper {
    float: none;
    display: inline-block;
  }
}
/*  =========================================================
    7. navigation gallery for main image gallery
========================================================== */
@media screen {
  #accommodationgallery.imgGallery {
    padding-bottom: 0;
  }
  .navigationGallery {
    width: 100%;
    height: 53px;
    float: left;
    overflow: hidden;
    margin-bottom: 24px;
  }
  .navigationGallery .navPanel {
    width: 116px;
    float: left;
    margin: 0 12px;
  }
  .navigationGallery .navPanel img {
    width: 100%;
    float: left;
    cursor: pointer;
    height: auto;
  }
}
@media only screen and (max-width: 1024px) {
  .navigationGallery .navPanel {
    margin: 0 6px;
  }
}
@media screen {
  article.teaser-grid figure figcaption a.galleryZoomIcon {
    font-family: 'iconset';
    content: '\e90e';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    font-size: 1.25rem;
  }
  article.teaser-grid figure figcaption p.galleryText {
    z-index: 30;
  }
  .hidden {
    display: none;
  }
  .imgWrapper figure a.galleryNoZoomIcon::after {
    content: '' !important;
    width: 0px;
    height: 0px;
  }
  article.teaser-grid figure figcaption a.galleryNoZoomIcon {
    height: 9%;
  }
  .bodycopy a[href^="mailto:"].galleryZoomIcon::before,
  .bodycopy a[href^="http"].galleryZoomIcon::before {
    font-family: none;
    font-size: 0rem !important;
    position: absolute;
    top: 50%;
    left: -10%;
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 3;
  }
  article.imageGalleryArticle {
    width: auto;
  }
  .tileplayButtonVideo::before {
    font-family: iconset;
    content: '\e923';
    font-size: 88px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 35%;
    top: 30%;
    z-index: 10;
  }
}
