| 1 |
.usk-featured-box .usk-featured-box-item { |
| 2 |
position: relative; |
| 3 |
overflow: hidden; } |
| 4 |
|
| 5 |
.usk-featured-box .usk-image-wrap { |
| 6 |
position: absolute; |
| 7 |
height: 100%; |
| 8 |
width: 100%; |
| 9 |
background-position: center; |
| 10 |
background-repeat: no-repeat; |
| 11 |
background-size: cover; |
| 12 |
transition: transform .3s ease-in-out; |
| 13 |
transform: scale(1); } |
| 14 |
|
| 15 |
.usk-featured-box-wrapper-link { |
| 16 |
position: absolute; |
| 17 |
width: 100%; |
| 18 |
height: 100%; |
| 19 |
top: 0; |
| 20 |
left: 0; |
| 21 |
z-index: 1; } |
| 22 |
|
| 23 |
.usk-featured-box:hover .usk-image-wrap { |
| 24 |
transform: scale(1.1); } |
| 25 |
|
| 26 |
.usk-featured-box .usk-content { |
| 27 |
position: absolute; |
| 28 |
padding: 40px; |
| 29 |
left: 0; |
| 30 |
right: 0; } |
| 31 |
|
| 32 |
.usk-featured-box.usk-fb-content-position-top .usk-content { |
| 33 |
top: 0; } |
| 34 |
|
| 35 |
.usk-featured-box.usk-fb-content-position-center .usk-content { |
| 36 |
top: 50%; |
| 37 |
transform: translateY(-50%); } |
| 38 |
|
| 39 |
.usk-featured-box.usk-fb-content-position-bottom .usk-content { |
| 40 |
bottom: 0; } |
| 41 |
|
| 42 |
.usk-featured-box .usk-meta { |
| 43 |
color: #2B2D42; |
| 44 |
font-size: 12px; |
| 45 |
font-weight: 500; |
| 46 |
text-decoration: none; |
| 47 |
text-transform: uppercase; |
| 48 |
transition: all .3s ease-in-out; } |
| 49 |
|
| 50 |
.usk-featured-box .usk-meta:hover, |
| 51 |
.usk-featured-box .usk-title a:hover { |
| 52 |
color: #D90429; } |
| 53 |
|
| 54 |
.usk-featured-box .usk-title { |
| 55 |
margin: 0 0 8px; |
| 56 |
font-size: 32px; |
| 57 |
font-weight: 700; |
| 58 |
text-transform: capitalize; } |
| 59 |
|
| 60 |
.usk-featured-box .usk-title a { |
| 61 |
color: #2B2D42; |
| 62 |
text-decoration: none; |
| 63 |
transition: all .3s ease-in-out; } |
| 64 |
|
| 65 |
.usk-featured-box .usk-text { |
| 66 |
font-size: 16px; |
| 67 |
color: #2B2D42; |
| 68 |
margin-bottom: 20px; } |
| 69 |
|
| 70 |
.usk-featured-box .usk-text p { |
| 71 |
margin: 0; } |
| 72 |
|
| 73 |
.usk-featured-box .usk-link-btn a { |
| 74 |
position: relative; |
| 75 |
overflow: hidden; |
| 76 |
padding: 10px 35px; |
| 77 |
border-radius: 40px; |
| 78 |
display: inline-block; |
| 79 |
color: #D90429; |
| 80 |
text-decoration: none; |
| 81 |
font-weight: 700; |
| 82 |
text-transform: capitalize; |
| 83 |
font-size: 12px; |
| 84 |
transition: all .3s ease-in-out; } |
| 85 |
|
| 86 |
.usk-featured-box .usk-link-btn a span { |
| 87 |
position: relative; |
| 88 |
z-index: 1; } |
| 89 |
|
| 90 |
.usk-featured-box .usk-link-btn a:hover { |
| 91 |
color: #fff; } |
| 92 |
|
| 93 |
.usk-featured-box .usk-link-btn a::before { |
| 94 |
position: absolute; |
| 95 |
content: ''; |
| 96 |
top: 0; |
| 97 |
left: 0; |
| 98 |
width: 0; |
| 99 |
height: 100%; |
| 100 |
background-color: #D90429; |
| 101 |
transition: all .3s ease-in-out; } |
| 102 |
|
| 103 |
.usk-featured-box .usk-link-btn a:hover::before { |
| 104 |
width: 100%; } |
| 105 |
|