/**
 * Cookies
 */

.aloy-cookie-modal-v2,
.aloy-cookie-v2 {
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    position: fixed;
    width: calc(100% - 40px);
}

    .aloy-cookie-modal-v2 *,
    .aloy-cookie-v2 * {
        box-sizing: inherit;
    }

    /* header */

    .aloy-cookie-modal-v2-header,
    .aloy-cookie-v2-header {
        background-color: #fff;
        float: left;
        padding: 20px 30px 10px 30px;
        position: relative;
        width: 100%;
    }

        .aloy-cookie-modal-v2-header,
        .aloy-cookie-v2-header span {
            color: #561f7b;
            font-size: 18px;
            font-weight: 700;
            line-height: 22px;
        }

/* notification */

.aloy-cookie-v2 {
    bottom: 20px;
    left: 20px;
    max-width: 500px;
    z-index: 10000;
}

    /* content */

    .aloy-cookie-v2-content {
        background-color: #fff;
        border-top: 0;
        color: #561f7b;
        float: left;
        font-size: 14px;
        line-height: 22px;
        padding: 0 30px 20px 30px;
        width: 100%;
    }

        .aloy-cookie-v2-content p {
            color: inherit;
            margin-bottom: 22px;
        }

        .aloy-cookie-v2-content p a {
            color: #561f7b;
            text-decoration: underline;
        }

    /* cta */

    .aloy-cookie-v2-cta {
        background-color: #45663c;
        color: #fff;
        float: left;
        font-weight: 700;
        height: 40px;
        line-height: 40px;
        margin-right: 10px;
        min-width: 110px;
        padding: 0 12px;
        text-align: center;
        text-decoration: none;
        transition: all 0.25s ease-out;
    }

    @media(min-width: 640px) {
        .aloy-cookie-v2-cta {
            float: right;
        }
    }

        .aloy-cookie-v2-cta:hover {
            background-color: #444;
        }
        
        .aloy-cookie-v2-content-cta-save:before,
        .aloy-cookie-v2-cta:before {
            background-color: #fff;
            border-radius: 100%;
            color: #45663c;
            content: "\2713";
            float: left;
            font-family: 'Helvetica', sans-serif;
            font-size: 14px;
            height: 20px;
            line-height: 20px;
            margin-right: 10px;
            margin-top: 10px;
            width: 20px;
        }

            .aloy-cookie-v2-content-cta-save:hover:before,
            .aloy-cookie-v2-cta:hover:before {
                color: #444;
            }

    .aloy-cookie-v2-cta-preferences {
        background-color: #fff;
        color: #561f7b;
        font-weight: 400;
        min-width: initial;
        text-decoration: underline;
    }

        .aloy-cookie-v2-cta-preferences:before {
            display: none;
        }

        .aloy-cookie-v2-cta-preferences:hover {
            background-color: #fff;
            color: #561f7b;
            text-decoration: underline;
        }

/* modal */

.aloy-cookie-modal-v2 {
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 100000;
    max-width: 780px;
}

    .aloy-cookie-modal-v2-content {
        background-color: #fff;
        color: #561f7b;
        float: left;
        font-size: 14px;
        line-height: 22px;
        max-height: 70vh;
        overflow-x: hidden;
        overflow: hidden;
        overflow-y: scroll;
        padding: 20px 30px;
        width: 100%;
    }

        .aloy-cookie-v2-content-section,
        .aloy-cookie-modal-v2-content-intro {
            float: left;
            width: 100%;
        }

        .aloy-cookie-v2-content-section {
            margin-bottom: 20px;
        }

        .aloy-cookie-v2-content-section a {
            color: #561f7b;
            text-decoration: underline;
        }
        
        .aloy-cookie-modal-v2-content-intro h2,
        .aloy-cookie-v2-content-section h2,
        .aloy-cookie-modal-v2-content-intro h3,
        .aloy-cookie-v2-content-section h3 {
            margin-bottom: 5px;
        }

        .aloy-cookie-modal-v2-content-intro h2,
        .aloy-cookie-v2-content-section h2 {
            font-size: 20px;
            line-height: 28px;
        }

        .aloy-cookie-modal-v2-content-intro h3,
        .aloy-cookie-v2-content-section h3 {
            font-size: 18px;
            line-height: 26px;
        }

        .aloy-cookie-modal-v2-close {
            background-color: rgba(0, 0, 0, 0.25);
            border-radius: 100%;
            color: #fff;
            font-size: 22px;
            height: 22px;
            line-height: 22px;
            position: absolute;
            right: 15px;
            text-align: center;
            text-decoration: none;
            top: 15px;
            transition: all 0.25s ease-in;
            width: 22px;
        }

        .aloy-cookie-modal-v2-close:hover {
            background-color: #81599c;
            color: #fff;
        }

        .aloy-cookie-v2-content-section-intro {
            float: left;
            margin-top: 20px;
            margin-bottom: 20px;
            width: 100%;
        }

        .aloy-cookie-v2-content-row {
            float: left;
            margin: 0;
            width: 100%;
        }

            @media(min-width: 1024px) {
                .aloy-cookie-v2-content-row-50 {
                    padding-right: 40px;
                    width: 50%;
                }    
            }

            .aloy-cookie-v2-content-row-left {
                float: left;
                margin: 0 0 10px 0;
                width: calc(100% - 100px);
            }

                .aloy-cookie-v2-content-row-left span {
                    font-weight: 700;
                    font-size: 16px;
                    line-height: 24px;
                }

            .aloy-cookie-v2-content-row-right {
                float: left;
                margin: 0 0 10px 0;
                width: 100px;
            }

            .aloy-cookie-v2-toggle {
                background-color: #444;
                border-radius: 50px;
                cursor: pointer;
                float: right;
                height: 24px;
                margin: 20px 0 0;
                position: relative;
                transition: all 0.25s ease-in;
                width: 50px;
            }

                .aloy-cookie-v2-toggle-small {
                    margin: 0;
                    transform: scale(0.8);
                }

                .aloy-cookie-v2-toggle-disabled {
                    cursor: not-allowed;
                    opacity: 0.5;
                }

                .aloy-cookie-v2-toggle div {
                    border-radius: 100%;
                    height: 16px;
                    position: absolute;
                    width: 16px;
                }

                .aloy-cookie-v2-toggle div:after {
                    color: #fff;
                    content: '';
                    font-family: 'Helvetica', sans-serif;
                    font-weight: 700;
                    left: 50%;
                    position: absolute;
                    top: 50%;
                    transform: translateX(-50%) translateY(-50%);
                }

                    .aloy-cookie-v2-toggle-true div {
                        background-color: #7ec400;
                        left: 30px;
                        top: 4px;
                        transition: all 0.25s ease-in;
                    }

                        .aloy-cookie-v2-toggle-true div:after {
                            font-size: 12px;
                        }

                    .aloy-cookie-v2-toggle-false div {
                        background-color: #c34a4a;
                        left: 4px;
                        top: 4px;
                        transition: all 0.25s ease-in;
                    }

                        .aloy-cookie-v2-toggle-false div:after {
                            font-size: 14px;
                            margin-top: -1px;
                            margin-left: -1px;
                        }

                    .aloy-cookie-v2-toggle-disabled div {
                        background-color: #ccc;
                    }
        
        .aloy-cookie-v2-content-cta {
            background-color: #81599c;
            color: #fff;
            float: left;
            font-weight: 700;
            height: 40px;
            line-height: 40px;
            margin-right: 10px;
            min-width: 110px;
            padding: 0 12px;
            text-align: center;
            text-decoration: none;
            transition: all 0.25s ease-out;
        }

            .aloy-cookie-v2-content-cta-save {
                background-color: #45663c;
                float: right;
                margin-right: 0;
                text-align: center;
            }

                .aloy-cookie-v2-content-cta-save:hover {
                    background-color: #444;
                }

/* cookie content */

.aloy-cookie-v2-wrapper-text {
    background-color: #d6e8d0;
    box-sizing: border-box;
    color: #45663c;
    float: left;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 15px;
    padding: 10px 20px;
    width: 100%;
}

.aloy-cookie-v2-wrapper-text a {
    border: 0 !important;
    color: #45663c;
    text-decoration: underline;
}

.aloy-cookie-v2-wrapper-wrap {
    display: none;
}


.cookie-socialmedia-true .aloy-cookie-v2-wrapper-socialmedia .aloy-cookie-v2-wrapper-text,
.cookie-googlemaps-true .aloy-cookie-v2-wrapper-cookie-googlemaps .aloy-cookie-v2-wrapper-text,
.cookie-youtube-true .aloy-cookie-v2-wrapper-cookie-youtube .aloy-cookie-v2-wrapper-text,
.cookie-vimeo-true .aloy-cookie-v2-wrapper-cookie-vimeo .aloy-cookie-v2-wrapper-text {
    display: none;
}

.cookie-googlemaps-true .aloy-cookie-v2-wrapper-cookie-googlemaps .aloy-cookie-v2-wrapper-wrap,
.cookie-socialmedia-true .aloy-cookie-v2-wrapper-socialmedia .aloy-cookie-v2-wrapper-wrap,
.cookie-youtube-true .aloy-cookie-v2-wrapper-youtube .aloy-cookie-v2-wrapper-wrap,
.cookie-vimeo-true .aloy-cookie-v2-wrapper-vimeo .aloy-cookie-v2-wrapper-wrap {
    display: block;
}
