| 1 |
.upk-snog-slider-wrap { |
| 2 |
overflow: hidden; |
| 3 |
position: relative; |
| 4 |
} |
| 5 |
.upk-snog-slider-wrap .upk-main-slider { |
| 6 |
position: relative; |
| 7 |
z-index: 11; |
| 8 |
margin-left: 0; |
| 9 |
} |
| 10 |
.upk-snog-slider-wrap .upk-main-slider .swiper-wrapper { |
| 11 |
position: absolute; |
| 12 |
top: 0; |
| 13 |
right: 0; |
| 14 |
left: 0; |
| 15 |
} |
| 16 |
.upk-snog-slider-wrap .upk-main-slider .upk-image-wrap { |
| 17 |
position: relative; |
| 18 |
overflow: hidden; |
| 19 |
} |
| 20 |
.upk-snog-slider-wrap .upk-main-slider .upk-image-wrap::before { |
| 21 |
position: absolute; |
| 22 |
content: ""; |
| 23 |
top: 0; |
| 24 |
right: 0; |
| 25 |
width: 100%; |
| 26 |
height: 100%; |
| 27 |
background-image: linear-gradient(-54deg, rgba(0, 0, 0, 0.49), transparent); |
| 28 |
} |
| 29 |
.upk-snog-slider-wrap .upk-main-slider .upk-img { |
| 30 |
width: 100%; |
| 31 |
overflow: hidden; |
| 32 |
} |
| 33 |
.upk-snog-slider-wrap .upk-text { |
| 34 |
font-size: 14px; |
| 35 |
margin-bottom: 20px; |
| 36 |
} |
| 37 |
.upk-snog-slider-wrap .upk-text p { |
| 38 |
margin: 0; |
| 39 |
} |
| 40 |
.upk-snog-slider-wrap .upk-main-slider, |
| 41 |
.upk-snog-slider-wrap .upk-snog-thumbs { |
| 42 |
height: 500px; |
| 43 |
} |
| 44 |
.upk-snog-slider-wrap .upk-snog-thumbs { |
| 45 |
position: absolute; |
| 46 |
top: 0; |
| 47 |
left: 0; |
| 48 |
width: 30%; |
| 49 |
min-width: 30%; |
| 50 |
overflow: hidden; |
| 51 |
display: none; |
| 52 |
} |
| 53 |
.upk-snog-slider-wrap .upk-snog-thumbs .upk-item .upk-image-wrap { |
| 54 |
opacity: 0; |
| 55 |
visibility: hidden; |
| 56 |
transition: all 0.7s ease-in-out; |
| 57 |
} |
| 58 |
.upk-snog-slider-wrap .upk-snog-thumbs .upk-item.swiper-slide-duplicate-prev .upk-image-wrap, .upk-snog-slider-wrap .upk-snog-thumbs .upk-item.swiper-slide-prev .upk-image-wrap, .upk-snog-slider-wrap .upk-snog-thumbs .upk-item.swiper-slide-duplicate-next .upk-image-wrap, .upk-snog-slider-wrap .upk-snog-thumbs .upk-item.swiper-slide-next .upk-image-wrap { |
| 59 |
opacity: 1; |
| 60 |
visibility: visible; |
| 61 |
} |
| 62 |
.upk-snog-slider-wrap .upk-snog-thumbs .upk-img { |
| 63 |
width: 100%; |
| 64 |
} |
| 65 |
.upk-snog-slider-wrap .upk-image-wrap { |
| 66 |
width: 100%; |
| 67 |
height: 100%; |
| 68 |
} |
| 69 |
.upk-snog-slider-wrap .upk-img { |
| 70 |
width: 100%; |
| 71 |
height: 100% !important; |
| 72 |
object-fit: cover; |
| 73 |
vertical-align: middle; |
| 74 |
} |
| 75 |
.upk-snog-slider-wrap .upk-content-slider { |
| 76 |
position: absolute; |
| 77 |
top: 50%; |
| 78 |
left: 0; |
| 79 |
z-index: 11; |
| 80 |
transform: translateY(-50%); |
| 81 |
width: 40%; |
| 82 |
min-width: 275px; |
| 83 |
} |
| 84 |
.upk-snog-slider-wrap .upk-content-slider .swiper-slide-active .upk-link-btn a, |
| 85 |
.upk-snog-slider-wrap .upk-content-slider .swiper-slide-duplicate .upk-link-btn a { |
| 86 |
opacity: 1; |
| 87 |
} |
| 88 |
.upk-snog-slider-wrap .upk-content-wrap { |
| 89 |
min-height: 240px; |
| 90 |
background-color: #fff; |
| 91 |
overflow: hidden; |
| 92 |
} |
| 93 |
.upk-snog-slider-wrap .upk-inner-content { |
| 94 |
position: absolute; |
| 95 |
top: 50%; |
| 96 |
transform: translateY(-50%); |
| 97 |
padding: 30px 20px 30px 55px; |
| 98 |
width: 100%; |
| 99 |
} |
| 100 |
.upk-snog-slider-wrap .upk-category { |
| 101 |
margin-bottom: 10px; |
| 102 |
} |
| 103 |
.upk-snog-slider-wrap .upk-category a { |
| 104 |
font-size: 12px; |
| 105 |
text-transform: uppercase; |
| 106 |
color: #5a5a73; |
| 107 |
font-weight: 600; |
| 108 |
transition: all 0.3s ease; |
| 109 |
} |
| 110 |
.upk-snog-slider-wrap .upk-category a:hover { |
| 111 |
color: rgba(223, 6, 6, 0.952); |
| 112 |
} |
| 113 |
.upk-snog-slider-wrap .upk-meta { |
| 114 |
display: inline-flex; |
| 115 |
align-items: center; |
| 116 |
margin: 0 0 5px; |
| 117 |
font-size: 12px; |
| 118 |
text-transform: uppercase; |
| 119 |
color: #5a5a73; |
| 120 |
} |
| 121 |
.upk-snog-slider-wrap .upk-meta span.upk-by { |
| 122 |
padding-left: 5px; |
| 123 |
} |
| 124 |
.upk-snog-slider-wrap .upk-meta .upk-post-time { |
| 125 |
margin-right: 5px; |
| 126 |
} |
| 127 |
.upk-snog-slider-wrap .upk-meta .upk-post-time i { |
| 128 |
margin-left: 2px; |
| 129 |
} |
| 130 |
.upk-snog-slider-wrap .upk-meta > div { |
| 131 |
position: relative; |
| 132 |
display: inline-flex; |
| 133 |
} |
| 134 |
.upk-snog-slider-wrap .upk-meta > div:before { |
| 135 |
content: attr(data-separator); |
| 136 |
margin: 0 8px; |
| 137 |
} |
| 138 |
.upk-snog-slider-wrap .upk-meta > div:nth-child(1)::before { |
| 139 |
display: none; |
| 140 |
} |
| 141 |
.upk-snog-slider-wrap .upk-author { |
| 142 |
display: none; |
| 143 |
} |
| 144 |
.upk-snog-slider-wrap .upk-author a { |
| 145 |
color: rgba(16, 16, 17, 0.955); |
| 146 |
transition: all 0.3s ease; |
| 147 |
} |
| 148 |
.upk-snog-slider-wrap .upk-author a:hover { |
| 149 |
color: rgba(223, 6, 6, 0.952); |
| 150 |
} |
| 151 |
.upk-snog-slider-wrap .upk-title { |
| 152 |
font-size: 20px; |
| 153 |
text-transform: capitalize; |
| 154 |
font-weight: 700; |
| 155 |
margin: 0 0 20px; |
| 156 |
} |
| 157 |
.upk-snog-slider-wrap .upk-title a { |
| 158 |
color: rgba(16, 16, 17, 0.955); |
| 159 |
text-decoration: none; |
| 160 |
transition: all 0.3s ease; |
| 161 |
} |
| 162 |
.upk-snog-slider-wrap .upk-title a:hover { |
| 163 |
color: rgba(223, 6, 6, 0.952); |
| 164 |
} |
| 165 |
.upk-snog-slider-wrap .upk-link-btn a { |
| 166 |
font-size: 9px; |
| 167 |
font-weight: 700; |
| 168 |
color: rgba(61, 61, 75, 0.96); |
| 169 |
text-transform: uppercase; |
| 170 |
line-height: 1.4; |
| 171 |
transition: color 0.3s ease; |
| 172 |
position: relative; |
| 173 |
opacity: 0; |
| 174 |
} |
| 175 |
.upk-snog-slider-wrap .upk-link-btn a::before { |
| 176 |
position: absolute; |
| 177 |
content: ""; |
| 178 |
bottom: -7px; |
| 179 |
right: 0; |
| 180 |
width: 30%; |
| 181 |
height: 2px; |
| 182 |
background-color: rgba(223, 6, 6, 0.952); |
| 183 |
transition: width 0.3s ease; |
| 184 |
} |
| 185 |
.upk-snog-slider-wrap .upk-link-btn a:hover { |
| 186 |
color: rgba(223, 6, 6, 0.952); |
| 187 |
} |
| 188 |
.upk-snog-slider-wrap .upk-link-btn a:hover::before { |
| 189 |
width: 100%; |
| 190 |
} |
| 191 |
.upk-snog-slider-wrap .upk-navigation-wrap { |
| 192 |
position: absolute; |
| 193 |
top: 50%; |
| 194 |
left: 0; |
| 195 |
transform: translateY(-50%); |
| 196 |
z-index: 1; |
| 197 |
display: flex; |
| 198 |
flex-direction: column; |
| 199 |
grid-row-gap: 0; |
| 200 |
} |
| 201 |
.upk-snog-slider-wrap .upk-nav-btn { |
| 202 |
background-color: #000; |
| 203 |
cursor: pointer; |
| 204 |
transition: all 0.3s ease; |
| 205 |
padding: 10px; |
| 206 |
display: inline-flex; |
| 207 |
} |
| 208 |
.upk-snog-slider-wrap .upk-nav-btn i { |
| 209 |
color: #fff; |
| 210 |
} |
| 211 |
.upk-snog-slider-wrap .upk-nav-btn:hover { |
| 212 |
background-color: rgba(223, 6, 6, 0.952); |
| 213 |
} |
| 214 |
.upk-snog-slider-wrap .upk-pagination-wrap { |
| 215 |
position: absolute; |
| 216 |
top: 50%; |
| 217 |
right: 0; |
| 218 |
padding: 20px; |
| 219 |
transform: translateY(-50%); |
| 220 |
z-index: 9999; |
| 221 |
} |
| 222 |
.upk-snog-slider-wrap .upk-pagination-wrap .upk-pagination { |
| 223 |
display: flex; |
| 224 |
flex-direction: column; |
| 225 |
grid-row-gap: 10px; |
| 226 |
} |
| 227 |
.upk-snog-slider-wrap .upk-pagination-wrap .swiper-pagination-bullet { |
| 228 |
position: relative; |
| 229 |
display: inline-flex; |
| 230 |
align-items: center; |
| 231 |
justify-content: center; |
| 232 |
font-size: 13px; |
| 233 |
font-weight: 700; |
| 234 |
color: #f4f5fd; |
| 235 |
background-color: transparent; |
| 236 |
border-radius: 0; |
| 237 |
counter-increment: counter; |
| 238 |
width: auto !important; |
| 239 |
height: auto !important; |
| 240 |
margin: 0 !important; |
| 241 |
opacity: 1; |
| 242 |
overflow: hidden; |
| 243 |
transition: all 0.4s ease; |
| 244 |
} |
| 245 |
.upk-snog-slider-wrap .upk-pagination-wrap .swiper-pagination-bullet.swiper-pagination-bullet-active { |
| 246 |
transform: scale(1.5); |
| 247 |
color: rgba(223, 6, 6, 0.952); |
| 248 |
margin-right: 10px; |
| 249 |
} |
| 250 |
.upk-snog-slider-wrap .upk-pagination-wrap .swiper-pagination-bullet::before { |
| 251 |
content: counters(counter, ".", decimal-leading-zero); |
| 252 |
transition: all 0.4s ease; |
| 253 |
} |
| 254 |
|
| 255 |
@media (min-width: 768px) { |
| 256 |
.upk-snog-slider-wrap .upk-main-slider, |
| 257 |
.upk-snog-slider-wrap .upk-snog-thumbs { |
| 258 |
height: 600px; |
| 259 |
} |
| 260 |
.upk-snog-slider-wrap .upk-content-slider { |
| 261 |
min-width: 490px; |
| 262 |
left: 11%; |
| 263 |
} |
| 264 |
.upk-snog-slider-wrap .upk-snog-thumbs { |
| 265 |
display: block; |
| 266 |
} |
| 267 |
.upk-snog-slider-wrap .upk-main-slider { |
| 268 |
margin-left: 22%; |
| 269 |
} |
| 270 |
.upk-snog-slider-wrap .upk-content-wrap { |
| 271 |
min-height: 360px; |
| 272 |
} |
| 273 |
.upk-snog-slider-wrap .upk-content-wrap .upk-inner-content { |
| 274 |
padding: 50px 50px 50px 94px; |
| 275 |
} |
| 276 |
.upk-snog-slider-wrap .upk-title { |
| 277 |
font-size: 30px; |
| 278 |
margin: 0 0 30px; |
| 279 |
} |
| 280 |
.upk-snog-slider-wrap .upk-meta { |
| 281 |
margin: 0 0 15px; |
| 282 |
font-size: 13px; |
| 283 |
} |
| 284 |
.upk-snog-slider-wrap .upk-author { |
| 285 |
display: inline-flex; |
| 286 |
} |
| 287 |
.upk-snog-slider-wrap .upk-category a { |
| 288 |
font-size: 13px; |
| 289 |
} |
| 290 |
.upk-snog-slider-wrap .upk-link-btn a { |
| 291 |
font-size: 13px; |
| 292 |
} |
| 293 |
.upk-snog-slider-wrap .upk-pagination-wrap { |
| 294 |
padding: 60px; |
| 295 |
} |
| 296 |
.upk-snog-slider-wrap .upk-nav-btn { |
| 297 |
padding: 15px; |
| 298 |
} |
| 299 |
} |
| 300 |
@media (min-width: 1024px) { |
| 301 |
.upk-snog-slider-wrap .upk-content-wrap .upk-inner-content { |
| 302 |
padding: 50px 60px 50px 140px; |
| 303 |
} |
| 304 |
.upk-snog-slider-wrap .upk-main-slider, |
| 305 |
.upk-snog-slider-wrap .upk-snog-thumbs { |
| 306 |
height: 700px; |
| 307 |
} |
| 308 |
.upk-snog-slider-wrap .upk-content-slider { |
| 309 |
min-width: 592px; |
| 310 |
} |
| 311 |
} |
| 312 |
@media (min-width: 1440px) { |
| 313 |
.upk-snog-slider-wrap .upk-title { |
| 314 |
font-size: 30px; |
| 315 |
margin: 0 0 50px; |
| 316 |
} |
| 317 |
} |