:root{
    --accent-color: #080708;
    --accent-hover: #F2839B;
    --accent-border-unselected-color: #7c8ce6;
    --accent-background: #d7d7d7e0;
    --accent-border: #5b5b5b;
    --accent-text-color: #080708;
    --accent-hover-button-text: #ffffff;
    --accent-title-color: var(--accent-color);
    --accent-sub-title-color: var(--accent-color);
    --container-open-height-min: 430px;
    --container-open-height-max: var(--container-open-height-min);
    --container-open-wrapper-height: 550px;
    --container-open-width: 500px;
    --container-tab-width: 150px;
    --margins-text: 10px;
    --container-text-width: calc(var(--container-open-width) - var(--container-tab-width) - var(--margins-text));/*340*/
    --container-text-height-max: calc(var(--container-open-height-max) - 100px);/*300*/
    --button-cookie-height: 50px;
    --button-allow-positions: calc(var(--container-open-height-max) + var(--button-cookie-height) + 10px);
    --button-cookie-border-radius: 5px;
    --container-open-border-radius: 5px;
    --bg-color-display: #ffe2e9;
    --bg-color-cookie-btn: #ffffff;
    --bg-cookie-icon-color: #000;
    --bg-cookie-nav-tab: #eff8ff;
    --cookie-popup-text-color: #000;
    --border-radius-cookie-nav-bar-mob: 5px;
    --border-px-cookie-nav-bar-mob: 1px;
    --border-color-cookie-nav-bar-mob: #000;
    --text-color-cookie-nav-bar: #000;
    --top-exit-button-color: #000;
    --top-title-color: #000;
    --scrollbar-color: #08070859 #ffffff26;
    /***
    Add img for cookie btn instead of fontAwesome icon, but uncomment the following everywhere:
    --cookie-img, --opacity-font and --img-url 
    ***/
    /* --cookie-img: url('cookie-img.png');
    --img-url: var(--cookie-img);
    --opacity-font: 0; */
}

@font-face {
    font-family: fontRoboto;
    src: url('CookiesPopup/roboto.ttf');
}

.cookie-popup-container {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: fontRoboto, Sans-serif;
    display: none;
}

.cookie-popup-container *{
    font-family: fontRoboto, Sans-serif;
    color: var(--accent-text-color);
}
.cookie-popup-container .class-title {
    color: var(--accent-title-color);
}

.cookie-popup-container .fa-solid{
    font-family: "Font Awesome 6 Free" !important;
}

.cookie-popup-container .cookie-popup {
    max-width: min(600px, 90%);
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    box-sizing: border-box;
    padding: 15px;
    box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.35);
    color: var(--accent-text-color);
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    background-color: var(--accent-background);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    position: fixed;
    z-index: 999999 !important;
    left: 20px;
    bottom: 20px;
    height: min(70vh, 425px);
    transition: 300ms;
}

.cookie-popup-container .cookie-popup:not(.expanded) {
    height: 52px;
    width: 52px;
    min-width: unset;
    border-radius: var(--button-cookie-border-radius);
    background: transparent;
    border: 0;
    box-shadow: unset;
}
.cookie-popup-container .cookie-popup:not(.expanded):hover,
.cookie-popup-container .cookie-popup:not(.expanded):focus-within,
.cookie-popup-container .cookie-popup:not(.expanded):focus {
    width: 158px;
}
.cookie-popup-container .cookie-popup.expanded {
    height: var(--container-open-wrapper-height);
    border-radius: var(--container-open-border-radius);
}

.cookie-popup-container .cookie-popup::-webkit-scrollbar {
    display: none !important;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.cookie-popup-container .cookie-popup:not(.expanded) .cookie-popup-content-container {
    height: 0;
}
.cookie-popup-container .cookie-popup.expanded .cookie-popup-content-container {
    height: 100%;
}

.cookie-popup:not(.expanded) .cookie-panel {
    top: 0;
    right: 0;
}

.cookie-popup .cookie-panel {
    position: absolute;
    top: 15px;
    right: 15px
}

.cookie-popup .cookie-panel ul {
    list-style-type: none;
    display: flex;
    padding-left: 0 !important;
    margin: 0 !important;
    z-index: 3;
    position: relative;
}

.cookie-popup .cookie-panel ul li {
    width: 50%;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
    color: var(--accent-color);
}
.cookie-popup .cookie-panel ul li.consent-panel i {
    color: var(--top-exit-button-color);
 }

.cookie-popup-container .cookie-popup:not(.expanded) .cookie-popup-content-container .cookie-mid {
    padding: 0;
}
.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid {
    height: 100%;
    padding: 0 0 5px;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid p {
    font-size: 12px;
    line-height: 18px;
    margin-top: 0px;
    margin-bottom: 10px;
    
}

.cookie-popup-container .cookie-popup p.max-perc {
    max-width: 300px;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid b {
    font-size: 24px;
    line-height: 24px;
    color: var(--accent-title-color);
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid .cookie-consent,
.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid .cookie-cookies-display{
    display: none;
}

.cookie-cookies-display .cookie-category,
.cookie-consent .cookie-category {
    margin-bottom: 15px;
    margin-top: 0!important;
}

.cookie-cookies-display .cookie-category .choose,
.cookie-consent .cookie-category .choose {
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 10%;
    border: 2px solid var(--accent-border-unselected-color);
    margin-right: 10px;
    cursor: pointer;
    background: transparent;
    position: relative;
}

.cookie-cookies-display .cookie-category .choose.active,
.cookie-consent .cookie-category .choose.active {
    border-color: var(--accent-hover);
    background-color: transparent;
}
.cookie-cookies-display .cookie-category .choose.active:before,
.cookie-consent .cookie-category .choose.active:before {
    content: "";
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 19px;
    height: 19px;
    border-radius: 10%;
    margin-top: -4px;
    margin-left: -2px;
    background: var(--accent-hover);
}

.cookie-cookies-display .cookie-category .choose.active:after,
.cookie-consent .cookie-category .choose.active:after,
.cookie-consent .cookie-category .choose.always-on:after,
.cookie-cookies-display .cookie-category .choose.always-on:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 7px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}

.cookie-cookies-display .cookie-category .choose.active + .cookie-cat-name,
.cookie-consent .cookie-category .choose.active + .cookie-cat-name {
    color: var(--accent-sub-title-color);
}


.cookie-cookies-display .cookie-category .choose.always-on,
.cookie-consent .cookie-category .choose.always-on {
    border-color: var(--accent-color);
    background-color: var(--accent-hover);
    cursor: auto;
    opacity: 0.5;
    filter: grayscale(1);
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-main,
.cookie-cookies-display .cookie-category .data .data-resume .cat-main>div,
.cookie-consent .cookie-category .data .data-resume .cat-main,
.cookie-consent .cookie-category .data .data-resume .cat-main>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-main,
.cookie-consent .cookie-category .data .data-resume .cat-main {
    margin-bottom: 10px;
}


.data-resume .cookie-cat-name{
    font-weight: bold;
    cursor: pointer;
    transition: 300ms;
    font-size: 12px;
    line-height: 18px;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-describe,
.cookie-consent .cookie-category .data .data-resume .cat-describe {
    font-size: 12px;
    line-height: 18px;
}

.cookie-decide ul{
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    padding-left: 0 !important;
    margin: 0 !important;
}

.cookie-decide ul li{
    width: 50%;
    text-align: center;
    border: 2px solid var(--accent-color);
    border-radius: var(--button-cookie-border-radius);
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 300ms;
    font-size: 12px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-decide ul li:hover{
    background-color: var(--accent-color);
    color: var(--accent-hover-button-text);
}

.cookie-decide ul li.allow{
    background-color: var(--accent-color);
    color: var(--accent-hover-button-text);
    transition: 300ms;
}



.cookie-decide ul li.allow-selection  {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transition: 300ms;
}
.cookie-decide ul li.allow-selection:hover  {
    background-color: var(--accent-color);
    color: var(--accent-hover-button-text);
    border: 2px solid var(--accent-color);
    transition: 300ms;
}

.cookie-decide ul li.allow:hover{
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.cookie-decide ul li.allow-selection {
    display: none;
}

.cookie-popup-container a.policy-href {
    text-decoration: none;
    color: var(--accent-color) !important;
    font-size: 12px !important;
    line-height: 18px;
    font-weight: 600 !important;
    transition: 300ms;
}
.cookie-popup-container a.policy-href:hover {
    color: var(--accent-hover) !important;
}

.cookie-popup-container .cookie-decide ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 50px;
}
.cookie-popup-container .cookie-decide ul li {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.cookie-decide ul li.customize {
    background-color: var(--bg-color-cookie-btn);
    background: linear-gradient(0deg, rgb(255 255 255) 10%, rgb(145 145 160));
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    margin-top: 0 !important;
    margin-bottom: 0;
    width: 50px;
    height: 50px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: width 0.3s ease, padding 0.3s ease;
    box-shadow: 1px 2px 8px 0 rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 0;
    overflow: hidden;
}
.light .cookie-decide ul li.customize {
    filter: invert(1);
}
.cookie-decide ul li.customize i {
    color: var(--bg-cookie-icon-color);
    transition: width 0.3s ease, padding 0.3s ease;
    font-size: 40px;
    position: absolute;
    left: 4px;
    width: 40px;
    height: 40px;
    /* background-image: var(--img-url); */
}
/* .cookie-decide ul li.customize i:before {
    opacity: var(--opacity-font);
} */
.cookie-decide ul li.customize:hover {
    background-color: var(--bg-color-cookie-btn);
    color: var(--accent-color);
    width: 156px;
    padding-left: 3px;
    padding-right: 7px;
    transition: width 0.3s ease, padding 0.3s ease;
}
.cookie-decide ul li.customize:hover i {
    color: var(--cookie-popup-text-color);
    transition: width 0.3s ease, padding 0.3s ease;
    -webkit-animation: pulsate-bck 0.5s ease-in-out infinite both;
	animation: pulsate-bck 0.5s ease-in-out infinite both;
}

.cookie-decide ul li.customize span {
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
    height: 100%;
    display: none;
    white-space: nowrap;
    align-items: center;
    border-radius: 20px;

}

.cookie-decide ul li.customize:hover span,
.cookie-decide ul li.customize:focus span {
    opacity: 1;
    transition: 300ms;
    display: flex;
    padding: 0 12px 0 60px;
    transform: translateX(0%) !important;
    color: var(--cookie-popup-text-color);
}

.cookie-decide ul li.customize span.hidden {
    display: none;
}

.cookie-popup-container .cookie-popup:not(.expanded) .cookie-decide ul li.allow,
.cookie-popup-container .cookie-popup:not(.expanded) .cookie-decide ul li.allow-selection {
    display: none!important;
}

.cookie-popup-container .cookie-popup.expanded .cookie-decide ul li.customize {
    display: none!important;
}

.cookie-popup-container .tab-wrap {
    transition: 0.3s box-shadow ease;
    border-radius: var(--container-open-border-radius);
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    list-style: none;
    margin: 20px 0 40px;
    flex-direction: row;

    overflow: hidden;
    width: var(--container-open-width);
    height: auto;
    max-height: var(--container-open-height-max);
    min-height: var(--container-open-height-min);
    box-shadow: 32px 32px 48px #2e364315;
    background-color: var(--bg-color-display);

}
.cookie-popup-container .tab {
    display: none;
}
.cookie-nav {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--container-tab-width);
    z-index: 3;
    height: auto;
    box-shadow: 10px 16px 50px 0px #2e364330;/*color shadow*/
    background-color: var(--bg-cookie-nav-tab);
    border-top-right-radius: var(--container-open-border-radius);
    border-bottom-right-radius: var(--container-open-border-radius);
}
.cookie-nav label.labl {
    width: 100%;
    height: 60px;
    color: var(--text-color-cookie-nav-bar);
    text-align: center;
    cursor: pointer;
    transition: 0.5s;
    z-index: 3;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
.cookie-popup-container .tab + label {
    box-shadow: 0 -1px 0 #eee inset;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #333;
    flex-grow: 3;
    text-align: center;
    background-color: #f2f2f2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    transition: 0.3s background-color ease, 0.3s box-shadow ease;
    height: 50px;
    box-sizing: border-box;
    padding: 15px;
    justify-content: center;
    flex-direction: row;
    width: auto;
    min-width: 200px;
    max-width: 200px;
    order: 1;
}
.cookie-popup-container .tab:checked + label {
    background-color: #fff;
    box-shadow: 0 -1px 0 #fff inset;
    cursor: default;
}
.cookie-popup-container.tab + label:hover {
    background-color: #f9f9f9;
    box-shadow: 0 1px 0 #f4f4f4 inset;
}
.cookie-popup-container .tab:checked + label:hover {
    box-shadow: 0 -1px 0 #fff inset;
    background-color: #fff;
}
.cookie-popup-container .tab:first-of-type:not(:last-of-type) + label {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cookie-popup-container .tab__content {
    padding: 20px 25px 10px;
    background-color: transparent;
    position: absolute;
    z-index: -1;
    opacity: 0;
    transform: translateY(-3px);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 2;
    width: var(--container-text-width);
    top: 0;
    left: var(--container-tab-width);
    right: 0;
}
.cookie-popup-container .tab#tab1:checked ~ .tab__content.uno,
.cookie-popup-container .tab#tab2:checked ~ .tab__content.dos,
.cookie-popup-container .tab#tab3:checked ~ .tab__content.tres,
.cookie-popup-container .tab#tab4:checked ~ .tab__content.cuatro,
.cookie-popup-container .tab#tab5:checked ~ .tab__content.cinco,
.cookie-popup-container .tab#tab6:checked ~ .tab__content.sixo {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
}
.tab__content .text-wrapper-holder {
    height: var(--container-text-height-max);
    overflow-y: scroll;
    scrollbar-color: var(--scrollbar-color);
}
.cookie-popup-container .tab#tab1:checked ~ .cookie-nav label.labl1,
.cookie-popup-container .tab#tab2:checked ~ .cookie-nav label.labl2,
.cookie-popup-container .tab#tab3:checked ~ .cookie-nav label.labl3,
.cookie-popup-container .tab#tab4:checked ~ .cookie-nav label.labl4,
.cookie-popup-container .tab#tab5:checked ~ .cookie-nav label.labl5,
.cookie-popup-container .tab#tab6:checked ~ .cookie-nav label.labl6  {
    box-shadow: 16px 16px 48px #2e364330;
    background-color: #dfe6ed;
    background-color: var(--bg-color-display);
    box-shadow: 50px 0px 15px 4px var(--bg-color-display);
}

.cookie-popup-container .cookie-popup:not(.expanded) .class-title.center-title {
    display: none;
}
.cookie-popup-container .class-title.center-title {
    width: 100%;
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
}
.cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid b.class-title.center-title {
    color: var(--top-title-color);
    font-size: 24px;
}

.cookie-popup-container .data-resume .sub-title {
    font-weight: bold;
    cursor: pointer;
    transition: 300ms;
    font-size: 12px;
    line-height: 18px;
    color: var(--accent-sub-title-color);
}

.cookie-popup-container .tab-wrap input[type=radio] ~ label::before,
.cookie-popup-container .tab-wrap input[type=radio] ~ label::after {
    opacity: 0;
}


.cookie-popup-container .cookie-popup.expanded .cookie-popup-content-container .cookie-mid .cookie-cookies-display {
    display: block;
    position: relative;
    top: 0;
    margin: 0;
}

.cookie-popup-container .cookie-decide {
    position: absolute;
    width: 95%;
    padding-right: 20px;
    top: var(--button-allow-positions);
}

.cookie-popup-container .cookie-popup:not(.expanded) .cookie-decide {
    width: 100%;
    left: 0;
    top: 0;
}
.cookie-popup-container .expanded .cookie-decide {
    padding-right: 0;
}

.cookie-popup .cookie-panel ul li.details-panel {
    visibility: hidden;
}

.cookie-popup span.hidden {
    display: none;
}


@-webkit-keyframes pulsate-bck {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    50% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  @keyframes pulsate-bck {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    50% {
      -webkit-transform: scale(0.9);
              transform: scale(0.9);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }


@media screen and (max-width: 991px) {

    .cookie-popup-container .cookie-popup {
        max-width: 100%;
        max-height: min(450px, 90vh);
        left: 10px;
        bottom: 10px;
        margin-right: 10px;
    }

    .cookie-popup-container .cookie-popup.expanded {
        max-height: var(--container-open-wrapper-height);
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid{
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 8px;
    }

    .cookie-decide ul li{
        padding: 8px;
        font-size: 12px;
        margin: 3px;
    }

    .cookie-popup-container .cookie-popup{
        padding-left: 10px;
        padding-right: 10px;
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid p,
    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid b,
    .data-resume .cookie-cat-name,
    a.policy-href{
        font-size: 12px;
        line-height: 18px;
    }

    .cookie-cookies-display .cookie-category .data .data-describe ul li,
    .cookie-consent .cookie-category .data .data-describe ul li {
        font-size: 10px;
        line-height: 12px;
        padding: 8px;
    }
}
@media screen and (max-width: 560px) {
    .cookie-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: auto;
        border-bottom-left-radius: var(--container-open-border-radius);
        border-top-left-radius: var(--container-open-border-radius);
        overflow: hidden;
        height: 170px;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    .cookie-nav label.labl {
        padding: 5px 5px;
        width: auto;
        min-width: 140px;
        max-width: 140px;
        height: 50px;
        font-size: 16px;
        margin-bottom: 0;
        border-radius: var(--border-radius-cookie-nav-bar-mob);
        border: var(--border-px-cookie-nav-bar-mob) solid var(--border-color-cookie-nav-bar-mob);
    }
    .cookie-popup-container .tab__content {
        right: 0;
        left: 0;
        width: auto;
    }
    .cookie-popup-container .cookie-popup {
        max-width: calc(100% - 10px);
    }
    .cookie-popup-container .cookie-popup.expanded {
        height: calc(100% - 20px);
        max-height: 100%;
    }

    .cookie-popup-container .cookie-popup .cookie-popup-content-container .cookie-mid {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 2px;
    }
    
    .cookie-popup-container .tab#tab1:checked ~ .tab__content.uno, 
    .cookie-popup-container .tab#tab2:checked ~ .tab__content.dos, 
    .cookie-popup-container .tab#tab3:checked ~ .tab__content.tres, 
    .cookie-popup-container .tab#tab4:checked ~ .tab__content.cuatro, 
    .cookie-popup-container .tab#tab5:checked ~ .tab__content.cinco,
    .cookie-popup-container .tab#tab6:checked ~ .tab__content.sixo {
        top: 178px;
        height: calc(100% - 178px);
        overflow-y: scroll;
        scrollbar-color: var(--scrollbar-color);
    }
    .cookie-popup-container .tab#tab1:checked ~ .cookie-nav label.labl1, 
    .cookie-popup-container .tab#tab2:checked ~ .cookie-nav label.labl2, 
    .cookie-popup-container .tab#tab3:checked ~ .cookie-nav label.labl3, 
    .cookie-popup-container .tab#tab4:checked ~ .cookie-nav label.labl4, 
    .cookie-popup-container .tab#tab5:checked ~ .cookie-nav label.labl5,
    .cookie-popup-container .tab#tab6:checked ~ .cookie-nav label.labl6 {
        box-shadow: unset;
    }

    .cookie-popup-container .cookie-decide {
        top: calc(100% - 50px);
    }
    .cookie-popup-container .cookie-popup.expanded .cookie-popup-content-container .cookie-mid .cookie-cookies-display {
        height: calc(100% - 70px);
        margin-bottom: 0;
    }
    .cookie-popup-container .tab-wrap {
        min-height: 100%;
        max-height: 100%;
        margin-bottom: 0;
        height: 100%;
    }
    .tab__content .text-wrapper-holder {
        overflow-y: unset;
        margin-bottom: 20px;
        height: auto;
    }
}