/* CSS Document */

.responsive
{
	display: none;
}

/* 1024 */
@media screen and  (max-width: 1024px) 
{
	/* NORMAL ******************/	
	
	
	
	/* ID **********************/
	
	#indexhome 
	{
		width: 60%;
	}
	
	/* CLASS *******************/
	
}

/* 800 */
@media screen and  (max-width: 1000px)
{
	/* NORMAL ******************/

	img
	{
		height: auto;
		max-width: 100%;
	}

	table tr td .popup
	{
		max-width: 600px;
		width: 100%;
	}

	/* ID **********************/
	
	#indexhome 
	{
		padding: 30px 5%;
		width: 95%;
	}
	
	/* CLASS *******************/

	.filtros-normal{
		flex-wrap: wrap;
	}
}


/* 768 */
@media screen and  (max-width: 799px) 
{
	/* NORMAL ******************/	
	
	
	
	/* ID **********************/
	
	
	
	/* CLASS *******************/
	
	.inside
	{
		margin: 0 auto;
		padding: 15px 0;
		width: 95%;
	}

	.toolbar-botones {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-botones-left,
    .toolbar-botones-right {
        justify-content: center;
    }
		
}

@media (max-width: 768px) {
    /* Tabs en móvil */
    .tab-container {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .tab-link {
        width: 100%;
        margin-bottom: 4px;
    }

    /* Tablas responsive */
    .table-safetya thead {
        display: none;
    }

    .table-safetya tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        background: var(--white);
        box-shadow: var(--shadow-sm);
    }

    .table-safetya tbody td {
        display: block;
        padding: 2px 10px 2px 20px;
        border: none;
        border-bottom: 1px solid var(--bg-light);
    }

	.table-safetya tbody td::before {
		margin-left: -10px;
	}

    .table-safetya tbody td:last-child {
        border-bottom: none;
    }

    .table-safetya tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        color: var(--primary-dark);
    }
}

/* 600 */
@media screen and  (max-width: 767px) 
{	
	/* NORMAL ******************/	
	
	body
	{
		background: white !important;
	}

	header #logodatos #logo-empresa
	{
		float: none;
		margin: 10px auto;
	}

	header #logodatos #misdatos
	{
		float: none;
		font-size: 12px;
		margin: 10px 2px;
	}	

	header #logodatos #safetylogo
	{
		background: url(../img/logo.png) no-repeat top center;
		display: block;
		float: none;
		height: 106px;
		margin: 0 auto;
		width: 233px;
	}
	
	/* ID **********************/

	#advertencia
	{
		margin: 30px auto;
		padding: 30px 5%;
		width: 100%;
	}

	#cuestionario .cuestionario .filas .respuestas .respuesta
	{
		float: none;
		text-align: left;
	}

	#cuestionario .cuestionario .filas .respuestas .respuesta input[type=radio]
	{
		vertical-align: sub;
	}

	#cuestionario .cuestionario .filas .respuestas .respuesta label
	{
		font-weight: normal;
	}

	#cuestionario .filas
	{
		padding: 15px 2%;
		width: 96%;
	}

	#cuestionario .filas .pregunta
	{
		margin: 0;
		width: 95%;
	}

	#cuestionario .filas .respuestas
	{
		margin: 10px 0;
		text-align: center;
		width: 100%;
	}

	#cuestionario .ficha .filas .respuestas .respuesta
	{
		width: 100%;
	}
	
	#laconformidad .iradio_line-aero
	{
		width: 49%;
	}

	
	/* CLASS *******************/

	.btn-limpiar {
      	display: block;
      	margin: 10px 0 0 0;
      	width: 100%;
  	}

	.flex
	{
		flex-wrap: wrap;
	}

	.flex .page
	{
		width: 100%;
	}

	.filtros-normal {
		flex: auto;
	}

	.mimenu li:not(:first-child) 
	{	
		display: none;
	}

  	.mimenu li.icon 
  	{
    	display: inline-block;
  	}

  	.mimenu.responsive 
  	{
  		position: relative;
  	}
	
	.mimenu.responsive li.icon 
	{
	    position: absolute;
	    right: 0;
	    top: 0;
	}
	
	.mimenu.responsive li 
	{
	    display: block;
	}
	
	.mimenu.responsive li a 
	{
	    display: block;
	    text-align: left;
	}

	.mod-user .page
	{
		margin-right: 0;
	}

	.mycheckbox.nombre
	{
		vertical-align: top;
	}

	.noresponsive
	{
		display: none;
	}

	.responsive
	{
		display: block;
	}

}

/* 480 */
@media screen and  (max-width: 599px) 
{	
	:root{
		--border-color: #999;
	}
	
	/* NORMAL ******************/	

	footer {
		display: flex;
		justify-content: space-around;
		align-items: center;
		text-align: center;
		flex-wrap: wrap;
		height: auto;
		gap: 15px;
		padding: 15px 2.5%;
	}

	footer #copy
	{
		height: auto;
	}

	footer #copy #copyimage
	{
		margin-bottom: 10px;
		width: 100%;
	}

	footer #copy #copytext
	{
		font-size: 12px;
		margin: 0;
	}

	footer #soporte
	{
		bottom: auto;
		left: auto;
		position: relative;
	}

	h1
	{
		border-radius: 10px;
		font-size: 25px;
		font-weight: normal;
		padding: 10px 0;
		text-align: center;
	}

	h2
	{
		font-size: 20px;
		font-weight: normal;
	}

	h3
	{
		font-size: 18px;
		font-weight: normal;
	}

	input[type=text], 
	input[type=password], 
	input[type=submit], 
	input[type=button],
	input[type=email], 	
	textarea
	{		
		width: 100%
	}

	input[type=radio],
	input[type=checkbox]
	{
		height: 30px;
		width: 30px;
	}

	select
	{
		font-size: 16px;
		padding: 15px 2%;
		width: 96%;
	}

	textarea
	{
		font-size: 16px;
	}

	/* ID **********************/

	#indexhome
	{
		width: 85%;
	}

	#indexhome .nombre
	{
		text-align: center;
	}

	
	/* CLASS *******************/

	.fila2,
	.fila3,
	.fila19,
	.fila40,
	.fila80
	{
		margin: 0 0 15px 0;
		width: 100%;
	}
	
	.inside
	{
		margin: 0 auto;
		padding: 10px;
		width: 95%;
	}

	.tareas a
	{
		text-decoration: none;
	}

	.tareas a .data
	{
		background: #e0ae4a;
		border-radius: 15px;
		color: black;
		display: block;
		padding: 15px 10px;
		width: 90%
	}
}

/* 320 */
@media screen and  (max-width: 479px) 
{
	/* NORMAL ******************/		
	
	
	/* ID **********************/

	#cuestionario .filas .numero
	{
		width: 8%;
	}
	
	#cuestionario .filas .pregunta
	{
		width: 92%;
	}

	#indexhome
	{
		width: 95%;
	}
	
	/* CLASS *******************/

	.icheckbox_line-aero, .iradio_line-aero
	{
		text-wrap: nowrap;
	}

	.inside
	{
		padding: 15px 0;
		width: 95%;
	}

	.ui-datepicker {
      	width: 280px;
  	}

	.ui-datepicker-calendar tbody td a,
    .ui-datepicker-calendar tbody td span {
      	font-size: 13px;
      	height: 32px;
      	width: 32px;
  	}	
}