.ova-images-slider.template1 {
position: relative;
}
.ova-images-slider.template1 .item-images-slider {
padding: 20px;
}
.ova-images-slider.template1 .item-images-slider:hover img {
opacity: 1;
}
.ova-images-slider.template1 img {
margin: 0 auto;
width: 100%;
opacity: 0.2;
}
.ova-images-slider.template1 .item-images-slider:hover .caption {
transition: all 0.3s ease;
bottom: 0;
visibility: visible;
opacity: 1;
}
.ova-images-slider.template1 .item-images-slider .caption {
transition: all 0.3s ease;
position: absolute;
bottom: -5px;
left: 0;
right: 0;
width: 100%;
height: 45px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
opacity: 0;
visibility: hidden;
z-index: 1;
font-size: 18px;
color: #fff;
font-weight: 500;
text-align: center;
}
.ova-images-slider.template2 .item-images-slider {
border-radius: 10px;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}
.ova-images-slider.template2 .item-images-slider:before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(2, 13, 43, 0.85);
opacity: 0;
transition: all 0.3s ease;
pointer-events: none;
z-index: 1;
}
.ova-images-slider.template2 .item-images-slider:hover:before {
opacity: 1;
}
.ova-images-slider.template2 .item-images-slider img {
width: 100%;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
border-radius: 10px;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper {
position: absolute;
bottom: 0;
left: 50px;
transform: translateY(100%);
transition: transform 0.3s ease;
z-index: 999;
border-left: 3px solid var(--secondary);
padding-left: 32px;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper .caption,
.ova-images-slider.template2 .item-images-slider .text-wrapper .title {
color: white;
font-style: normal;
line-height: normal;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper .caption {
font-size: 16px;
font-weight: 400;
}
.ova-images-slider.template2 .item-images-slider .text-wrapper .title {
font-size: 24px;
font-weight: 600;
letter-spacing: -0.48px;
margin-bottom: 10px;
}
.ova-images-slider.template2 .item-images-slider .button {
position: absolute;
top: 30px;
transform: translateY(-200%);
right: 30px;
min-width: 60px;
height: 60px;
aspect-ratio: 1/1;
border-radius: 50%;
background-color: var(--secondary);
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease;
z-index: 999;
}
.ova-images-slider.template2 .item-images-slider .button i {
color: #fff;
leading-trim: both;
text-edge: cap;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: normal;
display: flex;
align-items: center;
justify-content: center;
}
.ova-images-slider.template2 .item-images-slider:hover .text-wrapper {
transform: translateY(-40px);
}
.ova-images-slider.template2 .item-images-slider:hover .button {
transform: translateY(0);
}
@media (max-width: 1204px) {
.ova-images-slider.template2 .item-images-slider .text-wrapper {
left: 20px;
padding-right: 20px;
}
.ova-images-slider.template2 .item-images-slider .button {
top: 20px;
right: 20px;
}
}
.ova-images-slider .swiper.swiper-loading .swiper-wrapper {
opacity: 0;
visibility: hidden;
}
.ova-images-slider .swiper .swiper-wrapper .swiper-slide {
max-width: 100%;
}
@media screen and (max-width: 768px) {
.ova-images-slider .swiper .swiper-wrapper .swiper-slide {
padding: 0 1px;
}
}
.ova-images-slider .button-dots {
display: flex;
align-items: center;
justify-content: center;
gap: 9px;
margin-top: 30px;
}
.ova-images-slider .button-dots.swiper-pagination-bullets {
width: 100% !important;
left: 50% !important;
transform: translate(0, -50%) !important;
}
.ova-images-slider .button-dots .swiper-pagination-bullet {
display: block;
width: 6px;
height: 6px;
border-radius: 100%;
background-color: rgb(22, 32, 61);
opacity: 0.5;
margin: 0;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.ova-images-slider .button-dots .swiper-pagination-bullet.swiper-pagination-bullet-active {
width: 12px;
border-radius: 5px;
opacity: 1;
background-color: var(--primary);
}
.ova-images-slider .button-dots .swiper-pagination-bullet:hover {
background-color: var(--primary);
}
.ova-images-slider .swiper-nav {
position: relative;
display: flex;
justify-content: center;
gap: 5px;
margin-top: 30px;
}
.ova-images-slider .swiper-nav:before {
position: absolute;
content: "";
left: 20px;
top: 50%;
transform: translateY(-50%);
width: calc(50% - 70px);
height: 1px;
background-color: rgb(208, 215, 222);
}
.ova-images-slider .swiper-nav:after {
position: absolute;
content: "";
right: 20px;
top: 50%;
transform: translateY(-50%);
width: calc(50% - 70px);
height: 1px;
background-color: rgb(208, 215, 222);
}
.ova-images-slider .swiper-nav .button-nav {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0;
width: 28px;
height: 28px;
background-color: rgb(22, 32, 61);
cursor: pointer;
}
.ova-images-slider .swiper-nav .button-nav i {
display: inline-flex;
font-size: 9px;
color: rgb(118, 120, 124);
}
.ova-images-slider .swiper-nav .button-nav:hover {
background-color: var(--primary);
}
.ova-images-slider .swiper-nav .button-nav:hover i {
color: #fff;
}
body.rtl .ova-images-slider .swiper-nav {
flex-direction: row-reverse;
}