@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;
    margin: auto;
    background-color: whitesmoke;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 10px;
}

.tit_left {
    width: 80px;
}

.tit_left > input {
    width: auto;
    text-align: left;
    text-transform: uppercase;
    color: #00446A;
    font-weight: bolder;
    background-color: whitesmoke;
}

.tit_right  {
   display: flex;
   flex-wrap: nowrap;
   justify-content: space-around;
  
}

.tit_right > div  {
    text-align: right;
    width: 80px;
   
 }

.cab {
    width: 100%;
    height: auto;
    padding: 5px;
    margin-bottom: 2px;
    background-color: #00446A;

}
.form_busq {
    margin-top: 2px;
    margin-bottom: 2px;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.boton_busq {
    width: 95px;
    border-radius: 5px;
    font-size: 1em;
    height: 2em;
    text-align: center;
    padding: 5px;
    background-color: #ff7e00;
    color: white;
}

.texto_busq {
    width: calc(100% - 100px);
    border-radius: 5px;
    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 - 160px);
    overflow: auto;
}

.fila_master {
    width: 100%;
    height: auto;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
}


.fila {
    padding: 1px;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    background-color: whitesmoke;
}

.boton_det {
    width: 100px;
    font-size: 14px;
    height: 1.5em;
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    background-color: whitesmoke;
  
    

}

.boton_edit {
    width: 100px;
    font-size: 1em;
    height: 1.5em;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #ff7e00;
    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: 14px;
    text-transform: uppercase;
    background-color: whitesmoke;
}

/* -------------------footer--------------------- */

.fot {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  
}

.fot > div {
    width: 50%;
}


.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;
    }


  }

