/*
 Theme Name: Espais recobrats
 Theme URI: https://espaisrecobrats.dev
 Author: Lluís Palà
 Author URI: https://espaisrecobrats.dev
 Template: sydney
 Description: Child theme for Sydney
 Version: 1
 Text Domain: espaisrecobrats
 */

/*ESTILS FONTS*/
/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-pro-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
       url('fonts/source-sans-pro-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v14-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-600 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-pro-v14-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
       url('fonts/source-sans-pro-v14-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v14-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v14-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v14-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v14-latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/raleway-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/raleway-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v18-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}

/* raleway-600 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/raleway-v18-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/raleway-v18-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v18-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v18-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v18-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v18-latin-600.svg#Raleway') format('svg'); /* Legacy iOS */
}

body, #mainnav ul ul a {
    font-family: "Source Sans Pro", sans-serif !important;
}

h1, h2, h3, h4, h5, h6, #mainnav ul li a, .portfolio-info, .roll-testimonials .name, .roll-team .team-content .name, .roll-team .team-item .team-pop .name, .roll-tabs .menu-tab li a, .roll-testimonials .name, .roll-project .project-filter li a, .roll-button, .roll-counter .name-count, .roll-counter .numb-count button, input[type="button"], input[type="reset"], input[type="submit"] {
    font-family: Raleway, sans-serif !important;
}

/*Estils fonts Ajax Search Lite plugin*/

div.asl_r p.showmore, div.asl_r p.showmore a, .results .asl_nores .asl_keyword {
	font-family: "Source Sans Pro", sans-serif !important;
}

div.asl_w .probox .proinput input::placeholder {
    font-family: "Source Sans Pro", sans-serif !important;
	font-size: 16px !important;
}

#ajaxsearchlite1 .probox .proinput, div.asl_w .probox .proinput {
    font-family: "Source Sans Pro", sans-serif !important;
	font-size: 16px !important;
}

#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
    font-family: "Source Sans Pro", sans-serif !important;
	font-size: 16px !important;
}

div.asl_r .results .item .asl_content h3, div.asl_r .results .item .asl_content h3 a {
    font-family: "Source Sans Pro", sans-serif !important;
	font-size: 15px !important;
}

div.asl_r .results .item .asl_content h3 a:hover {
	color: #000 !important;
}

div.asl_r .results .item .asl_content {
    font-family: "Source Sans Pro", sans-serif !important;
}

div.asl_r .results .item .asl_content .asl_desc {
	font-size: 14px !important;
}


/*PÀGINA D'INICI*/ 

#mainnav ul li a {
	font-weight: bold !important;
}

#mainnav ul li a:hover {
    color: #ff7474 !important;
}

#mainnav .sub-menu li:hover > a {
    color: #fff !important;
}

.site-title, .site-description {
	text-shadow: -1px -1px 3px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.8), -1px 1px 3px rgba(0,0,0,0.8), 1px -1px 3px rgba(0,0,0,0.8);
}

#menu-menu-superior {
	text-shadow: -1px -1px 1px rgba(0,0,0,0.8), 1px 1px 1px rgba(0,0,0,0.8), -1px 1px 1px rgba(0,0,0,0.8), 1px -1px 1px rgba(0,0,0,0.8);
}

/*Botons plugin cookie notice*/
.cn-button {
	background-color: #d65050 !important;
}

/*Capçaleres portades notícies pàgina principal*/
.entry-title a {
	color: #d65050 !important;
}

.entry-title a:hover {
	color: #443f3f !important;
}

/*Textos diapos inicials*/
.text-slider .maintitle {
	font-size: 48px;
	text-shadow: -1px -1px 3px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.8), -1px 1px 3px rgba(0,0,0,0.8), 1px -1px 3px rgba(0,0,0,0.8) !important;
}

.text-slider .maintitle::after {
	height: 2px;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.8) !important;
}

.text-slider .subtitle {
	text-shadow: -1px -1px 2px rgba(0,0,0,0.8), 1px 1px 2px rgba(0,0,0,0.8), -1px 1px 2px rgba(0,0,0,0.8), 1px -1px 2px rgba(0,0,0,0.8) !important;
}

.text-slider {
	-webkit-animation-duration: 8s;
	animation-duration: 8s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-name: fadeInOut;
	animation-name: fadeInOut;
}

.button-slider {
	height: 50px;
	width: 50px;
	padding: 0 !important;
	line-height: 50px !important;
	font-size: 20px !important;
	border: 2px solid #d65050 !important;
	border-radius: 50% !important;
	-webkit-animation-duration: 8s;
	animation-duration: 8s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-name: fadeInOut;
	animation-name: fadeInOut;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.8);
	letter-spacing: 0px !important;
}

.roll-button.button-slider:hover {
	background-color: white !important;
}

@-webkit-keyframes fadeInOut {
	0% {opacity: 0;}
	10% {opacity: 0;}
	40% {opacity: 1;}
	70%  {opacity: 1;}
	100% {opacity: 0;}
}
@keyframes fadeInOut {
	0% {opacity: 0;}
	10% {opacity: 0;}
	40% {opacity: 1;}
	70%  {opacity: 1;}
	100% {opacity: 0;} 
}

@media only screen and (max-width: 767px) {
		.text-slider .maintitle {
			font-size: 32px;
		    line-height: 1.1;
		    padding-bottom: 10px;
		}
		.text-slider .subtitle {
		    font-size: 16px;
		    line-height: 24px;
		    padding: 15px 0;
		}
}

@media only screen and (max-width: 479px) {
		.text-slider .maintitle {
			font-size: 18px;
		}
		.text-slider .subtitle {
			font-size: 14px;
		}
		.text-slider {
			margin-bottom: 5px;
		}
		.text-slider .subtitle {
			padding: 5px 0;
		}
}

/*Estils dels noms dels autors del contingut del web a l'apartat El Projecte*/
ul#autors {
	margin: 0;
	padding: 0;
	font-size: 14px;
	text-align: right;
	list-style-type: none;
}

/*Reduir espai entre línies del pop-up del mapa de localització d'elements recobrats*/
.ol-popup {
	line-height: 1.2;
	font-size: 0.8rem;
}


/*Estils del requadre de cerca per nom o paraula clau*/

.search-form  label,
.search-field  {
	width: 100%;
	border-radius: 3px !important;
}


/*Estil del cercador Ajax per poblacions*/
div[id*="ajaxsearchlite"] {
	border-radius: 3px !important;
}

#ajaxsearchlite1, .probox, .proinput, .orig {
	height: 50px !important;
	/*font-size: 14px !important;*/
}

div[id*="ajaxsearchlite"] .probox .proinput input.autocomplete {
    height: 50px !important;
    /* Must match box height */
    margin-top: -50px !important;
}

div[id*='ajaxsearchlite'].wpdreams_asl_container,
div[id*='ajaxsearchlite'].wpdreams_asl_container .probox,
div[id*='ajaxsearchlite'].wpdreams_asl_container .probox input,
div[id*='ajaxsearchlite'].wpdreams_asl_container .probox>div {
    height: 50px !important;
}

div[id*="ajaxsearchlite"] .probox .proloading,
div[id*="ajaxsearchlite"] .probox .proclose,
div[id*="ajaxsearchlite"] .probox .promagnifier,
div[id*="ajaxsearchlite"] .probox .prosettings {
    width: 50px !important;
    height: 50px !important;
}

div[id*="ajaxsearchliteres"] .results .item .asl_content h3,
div[id*="ajaxsearchliteres"] .results .item .asl_content h3 a {
    color: rgb(190, 76, 70) !important;
}

/*Estils del mapa de localització d'elements - plugin OpenStreetMaps*/
.ol-control button {
	background-color: #d65050 !important;
	color: white !important;
}

.ol-scale-line {
	background: rgba(214,80,80,.4) !important;
}

.ol-attribution {
	font-size: 11px;
}

/*Estils del selector d'elements recobrats per data d'inauguració*/
.wpostahs-slider-design-2 .wpostahs-slider-nav .slick-current .wpostahs-main-title button {
	border-color: #d65050;
	background: #d65050;
}

.wpostahs-slider-design-2 .wpostahs-slider-nav .wpostahs-slider-nav-title:hover .wpostahs-main-title button {
	background: #d65050;
}

.wpostahs-slider-design-2 .wpostahs-slider-nav .slick-current {
	color: #d65050;
}

h2.wpostahs-centent-title {
	font-size: 2rem;
}

p.wpostahs-centent {
	margin: 0px;
}

.wpostahs-centent ul {
	padding: 0px;
	color: #d65050;
}

.wpostahs-slider-design-2 .wpostahs-slider-for .wpostahs-slider-nav-content img {
	display: none;
}

.wpostahs-slider-for {
	padding: 0 20px 20px 20px;
}

.wpostahs-slick-slider .slick-dots {
	left: 0 !important;
	right: 0;
}

.wpostahs-slick-slider .slick-dots li button {
	border: 1px solid #a8a8a8;
}

.wpostahs-slick-slider .slick-dots li.slick-active button {
    background: #d65050 !important;
	border: 1px solid #d65050;
}

.wpostahs-slider-design-2 .wpostahs-slider-nav-title .wpostahs-title {
	width: auto;
}

/*Estils dels acordions de les llistes de fitxes per usos*/
.so-widget-sow-accordion .widget-title {
	display: none;
}

.sow-accordion-panel {
	color: #d65050;
	background-color: #fff;
}

.sow-accordion-panel-header {
	padding: 10px 15px !important;
	background-color: inherit !important;
	/*background-color: #fff !important;*/
	/*color: #d65050 !important;*/
	color: inherit !important;
	border: 1px solid #d65050 !important;
}

.sow-accordion-panel-header:hover {
	background-color: #d65050 !important;
	color: #fff !important;
}

.sow-accordion-panel-content {
	background-color: #fff;
}

.sow-accordion-panel-open {
	color: #fff;
	background-color: #d65050;
}

:not(.sow-accordion-panel-open) .sow-accordion-close-button {
	display: none;
}

.sow-accordion-panel-open .sow-accordion-open-button {
	display: none;
}

.sow-accordion-panel-open .sow-accordion-close-button {
	display: inline-block;
}

.sow-accordion-title {
	font-size: 1rem !important;
	width: 90%;
}

.sow-accordion-panel-border {
	padding: 15px !important;
}

/*Estils de l'extensió que llista les fitxes per usos*/
ul.lcp_catlist {
	padding: 0;
	list-style-position: inside;
	color: #d65050;
}

/*.lcp_catlist h3{
	font-size: 1.6rem;
	margin: 20px 0 15px;
	padding-bottom: 5px;
	border-bottom: 1px solid rgb(68, 63, 63);
	
}*/

.lcp_catlist li {
	line-height: 1.2;
	margin-bottom: 1.4rem;
	font-size: 1rem;
}

.lcp_catlist li  a{
	color: #656565;
}

.lcp_catlist li  a:hover{
	color: #d65050;
}

/*ESTILS ENTRADES (NOTÍCIES)*/
.blog-post .entry-title {
	text-align: justify;
}

.entry-post p {
	text-align: justify;
}

/*Estil camps meta de les entrades (notícies)*/
.single .single-meta {
	text-decoration: none;
	text-transform: none;
}

/*.hentry .title-post {*/
.single .entry-header .entry-title {
	font-size: 1.8rem !important;
	text-align: left;
}
.single .meta-post {
	display: none;
}

/*FITXES*/

/*Reduir distància entre capçalera de pàgina i fitxa i entre enllaços de navegació i fitxa*/
.page-template-page_fitxa .page-wrap {
	padding: 0 15px;
}

.page-template-page_fitxa .content-area .hentry {
	padding-top: 0;
	padding-bottom: 0;
}

/*Ajustar colors i espai de l'area de navegació i colors base de les fletxes*/
.post-navigation {
	background-color: transparent;
	padding: 0;
}

.post-navigation span {
	color: inherit;
}

/*Reduir mida de lletra dels enllaços a les fitxes anterior i següent*/
.post-navigation .nav-links {
	font-size: 0.9rem;
	border: none !important;
	margin: 0 !important;
}

/*Color dels enllaços a les fitxes anterior i següent*/
.post-navigation .nav-previous a,
.post-navigation .nav-next a,
.post-navigation .nav-previous span,
.post-navigation .nav-next span {
	color: #443f3f !important;
}

/*Canviar color dels enllaços a les fitxes anterior i següent en passar-hi per sobre*/
.post-navigation .nav-previous:hover a,
.post-navigation .nav-next:hover a,
.post-navigation .nav-previous:hover span,
.post-navigation .nav-next:hover span {
	color: #d65050 !important;
}

/*Reduir distància entre línies quan l'enllaç a les fitxes anterior i següent té més d'una línia, i separar enllaços per pantalles petites*/
.post-navigation .nav-previous, .post-navigation .nav-next {
	line-height: 1.5m !important;
	border: none !important;
	padding: 10px 0 20px !important;
	/*width: 40%;*/
}

/*Esborrar línia vermella separadora sota navegació superior de les fitxes*/
.page-template-page_fitxa .content-area .hentry::after {
	display: none;
}

/*Estil del selector de fitxes per número*/
#selectnumfitxa, #selectnumfitxa option {
	display: block;
	margin: 5px auto;
	padding: 5px;
	text-align: center;
	height: auto;
	max-width: 300px;
	font-size: 0.9rem;
	font-family: "Source Sans Pro", sans-serif;	
}

/*Estil del número de les fitxes*/
.numfitxa {
	color: #969696;
	font-family: "Source Sans Pro", sans-serif !important;
	font-size: 4rem !important;
	float: right;
	padding: 0;
	margin: 0 0 0 30px;
}

/*Estil del títol de les fitxes*/
h1.titleline-1, h1.titleline-2 {
	font-size: 2.2rem !important;
}

.titleline-1 {
	color: #d65050;
}

/*Estil dels encapçalaments del text de les fitxes*/
.header-text-fitxa {
	font-size: 1.5rem;
	margin: 20px 0 15px;
	color: #d65050;
}

/*Estil dels camps de la capçalera de les fitxes (usos, adreça, població...)*/
.infofitxa{
	line-height: 1rem;
}

/*Widget mapa fitxes*/
#secondary.widget-area {
	border: none;
	padding: 0 15px 15px 15px;
}

#secondary.widget-area .widget {
	margin-bottom: 0;
}

#map_ol3js_1 {
	width: 100% !important;
}

/*Crèdits de les ortofotos*/
.ortocaption {
	position: relative;
	margin-top: -18px;
	font-size: 11px;
	text-align: center !important;
	background-color: white;
	opacity: 0.8;
	color: black;
}

/*Augmentar marge superior del projector d'imatges de les fitxes*/
.master-slider-parent {
	margin-top: 20px;
}

/*Justificar textos*/
.entry-content p {
	text-align: justify;
}

/*Estil de les fotos històriques*/
.fotohistorica {
	margin: 10px 0 20px 20px;
	border: 1px solid #cfcfcf;
}

/*PEU*/
#sidebar-footer {
	color: #888;
}

#sidebar-footer.widget-area .widget {
	margin-bottom: 0;
}

.footer-widgets-grid {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.footer-widgets .widget-title {
	margin: 5px 0 10px 0 !important;
}

.footer-widgets a {
	color: #d65050 !important;
}

.footer-widgets a:hover {
	color: white !important;
}

/*Canviar color de l'enllaç del peu de pàgina quan s'hi passa el ratolí*/
.site-footer, .site-footer a:hover {
	color: #d65050;
}


/*Estil del menú del peu de pàgina de l'avís legal i la política de cookies*/
.menu-peu ul {
	padding: 0;
}

.menu-peu li {
	display: inline;
	margin: 0 30px;
}

.widget-area a:hover {
	color: #d65050;
}

.site-info {
	text-align: center;
	font-size: 0.9rem;
}



h2.legal {
	font-size: 1.2em;
	margin: 30px 0 10px 0;
}





.mesinfonoticia {
	text-align: right !important;
	font-size: 0.9em;
	font-weight: bold;
}

.content-area .hentry::after {
	left: 40%;
	width: 20%;
}



/*Estil per separar fotos quan es facin estil bootstrap*/
.margin-bottom-photo {
	margin-bottom: 1em;
}

/*Estil peus de foto en general*/
.wp-caption-text {
	text-align: center;
	font-size: 1.4rem;
	color: #686868;
}


