*::-webkit-input-placeholder { color: #ddd; }
*:-moz-placeholder { color: #ddd; }
*::-moz-placeholder { color: #ddd; }
*:-ms-input-placeholder { color: #ddd; }

* {
	padding: 0;
	margin: 0;

	font-family: "Raleway";
	font-size: 18px;

	box-sizing: border-box;
	overflow-x: hidden;
}
a {
	text-decoration: none;
	cursor: pointer;
	color: #000;
}
body {animation: fades 1s}
@keyframes fades {
	from {opacity: 0} to {opacity: 1;}
}

/*LOGIN*//**********************************************************************/
#logform {
	width: 30%;
	margin: 4em auto;
	padding: 2em;
	text-align: center;
	color: #888;
	box-shadow: 5px 5px 10px #666;
	line-height: 2em
}
#logform input {
	width: 100%;
	text-align: center;
	margin-top: .75em;
}
/*HEADER*//**********************************************************************/
.acces header {
	height: auto;
	width: 100%;
	background-color: #d8d8d8;
	border-bottom: 2px solid #000;
	position: fixed;
	z-index: 10;
}
.acces header .menu {
	width: 90%;
	margin: 0 auto;
	display: flex
}
.acces header .menu a {
	flex-grow: 1;
	padding: .75em;
	text-align: center;
	transition: all .4s;
}
.acces header .menu a:hover {border-radius: 30% 0; background-color: #b8b8b8;}
.acces header .menu .sel {
	background-color: #000;
	color: #fff;
	border-radius: 30% 0;
}.acces header .menu .sel:hover {
	background-color: #000;
	color: #fff;
}
.acces section {
	width: 90%;
	margin: 1em auto;
	position: relative;
}
/*INICI*//***************************************************************************/
#inici {
	margin-top: 2em;
	position: relative;
	height: 50em;
}
#inici div {
	position: absolute;
	width: 50%;
	text-align: center;
}
#inici but {
	margin-top: 1em;
	margin-left: 15%;
	display: block;
	width: 70%;
	background-color: #d8d8d8;
	border: 4px solid #b8b8b8;
	padding: 2em;
	transition: all .4s;
	cursor: pointer;
}
#inici but:hover{border-radius: 30% 0; background-color: #b8b8b8; border-color: #000;}
#inici #seccio {
	font-size: 2em;
	color: #b8b8b8;
	text-align: center;
}
#inici p {
	display: none;
	font-size: 1.2em;
	line-height: 1.8em;
	margin-top: 1em;
}
#inici p img {
	width: 80%;
	border: 2px solid #000;
	min-height: 4em;
	margin: 1em 0 1em 10%;
}
#inici .sel {
	border-radius: 30% 0;
	background-color: #b8b8b8;
	border-color: #000;
}
.instr {
	font-size: 1.1em;
	transition: all .4s;
	color: #b8b8b8;
}.instr:hover {color: #000}
#instruccions {
	width: 100%;
	height: 100%;
	top: 0;
	position: fixed;
	box-shadow: 10px 0 0 #000;
	background-color: rgba(255,255,255,.7);
	z-index: 20;
	display: none;
}
#instruccions seccio {
	width: 50%;
	height: 60%;
	top: 20%;
	left: 25%;
	position: absolute;
	box-shadow: 0 0 10px #000;
	background-color: #fff;
	border: 2px dashed #000;
	padding: 1em;
}
#instruccions h1 {
	font-size: 2em;
	color: #b8b8b8;
	text-align: center
}
#creu {
	color: #b8b8b8;
	font-size: 2em;
	position: absolute;
	text-align: right;
	right: .5em;
	top: 0;
	cursor: pointer;
	transition: all .4s
}
#creu:hover {color: #000;}
video {
	width: 90%;
	margin-left: 5%;
	border: 2px solid #000;
	margin-top: 1em;
	border-radius: 5% 0;
}
/*PORTADA*//**************************************************************/
#canviarclau {
	position: absolute;
	right: 4em;
	padding: 1em 2em;
	background-color: #ddd;
	border: 3px solid #000;
	cursor: pointer;
	top: 0;
	transition: all .4s;
}
#canviarclau:hover {background: #aaa}
.img {
	background-size: cover;
	background-color: #888;
	width: 20%;
	display: inline-flex;
	height: 9em;
	border: 2px solid #000;
	position: relative;
	transition: all .4s;
}
.img:hover > .accio {opacity: 1}
.mes {
	width: 5%;
	height: 2.25em;
	border: 2px dashed #b8b8b8;
	font-size: 4em;
	color: #b8b8b8;
	cursor: pointer;
	transition: all .4s;
	display: inline-block;
	padding: .5em .2em;
}
.mes:hover {
	color: #d8d8d8;
	border-color: #d8d8d8;
}
.accio {
	opacity: 0;
	width: 100%;
	position: absolute;
	background-color: rgba(0,0,0,.6);
	height: 100%;
	text-align: center;
	transition: all .4s
}
.accio .pos {
	height: 20%;
	color: #fff;
	width: 50%;
	padding: .25em;
}
.num {
	display: none;
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: rgba(0,0,0,.6);
	color: #fff;
	position: absolute;
}
.num span {
	display: table-cell;
	font-size: 4em;
	vertical-align: middle
}
.accio input {
	width: 50%;
	border: 0;
	height: 20%;
	text-align: center;
	background-color: transparent;
	color: #fff;
	transition: all .4s;
	position: absolute;
	top: 0;
	left: 50%;
}
.accio input:focus {background-color: rgba(255,255,255,.3);}
.accio div:not(.pos):not(.num) {
	width: 50%;
	border-right: 1px solid #fff;
	border-top: 1px solid #fff;
	height: 80%;
	display: inline-table;
	text-align: center;
	cursor: pointer;
	transition: all .4s;
}
.accio div:not(.pos):not(.num):hover {background-color: rgba(255,255,255,.3);}
.accio div span {
	font-size: 2em;
	display: table-cell;
	vertical-align: middle;
	color: #fff;
}
#eliminar, #editar {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: fixed;
	box-shadow: 10px 0 0 #000;
	background-color: rgba(255,255,255,.7);
	z-index: 20;
	display: none;
}
#eliminar div, #editar div {
	width: 50%;
	height: 70%;
	top: 15%;
	left: 25%;
	position: absolute;
	box-shadow: 0 0 10px #000;
	background-color: #fff;
	border: 2px dashed #000;
	padding: 1em;
	text-align: center;
}
#editar div {
	height: 80%;
	top: 10%;
}
#eliminar h1, #editar h1 {
	font-size: 2em;
	color: #b8b8b8;
}
#eliminar img, #editar img {
	width: 70%;
	border: 2px solid #000;
	min-height: 40%;
	max-height: 65%;
	margin-top: 1em;
}
#editar img {margin-top: 2em;}
#eliminar opc, #editar opc {
	position: absolute;
	bottom: 1em;
	width: 43%;
	padding: .5em;
	border: 1px solid #000;
	cursor: pointer;
	transition: all .4s;
}
#eliminar opc:hover, #editar opc:hover {background-color: #d8d8d8; border-radius: 30% 0}
#editar div div {
	max-height: 70%;
	width: 100%;
	border: 1px dashed #888;
	box-shadow: none;
	left: 0;
	margin-top: 2em;
}
#editar div div im {
	display: inline-block;
	border: 2px solid #000;
	width: 23%;
	height: 5.5em;
	background-size: cover;
	background-color: #888;
	cursor: pointer;
	transition: all .4s;
}
im:hover {opacity: .7}
#stat {
	text-align: center;
	margin: 1em;
	margin-top: .5em;
	color: #fff;
}
/**VIDEOS****************************************************************************/
.seccions {
	width: 100%;
	text-align: center;
	padding-bottom: 1em;
}
.seccions a {
	display: inline-block;
	width: 30%;
	color: #b8b8b8;
	transition: color .4s;
}
.seccions a:hover {color: #000;}
.seccions a b {
	font-size: 1.5em
}
.selec {
	color: #000 !important;
	border-radius: 10%;
	border-bottom: 8px solid #b8b8b8;
	padding-bottom: 0.2em;
}
#eliminar input, #editar input {
	background-color: #888;
	width: 100%;
	padding: .5em 1em;
	color: #fff;
	margin-top: 3em;
	border: none;
}
#eliminar iframe, #editar iframe {
	background-color: #888;
	width: 80%;
	margin: 0 auto;
	border: 2px solid #000;
	/*border-radius: 0 10%;*/º
	margin-top: 1em;
	height: 60%
}
.acces input[type="submit"] {
	width: 4em !important;
	text-align: center;
	padding: .45em 0 !important;
	border: 2px solid #555 !important;
	color: #b8b8b8 !important;
	position: absolute;
	right: 2%;
	transition: all .4s;
	cursor: pointer;
}
.acces input[type="submit"]:hover {
	color: #fff !important;
	border-radius: 0 30%;
}
/*******GALERIA*********/
#divnova {
	position: absolute;
	right: .7em;
	top: .7em;
}
#divnova input {
	position: relative;
	right: 0;
	width: 15em;
	height: 3em;
	margin: 0;
	top: 0;
	opacity: 0;
}
grup:hover > #btnnova {
	background: #ddd;
}
#btnnova {
	position: absolute;
	right: 0;
	width: 15em;
	height: 3em;
	top: 0;
	background: #fff;
	border: 2px solid #23b6d4;
	color: #23b6d4;
	padding: .7em;
	cursor: pointer;
	transition: all .4s;
}
#btnnova:hover {
	background: #ddd;
}