290
290
grid-row-gap : 30px ;
291
291
display : grid ;
292
292
grid-template-columns : repeat (12 ,1fr );
293
- }
293
+ }
294
+
295
+ // removes captcha image from flow.
296
+ .hs-recaptcha {
297
+ display : none ;
298
+ }
299
+
300
+ .newsletter {
301
+ line-height : 140% ;
302
+ margin-bottom : 80px ;
303
+
304
+ & __title {
305
+ line-height : 140% ;
306
+ font-size : 24px ;
307
+ @media (min-width : 1000px ) {
308
+ font-size : 40px ;
309
+ }
310
+ }
311
+
312
+ .legal-consent-container {
313
+ display : none ;
314
+ }
315
+
316
+ p .newsletter__privacy {
317
+ max-width : 860px ;
318
+ margin-top : 30px ;
319
+ line-height : 21px ;
320
+ font-size : 14px ;
321
+ color : #dfdfdf ;
322
+ a {
323
+ color : #dfdfdf ;
324
+ font-weight : 600 ;
325
+ & :hover {
326
+ color : #dfdfdf ;
327
+ font-weight : 600 ;
328
+ }
329
+ }
330
+ }
331
+
332
+ // form container.
333
+ .hbspt-form {
334
+ min-height : 300px ;
335
+ @media (min-width : 500px ) {
336
+ min-height : 100px ;
337
+ }
338
+ @media (min-width : 1000px ) {
339
+ min-height : 20px ;
340
+ }
341
+
342
+ // Displays if required field not filled.
343
+ .hs-error-msg {
344
+ display : block ;
345
+ margin-right : 8px ;
346
+ color : $orange ;
347
+ font-size : 14px ;
348
+ line-height : 1.1em ;
349
+ width : 95% ;
350
+ padding-top : 15px ;
351
+ }
352
+
353
+ // form inputs wrapper.
354
+ .hs-form {
355
+ display : grid ;
356
+ grid-template-columns : 1fr ;
357
+ grid-gap : 30px ;
358
+
359
+ @media (min-width : 500px ) {
360
+ grid-template-columns : minmax (0 , 1fr ) minmax (0 , 1fr );
361
+ }
362
+
363
+ @media (min-width : 700px ) {
364
+ grid-template-columns : repeat (3 , minmax (0 , 1fr ));
365
+ }
366
+
367
+ @media (min-width : 950px ) {
368
+ grid-template-columns : 1fr 1fr 1fr 1fr 1fr ;
369
+ grid-row-gap : 1.5rem ;
370
+ grid-column-gap : 1.5rem ;
371
+ }
372
+
373
+ input [type = ' text' ],
374
+ input [type = ' email' ] {
375
+ height : 50px ;
376
+ @media (min-width : 500px ) {
377
+ height : 42px ;
378
+ }
379
+ width : 100% ;
380
+ background : transparent ;
381
+ border : none ;
382
+ border-bottom : 2px solid $white ;
383
+ border-radius : 0 ;
384
+ transition : all 0.25s ease ;
385
+ color : $white ;
386
+ font-size : 16px ;
387
+ @media (min-width : 500px ) {
388
+ font-size : 20px ;
389
+ }
390
+ line-height : 105% ;
391
+ & ::placeholder {
392
+ color : $white ;
393
+ font-size : 16px ;
394
+ @media (min-width : 500px ) {
395
+ font-size : 20px ;
396
+ }
397
+ line-height : 105% ;
398
+ }
399
+ & :focus {
400
+ outline : 0 ;
401
+ border-bottom : 2px solid $orange ;
402
+ transition : color 0.25s ease ;
403
+ & ::placeholder {
404
+ transition : color 0.25s ease ;
405
+ color : transparent ;
406
+ }
407
+ }
408
+ }
409
+
410
+ // Controls autocomplete styles.
411
+ input ,
412
+ textarea ,
413
+ select {
414
+ & :-webkit-autofill ,
415
+ & :-webkit-autofill :hover ,
416
+ & :-webkit-autofill :focus {
417
+ -webkit-text-fill-color : $white ;
418
+ }
419
+ }
420
+
421
+ select {
422
+ appearance : none ;
423
+ background : transparent ;
424
+ border : 0px solid transparent ;
425
+ border-bottom : 2px solid $white ;
426
+ border-radius : 0 ;
427
+ box-shadow : 0 1px 0 1px rgba (0 , 0 , 0 , 0 );
428
+ display : block ;
429
+ height : 50px ;
430
+ @media (min-width : 500px ) {
431
+ height : 42px ;
432
+ }
433
+ margin : 0 ;
434
+ max-width : 100% ;
435
+ padding : 0.25em 0 calc (0.25em + 1px ) 5px ;
436
+ transition : all 0.25s ease ;
437
+ width : 100% ;
438
+ color : $white ;
439
+ font-size : 16px ;
440
+ @media (min-width : 500px ) {
441
+ font-size : 20px ;
442
+ }
443
+ line-height : 105% ;
444
+
445
+ & ::-ms-expand {
446
+ display : none ;
447
+ }
448
+
449
+ & :focus {
450
+ outline : 0 ;
451
+ border-bottom : 2px solid $orange ;
452
+ & ::placeholder {
453
+ transition : color 0.4s ease ;
454
+ color : transparent ;
455
+ }
456
+ }
457
+
458
+ option {
459
+ font-weight : normal ;
460
+ color : black ;
461
+ }
462
+ }
463
+
464
+ .hs-button {
465
+ border-radius : 5px ;
466
+ margin-top : 20px ;
467
+ border : none ;
468
+ background-color : $orange ;
469
+ color : $white ;
470
+ font-weight : 400 ;
471
+ padding : 11px 40px ;
472
+ font-size : 16px ;
473
+ font-weight : 700 ;
474
+ text-decoration : none ;
475
+ }
476
+
477
+ // underline errors.
478
+ .hs-input.invalid {
479
+ border-bottom : 2px dashed red !important ;
480
+ }
481
+
482
+ // hide general error message.
483
+ .hs_error_rollup {
484
+ display : none ;
485
+ }
486
+ }
487
+ }
488
+
489
+ // success message for newsletter footer only.
490
+ .submitted-message {
491
+ display : flex ;
492
+ align-content : center ;
493
+ align-items : center ;
494
+ justify-content : center ;
495
+ border : 2px solid $white ;
496
+ min-height : 280px ;
497
+ font-size : 18px ;
498
+ padding : 20px 20px 0 ;
499
+ line-height : 1.1em ;
500
+ @media (min-width : 500px ) {
501
+ min-height : 80px ;
502
+ }
503
+ @media (min-width : 1000px ) {
504
+ min-height : unset ;
505
+ }
506
+ }
507
+
508
+ .submitted-message p {
509
+ max-width : none ;
510
+ }
511
+ }
0 commit comments