PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.8
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.8
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / blocks / style.scss

style.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.8, at src/blocks/style.scss

2,972 lines 62.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // common css.
2 .sp-smart-post-wrapper *,
3 .sp-smart-post-show-pro * {
4 box-sizing: border-box;
5 }
6
7 .sp-smart-post-swiper .swiper-container {
8 z-index: 0;
9 }
10
11 /* Display */
12 .sp-d-hidden {
13 display: none;
14 }
15
16 .sp-d-flex {
17 display: flex;
18 }
19
20 .sp-d-i-flex {
21 display: inline-flex;
22 }
23
24 .sp-d-block {
25 display: block !important;
26 }
27
28 .sp-d-i-block {
29 display: inline-block;
30 }
31
32 .sp-justify-left,
33 .sp-justify-start {
34 justify-content: start !important;
35 }
36
37 .sp-justify-center {
38 justify-content: center !important;
39 }
40
41 .sp-justify-right,
42 .sp-justify-end {
43 justify-content: end !important;
44 }
45
46 .sp-align-i-center {
47 align-items: center;
48 }
49
50 .sp-align-i-start {
51 align-items: start;
52 }
53
54 .sp-align-i-end {
55 align-items: end;
56 }
57
58 .sp-row-reverse {
59 flex-direction: row-reverse;
60 }
61
62 /* Text Align */
63 .sp-text-align-center {
64 text-align: center;
65 }
66
67 .sp-text-align-left {
68 text-align: left;
69 }
70
71 .sp-text-align-right {
72 text-align: right;
73 }
74
75
76 /* Text decoration */
77 .sp-text-d-none {
78 text-decoration: none;
79 }
80
81 .sp-smart-post-sectionHeadingStyle {
82 display: inline;
83 }
84
85 .flex-wrap {
86 flex-wrap: wrap;
87 }
88
89 .sp-smart-post-author {
90 align-self: center;
91 }
92
93 .sp-li-style-none {
94 list-style: none;
95 }
96
97 .sp-pointer {
98 cursor: pointer;
99 }
100
101 .sp-relative {
102 position: relative;
103 }
104
105 .sp-position-absolute {
106 position: absolute;
107 }
108
109 .sp-position-top-left {
110 top: 0;
111 left: 0;
112 }
113
114 .sp-position-bottom-left {
115 bottom: 0;
116 left: 0;
117 }
118
119 .sp-position-bottom-right {
120 bottom: 0;
121 right: 0;
122 }
123
124 .sp-position-center-center {
125 top: 50%;
126 left: 50%;
127 transform: translate(-50%, -50%);
128 }
129
130 .sp-position-center-top {
131 top: 0;
132 left: 50%;
133 transform: translateX(-50%);
134 }
135
136 .sp-position-center-bottom {
137 bottom: 0;
138 left: 50%;
139 transform: translateX(-50%);
140 }
141
142 .sp-heading-wrapper {
143 display: flex;
144 flex-direction: row;
145 align-items: center;
146 justify-content: center;
147 }
148
149 .sp-smart-post-circle-icon {
150 text-align: center;
151 margin-top: -16px;
152 }
153
154 .sp-space-between {
155 justify-content: space-between;
156 }
157
158 .sp-space-around {
159 justify-content: space-around;
160 }
161
162 // .sp-smart-post-swiper-nav-arrow {
163 // z-index: 2;
164 // width: -webkit-fill-available;
165 // left: 0;
166 // }
167
168 /* Category Styles */
169 .sp-smart-post-category {
170 z-index: 11;
171 }
172
173 .sp-smart-post-category ul {
174 display: flex;
175 margin: 0;
176 padding: 0;
177 flex-wrap: wrap;
178 }
179
180 .sp-smart-post-category ul li {
181 list-style: none;
182 }
183
184 .sp-smart-post-category ul li a:focus {
185 box-shadow: none;
186 }
187
188 .sp-smart-post-category ul li a {
189 display: block;
190 }
191
192 // .sp-heading-wrapper {
193 // display: flex;
194 // align-items: center;
195 // /* Vertically center the text and the icon */
196 // justify-content: center;
197 // /* Center the whole group horizontally */
198 // }
199
200 .sp-smart-post-card-image {
201 position: relative;
202 height: fit-content;
203 overflow: hidden;
204 }
205
206 .sp-smart-post-card-image img {
207 display: block;
208 }
209
210
211
212 /* Hide last metadata separator */
213 .sp-smart-post-details .sp-smart-post-separator:last-child {
214 display: none;
215 }
216
217 // /* Carousel Navigation Arrow */
218 // .sp-smart-post-swiper-nav-arrow-btn i {
219 // display: flex;
220 // justify-content: center;
221 // align-items: center;
222 // transition: 0.3s;
223 // cursor: pointer;
224 // }
225
226 .sp-smart-post-swiper-nav-arrow-btn.swiper-button-disabled {
227 opacity: .95;
228 }
229
230 /* Like button loader animation */
231 .loader,
232 .loader:before,
233 .loader:after {
234 background: rgba(0, 0, 0, 0.2);
235 -webkit-animation: load1 1s infinite ease-in-out;
236 animation: load1 1s infinite ease-in-out;
237 width: .2em;
238 height: .6em;
239 }
240
241 .loader:before,
242 .loader:after {
243 position: absolute;
244 top: 0;
245 content: '';
246 }
247
248 .loader:before {
249 left: -.375em;
250 -webkit-animation-delay: -0.32s;
251 animation-delay: -0.32s;
252 }
253
254 .loader {
255 text-indent: -9999em;
256 display: inline-block;
257 position: relative;
258 vertical-align: middle;
259 font-size: 1em;
260 -webkit-transform: translateZ(0);
261 -ms-transform: translateZ(0);
262 transform: translateZ(0);
263 -webkit-animation-delay: -0.16s;
264 animation-delay: -0.16s;
265 }
266
267 .loader:after {
268 left: .375em;
269 }
270
271 @-webkit-keyframes load1 {
272
273 0%,
274 80%,
275 100% {
276 box-shadow: 0 0 rgba(0, 0, 0, 0.2);
277 height: .6em;
278 }
279
280 40% {
281 box-shadow: 0 -.3em rgba(0, 0, 0, 0.2);
282 height: 1em;
283 }
284 }
285
286 @keyframes load1 {
287
288 0%,
289 80%,
290 100% {
291 box-shadow: 0 0 rgba(0, 0, 0, 0.2);
292 height: .6em;
293 }
294
295 40% {
296 box-shadow: 0 -.3em rgba(0, 0, 0, 0.2);
297 height: 1em;
298 }
299 }
300
301 /* Feature image animation effect*/
302 .sp-smart-post-card.img-position-left .sp-smart-post-card-image,
303 .sp-smart-post-card.img-position-left .sp-smart-post-template-one-content,
304 .sp-smart-post-card.img-position-right .sp-smart-post-card-image,
305 .sp-smart-post-card.img-position-right .sp-smart-post-template-one-content {
306 overflow: hidden;
307 width: 50%;
308 }
309
310 .grid-six-container .sp-smart-post-card.img-position-left .sp-smart-post-template-one-content {
311 width: 50%;
312 }
313
314 .sp-smart-post-card .sp-smart-post-card-image img {
315 width: 100%;
316 transition: transform .31s ease-in-out;
317 height: auto;
318 }
319
320 .sp-smart-post-card .sp-smart-post-card-image a {
321 display: inline-block;
322 height: 100%;
323 }
324
325 /* Feature Image Zoom in */
326 .sp-img-zoom-in:hover img,
327 .sp-smart-post-card .sp-smart-post-card-image:hover.img-zoom-in a img {
328 transform: scale(1.1);
329 }
330
331 /* Feature Image Zoom out */
332 .sp-img-zoom-out img,
333 .sp-smart-post-card .sp-smart-post-card-image.img-zoom-out a img,
334 .sp-smart-post-background-layout .sp-smart-post-card .sp-smart-post-card-image.img-zoom-out a img {
335 transform: scale(1.1);
336 transition: all .3s ease-in-out;
337 }
338
339 .sp-img-zoom-out:hover img,
340 .sp-smart-post-card .sp-smart-post-card-image:hover.img-zoom-out a img,
341 .sp-smart-post-background-layout .sp-smart-post-card:hover .sp-smart-post-card-image.img-zoom-out a img {
342 transform: scale(1);
343 }
344
345 /* Feature Image slide left */
346 .sp-img-slide-left img,
347 .sp-smart-post-card .sp-smart-post-card-image.img-slide-left a img,
348 .sp-smart-post-background-layout .sp-smart-post-card .sp-smart-post-card-image.img-slide-left a img {
349 transform: scale(1.1) translateX(3%);
350 transition: all .3s ease-in-out;
351 }
352
353 .sp-img-slide-left:hover img,
354 .sp-smart-post-card .sp-smart-post-card-image:hover.img-slide-left a img,
355 .sp-smart-post-background-layout .sp-smart-post-card:hover .sp-smart-post-card-image.img-slide-left a img {
356 transform: scale(1.1) translateX(-3%);
357 }
358
359 /* Feature Image slide right */
360 .sp-img-slide-right img,
361 .sp-smart-post-card .sp-smart-post-card-image.img-slide-right a img,
362 .sp-smart-post-background-layout .sp-smart-post-card .sp-smart-post-card-image.img-slide-right a img {
363 transform: scale(1.1) translateX(-3%);
364 transition: all .3s ease-in-out;
365 }
366
367 .sp-img-slide-right:hover img,
368 .sp-smart-post-card .sp-smart-post-card-image:hover.img-slide-right a img,
369 .sp-smart-post-background-layout .sp-smart-post-card:hover .sp-smart-post-card-image.img-slide-right a img {
370 transform: scale(1.1) translateX(3%);
371 }
372
373 /* Image style rotate left */
374 .sp-img-rotate-left img,
375 .sp-img-rotate-right img,
376 .sp-smart-post-card .sp-smart-post-card-image.img-opacity a img,
377 .sp-smart-post-background-layout .sp-smart-post-card .sp-smart-post-card-image.img-opacity a img,
378 .sp-smart-post-card .sp-smart-post-card-image.img-rotate-left a img,
379 .sp-smart-post-card .sp-smart-post-card-image.img-rotate-right a img,
380 .sp-smart-post-background-layout .sp-smart-post-card .sp-smart-post-card-image.img-rotate-left a img,
381 .sp-smart-post-background-layout .sp-smart-post-card .sp-smart-post-card-image.img-rotate-right a img {
382 transform: scale(1);
383 transition: all .3s ease-in-out;
384 }
385
386 .sp-img-rotate-left:hover img,
387 .sp-smart-post-card .sp-smart-post-card-image:hover.img-rotate-left a img,
388 .sp-smart-post-background-layout .sp-smart-post-card:hover .sp-smart-post-card-image.img-rotate-left a img {
389 transform: scale(1.2) rotate(5deg);
390 }
391
392 .sp-img-rotate-right:hover img,
393 .sp-smart-post-card .sp-smart-post-card-image:hover.img-rotate-right a img,
394 .sp-smart-post-background-layout .sp-smart-post-card:hover .sp-smart-post-card-image.img-rotate-right a img {
395 transform: scale(1.2) rotate(-5deg);
396 }
397
398 // .sp-smart-post-details i {
399 // display: flex;
400 // justify-content: center;
401 // align-items: center;
402 // opacity: 0.75;
403 // }
404
405 .sp-smart-post-fourTeen {
406 height: 4px;
407 }
408
409 // .sp-smart-post-carousel-center .swiper-slide.sp-slide-item {
410 // transform: scale(0.9);
411 // opacity: .5;
412 // transition: transform 0.6s ease, opacity 0.6s ease;
413 // }
414
415 // .sp-smart-post-carousel-center .swiper-slide-active.sp-slide-item {
416 // transform: scale(1.1);
417 // opacity: 1;
418 // transition: transform 0.6s ease, opacity 0.6s ease;
419 // }
420
421 .sp-smart-post-author span i {
422 opacity: 0.65;
423 }
424
425 // .sp-smart-post-pagination-dot {
426 // padding: 5px 0;
427 // }
428
429 // .sp-smart-post-swiper-nav-arrow {
430 // pointer-events: none;
431 // /* padding: 0 3px; */
432 // transform: translate(0, -50%);
433 // }
434
435 // .sp-smart-post-swiper-nav-arrow .sp-smart-post-swiper-nav-arrow-btn {
436 // pointer-events: all;
437 // }
438
439 // .sp-smart-post-swiper-nav-arrow .sp-smart-post-swiper-nav-arrow-btn:focus {
440 // outline: none;
441 // }
442
443 // .sp-smart-post-swiper .sp-swiper-slide {
444 // width: auto;
445 // }
446
447 .sp-smart-post-read-more-button {
448 display: flex;
449 }
450
451 .sp-mt-10 {
452 margin-top: 10px;
453 }
454
455 // .sp-smart-post-swiper .swiper-pagination {
456 // display: flex;
457 // align-items: center;
458 // justify-content: center;
459 // }
460
461 // .sp-smart-post-carousel .swiper-fade .swiper-slide,
462 // .sp-smart-post-carousel .swiper-cube .swiper-slide,
463 // .sp-smart-post-carousel .swiper-flip .swiper-slide {
464 // display: grid;
465 // }
466
467 .sp-smart-post-pagination-section .sp-smart-post-pagination-buttons,
468 .sp-smart-post-pagination-section .sp-smart-post-navigation-buttons .sp-smart-post-grid-nav-arrow .sp-smart-post-grid-nav-arrow-btn i {
469 display: flex;
470 align-items: center;
471 // justify-content: center;
472 flex-wrap: wrap;
473 }
474
475 .sp-smart-post-pagination-section .sp-smart-post-pagination-buttons button {
476 outline: none;
477 cursor: pointer;
478 /* padding: 8px 14px; */
479 margin-bottom: 10px;
480 }
481
482 .sp-smart-post-pagination-section .sp-smart-post-pagination-buttons button i::before {
483 margin: 0;
484 }
485
486 .sp-equal-h {
487 height: 100%;
488 }
489
490 .sp-smart-post-modal-content {
491 position: absolute;
492 overflow-x: hidden;
493 overflow-y: scroll;
494 border: none;
495 outline: none;
496 }
497
498 .sp-smart-post-modal-content .sp-smart-post-modal-thumb-area {
499 display: flex;
500 justify-content: center;
501 }
502
503 .sp-smart-post-modal-content .sp-smart-post-modal-thumb-area img {
504 max-width: 100%;
505 height: auto;
506 }
507
508 .sp-smart-post-modal-content .sp-smart-post-modal-close-btn {
509 background: none;
510 border: none;
511 cursor: pointer;
512 position: fixed;
513 padding: 10px;
514 top: 0;
515 right: 0;
516 font-weight: 900;
517 }
518
519 .sp-smart-post-modal-content .sp-post-modal-title,
520 .sp-post-modal-title {
521 font-size: 28px;
522 }
523
524 .sp-smart-post-modal-nav-btn {
525 border: none;
526 font-size: 34px;
527 position: absolute;
528 top: 50%;
529 transform: (-50%, -50%);
530 cursor: pointer;
531 width: 40px;
532 padding: 25px 0px;
533 display: flex;
534 justify-content: center;
535 align-items: center;
536 }
537
538 .sp-smart-post-modal-nav-btn:focus {
539 outline: none;
540 }
541
542 .sp-smart-post-modal-nav-btn.sp-btn-left {
543 left: 0;
544 }
545
546 .sp-smart-post-modal-nav-btn.sp-btn-right {
547 right: 0;
548 }
549
550 .sp-smart-post-modal-content .sp-smart-post-modal-meta {
551 display: flex;
552 gap: 10px;
553 opacity: 1;
554 }
555
556 .sp-smart-post-modal-content .sp-smart-post-modal-meta .sp-smart-post-modal-meta-text {
557 font-size: 14px;
558 margin: 0;
559 }
560
561 .sp-smart-post-modal-content .sp-smart-post-modal-meta .sp-smart-post-modal-meta-text.pcpl-count {
562 margin: 0;
563 }
564
565
566 /** Image Overlay Color */
567 .overlay-warm-sunset {
568 background: linear-gradient(2deg, rgba(244, 66, 70, 0.40) 33.02%, rgba(221, 36, 118, 0.40) 98.51%);
569 }
570
571 .overlay-ocean-breeze {
572 background: linear-gradient(1deg, rgba(43, 88, 118, 0.40) 0.5%, rgba(78, 67, 118, 0.40) 99.51%);
573 }
574
575 .overlay-royal-gold {
576 background: linear-gradient(1deg, rgba(255, 215, 0, 0.40) 0.5%, rgba(184, 134, 11, 0.40) 99.51%);
577 }
578
579 .overlay-cool-blues {
580 background: linear-gradient(1deg, rgba(30, 60, 114, 0.40) 0.5%, rgba(42, 82, 152, 0.40) 99.51%);
581 }
582
583 .overlay-soft-pastel {
584 background: linear-gradient(1deg, rgba(252, 227, 138, 0.40) 0.5%, rgba(243, 129, 129, 0.40) 99.51%);
585 }
586
587 .overlay-elegant-purple {
588 background: linear-gradient(180deg, rgba(65, 41, 90, 0.40) 0%, rgba(47, 7, 67, 0.40) 100%);
589 }
590
591 .overlay-energetic-orange {
592 background: linear-gradient(180deg, rgba(255, 81, 47, 0.40) 0%, rgba(240, 152, 25, 0.40) 100%);
593 }
594
595 .overlay-default {
596 background: #000000AD;
597 }
598
599 .image-overlay {
600 width: 100%;
601 height: 100%;
602 position: absolute;
603 top: 0;
604 left: 0;
605 z-index: 5;
606 pointer-events: none;
607 }
608
609 // .sp-smart-post-carousel .sp-swiper-slide.layout-center .swiper-wrapper {
610 // padding-top: 40px;
611 // padding-bottom: 60px;
612 // max-height: -webkit-fill-available;
613 // }
614
615 /* Sidebar button tooltip */
616 .sp-smart-post-background-left button:hover p {
617 z-index: 1;
618 }
619
620 /* Post Slider blocks Layout Style */
621 .template-two .sp-smart-post-template-content {
622 width: 100%;
623 height: 100%;
624 }
625
626
627 .pointer-none {
628 pointer-events: none;
629 }
630
631 .sp-smart-post-details .sp-metadata-taxonomy {
632 display: flex;
633 gap: 4px;
634 align-items: center;
635 }
636
637 .sp-smart-post-details .sp-metadata-taxonomy .post-categories {
638 display: flex;
639 margin: 0;
640 padding: 0;
641 flex-wrap: wrap;
642 }
643
644 .sp-smart-post-details .sp-metadata-taxonomy .post-categories li {
645 list-style: none;
646 margin: 0 3px;
647 }
648
649 .sp-smart-post-details .sp-metadata-taxonomy a {
650 color: inherit;
651 text-decoration: none;
652 }
653
654 /** General and style tabs icon align */
655 .sp-smart-post-tab-panel-title .sp-smart-post-block-icon {
656 display: flex;
657 }
658
659 .sp-smart-post-card.template-two .sp-background-image-styles-template-two {
660 content: '';
661 position: absolute;
662 top: 0;
663 left: 0;
664 width: 100%;
665 height: 100%;
666 z-index: 1;
667 pointer-events: none;
668 }
669
670 // .sp-smart-post-thumbnail-slide .thumbnail-slider-layout-six .sp-smart-post-card.template-two .sp-background-image-styles-template-two {
671 // width: 50%;
672 // }
673
674 .sp-smart-post-card.template-two .sp-smart-post-template-content .sp-smart-post-card-content * {
675 position: relative;
676 z-index: 9;
677 }
678
679 .sp-smart-post-grid-six .sp-smart-post-card.template-two .sp-smart-post-template-content {
680 z-index: auto;
681 }
682
683 .sp-smart-post-card-content .sp-smart-post-category .post-categories a:focus,
684 .sp-smart-post-card-content a:focus,
685 .sp-smart-post-card-content .sp-smart-post-details .sp-smart-post-author a:focus,
686 .sp-smart-post-card-content .sp-smart-post-product-add-to-cart .add_to_cart_button:focus,
687 .sp-smart-post-card-content .sp-smart-post-product-add-to-cart .added_to_cart:focus {
688 outline: 0;
689 box-shadow: none;
690 }
691
692
693 .sp-smart-post-load-more-button.sps_disabled {
694 opacity: 0.5;
695 pointer-events: none;
696 }
697
698 .sp-btn,
699 .sp-smart-post-load-more-button button,
700 .sp-smart-post-navigation-buttons .sp-smart-post-grid-nav-arrow-btn {
701 cursor: pointer;
702 }
703
704 // .sp-smart-post-carousel .sp-smart-post-swiper .swiper-fade .swiper-slide-prev,
705 // .sp-smart-post-carousel .sp-smart-post-swiper .swiper-fade .swiper-slide-next {
706 // opacity: 0 !important;
707 // visibility: hidden;
708 // }
709
710 // .sp-smart-post-carousel .sp-smart-post-swiper .swiper-fade .swiper-slide-visible {
711 // opacity: 1 !important;
712 // visibility: visible;
713 // transition: all 0.3s linear;
714 // }
715
716 // .sp-smart-post-carousel .swiper-coverflow .swiper-wrapper {
717 // padding: 1.5% 0;
718 // }
719
720 .grid-six-container .sp-smart-post-grid-six-dynamic-contents .sp-smart-post-card-content div:has(.sp-smart-post-excerpt) {
721 display: none;
722 }
723
724 .sp-smart-post-page-builder {
725 width: 100%;
726 }
727
728 /* Modal Css */
729 .sp-smart-post-modal-container {
730 display: block;
731 position: fixed;
732 z-index: 9999;
733 left: 0;
734 top: 0;
735 overflow: auto;
736 background-color: #000000b3;
737 width: 0;
738 height: 0;
739 opacity: 0;
740 visibility: hidden;
741 pointer-events: none;
742 transition: opacity 0.5s ease-in-out;
743 }
744
745 .sp-smart-post-modal-container.is_open {
746 width: 100%;
747 height: 100%;
748 opacity: 1;
749 visibility: visible;
750 pointer-events: painted;
751 }
752
753 /* Modal Content */
754 .sp-smart-post-modal-content-lightbox {
755 position: relative;
756 background-color: #fefefe;
757 margin: auto;
758 padding: 0;
759 overflow-y: scroll;
760 overflow-x: hidden;
761 max-width: 1200px;
762 max-height: 85%;
763 top: 50%;
764 transform: translateY(-50%);
765 }
766
767 .sp-smart-post-modal-content-lightbox .sp-smart-post-modal-content-wrapper {
768 min-height: 600px;
769 height: fit-content;
770 padding: 40px;
771 }
772
773 .sp-modal-close-btn {
774 color: rgb(255, 153, 0);
775 position: -webkit-sticky;
776 position: sticky;
777 top: 20px;
778 right: 20px;
779 left: 97%;
780 font-weight: bold;
781 }
782
783 .sp-modal-close-btn:hover,
784 .sp-modal-close-btn:focus {
785 text-decoration: none;
786 cursor: pointer;
787 }
788
789 .sp-smart-modal-prev,
790 .sp-smart-modal-next {
791 cursor: pointer;
792 position: -webkit-sticky;
793 position: sticky;
794 bottom: 50%;
795 width: auto;
796 // padding: 16px;
797 padding: 12px;
798 font-weight: bold;
799 font-size: 20px;
800 transition: 0.6s ease;
801 border-radius: 0 3px 3px 0;
802 user-select: none;
803 -webkit-user-select: none;
804 z-index: 1;
805 text-decoration: none;
806 }
807
808 /* Position the "next button" to the right */
809 .sp-smart-modal-prev {
810 left: 0;
811 }
812
813 .sp-smart-modal-next {
814 right: 0;
815 left: calc(100% - 34px);
816 border-radius: 3px 0 0 3px;
817 }
818
819 /* On hover, add a black background color with a little bit see-through */
820 .sp-smart-modal-prev:hover,
821 .sp-smart-modal-next:hover {
822 text-decoration: none;
823 }
824
825 .sp-smart-post-modal-template .sp-smart-post-meta-icon {
826 width: 16px;
827 }
828
829 .sp-smart-post-modal-template .sp-smart-post-meta-icon svg {
830 width: 16px;
831 height: 16px;
832 }
833
834 .sp-smart-post-modal-template .sp-smart-post-meta-text,
835 .sp-smart-post-like i,
836 .sp-smart-post-like .pcpl-count,
837 .sp-smart-post-like #pcpl-loader {
838 font-size: 16px;
839 color: #575757;
840 text-transform: capitalize;
841 }
842
843 .sp-smart-post-modal-template .sp-smart-post-modal-meta-data {
844 gap: 8px;
845 margin-bottom: 15px;
846 }
847
848 .sp-smart-post-modal-template .sp-smart-post-modal-meta-data .sp-smart-post-meta,
849 .sp-smart-post-like a.pcpl-button,
850 .sp-smart-post-like {
851 display: flex;
852 gap: 4px;
853 }
854
855 .sp-smart-post-meta-text {
856 align-self: center;
857 }
858
859 .sp-smart-post-template-one-content .sp-post-modal-excerpt p:first-child {
860 margin-top: 0;
861 }
862
863 .sp-smart-post-modal-template .sp-smart-post-card-content-modal img {
864 max-width: 100%;
865 }
866
867 .sp-smart-post-modal-template .sp-smart-post-card-content-modal {
868 width: 100%;
869 text-align: left;
870 }
871
872 .sp-smart-post-details .sp-smart-post-meta-icon {
873 display: flex;
874 align-items: center;
875 }
876
877 // .sp-smart-post-carousel .swiper .swiper-scrollbar,
878 // .sp-smart-post-carousel .swiper-scrollbar {
879 // width: 80%;
880 // left: 50%;
881 // transform: translateX(-50%);
882 // }
883
884 // .sp-smart-post-carousel .swiper .swiper-scrollbar .swiper-scrollbar-drag,
885 // .sp-smart-post-carousel .swiper-scrollbar .swiper-scrollbar-drag {
886 // width: 23%;
887 // }
888
889 // .sp-pagination-horizontal {
890 // align-items: center;
891 // }
892
893 // .sp-pagination-horizontal .swiper-pagination-bullet {
894 // box-sizing: content-box;
895 // }
896
897 .sp-smart-post-preloader {
898 text-align: center;
899 width: 60px;
900 margin: auto;
901 }
902
903 // .sp-smart-post-thumbnail-two-thumb .sp-smart-post-card a {
904 // pointer-events: none;
905 // }
906
907 /* .sp-smart-filter-area option[disabled] {
908 display: none;
909 } */
910 .sp-smart-filter-area option {
911 text-transform: capitalize !important;
912 }
913
914 .sp-smart-post-live-filter-dropdown a.disabled {
915 pointer-events: none;
916 color: #aaa;
917 opacity: 0.6;
918 }
919
920 .sp-smart-post-live-filter-parent .sp-smart-post-live-filter-dropdown {
921 max-height: 550px;
922 overflow-y: auto;
923 }
924
925 .sps_fade-in {
926 animation: fadeIn 0.7s cubic-bezier(0.1, 0.3, 0.2, 1) forwards;
927 }
928
929 @keyframes fadeIn {
930 from {
931 transform: translateY(100px);
932 opacity: 0;
933 }
934
935 to {
936 opacity: 1;
937 transform: translateY(0);
938 }
939 }
940
941 .sp-smart-post-show-preloader svg,
942 .sp-smart-post-show-preloading svg {
943 display: inline-block
944 }
945
946 .sp-smart-post-show-preloader,
947 .sp-smart-post-show-preloading {
948 margin-top: 30px;
949 text-align: center;
950 }
951
952 .sp-smart-post-load-more-button .sps-no-more-post {
953 font-size: 16px;
954 }
955
956 .sp-smart-post-wrapper:has(.sp-smart-post-preloader):not(.sp-smart-preloader-removed) {
957 position: relative;
958 overflow: hidden;
959 }
960
961 .sp-smart-post-show-pro-pre-query .sp-smart-post-preloader {
962 position: absolute;
963 height: 100%;
964 width: 100%;
965 top: 0;
966 left: 0;
967 z-index: 9999;
968 background: rgba(255, 255, 255, 0.9);
969 text-align: center;
970 }
971
972 .fl-builder-edit .sp-smart-post-preloader,
973 .wp-theme-bricks .sp-smart-post-preloader,
974 .oxygen-builder-body .sp-smart-post-preloader,
975 .vc_editor .sp-smart-post-preloader,
976 .wp-theme-Divi .sp-smart-post-preloader {
977 display: none !important;
978 }
979
980 .sp-smart-post-show-pro-pre-query .sp-smart-post-preloader img {
981 position: absolute;
982 top: 120px;
983 }
984
985 .disabled {
986 pointer-events: none;
987 opacity: 0.5;
988 }
989
990 .sp-smart-post-meta-separator:last-child {
991 display: none;
992 }
993
994 .sp-v-p-20 {
995 padding-top: 20px;
996 padding-bottom: 20px;
997 }
998
999 /**
1000 * License activation notice.
1001 */
1002 .spsp-license-notice {
1003 background: #ffebee;
1004 color: #444;
1005 padding: 18px 16px;
1006 border: 1px solid #d0919f;
1007 border-radius: 4px;
1008 font-size: 18px;
1009 line-height: 28px;
1010 }
1011
1012 .sp-smart-post-card a {
1013 text-decoration: none;
1014 }
1015
1016 .sp-smart-post-show-content-wrapper video {
1017 max-width: 100%;
1018 }
1019
1020 img {
1021 height: auto;
1022 }
1023
1024 .sp-post-modal-title-wrapper {
1025 display: flex;
1026 flex-direction: row;
1027 align-items: center;
1028 }
1029
1030 ul.sp-title-badges-list {
1031 display: inline-flex;
1032 margin: 0;
1033 padding: 0;
1034 vertical-align: middle;
1035
1036 &.sp-badges-before-title {
1037 margin-right: 5px;
1038 }
1039
1040 &.sp-badges-after-title {
1041 margin-left: 5px;
1042 }
1043
1044 .sp-title-badge-item {
1045 display: inline-block;
1046 vertical-align: middle;
1047 box-sizing: border-box;
1048 height: fit-content;
1049 }
1050 }
1051
1052 /**
1053 * Template one card css.
1054 * frontend and backend
1055 */
1056
1057 .sp-smart-post-wrapper {
1058 position: relative;
1059 // z-index: 1;
1060
1061 // Title Common css
1062 .sp-smart-post-title {
1063 font-size: 22px;
1064 line-height: 1.2;
1065 color: var(--smart-post-dark-text);
1066 margin: 6px 0px 0px 0px;
1067
1068 &:hover {
1069 color: var(--smart-post-secondary);
1070 }
1071
1072 }
1073
1074 // Category Common css.
1075 .sp-smart-post-category a {
1076 font-weight: 600;
1077 text-transform: capitalize;
1078 color: var(--smart-post-light-text);
1079 background: var(--smart-post-dark-text);
1080 font-size: 12px;
1081 line-height: 1.2;
1082 padding: 5px 10px 5px 10px;
1083 border-width: 0;
1084 border-color: #ddd;
1085
1086 &:hover {
1087 background-color: var(--smart-post-secondary);
1088 }
1089 }
1090
1091 // Metadata common css.
1092 .sp-smart-post-details {
1093 display: flex;
1094 flex-wrap: wrap;
1095 margin-top: 6px;
1096
1097 .pcpl-count {
1098 color: inherit;
1099 }
1100
1101 .sp-smart-post-meta a,
1102 .sp-smart-post-meta {
1103 display: flex;
1104 align-items: center;
1105 gap: 4px;
1106 color: var(--smart-post-dark-2-text);
1107
1108 &:hover a,
1109 &:hover {
1110 color: var(--smart-post-secondary);
1111 }
1112 }
1113
1114 .sp-smart-post-meta-icon {
1115 width: 14px;
1116
1117 svg {
1118 height: inherit;
1119 padding: 1px 0;
1120 }
1121 }
1122
1123 .sp-smart-post-meta-text {
1124 font-size: 14px;
1125 }
1126 }
1127
1128
1129 // Excerpt common css.
1130 .sp-smart-post-excerpt {
1131 font-weight: 400;
1132 color: var(--smart-post-dark-2-text);
1133 font-size: 16px;
1134 margin: 14px 0px 0px 0px;
1135 }
1136
1137 // Read more button common css.
1138 .sp-smart-post-read-more-button .sp-smart-post-read-more-btn-link {
1139 font-weight: 500;
1140 text-transform: uppercase;
1141 font-size: 12px;
1142
1143 &.type-button {
1144 background: #fff;
1145 color: var(--smart-post-dark-2-text);
1146 padding: 8px 16px 8px 16px;
1147 border: 1px solid var(--smart-post-dark-2-text);
1148 margin: 16px 0px 0px 0px;
1149
1150 &:hover {
1151 background: var(--smart-post-secondary);
1152 border-color: var(--smart-post-secondary);
1153 color: #ffffff;
1154 }
1155 }
1156
1157 &.type-link {
1158 padding: 0 !important;
1159 margin-top: 6px;
1160 border: none !important;
1161 border-radius: 0 !important;
1162 background: transparent !important;
1163 color: var(--smart-post-dark-2-text);
1164
1165 &:hover {
1166 color: var(--smart-post-dark-2-text);
1167 }
1168 }
1169 }
1170
1171 .sp-smart-post-background-layout {
1172 .sp-smart-post-read-more-button a {
1173 &.type-button {
1174 color: var(--smart-post-dark-2-text);
1175 background: #fff;
1176 border-color: #fff;
1177 }
1178
1179 &.type-link {
1180 color: #fff;
1181
1182 &:hover {
1183 color: #fff;
1184 }
1185 }
1186 }
1187 }
1188
1189
1190 &:not(.sp-smart-post-grid-six,
1191 .sp-smart-post-list-one,
1192 .sp-smart-post-list-two,
1193 .sp-smart-post-list-three) .sp-smart-post-card {
1194 display: flex;
1195 flex-direction: column;
1196 }
1197
1198 // Orientation style.
1199 .orientation_one,
1200 .orientation_two,
1201 .orientation_three,
1202 .orientation_five,
1203 .orientation_four {
1204 .sp-smart-post-card-content {
1205 background: transparent !important;
1206 }
1207 }
1208
1209 .orientation_four {
1210 .sp-smart-post-card {
1211 background: #f2f2f2;
1212 }
1213 }
1214
1215 .orientation_one {
1216 text-align: left;
1217 // z-index: 0
1218 }
1219
1220 .orientation_two {
1221 position: relative;
1222
1223 .sp-smart-post-card-image {
1224 position: relative;
1225
1226 .sp-smart-post-date-orientation-two {
1227 position: absolute;
1228 bottom: 0;
1229 left: 0;
1230 margin: 8px 8px;
1231 border-radius: 3px;
1232 overflow: hidden;
1233
1234 span {
1235 display: block;
1236 text-align: center;
1237 font-size: 12px;
1238 }
1239
1240 .sp-smart-post-day {
1241 background-color: #4e4f52;
1242 color: #fff;
1243 font-size: 18px;
1244 padding: 6px 10px;
1245 }
1246
1247 .sp-smart-post-month-year {
1248 background-color: #fff;
1249 padding: 10px 15px;
1250 font-size: 12px;
1251 }
1252 }
1253 }
1254
1255 .sp-smart-post-date {
1256 display: flex;
1257 align-items: center;
1258 position: relative;
1259 z-index: 2;
1260
1261 .sp-smart-post-release-date {
1262 margin-left: 5px;
1263 }
1264 }
1265 }
1266
1267 .orientation_three:not(.sp-cat-position-top-left,
1268 .sp-cat-position-top-right,
1269 .sp-cat-position-bottom-left,
1270 .sp-cat-position-bottom-right,
1271 .sp-cat-position-center-center,
1272 .sp-cat-position-center-top,
1273 .sp-cat-position-center-bottom) .sp-smart-post-card-image .sp-smart-post-category {
1274 .sp-smart-post-date-orientation-two {
1275 position: absolute;
1276 left: 50%;
1277 transform: translateX(-50%);
1278 bottom: 0px;
1279 }
1280 }
1281
1282 .orientation_four:not(.sp-cat-position-top-left,
1283 .sp-cat-position-top-right,
1284 .sp-cat-position-bottom-left,
1285 .sp-cat-position-bottom-right,
1286 .sp-cat-position-center-center,
1287 .sp-cat-position-center-top,
1288 .sp-cat-position-center-bottom) .sp-smart-post-category {
1289 position: absolute;
1290 right: 8px;
1291 top: 8px;
1292 }
1293
1294 .orientation_six,
1295 .orientation_seven,
1296 .orientation_eight {
1297 .sp-smart-post-template-one-content {
1298 position: relative;
1299 display: flex;
1300 margin-top: -50px;
1301 z-index: 999;
1302
1303 .sp-smart-post-card-content {
1304 width: 85%;
1305 box-sizing: border-box;
1306 background: #f2f2f2;
1307 }
1308 }
1309
1310 .orientation_seven .sp-smart-post-template-one-content {
1311 justify-content: end;
1312 }
1313
1314 .orientation_eight .sp-smart-post-template-one-content {
1315 justify-content: start;
1316 }
1317
1318 // TODO: line 139 bg color is added.
1319 // .orientation_six .sp-smart-post-template-one-content,
1320 // .orientation_seven .sp-smart-post-template-one-content,
1321 // .orientation_eight .sp-smart-post-template-one-content {
1322 // .sp-smart-post-card-content {
1323 // background: #FFFFFF;
1324 // }
1325 // }
1326
1327 // Image Position style.
1328 .img-position-right,
1329 .img-position-left {
1330 .sp-smart-post-card {
1331 display: flex;
1332 gap: 20px;
1333 }
1334
1335 .sp-smart-post-template-one-content {
1336 width: 100%;
1337 }
1338 }
1339
1340 .img-position-right {
1341 .sp-smart-post-card {
1342 flex-direction: row-reverse;
1343
1344 .sp-smart-post-month-year {
1345 background-color: #fff;
1346 padding: 10px 15px;
1347 font-size: 12px;
1348 }
1349 }
1350 }
1351
1352 .sp-smart-post-date {
1353 display: flex;
1354 align-items: center;
1355 z-index: 1;
1356
1357 .sp-smart-post-release-date {
1358 margin-left: 5px;
1359 }
1360 }
1361 }
1362
1363 .orientation_three:not(.sp-cat-position-top-left,
1364 .sp-cat-position-top-right,
1365 .sp-cat-position-bottom-left,
1366 .sp-cat-position-bottom-right,
1367 .sp-cat-position-center-center,
1368 .sp-cat-position-center-top,
1369 .sp-cat-position-center-bottom) .sp-smart-post-card-image .sp-smart-post-category {
1370 position: absolute;
1371 left: 50%;
1372 transform: translateX(-50%);
1373 bottom: 0;
1374 }
1375
1376 // .orientation_five:not(.sp-cat-position-top-left,
1377 // .sp-cat-position-top-right,
1378 // .sp-cat-position-bottom-left,
1379 // .sp-cat-position-bottom-right,
1380 // .sp-cat-position-center-center,
1381 // .sp-cat-position-center-top,
1382 // .sp-cat-position-center-bottom) .sp-smart-post-category {
1383 // position: absolute;
1384 // right: 0px;
1385 // top: 0px;
1386 // }
1387
1388 .orientation_six,
1389 .orientation_seven,
1390 .orientation_eight {
1391 .sp-smart-post-template-one-content {
1392 position: relative;
1393 display: flex;
1394 margin-top: -50px;
1395 z-index: 999;
1396
1397 .sp-smart-post-card-content {
1398 width: 85%;
1399 box-sizing: border-box;
1400 }
1401 }
1402 }
1403
1404 .orientation_six .sp-smart-post-template-one-content {
1405 justify-content: center;
1406 }
1407
1408 .orientation_seven .sp-smart-post-template-one-content {
1409 justify-content: end;
1410 }
1411
1412 .orientation_eight .sp-smart-post-template-one-content {
1413 justify-content: start;
1414 }
1415
1416 .orientation_six .sp-smart-post-template-one-content,
1417 .orientation_seven .sp-smart-post-template-one-content,
1418 .orientation_eight .sp-smart-post-template-one-content {
1419 .sp-smart-post-card-content {
1420 background: #f2f2f2;
1421 }
1422 }
1423
1424 // Image Position style.
1425 .img-position-top .sp-smart-post-card {
1426 display: flex;
1427 flex-direction: column;
1428 }
1429
1430 .img-position-right,
1431 .img-position-left {
1432 .sp-smart-post-card {
1433 display: flex;
1434 gap: 20px;
1435 }
1436
1437 .sp-smart-post-template-one-content {
1438 width: 100%;
1439 }
1440 }
1441
1442 .img-position-right {
1443 .sp-smart-post-card {
1444 flex-direction: row-reverse;
1445 }
1446 }
1447
1448 .img-position-right.orientation_eight .sp-smart-post-card,
1449 .img-position-left.orientation_eight .sp-smart-post-card,
1450 .img-position-right.orientation_seven .sp-smart-post-card,
1451 .img-position-left.orientation_seven .sp-smart-post-card,
1452 .img-position-right.orientation_six .sp-smart-post-card,
1453 .img-position-left.orientation_six .sp-smart-post-card {
1454 align-items: center;
1455 gap: 0;
1456
1457 .sp-smart-post-template-one-content {
1458 margin-top: 0;
1459 height: 90%;
1460 }
1461 }
1462
1463 .img-position-right.orientation_seven .sp-smart-post-card,
1464 .img-position-left.orientation_seven .sp-smart-post-card {
1465 align-items: start;
1466 }
1467
1468 .img-position-right.orientation_eight .sp-smart-post-card,
1469 .img-position-left.orientation_eight .sp-smart-post-card {
1470 align-items: end;
1471 }
1472
1473 .img-position-left.orientation_six .sp-smart-post-card .sp-smart-post-template-one-content,
1474 .img-position-left.orientation_seven .sp-smart-post-card .sp-smart-post-template-one-content,
1475 .img-position-left.orientation_eight .sp-smart-post-card .sp-smart-post-template-one-content {
1476 margin-left: -50px;
1477 }
1478
1479 .img-position-right.orientation_six .sp-smart-post-card .sp-smart-post-template-one-content,
1480 .img-position-right.orientation_seven .sp-smart-post-card .sp-smart-post-template-one-content,
1481 .img-position-right.orientation_eight .sp-smart-post-card .sp-smart-post-template-one-content {
1482 margin-right: -50px;
1483 }
1484
1485 .sp-smart-post-category span {
1486 display: flex;
1487 flex-wrap: wrap;
1488 gap: 4px;
1489 }
1490 }
1491
1492 // Background layout common css.
1493
1494 .sp-smart-post-wrapper:not(.sp-smart-post-slider-two) .sp-smart-post-background-layout {
1495
1496 .sp-smart-post-title,
1497 .sp-smart-post-meta a,
1498 .sp-smart-post-meta {
1499 color: #ffffff;
1500
1501 &:hover a,
1502 &:hover {
1503 color: var(--smart-post-secondary);
1504 }
1505 }
1506
1507 // Apply category styles only when NOT inside .sp-smart-post-carousel-two
1508 &:not(.sp-smart-post-carousel-two) {
1509 .sp-smart-post-category a {
1510 background: #ffffff;
1511 color: var(--smart-post-dark-2-text);
1512
1513 &:hover {
1514 background-color: var(--smart-post-secondary);
1515 color: #ffffff;
1516 }
1517 }
1518 }
1519 }
1520
1521
1522 .orientation_five {
1523 .sp-smart-post-card {
1524 border-color: #e0e0e0;
1525 }
1526 }
1527
1528 .sp-smart-post-card {
1529 transition: all 0.5s;
1530 overflow: hidden;
1531
1532 .sp-smart-post-category {
1533 display: flex;
1534 flex-wrap: wrap;
1535 gap: 8px;
1536 }
1537
1538 a {
1539 cursor: pointer;
1540 z-index: 1;
1541 }
1542
1543 .sp-smart-post-card-content {
1544 a {
1545 text-decoration: none;
1546 }
1547
1548 .sp-smart-post-product-add-to-cart {
1549 a {
1550 display: inline-block;
1551 }
1552 }
1553 }
1554
1555 &.sp-smart-post-advertisement iframe {
1556 width: 100%;
1557 height: 100%;
1558 }
1559
1560 &.template-one {
1561 // background-color: #fff;
1562
1563 &.default {
1564 img:not(.sp-smart-post-meta-icon) {
1565 width: 100%;
1566 }
1567 }
1568
1569 &.flex {
1570 display: flex;
1571 width: 100%;
1572
1573 .sp-smart-post-card-image {
1574 width: 50%;
1575
1576 img:not(.sp-smart-post-meta-icon) {
1577 width: 100%;
1578 height: 100%;
1579 object-fit: cover;
1580 }
1581 }
1582
1583 .sp-smart-post-card-content {
1584 padding-left: 15px;
1585 width: 50%;
1586 }
1587 }
1588
1589 .sp-smart-post-template-one-content .sp-smart-post-card-content .sp-smart-post-category ul {
1590 flex-wrap: wrap;
1591 }
1592 }
1593
1594 &.template-two {
1595 &.left {
1596 position: relative;
1597 }
1598
1599 &.center {
1600 display: flex;
1601 justify-content: center;
1602 align-items: center;
1603 }
1604
1605 .sp-smart-post-template-one-content {
1606 &.left {
1607 position: absolute;
1608 top: 40%;
1609 left: 30px;
1610 }
1611
1612 &.center {
1613 display: flex;
1614 flex-direction: column;
1615 align-items: center;
1616 }
1617
1618 .sp-smart-post-read-more-button {
1619 padding: 8px 0;
1620 background-color: transparent;
1621 border-radius: 2px;
1622 text-align: center;
1623
1624 .components-button {
1625 color: #fff;
1626 font-weight: 500;
1627 font-size: 16px;
1628 }
1629 }
1630
1631 .sp-smart-post-card-content {
1632 &.center {
1633 display: flex;
1634 align-items: center;
1635 }
1636
1637 &.right {
1638 display: flex;
1639 align-items: flex-end;
1640 }
1641
1642 &.left {
1643 display: flex;
1644 align-items: flex-start;
1645 }
1646 }
1647 }
1648 }
1649 }
1650
1651 /*
1652 * block pagination static css
1653 */
1654 .sp-smart-post-pagination-section {
1655 display: flex;
1656 // justify-content: center;
1657
1658 .sp-smart-post-load-more-button a:focus {
1659 outline: none;
1660 }
1661
1662 .sp-smart-post-no-more-post-label {
1663 font-size: 16px;
1664 opacity: 0;
1665 animation: fadeIn 0.2s ease forwards;
1666 animation-delay: 200ms;
1667 }
1668
1669 @keyframes fadeIn {
1670 to {
1671 opacity: 1;
1672 }
1673 }
1674 }
1675
1676 .sp-smart-post-carousel-ticker .rfm-marquee,
1677 .sp-smart-post-carousel-ticker .rfm-initial-child-container {
1678 align-items: flex-start;
1679 }
1680
1681 .rfm-marquee-container {
1682 .rfm-marquee {
1683 align-items: flex-start;
1684 }
1685 }
1686
1687 .sp-smart-post-block-wrapper {
1688 position: relative;
1689 }
1690
1691 // ajax frontend css
1692 .sp-smart-post-taxonomy-name-container {
1693 .sp-smart-post-taxonomy-name {
1694 padding-bottom: 10px;
1695 margin-bottom: 0;
1696 font-size: 21px;
1697 text-transform: capitalize;
1698 line-height: 22px;
1699 }
1700 }
1701
1702 .category-container {
1703 &.category-image {
1704 width: -webkit-fill-available;
1705 height: 96%;
1706 left: 0;
1707 top: 0;
1708 bottom: 10px;
1709 }
1710 }
1711
1712 .sp-smart-post-show-preloading {
1713 text-align: center;
1714 margin-top: 30px;
1715 }
1716
1717
1718
1719 .sp-smart-post-static-grid-contents {
1720 height: auto;
1721 }
1722
1723 .sp-smart-post-card {
1724 .sp-smart-post-product-rating-area {
1725 display: flex;
1726
1727 .sp-smart-post-product-rating {
1728 position: relative;
1729 width: fit-content;
1730
1731 .sp-smart-post-empty-stars {
1732 display: flex;
1733 }
1734
1735 .sp-smart-post-filled-stars {
1736 display: flex;
1737 position: absolute;
1738 top: 0;
1739 left: 0;
1740 overflow: hidden;
1741 white-space: nowrap;
1742 }
1743
1744 .sp-icon-star:before {
1745 margin: 0;
1746 }
1747 }
1748 }
1749
1750 .sp-smart-post-sale-text {
1751 position: absolute;
1752 transform: rotate(-45deg);
1753 top: 0.925rem;
1754 left: -27px;
1755 padding: 6px 24px;
1756 width: 106px;
1757 z-index: 2;
1758 color: #ffffff;
1759 font-size: 10px;
1760 line-height: 10px;
1761 text-transform: uppercase;
1762 letter-spacing: 1px;
1763 text-align: center;
1764 font-style: normal;
1765 font-weight: 400;
1766 background-color: #d64224;
1767 }
1768 }
1769
1770
1771 // .sp-smart-post-timeline-one-post-container::after,
1772 // .sp-smart-post-timeline-one-post-container::before {
1773 // transition: 0.3s;
1774 // }
1775
1776 // .smart-post-timeline-two .template-two .sp-smart-post-card-content {
1777 // height: 100%;
1778 // }
1779
1780 .sp-smart-post-card,
1781 .sp-smart-post-grid-one,
1782 .sp-smart-post-grid-six,
1783 .sp-smart-post-grid-three,
1784 .sp-smart-post-grid-four,
1785 .sp-smart-post-grid-five {
1786 overflow: hidden;
1787 }
1788
1789 // .sp-smart-post-thumbnail-slider.thumbnail-slider-layout-six .sp-smart-post-thumbnail-thumb .sp-slide-item-thumb.swiper-slide-thumb-active::after {
1790 // position: absolute;
1791 // content: "";
1792 // background-color: #fff;
1793 // height: 35px;
1794 // z-index: 99;
1795 // }
1796
1797 // .sp-smart-post-thumbnail-slider.thumbnail-slider-layout-six.sp-thumbnail-top .sp-smart-post-thumbnail-thumb .sp-slide-item-thumb.swiper-slide-thumb-active::after {
1798 // clip-path: polygon(50% 0, 100% 100%, 0 100%);
1799 // bottom: -1px;
1800 // left: 50%;
1801 // transform: translateX(-50%);
1802 // width: 35px;
1803 // height: 18px;
1804 // }
1805
1806 // .sp-smart-post-thumbnail-slider.thumbnail-slider-layout-six.sp-thumbnail-right .sp-smart-post-thumbnail-thumb .sp-slide-item-thumb.swiper-slide-thumb-active::after {
1807 // clip-path: polygon(0 0, 100% 50%, 0 100%);
1808 // left: -1px;
1809 // top: 50%;
1810 // transform: translateY(-50%);
1811 // width: 18px;
1812 // }
1813
1814 // .sp-smart-post-thumbnail-slider.thumbnail-slider-layout-six.sp-thumbnail-bottom .sp-smart-post-thumbnail-thumb .sp-slide-item-thumb.swiper-slide-thumb-active::after {
1815 // clip-path: polygon(51% 43%, 0 0, 100% 0);
1816 // top: -1px;
1817 // left: 50%;
1818 // transform: translateX(-50%);
1819 // width: 35px;
1820 // }
1821
1822 // .sp-smart-post-thumbnail-slider.thumbnail-slider-layout-six.sp-thumbnail-left .sp-smart-post-thumbnail-thumb .sp-slide-item-thumb.swiper-slide-thumb-active::after {
1823 // clip-path: polygon(100% 0, 0 50%, 100% 100%);
1824 // right: -1px;
1825 // top: 50%;
1826 // transform: translateY(-50%);
1827 // width: 18px;
1828 // }
1829
1830 .sp-smart-post-card-content {
1831 .sp-smart-post-product-add-to-cart {
1832 .add_to_cart_inline {
1833 display: inline-block;
1834 margin-top: 8px;
1835 margin-bottom: 8px;
1836 }
1837 }
1838 }
1839
1840 .category-container {
1841 &.above-title {
1842 .sp-smart-post-category {
1843 min-height: 1.7rem;
1844 }
1845 }
1846 }
1847
1848 .sp-smart-post-card {
1849
1850 .sp-smart-post-title,
1851 .sp-smart-post-meta-icon svg path,
1852 .post-categories a,
1853 .sp-smart-post-meta-text,
1854 .sp-smart-post-meta-icon,
1855 .sp-smart-post-read-more-btn-link {
1856 transition: all 0.3s ease-in-out;
1857 }
1858 }
1859
1860 .sp-smart-post-title {
1861 word-break: break-word;
1862 }
1863
1864
1865 .orientation_six,
1866 .orientation_seven,
1867 .orientation_eight {
1868 &.sp-smart-post-card {
1869 background-color: transparent;
1870 }
1871 }
1872
1873 // .sp-smart-post-thumbnail-slider .sp-swiper-fade .swiper-slide.sp-slide-item,
1874 // .sp-smart-post-slider .sp-swiper-fade .swiper-slide.sp-slide-item {
1875 // opacity: 0 !important;
1876 // }
1877
1878 // .sp-smart-post-thumbnail-slider .sp-swiper-fade .swiper-slide.sp-slide-item.swiper-slide-active,
1879 // .sp-smart-post-slider .sp-swiper-fade .swiper-slide.swiper-slide.sp-slide-item.swiper-slide-active {
1880 // opacity: 1 !important;
1881 // }
1882
1883 .sp-smart-post-pagination-section.sp-justify-left .sp-smart-post-load-more-button {
1884 text-align: left;
1885 }
1886
1887 .sp-smart-post-pagination-section.sp-justify-center .sp-smart-post-load-more-button {
1888 text-align: center;
1889 }
1890
1891 .sp-smart-post-pagination-section.sp-justify-right .sp-smart-post-load-more-button {
1892 text-align: right;
1893 }
1894
1895 .sp-smart-post-pagination-section .sp-smart-post-load-more-button a,
1896 .sp-smart-post-pagination-section .sp-smart-post-navigation-buttons .sp-smart-post-grid-nav-arrow .sp-smart-post-grid-nav-arrow-btn,
1897 .sp-smart-post-pagination-section .sp-smart-post-pagination-buttons span,
1898 .sp-smart-post-pagination-section .sp-smart-post-pagination-buttons a,
1899 .sp-smart-post-product-add-to-cart a.button {
1900 display: inline-flex;
1901 align-items: center;
1902 justify-content: center;
1903 transition: all 0.3s ease-in-out;
1904 }
1905
1906
1907 .sp-smart-post-product-add-to-cart {
1908 .add_to_cart_button {
1909 pointer-events: all;
1910 }
1911 }
1912
1913 .sp-smart-post-card {
1914 .sp-social-share-popup {
1915 position: relative;
1916
1917 ul {
1918 padding: 0;
1919 }
1920
1921 .sp-social-share-popup-icon.popup-share-icon {
1922 cursor: pointer;
1923 padding: 0 !important;
1924 }
1925
1926 .sp-social-share-popup-icon.sp-social-popup-icon-list {
1927 opacity: 0;
1928 visibility: hidden;
1929 padding: 0px;
1930 margin-bottom: 20px;
1931 max-width: 300px;
1932 transition: all 0.3s ease-in-out;
1933 }
1934
1935 .sp-social-share-popup-icon.popup-share-icon:hover+.sp-social-share-popup-icon.sp-social-popup-icon-list,
1936 .sp-social-share-popup-icon.sp-social-popup-icon-list:hover {
1937 opacity: 1;
1938 visibility: visible;
1939 margin-bottom: 0;
1940 }
1941
1942 .sp-social-share-popup-icon.sp-social-popup-icon-list {
1943 position: absolute;
1944 background: #fff;
1945 z-index: 22;
1946 bottom: calc(100% + 14px);
1947 left: 0;
1948
1949 &::after {
1950 content: "";
1951 position: absolute;
1952 top: 100%;
1953 /* Position the arrow at the top of the popup */
1954 left: 15px;
1955 transform: translateX(-50%);
1956 width: 0;
1957 height: 0;
1958 border-left: 8px solid transparent;
1959 /* Left side of the arrow */
1960 border-right: 8px solid transparent;
1961 /* Right side of the arrow */
1962 border-top: 8px solid #fff;
1963 /* Bottom side (visible part) */
1964 }
1965
1966 &::before {
1967 content: "";
1968 position: absolute;
1969 top: calc(100% + 1px);
1970 /* Position the arrow at the top of the popup */
1971 left: 15px;
1972 transform: translateX(-50%);
1973 width: 0;
1974 height: 0;
1975 border-left: 8px solid transparent;
1976 /* Left side of the arrow */
1977 border-right: 8px solid transparent;
1978 /* Right side of the arrow */
1979 border-top: 8px solid #fff;
1980 /* Bottom side (visible part) */
1981 }
1982 }
1983
1984 // TODO: On Click popup show for next version.
1985 // &.popup-show .sp-social-share-popup-icon.sp-social-popup-icon-list {
1986 // opacity: 1;
1987 // visibility: visible;
1988 // max-width: max-content;
1989 // max-height: max-content;
1990 // padding: 12px;
1991 // margin-bottom: 0;
1992 // }
1993 }
1994
1995 .sp-social-share-popup-icon.sp-social-popup-icon-list {
1996 opacity: 0;
1997 visibility: hidden;
1998 padding: 0px;
1999 margin-bottom: 20px;
2000 width: max-content;
2001 transition: all 0.3s ease-in-out;
2002 }
2003
2004 .sp-social-share-popup-icon.popup-share-icon:hover+.sp-social-share-popup-icon.sp-social-popup-icon-list,
2005 .sp-social-share-popup-icon.sp-social-popup-icon-list:hover {
2006 opacity: 1;
2007 visibility: visible;
2008 margin-bottom: 0;
2009 }
2010
2011
2012 .sp-social-share-popup-icon.sp-social-popup-icon-list {
2013 position: absolute;
2014 background: #fff;
2015 z-index: 22;
2016 bottom: calc(100% + 14px);
2017 left: 0;
2018
2019 .sp-smart-post-social-share {
2020 row-gap: 12px;
2021 margin-top: 0px !important;
2022 }
2023
2024 &::after {
2025 content: "";
2026 position: absolute;
2027 top: 100%;
2028 /* Position the arrow at the top of the popup */
2029 left: 15px;
2030 transform: translateX(-50%);
2031 width: 0;
2032 height: 0;
2033 border-left: 8px solid transparent;
2034 /* Left side of the arrow */
2035 border-right: 8px solid transparent;
2036 /* Right side of the arrow */
2037 border-top: 8px solid #fff;
2038 /* Bottom side (visible part) */
2039 }
2040 }
2041
2042 // TODO: On Click popup show for next version.
2043 // &.popup-show .sp-social-share-popup-icon.sp-social-popup-icon-list {
2044 // opacity: 1;
2045 // visibility: visible;
2046 // max-width: max-content;
2047 // max-height: max-content;
2048 // padding: 12px;
2049 // margin-bottom: 0;
2050 // }
2051 }
2052
2053 .entry-content .sp-smart-post-card .sp-smart-post-social-share,
2054 .sp-smart-post-card .sp-smart-post-social-share {
2055 margin-top: 16px;
2056 }
2057
2058 .sp-smart-post-card-content {
2059 .sp-meta-data:has(.beside-meta) {
2060 display: inline-flex;
2061
2062 .sp-social-share-popup {
2063 text-align: start;
2064 }
2065 }
2066
2067 .sp-social-share-popup {
2068 &.over-thumbnail {
2069 position: absolute;
2070 top: 10px;
2071 right: 10px;
2072
2073 .sp-social-share-popup-icon.sp-social-popup-icon-list {
2074 top: calc(100% + 16px);
2075 right: 0;
2076 left: auto;
2077 bottom: auto;
2078
2079 &::after {
2080 top: auto;
2081 right: 4px;
2082 left: auto;
2083 bottom: 100%;
2084 transform: none;
2085 border-top: 0;
2086 border-bottom: 8px solid;
2087 }
2088 }
2089 }
2090
2091 &.space-between-taxonomy,
2092 &.space-between-meta {
2093 right: 0;
2094 left: auto;
2095 transform: none;
2096 display: inline-flex;
2097 justify-content: end;
2098
2099 .sp-social-share-popup-icon.sp-social-popup-icon-list {
2100 bottom: calc(100% + 16px);
2101 left: unset;
2102
2103 &::after {
2104 right: 0px;
2105 left: unset;
2106 }
2107
2108 &::before {
2109 right: 0px;
2110 left: unset;
2111 }
2112 }
2113 }
2114 }
2115 }
2116
2117 // style comment out for sp-smart-post-card border radius
2118 // .sp-smart-post-card {
2119 // overflow: visible;
2120 // }
2121 .sp-smart-show-pro .sp-smart-post-template-one-content:has(.sp-social-share-popup) {
2122 overflow: visible;
2123 }
2124
2125 .sp-smart-post-card .sp-social-share-popup.on-hover {
2126 opacity: 0;
2127 // max-width: 0;
2128 pointer-events: none;
2129 transition: opacity 0.3s ease-in-out;
2130 }
2131
2132 .sp-smart-post-card:hover .sp-social-share-popup.on-hover {
2133 opacity: 1;
2134 // max-width: 100px;
2135 pointer-events: all;
2136 }
2137
2138 // // Navigation arrow default style
2139 // .sp-smart-post-swiper-nav-arrow {
2140 // top: 50%;
2141
2142 // i {
2143 // border-radius: 50%;
2144 // }
2145
2146 // // .btn-prev {
2147 // // left: 30px;
2148 // // }
2149
2150 // // .btn-next {
2151 // // left: calc(95% - 60px);
2152 // // }
2153 // }
2154
2155 // // Swiper navigation css.
2156 // .sp-smart-post-swiper-nav-arrow {
2157 // position: absolute;
2158 // display: flex;
2159
2160 // .sp-smart-post-swiper-nav-arrow-btn.btn-prev i {
2161 // transform: rotate(180deg);
2162 // }
2163 // }
2164
2165 // .sp-smart-post-swiper-nav-arrow.visible-on-hover {
2166 // opacity: 0;
2167 // visibility: hidden;
2168 // transition: all 0.3s linear;
2169
2170 // .btn-prev {
2171 // transform: translateX(-20px);
2172 // transition: all 0.3s linear;
2173 // }
2174
2175 // .btn-next {
2176 // transform: translateX(20px);
2177 // transition: all 0.3s linear;
2178 // }
2179 // }
2180
2181 // .sp-smart-post-wrapper:hover .sp-smart-post-swiper-nav-arrow.visible-on-hover {
2182 // opacity: 1;
2183 // visibility: visible;
2184
2185 // .btn-prev {
2186 // transform: translateX(0px);
2187 // }
2188
2189 // .btn-next {
2190 // transform: translateX(0px);
2191 // }
2192 // }
2193
2194 // .sp-smart-post-swiper-nav-arrow .sp-smart-post-swiper-nav-arrow-btn {
2195 // position: relative;
2196 // }
2197
2198 // // Pagination Dots css.
2199 // .sp-smart-post-block-wrapper .sp-smart-post-pagination-strokes,
2200 // .sp-smart-post-block-wrapper .sp-smart-post-pagination-dynamic,
2201 // .sp-smart-post-block-wrapper .sp-smart-post-pagination-numbers,
2202 // .sp-smart-post-block-wrapper .sp-smart-post-pagination-fraction,
2203 // .sp-smart-post-block-wrapper .sp-smart-post-pagination-dots {
2204 // transform: translate(-50%, -50%);
2205 // left: 50%;
2206 // display: flex;
2207 // justify-content: center;
2208 // position: absolute;
2209 // z-index: 1;
2210 // }
2211
2212 // .sp-smart-post-pagination-fraction,
2213 // .sp-smart-post-pagination-numbers .swiper-pagination-bullet {
2214 // display: flex;
2215 // justify-content: center;
2216 // align-items: center;
2217 // }
2218
2219 // .sp-smart-post-pagination-fraction {
2220 // font-weight: 500;
2221 // border-radius: 50%;
2222 // transition: background 0.3s ease-in-out;
2223 // }
2224
2225 // .sp-smart-post-carousel .swiper-pagination-bullet {
2226 // box-sizing: content-box;
2227 // }
2228
2229 // .sp-smart-post-carousel .sp-smart-post-pagination-strokes .swiper-pagination-bullet.swiper-pagination-bullet-active {
2230 // width: 50px;
2231 // // transition: width 0.3s linear;
2232 // }
2233
2234 // .sp-smart-post-pagination-strokes .swiper-pagination-bullet {
2235 // width: 50px;
2236 // transition: width 0.3s ease;
2237 // }
2238
2239
2240
2241 // Category position styles.
2242 .sp-cat-position-top-left {
2243 .sp-smart-post-card-image {
2244 position: relative;
2245
2246 .sp-smart-post-category {
2247 position: absolute;
2248 top: 8px;
2249 left: 8px;
2250 }
2251 }
2252 }
2253
2254 .sp-cat-position-top-right {
2255 .sp-smart-post-card-image {
2256 position: relative;
2257
2258 .sp-smart-post-category {
2259 position: absolute;
2260 top: 8px;
2261 right: 8px;
2262 }
2263 }
2264 }
2265
2266 .sp-cat-position-bottom-left {
2267 .sp-smart-post-card-image {
2268 position: relative;
2269
2270 .sp-smart-post-category {
2271 position: absolute;
2272 bottom: 8px;
2273 left: 8px;
2274 }
2275 }
2276 }
2277
2278 .sp-cat-position-bottom-right {
2279 .sp-smart-post-card-image {
2280 position: relative;
2281 .sp-smart-post-category {
2282 position: absolute;
2283 bottom: 8px;
2284 right: 8px;
2285 }
2286 .post-categories {
2287 justify-content: end;
2288 }
2289 }
2290 }
2291
2292 .sp-cat-position-center-center {
2293 .sp-smart-post-card-image {
2294 position: relative;
2295
2296 .sp-smart-post-category {
2297 position: absolute;
2298 top: 50%;
2299 left: 50%;
2300 transform: translate(-50%, -50%);
2301 }
2302 }
2303 }
2304
2305 .sp-cat-position-center-top {
2306 .sp-smart-post-card-image {
2307 position: relative;
2308
2309 .sp-smart-post-category {
2310 position: absolute;
2311 top: 8px;
2312 left: 50%;
2313 transform: translateX(-50%);
2314 }
2315 }
2316 }
2317
2318 .sp-cat-position-center-bottom {
2319 .sp-smart-post-card-image {
2320 position: relative;
2321
2322 .sp-smart-post-category {
2323 position: absolute;
2324 bottom: 0px;
2325 left: 50%;
2326 transform: translateX(-50%);
2327 }
2328 }
2329 }
2330
2331 // Background template design.
2332 .sp-smart-post-background-layout {
2333 .sp-smart-post-card-content {
2334 // background: transparent !important;
2335 background: transparent;
2336 }
2337
2338 .sp-smart-post-card {
2339 position: relative;
2340 width: 100%;
2341
2342 .sp-smart-post-card-image {
2343 position: absolute;
2344 display: inline-flex;
2345 height: 100%;
2346 width: 100% !important;
2347
2348 a,
2349 img:not(.sp-smart-post-meta-icon) {
2350 height: 100% !important;
2351 width: 100% !important;
2352 }
2353 }
2354
2355 .sp-smart-post-template-one-content {
2356 position: relative;
2357 z-index: 8;
2358 width: 100%;
2359 height: 100%;
2360 display: grid;
2361 }
2362
2363 .sp-smart-post-excerpt {
2364 color: #fff;
2365 }
2366 }
2367 }
2368
2369 .sp-smart-post-card-image,
2370 .sp-smart-post-card {
2371 transition: all 0.3s ease-in-out;
2372 }
2373
2374 .img-position-left,
2375 .img-position-right {
2376 .sp-smart-post-card {
2377 .sp-smart-post-card-image {
2378 width: 40%;
2379 }
2380
2381 .sp-smart-post-template-one-content {
2382 width: 60%;
2383 flex-shrink: 1;
2384
2385 &.content-v-top {
2386 display: flex;
2387 align-items: flex-start;
2388 }
2389
2390 &.content-v-center {
2391 display: flex;
2392 align-items: center;
2393 }
2394
2395 &.content-v-bottom {
2396 display: flex;
2397 align-items: flex-end;
2398 }
2399
2400 .sp-smart-post-card-content {
2401 width: 100%;
2402 }
2403 }
2404 }
2405 }
2406
2407 .img-position-top {
2408 .sp-smart-post-card {
2409 .sp-smart-post-card-image a {
2410 display: flex;
2411 justify-content: center;
2412 }
2413 }
2414 }
2415
2416 .sp-smart-post-read-more-button {
2417 .sp-smart-post-read-more-btn-link {
2418 display: flex;
2419 justify-content: center;
2420
2421 // &:hover:not(.sp-read-more-icon-hover) i[class^="sp-icon-"],
2422 i[class^="sp-icon-"]^="sp-icon-""] {
2423 opacity: 0;
2424 visibility: hidden;
2425 max-width: 0;
2426 margin: 0;
2427 transition:
2428 max-width 0.3s ease-in-out,
2429 opacity 0.3s ease-in-out,
2430 margin-left 0.3s ease-in-out;
2431 }
2432
2433 &:has(.sp-read-more-icon-always) {
2434 i[class^="sp-icon-"]^="sp-icon-""] {
2435 display: flex;
2436 justify-content: center;
2437 opacity: 1;
2438 visibility: visible;
2439 max-width: 50px;
2440 margin: auto;
2441 }
2442 }
2443
2444 &:hover:has(.sp-read-more-icon-hover) {
2445 i[class^="sp-icon-"]^="sp-icon-""] {
2446 display: flex;
2447 justify-content: center;
2448 opacity: 1;
2449 visibility: visible;
2450 max-width: 50px;
2451 margin: auto;
2452 }
2453 }
2454 }
2455 }
2456
2457 .sp-smart-post-block-wrapper {
2458 &.sp-smart-post-background-layout {
2459 .sp-smart-post-card-content {
2460 display: flex;
2461 flex-direction: column;
2462 justify-content: center;
2463 }
2464 }
2465 }
2466
2467 .sp-smart-post-card-image img:not(.sp-smart-post-meta-icon) {
2468 height: 244px;
2469 max-height: 100%;
2470 }
2471
2472 .sp-smart-post-meta-details-inline {
2473 display: flex !important;
2474 gap: 4px;
2475
2476 .sp-smart-post-details {
2477 width: fit-content;
2478 }
2479 }
2480
2481 .sp-smart-post-meta-details-split-left-right {
2482 display: flex !important;
2483 justify-content: space-between;
2484 gap: 4px;
2485
2486 .sp-social-share-popup .sp-social-popup-icon-list {
2487 transform: translateX(-86%);
2488
2489 &::after {
2490 left: unset !important;
2491 right: 0 !important;
2492 }
2493
2494 &::before {
2495 left: unset !important;
2496 right: 0 !important;
2497 }
2498 }
2499 }
2500
2501 .sp-smart-post-background-layout {
2502 .sp-smart-post-meta-details-split-left-right {
2503 width: 100%;
2504 }
2505 }
2506
2507 .sp-smart-post-details-left,
2508 .sp-smart-post-details-right {
2509 display: flex;
2510 flex-direction: row;
2511 align-items: center;
2512 }
2513
2514 .sp-smart-pagination-number.sp-smart-post-pagination-more-items-dots {
2515 align-self: normal;
2516 }
2517
2518 // .sp-smart-post-slider .sp-smart-post-card-image img,
2519 // .sp-smart-post-slider-two .sp-smart-post-card-image img,
2520 // .sp-smart-post-thumbnail-slider .sp-smart-post-card-image img,
2521 // .sp-smart-post-thumbnail-slider-two .sp-smart-post-card-image img {
2522 // border-style: none !important;
2523 // }
2524
2525 .sp-smart-post-category .sp-taxonomy-type-category a,
2526 .sp-smart-post-category .sp-taxonomy-type-post_tag a {
2527 display: flex !important;
2528 }
2529
2530 .sp-smart-post-block-with-pagination.pagination-bottom {
2531 display: flex;
2532 flex-direction: column;
2533 }
2534
2535 .sp-smart-post-block-with-pagination.pagination-top {
2536 display: flex;
2537 flex-direction: column-reverse;
2538 }
2539
2540 .sp-ticker-img.sp-img-circle {
2541 transition: opacity 0.3s ease;
2542 }
2543
2544 .sp-smart-post-wrapper {
2545
2546 video,
2547 audio,
2548 iframe {
2549 max-width: 100%;
2550 }
2551 }
2552
2553 .sp-smart-post-block-wrapper .category-container:has(.sp-smart-post-category .space-between-taxonomy) {
2554 width: -webkit-fill-available;
2555 }
2556
2557 .sp-smart-post-wrapper .sp-smart-post-category:has(.space-between-meta),
2558 .sp-smart-post-wrapper .sp-smart-post-category:has(.space-between-taxonomy) {
2559 display: flex;
2560 flex-direction: row;
2561 justify-content: space-between !important;
2562 width: -webkit-fill-available;
2563 }
2564
2565 // html[dir="rtl"] body.rtl .sp-smart-post-swiper-nav-arrow,
2566 // html[dir="rtl"] body.rtl .sp-smart-post-timeline-container {
2567 // direction: ltr;
2568 // }
2569
2570
2571
2572 // ------------------------------------------------------------------
2573 // Social Share Icon CSS
2574 // ------------------------------------------------------------------
2575
2576
2577 /* Social Share Icon style */
2578 .sp-smart-post-social-share {
2579 display: flex;
2580 flex-wrap: wrap;
2581
2582 li a {
2583 overflow: hidden;
2584 }
2585 }
2586
2587 .entry-content ul.sp-smart-post-social-share,
2588 .sp-smart-post-social-share {
2589 margin: 0;
2590 padding: 0;
2591 }
2592
2593 .sp-smart-post-social-share.sp-d-flex {
2594 flex-wrap: wrap;
2595 align-items: center;
2596 }
2597
2598 .sp-smart-post-social-share .sp-smart-post-social-share-icon a {
2599 text-decoration: none;
2600 }
2601
2602 .sp-smart-post-social-share .sp-smart-post-social-share-icon i {
2603 display: flex;
2604 justify-content: center;
2605 align-items: center;
2606 box-sizing: border-box;
2607 text-align: center;
2608 cursor: pointer;
2609 line-height: 30px;
2610 transition: 0.3s;
2611 }
2612
2613 /* Social share icon original color style */
2614 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-facebook {
2615 background-color: #0765FF;
2616 color: #fff;
2617 }
2618
2619 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-x {
2620 background-color: #000000;
2621 color: #fff;
2622 }
2623
2624 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-linkedin {
2625 background-color: #0B65C2;
2626 color: #fff;
2627 }
2628
2629 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-pinterest {
2630 background-color: #E60022;
2631 color: #fff;
2632 }
2633
2634 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-mail {
2635 background: #DA4A3E;
2636 color: #fff;
2637 }
2638
2639 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-instagram {
2640 background: radial-gradient(182.61% 44.3% at -16.75% 7.2%, #3771C8 0%, #3771C8 12.8%, rgba(102, 0, 255, 0.00) 100%), radial-gradient(92.18% 99.11% at 26.56% 107.7%, #FD5 0%, #FD5 10%, #FF543E 50%, #C837AB 100%);
2641 color: #fff;
2642 }
2643
2644 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-vkontakte {
2645 background-color: #0177FF;
2646 color: #fff;
2647 }
2648
2649 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-digg {
2650 background: #1B1A19;
2651 color: #fff;
2652 }
2653
2654 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-tumblr {
2655 background-color: #011935;
2656 color: #fff;
2657 }
2658
2659 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-reddit {
2660 background-color: #FD4500;
2661 color: #fff;
2662 }
2663
2664 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-whatsapp {
2665 background-color: #0BC144;
2666 color: #fff;
2667 }
2668
2669 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-pocket {
2670 background: #EF4155;
2671 color: #fff;
2672 }
2673
2674 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-xing {
2675 background: #0698a0;
2676 color: #fff;
2677 }
2678
2679 .sp-smart-post-social-share.original-css .sp-smart-post-social-share-icon .sp-icon-clone {
2680 background: #04A963;
2681 color: #fff;
2682 }
2683
2684 /* Social share icon original color if icon only style */
2685 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-facebook {
2686 background-color: transparent;
2687 color: #0765FF;
2688 }
2689
2690 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-x {
2691 background-color: transparent;
2692 color: #000000;
2693 }
2694
2695 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-linkedin {
2696 background-color: transparent;
2697 color: #0B65C2;
2698 }
2699
2700 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-pinterest {
2701 background-color: transparent;
2702 color: #E60022;
2703 }
2704
2705 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-mail {
2706 background-color: transparent;
2707 color: #DA4A3E;
2708 }
2709
2710 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-instagram {
2711 background: transparent;
2712 color: #e4405f;
2713 }
2714
2715 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-vkontakte {
2716 background-color: transparent;
2717 color: #0177FF;
2718 }
2719
2720 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-digg {
2721 background-color: transparent;
2722 color: #1B1A19;
2723 }
2724
2725 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-tumblr {
2726 background-color: transparent;
2727 color: #011935;
2728 }
2729
2730 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-reddit {
2731 background-color: transparent;
2732 color: #FD4500;
2733 }
2734
2735 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-whatsapp {
2736 background-color: transparent;
2737 color: #0BC144;
2738 }
2739
2740 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-pocket {
2741 background-color: transparent;
2742 color: #EF4155;
2743 }
2744
2745 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-xing {
2746 background-color: transparent;
2747 color: #0698a0;
2748 }
2749
2750 .sp-smart-post-social-share.original-css.icon-only .sp-smart-post-social-share-icon .sp-icon-clone {
2751 background-color: transparent;
2752 color: #04A963;
2753 }
2754
2755 .sp-smart-post-social-share .sp-smart-post-social-share-icon .sp-copy-url-area {
2756 position: relative;
2757 }
2758
2759 .sp-post-url-copy-popup {
2760 /* display: none; */
2761 position: absolute;
2762 top: -40px;
2763 background-color: rgba(0, 0, 0, 0.8);
2764 color: white;
2765 padding: 5px 10px;
2766 border-radius: 5px;
2767 font-size: 12px;
2768 font-weight: 600;
2769 width: 65px;
2770 }
2771
2772
2773
2774 // Custom Slider
2775 .sp-slider-wrapper {
2776 position: relative;
2777 width: 100%;
2778 height: 100%;
2779 margin: auto;
2780 overflow: hidden;
2781
2782 .sp-slider-track {
2783 width: 100%;
2784 height: 100%;
2785 position: relative;
2786 display: flex;
2787 flex-direction: row;
2788 }
2789
2790 .sp-slide {
2791 width: 100%;
2792 height: 100%;
2793 box-sizing: border-box;
2794 transform-origin: center center;
2795 min-width: 100%;
2796
2797 img:not(.sp-smart-post-meta-icon) {
2798 width: 100%;
2799 height: 100%;
2800 object-fit: cover;
2801 }
2802 }
2803 }
2804
2805 .sp-smart-image-gallery-nav-arrow {
2806
2807 .sp-prev,
2808 .sp-next {
2809 position: absolute;
2810 top: 50%;
2811 border-radius: 50%;
2812 transform: translateY(-50%);
2813 background: transparent;
2814 color: #fff;
2815 background: var(--smart-post-dark-text);
2816 border: none;
2817 padding: 10px;
2818 cursor: pointer;
2819 transition: all .3s;
2820 line-height: 1.2;
2821 font-style: normal;
2822 display: flex;
2823 min-height: 20px;
2824 min-height: 20px;
2825 z-index: 99;
2826
2827 &:hover {
2828 background: var(--smart-post-secondary);
2829 }
2830
2831 svg {
2832 height: 16px;
2833 width: 16px;
2834 }
2835 }
2836
2837 .sp-prev {
2838 left: 10px;
2839 transform: translateY(-50%) rotate(180deg);
2840 }
2841
2842 .sp-next {
2843 right: 10px;
2844 }
2845 }
2846
2847 .sp-smart-post-grid-one .sp-slider-wrapper {
2848 height: unset;
2849 }
2850
2851 .sp-smart-post-background-layout .sp-smart-post-card:has(.sp-slider-wrapper.sp-image-gallery-nav-on-hover),
2852 .sp-smart-post-card-image:has(.sp-slider-wrapper.sp-image-gallery-nav-on-hover) {
2853 .sp-smart-image-gallery-nav-arrow {
2854
2855 .sp-prev,
2856 .sp-next {
2857 opacity: 0;
2858 transition: all .3s ease-in-out;
2859 }
2860
2861 .sp-prev {
2862 left: 0px;
2863 }
2864
2865 .sp-next {
2866 right: 0px;
2867 }
2868 }
2869
2870 &:hover .sp-smart-image-gallery-nav-arrow {
2871
2872 .sp-prev,
2873 .sp-next {
2874 // visibility: visible !important;
2875 opacity: 1;
2876 }
2877
2878 .sp-prev {
2879 left: 10px;
2880 }
2881
2882 .sp-next {
2883 right: 10px;
2884 }
2885 }
2886 }
2887
2888 // Video play btn
2889 .sp-video-play-btn {
2890 position: absolute;
2891 top: 50%;
2892 left: 50%;
2893 transform: translate(-50%, -50%);
2894 width: 38px;
2895 height: 38px;
2896 border-radius: 50%;
2897 background: var(--smart-post-dark-text);
2898 color: #fff;
2899 font-size: 16px;
2900 display: flex;
2901 align-items: center;
2902 justify-content: center;
2903 cursor: pointer;
2904 transition: transform 0.3s ease, background 0.3s ease;
2905 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
2906 z-index: 99;
2907 }
2908
2909 .sp-video-play-btn:hover {
2910 background: var(--smart-post-secondary);
2911 }
2912
2913 .sp-smart-post-swiper.sp-relative {
2914 z-index: 0;
2915 }
2916 .editor-styles-wrapper .is-root-container .sp-smart-post-smart-lists-wrapper a,
2917 .editor-styles-wrapper .is-root-container .sp-smart-post-wrapper a {
2918 text-decoration: none;
2919 }
2920 .site-content .entry-content .wp-block-sp-smart-post-show-smart-post-parent a {
2921 text-decoration: none;
2922 }
2923 .wp-block-sp-smart-post-show-smart-post-parent {
2924 z-index: 2 !important; // Live filter more menu overlap with footer widget.
2925 }
2926 // .sp-video-play-btn {
2927 // display: none;
2928 // }
2929 .sp-show-video {
2930 .sp-video-play-btn {
2931 display: flex;
2932 }
2933 }
2934 .sp-smart-post-card-image {
2935 video {
2936 width: 100%;
2937 height: 100%;
2938 object-fit: cover;
2939 }
2940 }
2941 .sp-popup-position-left {
2942 left: 0;
2943 right: unset !important;
2944 }
2945 .sp-popup-position-right {
2946 left: unset !important;
2947 right: 0;
2948 }
2949 .sp-smart-post-author {
2950 img.sp-smart-post-meta-icon {
2951 border-radius: 50%;
2952 width: 14px;
2953 }
2954 }
2955 // Image overlay solid & gradient color transition
2956 .sp-smart-post-card .image-overlay.overlay-custom {
2957 transition: all 0.3s ease-in-out;
2958 }
2959 .sp-smart-post-card .image-overlay.overlay-custom:after {
2960 content: '';
2961 position: absolute;
2962 top: 0;
2963 left: 0;
2964 width: 100%;
2965 height: 100%;
2966 opacity: 0;
2967 transition: opacity 0.3s ease-in-out;
2968 }
2969 .sp-smart-post-card:hover .image-overlay.overlay-custom:after {
2970 opacity: 1;
2971 transition: opacity 0.3s ease-in-out;
2972 }