/* ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* MEDIA QUERIES 																									  */
/* ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */


/***********************************************
Pantalla 3480x2160 16:9 4K
***********************************************/
@media only screen and (min-width:2651px) and (max-width: 3840px) {
	
	.show-mobile { display:none !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:inherit; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:none !important; }
	
	th.show-screen { display:table-cell; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	td.show-screen { display:table-cell; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }	
	
	.bloqueBotones {
		display: none !important;
	}
	
	.bloqueCampoFormulario select {
		width: 100% !important;
	}

}


/***********************************************
Pantalla 2560x1440 16:9 2K
***********************************************/
@media only screen and (min-width:1921px) and (max-width: 2560px) {

	.show-mobile { display:none !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:inherit; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:none !important; }
	
	th.show-screen { display:table-cell; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	td.show-screen { display:table-cell; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }

	.bloqueBotones {
		display: none !important;
	}

	.bloqueCampoFormulario select {
		width: 100% !important;
	}

}


/***********************************************
Pantalla 1920x1080 16:9 
***********************************************/
@media only screen and (min-width:1681px) and (max-width: 1920px) {

	.show-mobile { display:none !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:inherit; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:none !important; }
	
	th.show-screen { display:table-cell; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	td.show-screen { display:table-cell; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }

	.bloqueBotones {
		display: none !important;
	}

	.bloqueCampoFormulario select {
		width: 100% !important;
	}

}


/***********************************************
Pantalla 1680x1050 16:10
***********************************************/
@media only screen and (min-width:1367px) and (max-width: 1680px) {

	.show-mobile { display:none !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:inherit; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:none !important; }
	
	th.show-screen { display:table-cell; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	td.show-screen { display:table-cell; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }

	.bloqueBotones {
		display: none !important;
	}
	
	.bloqueCampoFormulario select {
		width: 100% !important;
	}

	#previoImagenContenedor {
		width: 55%;
	}

}


/***********************************************
Pantalla 1366x768 16:9
***********************************************/
@media only screen and (min-width:1281px) and (max-width: 1366px) {

	.show-mobile { display:none !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:inherit; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:none !important; }
	
	th.show-screen { display:table-cell; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	td.show-screen { display:table-cell; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }

	.bloqueBotones {
		display: none !important;
	}

	.bloqueCampoFormulario select {
		width: 100% !important;
	}

	#previoImagenContenedor {
		width: 70%;
	}

}


/***********************************************
Pantalla 1280x720 16:9
***********************************************/
@media only screen and (min-width:1025px) and (max-width: 1280px) {

	.show-mobile { display:none !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:inherit; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:none !important; }
	
	th.show-screen { display:table-cell; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	td.show-screen { display:table-cell; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }

	.bloqueBotones {
		display: none !important;
	}

	.bloqueCampoFormulario select {
		width: 100% !important;
	}

	#previoImagenContenedor {
		width: 75%;
	}

    .botonInformeProductos {
        margin-left: 1rem;
    }

}


/***********************************************
Pantalla 1024x600 16:10
***********************************************/
@media only screen and (min-width:960px) and (max-width: 1024px) {

	.show-mobile { display:none !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:inherit; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:none !important; }
	
	th.show-screen { display:table-cell; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	td.show-screen { display:table-cell; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }

	.bloqueBotones {
		display: none !important;
	}

	#mensajeResultados {
		width: 45%;
	}

	.bloqueCampoFormulario select {
		width: 100% !important;
	}

	#previoImagenContenedor {
		width: 100%;
	}
	.bRecortarFoto {
		line-height: 15px;
	}

    .botonInformeProductos {
        margin-left: 1rem;
    }

}


/***********************************************
Tablet 
***********************************************/
@media only screen and (min-width:768px) and (max-width: 959px) {
	
	.show-mobile { display:none !important; }
	.show-tablet { display:inherit !important; }
	.show-screen { display:none !important; }
	.hide-mobile { display:inherit !important; }
	.hide-tablet { display:none !important; }
	.hide-screen { display:inherit !important; }	
	
	th.show-tablet { display:table-cell !important; }
	th.hide-mobile { display:table-cell !important; }
	th.hide-screen { display:table-cell !important; }	
	td.show-tablet { display:table-cell !important; }
	td.hide-mobile { display:table-cell !important; }
	td.hide-screen { display:table-cell !important; }	

	#cabecera {
		align-items: center;
	}

	#contenedor {
	    width: 100%;
	    min-height: 100vh;
	    margin: 0px;
	}

	#mensajeResultados {
		width: 50%;
	}

    .botoneraInformes {
        width: 100%;
        flex-wrap: wrap;
    }
	
	#bTitularBuscador {
		width: calc(100% - 570px);
	}

	#bLogin {
		width: calc(50% - 20px);
	}
	
	#bPassword {
		width: calc(50% - 20px);
	}
	
	#bConfirmacionPassword {
		width: calc(50% - 20px);
	}
	
	#bPermisos {
		width: calc(50% - 20px);
	}		
	
	.opcionMenu p {
	    line-height: 1.1rem; 
	    font-size: .75rem;
	}	
	
	.botonesTabla {
		width: 80px !important;
	}
	
	.colgadorSubTabla {
	    background-size: 70px auto;
	}
	
	td.botonesTabla img {
		width: 25px;
	    margin: 0px 5px 5px 5px !important;
	}	
	
	#previoImagenContenedor {
 	   width: 90%;
       margin: 10px auto 10px auto;
	}
	
	.bloqueBotones {
		display: none !important;
	}

	.bloqueCampoFormulario select {
		width: 100% !important;
	}

    .botonInformeProductos {
        margin: 18px auto 0px auto;
    }

}


/***********************************************
Mobile (portrait)
***********************************************/
@media only screen and (max-width:767px) {
	
	.show-mobile { display:inherit !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:none !important; }
	.hide-mobile { display:none !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:inherit !important; }
	
	th.show-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	th.hide-screen { display:table-cell !important; }	
	td.show-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }
	td.hide-screen { display:table-cell !important; }
	td span.show-mobile { display:inline !important; }	
	
	.bVolver {
		margin-top: 1.5rem;
	}
	.bNuevo {
		font-size: 0.7rem !important;
		margin-top: .2rem;
		margin-bottom: .2rem;
	}

    .botonInformeProductos {
        margin: 18px auto 0px auto;
    }

	#rutaSeccion {
		padding: 0 .5rem;
	}

	#cabecera {
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		z-index: 9;
		padding: 5px 10px;
		height: 50px;
		align-items: center;
	}
	
	#cabecera img {
		margin-left: 3rem;
		height: 40px;
	}
	#cabecera img.logoGrupo {
		margin-left: 0;
		height: 25px;
	}
	
	#contenedor {
		margin: 0px;
		padding-top: 35px;
	    width: 100%;
	    min-height: 100vh;
	}
	
	#contenido {
	    margin: 5px;
	}

	#mensajeResultados {
		width: 80%;
	}
	
	.bloqueCampoFormulario {
        width: 100% !important;
	}
	.bloqueCampoFormulario input {
		width: 100%;
	}
	.bloqueCampoFormulario select {
		width: 100% !important;
	}
	.bloqueCampoFormulario textarea {
		width: 100%;
	}

    .contenidoVM {
        max-height: 80vh;
    }

	.fs-wrap {
		width: 100% !important;
	}

	.bloqueEnlacesInicio {
        margin: 2rem 1rem 1rem 1rem;
        min-width: 0px;
        width: 100%;
    }
    .contenidoEnlacesInicio {
        padding-left: 0;
        flex-wrap: wrap;
    }
    .enlaceInicio {
		width: 110px;
        margin-bottom: 1.5rem;
    }

	#ayuda {
	    margin-bottom: 20px;
	    padding: 5px;
	} 	
	
	#ayuda img.iconoAyuda {
	    width: 30px;
	    height: 30px;
	}
	
	#ayuda p {
		width: calc(100% - 35px);
	    font-size: .8rem;
	}

	#botoneraNuevosRegistros .cl-switch .label {
		font-size: 0.8rem;
	}
	
	#bTitularBuscador {
		width: 100%;
	}
	
	#bFecha {
		width: 100%;
		margin-right: 0px;
	}
	
	#bFechaDesdeBuscador, #bFechaHastaBuscador {
		width: calc(50% - 5px);
		margin-right: 0px;
	}

	#bFechaDesdeBuscador input , #bFechaHastaBuscador input {
		width: 100%;
	}
	
	.botonBuscar, .botonVerTodo {
	    margin: 0.5rem .9rem 0 0.5rem;
	}
	
	.botonesTabla {
		width: 30px !important;
		vertical-align: top;
	}
	
	.menuBotones {
		display: block;
	}
		
	.botonesTabla div {
		display: none;
	}
	
	.colgadorSubTabla {
	    background-size: 35px auto;
	}
	
	td.botonesTabla img {
		width: 25px;
	    margin: 0px 5px 0px 5px !important;
	}		
	
	#bVolver {
		margin-top: 30px;
	}	
	
	.filaPaginacion {
        justify-content: flex-end;
    }
	#numResultadosPaginacion {
		display: none;
	}
	.resultadosBusqueda {
	    display: none;
	}

	.datosRecorte {
		display: none;
	}
	#previoImagenContenedor {
 	   width: 100%;
       margin: 10px auto 10px auto;
	}	
	
	#bLogin {
		width: 100%;
	}
	#bPassword {
		width: 100%;
	}
	#bConfirmacionPassword {
		width: 100%;
	}
	#bPermisos {
		width: 100%;
	}

    .wrapperAlmacen {
        flex-wrap: wrap;
    }

	/** BODEGAS ───────────────────────────────────────────────────────────────────────────────────────────────────────── */
	.bloqueNegocio {
		width: 95%;
	}
	.bloqueTiposProducto{
		flex-direction: column;
	}
	.imgDataContainer {
		flex-direction: column;
	}
	#previoImagenDataContenedor {
        width: auto;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    #previoImagenDataContenedor::after {
        top: unset;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 2px;
    }

    #bloqueDatosImagen {
        width: auto;
    }

}


/***********************************************
Mobile (landscape)
***********************************************/
@media only screen and (min-width: 480px) and (max-width: 767px) {

	.show-mobile { display:inherit !important; }
	.show-tablet { display:none !important; }
	.show-screen { display:none !important; }
	.hide-mobile { display:none !important; }
	.hide-tablet { display:inherit !important; }
	.hide-screen { display:inherit !important; }
	
	th.show-mobile { display:table-cell !important; }
	th.hide-tablet { display:table-cell !important; }
	th.hide-screen { display:table-cell !important; }	
	td.show-mobile { display:table-cell !important; }
	td.hide-tablet { display:table-cell !important; }
	td.hide-screen { display:table-cell !important; }
	td span.show-mobile { display:inline !important; }
	
	#mensajeResultados {
		width: 50%;
	}

	.filaPaginacion {
        justify-content: space-between;
    }
    .resultadosBusqueda {
        display: inherit;
	}
	
    .bloqueEnlacesInicio {
        width: auto;
	}
	
	#bLogin {
		width: calc(50% - 20px);
	}
	
	#bPassword {
		width: calc(50% - 20px);
	}
	
	#bConfirmacionPassword {
		width: calc(50% - 20px);
	}
	
	#bPermisos {
		width: calc(50% - 20px);
	}

}
