 /*******************************************************************************************************

      ██████╗ ██████╗  ██████╗ ██╗  ██╗██╗███████╗    ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
     ██╔════╝██╔═══██╗██╔═══██╗██║ ██╔╝██║██╔════╝    ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
     ██║     ██║   ██║██║   ██║█████╔╝ ██║█████╗      ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
     ██║     ██║   ██║██║   ██║██╔═██╗ ██║██╔══╝      ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
     ╚██████╗╚██████╔╝╚██████╔╝██║  ██╗██║███████╗    ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
      ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚═╝╚══════╝    ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝

  *******************************************************************************************************/



    /* Re-style the cookie notice from scratch. */

    #cookie-notice {
        background: var(--color-white) !important;
        border-top: 1px solid var(--color-text) !important;
        color: var(--color-text) !important;
        font-size: unset;
        z-index: 9000;
        line-height: 1.7;
    }

    .small #cookie-notice {
        padding: calc(0.5*var(--text-rhythm)) calc(1.5*var(--grid-gutter)) !important;
    }

    .tablet #cookie-notice {
        padding: calc(0.75*var(--text-rhythm)) !important;
    }

    .cookie-notice-hidden {
        display: none;
    }

        .cookie-notice-container {
            padding: 0 !important;
            margin: auto;
            text-align: left;
        }

        #cn-notice-text {
            display: block;
            margin-bottom: calc(0.25*var(--text-rhythm));
            color: var(--color-black);
        }

            .small #cn-notice-text h3 {
                margin-bottom: 0;
            }

            .tablet #cn-notice-text h3 {
                margin-bottom: calc(0.25*var(--text-rhythm));
            }

                #cn-notice-text h3::before {
                    font-family: var(--font-icons);
                    font-size: 150%;
                    vertical-align: middle;
                    content: '\e845';
                    margin-right: 0.25em;
                }

            #cn-accept-cookie {
                float: right;
            }

            .small #cn-accept-cookie {
                padding: 0 1.5em;
            }

            .tablet #cn-accept-cookie {
                padding: 0 3em;
            }

            #cn-more-info {
                background: none !important;
                border-radius: 0 !important;
                border: none !important;
                color: var(--color-text) !important;
                box-shadow: none !important;
                padding: 0 !important;
                margin: 0 0.5em 0 0 !important;
                font-size: 85%;
                line-height: calc(3em*1/0.85);
                float: right;
            }

            #cn-more-info:hover {
                /* text-decoration: underline; */
                border-bottom: 1px dashed currentcolor !important;
            }


    /* Use top-placed cookie notice for bottom right placement. */

    #cookie-notice.cn-position-top {
        border: 8px solid var(--color-gray-light-x) !important;
        min-width: auto;
        border-radius: 5px;
    }

    .small #cookie-notice.cn-position-top {
        bottom: 1.5rem;
        right: 1.5rem;
        top: auto;
        left: 1.5rem;
        width: auto;
    }

    .laptop #cookie-notice.cn-position-top {
        bottom: 3rem;
        right: 3rem;
        top: auto;
        left: auto;
    }

    .laptop #cookie-notice.cn-position-top {
        width: 480px;
    }

    .desktop #cookie-notice.cn-position-top {
        /* width: 40vw; */
    }

    .large #cookie-notice.cn-position-top {
        /* width: 30vw; */
    }

        #cookie-notice.cn-position-top h3 {
            font-size: calc(0.25rem + var(--base-font-size) * var(--font-scale) * var(--font-scale));
        }
        
            #cn-notice-text h3::before {
                font-size: 125%;
            }

        .small #cn-accept-cookie {
            padding: 0 1em;
            margin: 0;
        }

        .tablet #cn-accept-cookie {
            padding: 0 1.5em;
        }
