.bloqueLegalCookies {
    background: #fff 0 0;
    border-radius: 0;
    color: #666;
    padding-top: 5px;
    padding-bottom: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 111111;
    box-shadow: 0 0 10px rgba(0,0,0,.2)
}

.bloqueLegalCookies a {
    vertical-align: middle
}

.bloqueLegalCookiesTexto {
    padding: 0 80px;
    line-height: 140%;
    margin-bottom: 10px!important;
    font-size: 15px
}

.bloqueLegalCookies span {
    margin: 0 5px;
    display: block
}

.bloqueLegalCookies a:not(.btnStandard) {
    margin: 0 10px;
    color: var(--secondary);
    text-decoration: underline;
    font-size: 18px;
    transition: all .3s
}

a.bloqueLegalCookiesEnlaceMasInfo {
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px
}

a.bloqueLegalCookiesEnlaceMasInfo:hover {
    color: var(--primary)
}

.bloqueLegalCookies .btnStandard {
    margin-right: 0;
    min-width: 26px;
    text-align: center;
    text-decoration: none
}

.bloqueLegalCookies .btnStandard+.btnStandard {
    margin-left: 10px
}

#cookiesWeb,#overlay-cookies {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0
}

#overlay-cookies {
    background: rgba(0,0,0,.5);
    z-index: 8000000000;
    width: 100%;
    height: 100%;
    overflow: hidden;
    bottom: 0;
    visibility: hidden;
    transition: all .2s
}

#overlay-cookies.open {
    opacity: 1;
    visibility: visible
}

#cookiesWeb {
    background: #fff;
    width: 588px;
    max-width: 100%;
    height: 100vh;
    min-height: 100%;
    -webkit-box-shadow: 0 2px 10px -3px #000;
    -moz-box-shadow: 0 2px 10px -3px #000;
    box-shadow: 0 2px 10px -3px #000;
    z-index: 9000000000;
    transform: translateX(-100%);
    transition: transform .4s ease-in-out;
}

#cookiesWeb .btnStandard {
    padding: 15px 35px
}

#cookiesWeb.open {
    transform: none;
    opacity: 1
}

#cookiesWebTop {
    padding: 10px 10px 24px;
    text-align: right
}

#cerrarCookies {
    width: 30px;
    height: 30px;
    font-size: 0;
    background-image: url(../img/iconos/cerrar.svg);
    display: block;
    margin-left: auto;
    cursor: pointer
}

#cookiesWebContenido {
    padding: 15px;
    height: calc(100vh - 150px);
    overflow: auto;
    border-top: 1px solid #ccc;
}

.activasSiempre,.tituloCookie {
    color: var(--text-color2);
    font-size: 16px;
    line-height: 130%;
    font-weight: 500
}

.tituloCookie {
    line-height: 25px;
    margin-bottom: 10px;
    font-weight: 600
}

#cookiesWebContenido>.tituloCookie:first-child {
    font-size: 20px;
    line-height: 31px;
    top: 14px;
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    pointer-events: none;
    text-transform: uppercase;
    color: var(--secondary);
}

.masInfoCookie {
    display: block;
    margin-top: 88px;
    font-size: 16px;
    font-weight: 500;
}

.masInfoCookie,.masInfoCookie:hover {
    color: var(--text-color2);
}

#btnsHabRech {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between
}

#btnsHabRech #rechazarTodasCookies {
    display: block!important
}

#rechazarCookies,.switch input {
    display: none
}

#cookiesWebBotones {
    padding: 15px;
    font-size: 0;
    text-align: center
}

#cookiesWeb .textoSeccion {
    font-size: 15px;
    line-height: 25px;
    color: var(--text-color2);
}

.itemCookie {
    font-size: 0;
}

.itemCookie+.itemCookie {
    border-top: none
}

.itemCookieDatos {
    background-color: #fff;
    padding: 10px 20px
}

.itemCookieBoton,.itemCookieTitulo {
    display: inline-block;
    vertical-align: middle
}

.itemCookieTitulo {
    width: calc(100% - 60px);
    padding-right: 15px;
    font-size: 16px;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 400
}

.itemCookieBoton {
    width: 60px
}

.itemCookie_1 .itemCookieTitulo {
    width: calc(100% - 131px)
}

.itemCookie_1 .itemCookieBoton {
    width: 131px;
    text-align: right;
    height: 20px
}

.itemCookieTexto {
    padding: 10px 20px;
    background-color: #f8f8f8;
    display: none
}

.bloqueLegalCookies .btnStandard {
    padding: 15px 32px;
    font-size: 16px
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-bottom: 0;
    vertical-align: top
}

.slider,.slider:before {
    position: absolute;
    -webkit-transition: .4s;
    transition: .4s
}

.slider {
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc
}

.slider:before {
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 5px;
    background-color: #fff
}

input:checked+.slider {
    background-color: var(--primary)
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary)
}

input:checked+.slider:before {
    -webkit-transform: translateX(32px);
    -ms-transform: translateX(32px);
    transform: translateX(32px)
}

.slider.round {
    border-radius: 34px
}

.slider.round:before {
    border-radius: 50%
}

#bloqueCookiesWeb {
    border: 1px solid #ccc;
}

.activasSiempre {
    font-size: 15px;
    font-weight: 400;
}

@media (max-width: 588px) {
    #cookiesWeb {
        width:100%
    }

    #btnsHabRech {
        margin-top: 10px
    }

    #cookiesWebContenido>.tituloCookie:first-child {
        font-size: 16px;
        text-align: left;
        left: 5px;
    }

    #btnsHabRech .btnStandard {
        letter-spacing: 0;
        padding: 10px 20px;
        font-size: 14px
    }

    #cookiesWebBotones .btnStandard {
        padding: 15px 22px;
        font-size: 16px
    }

    .bloqueLegalCookies .btnStandard+.btnStandard {
        margin: 10px auto 0;
        display: block;
        width: fit-content
    }

    #cookiesWebContenido {
        padding: 15px
    }
}

@media (max-width: 800px) {
    .bloqueLegalCookies a:not(.btnStandard) {
        display:block;
        margin: 10px 0
    }
}

@media (max-width: 992px) {
    .bloqueLegalCookiesTexto {
        padding:0
    }
}
