/************************************* Parlem.cat ***************************************/

*, html {
	margin: 0;
	padding: 0;	
}

body {
 font-family: 'Open Sans', sans-serif; 
 background: #ffffff;
 color: #707061;
 margin: 0;
 font-size: 10pt;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: 1.90em; font-weight: 300; margin-bottom: 5px; }
h2 { color: #c0c3a5; font-size: 2em; margin-top: 0.5em; margin-bottom: 0.5em; }

/* Genèrics */

.contenidora {
	width: 1200px;
	border: 0 dotted gray;
	display: block;
	margin: auto;
}

.adreta { text-align: right; }

.cols6 {
	width: 49.6%; 
	border: 0 dotted gray; 
	display: inline-block;
	vertical-align: top;
}

/* EOF Genèrics */

#header { 
	border: 0px solid red;
	margin-top: 20px;
}

#languages { vertical-align: bottom; margin-bottom: 10px; }
#languages a { color: #C0C3A5; } 	
#languages a:hover {color: #707061; }
	
#central {
	background: #6E6F5F;
	display: block;
	position: relative;
}

/* Fotos */

.fotoquisom { 
	background: url("../img/foto-qui-som.jpg");
	background-size: cover;
	min-height: 495px;
	position: relative;
	background-position: center center;
}

.fotoserveis { 
	background: url("../img/foto-serveis-i-solucions.jpg");
	background-size: cover;
	min-height: 495px;
	position: relative;
	background-position: center center;
}

.fotocursos {
	background: url("../img/foto-cursos-subvencionats.jpg");
	background-size: cover;
	min-height: 495px;
	position: relative;
	background-position: center center;
}

.fotoprojectes {
	background: url("../img/foto-projectes.jpg");
	background-size: cover;
	min-height: 495px;
	position: relative;
	background-position: center center;
}

#menuflotant { 
	position: absolute; 
	top: 0; 
	right: 0;
	height: 84.25%;
	width: 40%;
	background-color: rgba(110, 110, 95, 0.8);
}		

/* EOF Fotos */

.contingut div {
	 padding: 10px;
	 color: #fff;
}

.contingut div p { margin-bottom: 1em; text-align: justify !important; width: 88%; }
.contingut div a { color: #ff8821; }
.contingut div ul { margin-left: 20px; text-align: justify; font-size: 0.95em; width: 100%;}

/* contingut dinàmic */
.contingut #text,
	.contingut #click1text, 
	.contingut #click2text, 
	.contingut #click3text, 
	.contingut #click4text { padding: 0; border: 0 solid red; height: 400px;}

.novetat {
	position: absolute;
	top: 4px;
	right: 4px;
	padding-right: 3px;
	padding-left: 3px;
	background-color: #6E6F5F;
	color: #edba8e;
	font-size: 8pt;
}

.novetat:hover {
	color: white;
}

.caixanovetats {
	left: 0;
	top: 17%;
	z-index: 100;
	position: absolute;
	display: flex;
	background-color: rgba(237, 110, 0, 0.8);
	/*padding: 20px;*/
	color: white;
}

.caixanovetats div {
    padding: 20px;
}

.caixanovetats a {
	font-size: 11pt;
	color: #edba8e;
	transition: all 0.5s ease;
}

.caixanovetats a:hover {
	color: white;
}

#faixamenu {
	position: absolute; 
	bottom: 20px; 
	width: 100%;
	display: block;
	background-color: rgba(237, 110, 0, 0.8);
}
	
ul#faixamenuitems li { 
    list-style: none;
    font-weight: 700;
    display: inline-block; 
    padding: 20px 18px;
    border-right: 1px dashed #edba8e;
    margin-right: -4px;
}

ul#faixamenuitems li a { color: #edba8e; transition: all 0.5s ease; }
ul#faixamenuitems li a:hover { color: #fff; text-decoration: none; }
ul#faixamenuitems li.actiu { color: #fff; }


#menuflotant ul { margin-top: 72px; }

#menuflotant li { 
	list-style: none;
	width: 80%;
	margin: auto;
	text-align: right;
	font-weight: 700;
	font-size: 1.25em;
	padding: 10px;
}
	
#menuflotant li a {	color: #000; transition: all 0.5s ease; cursor: pointer; }
#menuflotant li a:hover { color: #fff; text-decoration: none; }
#menuflotant li a.actiu { color: #fff; cursor: default; pointer-events: none; }

#footer { line-height: 3em; color: #C0C3A5; font-size: 0.95em; }		

#footer a { color: #707061; }

/************************************* Responsive ***************************************/

@media only screen and (max-width: 1200px) {

	.contenidora {
		width: 980px;
		border: 0px dotted red;
	}

	.contingut div p { font-size: 0.95em; width: 90%; }
	.contingut div ul { font-size: 0.85em; width: 95%; }
	
	#menuflotant ul {
    	margin-top: 62px;
	}
	
	#menuflotant li {
	    font-size: 1.15em;
	}	
	
	ul#faixamenuitems li {
	    padding: 30px 15px;
	}	

}

@media only screen and (max-width: 1023px) {

	#header {
	    margin-top: 10px;
	}

	h1 {
	    font-size: 1.5em;
    }

	#logo img { margin-left: 10px; }
	#languages div { margin-right: 10px; }	

	.contenidora {
		/*width: 760px;*/
		width: 100%;
		border: 0px dotted red;
	}
	
	#central .cols6 { display: block; width: 100%; }
	
	#faixamenu { top: 30px; bottom: auto;}
	.contingut #text, .contingut #click1text, .contingut #click2text, .contingut #click3text, .contingut #click4text { height: auto; margin-bottom: 30px; }
	
	#menuflotant {
    	bottom: 0;
    	top: auto;
	}
	
	.contingut div p {
	    width: 100%;
	}	

	#footer #copyright p { margin-left: 5px; }
	#footer #contacte p { margin-right: 5px; }


}

@media only screen and (max-width: 640px) {

	body { overflow-x: hidden; }

	#header .cols6 { display: block; width: 90%; margin:auto; text-align: center; }

	h1 {
	    font-size: 1.20em;
    }
    
	#logo img { margin-left: 0; }
	#languages div { margin-right: 0; }	    
    
    h2 { font-size: 1.5em; }
    
	#languages {
	    margin-bottom: 10px !important;
	}	

	.contenidora {
		width: 100%;
		border: 0px dotted red;
	}
	
	#central .cols6 { display: block; width: 100%; }

	.novetat { display: none; }
	
	#faixamenu { top: 15px; bottom: auto; background-color: rgba(237, 110, 0, 1);}
	
	ul#faixamenuitems { 
		margin: 0;
	    text-align: center;	
	}
	
	ul#faixamenuitems li {
	    padding: 6px 0;
	    font-size: 11pt;
	    color: #fff; 
	    font-weight: 400;
	    border-right: 0;
	}	
	
		ul#faixamenuitems li+li:before { content: '\00a0| '; }		
	
	.fotoquisom, .fotoserveis, .fotocursos, .fotoprojectes { min-height: 295px; }

	#footer {
	    line-height: 2em;
	    margin: 10px 0 10px 0;
	    font-size: 0.9em;
	}
	
		#footer .cols6 {
		    width: 100%;
		    display: block;
		    text-align: center;
		}
	
	#menuflotant { height: 75%; width: 50%; }
	
	#menuflotant ul {
	    margin-top: 22px;
	}

	#menuflotant li {
	    font-size: 1em;
	    font-weight: 400;
	}
}