@font-face {
    font-family: 'VolkswagenBlack';
    src: url('../../../assets/fonts/Volkswagen Serial Black.otf');
}
@font-face {
    font-family: 'VolkswagenBold';
    src: url('../../../assets/fonts/Volkswagen Serial Bold.otf');
}
@font-face {
    font-family: 'VolkswagenExtraBold';
    src: url('../../../assets/fonts/Volkswagen Serial ExtraBold.otf');
}
@font-face {
	font-family: 'VolkswagenSerial';
    src: url('../../../assets/fonts/Volkswagen Serial.otf');
}
@font-face {
	font-family: 'VolkswagenSerialItalic';
    src: url('../../../assets/fonts/Volkswagen Serial Italic.otf');
}

* {
	margin: 0;
    padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: "VolkswagenBold";
    text-decoration: none;
}

p {
    font-family: 'VolkswagenSerial';
    text-decoration: none;
}

a {
    color: #ffffff;
    text-decoration: none;
}

.login-contenedor {
    margin: 0px;
    padding: 0px;
    background: url(../img/BGN.jpg) no-repeat center top;
    background-size: 100% 100%;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.login-box {
    font-family: 'VolkswagenSerial';
    width: 400px;
    height: 500px;
    border-radius: 4%;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.login-box > form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 2rem;
    h1 {
        margin-bottom: 2rem;
    }
    a {
        color: #000000;
        font-size: 12px;
        text-decoration: none;
    }
    a:hover {
        color: #00ffff;
    }
}

.btnlogo {
    height: 0px;
}

.login-box .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transform: translate(150%, -70%);
}

.login-box h1 {
    font-family: 'VolkswagenBlack';
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 35px;
    color: #ffffff;
    text-shadow: 
        0px -2px 0px #00AA00, 
        0px 2px 0px #00AA00, 
        -2px 0px 0px #00AA00, 
        2px 0px 0px #00AA00, 
        -2px 2px 0px #00AA00, 
        2px 2px 0px #00AA00, 
        -2px -2px 0px #00AA00, 
        2px -2px 0px #00AA00, 
        4px 4px 20px #000000;
}

.login-box label {
    font-family: 'VolkswagenBold';
    margin: 0 0 0.5rem 4%;
}

.login-box input[type="email"]:focus, .login-box input[type="password"]:focus, 
.login-box input[type="submit"]:hover {
    width: calc(100% + 10%);
    -webkit-transform: translateX(-4.5%);
    -moz-transform: translateX(-4.5%);
    -ms-transform: translateX(-4.5%);
    -o-transform: translateX(-4.5%);
    transform: translateX(-4.5%);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.login-box input[type="submit"] {
    font-family: 'VolkswagenExtraBold';
    width: 100%;
    margin: 1rem 0 2rem 0;
    background-color: #00AA00;
    color: #ffffff;
    font-size: 25px;
}

.login-box input[type="submit"]:hover {
    background-color: #F2DB36;
    color: #000000;
    width: calc(100% + 10%);
    cursor: pointer;
}

#cabezerastitulos {
    font-family: 'VolkswagenSerial';
    font-size: 20px;
    width: 100%;
    height: 150px;
    background-color: #00AA00;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    user-select: none;
}

#cabezerastitulos > div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: center;
    text-align: center;
    h1 {
        font-size: 3em;
    }
}

#cabezerastitulos > a img {
    width: 150px;
    height: 150px;
}

#cabezerastitulos > .close {
    background-image: url(../img/neg2.png);
    background-repeat: no-repeat;
    background-size: 150px 150px;
    background-position: center;
    width: 150px;
    height: 150px;
    transition: 0.5s;
}

#cabezerastitulos > .close:hover {
    background-image: url(../img/neg1.png);
    transition: 0.5s;
}

.porcent10 {
    width: 10%;
}
.porcent20 {
    width: 20%;
}
.porcent30 {
    width: 30%;
}
.porcent40 {
    width: 40%;
}
.porcent50 {
    width: 50%;
}
.porcent60 {
    width: 60%;
}
.porcent70 {
    width: 70%;
}
.porcent80 {
    width: 80%;
}
.porcent90 {
    width: 90%;
}
.porcent100 {
    width: 100%;
}

#contenidocargar {
    display: flex;
}

.contenedor {
    margin: 1rem;
}

.cont-imagen {
    width: 20%;
    display: flex;
    justify-content: center;
}

.cont-full, .cont-form, .img-form {
    font-family: 'VolkswagenSerial';
    background-color: #33669950;
    width: 80%;
    height: fit-content;
    margin: 0;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #80808050;
}

.cont-full {
    background-color: #69696920;
    width: 100%;
    height: 100%;
    margin: 1px 0 1.2rem 0;
    padding: 0 0 2rem 0;
    border: 1px solid #00000050;
}

.cont-full > div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
    p {
        font-family: 'VolkswagenBold';
        font-size: 1.5rem;
    }
}

:root {
    --alto-referencia: .cont-form.height;
}

.img-form, .img-perfil {
    background-image: url(../img/logoV.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    width: 20%;
    height: calc(var(--alto-referencia)); /* Alto del contenedor, ajustado según el alto del div de referencia */
    transition: 0.5s;
}

.img-form:hover {
    background-image: url(../img/logoV2.jpg);
    transition: 1.5s;
}

.img-perfil {
    width: 16rem;
    background-image: url();
    border: 1px solid #00000050;
    border-radius: 50%;
}

.cont-form > form div {
    display: flex;
    justify-content: center;
    align-items: start;
    h2 {
        margin: 0 0 2rem 0;
    }
    p {
        font-size: 20px;
        padding: 0.4rem 0 0 1rem;
    }
}

#lresponsable {
    text-align: center;
}

.cont-form > form div textarea {
    padding: 0.6rem 0 0 1rem;
    height: calc(300px - 0.6rem);
    resize: none;
}

input, select, textarea {
    font-family: 'VolkswagenSerial';
    background-color: #f0f0f0;
    color: #00000080;
    width: 100%;
    height: 40px;
    margin: 0 0 1rem 0;
    padding: 0 0 0 1rem;
    border: none;
    border-bottom: 1px solid #00000050;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

input:hover, select:hover, textarea:hover {
    border-bottom: 1px solid #000000;
}

select {
    background-image: url("../img/flechaselect.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    appearance: none;
    font-size: 16px;
    opacity: 1.0;
}

select option {
    background-color: #33669920;
    color: #000000;
}

.searchicon {
    background-image: url('../img/searchicon.svg');
    background-position: 0 0;
    background-size: 20%;
    background-repeat: no-repeat;
    padding: 0 0 0 40px;
}

input[type=submit] {
    background-color: #00AA00;
    color: #ffffff;
    height: 4rem;
    margin: 1rem;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px #ffffff;
    font-family: 'VolkswagenBold';
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
    cursor: pointer; 
}

input[type=submit]:hover {
    background-color: #ffffff;
    color: #00AA00;
    box-shadow: inset 0 0 0 2px #00AA00;
    transition: 500ms;
}

.btnlista {
    font: bold 20px VolkswagenExtraBold;
    text-decoration: none;
    text-align:  center;
    height: 50px;
    background-color: #00AA00;
    color: #ffff00;
    border: 2px solid #ffff00;
    border-radius: 10px;
    margin: 1rem 0;
    padding: 10px 2rem;
    cursor: pointer; 
}

.btnlista:hover {
    background-color: #ffff00;
    border: 2px solid #00AA00;
    color: #00AA00;
    transition: 0.5s;
}

input[type=file]#subarchivo {
    background-color: #ffff00;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    z-index: -1;
}

label[for=subarchivo] {
    width: 100%;
    height: 50px;
    background-color: #00AA00;
    color: #ffffff;
    font: bold 20px VolkswagenExtraBold;
    border-radius: 50px;
    margin: 0 1rem 0 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    cursor: pointer;
    strong {
        width: fit-content;
        height: 50px;
        background-color: #ffffff;
        color: #00AA00;
        border: 1px solid #00AA00;
        text-decoration: none;
        margin: 0 1rem 0 0;
        padding: 0 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

label[for=subarchivo]:hover {
    strong, span, div {
        background-color: #ffff00;
        color: #ff0000;
        opacity: 0.6;
    }
}

label span {
    width: 70%;
    height: 50px;
    background-color: #ffffff;
    color: #00AA00;
    border: 1px solid #00AA00;
    padding: 0 1rem;
    margin: 0 1rem 0 0;
    display: flex;
    justify-content: start;
    align-items: center;
}

label div {
    width: fit-content;
    height: 50px;
    display: flex;
    background-color: #ffffff;
    color: #00AA00;
    border: 1px solid #00AA00;
    padding: 0 1rem;
    cursor: pointer;
}

label div svg {
    width: 3rem;
    height: 3rem;
    animation: iconflicker 2s linear infinite;
    polyline, line {
        color: #006900;
    }
    path {
        color: #000000;
    }
}

@keyframes iconflicker {
    0% {
        opacity: 1;
    }
    5% {
        opacity: 0.2;
    }
    15% {
        opacity: 1;
    }
    20% {
        opacity: 0.2;
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

#Arriba, #Linea {
    animation: subir 4s forwards infinite;
}

@keyframes subir {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-500px);
        opacity: 0;
    }
    100% {
        transform: translateY(-500px);
        opacity: 0;
    }
}

#OK, #Abajo {
    opacity: 0;
}

#OK {
    animation: aparecer 4s forwards infinite;
}

@keyframes aparecer {
    0% {
        transform: translateY(500px);
        opacity: 0;
    }
    50% {
        transform: translateY(0px);
        opacity: 1;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.cont-full > .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dinamicontenedor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0.5rem;
    padding: 0.5rem;
    box-shadow: 1px 1px 1px #666666;
    border: 1px solid #00000050;
    border-radius: 5px;
}

.doctituloarriba, .docbtndescarga a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 3rem;
    background-color: #00AA00;
    color: #ffffff;
    border: 2px solid #00000050;
    border-radius: 5px;
    p {
        padding: 5px;
        font-size: 1rem;
        text-align: center;
    }
}

.docbtndescarga a {
    font-family: 'VolkswagenBold';
    height: 2rem;
    padding: 0;
    font-size: 1.5rem;
    background-color: #FFAA00;
    color: #0000FF;
    transition: 0.5s;
}

.docbtndescarga a:hover {
    background-color: #0000FF;
    color: #FFAA00;
    transition: 0.5s;
}

.docportada a img {
    width: 15rem;
    height: 100%;
    margin-top: 2px;
}

#contenidocargar > div#carpetas {
    width: 100%;
    margin: 0 0 1rem 0;
}

.rowfolder {
    display: flex;
    gap: 2px;
}

#subtitulos {
    background-color: #FFAA00;
    margin: 1rem;
}

.rowfolder > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem;
}

.rowfolder > div#codificacion {
    width: 50%;
    p {
        margin-right: 1rem;
    }
    input, select  {
        margin: 0;
    }
    button {
        margin-left: 1rem;
        img {
            width: 2rem;
            height: 2rem;
        }
    }
}

.rowfolder > div#descripcion {
    width: 50%;
    p {
        width: 20%;
        margin-right: 1rem;
        text-align: right;
    }
    input {
        width: 80%;
        margin: 0;
    }
}

.rowfolder > div#completo {
    width: 100%;
    p {
        width: 10%;
        margin-right: 1rem;
        text-align: right;
    }
    input {
        width: 90%;
        margin: 0;
    }
    select {
        width: 90%;
        margin: 0;
    }
}

.rowfolder > div#fraccionado {
    width: 100%;
    p {
        width: 20%;
        margin-right: 1rem;
        text-align: right;
    }
    input {
        width: 40%;
        margin: 0;
    }
    select {
        width: 40%;
        margin: 0;
    }
}

.rowfolder > div#guardado {
    width: 100%;
    input[type=file]#subarchivo {
        width: 0%;
        margin: 0;
    }
    label {
        margin: 0;
        padding-left: 2rem;
        strong {
            width: 20%;
        }
        span {
            width: 80%;
        }
    }
    input[type=submit] {
        width: 20%;
        height: 3.1rem;
        margin: 0;
    }
}

#copyright {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    background-color: #00AA00;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
    letter-spacing: 2px;
    padding: 0;
    p {
        font-family: "VolkswagenBold";
    }
}

.stickyBottom {
    position: fixed !important;
    bottom: 0;
    z-index: 2;
}
