#spec-cookies{
    z-index: 1000;
    position: absolute;
}

#spec-cookies .background{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.3);
    z-index: 0;
    top: 0;
    left: 0;
}

#spec-cookies.hide .background{
    display: none;
}

#spec-cookies .wrapper {
    transition: transform ease-out 0.9s, opacity ease-out 1.4s;
    opacity: 1;

    z-index: 1000;
    
    font-family:Tele-GroteskNor-Regular, Arial, Helvetica, sans-serif;
    font-size: 18px;
}

#spec-cookies.hide .wrapper {
    transform: translate(-50%, 100vh);
    transition: transform ease-out 0.9s, opacity ease-out 0.4s;
    opacity: 0;
    z-index: -1;
}
#spec-cookies h3 {
    margin: 0.1em 0 0.5em;
}

.spec-cookie-optin .wrapper {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);

    background: white;
    font-size: 16px;

    box-shadow: 0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);

    padding: 24px;
    max-width: 960px;
    width: 100%;
    box-sizing: border-box;
}

.spec-cookie-optin button {
    cursor: pointer;

    padding: 12px 24px;
    border-radius: 4px;

    color: white;
    text-align: center;
    font-size: 18px;

    font-family:Tele-GroteskNor-Regular, Arial, Helvetica, sans-serif;

    transition: all ease 0.3s;
}

.spec-cookie-optin button.primary {
    background: #e20074;
    border: 2px solid #e20074;
}
.spec-cookie-optin button.primary:hover {
    background: #d1006c;
    border-color: #d1006c;
}

.spec-cookie-optin button.secondary {
    background: transparent;
    border: 2px solid #383838;
    color: #383838;
}

.spec-cookie-optin button.secondary:hover {
    background: #d1006c;
    border-color: #d1006c;
    color:white;
}

.spec-cookie-optin a.link {
    color: white;
    margin: 12px 0;
}

.spec-cookie-optin .actions {
    width: 100%;
    margin: 0 auto;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.spec-cookie-optin .actions button:not(:first-child) {
    margin-left: 12px;
    margin-top: 0;
}

@media all and (max-width: 412px){
    .spec-cookie-optin .actions button:not(:first-child) {
        margin-left: 12px;
        margin-right: 12px;
        margin-top:12px;
    }  
}


.spec-cookie-optin .block-center {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.spec-cookie-optin .text-center {
    text-align: center;
}