/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

.cookies {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 20001;
    padding: 1.625rem;
    width: 100%;
    max-width: 29.6875rem;
    background: white;
    box-shadow: 0 -0.3125rem 0.875rem 0 rgb(0 0 0 / 7%);
    transition: right 0.3s ease, left 0.3s ease, border-radius 0.3s ease, transform 0.7s ease;
    transform: translateX(120vw);
}

.cookies[data-visible="true"] {
    transform: translatex(0);
}

@media(min-width: 475px) {
    .cookies {
        border-radius: 1.25rem 0 0 0;
        right: 0;
        left: auto;
    }
}

@media (min-width: 1025px) {
    .cookies {
        border-radius: 1.25rem 1.25rem 1.25rem 1.25rem;
        bottom: 1.875rem;
        right: 1.125rem;
    }
}

.cookies__bottom {
    display: flex;
    justify-content: flex-start;
    gap: 1.875rem;
    font-size: 0.875rem;
    line-height: 1.0625rem;
}

.cookies__bottom-accept {
    padding: 0.625rem;
    border: black 0.0625rem solid;
    border-radius: 2rem;
    text-transform: uppercase;
}

.cookies__bottom-accept:hover {
    color: red;
    border: red 0.0625rem solid;
    transition: color 0.3s ease, border 0.3s ease;
}

.cookies__bottom-deny {
    padding: 0.625rem;
    border: black 0.0625rem solid;
    border-radius: 2rem;
    text-transform: uppercase;
}

.cookies__bottom-deny:hover {
    color: red;
    border: red 0.0625rem solid;
    transition: color 0.3s ease, border 0.3s ease;
}

.cookies__top {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    flex-direction: column;
    gap: 1.125rem;
    margin-bottom: 1.375rem;
}

.cookies__top-description {
    font-size: 0.8125rem;
    line-height: 1.25rem;
}

.--lock {
    overflow-y: hidden;
}

@media(min-width: 1040px) {
    .--lock {
        overflow-y: unset;
    }
}

.cookies__panel {
    position: fixed;
    transform: translateX(-110%);
    top: 0;
    left: 0;
    width: 100%;
    max-width: 37.5rem;
    height: 100%;
    padding: 1.625rem;
    background-color: white;
    z-index: 20002;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow-y: scroll;
}

@media(min-width: 1040px) {
    .cookies__panel {
        overflow-y: unset;
    }
}

.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    height: 100%;
}

.cookies__panel-confirm {
    margin-top: 1.25rem;
    padding: 0.625rem;
    border: black 0.0625rem solid;
    border-radius: 2rem;
    text-transform: uppercase;
}

.cookies__panel-confirm:hover {
    color: red;
    border: red 0.0625rem solid;
    transition: color 0.3s ease, border 0.3s ease;
}

.cookies__panel-gtag-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookies__panel-gtag-switch {
    backface-visibility: hidden;
}

.cookies__panel-gtag-switch-field {
    display: none !important;
}

.cookies__panel-gtag-switch-field:checked + .cookies__panel-gtag-switch-track::after {
    transform: translate3d(100%, 0, 0);
}

.cookies__panel-gtag-switch-track {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 1rem;
    color: red;
    background-color: transparent;
    border: 1px solid red;
    border-radius: 2rem;
    cursor: pointer;
}

.cookies__panel-gtag-switch-track:before {
    content: none !important;
}

.cookies__panel-gtag-switch-track::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 49%;
    height: 1.75rem;
    background-color: red;
    border-radius: 1.75rem;
    transform: translateZ(0);
    transition: transform 200ms cubic-bezier(0.6, 0.05, 0.01, 0.99);
}

.cookies__panel-gtag-switch-label {
    line-height: 2rem;
}

.cookies__panel-gtag-switch-label + .cookies__panel-gtag-switch-label {
    margin-left: 1rem;
}

.cookies__panel-text {
    font-size: 1rem;
    line-height: 1.125rem;
}

.cookies__panel-title {
    font-size: 1.5rem;
    line-height: 2.1875rem;
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
}


/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}