/*
Theme Name:	Plantilla per Microsoft Conecta IA
Theme URI:	https://fundacionesplai.org/conecta-ia/
Description:	Plantilla per la web de Conecta IA. Com a base parteix de la DIVI.
Author:	Miquel Rubio Luna (programacio@fundesplai.org)
Template:	Divi
Version:	1.0.0
Tags: Els mateixos que Divi
Text Domain:  divi-msft-ia
*/

@import url("../Divi/style.css");

/*
Estils generals de la plantilla Fundación Esplai
*/

@import url('https://cdn.fundesplai.org/plantilla/style_generics.css');
@import url('https://cdn.fundesplai.org/plantilla/fonts/HelveticaNeueLTPro-Th/stylesheet.css');


.section_404 {
	background-position: center center;
    background-image: url('//cdn.fundesplai.org/plantilla/img/no-trobem-el-que-busques.jpg');
    background-size: cover;
}

.section_404 .et_pb_slide_description {
	animation-name: none!important;
	-webkit-animation-name: none!important;
	-moz-animation-name: none!important;
	-ms-animation-name: none!important;
	-o-animation-name: none!important;
	animation: none !important
}

body.error404 h2.et_pb_slide_title {
    font-weight: 400 !important;
}

.curso-card__contents h3 {
	text-transform: none !important;
}
#main-footer #footer-widgets {
	font-size:16px !important;
}

.footer-widget h4 {
	color:#ffff !important;
}
.seccio-som-fundesplai p {
font-size: 14px !important;
color: #666;
line-height: 1.7em !important;
}
.seccio-som-fundesplai .et_pb_column_2_3 {
text-align: center !important;
width: 100% !important;

}
.seccio-som-fundesplai h2 {
	text-align:center !important;
}
.seccio-som-fundesplai .et_pb_column_1_3 {
	display:none;
}
#taula-suport thead th {
    color: white !important;
    background: #562381 !important;
    font-weight: 300;
}
body {
	font-size:18px;
}
body, input, textarea, select {
    font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
}
#footer-bottom {
	background:#fff;
}
.et_pb_section, .et_pb_row {
    padding: 0 !important;
}
.blanc-negre {
	-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
#et-secondary-nav li ul, #top-header {
    background-color: #562381;
    background-color: var(--color-secundari);	
}
#et-secondary-nav li li a{
	color: #fff !important;
}
#top-header a {
	color:rgba(0,0,0,.6);
}
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a {
	color:#000000;
}
#top-menu li.mega-menu > ul > li > a {

  padding: 0 22px 10px;
}
.graella-distribuidora-boto {
	color:#fff;
}
#main-header .logo_container {
	line-height:inherit !important;
	top:10px;
}

	
	/* Quan fem scroll */
	#main-header.reduit {
		box-shadow	: 0 0 7px rgba(0,0,0,.1);
		height	: 135px;
	}

	#main-header.reduit .et_menu_container {
		padding-top	: 40px;
	}

	#main-header.reduit .logo_container {
		line-height	: 115px;
	}

	#main-header.reduit #et-top-navigation {
		height	: 55px;
	}

	#main-header.reduit #et-top-navigation #top-menu > li {
		padding-top	: 15px;
	}
.single .et_pb_post {
    margin-bottom: 0px;
}

.single-post .equipaments-relacionats {
	text-align: center;
	margin-bottom: 40px;
}

span.comments-number {
    display: none;
}

.et_pb_testimonial p:last-of-type {
    margin-bottom: 20px;
}
span.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #333;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #A7062E;
    border-radius: 10px;
    margin-left: 6px;
}

.et_pb_button::after, a.et_pb_more_button::after {
	content	: "\f054";
	font-family	: 'Font Awesome 5 Pro', ETModules !important;
	font-size	: 20px;
	font-weight	:900;
	line-height	: 35px;
	padding-left	: 10px;
}

.multiselect-pressupost .ginput_container_multiselect .gfield_select {
    background: #dddddd;
    color: #000;
    border: 1px solid transparent;
    padding: 6px;
    border-radius: 8px;
}

.add-inline-flex .gfield_checkbox {
	display: inline-flex;
}

.add-inline-flex .gfield_checkbox label {
    margin-right: 15px !important;
}

.multiselect-pressupost .ginput_container_multiselect .gfield_select .gform_wrapper select option {
	display: none;
}

.sombralletres {
	text-shadow: 0 0 10px #000, 0 0 3px #000;
}

#ohSophia h2 {
  font-family: 'Roboto', 'sans-serif' !important;
}

#clickable {
	cursor: pointer;
}

span.doUppercase {
	text-transform: uppercase !important;
}

.boto-ajuda {
    text-shadow: none !important;
    border: 2px solid #A7062E;
    border-radius: 10px;
    margin-top: 10px !important;
    padding: 5px 20px;
    text-transform: none;
    width: 400px;
    margin: auto;
    background: #ffff;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: #333;
}

.boto-ajuda a {
	font-family: 'Roboto' ,'sans-serif';
    text-decoration: none;
    font-size: 24px;
    line-height: 36px;
    font-weight: 300;
    color: #333;
}

.boto-ajuda:hover a {
	text-decoration: underline;
}

.section_404 {
	background-position: center center;
    background-image: url('//cdn.fundesplai.org/plantilla/img/no-trobem-el-que-busques.jpg');
    background-size: cover;
}

.section_404 .et_pb_slide_description {
	animation-name: none!important;
	-webkit-animation-name: none!important;
	-moz-animation-name: none!important;
	-ms-animation-name: none!important;
	-o-animation-name: none!important;
	animation: none !important
}

body.error404 h2.et_pb_slide_title {
    font-weight: 400 !important;
}

/* HELPERS */

#fix-font-weight .et_pb_slide_description h2.et_pb_slide_title {
    font-weight: 400 !important;
}

@media only screen and (max-width: 500px) {
	.boto-ajuda {
    width: auto;
}
}

@media only screen and (min-width: 981px) {
.section_404 {
    margin-top: -40px;
}
}

#moltes-gracies.sophia h4.et_pb_module_header {
    font-family: Roboto, sans-serif !important;
    font-size: 10vh;
    text-align: center;
}

#moltes-gracies .et_pb_blurb_content {
    margin-top: 5vh;
    margin-bottom: 5vh;
}

@media only screen and (max-width: 550px) {
	#moltes-gracies.sophia h4.et_pb_module_header {
		font-size: 7vh;
}
	#moltes-gracies .et_pb_blurb_content {
		padding:20px;
	}
}

@media only screen and (max-width: 450px) {
	#moltes-gracies.sophia h4.et_pb_module_header {
	font-size: 6vh;
}
}

/*
* === Home ===
*
* ------------------------------------------------------------------------- */



.seccio-home-slider {
	z-index	: 10;
}


@media only screen and (max-width: 980px) and (min-width: 769px) {

	.graella-fotos.no-hover.graella-entrades {
	    max-height: 600px !important;
	}

	.separador-responsive {
		display: block !important;
	}

	div#page-container {
   		padding-top: 0px !important;
	}

}


/*estils per sobreescriure els que s'havien fet en linea a suport*/
#destacados_precios .et_pb_column_2, #destacados_precios .et_pb_column_3   {
	background-color:rgba(79, 26, 124, 0.8) !important; 
}
#programes-informatics .et_pb_row, #programes-informatics{
	background-color:rgba(79, 26, 124) !important; 
}
#programes-informatics  .et-pb-icon {
    color: #fff !important;
} 
#programes-informatics  .et_pb_text_6.et_pb_text a {
    color: #fff !important;
	text-decoration:underline;
} 
span.boto {
	color:#fff !important;
}
.que-es-sophia {
	font-size: 45px;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 14px !important;
	background: #A7062E;
	color: #ffffff;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
#et-footer-nav {
    background-color: #c3c3c2;
}
/*fi estils per sobreescriure els que s'havien fet en linea a suport*/



/* Programes informàtics del club suport */

#programes-informatics #custom-suport .graella-categories-suport .overlay h3 {
	color: #FFF;
	text-shadow: 0 0 3px #000, 0 0 3px #000;
    font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
    font-size: 3.5em;
	text-align: center;
	line-height: 40px;
}

#programes-informatics #custom-suport .graella-fotos .foto-sense-overlay .overlay {
	align-self: center;
    background: transparent !important;
	text-align: center;

}

#programes-informatics #custom-suport .graella-fotos .foto-sense-overlay .overlay .boto {
    background-color: #A7062E;
    border-radius: 35px;
    color: #333;
    display: inline-block;
    font-size: 12px;
    height: 35px;
    line-height: 35px;
    width: 35px;
}

#programes-informatics #custom-suport .graella-fotos .foto-sense-overlay {
    max-width: 100%;
    width: 100%;
	background-color: #333333;
	justify-content: center;
	align-items: flex-end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #FFF;
    display: flex;
    flex-grow: 1;
    min-height: 300px;
    position: relative;

}

#programes-informatics .graella-fotos .foto-amb-overlay:hover .overlay {
	display	: none;
}

#programes-informatics .graella-fotos .foto-amb-overlay:hover .overlay-expanded {
	opacity	: 1;
}

#programes-informatics .graella-fotos.no-hover .foto-amb-overlay:hover .overlay {
	display	: block;
}

#programes-informatics .graella-fotos.no-hover .foto-amb-overlay:hover .overlay-expanded {
	opacity	: 0;
}

.obert {
	display: block;
}

.tancat {
	display: none;
}

h3.sophia-pi {
  font-family: Roboto, Helvetica, Arial, Lucida, sans-serif;
    text-transform: none;
    font-size: 60px;
    color: white;
}

hr.hr-pi {
    border: #fff 0.5px solid;
}

.descripcio .et_pb_button {
    margin-bottom: 0px;
}

.descripcio .et_pb_button_module_wrapper {
    margin-bottom: 0px !important;
}

div#comptabilitat-desc span.et-pb-icon {
	animation: none !important;
}

div#facturacio-desc span.et-pb-icon {
	animation: none !important;
}

div#llibre-desc span.et-pb-icon {
	animation: none !important;
}

div#gestio-desc span.et-pb-icon {
	animation: none !important;
}

div#projeccions-desc span.et-pb-icon {
	animation: none !important;
}

div#registre-desc span.et-pb-icon {
	animation: none !important;
}

div#biblioteca-desc span.et-pb-icon {
	animation: none !important;
}

div#temps-desc span.et-pb-icon {
	animation: none !important;
}

.tsfe-paginacio {
    text-align: center;
}

.fce-readmore .fa-plus {
    line-height: 30px !important;
}

.remove-llista ul li {
	list-style: none !important;
}

.bloc-responsive-programes-inf .verd span.et-pb-icon {
    border-radius: 120px;
    border: 1px solid white;
    height: 120px;
    text-align: center;
	width: 120px;
	font-size: 50px;
    line-height: 120px;
}

.bloc-responsive-programes-inf .verd {
    border-bottom: 1px solid #007c37;
}

.bloc-responsive-programes-inf .blanc span.et-pb-icon {
    border-radius: 120px;
    border: 1px solid #333;
    height: 120px;
    text-align: center;
	width: 120px;
	font-size: 50px;
    line-height: 120px;
}

.bloc-responsive-programes-inf .blanc {
	border-bottom: 1px solid white;
}


.encercla-contacte .et_pb_blurb .et-pb-icon {
    color: #ffffff;
    background-color: rgba(255,255,255,0);
    border-color: #ffffff;
    display: block;
    margin: 0 auto;
    text-align: center;
    transition: all 0.2s;
    animation: none !important;
}
/**
 * En aquesta web no volem mostrar el CTA de donacions que surt al peu de cada entrada de blog
 * (Jon - 2020-05-19)
 */
.blog-cta-donacions {
	display	: none;
}
/* Escribe aquí tu código CSS */

/* #main-header .logo_container #logo {
    height: 80px !important;
    max-height: none;
    margin-right: 60px !important;
    width: 230px !important;
}
*/


/*
 * Home
 */

.home__slider h2 {
	font-weight: bold !important;
}

.home__slider .et_pb_slide_title a {
	color: white;
	font-weight: bold;
}

.home__slider .et_pb_button {
	background-color: white;
	color: var(--color-secundari) !important;
}




/*
 * Tweaks Menu
 */

/*
@media screen and (min-width: 981px) {
	
	#main-header #et-top-navigation {
		border-top: none;
	}
	
	#main-header #et-top-navigation #top-menu {
		justify-content: flex-end;
	}
	
	#main-header #et-top-navigation #top-menu li.menu-item {
		padding: 15px 0 0 0;
		margin: 0 25px;
	}
	
	#main-header #et-top-navigation #top-menu li.menu-item .sub-menu {
		transform: translateX(-40%);
		text-align: center;
		padding: 10px 0;
		background-color: var(--color-primari);
		box-shadow: 0 0 20px #dfdfdf;
	}	
}
*/

/*
 * Ficha de Curso
 */

.curso__hero__img img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
}

.curso__title,
.et_pb_section_1_tb_body.et_pb_section.curso__title {
	background-color: var(--color-secundari) !important;
	color: white;
	text-align: center;
	padding: 24px 0;
}

.curso__title__tematica {
	display: block;
	width: 100%;
	font-size: 24px;
	text-align: center;
	color: white;
	opacity: 0.5;
	text-transform: uppercase;
}

.curso__title__title {
	margin-bottom: 18px;
	font-size: 48px;
	text-align: center;
	color: white;
	font-weight: bold;
}

.curso__intro__label {
	text-align: center;
	color: var(--color-secundari);
	padding: 0;
}

.curso__intro__value {
	text-align: center;
	text-transform: none;
	font-family: Roboto, Helvetica, Arial, Lucida, sans-serif;
	font-size: 24px;
	/* font-weight: 400; */
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 20px 0;
	padding-bottom: 0;
}

.curso__intro__text .et_pb_text_inner {
	text-align: center;
}

h3.curso__detalles__bloque-titulo {
	padding: 0 0 8px 0;
	margin-bottom: 24px;
	border-bottom: 1px solid #e1e1e1;
	font-size: 18px;
	color: var(--color-secundari);
}

.curso__detalles__dato {
	padding: 0 24px 0 0;
	line-height: 1.4;
}

.curso__detalles__dato p {
	color: var(--color-secundari) !important;
	font-size: 18px;
	margin-bottom: 6px;	
}

.curso__detalles__dato h4 {
	text-transform: none;
	line-height: 1.4;
}

.curso__detalles__dato ul li {
	margin-bottom: 12px;
}

/*
 * Lista de Cursos
 */

.cursos-lista__header h1 {
	text-align: center;
	font-size: 48px;
	font-weight: bold;
}

.cursos-lista .facetwp-template {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 20px;
}

@media screen and (min-width: 600px) {
	
	.cursos-lista__filtros .et_pb_text_inner {
		display: flex;
		justify-content: center;
	}
	
	.cursos-lista__filtros .et_pb_text_inner > div {
		padding: 0 10px;
	}
	
	.cursos-lista .facetwp-template {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (min-width: 920px) {
	
	.cursos-lista .facetwp-template {
		grid-template-columns: 1fr 1fr 1fr;
	}
}


@media screen and (min-width: 1440px) {
	
	.cursos-lista .facetwp-template {
		grid-gap: 28px;
	}
}

.cursos-lista__filtros p {
	color: var(--color-secundari) !important;
	font-size: 18px;	
}

/*
 * Curso Card
 */

.curso-card {
	box-shadow: 0 0 20px #dfdfdf;
	border-radius: 8px;
	border-top: 4px solid var(--color-primari);
	overflow: hidden;
	transition: all 0.2s ease-out;
}

.curso-card:hover {
	transform: translatey(-8px);
}

.curso-card:hover .curso-card__title {
	color: var(--color-secundari) !important;
}

.curso-card__thumbnail {
	height: 0;
	padding-bottom: 56%;
	position: relative;
}

.curso-card__thumbnail img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.curso-card__contents {
	height: 0;
	padding-bottom: 70%;
	position: relative;
}

@media screen and (min-width: 640px) {
	
	.curso-card__contents {
		padding-bottom: 56%;
	}
}

@media screen and (min-width: 760px) {
	
	.curso-card__contents {
		padding-bottom: 46%;
	}
}

@media screen and (min-width: 920px) {
	
	.curso-card__contents {
		padding-bottom: 64%;
	}
}


@media screen and (min-width: 1440px) {
	
	.curso-card__contents {
		padding-bottom: 46%;
	}
}

.curso-card__contents__wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px 20px;
	color: #757575;
	font-size: 16px;
	line-height: 1.4;
}

@media screen and (min-width: 600px) {
	
	.curso-card__contents__wrapper {
		font-size: 14px;
		line-height: 1.4;
	}
}

@media screen and (min-width: 600px) {
	
	.curso-card__contents__wrapper {
		font-size: 16px;
	}
}

.curso-card__tematica {
	color: var(--color-secundari) !important;
	text-transform: uppercase;
	margin-bottom: 2px;
}

h3.curso-card__title {
	font-family: 'Roboto Condensed',Helvetica,Arial,Lucida,sans-serif;
	font-size: 24px;
	line-height: 1;
	font-weight: bold;
	text-transform: none;
	margin: 0;
}

.curso-card__contents__bottom span {
	/* color: black; */
}


/*
 * Temática - Página
 */

.tematica__header h1 {
	text-align: center;
	font-size: 48px;
	font-weight: bold;
	color: white;
}

.tematica__header__label {
	text-align: center;
	text-transform: uppercase;
	color: white;
	opacity: 0.5;
	letter-spacing: 2px;
	font-size: 22px;
}

.tematica__contents iframe {
	box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

.tematica__cita__picture span {
	width: 100px;
	height: 100px;
}

.tematica__cita__picture span img {
	width: 100px;
	height: 100px;
	object-fit: cover;
}

.tematica__cita__author {
	line-height: 1.2;
}