#ub24-cookie-container {
    z-index: 999;
    position: fixed;
}

#ub24-cookie-overlay {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
    transition: transform 0s, opacity 0.4s, -webkit-transform 0s;
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform, opacity;
    transform: translate3d(0px, 0%, 0px);
    opacity: 1;
}

#ub24-cookie-module {
    position: fixed;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.4em;
    -webkit-font-smoothing: antialiased;
    z-index: 2;
    transition: transform 0.6s, -webkit-transform 0.6s;
    backface-visibility: hidden;
    perspective: 1000px;

}

#ub24-cookie-module.right {
    top: 0px;
    bottom: 0px;
    max-width: 480px;
    left: 100%;
    will-change: transform;
    transform: translate3d(-100%, 0px, 0px);
}

#ub24-cookie-module.left {
    top: 0px;
    bottom: 0px;
    max-width: 480px;
    right: 100%;
    left: 415px;
    will-change: transform;
    transform: translate3d(-100%, 0px, 0px);
}

#ub24-cookie-content {
    position: absolute;
    top: 0px;
    bottom: 0px;
    height: 100%;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
    left: 64px;
    right: 0px;
    color: rgb(51, 51, 51);
    fill: rgb(51, 51, 51);
    background: rgb(244, 244, 244);
    text-align: left;
}

#ub24-cookie-close {
    cursor: pointer;
    width: 24px;
    position: absolute;
    right: 10px;
    top: 5px;

}

#ub24-cookie-close:before {
    content: "x";
    color: #000;
    font-size: 24px;
    font-weight: bold;
}

#ub24-cookie-title,
#ub24-cookie-title-1 {
    line-height: 30px;
    font-weight: 700;
    padding-right: 32px;
    color: rgb(51, 51, 51);
    font-size: 1.2em;
    text-align: left;
    padding: 0px;
    margin: 0px;
}

#ub24-cookie-text,
#ub24-cookie-text-1 {
    margin: 5px 0px;
    font-weight: 400;
    color: rgb(51, 51, 51);
    font-size: 1em;
    text-align: left;
}

#ub24-cookie-label{
    margin-bottom: 0px;
    text-align: left;
}

#ub24-cookie-about {
    position: absolute;
    bottom: 0px;
    right: 10px;
    text-align: left;
}

#ub24-cookie-about a {
    font-size: 0.8em;
    font-weight: 700;
    text-decoration: none;
    color: #333;
    text-align: left;
}

#ub24-cookie-module.left #ub24-cookie-about {
    left: 10px;
}

.ub24-cookie-info-button,
.ub24-cookie-info-button:hover,
.ub24-cookie-info-button:focus,
.ub24-cookie-info-button:visited {
    position: relative;
    top: 1px;
    display: inline-block;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 16px;
    height: 16px;
    background-color: #7FC9FF;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -22px;
    color: #000;
}

.ub24-cookie-info-button:before {
    content: "\i";
    padding-left: 6px;
    font-size: 14px;
    line-height: 17px;
    font-family: "Times New Roman";
    font-weight: bold;
    font-style: italic;
}

#ub24-cookie-agree-btn,
#ub24-cookie-cancel-btn {
    background-color: rgb(0, 102, 204);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 0px;
    margin-top: 10px;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
}

#ub24-cookie-cancel-btn {
    margin-left: 10px;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin: 10px 0 5px 0;
}

.ub24-cookie-btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .5rem 1rem;
    font-size: 1rem;
    border-radius: .25rem;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

}

.ub24-cookie-btn-toggle {
    margin: 0 4rem;
    padding: 0;
    position: relative;
    border: none;
    height: 1.5rem;
    width: 3rem;
    border-radius: 1.5rem;
    color: #6b7381;
    background: #bdc1c8;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 20px;
    cursor: pointer;
}

.ub24-cookie-btn-toggle:before,
.ub24-cookie-btn-toggle:after {
    line-height: 1.5rem;
    width: 4rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    bottom: 0;
    transition: opacity .25s;
    color: #6b7381;
}

.ub24-cookie-btn-toggle:before {
    content: 'Off';
    left: -3rem;
}

.ub24-cookie-btn-toggle > .handle {
    position: absolute;
    top: 0.1875rem;
    left: 0.1875rem;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 1.125rem;
    background: #fff;
    transition: left .25s;
}

.ub24-cookie-btn-toggle:after {
    content: 'On';
    right: -3rem;
    opacity: .5;
}

.ub24-cookie-btn-toggle.active {
    background-color: #29b5a8;
    transition: background-color 0.25s;
}

.ub24-cookie-btn-toggle.active:before {
    opacity: .5;
}

.ub24-cookie-btn-toggle.active > .handle {
    left: 1.6875rem;
    transition: left .25s;
}

.ub24-cookie-btn-toggle.active:after {
    opacity: 1;
}

#ub24-cookie-google-analytics {
    display: none;
}

#ub24-cookie-close {
    display: none;
}

#ub24-cookie-icon {
    position: absolute;
    bottom: 0px;
    width: 64px;
    height: 64px;
    cursor: pointer;
    left: 0px;
    right: auto;
    fill: rgb(244, 244, 244);
    background-image: url(img/cookie_settings_icon.png);
}

#ub24-cookie-module.hide {
    width: 64px;
    height: 100%;
    left: 100%;
    transition: all .4s ease;
    display: block!important;
    visibility: initial!important;
}

#ub24-cookie-module.show {
    max-width: 480px;
    height: 100%;
    left: 100%;
    transition: all .4s ease;
}

#ub24-cookie-overlay.hide {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
    -webkit-transition: opacity 0.4s, -webkit-transform 0s;
    transition: opacity 0.4s, -webkit-transform 0s;
    -o-transition: transform 0s, opacity 0.4s;
    transition: transform 0s, opacity 0.4s;
    transition: transform 0s, opacity 0.4s, -webkit-transform 0s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    will-change: transform, opacity;
    -webkit-transform: translate3d(0%, -100%, 0);
    transform: translate3d(0%, -100%, 0);
    opacity: 0;
    display: block!important;
    visibility: initial!important;
}

#ub24-cookie-overlay.show {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
    -webkit-transition: opacity 0.4s, -webkit-transform 0s;
    transition: opacity 0.4s, -webkit-transform 0s;
    -o-transition: transform 0s, opacity 0.4s;
    transition: transform 0s, opacity 0.4s;
    transition: transform 0s, opacity 0.4s, -webkit-transform 0s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    will-change: transform, opacity;
    -webkit-transform: translate3d(0%, 0%, 0);
    transform: translate3d(0%, 0%, 0);
    opacity: 1;
}

#ub24-cookie-module.hide.fast {
    transition: all 0s ease;
}

#ub24-cookie-overlay.hide.fast{
    transition: transform 0s, opacity 0s;
    transition: transform 0s, opacity 0s, -webkit-transform 0s;
}

#ub24-cookie-agree-btn.shake,
#ub24-cookie-cancel-btn.shake{
    /*animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;*/
    animation-name: shake;
    animation-duration: 0.82s;
    animation-iteration-count: 2;
    animation-timing-function: ease-in;

    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Safari 5+ ONLY */
    ::i-block-chrome, #ub24-cookie-module.right {
        right: 0px;
        left: initial;
    }
}