PluginProbe
CookieAdmin – Cookie Consent Banner / 1.2.5
CookieAdmin – Cookie Consent Banner v1.2.5
1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.9 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8
cookieadmin / assets / css / consent.css

consent.css in CookieAdmin – Cookie Consent Banner 1.2.5, at assets/css/consent.css

910 lines 19.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 :root {
2 --cookieadmin-primary-color: #001d39;
3 --cookieadmin-primary-hover-color: #985e23;
4
5 --cookieadmin-secondary-color: #0046b2;
6 --cookieadmin-secondary-hover-color: #0065ff;
7
8 --cookieadmin-txcolor: #0f172a;
9
10 --cookieadmin-green-txtcolor: #3a8356;
11 --cookieadmin-warning-txtcolor: #9c7930;
12 --cookieadmin-red-txtcolor: #b55355;
13
14 --cookieadmin-green-color: #15a448;
15 --cookieadmin-warning-color: #e9b306;
16 --cookieadmin-red-color: #dd2727;
17 }
18
19 /* Typography baseline for the banner, modal and reconsent button. Everything inside
20 inherits from these roots instead of the theme's body (font, fluid size, line-height,
21 color, letter-spacing). Any explicit value here beats inheritance, whatever the theme's specificity. */
22 .cookieadmin_law_container,
23 .cookieadmin_cookie_modal,
24 .cookieadmin_reconsent_wrap{
25 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
26 font-size: 16px;
27 font-weight: 400;
28 font-style: normal;
29 line-height: 1.5;
30 letter-spacing: normal;
31 word-spacing: normal;
32 text-transform: none;
33 text-align: left;
34 color: #1f2937;
35 }
36
37 /* Consent page css */
38
39 .cookieadmin_cookie_modal label, .cookieadmin_cookie_modal input {
40 padding: 5px;
41 margin-right: 5px;
42 font-size: 15px;
43 }
44
45 .cookieadmin_cookie_modal label{
46 font-weight: 501;
47 }
48
49 .cookieadmin_bottom{
50 bottom:20px;
51 }
52
53 .cookieadmin_top{
54 top: 20px;
55 }
56
57 .cookieadmin_right{
58 right: 15px;
59 }
60
61 .cookieadmin_left{
62 left:15px;
63 }
64
65
66
67 /* Modal animations */
68 @keyframes cookieadmin_slideUp {
69 from {
70 transform: translateY(100%);
71 opacity: 0;
72 }
73 to {
74 transform: translateY(0);
75 opacity: 1;
76 }
77 }
78
79 @keyframes cookieadmin_slideSide {
80 from {
81 transform: translateX(-100%);
82 opacity: 0;
83 }
84 to {
85 transform: translateX(0);
86 opacity: 1;
87 }
88 }
89
90 /* Modal animations Ends */
91
92
93 /* Consent page css End*/
94
95
96 /* Website consent box */
97
98 .cookieadmin_law_container{
99 position: fixed;
100 width: 25%;
101 box-sizing: border-box;
102 z-index: 99999;
103 display: none;
104 }
105
106 .cookieadmin_law_container:focus{
107 outline: none;
108 }
109
110 .cookieadmin_consent_btns{
111 align-content: center;
112 display: flex;
113 justify-content: space-evenly;
114 flex-wrap: wrap;
115 gap: 8px;
116 }
117
118 /* Percentage widths below stay; the cap stops the box growing on very wide screens */
119 .cookieadmin_box{
120 /*position: fixed;*/
121 width: 25%;
122 max-width: 440px;
123 box-sizing: border-box;
124 display: none;
125 }
126
127 .cookieadmin_notice_group{
128 display: flex;
129 flex-direction: column;
130 gap: 10px; /* spacing between content and buttons */
131 align-items: flex-start;
132 }
133
134
135 .cookieadmin_consent_inside{
136 color: #1f2937;
137 background-color: #ffffff;
138 border: 1px solid #ffffff;
139 padding:15px;
140 border-radius: 4px;
141 box-shadow:1px 3px 10px rgba(0, 0, 0, 0.2);
142 }
143
144 /* Title and notice are <p>s: scoped by ID so theme paragraph sizes/margins don't apply.
145 No side padding, so text lines up with the buttons and links. */
146 .cookieadmin_law_container p#cookieadmin_notice_title{
147 margin: 0 0 6px;
148 padding: 0;
149 font-size: 16px;
150 font-weight: 700;
151 line-height: 1.4;
152 }
153
154 .cookieadmin_law_container p#cookieadmin_notice{
155 margin: 0;
156 padding: 0;
157 font-size: 14px;
158 line-height: 22px;
159 }
160
161 .cookieadmin_notice_con{
162 padding: 0;
163 flex: 1;
164 }
165
166 /* Box layout: space between the notice and the buttons (footer layout uses the group's gap) */
167 .cookieadmin_consent_inside > .cookieadmin_consent_btns{
168 margin-top: 12px;
169 }
170
171 .cookieadmin_cookie_modal{
172 display: none;
173 flex-direction: column;
174 position: fixed;
175 max-height: 80vh;
176 background-color: #FFFFFF;
177 border: 1px solid #F4F4F4;
178 border-radius: 8px;
179 box-shadow: 0 4px 8px rgba(0,0,0,0.2);
180 z-index: 999999;
181 }
182
183 .cookieadmin_center{
184 top: 10%;
185 left: 22%;
186 max-width: 60vw;
187 }
188
189 .cookieadmin_side{
190 flex-direction: column;
191 position: fixed;
192 width: 35vw;
193 bottom: 0px;
194 animation: 0.5s ease-out forwards cookieadmin_slideSide;
195 max-height: 100vh;
196 left: 0px;
197 top: 0px;
198 border-radius: 0px;
199 }
200
201 .cookieadmin_down{
202 position: fixed;
203 max-width: 100%;
204 max-height: 55vh;
205 bottom: 0px;
206 animation: 0.5s ease-out forwards cookieadmin_slideUp;
207 }
208
209 .cookieadmin_cookie_modal:focus{
210 outline: none;
211 }
212
213 .cookieadmin_modal_overlay{
214 display: none;
215 position: fixed;
216 top: 0;
217 left: 0;
218 width: 100%;
219 height: 100%;
220 background-color: rgba(0, 0, 0, 0.4);
221 z-index: 1000;
222 }
223
224 /* Centered, not baseline: the CSS-drawn close button has no text baseline */
225 .cookieadmin_mod_head{
226 display: flex;
227 justify-content: space-between;
228 align-items: center;
229 gap: 12px;
230 padding: 14px 20px;
231 border-bottom: 1px solid #CCCCCC;
232 }
233
234 /* Close icon drawn in CSS, font-size 0 hides any glyph left in filtered templates.
235 "all: unset" + (0,3,1) selector keeps theme button/hover styles out, same as the category buttons. */
236 .cookieadmin_cookie_modal .cookieadmin_mod_head button.cookieadmin_close_pref{
237 all: unset;
238 display: inline-block;
239 position: relative;
240 flex-shrink: 0;
241 width: 32px;
242 height: 32px;
243 border-radius: 4px;
244 color: #6b7280;
245 font-size: 0;
246 cursor: pointer;
247 transition: color .15s, background-color .15s;
248 }
249
250 .cookieadmin_cookie_modal .cookieadmin_mod_head button.cookieadmin_close_pref::before,
251 .cookieadmin_cookie_modal .cookieadmin_mod_head button.cookieadmin_close_pref::after{
252 content: "";
253 position: absolute;
254 top: 50%;
255 left: 50%;
256 width: 16px;
257 height: 2px;
258 background-color: currentColor;
259 border-radius: 1px;
260 transform: translate(-50%, -50%) rotate(45deg);
261 }
262
263 .cookieadmin_cookie_modal .cookieadmin_mod_head button.cookieadmin_close_pref::after{
264 transform: translate(-50%, -50%) rotate(-45deg);
265 }
266
267 .cookieadmin_cookie_modal .cookieadmin_mod_head button.cookieadmin_close_pref:hover{
268 color: #111827;
269 background-color: rgba(0, 0, 0, 0.06);
270 }
271
272 .cookieadmin_cookie_modal .cookieadmin_mod_head button.cookieadmin_close_pref:focus-visible{
273 outline: 2px solid var(--cookieadmin-secondary-color);
274 outline-offset: 2px;
275 }
276
277 .cookieadmin_preference_title{
278 margin: 0;
279 font-size: 20px;
280 font-weight: 700;
281 line-height: 1.3;
282 }
283
284 /* 5px + the wrapper's 15px lines the intro up with the title's 20px */
285 .cookieadmin_preference_details{
286 padding: 0px 5px;
287 }
288
289 /* break-word (not overflow:auto) so long URLs wrap instead of adding an inner scrollbar */
290 .cookieadmin_preference{
291 padding: 10px 0px;
292 font-size: 14px;
293 line-height: 28px;
294 overflow-wrap: break-word;
295 }
296
297 /* Admin-entered HTML: keep theme paragraph margins and link colors out */
298 .cookieadmin_cookie_modal .cookieadmin_preference p{
299 margin: 0 0 8px;
300 padding: 0;
301 font-size: inherit;
302 line-height: inherit;
303 }
304
305 .cookieadmin_cookie_modal .cookieadmin_preference p:last-child{
306 margin-bottom: 0;
307 }
308
309 .cookieadmin_cookie_modal .cookieadmin_preference a{
310 color: inherit;
311 text-decoration: underline;
312 }
313
314 .cookieadmin_details_wrapper{
315 padding: 0px 15px;
316 height: calc(100% - 6%);
317 overflow: auto;
318 scrollbar-width: thin;
319 }
320
321 .cookieadmin_types{
322 padding: 10px 10px;
323 border-top: 1px solid #CCCCCC;
324 }
325
326 .cookieadmin_header{
327 display: flex;
328 justify-content: space-between;
329 }
330
331
332 /* Clickable header text, e.g. Pro's "Override GPC" label */
333 .cookieadmin_header label[for]{
334 cursor: pointer;
335 }
336
337 /* Header labels get explicit displays scoped to .cookieadmin_header so theme rules
338 like "label { display: block }" can't push them onto their own line */
339 .cookieadmin_header label.stitle{
340 display: inline;
341 }
342
343 .cookieadmin_header .cookieadmin_remark{
344 display:none;
345 justify-self:right;
346 }
347
348 .cookieadmin_header .cookieadmin_act{
349 display: inline;
350 color: #1863dc;
351 }
352
353 /* Lines up with .cookieadmin_desc; the old 4rem right margin squeezed cards on phones */
354 .cookieadmin-modal-cookies-list{
355 display:none;
356 margin: 8px 20px 4px;
357 font-size: 14px;
358 text-align: left;
359 }
360
361 .cookieadmin-modal-cookies-list .cookieadmin-nocookie-cat{
362 display: block;
363 padding: 4px 0;
364 font-size: 13px;
365 font-weight: 600;
366 text-align: center;
367 opacity: 0.7;
368 }
369
370 .cookieadmin_desc{
371 padding:5px 20px;
372 font-size: 15px;
373 padding-right: 4rem;
374 }
375
376 .cookieadmin_footer{
377 left: 0px;
378 padding: 15px;
379 flex-wrap: wrap;
380 width: 100%;
381 }
382
383 /* Padding matches the header */
384 .cookieadmin_modal_footer{
385 display: flex;
386 padding: 14px 20px;
387 flex-wrap: wrap;
388 gap: 8px;
389 border-top: 1px solid #CCCCCC;
390 }
391
392 /* GPC block and links take their own row above/below the buttons */
393 .cookieadmin_modal_footer > :not(.cookieadmin_btn){
394 flex-basis: 100%;
395 }
396
397 /* Side panel is narrow: stack everything. nowrap matters, a wrapping column
398 overflows into extra columns beside the panel when height is limited. */
399 .cookieadmin_side .cookieadmin_modal_footer{
400 flex-direction: column;
401 flex-wrap: nowrap;
402 }
403
404 .cookieadmin_cookie_modal.cookieadmin_side .cookieadmin_modal_footer > *{
405 flex: none;
406 }
407
408 /* Scoped to the containers so common theme rules (e.g. ".elementor-kit-N button") don't win.
409 Colors stay admin-controlled via the inline styles set in consent.js. */
410 .cookieadmin_law_container button.cookieadmin_btn,
411 .cookieadmin_cookie_modal button.cookieadmin_btn{
412 display: inline-flex;
413 align-items: center;
414 justify-content: center;
415 flex: 1 1 0;
416 min-height: 40px;
417 margin: 0;
418 padding: 8px 16px;
419 background-color: transparent;
420 background-image: none;
421 border: 1px solid rgba(0, 0, 0, 0.2);
422 border-radius: 4px;
423 box-shadow: none;
424 color: #1863dc;
425 font-family: inherit;
426 font-size: 14px;
427 font-weight: 600;
428 line-height: 1;
429 letter-spacing: normal;
430 text-align: center;
431 text-decoration: none;
432 text-shadow: none;
433 text-transform: none;
434 text-wrap: auto;
435 cursor: pointer;
436 transition: filter .15s;
437 }
438
439 /* Footer buttons size to their labels so "Save My Preferences" doesn't wrap;
440 they still fill the row. The banner keeps equal widths. */
441 .cookieadmin_modal_footer button.cookieadmin_btn{
442 flex: 1 1 auto;
443 }
444
445 /* Banner box is narrow (25% of the screen at 1366px = ~338px): size buttons to their labels
446 with tighter padding so "Accept All" stays on one line; they still fill the row. */
447 .cookieadmin_consent_inside > .cookieadmin_consent_btns button.cookieadmin_btn{
448 flex: 1 1 auto;
449 padding-left: 12px;
450 padding-right: 12px;
451 }
452
453 .cookieadmin_law_container button.cookieadmin_btn:hover,
454 .cookieadmin_cookie_modal button.cookieadmin_btn:hover{
455 filter: brightness(0.92);
456 }
457
458 .cookieadmin_law_container button.cookieadmin_btn:focus-visible,
459 .cookieadmin_cookie_modal button.cookieadmin_btn:focus-visible{
460 outline: 2px solid var(--cookieadmin-secondary-color);
461 outline-offset: 2px;
462 }
463
464 /* Category name + chevron in one accordion button. "all: unset" drops theme button styles;
465 the selector (0,3,1) outranks state rules like ".elementor-kit-N button:hover".
466 Scoped to .cookieadmin_header: Pro reuses this class for a shortcode button. */
467 .cookieadmin_types .cookieadmin_header button.cookieadmin_show_pref_cookies{
468 all: unset;
469 display: inline-flex;
470 align-items: center;
471 gap: 8px;
472 padding: 5px 0;
473 color: inherit;
474 font: inherit;
475 font-size: 15px;
476 font-weight: 700;
477 line-height: 1.4;
478 cursor: pointer;
479 }
480
481 .cookieadmin_types .cookieadmin_header button.cookieadmin_show_pref_cookies::before{
482 content: "";
483 flex-shrink: 0;
484 width: 7px;
485 height: 7px;
486 border-right: 2px solid currentColor;
487 border-bottom: 2px solid currentColor;
488 transform: rotate(-45deg);
489 transition: transform .2s;
490 }
491
492 .cookieadmin_types .cookieadmin_header button.cookieadmin_show_pref_cookies.dwn::before{
493 transform: rotate(45deg);
494 }
495
496 /* all: unset removes the outline, so the focus ring is added back */
497 .cookieadmin_types .cookieadmin_header button.cookieadmin_show_pref_cookies:focus-visible{
498 outline: 2px solid var(--cookieadmin-secondary-color);
499 outline-offset: 2px;
500 border-radius: 2px;
501 }
502
503 /* Reconsent: all:unset drops theme button styles (min-height, hover/focus rules); the
504 wrapper selector (0,2,2) outranks ".elementor-kit-N button:hover". Plain selector kept
505 for templates filtered without the wrapper class. JS toggles display inline (none/block). */
506 button.cookieadmin_re_consent,
507 body .cookieadmin_reconsent_wrap button.cookieadmin_re_consent{
508 all: unset;
509 display: none;
510 position: fixed;
511 bottom: 15px;
512 left: 15px;
513 z-index: 99999;
514 box-sizing: border-box;
515 width: 50px;
516 height: 50px;
517 padding: 5px;
518 border-radius: 50%;
519 background-color: #374FD4;
520 box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
521 cursor: pointer;
522 transition: filter .15s;
523 }
524
525 button.cookieadmin_re_consent:hover,
526 body .cookieadmin_reconsent_wrap button.cookieadmin_re_consent:hover{
527 filter: brightness(0.92);
528 }
529
530 button.cookieadmin_re_consent:focus-visible,
531 body .cookieadmin_reconsent_wrap button.cookieadmin_re_consent:focus-visible{
532 outline: 2px solid var(--cookieadmin-secondary-color);
533 outline-offset: 3px;
534 }
535
536 /* Block + the button's 5px padding centres the 40px icon; theme img rules kept out */
537 .cookieadmin_re_consent img.cookieadmin_reconsent_img{
538 display: block;
539 width: 40px;
540 height: 40px;
541 max-width: none;
542 margin: 0;
543 padding: 0;
544 border: 0;
545 border-radius: 0;
546 box-shadow: none;
547 }
548
549 /* Flat card: theme font, 4px corners like the buttons. Muted text uses opacity so it
550 works on any admin-chosen modal background. */
551 .cookieadmin-cookie-card {
552 margin: 0 0 8px;
553 padding: 12px 14px;
554 border: 1px solid rgb(187 187 187 / 12%);
555 border-radius: 4px;
556 text-align: left;
557 }
558
559 .cookieadmin-cookie-header {
560 display: flex;
561 flex-wrap: wrap;
562 justify-content: space-between;
563 gap: 2px 12px;
564 font-size: 14px;
565 }
566
567 .cookieadmin-cookie-name {
568 font-weight: 600;
569 word-break: break-word;
570 overflow-wrap: anywhere;
571 }
572
573 .cookieadmin-cookie-duration {
574 font-size: 13px;
575 opacity: 0.75;
576 }
577
578 .cookieadmin-cookie-duration > b {
579 font-weight: 600;
580 }
581
582 /* Scoped so theme paragraph margins/sizes don't apply */
583 .cookieadmin-cookie-card p.cookieadmin-cookie-description {
584 margin: 6px 0 0;
585 padding: 0;
586 font-size: 13px;
587 line-height: 1.5;
588 }
589
590 .cookieadmin-cookie-tags {
591 display: flex;
592 gap: 8px;
593 margin-top: 8px;
594 }
595
596 .cookieadmin-tag {
597 background: rgba(0, 0, 0, 0.06);
598 padding: 2px 8px;
599 border-radius: 4px;
600 font-size: 12px;
601 }
602
603 /* Pro DPDP contact box. Keyed on the ID (not a new class) so it also restyles
604 older Pro versions that still output the shared .cookieadmin-cookie-card class. */
605 #cookieadmin_dpdp_contact {
606 margin: 4px 0 12px;
607 padding: 12px 14px;
608 background: rgba(0, 0, 0, 0.04);
609 border: 1px solid rgba(0, 0, 0, 0.08);
610 border-radius: 4px;
611 box-shadow: none;
612 font-family: inherit;
613 font-size: 14px;
614 line-height: 1.5;
615 text-align: left;
616 }
617
618 #cookieadmin_dpdp_contact a {
619 color: inherit;
620 text-decoration: underline;
621 }
622
623 /* "Exercise your rights" link, the card's main action */
624 #cookieadmin_dpdp_contact > a {
625 display: inline-block;
626 margin-top: 6px;
627 font-weight: 600;
628 }
629
630 /* Website consent box End*/
631
632
633
634
635
636 /* Checkbox switch Start */
637
638 /* Box matches the 34x21 slider; the modal's generic label/input padding is cancelled
639 so the switch no longer overflows its box */
640 .cookieadmin_toggle,
641 .cookieadmin_cookie_modal .cookieadmin_toggle {
642 position: relative;
643 display: inline-block;
644 flex-shrink: 0;
645 width: 34px;
646 height: 21px;
647 margin: 0;
648 padding: 0;
649 }
650
651 /* Hide the checkbox input */
652 .cookieadmin_toggle input,
653 .cookieadmin_cookie_modal .cookieadmin_toggle input{
654 /* display: none; */
655 position: absolute;
656 opacity: 0;
657 width: 0;
658 height: 0;
659 margin: 0;
660 padding: 0;
661 }
662
663 /* Keyboard accessibility: When the checkbox is focused, add a visible outline to indicate focus. */
664 .cookieadmin_show_pref_cookies:focus-visible{
665 outline: 1px solid #000;
666 }
667 .cookieadmin_toggle input:focus + .cookieadmin_slider {
668 outline: 1px solid #000;
669 }
670 /* end keyboard accessibility */
671
672 /* Describe slider's look and position. */
673 .cookieadmin_slider {
674 position: absolute;
675 cursor: pointer;
676 top: 0;
677 left: 0;
678 right: 0;
679 bottom: 0;
680 height: 21px;
681 width: 34px;
682 background-color: gray;
683 transition: .4s;
684 border-radius: 34px;
685 }
686
687 /* Describe the white ball's location
688 and appearance in the slider. */
689 .cookieadmin_slider:before {
690 position: absolute;
691 content: "";
692 height: 15px;
693 width: 15px;
694 left: 3.2px;
695 bottom: 3.2px;
696 background-color: white;
697 transition: .2s;
698 border-radius: 50%;
699 }
700
701 /* Modify the slider's background color to
702 green once the checkbox has been selected. */
703 input:checked+.cookieadmin_slider {
704 background-color: #3582c4;
705 }
706
707 /* When the checkbox is checked, shift the
708 white ball towards the right within the slider. */
709 input:checked+.cookieadmin_slider:before {
710 transform: translateX(13px);
711 }
712
713 /* Checkbox switch End */
714
715 .cookieadmin_law_container .cookieadmin-poweredby{
716 margin-top: 10px;
717 }
718
719 .cookieadmin_modal_footer_links .cookieadmin-poweredby{
720 margin-left: auto;
721 }
722
723 .cookieadmin-poweredby a img{
724 height: 15px;
725 }
726
727 .cookieadmin-poweredby a{
728 color : unset;
729 cursor: pointer;
730 display: flex;
731 justify-content: center;
732 align-items: center;
733 font-size: 11px;
734 gap: 2px;
735 text-decoration: none;
736 }
737
738 .cookieadmin_modal_footer .cookieadmin-poweredby a{
739 justify-content: end;
740 }
741
742 #cookieadmin-gpc-toast{
743 display:flex;
744 visibility: hidden;
745 position: fixed;
746 bottom: 24px;
747 right: 24px;
748 color: #ffffff;
749 padding: 10px 14px;
750 border-radius: 6px;
751 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
752 align-items: center;
753 justify-content: space-between;
754 gap: 10px;
755 font-size: 14px;
756 z-index: 99999;
757 opacity: 0;
758 transform: translateY(20px);
759 transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
760 line-height:1.5;
761 }
762
763 #cookieadmin_gpc_override{
764 padding-bottom:10px;
765 }
766
767 /* Policy Links */
768 .cookieadmin_policy_link_box{
769 display: flex;
770 justify-content: space-around;
771 gap: 4px 16px;
772 margin-top: 8px;
773 font-size: 13px;
774 flex-wrap: wrap;
775 }
776
777 /* Same treatment as the modal links, so theme link colors don't apply */
778 .cookieadmin_law_container .cookieadmin_policy_link_box a{
779 color: inherit;
780 text-decoration: underline;
781 }
782
783 .cookieadmin_modal_policy_link_box{
784 display: flex;
785 gap: 4px 16px;
786 font-size: 13px;
787 flex-wrap: wrap;
788 }
789
790 /* Same treatment as the intro and DPDP links, so theme link colors don't apply */
791 .cookieadmin_cookie_modal .cookieadmin_modal_policy_link_box a{
792 color: inherit;
793 text-decoration: underline;
794 }
795
796 /* Footer gap handles spacing; the old 9px side margins pushed links out of line with the buttons */
797 .cookieadmin_modal_footer_links{
798 display:flex;
799 flex-wrap: wrap;
800 align-items: center;
801 justify-content:space-between;
802 gap: 8px 16px;
803 margin-top: 4px;
804 }
805
806 /* Hidden when there are no policy links and "Powered by" is off (Pro) */
807 .cookieadmin_modal_footer_links:not(:has(*)){
808 display: none;
809 }
810
811 /* CSS for phones only */
812 @media (max-width: 767px) {
813
814 .cookieadmin_center{
815 top: 10%;
816 left: 5%;
817 max-width: 90vw;
818 }
819
820 .cookieadmin_show_pref_cookies{
821 font-size: 14px;
822 }
823
824 /* Even 16px on both sides; the footer bar keeps its 100% width */
825 .cookieadmin_box{
826 left: 16px;
827 right: 16px;
828 width: auto;
829 max-width: none;
830 }
831
832 .cookieadmin_side{
833 width: 100%;
834 }
835 }
836
837 /* CSS for tablet */
838 @media (min-width: 768px) and (max-width: 991px) {
839
840 .cookieadmin_box{
841 width: 45%;
842 }
843 }
844
845 /* CSS for small laptop */
846 @media (min-width: 992px) and (max-width: 1199px) {
847
848 .cookieadmin_box{
849 width: 35%;
850 }
851
852 }
853 /* CSS for HD TV screens */
854 @media (min-width: 1200px) and (max-width: 1360px) {
855
856 .cookieadmin_box{
857 width: 30%;
858 }
859 }
860
861 /* Desktop Layout */
862 @media (min-width: 768px) {
863 .cookieadmin_notice_group {
864 flex-direction: row;
865 justify-content: space-between;
866 align-items: center;
867 }
868
869 .cookieadmin_notice_con {
870 flex: 1; /* take remaining space */
871 }
872
873 .cookieadmin_consent_btns {
874 flex-shrink: 0;
875 }
876
877 /* Footer layout: the button group sizes to its content, so equal-width (flex-basis 0)
878 buttons would shrink and wrap their labels. Size them to their labels instead. */
879 .cookieadmin_footer .cookieadmin_consent_btns button.cookieadmin_btn{
880 flex: 0 0 auto;
881 }
882 }
883
884 @media (max-width:480px){
885 .cookieadmin_preference_title{
886 font-size: 18px;
887 }
888
889 /* 28px leaves no room for the categories on phones */
890 .cookieadmin_preference{
891 line-height: 22px;
892 }
893
894 .cookieadmin_law_container button.cookieadmin_btn,
895 .cookieadmin_cookie_modal button.cookieadmin_btn,
896 .cookieadmin_consent_inside > .cookieadmin_consent_btns button.cookieadmin_btn{
897 flex-basis: 100%;
898 }
899
900 .cookieadmin_modal_footer{
901 padding: 12px 16px;
902 }
903 }
904
905 @media (prefers-reduced-motion: reduce){
906 .cookieadmin_law_container *, .cookieadmin_cookie_modal *{
907 transition: none !important;
908 }
909 }
910