style.css
404 lines
| 1 | @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;800&family=Roboto&display=swap'); |
| 2 | |
| 3 | #nri-slug-wrapper { |
| 4 | position: relative; |
| 5 | min-width: calc(100% - 80px); |
| 6 | } |
| 7 | |
| 8 | .nri-nice-review * { |
| 9 | font-family: 'Montserrat'; |
| 10 | box-sizing: border-box; |
| 11 | -moz-box-sizing: border-box; |
| 12 | -webkit-box-sizing: border-box; |
| 13 | } |
| 14 | |
| 15 | .nri-nice-review *:not(.nri-background-pattern) { |
| 16 | z-index: 1; |
| 17 | } |
| 18 | |
| 19 | .nri-nice-review.nri-CDP { |
| 20 | --accent-color: #6BB4A7; |
| 21 | --accent-color-hover: #5fa296; |
| 22 | } |
| 23 | |
| 24 | .nri-nice-review.nri-BM { |
| 25 | --accent-color: #0F9990; |
| 26 | --accent-color-hover: #0d877f; |
| 27 | } |
| 28 | |
| 29 | .nri-nice-review-wrapper { |
| 30 | width: calc(100% - 20px); |
| 31 | padding-right: 20px; |
| 32 | justify-content: center; |
| 33 | margin-top: 30px; |
| 34 | } |
| 35 | |
| 36 | .nri-nice-review-wrapper, |
| 37 | .nri-nice-review, |
| 38 | .nri-content, |
| 39 | .nri-options-section { |
| 40 | display: -webkit-inline-flex; |
| 41 | display: -ms-inline-flex; |
| 42 | display: inline-flex; |
| 43 | } |
| 44 | |
| 45 | .nri-nice-review { |
| 46 | background-color: #ffffff; |
| 47 | overflow: hidden; |
| 48 | position: relative; |
| 49 | padding: 25px; |
| 50 | max-width: 975px; |
| 51 | } |
| 52 | |
| 53 | .nri-nice-review .nri-background-pattern { |
| 54 | position: absolute; |
| 55 | top: 0; |
| 56 | right: 0; |
| 57 | } |
| 58 | |
| 59 | .nri-CDP .nri-BM-background { |
| 60 | display: none; |
| 61 | } |
| 62 | |
| 63 | .nri-nice-review .nri-BM-background { |
| 64 | position: absolute; |
| 65 | bottom: 0; |
| 66 | right: 0; |
| 67 | width: 300px; |
| 68 | } |
| 69 | |
| 70 | .nri-nice-review .nri-main-image-content { |
| 71 | position: relative; |
| 72 | } |
| 73 | |
| 74 | .nri-nice-review .nri-main-image-part-1, |
| 75 | .nri-nice-review .nri-main-image-part-2, |
| 76 | .nri-nice-review .nri-main-image-part-3, |
| 77 | .nri-nice-review .nri-main-image-part-4 { |
| 78 | position: absolute; |
| 79 | } |
| 80 | |
| 81 | .nri-nice-review .nri-main-image-part-1 { |
| 82 | top: 4px; |
| 83 | left: 20px; |
| 84 | } |
| 85 | |
| 86 | .nri-nice-review .nri-main-image-part-1 path, |
| 87 | .nri-nice-review .nri-main-image-part-3 path { |
| 88 | fill: var(--accent-color); |
| 89 | } |
| 90 | |
| 91 | .nri-nice-review .nri-main-image-part-2 { |
| 92 | top: -7px; |
| 93 | right: -4px; |
| 94 | } |
| 95 | |
| 96 | .nri-nice-review .nri-main-image-part-3 { |
| 97 | bottom: 24px; |
| 98 | right: 0px; |
| 99 | } |
| 100 | |
| 101 | .nri-nice-review .nri-main-image-part-4 { |
| 102 | bottom: 0px; |
| 103 | left: 6px; |
| 104 | } |
| 105 | |
| 106 | .nri-nice-review .nri-content { |
| 107 | -webkit-flex-direction: column; |
| 108 | -ms-flex-direction: column; |
| 109 | flex-direction: column; |
| 110 | } |
| 111 | |
| 112 | .nri-nice-review .nri-text p { |
| 113 | font-weight: 300; |
| 114 | color: #000000; |
| 115 | font-weight: 300; |
| 116 | font-size: 15px; |
| 117 | letter-spacing: -0.6px; |
| 118 | margin: 0; |
| 119 | } |
| 120 | |
| 121 | .nri-nice-review .nri-text p a { |
| 122 | font-weight: 700; |
| 123 | color: var(--accent-color); |
| 124 | text-decoration: none; |
| 125 | } |
| 126 | |
| 127 | .nri-nice-review .nri-text p a:hover { |
| 128 | color: var(--accent-color-hover); |
| 129 | } |
| 130 | |
| 131 | .nri-nice-review .nri-text p a:hover { |
| 132 | text-decoration: underline; |
| 133 | } |
| 134 | |
| 135 | .nri-nice-review .nri-text p b { |
| 136 | font-weight: 800; |
| 137 | } |
| 138 | |
| 139 | .nri-nice-review .nri-text p:first-child { |
| 140 | margin-top: 8px; |
| 141 | } |
| 142 | |
| 143 | .nri-nice-review .nri-text p:not(:first-child) { |
| 144 | margin-top: 10px; |
| 145 | } |
| 146 | |
| 147 | .nri-nice-review .nri-options-section { |
| 148 | max-width: 660px; |
| 149 | justify-content: space-between; |
| 150 | align-items: center; |
| 151 | } |
| 152 | |
| 153 | .nri-nice-review .nri-option-1 { |
| 154 | position: relative; |
| 155 | text-decoration: none; |
| 156 | } |
| 157 | |
| 158 | .nri-nice-review .nri-round-button, |
| 159 | .nri-nice-review .nri-option-1 svg text { |
| 160 | font-weight: 800; |
| 161 | font-size: 16px; |
| 162 | line-height: 16px; |
| 163 | color: #FFFFFF; |
| 164 | } |
| 165 | |
| 166 | .nri-nice-review .nri-round-button { |
| 167 | background: var(--accent-color); |
| 168 | border-radius: 100px; |
| 169 | border: 0; |
| 170 | outline: none; |
| 171 | cursor: pointer; |
| 172 | } |
| 173 | |
| 174 | .nri-nice-review .nri-option-1 svg path { |
| 175 | fill: var(--accent-color); |
| 176 | } |
| 177 | |
| 178 | .nri-nice-review .nri-option-1:hover .nri-round-button { |
| 179 | background: var(--accent-color-hover); |
| 180 | } |
| 181 | |
| 182 | .nri-nice-review .nri-option-1:hover svg path { |
| 183 | fill: var(--accent-color-hover); |
| 184 | } |
| 185 | |
| 186 | .nri-nice-review .nri-option-1:hover span { |
| 187 | color: var(--accent-color-hover); |
| 188 | } |
| 189 | |
| 190 | .nri-nice-review .nri-option-1 span { |
| 191 | font-weight: 500; |
| 192 | font-size: 12px; |
| 193 | line-height: 12px; |
| 194 | color: var(--accent-color); |
| 195 | position: absolute; |
| 196 | top: calc(100% + 5px); |
| 197 | left: 0; |
| 198 | width: 100%; |
| 199 | text-align: center; |
| 200 | cursor: pointer; |
| 201 | } |
| 202 | |
| 203 | .nri-nice-review .nri-option-2 button, |
| 204 | .nri-nice-review .nri-option-3 button, |
| 205 | .nri-nice-review .nri-option-4 button { |
| 206 | font-weight: 300; |
| 207 | font-size: 13px; |
| 208 | line-height: 13px; |
| 209 | color: #373737; |
| 210 | cursor: pointer; |
| 211 | outline: none; |
| 212 | } |
| 213 | |
| 214 | .nri-nice-review .nri-option-2 button:hover, |
| 215 | .nri-nice-review .nri-option-3 button:hover, |
| 216 | .nri-nice-review .nri-option-4 button:hover { |
| 217 | opacity: .8; |
| 218 | } |
| 219 | |
| 220 | @media (min-width: 1301px) { |
| 221 | .nri-nice-review .nri-background-pattern { |
| 222 | width: 85%; |
| 223 | } |
| 224 | |
| 225 | .nri-nice-review .nri-text { |
| 226 | padding-right: 20px; |
| 227 | } |
| 228 | |
| 229 | .nri-nice-review .nri-text p { |
| 230 | line-height: 20px; |
| 231 | } |
| 232 | |
| 233 | .nri-nice-review .nri-options-section { |
| 234 | margin-top: 17px; |
| 235 | } |
| 236 | |
| 237 | .visible-max-1300 { |
| 238 | display: none; |
| 239 | } |
| 240 | } |
| 241 | |
| 242 | @media (max-width: 1300px) { |
| 243 | .nri-nice-review { |
| 244 | padding-bottom: 40px; |
| 245 | } |
| 246 | |
| 247 | .nri-main-image-wrapper { |
| 248 | margin-top: 20px; |
| 249 | } |
| 250 | |
| 251 | .nri-nice-review .nri-text p { |
| 252 | line-height: 22px; |
| 253 | } |
| 254 | |
| 255 | .nri-nice-review .nri-options-section { |
| 256 | margin-top: 25px; |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | @media (min-width: 645px) and (max-width: 1300px) { |
| 261 | .nri-nice-review .nri-background-pattern { |
| 262 | max-width: 85%; |
| 263 | height: 100%; |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | @media (min-width: 1030px) and (max-width: 1300px), (min-width: 896px) and (max-width: 960px) { |
| 268 | .nri-nice-review .nri-text { |
| 269 | padding-right: 70px; |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | @media (min-width: 1030px), (min-width: 896px) and (max-width: 960px) { |
| 274 | .nri-nice-review { |
| 275 | border-radius: 20px; |
| 276 | } |
| 277 | |
| 278 | .nri-nice-review .nri-content { |
| 279 | margin-left: 30px; |
| 280 | } |
| 281 | |
| 282 | .nri-nice-review .nri-option-1 svg { |
| 283 | display: none; |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | @media (min-width: 961px) and (max-width: 1029px), (min-width: 645px) and (max-width: 895px) { |
| 288 | .nri-nice-review { |
| 289 | padding-bottom: 90px; |
| 290 | border-radius: 10px; |
| 291 | } |
| 292 | |
| 293 | .nri-nice-review .nri-content { |
| 294 | margin-left: 40px; |
| 295 | } |
| 296 | |
| 297 | .nri-nice-review .nri-leave-review-link, |
| 298 | .nri-nice-review .nri-option-1 { |
| 299 | display: -webkit-inline-flex; |
| 300 | display: -ms-inline-flex; |
| 301 | display: inline-flex; |
| 302 | } |
| 303 | |
| 304 | .nri-nice-review .nri-option-1 .nri-round-button { |
| 305 | display: none; |
| 306 | } |
| 307 | |
| 308 | .nri-nice-review .nri-option-2 { |
| 309 | margin-left: 15px; |
| 310 | } |
| 311 | |
| 312 | .nri-nice-review .nri-options-section { |
| 313 | position: absolute; |
| 314 | left: 0; |
| 315 | bottom: 35px; |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | @media (min-width: 701px) { |
| 320 | .nri-nice-review .nri-text p { |
| 321 | font-size: 15px; |
| 322 | } |
| 323 | } |
| 324 | |
| 325 | @media (max-width: 700px) { |
| 326 | .nri-nice-review .nri-text p { |
| 327 | font-size: 13px; |
| 328 | } |
| 329 | } |
| 330 | |
| 331 | @media (min-width: 645px) { |
| 332 | .nri-nice-review .nri-round-button { |
| 333 | padding: 7px 32px; |
| 334 | } |
| 335 | |
| 336 | .nri-nice-review .nri-option-3, |
| 337 | .nri-nice-review .nri-option-4 { |
| 338 | margin-left: 20px; |
| 339 | } |
| 340 | |
| 341 | .nri-nice-review .nri-option-2 button, |
| 342 | .nri-nice-review .nri-option-3 button, |
| 343 | .nri-nice-review .nri-option-4 button { |
| 344 | background-color: transparent; |
| 345 | border: 0; |
| 346 | padding: 0; |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | @media (max-width: 644px) { |
| 351 | .nri-nice-review, |
| 352 | .nri-nice-review .nri-options-section { |
| 353 | -webkit-flex-direction: column; |
| 354 | -ms-flex-direction: column; |
| 355 | flex-direction: column; |
| 356 | } |
| 357 | |
| 358 | .nri-nice-review .nri-background-pattern { |
| 359 | max-width: 660px; |
| 360 | height: 100%; |
| 361 | } |
| 362 | |
| 363 | .nri-nice-review .nri-main-image-wrapper { |
| 364 | display: -webkit-inline-flex; |
| 365 | display: -ms-inline-flex; |
| 366 | display: inline-flex; |
| 367 | justify-content: center; |
| 368 | } |
| 369 | |
| 370 | .nri-nice-review .nri-round-button { |
| 371 | padding: 7px 48px; |
| 372 | } |
| 373 | |
| 374 | .nri-nice-review .nri-option-2 { |
| 375 | margin-left: 0; |
| 376 | margin-top: 30px; |
| 377 | } |
| 378 | |
| 379 | .nri-nice-review .nri-option-3, |
| 380 | .nri-nice-review .nri-option-4 { |
| 381 | margin-top: 10px; |
| 382 | } |
| 383 | |
| 384 | .nri-nice-review .nri-option-2 button, |
| 385 | .nri-nice-review .nri-option-3 button, |
| 386 | .nri-nice-review .nri-option-4 button { |
| 387 | width: 220px; |
| 388 | padding: 7px; |
| 389 | border-radius: 100px; |
| 390 | background-color: rgba(250, 250, 250, .7); |
| 391 | border: 1px solid #eee; |
| 392 | } |
| 393 | |
| 394 | .nri-nice-review .nri-option-1 svg { |
| 395 | display: none; |
| 396 | } |
| 397 | } |
| 398 | |
| 399 | @media (max-width: 400px) { |
| 400 | .nri-nice-review .nri-background-pattern { |
| 401 | display: none; |
| 402 | } |
| 403 | } |
| 404 |