/*******************************************/
/*                 general                 */
/******************************************/
body {
    background-color: #00559f;
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    color: #EEEEEE;
    text-decoration: none;
}
h2{
    font-size: 14pt;
    padding: 10px;
}

.alert .alert-error {
    background-color: lightpink;
}
/*******************************************/
/*                 header                 */
/******************************************/

header {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
header .logo {
    text-align: right;
    margin-right: 20px;
    margin-left: 20px;
    max-width: 50%;
}
header .logo img {
    max-width: 83px;
    max-height: 100px;

}
.datoslogin{
    margin-left: 20px;
    padding: 5px;;
    font-size: 0.75rem;
    max-width: 40%;
}

header {
    top: 0;
    position:  sticky;
    background-color: #00559f;
    border-bottom: 4px solid rgba(0, 0, 0, 20%);
    z-index: 99999;
}

nav a {
    display: inline-block;
    background-color: #00559f;
    font-weight: bold;
    color: #EEEEEE !important;
}
nav a:hover {
    background-color: rgba(0, 0, 0, 20%) !important;
}

nav a:active {
    background-color: rgba(255, 255, 255, 20%);
}

nav .dropdown-menu, nav .dropdown-menu .dropdown-item {
    background-color: #00559f;
}

.nav-item .nav-link {
    padding: 0.5rem;
}

/*******************************************/
/*                 formularios             */
/******************************************/

.w100{
    width: 100%;
}
.w60{
    width: 60%;
}
.w50{
    min-width: 50%;
}
.w40{
    width: 40%;
}

.fiel {
    display: inline-flex;
}
.field label {
    width: 10rem;
    display: inline-block;
    text-align: right;
    padding: 5px;
    margin: 5px;
}
.field input {
    line-height: 1.5;
    min-width: 20em;
    border: 1px solid #dee2e6;
    border-color: rgba(0, 0, 0, 0.175);
    background-color: #EEEEEE;
    border-radius: 0.375rem;
    padding: 5px;
    font-size: 10pt;
}

.boton {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #EEEEEE;
    background-color: #00559f;
    border: #EEEEEE 2px solid;
    border-radius: 10px;
    padding: 5px;
    margin: 5px;
    display: inline-block;
    text-decoration: none;
}
.boton:hover{
    background-color: rgba(0, 0, 0, 20%);
    color: #EEEEEE;
}
.boton:active{
    background-color: rgba(255, 255, 255, 20%);
    color: #EEEEEE;
}
.campo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding:5px;
}
.tag, .input{
    padding: 5px;
}
.tag {
    text-align: right;
}
.input{
    text-align: left;
}
.post-form {
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 400px;
    justify-content: space-between;
}

.post-form .submit{
    width: 95%;
}
.input input, .input select, .input option{
        line-height: 1.5;
        min-width: 20em;
        border: 1px solid #dee2e6;
        border-color: rgba(0, 0, 0, 0.175);
        background-color: #EEEEEE;
        border-radius: 0.375rem;
        padding: 5px;
        font-size: 10pt;
}
.ayuda{
    padding: 5px;
    font-size: 12px;
    max-width: 50%;
}

/*******************************************/
/*                 listados               */
/******************************************/

.entidades{
    margin: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}

.entidades .boton {
    font-size: 0.75rem;
}

.oscura{
    background-color: rgba(0, 0, 0, 20%);
}
.clara{
    background-color: rgba(255, 255, 255, 20%);
}

.detalle{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 5px;
    justify-content: space-between;
    flex: 20%;
}
.datos{
    padding: 5px;
    min-width: 20%;
}
h3 {
    text-align: center;
}

.opciones{
    width: 95%;
}

/*******************************************/
/*                 paginas                */
/******************************************/

.home{
    margin: 50px;
    min-height: 30vh;
    vertical-align: middle;
    text-align: center;
    justify-content: space-around;
    justify-items: center;
}

/*******************************************/
/*                 footer                 */
/******************************************/

footer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    vertical-align: middle;
    justify-content: center;
}

.selection, .select2-container, .select2-container--default, .select2-container--open {
    color: #222;
    font-size: 10pt;
}

.secccapfed{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 100%;
    justify-content:center;
    vertical-align: middle;
}
.secc{
    font-size: 14px;
    font-weight: bold;
}
.capfed{
    font-size: 18px;
    font-weight: bold;
}
footer .logo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.copy {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 100%;
    justify-content:center;
    vertical-align: middle;
    margin-left: 50px;
}

/**{
    border: 1px dotted greenyellow;
}*/

/***************************************************/


/*                DASHBOARD                        */


/***************************************************/

#dashboard {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    align-items: flex-start;
    padding: 10px;
    width: 100%;
    min-height: 100%;
}

#dashboard .widjet {
    margin: 10px;
    text-align: left;
    padding: 20px;
    width: 45%;
    min-width: 350px;
    min-height: 250px;
    height: 100%;
    border: white 2px solid;
    border-radius: 20px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 50%);
}

.boton {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 50%);
}

#dashboard form {
    max-width: 100%;
}

#dashboard .tag {
    min-width: 40%;
}

@media screen and (max-width: 400px) {
    #dashboard .widjet {
        margin: 5px;
        text-align: left;
        padding: 5px;
        width: 45%;
        min-width: 300px;
        min-height: 200px;
    }
    .home {
        margin: 10px;
    }
    form {
        padding: 0 !important;
    }
    .input textarea,
    .input input,
    .input select,
    .input option {
        min-width: 0;
        max-width: 95%;
    }
    .input option {
        word-wrap: break-word;
        white-space: normal;
        height: auto;
    }
}

.nuevo {
    background-color: darkgreen;
}

.borrar {
    background-color: darkred;
}

.editar {
    background-color: darkslateblue;
}

.boton_ch {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    color: #EEEEEE;
    background-color: #00559f;
    border: none;
    border-radius: 5px;
    padding: 2px;
    padding-left: 4px;
    padding-right: 4px;
    margin: 2px;
    display: inline-block;
    text-decoration: none;
    text-transform: lowercase;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.blanco {
    background-color: white !important;
}

input[type=number] {
    max-width: 100px;
}