/* ALTRES */

	* {
		margin: 0;
		padding: 0;
		border: 0;
		box-sizing: border-box;
		
		font-family: 'Roboto', sans-serif;
		font-size: 18px;
		line-height: 1.5;
	}

	body {
		width: 100vw;
		height: 100vh;

		display: grid;
		place-items: center;
	}

	input::-webkit-outer-spin-button,
	input::-webkit-inner-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}

	/* Firefox */
	input[type=number] {
		-moz-appearance: textfield;
	}

	/* Hide scrollbar for Chrome, Safari and Opera */
	*::-webkit-scrollbar {
		display: none;
	}

	/* Hide scrollbar for IE, Edge and Firefox */
	* {
		-ms-overflow-style: none;  /* IE and Edge */
		scrollbar-width: none;  /* Firefox */
	}

/* PAGINES */

	.pagina {
		padding: 20px;
		width: 100vw;
		height: 100vh;
	}

	#pagina_login {
		display: inline-grid;
		grid-template-rows: 50px 150px 50px 250px 30px 50px auto;
		place-items: center;
	}

	#pagina_menu {
		display: inline-grid;
		grid-template-rows: 100px 1fr auto 2fr 50px;
		place-items: center;
	}

	#pagina_afegir {
		display: inline-grid;
		grid-template-rows: 100px repeat(9, 30px 40px) 30px 170px 50px;
		place-items: center;
	}

	#pagina_reservats {
		display: inline-grid;
		grid-template-rows: 100px repeat(6, 30px 40px) 70px 50px repeat(100, 30px 40px);
		place-items: center;
	}

	#pagina_modificar {
		display: inline-grid;
		grid-template-rows: 100px repeat(9, 30px 40px) 30px 170px 50px;
		place-items: center;
	}

	#pagina_buscar {
		display: inline-grid;
		grid-template-rows: 100px repeat(11, 30px 40px) 50px;
		place-items: center;
	}

	#pagina_llegir {
		display: inline-grid;
		grid-template-rows: 100px repeat(2, 30px 40px) 30px auto;
		place-items: center;
	}

	#pagina_resultats {
		display: inline-grid;
		grid-template-rows: 100px repeat(100, 30px 40px) 50px;
	}

	#pagina_contenidor {
		display: inline-grid;
		grid-template-rows: 100px repeat(9, 30px 40px) 30px 170px 50px;
		place-items: center;
	}

	#pagina_operar {
		display: inline-grid;
		grid-template-rows: 100px repeat(7, 30px 40px) 50px;
		place-items: center;
	}

/* CONTENIDORS */

	.contenidor_variable {
		width: 100%;

		display: inline-flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
		align-content: center;

		overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
	}

	.contenidor_fixe {
		width: 100%;

		display: inline-grid;
		grid-template-columns: 1fr 1fr 1fr;
		place-items: center;
	}

	.menu {
		border: 1px solid #CED4D7;
		border-radius: 5px;

		width: 100%;
	}

	.lectorqr {
		border-radius: 20px;

		width: 100%;
		height: 100%;

		display: inline-block;

		background-color: #CED4D7;
	}

/* BUTONS */

	button {
		margin: 3px;
		padding: 5px 10px;
		border: 1px solid #CED4D7;
		border-radius: 5px;
		white-space:nowrap;

		display: inline-grid;
		place-items: center;

		cursor: pointer;

		background-color: transparent;
	}

	.menu_opcio {
		padding: 10px 15px;

		cursor: pointer;
	}

	.menu_opcio:active {
		color: white;
		background-color: lightgray;
	}

	.interruptor {
		padding: 1px 2px;
		border-radius: 10px;

		width: 50px;
		height: 20px;

		display: inline-flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;

		cursor: pointer;

		background-color: #6C757D;

		transition: 0.3s;
	}

	.interruptor_buto {
		border-radius: 100%;

		width: 16px;
		height: 16px;

		background-color: white;
	}

/* COLORS */

	.groc_fixe {
		border: 0;
		color: white;
		background-color: #F7C110;
		transition: 0.3s;
	}

	.blau_fixe {
		background-color: #008CBA;
		transition: 0.3s;
	}

	.buto_off {
		border: 0;
		color: white;
		background-color: #6C757D; 
	}

	.buto_on {
		border: 0;
		color: white;
		background-color: #188754; 
	}

	.input_groc {
		border: 1px solid #F7C110 !important;
		background-color: #F4F0CC !important;
	}

	.linia_groc {
		border: 1px solid #F7C110 !important;
		border-left: 0 !important;
	}

	.verd {
		border: 1px solid #188754;
		color: #188754;

		background-color: transparent;  
	}

	.verd:active {
		background-color: #188754;
		color: white;
	}

	.blau {
		border: 1px solid #008CBA;
		color: #008CBA;

		background-color: transparent;  
	}

	.blau:active {
		background-color: #008CBA;
		color: white;
	}

	.vermell {
		border: 1px solid #f44336;
		color: #f44336;
		
		background-color: transparent; 
	}

	.vermell:active {
		background-color: #f44336;
		color: white;
	}

	.groc {
		border: 1px solid #F7C110;
		color: #F7C110;
		
		background-color: transparent; 
	}

	.groc:active {
		background-color: #F7C110;
		color: white;
	}

/* OBJECTES */

	hr {
		width: 100%;
		height: 1px;

		align-self: center;

		background-color: #CED4D7;
	}

	label {
		padding: 5px 15px;		
	}

	.customlabel {
		padding: 5px 15px;
		border: 1px solid #CED4D7;
		border-radius: 5px 0px 0px 5px;

		white-space:nowrap;

		background-color: #EAECEC;
	}

	.logininput {
		padding: 5px 15px;
		border: 1px solid #CED4D7;
		border-radius: 5px;
		
		width: 100%;

		cursor: pointer;
	}

	.custominput {
		padding: 5px 15px;
		border: 1px solid #CED4D7;
		border-left: 0;
		border-radius: 0px 5px 5px 0px;

		text-align: right;

		width: 100%;
	}

	.logoMax {
		width: 150px;
		height: 150px;
	}

	.logoMin {
		width: 80px;
		height: 80px;
	}

	.login {
		line-height: 3;
	}

	.titol {
		font-size: 35px;
		font-weight: bold;
	}

	#preview {
		width: 100%;
		height: 100%;
	}