.hero-slider {
overflow: hidden;
position: relative;
}
.hero-slider__next,
.hero-slider__prev {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
z-index: 1;
color: #fff;
opacity: 0.4;
font-size: 36px;
cursor: pointer;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
outline: 0;
}
.hero-slider__next:hover,
.hero-slider__prev:hover {
opacity: 1;
}
.hero-slider__next.swiper-button-disabled,
.hero-slider__prev.swiper-button-disabled {
cursor: auto;
opacity: 0.4;
}
@media only screen and (min-width: 1024px) {
.hero-slider__next,
.hero-slider__prev {
font-size: 42px;
}
}
.hero-slider__prev {
left: 20px;
}
@media only screen and (min-width: 1024px) {
.hero-slider__prev {
left: 120px;
}
}
.hero-slider__next {
right: 20px;
}
@media only screen and (min-width: 1024px) {
.hero-slider__next {
right: 120px;
}
}
.hero-slider .hero-slider__pagination {
position: absolute;
width: 170px;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
bottom: 30px;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
z-index: 1;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
color: #fff;
}
.hero-slider .hero-slider__pagination .hero-slider__count-slide,
.hero-slider .hero-slider__pagination .hero-slider__current-slide {
display: none;
}
@media only screen and (min-width: 1024px) {
.hero-slider .hero-slider__pagination {
bottom: 45px;
}
}
.hero-slider .hero-slider__progressbar {
position: relative;
margin: 0 15px;
width: 100px;
height: 1px;
background-color: rgba(255, 255, 255, 0.3);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.hero-slider .hero-slider__progressbar .swiper-pagination-bullet {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
height: 1px;
outline: 0;
border-radius: 0;
background-color: rgba(255, 255, 255, 0.3);
opacity: 1;
}
.hero-slider .hero-slider__progressbar .swiper-pagination-bullet.swiper-pagination-bullet-active {
background-color: #fff;
}
.hero-slider .hero-slider__progressbar .swiper-pagination-progressbar-fill {
background: #fff !important;
}
@media only screen and (max-width: 375px) {
.hero-slider .hero-slider__progressbar {
margin: 0 10px;
}
}
.hero-slider, .hero-slider .swiper-container {
grid-column: page-start/page-end;
}
.hero-slider .swiper-container {
margin: 0;
}
.hero-slider__item {
grid-column: page-start/page-end;
display: grid;
justify-items: center;
-ms-flex-line-pack: start;
align-content: flex-start;
padding-top: 7.778vw;
color: #fff;
position: relative;
height: 38.75vw;
width: 100% !important;
}
.hero-slider__item.dark:before {
content: "";
width: 100%;
height: 100%;
display: block;
background-color: #474543;
opacity: 0.35;
position: absolute;
top: 0;
left: 0;
z-index: -1;
mix-blend-mode: multiply;
}
@media only screen and (max-width: 768px) {
.hero-slider__item {
height: 90vw;
padding-top: 13.333vw;
}
}
@media only screen and (min-width: 1024px) {
.hero-slider__item {
padding-top: 180px;
height: 38.75vw;
}
}
.hero-slider__item-img {
position: absolute;
top: 0;
left: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 100%;
height: 100%;
z-index: -2;
object-fit: cover; }
img.hero-slider__item-img.mobile {
display: none;
}
@media only screen and (max-width: 768px) {
img.hero-slider__item-img.desktop {
display: none;
}
img.hero-slider__item-img.mobile {
display: flex;
}
}
img.hero-slider__item-img.mobile,
img.hero-slider__item-img.desktop,
.hero-slider__item-img img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
object-position: top;
}
.hero-slider__item-img img {
display: block;
}
@media only screen and (min-width: 1981px) {
.hero-slider__item-img img {
-o-object-position: bottom;
object-position: bottom;
}
}
.hero-slider__item-title {
margin-bottom: 20px;
color: #fff;
}
@media only screen and (min-width: 1024px) {
.hero-slider__item-title {
margin-bottom: 25px;
}
}
.hero-slider__item-text {
max-width: 250px;
margin: 0 auto 30px;
text-align: center;
}
@media only screen and (min-width: 1024px) {
.hero-slider__item-text {
max-width: none;
margin-bottom: 45px;
}
}