/*
Theme Name:	Plantilla per Alberg Centre Esplai 
Theme URI:	http://www.albergueesplaibarcelona.com
Description:	Plantilla per la web de Alberg. Com a base parteix de la DIVI.
Author:	Miquel Rubio (marubio@fundesplai.org)
Template:	Divi
Version:	1.0.0
Tags: Els mateixos que Divi
Text Domain:  divi-alberg
*/

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


/** Estils generals de la plantilla Fundesplai **/
@import url('//cdn.fundesplai.org/plantilla/style_generics.css?v2');

/**Alerta covid 19 **/
.alerta-libreria {
	margin-top: -50px !important;
}
/*clase per ocultar / mostrar info sobre covid-19*/
.menu_covid {
	/* display:none !important;*/
}
#seccio-alert-covid-19 {
	display:none !important;
    background-color: #FBD22A !important;
    display: flex;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 50px;
    padding: 0;
}
#seccio-alert-covid-19 .col-1 {
    display: flex;
    align-items: center;
    padding: 20px 10px 20px 40px;
}
#seccio-alert-covid-19 .col-1 i {
    font-size: 80px;
}
#seccio-alert-covid-19 .col-2 {
    padding: 20px 30px;
}
#seccio-alert-covid-19 .col-2 h3 {
    font-size: 20px;
    margin-top: 0;
    text-transform: uppercase;
}
#seccio-alert-covid-19 .col-2 h3 i {
    display: none;
}
#seccio-alert-covid-19 .links_ctas {
	margin: 0 auto !important;
	text-align: center;
	padding:25px;
}
#seccio-alert-covid-19 .links_ctas a{
	padding-right:5%;
}

/** Estils específics per la web de l'alberg **/
.et_pb_fullwidth_code_0 {
    width: 100% !important;
    max-width: inherit !important;
}

.filtres-blog button input[type='button'] {
text-indent: -9999px;
  line-height: 0; 
}

.filtres-blog button input[type='button']:after {
content: "New text";
  text-indent: 0;
  display: block;
  line-height: initial; 
}
.filtres-blog {display:none;}


/** 
 * Temporal (Jon) 
 **/
.et-pb-icon {
	font-family	: 'Font Awesome 6 Pro', ETModules;
	font-weight	: 900;
}

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

.citacio-intersticial {
	background-color	: #007C37 !important;
	color: #fff;
	padding: 40px;
	text-align: center;
}

.citacio-intersticial::before {
	display	: none;
}

.citacio-intersticial .et_pb_testimonial_description {
	display	: inline-block;
	max-width	: 1200px;
	padding-left	: 70px;
	position	: relative;
	text-align	: left;
}

.citacio-intersticial .et_pb_testimonial_description::before {
	color	: rgba(255, 255, 255, 0.6);
	content	: "\f10d";
	font-family	: "Font Awesome 6 Pro";
	font-weight	: bold;
	font-size	: 50px;
	left	: 0;
	position	: absolute;
	top	: -20px;
}

.citacio-intersticial .et_pb_testimonial_description_inner {
	font-size	: 24px;
}

.citacio-intersticial .et_pb_testimonial_author {
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
	margin-top: 0;
}

/** bug menu en vist single post **/
#top-menu li.mega-menu li ul {
   /* display: inherit;*/
}
img.bn {	
	-webkit-filter: grayscale(100%);	
	-moz-filter: grayscale(100%);	
	-ms-filter: grayscale(100%);	
	-o-filter: grayscale(100%);	
	filter: grayscale(100%);	
}
h1.subratllat, h2.subratllat, .et_pb_text h2, .et_pb_post_title h1 {
}

.et_pb_fullwidth_image_0 {
    margin-bottom: 50px !important;
}

.et_pb_section_0, .et_pb_section_1, .et_pb_section_2, .et_pb_section_3, .et_pb_section_4, .et_pb_section_5, .et_pb_section_6, .et_pb_section_7, .et_pb_section_8, .et_pb_section_9, .et_pb_section_10 {
  margin-bottom: 50px;
}
.home .et_pb_section_0, .bottom_cero, .page-id-63 .et_pb_section_0, .page-id-2712 .et_pb_section_2, .page-id-1888 .et_pb_section_2 , .page-id-3883 .et_pb_section_2, .page-id-3528 .et_pb_section_2, .page-id-3927 .et_pb_section_2 {
  margin-bottom: 0px !important;
    margin-top: 0px !important;

}
.home .et_pb_section_1, .home .et_pb_section_2 {
  margin-top: 0px !important;
    margin-bottom: 0px !important;

}

.seccio-home-slider {
	align-items	: center;
	display	: flex;
	height	: calc(100vh - 190px);
	min-height	: 400px;
	padding	: 0;
}

.cta-home  {
    margin: 0px !important;
}

.cta-home .et_pb_image_0  {
    padding-right: 2px !important;
   
}
.icones_habitacions {
	text-align: center;
}

.icones_habitacions .fas{
	font-size: 60px;
}

.icones_habitacions {
	font-size: 20px;
}
.et_pb_post {
	/*margin:15px;*/
}

/*estils seccions especifiques*/
/**
 * Secció "Segueix-nos!"
 * Secció que surt al peu de cada pàgina, amb els enllaços a les xarxes socials 
 * i la subscripció al butlletí 
 */
	.seccio-segueix-nos p {
		margin	: 0;
		padding	: 0;
	}

/* Formulari "subscripció a les ofertes" */
	.seccio-segueix-nos .gform_wrapper {
		margin-top	: 0;
	}

	.seccio-segueix-nos .gform_wrapper form {
		align-items: flex-start;
		display: flex;
		max-width	: 600px;
	}
	.seccio-segueix-nos .gform_wrapper .gform_body {
		flex-grow: 2;
		flex-shrink: 0;
	}

	.seccio-segueix-nos .gform_wrapper .gform_body .gfield_label {
		display	: none !important;
	}

	.seccio-segueix-nos .gform_footer {
		margin	: 0 !important;
	}

	/* Enllaços a les xarxes socials */
	.seccio-segueix-nos .et_pb_social_media_follow li a.icon {
		height	: 48px;
		width	: 48px;
	}

	.seccio-segueix-nos .et_pb_social_media_follow li a.icon::before {
		font-size	: 24px;
		height	: 48px;
		line-height	: 48px;
		width	: 48px;
	}
/**
 * Secció "gyns peu"
 * Secció que surt al peu de cada pàgina
 */
 

.salta::before { content: '\A'; white-space: pre; }

 #direccion_schema h3, #direccion_schema span {
	 color:#ffffff;	 
 }
 
 /**
 * Secció "Som fundesplai"
 * Secció que surt al peu de cada pàgina
 */
	.seccio-som-fundesplai .et_pb_column_1_3,
	.seccio-som-fundesplai .et_pb_column_1_3:hover {
		background-image: url('img/logos/logo-alberg-mitja.png') !important; 		
		background-position: center !important;
	}
	.seccio-som-fundesplai {
		margin-bottom:0px;
	}
/*estils seccions especifiques*/

.fce-readmore a, body.archive #left-area .et_pb_post .fce-readmore a {
    background-color: #DCDC1C;
    border-radius: 20px;
    color: #333;
    display: block;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 30px;
}
.fons_gris {
	background:#DDD;
	color:#000;
}
.fons_verd {
	background:#114C24;
	color:#ffffff;
}
.icono_servicios .fas  { 
	color:#114C24 !important;

}
.servicios .fce-readmore { 
	float: right;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.servicios .icon-wrapper { 
	border: 1px solid #333;
	border-radius: 80px;
	display: block;
	font-size: 50px;
	height: 100px;
	line-height: 100px;
	margin: 0 auto;
	text-align: center;
	width: 100px;
}
.servicios:hover .icon-wrapper { 
	border: 1px solid #fff;
}
.servicios {
	display: flex;
	padding:15px;	
	padding-top:30px;	
	padding-bottom:30px;	
	border:2px solid #fff !important;
	min-height: 345px !important;
}
.servicios h2 {
	color:#114C24;
	border-bottom:1px solid #fff;
	font-weight: bold;
}
.servicios:hover, .servicios:hover h2,  .servicios:hover .icono_servicios .fas{
	background:#114C24;
	color:#ffffff !important;
}
.icono_servicios {
	width: 35%;
	float: left;
	margin-left: -20px;
}
.texto_servicios {
	width: 65%;
	padding-left:10px;
	
}


.reservas-codigo iframe {
	display: block;       /* iframes are inline by default */
	margin	: 0 auto;
}

iframe .embed .header-filter {
	background:#000 !important;	
}

.matterport-showcasea1 iframe .tagDesc { 
background:red !important;
}
.matterport-showcasea iframe{
  min-height: 450px;
  margin: 0;
  width: 1480px }
@media screen and (min-width: 768px) {
.matterport-showcasea1 iframe {
  min-height: 360px; }
  
  }

@media screen and (min-width: 992px) {
.matterport-showcasea1 iframe {
  height: 450px;
  max-width: 1480px;
  margin: 0 auto 15px; }}



.home .et_pb_fullwidth_header.et_pb_fullwidth_header_0 {
}
.home .et_pb_fullwidth_header .et_pb_fullwidth_header_container {
	max-width:2500px !important;
}

#titol-home h1 {
    background-image: none;
    color: #FFF;
    font-family: Sophia, Roboto, sans-serif;
    font-size: 120px;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-align: center;
    text-shadow: 0 0 3px #000, 0 0 10px #000;
    text-transform	: none;
}

/** blog **/
.et_pb_blurb_1.et_pb_blurb {
    border-right-width: 0px !important;
}
.et_pb_blog_grid .et_pb_post {
	min-height: 440px !important;
}
/** formularis de reserves**/
/*
.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
    padding: 0 20px;
}
.et_pb_button::after, .et_pb_button::before {
	content: none !important;
	transition: none !important;
}
*/
.et_pb_button::after, .et_pb_button::before { 
	-moz-transition: none;
	transition: none;
}

/** 
 * Formularis de reserva "en línia"
 * Es mostren al peu de totes les pàgines i també
 * a la pàgina d'inici
 */
.form-reserva-inline form {
	display: flex;
	justify-content: center;
}

.form-reserva-inline label {
	background-color: #DDD;
	background-color: #DDD;
	font-weight: 400;
	height: 38px;
	line-height: 38px;
	padding: 0 0 0 10px;
}

.form-reserva-inline label[for=check_in_date] {
	border-bottom-left-radius	: 9px;
	border-top-left-radius	: 9px;
}

.form-reserva-inline input, 
.form-reserva-inline select {
	background-color: #DDD;
	border	: none;
	color	: #000;
	font-family	: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
	font-size	: 100%;
	height	: 38px;
	line-height	: 36px;
	padding-left	: 10px;
}
.form-reserva-inline .select-wrapper {
	background-color	: #DDD;
	overflow	: hidden;
	position	: relative;
}

.form-reserva-inline .select-wrapper select {
	background-color	: transparent;
	border	: none;
	color	: #000;
	height	: 36px;
	line-height	: 36px;
	padding	: 0 29px 0 9px !important;
	width	: calc(100% + 20px) !important;
}

.form-reserva-inline .select-wrapper select::-ms-expand {
	display	: none;
}

.form-reserva-inline .select-wrapper::after {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #333;
	bottom: 0;
	content	: "";
	display	: block;
	height: 0;
	margin: auto;
	pointer-events	: none;
	position: absolute;
	right: 10px;
	top: 0;
	width: 0;
}

.form-reserva-inline button {
	background-color: #DCDC1C;
	border: none;
	border-bottom-right-radius: 9px;
	border-top-right-radius: 9px;
	font-family	: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
	font-size	: 20px;
	font-weight	: 500;
	height: 38px;
	line-height: 36px;
	margin: 0;
	padding: 0 20px;
}

/** 
 * Blog
 */
 
/** Graella de categories per la pàgina Ecoturismo Barcelona **/
.graella-categories-alberg .overlay {
	align-self: center;
	background: transparent !important;
	text-align: center;
}

.graella-categories-alberg .overlay h3 {
	color: #FFF;
	font-family: Sophia;
	font-size: 80px;
}

/*iframme eco */
/* IE 9 o inferior */

@media screen and (min-width:0) and (min-resolution: .001dpcm) {
.internet-explorer  { 
display:block;
} 
.chromemozillaedge {
display:none;
}
}

/* IE 10 o superior */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {

.internet-explorer {
display: block;
}

.chromemozillaedge {
display: none;
}
}

/* Resta de navegadors */
.internet-explorer {
display: none;
}


.chromemozillaedge {
display: block;
}


/*iframme eco */

@media only screen and (max-width: 980px)  {
	#et-secondary-menu, #et-secondary-nav {
		display: inherit !important;
	} 	
	.home #main-content .et_pb_slider .et_pb_container {
		width: 100%;
	}
	#et-secondary-nav > li:last-child {
		display: none;
	}
	.cta-acces-escola a {
		line-height: 40px;
	}
	#main-content .seccio-titol-pagina h1 {
		font-size: 62px;
	}
	#main-content .seccio-titol-pagina h2 {
		font-size: 17px;
	}
	.seccio-principal .et_pb_promo_button {
		margin-top: 300px;
		background-color: rgba(0, 0, 0, 0.1);
	}
	/*Home*/
	#titol-home h1 {
		font-size: 75px;
	}
	.form-reserva-inline input, .form-reserva-inline select {
		font-size: 15px;
	}

	.boton-form {
		width:100%;
		text-align:center;
	}
}

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

	.et_pb_fullwidth_image_0 {
		margin-bottom: 30px !important;
	}

	.et_pb_section_0, .et_pb_section_1, .et_pb_section_2, .et_pb_section_3, .et_pb_section_4, .et_pb_section_5, .et_pb_section_6, .et_pb_section_7, .et_pb_section_8, .et_pb_section_9, .et_pb_section_10 {
		margin-bottom: 30px;
	}
	.seccio-som-fundesplai {
		margin-bottom:0px;
	}
}

/** 
 * Mòdul Visites virtuals
 * És un mòdul de tipus code amb un <iframe> a dins que carrega la visita virtual
 */
.modul-visita-virtual {

}

.modul-visita-virtual .et_pb_code_inner {
	padding-top	: 56.3%;
}

.modul-visita-virtual .et_pb_code_inner iframe {
	height	: 100%;
	left	: 0;
	position	: absolute;
	top	: 0;
	width	: 100%;
}

/* traslladar a CDN nous estils icones a partir d'aquí */

.graella-fotos-alberg {
	display	: flex;
	justify-content	: center;
}

/* ================================
   XARXES SOCIALS SINGLE POST
   Facebook / Instagram / LinkedIn / WhatsApp
   ================================ */

.xarxes-socials {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 18px auto 34px auto !important;
	padding: 0 !important;
	list-style: none !important;
	text-align: center !important;
	width: 100% !important;
	clear: both !important;
	float: none !important;
}

.xarxes-socials li {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
}

.xarxes-socials li::before,
.xarxes-socials li::after {
	display: none !important;
	content: none !important;
}

.xarxa-social {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	max-width: 36px !important;
	max-height: 36px !important;
	border-radius: 50% !important;
	background: #e5e5e5 !important;
	color: #8c8c8c !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	text-decoration: none !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	float: none !important;
	transition: background-color .2s ease, color .2s ease;
}

.xarxa-social:hover {
	background: #dcdc1c !important;
	color: #333333 !important;
	text-decoration: none !important;
}

.xarxa-social-icona {
	font-size: 16px !important;
	line-height: 1 !important;
	color: inherit !important;
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	height: auto !important;
	text-align: center !important;
	font-style: normal !important;
}

.xarxa-social-icona::before {
	display: block !important;
	line-height: 1 !important;
	color: inherit !important;
}

/* Amagar text però mantenir accessibilitat */
.xarxa-social-nom {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* WhatsApp només mòbil */
.xarxes-socials .mobile-only {
	display: none !important;
}

@media (max-width: 767px) {
	.xarxes-socials .mobile-only {
		display: flex !important;
	}
}

/* FIX: eliminar icones antigues per background */
.xarxes-socials a.xarxa-social i.xarxa-social-icona {
	background: none !important;
	background-image: none !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	max-height: none !important;
	border-radius: 0 !important;
}