.imageviewerblock{ margin-bottom: $md-space; } .image-gallery { .image-gallery-item { width: 285px; padding-right: 15px; padding-left: 15px; .figure-image-container { position: relative; min-width: 255px; min-height: 170px; background-color: $light-grey; margin-bottom: $xs-space; .figure-image { max-height: 100%; max-width: 100%; width: auto; height: auto; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } } .image-description { margin-bottom: 10px; } } } @media (min-width: 576px) { .modal-dialog { max-width: 1065px; } } .fancybox-content { padding: 0 !important; overflow: auto; } .lightbox-html figure { background-color: $light-grey; max-width: 950px; max-height: 650px; text-align: center; margin: 0 auto; position: relative; } @media (min-width: 38em) { .lightbox-html figure { min-width: 550px; } } @media (min-width: 48em) { .lightbox-html figure { min-height: 500px; min-width: 650px; } } @media (min-width: 63.5em) { .lightbox-html figure { min-height: 500px; min-width: 650px; } } @media (min-width: 82em) { .lightbox-html figure { float: left; display: table; min-height: 500px; min-width: 750px; } } @media (min-width: 104em) { .lightbox-html figure { min-height: 632px; min-width: 950px; } } @media (min-width: 70em) { .lightbox-html figure span { display: table-cell; vertical-align: middle; } } .lightbox-html figure img { display: block; margin: 0 auto; max-height: 200px; } @media (min-width: 38em) { .lightbox-html figure img { max-height: 400px; } } @media (min-width: 48em) { .lightbox-html figure img { max-width: 750px; max-height: 500px; } } @media (min-width: 104em) { .lightbox-html figure img { max-width: 950px; max-height: 632px; } } .lightbox-html .meta { width: 320px; padding: 1.2em; font-size: .9em; background: #fff; } @media (min-width: 48em) { .lightbox-html .meta { max-width: 320px; padding: 1.5em; font-size: 1em; } } @media (min-width: 70.5em) { .lightbox-html .meta { max-width: 320px; font-size: .9em; padding: 2.5em 2em 1em 2em; overflow: hidden; } } .lightbox-html .meta .basic { float: none; width: 100%; } @media (min-width: 63.5em) { .lightbox-html .meta .basic { float: none; width: 100%; } } .lightbox-html .meta .extra { float: none; width: 100%; border-top: 1px solid #e1e1e1; padding-top: 1.5em; margin-top: 1.5em; } @media (min-width: 63.5em) { .lightbox-html .meta .extra { float: none; width: 100%; border-top: 1px solid #e1e1e1; padding-top: 1.5em; margin-top: 1.5em; p { margin-bottom: 1.5rem; } } } .lightbox-html .meta .extra .button-default { display: block; text-align: center; } .lightbox-html .meta { .current, .total { font-family: "Lato Bold"; } .count, .current, .total, p, p strong { font-size: .9em; } } // Image slider .image-slider { .slider-image-container { position: relative; background-color: $light-grey; height: 517px; @include media-breakpoint-down(lg) { height: 430px; } @include media-breakpoint-down(md) { height: 320px; } @include media-breakpoint-down(sm) { height: 280px; } @media (max-width: 420px) { height: 170px; } .slider-image { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 100%; max-height: 99.9%; } } } .slick-slider { article { position: relative; margin-bottom: 0 !important; } .slick-track { height: 100% !important; } figcaption { position: static; width: 100%; overflow-y: auto; padding: 20px 30px; background-color: rgba($color: #404040, $alpha: .9); p, p span { color: #fff; } .image-count { text-align: right; } } .image-description { display: none; margin-right: 180px; margin-bottom: 10px; @include media-breakpoint-down(sm) { display: none !important; } &.show { display: block; } } } .slick-prev, .slick-next { top: calc(50% - 25px); height: 50px; width: 50px; color: #fff; border-radius: 50%; background: rgba($color: #404040, $alpha: .9); z-index: 100; } .slick-prev:before, .slick-next:before { opacity: 1; } .slick-prev:hover, .slick-next:hover, .slick-prev:focus, .slick-next:focus { background: rgba($color: #202020, $alpha: .9) } .slick-prev { left: 20px; } .slick-next { right: 20px; } .slick-prev:before { font-family: "Material Icons"; content: "\e408"; font-size: 32px; } .slick-next:before { font-family: "Material Icons"; content: "\e409"; font-size: 32px; } .slider-nav { display: none; padding: 20px 30px; background-color: #404040; @include media-breakpoint-down(sm) { display: none !important; } &.show { display: block; } .thumbnail-container { display: inline-block; &:hover { cursor: pointer; } img { width: 70px; height: 70px; margin: 3px; padding: 3px; } img.active { padding: 0; border: 3px solid #fff; } } } .slick-slider .slick-track, .slick-slider .slick-list { height: 100% !important; } .show-more { margin: 0; margin-left: 10px; padding: 0; border: 0; background-color: transparent; &:hover { cursor: pointer; } span { font-size: 32px; vertical-align: middle; line-height: 1px; } } @include media-breakpoint-down(md) { .hide-mobile { display: none; } .padding-none { padding: 0 !important; } }