/*  Nombre: main.css
    Autor: Julio Tuozzo
    Función: Hoja de estilos general
    Fecha de creación: 17/05/2025.
    Ultima modificación: 13/06/2025.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", Arial, sans-serif;
}

body {
    font-size: 16px;
    color: black;
    background-color: white;
}

input,
select,
textarea {
    border-radius: 5px;
    padding: 2px;
    background: #f5f5f5;
    border: 1px #666666 solid;
    font-size: 18px;
}

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    background: Gainsboro;
}

header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: #282828;
    color: white;
    width: 100%;
    justify-content: space-between;
    padding: 5px;
}


#footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #282828;
    color: white;
    width: 100%;
    padding: 10px;
    font-size: 0.7em;
}

#footer a {
    text-decoration: none;
    color: white;
    font-weight: normal;
}

#emailTo {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

#logo {
    width: 70%;
    margin: auto;
}

#saludo {
    display: block;
    text-align: right;
    margin-right: 10px;
    color: white;
}

#barraNavUl {
    display: none;
}

#barraNavUl li {
    padding: 0.5em;
    border-top: 1px solid gray;
    margin: 0;
    font-size: large;
}

#barraNavUl.mostrar {
    z-index: 90;
    display: flex;
    flex-flow: column wrap;
    position: absolute;
    right: 0;
    background-color: #282828;
    color: white;
    top: 104px;
    width: 160px;
    text-align: center;
    padding: 0.5em;
    list-style-type: none;

}

#barraNavUl a {
    text-decoration: none;
    color: white
}

#burger-menu {
    padding: 10px;
    cursor: pointer;
}

#ver_clave img {
    cursor: pointer;
}


#ver_clave img {
    vertical-align: text-bottom;
}

.li_derecha {
    float: right;
    margin-right: 30px;
}

.st_error {
    background: LightSalmon;
    border: 1px red solid;
}

.error {
    text-align: center;
    background-color: #C94139;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.8em;
}


.boton {
    font-size: 18px;
    border-radius: 3px;
    color: white;
    background: #63676c;
    padding: 4px;
    transition: all 0.3s ease-out;
    font-weight: bold;
    cursor: pointer;
}

.boton:hover {
    color: #63676c;
    background: gainsboro;
}

.paginado {
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 2em;
    font-size: 1.4em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.paginado img {
    width: 36px;
}

.botonera {
    display: flex;
    justify-content: space-between;
    line-height: 22px;
    margin: 15px 50px 15px 50px;
}

/* -----------------  Tablet y Desktop  ----------------- */

@media(min-width: 760px) {

    input,
    select,
    textarea {
        font-size: 16px;
    }

    header {
        display: block;
        width: 100%;
    }

    #logo {
        margin: auto;
        width: 20vw;
        max-width: 300px;
        height: auto;
    }

    .logo {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-between;
    }

    #saludo {
        font-size: 1.4em;
        margin-top: 10px;
    }

    #burger-menu {
        display: none;
    }

    #barraNavUl {
        display: block;
        margin: auto;
    }

    #barraNavUl li {
        transition: all 0.3s ease-out;
    }


    #barraNavUl li:hover {
        background-color: #63676c;
        color: gainsboro;
    }

    #barraNavUl li {
        display: inline-block;
        font-size: normal;
        border: none;
        margin: 0 1em;
        cursor: pointer;
    }

    #footer {
        flex-wrap: nowrap;
        font-size: 0.8em;
    }

    .paginado img {
        width: 48px;
    }
}