| 1 |
:root { |
| 2 |
--e-global-color-primary: #EAA638; |
| 3 |
} |
| 4 |
|
| 5 |
.eel-search-lightbox { |
| 6 |
position: fixed; |
| 7 |
display: flex; |
| 8 |
top: 0; left: 0; right: 0;; |
| 9 |
z-index: 999999; |
| 10 |
align-items: center; |
| 11 |
justify-content: center; |
| 12 |
opacity: 0; |
| 13 |
visibility: hidden; |
| 14 |
transition: opacity 0.3s ease, visibility 0.3s ease; |
| 15 |
pointer-events: none; |
| 16 |
} |
| 17 |
|
| 18 |
.eel-search-lightbox.eel-lightbox { |
| 19 |
visibility: visible; |
| 20 |
opacity: 1; |
| 21 |
pointer-events: auto; |
| 22 |
} |
| 23 |
|
| 24 |
.eel-search-content { |
| 25 |
border-radius: 0; |
| 26 |
position: relative; |
| 27 |
box-sizing: border-box; |
| 28 |
transform: translateY(-80px); |
| 29 |
opacity: 0; |
| 30 |
transition: transform 0.4s ease, opacity 0.4s ease; |
| 31 |
min-height: 450px; |
| 32 |
display: grid; |
| 33 |
place-content: center; |
| 34 |
transition-delay: 0.3s; |
| 35 |
z-index: 99; |
| 36 |
.eel-search-title{ |
| 37 |
text-align: center; |
| 38 |
margin: 0 0 50px; |
| 39 |
font-size: 30px; |
| 40 |
} |
| 41 |
.eel-search-field{ |
| 42 |
width: 100%; |
| 43 |
padding: 15px 40px 15px 0; |
| 44 |
border-radius: 8px 0 0 8px; |
| 45 |
border: none; |
| 46 |
margin-bottom: 0; |
| 47 |
min-width: 700px; |
| 48 |
outline: none; |
| 49 |
font-size: 18px; |
| 50 |
background: none; |
| 51 |
} |
| 52 |
.eel-search-submit{ |
| 53 |
border: none; |
| 54 |
background: none; |
| 55 |
border-radius: 0; |
| 56 |
position: absolute; |
| 57 |
cursor: pointer; |
| 58 |
right: 0; |
| 59 |
top: 15px; |
| 60 |
padding: 0; |
| 61 |
} |
| 62 |
.eel-search-form{ |
| 63 |
position: relative; |
| 64 |
border-bottom: 2px solid #0000001f; |
| 65 |
.eel-absl{ |
| 66 |
font-size: 25px; |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
.contact-box-description{ |
| 71 |
transition: all 0.5s ease 0s; |
| 72 |
} |
| 73 |
.eel-search-lightbox.eel-lightbox .eel-search-content { |
| 74 |
transform: translateY(0); |
| 75 |
opacity: 1; |
| 76 |
} |
| 77 |
|
| 78 |
.eel-search-close-btn { |
| 79 |
position: absolute; |
| 80 |
top: 20px; |
| 81 |
right: 25px; |
| 82 |
font-size: 25px; |
| 83 |
border-radius: 100%; |
| 84 |
border: none; |
| 85 |
cursor: pointer; |
| 86 |
color: #000; |
| 87 |
z-index: 1; |
| 88 |
padding: 0; |
| 89 |
display: grid; |
| 90 |
place-content: center; |
| 91 |
margin: 0 auto; |
| 92 |
svg{ |
| 93 |
height: 1em; |
| 94 |
fill: #000; |
| 95 |
} |
| 96 |
} |
| 97 |
|
| 98 |
body.logged-in .eel-search-close-btn{ |
| 99 |
top: 50px; |
| 100 |
} |
| 101 |
|
| 102 |
.eel-search-open-btn { |
| 103 |
cursor: pointer; |
| 104 |
padding: 0; |
| 105 |
font-size: 16px; |
| 106 |
display: inline-block; |
| 107 |
svg{ |
| 108 |
height: 1em; |
| 109 |
} |
| 110 |
} |
| 111 |
|
| 112 |
.eel-search-overlay { |
| 113 |
position: absolute; |
| 114 |
left: 0; |
| 115 |
right: 0; |
| 116 |
height: 0; |
| 117 |
cursor: pointer; |
| 118 |
background: #ffffff; |
| 119 |
transition: all .5s ease; |
| 120 |
z-index: 9; |
| 121 |
top: 0; |
| 122 |
box-shadow: 0 10px 20px #00000008; |
| 123 |
} |
| 124 |
|
| 125 |
.eel-lightbox .eel-search-overlay{ |
| 126 |
height: 100%; |
| 127 |
} |
| 128 |
|
| 129 |
// style 2 |
| 130 |
.eel-search-style-2 { |
| 131 |
.eel-search-form { |
| 132 |
position: relative; |
| 133 |
margin: 0; |
| 134 |
} |
| 135 |
.eel-search-field { |
| 136 |
height: 44px; |
| 137 |
border-radius: 100px; |
| 138 |
font-size: 14px; |
| 139 |
width: 240px; |
| 140 |
border: 1px solid rgb(97 94 252 / 40%); |
| 141 |
padding: 0 40px 0 15px; |
| 142 |
color: var(--e-global-color-text); |
| 143 |
outline: none; |
| 144 |
transition: all 0.4s ease-out 0s; |
| 145 |
&:focus { |
| 146 |
border-color: var(--e-global-color-primary); |
| 147 |
} |
| 148 |
} |
| 149 |
.eel-search-submit-btn { |
| 150 |
font-size: 22px; |
| 151 |
color: var(--e-global-color-primary); |
| 152 |
background: transparent; |
| 153 |
border: none; |
| 154 |
position: absolute; |
| 155 |
right: 15px; |
| 156 |
top: 50%; |
| 157 |
transform: translateY(-50%); |
| 158 |
min-width: max-content; |
| 159 |
padding: 0; |
| 160 |
svg { |
| 161 |
width: 18px; |
| 162 |
fill: var(--e-global-color-primary); |
| 163 |
} |
| 164 |
} |
| 165 |
} |
| 166 |
|
| 167 |
@media screen and (max-width: 991px) { |
| 168 |
.eel-search-content .eel-search-field { |
| 169 |
min-width: auto; |
| 170 |
} |
| 171 |
} |
| 172 |
|
| 173 |
@media screen and (max-width: 767px) { |
| 174 |
.eel-search-content { |
| 175 |
min-height: 370px; |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
@media screen and (max-width: 500px) { |
| 180 |
.eel-search-content{ |
| 181 |
max-width: 230px; |
| 182 |
} |
| 183 |
} |
| 184 |
|
| 185 |
|