@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed);

body {
	font-family: Montserrat;
	background-color: var(--fons_base);
	color: white;
	margin: 0;
}

#logo {
	position: absolute;
	bottom: 0px;
	right: 0px;
	opacity: 0.33;
	z-index: -1;
}

*:focus {
    outline: 0;
}

#titol_pagina {
	font-weight: bold;
	font-size: 2em;
	margin-left: 8px;
}

#subtitol_pagina {
	font-weight: bold;
	font-size: 1.5em;
	margin-bottom: 16px;
	margin-left: 8px;
}

#navegador {
	margin-bottom: 16px;
	font-size: 14px;
	margin-left: 10px;
}

#navegador .ruta {
	cursor: pointer;
	color: var(--color_text);
}

#navegador .ruta:hover {
	text-decoration: underline;
}

#llistaCursos {
	height: 250px;
}

.seleccio_curs {
	color: white;
	background-color: #3264C8;
	width: 125px;
	padding: 4px;
	text-align: center;
	margin: 8px 0px 0px 8px;
	border-radius: 12px;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	float: left;
	transition: opacity 0.5s;
}

.desmarcar {
	opacity: 0.25;
}

.salt {
	clear: left;
}

#passwordBox {
	display: table;
	opacity: 0;
	transition: opacity 1s;
	margin-left: 8px;
}

#passwordLock {
	background-color: #3264C8;
	color: white;
	padding: 6px 12px 6px 16px;
	font-size: 24px;
	font-weight: normal;
	line-height: 1;
	text-align: right;
	border-radius: 12px 0 0 12px;
	display: table-cell;
}

#passwordError {
	display: none;
	margin-left: 48px;
	line-height: 30px;
}

#password {
	width: 300px;
	border: 2px solid #3264C8;
	border-radius: 0 12px 12px 0;
	font-size: 24px;
	padding: 4px;
	text-align: left;
}

#contenidor {
	/* max-width: 1024px; */
	margin: 0 auto;
}

#galeria {
	/* max-width: 1024px; */
	position: fixed;
	top: 170px;
	right: 0px;
	left: 0px;
	bottom: 0px;
	overflow: auto;
	background-color: var(--fons1);
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-content: flex-start;
}

.miniatura {
	width: 128px;
	height: 128px;
	float: left;
	cursor: pointer;
	margin: 15px;
	/* border-radius: 16px; */
	/* border: 1px solid black; */
	border: 2px solid var(--fons4);
	/* border-top: 1px solid grey; */
	/* border-left: 1px solid grey; */
	box-shadow: 0px 5px 10px 0px var(--color_text);
	/* padding: 2px; */
	overflow: hidden;
	position: relative;
	background-color: white;
	background-image: url('carrega_miniatura_2.gif');
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 0.250s;
}

.miniatura.obrir {
	transform: scale(1.2, 1.2);
	opacity: 0;
}

.foto, .carpeta {
	width: 128px;
	height: 128px;
	/* border-radius: 14px; */
}

.ampliable {
	transition: transform 0.25s, box-shadow 0.25s;
}

.ampliable:hover {
	transform: scale(1.2, 1.2);
	box-shadow: 0px 0px 0px grey;
}

.titol {
	font-size: 14px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 32px;
	padding: 8px;
	/* background-color: rgba(0,128,255,0.75); */
	/* background-color: rgba(253, 227, 147, 0.75); */
	background-color: var(--fons4);
	text-transform: uppercase;
	color: var(--color_text);
	font-weight: bold;
	/* font-size: 16px; */
	font-size: 0.75em;
	text-align: center;
	transition: height 0.25s, background-color 0.25s;
}

.titol:hover {
	height: 72px;
	/* color: white; */	
	/* background-color: rgba(0,128,255,0.95); */
	background-color: var(--fons4);
}

#detalls {
	background-color: rgba(168, 213, 215,0.75);
	width: 100%;
	height: 0%;
	position: fixed;
	bottom: 0px;
	transition: opacity 0.250s;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select:none;
	user-select:none;
	-o-user-select:none;
	background-image: url('carrega_foto.gif');
	background-repeat: no-repeat;
	background-position: center center;
	opacity: 0;
}
#detalls.visible {
	opacity: 1;
}

#detalls.desplegat {
	height: 100% !important;
}

#detallFoto {
	position: absolute;
	top: 20px;
	left: 20px;
	/* border-radius: 8px; */
	box-shadow: 0px 0px 10px 5px var(--color_text);
	border: 4px solid var(--fons4);
	transition: opacity 0.250s;
	opacity: 1;
}

#detallFoto.apagat {
	opacity: 0;
}

#detallNavegador {
	background-color: var(--fons4);
	width: 100%;
	position: absolute;
	bottom: 0px;
	height: 0px;
	color: white;
	font-size: 42px;
	text-align: center;
	text-shadow: 1px 1px 0px var(--color_text);
}

#detallNavegador span {
	cursor: pointer;
	padding: 0 8px;
}

#detallNavegador.desplegat {
	height: 52px !important;
}

#detallIndexFoto {
	color: white;
	font-size: 14px;
	position: absolute;
	left: 16px;
	bottom: 18px;
	display: none;
	text-shadow: initial;
	color: var(--color_text);
}
#detallAjuda {
	color: white;
	font-size: 14px;
	position: absolute;
	right: 16px;
	bottom: 18px;
	display: none;
	text-shadow: initial;
	color: var(--color_text);
}

.botoDetall {
	opacity: 1;
	transition: opacity 0.25s;
}

.botoDetall.atenuar {
	opacity: 0.1;
	cursor: default !important;
}

#confirmacioSeleccioCurs {
	background-color: var(--fons4);
	color: var(--color_text);
	width: 350px;
	height: 120px;
	position: absolute;
	opacity: 0;
	padding: 25px;
	/* font-size: 24px; */
	font-size: 1.5em;
	text-align: center;
	/* border-radius: 16px; */
	transition: opacity 0.25s;
	/* box-shadow: 0px 0px 5px var(--color_text); */
	border: 4px solid var(--fons2)
}

#confirmacioSeleccioCurs.actiu {
	opacity: 1;
}

#confirmacioSeleccioCurs.p {
	width: 100%;
	text-align: center;
	background-color: pink;
}

#confirmacioSi, #confirmacioNo {
	background-color: var(--fons4);
	/* color: white; */
	color: var(--color_text);
	width: 75px;
	padding: 4px;
	text-align: center;
	/* margin: 25px 25px 0px 50px; */
	margin: 50px 0px 0px 50px;
	/* border-radius: 12px; */
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
	float: left;
	transition: opacity 0.5s;
	/* opacity: 0.5; */
}

#confirmacioSi:hover , #confirmacioNo:hover {
	/* opacity: 1; */
	color: var(--fons2);
	outline: 4px solid var(--fons2);
}

#informacioFoto {
	position: absolute;
	bottom: 64px;
	left: 10px;
	background-color: var(--fons3);
	/* border-radius: 16px; */
	box-shadow: 5px 5px 10px rgba( 0, 0, 0, 0.5 );
	/* color: white; */
	color: var(--color_text);
	text-shadow: initial;
	text-align: left;
	padding: 1em;
	/* font-size: 16px; */
	font-size: 0.8rem;
	line-height: 21px;
	display: none;
}

@media screen and (max-width: 488px)
{
	#llistaCursos {
		padding-top: 32px;
	}

	.seleccio_curs {
		width: 75px;
		padding: 10px 0;
		margin: 16px 0px 0px 8px;
		border-radius: 24px;
		font-size: 20px;
		float: left;
	}

	.salt {
		clear: none;
	}

	#password {
		width: 280px;
	}

	#passwordBox {
		display: table;
		position: absolute;
		top: 132px;
	}

	#passwordError {
		position: absolute;
		top: 172px;
		left: 10px;
	}

	#navegador {
		font-size: 20px;
		height: 24px;
		overflow: auto;
	}

	.miniatura {
	/*	margin: 10px;
		box-shadow: 5px 5px 10px 0px grey; */
	}

	#detallNavegador {
		font-size: 48px;
	}

	#detallNavegador.desplegat {
		height: 56px !important;
	}

	#informacioFoto {
		position: absolute;
		bottom: 64px;
	}

	#detallIndexFoto {
		left: -200px;
		bottom: 14px;
	}
	#detallAjuda {
		right: -16px;
		bottom: 14px;
		width: 0px;
	}
}
