*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*INTERFAZ DATOS VENTA 1*/
.datos-venta{
    background-color: #F4F4F4;
    border: 1px solid #F4F4F4;
    width: 90%;
    height: 250px;
    margin: auto;
    border-radius: 8px;
    display: inline-block;
}
.contFormulario1{
    grid-area: formularios;
    text-align: right;
}

.cont-formulario-datos-venta{
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    column-gap: 20px;
    grid-template-areas: "folioVenta codigoFacturacion"
                         "formaPago RFC"
                         " boton boton";
}

.folioVenta{
    grid-area: folioVenta;
}

.codigoFacturacion{
    grid-area: codigoFacturacion;
}

.formaPago{
    grid-area: formaPago;
}

.rfc{
    grid-area: RFC;
}


.botonVenta{
    grid-area: boton;
}

.datos-venta input[type="text"]{
    border: 1px solid rgb(165, 165, 165);
    width:100%;
    height: 30px;
}

.datos-venta select{
    border: 1px solid rgb(165, 165, 165);
    width: 100%;
    height: 30px;
}

.datos-venta p{
    margin-top: 25px;
}

.btn-datos-venta{
    background-color: #7D7D7D;
    color: white;
    width: 100%;
    height: 30px;
    border: 1px solid #7D7D7D;
    margin-top: 30px;
    cursor: pointer;
}







/*INTERFAZ DATOS VENTA 2*/
.datos-venta2{
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.datos-venta2 input[type="text"]{
    border: 1px solid rgb(165, 165, 165);
    width: 80%;
    height: 30px;
}

.datos-venta2 select{
    border: 1px solid rgb(165, 165, 165);
    width: 80%;
    height: 30px;
}

.cont-siguiente2{
    display: flex;
    justify-content: end;
    align-items: flex-end;
}

.cont-siguiente2 input{
    background-color: #7D7D7D;
    color: white;
    width: 100%;
    height: 30px;
    border: 1px solid #7D7D7D;
    cursor: pointer;
}


/*INTERFAZ DATOS CLIENTE 1*/
.datos-rfc-cliente{
    margin-top: 40px;
}

.cont-rfc-cliente{
    width: 20%;
    margin: auto;
    padding:15px 15px;
    background-color: #F4F4F4;
    border: 1px solid #F4F4F4;
}

.cont-rfc-cliente input[type="text"]{
    border: 1px solid #7D7D7D;
    width: 100%;
    height: 30px;
    margin-top: 20px;
}

.cont-rfc-cliente input[type="button"]{
    background-color: #7D7D7D;
    color: white;
    width: 100%;
    height: 30px;
    border: 1px solid #7D7D7D;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
}

.datos-cliente{
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 45px 25px;
}

.datos-cliente input[type="text"], .datos-cliente select{
    border: 1px solid #7D7D7D;
    width: 100%;
    height: 37px;
}

.cont-datos-cliente{
    width: 100%;
}

.cont-tabla-productos{
    margin-top: 30px;
    width: 100%;
    height: 300px;
    background-color: #F4F4F4;
    overflow-y: scroll;
}

.cont-tabla-productos table{
    width: 100%;
}

.cont-tabla-productos table thead tr{
    background-color: #7D7D7D;
    color: white;
    height: 30px;
}

.cont-btn-facturar-cliente input{
    width: 200px;
    height: 30px;
    background-color: #7D7D7D;
    color: white;
    cursor: pointer;
}

.titulo-seccion{
    margin-top: 60px;
    margin-bottom: 5px;
    font-size: 25px;
}

.productos-cliente td{
    border-bottom: 1px solid #7D7D7D;
    padding-top: 10px;
    padding-bottom: 10px;

}

.cont-total-facturar{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
}

.cont-btn-facturar-cliente{
    text-align: left;
}

.cont-total{
    text-align: right;
    margin: 0;
    position: relative;
}

.cont-total h1{
    position: absolute;
    right: 0px;
    top: 0px;
    color: #7D7D7D;
}
/*FIN INTERFAZ DATOS CLIENTE*/


/*INTERFAZ RESPUESTA FACTURA*/
.fondo{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.fondo2{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/*VENTANA SUCCESS*/
.ventana-respuesta-success{
    background-color: white;
    width: 600px;
    height: 400px;
    border-radius: 10px;
    position: relative;
}

.titulo-success{
    font-size: 2.7rem;
    width: 100%;
    height: 45px;
    background-color: #7D7D7D;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
}

.cont-acciones-success{
    margin: 35px;
}

.cont-acciones-success .indicaciones{
    font-size: 1.9rem;
    width: 100%;
    text-align: justify;
}

.cont-botones-success{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 60px;
    margin-left: 60px;
    margin-right: 60px;

}

.cont-botones-success .cont-2{
    width: 100%;
    height: 150px;
    border-radius: 10px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cont-botones-success .cont-texto{
    text-align: center;
}

.cont-texto a{
    font-size: 5rem;
}

.cont1{
    background-color: #7D7D7D;
    color: white;
    cursor: pointer;
}

.cont1:hover{
    background-color: #969494;
}

.cont2{
    background-color: #e0e0e0;
    color: #7D7D7D;
    cursor: pointer;
}

.cont2:hover{
    background-color: #c9c8c8;
}

.btn-reenviar-success{
    text-align: center;
    font-size: 2rem;
    margin: auto;
    margin-top: 30px;
    width: 78%;
    border-radius: 5px;
    background-color: #7D7D7D;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;
    
}

.btn-reenviar-success:hover{
    background-color: #969494;
}

.btn-cerrar-success{
    font-size: 1.8rem;
    position: absolute;
    right: 40px;
    top: 14px;
    color: white;
    cursor: pointer;
}

.ventana-espera {
    width: 70px;
    height: 70px;
    border: 10px solid #eee;
    border-top: 10px solid #666;
    border-radius: 50%;
    animation-name: girar;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  
  @keyframes girar {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .btn-consulta-exitosa{
    margin-bottom: 100px;
  }
/*FIN DE VENTANA SUCCESS*/


/*VENTANA ERROR*/
.ventana-respuesta-error{
    background-color: white;
    width: 500px;
    height: 320px;
    border-radius: 10px;
    position: relative;
}

.titulo-error{
    font-size: 2.7rem;
    width: 100%;
    height: 45px;
    background-color: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
}

.cont-errores{
    width: 85%;
    height: 110px;
    background-color:#c9c8c8;
    overflow-y: scroll;
    margin: auto;
    font-size: 15px;
    padding-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
}
/*FIN DE VENTANA ERROR*/
/*FIN INTERFAZ RESPUESTA FACTURA*/


/*INTERFAZ CONSULTAR FACTURA*/
.formularioConsulta{
    width: 90%;
    margin: auto;
    background-color: #F4F4F4;
    padding: 25px;
    border-radius: 5px;
}

.formularioConsulta select{
    width: 100%;
    height: 25px;
    margin-top: 10px;
}

.btnSeleccionarMetodoB{
    width: 100%;
    height: 28px;
    margin-top: 25px;
    background-color: #7D7D7D;
    color: white;
}

.inputDatos{
    width: 100%;
    height: 30px;
    border: 1px solid rgb(165, 165, 165);
}

.textDatos{
    margin-top: 23px;
}

.btnConsultarDatos{
    width: 100%;
    height: 28px;
    margin-top: 25px;
    background-color: #7D7D7D;
    color: white;
    cursor: pointer;
}

.tablaDatosConsulta{
    width: 100%;
}

.tablaDatosConsulta thead tr{
    background-color: #7D7D7D;
    color: white;
}

.tablaDatosConsulta thead tr td, .tablaDatosConsulta tbody tr td{
    height: 30px;
}

.btn-consulta-exitosa{
    display: grid;
    grid-template-columns: repeat(3,1fr);
}
.btn-consulta-exitosa div{
    margin-top: 60px;
}

.btn-consulta-exitosa div input{
    width: 100%;
    height: 33px;
    cursor: pointer;
}

.cont-btn-descargar-pdf{
    padding-right: 10%;
}

.cont-btn-descargar-xml{
    padding-right: 5%;
    padding-left: 5%;
}

.cont-btn-reenviar{
    padding-left: 10%;
}

.cont-btn-reenviar input{
    background-color: #7D7D7D;
    color: white;
}
/*FIN INTERFAZ CONSULTAR FACTURA*/


/*MEDIA QUERYS*/


/* Tablets en horizonal y escritorios normales
   ------------------------------------------------------------------------- */
   @media (max-width:1200px) and (min-width:768px){
}

/* Móviles en horizontal o tablets en vertical
   ------------------------------------------------------------------------- */
@media (max-width:767px){
}

/* Móviles en vertical
   ------------------------------------------------------------------------- */
@media (max-width:480px){

    .contFormulario1{
        text-align: initial;
    }

    .datos-venta{
        width: 100%;
        height: auto;
        margin-top: 30px;
        border-radius: 0;

    }

    .cont-formulario-datos-venta{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        column-gap: 20px;
        grid-template-areas: "folioVenta"
                             "codigoFacturacion"
                             "formaPago"
                             "RFC"
                             "boton";
        margin-bottom: 20px;
    }

    .datos-venta input[type="text"]{
        height: 40px;
    }

    .cont-formulario-datos-venta input{
        height: 40px;
        
    }

    .cont-formulario-datos-venta select{
        height: 40px;
    }

    .cont-formulario-datos-venta input[type="button"]{
        font-size: 22px;
    }

    .cont-formulario-datos-venta p{
        font-size: 22px;
    }

    .datos-cliente{
        grid-template-columns: 1fr;
    }

    .cont-tabla-productos{
        overflow-x: scroll;
    }
    .cont-total-facturar{
        grid-template-columns:1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "total"
                             "btn-facturar";
                             gap: 30px;
    }

    .cont-btn-facturar-cliente{
        grid-area: btn-facturar;
    }

    .cont-btn-facturar-cliente input{
        width: 100%;
        font-size: 22px;
        height: 40px;
        
    }

    .cont-total{
        grid-area: total;
    }

    .formularioConsulta{
        width: 100%;
        border-radius: 0;
        margin-top: 30px;
    }

    .formularioConsulta p{
        font-size: 22px;
    }

    .formularioConsulta input{
        height: 40px;
    }

    .formularioConsulta select{
        height: 40px;
    }

    .btn-consulta-exitosa{
        grid-template-columns: 1fr;
    }

    .cont-btn-descargar-pdf{
        padding-right: 0;
        color: #7D7D7D;
    }
    
    .cont-btn-descargar-xml{
        padding-right: 0;
        padding-left: 0;
        color: #7D7D7D;
    }

    .cont-btn-descargar-pdf input, .cont-btn-descargar-xml input{
        color: #7D7D7D;
    }
    
    .cont-btn-reenviar{
        padding-left: 0;
    }

    .btn-consulta-exitosa div{
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .btn-consulta-exitosa div input{
        height: 48px;
        font-size: 21px;
    }
    
    .tablaDatosConsulta{
        margin-top: -70px;
    }
    




}

/*FIN DE MEDIA QUERYS*/

