:root{
    --vegara-yellow : rgba(250,252,3);
    --vegara-yellow-light: rgba(250,252,3,.3);
    --vegara-green: rgba(17,100,30,1);
    --vegara-green-light: rgba(17,100,30,.3);
    --vegara-grey: rgba(143,145,145,1);
    --vegara-grey-light: rgba(143,145,145,.3);
    --fuente-login: 16px;
    --fuente-nav: 16px;
    --fuente-normal: 16px;
    --fuente-mini: 10px;
    --navlink-width: 170px;
}

@media screen and (max-width: 1366px){
    :root{    
        --fuente-login: 14px;
        --fuente-nav: 14px;
        --fuente-normal: 14px;
        --navlink-width: 100px;
    }
}

@media screen and (max-width: 360px){
    :root{    
        --fuente-login: 12px;
        --fuente-nav: 12px;
        --fuente-normal: 12px;
        --navlink-width: 100px;
    }
}

.container{
    min-width: 90%;
}

/* Index */

body{
    font-family: 'Open Sans',sans-serif;
}

.body-login {
    height: 100%;
    background-repeat: no-repeat;    
}

.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}

.btn {
    font-weight: 700;
    min-height: 45px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
    margin-top: 40px;
}

.card {
    background-color: #F7F7F7;    
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;    
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.logo-login {
    width: 260px;    
    margin: 0 auto 30px;
    display: block;    
}

.form-login #usuario,
.form-login #password {
    direction: ltr;
    height: 44px;
    font-size: var(--fuente-login);
}

.form-login input[type=user],
.form-login input[type=password],
.form-login input[type=text],
.form-login button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-login .form-control:focus {
    border-color: var(--vegara-green);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}

.btn.btn-login {    
    background-color: var(--vegara-green);    
    padding: 0px;
    font-weight: 700;
    font-size: var(--fuente-login);
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
}

/* Menu */

header{
    background-color: white;
    padding: 5px;
    border-bottom: 3px solid;
    border-color: var(--viper-red);
}

.logo-navbar{
    width: 100px;        
}

.nav-custom {
    background-color: white;
}

.nav-custom .nav-link {
    color: var(--vegara-green);
    font-size: var(--fuente-nav);
    font-weight: 300;
    min-width: var(--navlink-width);
    border-radius: 5px;
    text-align: center;
}

.nav-custom .dropdown-item {
    color: var(--vegara-green);
    font-size: var(--fuente-nav);
    font-weight: 300;
    min-width: var(--navlink-width);
    border-radius: 0px;
    text-align: center;
}


.nav-custom .nav-link:hover {   
    background-color: var(--vegara-green-light);    
}

.nav-custom .dropdown-item:hover {
    background-color: var(--vegara-green-light);    
}

.nav-custom .nav-link.disabled {
    background-color: white;    
}

.nav-custom .dropdown-item.disabled {
    background-color: white;    
}
.nav-custom .nav-link.active {
    color: var(--vegara-yellow) !important;
    background-color: var(--vegara-green);
    font-weight: 600;
}

.nav-custom .dropdown-item.active{
    color: white;
    background-color: var(--vegara-green);
    font-weight: 600;
}

/* Partes */

.logo-partes{
    margin: auto;
    margin-top: 10px;
    margin-bottom:10px;
}
.titulo-partes{
    font-size: var(--fuente-normal);    
    text-align: center;  
    background-color: var(--vegara-green);  
    color: var(--vegara-yellow);
    padding: 6px;
    border: 1px solid;
    border-color: var(--vegara-green);

}

.nombre-partes{
    font-size: var(--fuente-normal);    
    text-align: center;  
    background-color: white;
    color: black;
    padding: 6px;
    border: 1px solid;
    border-color: var(--vegara-green);
}

.form-group{
    padding: 2px;
    margin-bottom: 0px;
}

.etiqueta{
    font-size: var(--fuente-normal);
}

.form-control{
    font-size: var(--fuente-normal);
}

.btn-guardar,.btn-partes{
    font-size: var(--fuente-normal);
    width: 100%;
    color: var(--vegara-yellow);
    background-color: var(--vegara-green);
}

#lista_partes{
    font-size: var(--fuente-mini);
}

.erroneo{
    border: 2px solid red;
}

.imagen_error{
    max-width: 320px;
    margin: auto;
}

#texto_error{
    text-align: center;
    color: red;
}

.boton-modal{
    width: 80%;
    background-color: red;
    color: yellow;
    margin: 10px;
}

.imagen-ok{
    max-width: 320px;
    margin: auto;
    margin-top: 60px;
}

.boton-continuar{
    width: 80%;
    background-color: lime;
    color: black;
    margin: 10px;
    margin-top: 40px;
}

.boton-salir{
    width: 80%;
    background-color: red;
    color: white;
    margin: 10px;
    margin-top: 40px;
}

.form-control disabled {
    background-color: grey;
}

/* Módulos aplicación */

.cabecera-modulo {
    background-color: var(--vegara-green);
    color: var(--vegara-yellow);
    text-align: center;
    font-size: var(--fuente-normal);
}

.lista-datos{
    max-height: 70vh;
    overflow-y: auto;
}

.lista-datos-mini{
    max-height: 60vh;
    overflow-y: auto;
}

.tabla-edicion th{
    font-size: var(--fuente-normal);    
}

.tabla-edicion td{
    font-size: var(--fuente-normal);    
}

.td-usuario {
    width: 10%;    
}
.td-passwd {
    width: 10%;
}
.td-administrador {
    width: 10%;
}
.td-activo {
    width: 10%;
}
.td-descripcion {
    width: 50%;
}

.td-accion {
    width: 5%;
}

.td-center {
    text-align: center;
}

.btn-accion{
    width: 20px;
    cursor: pointer;
}

.td-emp-empleado {
    width: 10%;    
}
.td-emp-nombre {
    width: 50%;
}

.td-emp-activo {
    width: 10%;
}
.td-emp-usuario {
    width: 20%;
}

.td-tra-tractor {
    width: 10%;    
}
.td-tra-descripcion {
    width: 70%;
}

.td-tra-activo {
    width: 10%;
}

.td-ape-apero {
    width: 10%;    
}
.td-ape-descripcion {
    width: 70%;
}

.td-ape-activo {
    width: 10%;
}

.td-cli-cliente {
    width: 10%;    
}
.td-cli-descripcion {
    width: 70%;
}

.td-cli-activo {
    width: 10%;
}

.td-fin-finca {
    width: 10%;    
}
.td-fin-descripcion {
    width: 35%;
}

.td-fin-activo {
    width: 10%;
}
.td-fin-cliente {
    width: 35%;
}

.td-apt-apero {
    width: 90%;
}

#datos_busqueda {
    font-size: 12px;
    padding: 2px;
}

#datos_busqueda .form-control {
    font-size: 12px;
    padding: 2px;
}

#datos_busqueda .tabla-informe {
    font-size: 12px;
}

.lista-partes {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 12px;
    padding: 0px;
}

.tabla-informe{
    font-size: 11px;
}

.td-par-fecha{
    width: 4%;
}
.td-par-empleado{
    width: 16%;
}

.td-par-tipo{
    width: 9%;
}

.td-par-clase{
    width: 4%;
}

.td-par-parte{
    width: 4%;
}

.td-par-tractor{
    width: 4%;
}

.td-par-apero{
    width: 11%;
}

.td-par-cliente{
    width: 12%;
}

.td-par-finca{
    width: 12%;
}

.td-par-horas{
    width: 4%;
}

.td-par-comentarios {
    width: 16%;
}

.td-par-accion {
    width: 4%;
}
.td-numero {
    text-align: right;
}



.img-icono{
    width: 30px;
    display: inline;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 20px;
}

.edicion-partes{
    width: 100%;    
    padding: 10px;
}

.botones-partes{
    width: 100%;    
    padding: 10px;
    text-align: center;
}

.btn-guardar-modal{
    font-size: var(--fuente-normal);
    width: 30%;
    color: var(--vegara-yellow);
    background-color: var(--vegara-green);
}

.btn-borrar-modal{
    font-size: var(--fuente-normal);
    width: 30%;
    color: var(--vegara-yellow);
    background-color: var(--vegara-green);
}

.btn-cancelar-modal{
    font-size: var(--fuente-normal);
    width: 30%;
    color: white;
    background-color: red;
}