body{
    background-image: url('../img/fondo_digital_nuevo.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
}

body, h1, h2, h3, h4, h5, h6  {
  font-family: Tahoma, "Trebuchet MS", sans-serif;
}

.p1 {
    margin-left: 3%;
}

.titulo_pago_descripcion {
    margin-top: 0.2%; 
    margin-left: 3%;
}

#imagen_cabecera{
 width: 164px;
 margin-left: 2%;
 margin-top: 2%;
}

#imagen_cabecera_2{
    display: none;
}

#formulario{
    margin-left: 2%;
    margin-top: 5%;
}

hr{
    border: 1px solid green;
    margin-top: -1%;
}

#title_form{
    margin-left:10%;
    font: 20px Verdana;
}

#user_name{
    margin-left:13%;
    font: 20px Verdana;
}

#user_comercio{
    margin-left:10%;
    font: 20px Verdana;
}

.labeles{
    font: 15px Verdana;
}

.input_date{
    width: 40px;
}

.input_date_div{
    margin-top: 1%;
}

#codigo_validacion{
    width: 50px;
}

#tarjeta{
    width: 50px;
}

.button_submit{
    background-color: #006A5C; /* Green */
    border: none;
    color: white;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font: 15px Verdana;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 30px;
    width: 100px;
}

* {
    margin: 0;
    padding: 0;
  }
  table tr {

    border-spacing: 0;
    display: inline-flex;
    border: #000000 1px solid;
    border-radius: 10px;
  }
  table tr td,
  table tr th {
    border: 1px solid #ddd;
    padding: 10px;
    width: 200px;
    text-align: center;
    border: #000000 1px solid;
    border-radius: 10px;
  }
  table tr td:not(first-child),
  table tr th:not(first-child) {
    border-right: 0;
    border: #000000 1px solid;
    border-radius: 10px;
  }
  
  tbody {
    height: 44px;
    overflow: hidden;
    display: inline-flex;
    border-radius: 10px;

  }

  #factura {
   margin-left:10%;

  }

  #factura_terminar {
    margin-left:15%;
 
   }

  #producto{
    width: 30%;
    margin-left: 3%;
    margin-bottom: 2%;
    border-radius: 10px;
  }



  .error {
    border: 1px solid;
    margin: 10px 0px 10px;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    font-family:Arial, Helvetica, sans-serif;
    font-size:13px;
    text-align:left;
    width:40%;
    border-radius: 10px;
}

.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../img/imagen_error.png');
}


.error_general {
  border: 1px solid;
  margin-left: 3%;
  margin-top: 10%;
  padding:15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
  font-family:Arial, Helvetica, sans-serif;
  font-size:13px;
  text-align:left;
  width:30%;
  height: 60px;
  border-radius: 10px;
}

.error_general {
  color: #D8000C;
  background-color: #FFBABA;
  background-image: url('../img/imagen_error.png');
}

#razon_entidad{
  color:red;
  text-transform: uppercase;
}

.error_display {
    display: none;
}

.loader {
  margin: auto;
  border: 5px solid #EAF0F6;
  border-radius: 50%;
  border-top: 5px solid #000000;
  width: 50px;
  height: 50px;
  animation: spinner 4s linear infinite;
  position:absolute;
  top: 50%;
  left:50%;
  display:none;
}

@keyframes spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

input[type=number]::-webkit-inner-spin-button {
    opacity: 1
}

/* Media query para pantallas de celulares */
@media (max-width: 767px) {
  body {
    background-image: url('../img/Movil.jpg'); /* Ruta de la imagen de fondo para celulares */
    background-size: cover; /* Ajustar la imagen al tamaño de la pantalla */
    background-repeat: no-repeat; /* Evitar la repetición de la imagen */
    background-attachment: fixed; /* Fijar la imagen de fondo */
    background-position: center center; /* Centrar la imagen de fondo */
    background-color: transparent; /* Hacer que el color de fondo sea transparente */
  }

  #imagen_cabecera{
    display: none;
  }

  #imagen_cabecera_2{
    display: table;
  }

  #formulario{
    margin-top: 30%;
  }

  #producto{
    width: 90%;
  }

  #factura{
    margin-left:15%;
  }

  #factura_terminar{
    margin-left:30%;
  }

  h4,p{
    font: 120% sans-serif;
  }

  body, h1, h2, h3, h4, h5, h6  {
    font-family: Tahoma, "Trebuchet MS", sans-serif;
  }



  #valores {
    background-image: url('../img/Movil.jpg'); /* Ruta de la imagen de fondo para celulares */
    background-size: cover; /* Ajustar la imagen al tamaño de la pantalla */
    background-repeat: no-repeat; /* Evitar la repetición de la imagen */
    background-attachment: fixed; /* Fijar la imagen de fondo */
    background-position: center center; /* Centrar la imagen de fondo */
    background-color: transparent; /* Hacer que el color de fondo sea transparente */
  }


}


@media (min-width: 768px) and (max-width: 1024px) {
  body{
    background-image: url('../img/Movil.jpg');
    background-size: cover;
  }

  #factura_terminar{
    margin-bottom: 60%;
  }
  #factura{
    margin-bottom: 60%;
  }
  body, h1, h2, h3, h4, h5, h6  {
    font-family: Tahoma, "Trebuchet MS", sans-serif;
  }
}
