body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: Ubuntu, Helvetica, sans-serif;
    color: #1e2022;
    align-content: center;
}
main {
   min-height: calc(100vh - 100px - 100px); /* que sempre ocupi tot l'alte, restant el header i el footer*/
}    
a {
  text-decoration: none;
  color: #e92000;
}
a:hover {
  color: #000000;
}    
/* Gestors default */
div.resp {
	width: 95vw; overflow-x:auto; padding: 5px;
}
.table-default {
	border-bottom:1px solid #595959;
	font-size:18px;
}
.table-default th {
	bgcolor: #FFFFFF;
	color:#e92000; 
	border-bottom: 1px solid #595959;
}
.table-default td {
	bgcolor: #FFFFFF;
	color:#4e4c4c; 
	border-bottom: 1px solid #cccccc;
}
.table-default i {
	font-size: 26px;
    color:#848384; 
}
.table-default i:hover {
    color:#e92000; 
}    
.td-title {
	font-size:28px;
	border-bottom: 1px dotted black;
}   

/* Botons */    
.button-new {
    padding: 10px 25px;
    border: 1px solid #000000;
	background-color:#cccccc;
    color: #000;
	border-radius: 5px;
    text-decoration:none;
	font-size:16px;
	width: 170;
	display: inline-block;
	cursor: hand;
	cursor: pointer;
}
.button-new:hover {
    border: 1px solid #000000;
	background-color: #ffffff;
    color: #000;
}     
.button-enviar {
	padding: 10px;
	border: 1px solid #000000;
	background-color: #e92000;
	color: #fff;
	border-radius: 5px; 
	cursor: pointer;
    cursor: hand;
	font-size: 16px;
}
.button-enviar:hover {
	border: 1px solid #000;
	background-color: #cccccc;
	color: #000;
}    
.button-login {
    padding: 6px 20px;
    border: 1px solid #000000;
	background-color:#5dcc4b;
    color: #000;
	border-radius: 5px;
    text-decoration:none;
	font-size:16px;
    width="100%"
	display: inline-block;
	cursor: hand;
	cursor: pointer;
    font-weight: bold;
} 
.button-login {
    padding: 6px 20px;
    border: 1px solid #000000;
	background-color:#5dcc4b;
    color: #000;
	border-radius: 5px;
    text-decoration:none;
	font-size:16px;
    width="100%"
	display: inline-block;
	cursor: hand;
	cursor: pointer;
    font-weight: bold;
}     
.button-login:hover {
    border: 1px solid #000000;
	background-color: #ffffff;
    color: #000;
} 
.button-menu {
	padding: 10px;
    border: 1px solid #000000;
	background-color:#ffffff;
    color: #000;
	border-radius: 0px;
    text-decoration: none;
	font-size:16px;
	width: 90%;
	display: inline-block;
	valign: middle;
	cursor: hand;
	cursor: pointer;
}
.button-menu:hover {
	border: 1px solid #ffffff;
	background-color: #635c5e;
    color: #fff;
}   
/* Formularis */
label {
	vertical-align: middle;
}
.table-edit label {
	font-weight: bold;
}    
.label-error {
    color: red; /* Cambia el color del texto a rojo para indicar un error */
    font-weight: bold; /* Opcional: Puedes hacer el texto en negrita */
}
input, select, textarea {
	font-family: inter, Helvetica, sans-serif;
	/*height: calc(1.5em + .75rem + 2px);*/
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	/*line-height: 1.5;*/
	color: #0E0E0E;
	background-color: #ffffff;
	background-clip: padding-box;
	border: 1px solid #848384;
	border-top-color: rgb(132, 131, 132);
	border-right-color: rgb(132, 131, 132);
	border-bottom-color: rgb(132, 131, 132);
	border-left-color: rgb(132, 131, 132);
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	vertical-align: middle;
	font-size: 18px !important;
}   
/* unifiquem estils al select_cercador */ 
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #848384 !important;
    border-radius: .25rem !important;
    height: 34.4 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: inter, Helvetica, sans-serif;
    font-size: 1.1rem !important;
    line-height: 32px !important;
    padding-left: 12px !important;
}
input[type=checkbox]{
	width: 20px;
} 
input[type=button]{
    border: 1px solid #000000;
	background-color:#cccccc;
    color: #000;
	font-size: 16px !important;
}     
/* Menú */
#myMenu { display: none; z-index:99 }
#myMenu ul { width: 100%; padding: 0; margin: 0; position: absolute; top: 115px; left: 0; z-index:99;border-top:1px solid #808080;border-right:1px solid #808080; }
#myMenu li { text-align: left; height: 40px; line-height: 40px; background: #ffffff; width: 90%; margin: 0; padding-left: 14px; list-style: none; border-bottom:1px solid #808080; border-right:1px solid #808080;z-index:99 }
/* Versió mòbil */
@media only screen and (max-width: 600px) {
    .button-menu {
		padding: 0px;
		border: 0px solid transparent;
		background-color: transparent;
		color: #000;
	}
	.button-menu:hover {
		border: 0px solid transparent;
		background-color: transparent;
		color: #635c5e;
	}
    /* Gestors edit */ 
    table.table-edit label, table.table-edit input[type=text], table.table-edit input[type=file], table.table-edit input[type=tel], table.table-edit input[type=email], input[type=url], table.table-edit textarea, table.table-edit select, table.table-edit table, table.table-edit .button-enviar {
        width: 100%;
    }
    table.table-edit {
        display: block;
        width: 99% !important;
        cellspacing: 0 !important;
        cellpadding: 0 !important;
    }
}