h2/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/


/*******************************************************************************************
 * ESTILS GENERALS
 *******************************************************************************************/
 
small{
    font-size: 90% !important;
}


.phone-info div#lang_sel_list {
    padding: 0px !important;
}

ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {
    display: none;
}

/*******************************************************************************************
 * AVIA ADVANCED LAYOUT
 *******************************************************************************************/

/* FULLWIDTH MENU */
#top .av-subnav-menu > li {
    padding: 5px 0px;
    font-size: 15px;
}

/*Add your own styles here:*/

#footer {
    padding-bottom: 0px;
}
#footer-page span.av_font_icon a {
    font-size: 26px !important;
    padding-left: 10px;
}

#top * {
    border-radius: 0px;
}
a.goto-slide {
	border-radius: 50px !important;
}

/* Custom header amb la imatge de post de la pàgina */
.page-header {
    height: 200px; 
    overflow: hidden; 
	position: relative;
}
.page-header img {
    width: 100%;
	position:absolute;
	top:-100%; left:0; right: 0; bottom:-100%;
    margin: auto;
}
.titol-header.container {
    height: 200px !important;
}

#header ul.noLightbox.social_bookmarks {
    margin-top: 9px !important;
}

.titol-header h1 {
    background-color: rgba(0,73,150,0.6);
    padding: 20px;
    bottom: auto;
    color: #ffffff;
    text-transform: uppercase;
    position: absolute;
    bottom: 0px;
}
@media only screen and (max-width: 900px) {
	.page-header {
		height: 100px !important;
	}
	.titol-header h1 {
		padding: 10px;
		top: 15px;
		position: relative;
		font-size: 23px !important;
	}
}
.stretch_full.container_wrap.alternate_color.light_bg_color.empty_title.title_container {
	background-color: #ffffff;
}


/* Menú interior amb anchors */
#top .av-subnav-menu li a {
    font-weight: bold;
}


@media only screen and (max-width: 1250px ) {
.av-burger-menu-main { 
     display: block!important; 
}
#top .av_mobile_menu_tablet .av-main-nav .menu-item {
     display: none!important;
}
}
/* Amagar 3r nivell de gerarquia del menú en dispositius mòbils */
ul#av-burger-menu-ul ul ul {
    display: none;
}
/* Amagar breadcrumbs per mòbil */
 /* Hide breadcrumbs on mobile*/
@media only screen and (max-width:767px) {
	.title_container .breadcrumb {
		display:none;
	}
	h2.av-special-heading-tag {
		margin-bottom: 15px !important;
	}
	#top .av-submenu-container { display: none !important; }
}

@media only screen and (min-width: 1250px ) {
.av-burger-overlay {
     display: none!important;
}
}


@media only screen and (max-width: 1250px) {
  #top #header #menu-item-search.menu-item {
    display: block;
  }
}

/* ajustar banderes idiomes del plugin de google translator al secondary header com a codeblock */
.phone-info {
    margin-right: 12px !important;
    margin-top: 14px;
    padding: 0px !important;
}

/* títol slide home */
h1.avia-caption-title {
    font-size: 60px;
    color: #ffffff;
}


/****************************************************************************
 * DISTRIBUÏDORES 
 */

.distribuidora.av-masonry-entry-content.entry-content {
    font-size: 22px;
    text-transform: uppercase;
}

.distribuidora .avia-image-container{margin: 8px !important;}

.av-image-caption-overlay-center p:last-child {
    font-size: 32px !important;
	font-weight: 600 !important;
}

.av-image-caption-overlay-center {
    padding: 10px !important;
}


.titol h1 {
   text-transform: uppercase;
   font-weight: normal;
}

/*
 * Disseny de les Views de toolset */
 
/* 1. Search and Pagination */

.search-pagination .checkbox {
    padding-right: 20px;
    float: left;
}
.search-pagination form.wpv-filter-form {
	overflow: auto;
}

/* 2. Loop Editor */

/* A. Loop */

.loop-editor .row {
  margin: 0px !important;
}


.loop-editor .flex_column.av_one_fourth.flex_column_div {
  margin-left: 1% !important;
  width: 24%;
}

@media only screen and (max-width: 990px) {
  /* Add your Desktop Styles here */
	.loop-editor img.avia_image {
    	width: 600px;
	 	height: 300px;
	}
  	.loop-editor .responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth.flex_column_div,
  	.responsive .av_one_fourth.first + .av_one_fourth + .av_one_fourth + .av_one_fourth.flex_column_div {
    	margin-top: 2px;
  	}
  	.loop-editor .flex_column.av_one_fourth.flex_column_div {
    	width: 48%;
	}
 
}


/* B. Template */
.loop-item .avia-image-container-inner, .avia_image, .av-image-caption-overlay {
    border-radius: 0px;
 }


.loop-item .av-image-caption-overlay h2, 
.loop-item .av-image-caption-overlay h3 {
    color: #ffffff;
}

.loop-item .av-image-caption-overlay h2 {
	font-size: 24px;
	font-weight: normal !important;	
}	
.loop-item .av-image-caption-overlay h3 {
    font-size: 20px;
	font-weight: normal !important;
}


.loop-item img.avia_image {
   height: 200px;
   width: 300px;
}


@media only screen and (max-width: 990px) {
  /* Add your Desktop Styles here */
	.loop-item  img.avia_image {
    	width: 600px;
	 	height: 300px;
	}
}

ul.wpv-pagination-nav-links-container.js-wpv-pagination-nav-links-container.pagination {
    list-style-type: none;
    width: 100% !important;
    overflow: auto;
    display: inline-flex;
}

span.wpv-filter-pagination-link {
    float: left;
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    padding: 0;
    border-radius: 100px;
    margin-right: 3px;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
    background-color: #333333;
}

.wpv_page_current.wpv-pagination-nav-links-item-current.active .wpv-filter-pagination-link {
    	color: #ffffff !important;
}
span.wpv-filter-pagination-link {
	border-radius:100px !important;
}

/* Floating icon whatsapp */
a#scroll-top-link {
    bottom: 130px !important;
    border-radius: 50px;
}
.floating-whats {
	position: fixed;
	right: 50px;
	bottom:60px;
	z-index: 999999 !important;
    width: 50px;
    height: 50px;
}
@media only screen and (max-width: 990px) {
    .floating-whats {
    	right: 20px;
    	bottom:20px;
    }
}



/******************************************************************************************
 * Tribe Events Calendar 
 **/
 
/* Amagar filtres navegació que donen error */
ul.tribe-events-c-top-bar__nav-list {
    display: none !important;
}
a.tribe-common-c-btn-border-small.tribe-events-c-top-bar__today-button.tribe-common-a11y-hidden {
    display: none !important;
}

 
input.tribe-events-button.tribe-no-param {padding: 12px 3px !important;}

/* upcoming home */
span.av-upcoming-event-meta {
    font-size: 14px;
	color: #707070;
}

.tribe-bar-submit {padding: 15px 0px !important;}
/*
.tribe-events-header__events-bar.tribe-events-c-events-bar.tribe-events-c-events-bar--border {
    display: none;
}*/

a.tribe-common-anchor-thin.tooltipstered {
    font-size: 13px;
}
.tribe-events-calendar-month__calendar-event-datetime {
    font-size: 13px !important;
}
a.tribe-events-calendar-month__more-events-link.tribe-common-h8.tribe-common-h--alt.tribe-common-anchor-thin {
    font-size: 14px;
    color: #666666 !important;
}
a.tribe-events-calendar-month__more-events-link.tribe-common-h8.tribe-common-h--alt.tribe-common-anchor-thin {
    opacity: 1;
}

.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event {
    opacity: 0.8;
}

p .especial-title{
	font-size:20px;
	color:black;
	font-weight:bolder;
}

/******************************************************************************************
 * Accessibilitat web
 **/
 
 .avia-cookie-consent a {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    font-size: 15px !important;
    text-transform: uppercase;
    padding: 12px !important;
    margin: 5px !important;
    color: #ffffff !important;
}
.avia_cookie_text{
	font-size: 15px !important;
}

/*mapa hostspot*/
.special-h2-h5 h2{
	font-size:16px;
	text-transform:none !important;
	color:#222 !important;
}
.avia-cookie-consent-button-3{
	color:black !important;
}
.mejs-duration,.mejs-currenttime{
	font-size:14px !important;
}

.single  .avia-tooltip{
	display:none !important;
}

.av-hotspot-container .av-image-hotspot-pulse {
    border-radius: 100px !important;
    background: #000000 !important;
}
.av-image-hotspot_inner {
    border-radius: 50% !important; 
    background-color: #004996 !important;
    color: white !important; 
    font-weight: bold !important;
    width: 50px; 
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 73, 150, 0.8), 0 0 30px rgba(0, 73, 150, 0.6);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.av-image-hotspot_inner:hover {
    box-shadow: 0 0 20px rgba(0, 73, 150, 1), 0 0 40px rgba(0, 73, 150, 0.8);
    transform: scale(1.2); 
}

.av-image-hotspot_inner:hover {
    box-shadow: 0 0 20px #004996, 0 0 40px #004996, 0 0 60px #004996;
}
abbr {
    text-decoration: none !important;
}
