@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

*{
    box-sizing: border-box;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    font-family: 'Open Sans', sans-serif;
  
 
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    }


/* -------------------cabecera---------------------- */

body {
    width: 100%;
    height: 100vh;
    position: relative;
}

.titulo_opcion {
    width: 100%;
    height: auto;
    text-transform: uppercase;
    margin: auto;
}

.titulo_opcion > input {
    width: 100%;
    font-size: 1em;
    text-align: center;
    background-color: gray;
    color: white;
    padding: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

.cab {
    width: 100%;
    height: 11em;
    padding: 5px;
    margin-bottom: 2px;

}
.form_busq {
    margin-top: 2px;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
}

.boton_busq {
    width: 100px;
    font-size: 1em;
    height: 2em;
    text-align: center;
    padding: 5px;
    background-color: #0069c0;
    color: white;
}

.texto_busq {
    width: calc(100% - 100px);
    height: 2em;
    text-align: left;
    border-width: 1px;
    border-color: gray;
    border-style: solid;
    padding: 5px;
    font-size: 1em;
    text-transform: uppercase;
    background-color: whitesmoke;
}

.texto_hidden {
    visibility: hidden;
    width: calc(100% - 100px);
    height: 2em;
    text-align: center;
    border-width: 1px;
    border-color: gray;
    border-style: solid;
    padding: 5px;
    font-size: 1em;
    text-transform: uppercase;
    background-color: whitesmoke;
}

/* -------------------lista productos---------------------- */

.det {
    width: 100%;
    height: calc(90vh - 13em);
    overflow: auto;
}

.fila_master {
    width: 100%;
    height: auto;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
}


.fila {
    padding: 3px;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    background-color: whitesmoke;
}

.boton_det {
    width: 100px;
    font-size: 1em;
    height: 1.5em;
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    background-color: whitesmoke;
    border-radius: 5px;
    

}

.boton_edit {
    width: 100px;
    font-size: 1em;
    height: 1.5em;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    background-color: red;
    color: white;
    border-radius: 5px;

}
.boton_edit_dos {
    width: 100px;
    font-size: 1em;
    height: 1.5em;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #0069c0;
    color: white;
    border-radius: 5px;

}

.texto_det {
    width: calc(100% - 100px);
    height: 1.5em;
    text-align: right;
    padding: 10px;
    font-size: 1em;
    text-transform: uppercase;
    background-color: whitesmoke;
}

/* -------------------footer--------------------- */

.fot {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
  
}


.seleccionado {
    width: 100%;
    height: 16em;
}

.titulo {
    width: 100%;
    height: 1.5em;
    text-align: center;
    padding: 10px;
    font-size: 1em;
    text-transform: uppercase;
    background-color: gray;
    color: white;
}

.insertar {
    width: 100%;
    height: auto;
    font-size: 1em;
    text-align: center;
    padding:10px;
    background-color: green;
    color: white;
   
}


.salir {
    width: 100%;
    height: auto;
    font-size: 1em;
    text-align: center;
    background-color: red;
    color: white;
    padding: 10px;
}

.grabar {
    width: 100%;
    height: auto;
    font-size: 1em;
    text-align: center;
    background-color: green;
    color: white;
    padding: 10px;
}

.form_salir {
    width: 100%;
    padding: 10px;

}




@media screen and  (max-width: 850px) {
    .web {
      display: none;
    }


  }

  

@media screen and  (min-width: 851px) {
    .mobil {
      display: none;
    }
    .web {
        display: block;
    }


  }

