@charset "utf-8";
footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 1;
    padding: var(--margen);
    padding-top: 5em;
    background: var(--degradopie);
}
footer, footer a {
    color: var(--morado500);
}
footer > div {
    display: flex;
    align-items: flex-end;
}
footer > div > div {
    width: 50%;
    flex-shrink: 0;
}
#logopie img {
    height: 2em;
    width: auto;
}
#esloganpie { 
    margin-top: .875em;
    font-size: 2.25em;
    line-height: 1.1;
}

#esloganpie img {
    height: .6em;
    width: auto;
    filter: invert(100%);
    margin-left: 2px;
}

#subcontenedorpie {
    display: flex;
    line-height: 1.5;
  
}

#subcontenedorpie > div {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}
#subcontenedorpie   span.titulo {
    font-weight: 450;
    color: var(--morado300);
}
#subcontenedorpie  a {
    font-weight: 500;
}
#subcontenedorpie > div:first-of-type  a {
    font-size: 1.5em;
}
#subcontenedorpie > div:last-of-type a {
    text-decoration: none;
    font-size: 1.125em;
}
#pie3 {
    margin-top: 4em;
    margin-bottom: 3em;
    margin-left: 1em;
    margin-right: 1em;
    display: flex;
    justify-content: flex-end;
}
#pie3 > div {
    display: flex;
    justify-content: center;
    align-items: center
}
#pie3 img {
    height: 2em;
    width: auto;
}
#pie3 img:first-of-type {
    height: 3em;
}
#pie3 img:not(:first-of-type) {
    margin-left: 2em;
}
#pie4 {
    font-size: 0.9375em;
}
#pie4 > div:first-of-type > a:last-of-type {
    margin-left: 1em;
}
#pie4 > div:last-of-type {
    text-align: right;
}
#avisocookies {
    position: fixed;
    z-index: 3000;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: var(--morado600al80);
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    align-items: center;  
    padding: 1em;
    transition: transform .2s ease-out 0s;
}
#avisocookies > aside:first-of-type {
    letter-spacing: .05em;
}
#avisocookies > aside:first-of-type span:not(:first-of-type) {
    color: var(--rojo400);
}
#avisocookies > aside:not(:last-of-type) {
    margin-bottom: .75rem;
}
#avisocookies.fuera {
    transform: translateX(-120%);
}
#avisocookies > aside {
    flex-grow: 1;
}
#avisocookies > aside > aside:first-of-type {
    font-size: 1.25em;
}
#avisocookies > aside > aside:first-of-type > span:first-of-type {
    font-size: 1.25em;
    font-weight: 500;
}
#avisocookies > aside > aside:first-of-type > span:last-of-type {
    font-weight: 500;
}
#avisocookies > aside > aside:last-of-type a {
    font-weight: 500;
    color: white;
}
#avisocookies > aside:last-of-type {
    align-self: flex-end;
}
#avisocookies  button {
    margin-right: 1em;
    margin-left: 1em;
}
#avisocookies  button:last-of-type {
    background-color: var(--rojo400);
}
#avisocookies > button:hover {
    border-color: var(--blanco);
}
#avisocookies  button:last-of-type:hover {
    background-color: var(--rojo500);
}
#pie a {
    transition: color .2s ease-in 0s,transform .2s ease-in 0s;
    transform-origin: left bottom;
    display: inline-block;
}
#pie a:hover {
    color: var(--morado600);
    transform: scale(1.025);
}
/*cookies*/
#contenedorgestionarcookies {
    position: fixed;
    z-index: 20;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: scale(1,0);
    transition: transform .3s ease-out 0s;
    padding-bottom: 2em;
    padding-top: 2em;
    
}
#contenedorgestionarcookies.abierto {
    transition: transform .3s ease-in 0s;
    transform: scale(1,1);
}
#contenedorformulariocookies {
    max-width: 1000px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
}
#datoscookies {
    flex-grow: 1;
    position: relative;
    border-top: solid 1px var(--morado500);
    border-bottom: solid 1px var(--morado500);
}
#datoscookies > div {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1em;
}
#gestionarcookies {
    background: var(--blanco);
    border-radius: 6px;
    padding: 3em 4em 2em 4em;
    margin-top: .5em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
   
}
#gestionarcookies h2 {
    margin-top: 0px;
    font-size: 1.5em;
    font-weight: 600;
    color:black;
}

#gestionarcookies > p:last-of-type {
    text-align: right;
}
#gestionarcookies input:not([type="submit"]), #gestionarcookies textarea  {
    box-shadow: none;
    border-image: none;
    border-radius: 4px;
    border: none;
}
#gestionarcookies a {
    color: var(--morado500);
}
#gestionarcookies p:not(:last-of-type) input[type="text"]:not(.estrecho), #gestionarcookies p:not(:last-of-type) input[type="email"]:not(.estrecho), #gestionarcookies p:not(:last-of-type) textarea {
    width: 100%;    
}
#gestionarcookies .parrafoboton {
    text-align: right;
}
#gestionarcookies .parrafoboton span {
    color: var(--rojo600);
    font-weight: bold;
}

#gestionarcookies .parrafoboton .boton4 {
    background-color: var(--rojo600);
}

#gestionarcookies .parrafoboton .boton4:hover {
    background-color: var(--rojo500);
}
@media (max-width: 1050px)  {
    #pie2 {
        align-items: flex-start;
    }
     #subcontenedorpie {
        flex-direction: column;
    }
    #subcontenedorpie >div:first-of-type{
        margin-top: 2em;
        margin-bottom: 1em;
    } 
    #subcontenedorpie > div {
        width: 100%;
    }
    #pie3 {
        margin-top: 3em;
        margin-bottom: 2em;
        justify-content: center;
    }
    #avisocookies {
        flex-direction: column;
    }
    #contenedorformulariocookies {
        margin-left: 2em;
        margin-right: 2em;
    }
}
@media (max-width: 700px) {
    #avisocookies > aside {
        text-align: center;
    }
    #avisocookies > aside:last-of-type {
        display: flex;
        flex-direction: column;
        align-items: center;align-self: center;
    }
    #avisocookies > aside:last-of-type button:first-of-type {
        margin-bottom: .75em;
    }
    #gestionarcookies {    
        padding: 2em 1em;
        margin-top: .5em;
    }
}
@media (max-width: 650px) {
    footer {
        background: var(--degradopiemovil);
    }
    footer > div {
        flex-direction: column;
        align-items: flex-start;
    }
    footer > div > div {
        width: 100%;
    }
   
    
    #subcontenedorpie div {
        font-size: 1.25em;
    }
    #pie4, #pie4 > div:last-of-type {
        text-align: center;
    }
    #pie4 > div:first-of-type {
        font-size: 1.15em;
    }
    #pie4 > div:last-of-type {
        margin-top: 1.5em;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #avisocookies > button {
        margin-left: 1em;
    }
    #pie4 > div:first-of-type {
        font-size: 1.25em;
    }
    #pie3 {
        margin-bottom: 0px;
        margin-top: 1em;
    }
    #pie3 img:not(:first-of-type) {
        margin-left: 0px;
    }
    #pie3 > div {
        flex-wrap: wrap;
        justify-content: space-around;        
    }
    #pie3 > div img {
        margin-bottom: 2em;
    }
    #esloganpie {
        font-size: 1.5em;
    }
    #esloganpie br {
        display: none;
    }
}
@media (max-width: 550px) {
    #pie1 img {
        width: 90%;
        height: auto;
    }
    #gestionarcookies {    
        padding: 1em 1em;
        margin-top: .5em;
    }
    
}
@media (max-width: 420px) {
    #pie3 img {
        height: 1.25em;
        width: auto;
    }
}