/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 2 version
*/

.px-typo3-cookie-hint {
    position: fixed;
    bottom: 25px;
    right: 25px;
    max-width: 477px;
    left: auto;
    background-color: #f6f5f3;
    padding: 24px;
    border: none;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 99999991 !important;
    overflow: auto;
    max-height: 100vh;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    opacity: 0;
    left: -9999px;
    display: block;
    -webkit-box-shadow: 5px 0px 30px rgba(0, 0, 0, 0.15);
    box-shadow: 5px 0px 30px rgba(0, 0, 0, 0.15);
}

.px-typo3-cookie-hint[open] {
    opacity: 1;
    left: auto;
}

@media screen and (max-width: 580px) {
    .px-typo3-cookie-hint {
        right: 0;
        padding: 20px;
        bottom: 0;
        max-width: none;
    }
}

.px-typo3-cookie-hint-headline {
    font-size: 22px;
    line-height: 26px;
}

.px-typo3-cookie-hint-paragraph,
.px-typo3-cookie-hint-cookie-group-paragraph,
.px-typo3-cookie-hint-cookie-group-group-item-paragraph {
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    color: #1d273b;
}

.px-typo3-cookie-hint-cookie-group-paragraph a {
    text-decoration: underline;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    color: #1d273b;
}

.px-typo3-cookie-hint-cookie-group-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 16px;
}

.px-typo3-cookie-hint-cookie-group-inner-left,
.px-typo3-cookie-hint-cookie-group-inner-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.px-typo3-cookie-hint-cookie-group-toogle-name {
    margin-left: 20px;
    font-weight: bold;
}

.px-typo3-cookie-hint-cookie-group-button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-color: #f615b2;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    position: relative;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    margin-left: 8px;
}

.px-typo3-cookie-hint-cookie-group-button:hover {
    background-color: #7c29b5;
}

.px-typo3-cookie-hint-cookie-group-button path {
    fill: white;
}

.px-typo3-cookie-hint-cookie-group-button.toggled
    .px-typo3-cookie-hint-cookie-group-button-icon {
    -webkit-transform: translate(-50%, -50%) rotate(-90deg);
    transform: translate(-50%, -50%) rotate(-90deg);
}

.px-typo3-cookie-hint-cookie-group-button-icon {
    width: 12px;
    height: 12px;
    position: absolute;
    -webkit-transform: translate(-50%, -50%) rotate(90deg);
    transform: translate(-50%, -50%) rotate(90deg);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    left: 50%;
    top: 50%;
}

.px-typo3-cookie-hint-cookie-group-toogle {
    height: 0;
    width: 0 !important;
    visibility: hidden;
    opacity: 0;
}

.px-typo3-cookie-hint-cookie-group-toogle-label {
    cursor: pointer;
    text-indent: -9999px;
    width: 64px;
    height: 32px;
    background: #e8e6e1;
    display: block;
    border-radius: 32px;
    position: relative;

    -webkit-transition: background-color 0.3s;

    transition: background-color 0.3s;
    display: inline-block;

    margin-left: 0 !important;
    background-image: none !important;
    padding-left: 0 !important;
    line-height: initial !important;
}

.px-typo3-cookie-hint-cookie-group-toogle-label:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 24px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.px-typo3-cookie-hint-cookie-group-toogle:checked + label {
    background-color: #f12cb1;
}

.px-typo3-cookie-hint-cookie-group-toogle:checked + label:after {
    left: calc(100% - 5px);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.px-typo3-cookie-hint-cookie-group-level-2
    .px-typo3-cookie-hint-cookie-group-inner,
.px-typo3-cookie-hint-cookie-group-level-2
    .px-typo3-cookie-hint-cookie-group-level-3 {
    margin-left: 20px;
}

.px-typo3-cookie-hint-cookie-group-level-2,
.px-typo3-cookie-hint-cookie-group-level-3 {
    max-height: 0;
    -webkit-transition: max-height 0.5s;
    transition: max-height 0.5s;
    overflow: hidden;
}

.px-typo3-cookie-hint-cookie-group-level-2.open,
.px-typo3-cookie-hint-cookie-group-level-3.open {
    max-height: 1000px;
}

.px-typo3-cookie-hint-cookie-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-top: 5px;
}

.px-typo3-cookie-hint-cookie-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-top: 24px;
    font-weight: bold;
}

.px-typo3-cookie-hint-cookie-link {
    font-weight: bold;
}

.px-typo3-cookie-hint-cookie-button {
    letter-spacing: 1px;
    padding: 18px 24px;
}

/* .px-typo3-cookie-hint-cookie-button.confirm {
    -webkit-box-shadow: inset 0 0 0 4px #7c29b5;
    box-shadow: inset 0 0 0 4px #7c29b5;
    background-color: white;
    color: #7c29b5 !important;
}

.px-typo3-cookie-hint-cookie-button.confirm:hover {
    -webkit-box-shadow: inset 0 0 0 4px #7c29b5;
    box-shadow: inset 0 0 0 4px #7c29b5;
    background-color: #7c29b5 !important;
    color: white !important;
} */

@media screen and (max-width: 580px) {
    .px-typo3-cookie-hint-cookie-buttons {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }

    .px-typo3-cookie-hint-cookie-button {
        font-size: 14px;
        padding: 18px 16px;
        width: 100%;
        text-align: center;
    }

    .px-typo3-cookie-hint-cookie-button:not(:last-of-type) {
        margin-bottom: 16px;
    }
}

.px-typo3-cookie-hint-error {
    padding: 20px 0;
    display: block;
}
