/*
Theme Name: m4Social
Author: m4Social
Description: Your description goes here
Version: 1.0
Template: Divi

This is the child theme for Divi theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

body,
html {
  overflow-y: hidden !important;
}
/* HELPERS */
.pull-left {
	float: left;
}

/* HEADER */
.mobile_menu_bar:before {
	top: -4px !important;
}

.social-links-wrapper .et-social-icons {
	margin-right: 0 !important;
}

.social-links-wrapper .et-social-icons li {
	margin-left: 10px;
}

/* LANGUAGE SWITCHER */
.lang-switcher-wrapper {
	position: relative;
	z-index: 100;
	margin: 0 10px 0 20px;
}

#select_lang_switch li {
  display: inline-block;
  list-style: outside none none;
  margin-right: 5px;
  text-transform: uppercase;
}
 
#select_lang_switch li+li {
	border-left:1px solid #000;
	padding-left: 5px;
}

#select_lang_switch li:not(.active) a {
	color: #666 !important;
}

.wpml-ls-item a {
  font-size: 12px;
  color: #707070 !important;  
}
.wpml-ls-current-language a {
  color: #00a826 !important;  
}

/* SLICK SLIDERS */

.news-slider-wrapper .tp-leftarrow {
  top: 100px;
  left: 0;
}

.news-slider-wrapper .tp-rightarrow {
  top: 100px;
  right: 0;
}

/* HOME: FEATURED NEW */

.featured-new-content-wrapper {
	padding: 50px 40px !important;
}

.featured-new-content-wrapper h2 a:hover {
	color: #4ba60e;
	transition: color 300ms ease 0ms,background-color 300ms ease 0ms,border-radius 300ms ease 0ms;
}

.featured-new-item-date {
	font-weight: bold;
}

/* HOME: Blurbs */

.home .et_pb_main_blurb_image {
	margin-bottom: 0;
}

/* NEWS: Slider */
.noticias-item-content {
	padding: 0 20px;
}

.noticias-item-date {
	font-weight: bold;
}

.noticias-item-title h4 a:hover {
	color: #4ba60e;
	transition: color 300ms ease 0ms,background-color 300ms ease 0ms,border-radius 300ms ease 0ms;
}

/* FEATURED EVENTS */
.entry-content .ecs-event-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	align-content: center;
}

.entry-content .ecs-event {
	flex-grow: 1;
  flex-basis: 0;
  text-align: center;
}

.date_thumb .day {
	font-size: 40px;	
}

.date_thumb .month {
	text-transform: uppercase;
	margin-top: 5px;	
}

.et_pb_post_slider {
  overflow: visible;  
}

.blog-posts-home .et_pb_slide_description,
.blog-posts-home h4.et_pb_slide_title a {
  text-shadow: none !important;
}

.blog-posts-home .et-pb-arrow-prev {
  left: -40px !important;
}

.blog-posts-home .et-pb-arrow-next {
  right: -40px !important;
}

.post-meta {
  position: relative;
}

.home .post-meta a,
.home .post-meta {
  color: transparent !important;
}

.home .post-meta .published {
  color: white !important;
  position: absolute;
  left:0;
}

.et-pb-controllers a {
  width: 17px;
  height: 17px;
  border-radius: 17px;
}

/* COUNTDOWN */
.percent-value {
  font-weight: 800;
}

h3.et_pb_module_header {
  font-weight: 800;
  line-height: 25px;
}
/* COL·LABORADORS */
.colaboradors img {
	max-width: 250px !important;
}
.home-banner .et_pb_slide_description {
  padding:30px !important;
  background: rgba(0,0,0,.5);
  position: absolute;
  top:30%;
  right: 0px;
}
.agenda-home {
  display: block;
  width: 100%;
  clear: both;
}
.agenda-home .ecs-event-list {
  flex-wrap: wrap;  
}
.agenda-home .ecs-event {
  flex-basis: 46% !important;
  padding: 20px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  margin: 0 2% 5%;
  text-align: left;
  position: relative;
  height: 250px;
  padding: 20px;
}
.agenda-home .duration {
  display: block;
  width: 100%;
}
.agenda-home .time {
  position: absolute;
  top:20px;
  border-top: 2px solid #00a826;
  max-width: 82%;
  padding-top: 10px;
}
.agenda-home .ecs-event:nth-of-type(3) .time {
  max-width: 92%;
}
.agenda-home .time .tribe-event-date-start {
  font-size: 13px;
  font-family: "Montserrat";
  font-weight: 600;
}
.agenda-home .time .dia {
  font-size: 50px;
  font-family: "Montserrat";
  font-weight: 700;
  padding-top: 10px;
  padding-bottom: 5px;
}
.agenda-home h4 {
  text-align: left;
  color: #707070;
  font-family: "Montserrat";
  font-weight: 500;
  position: absolute;
  top: 120px;
  line-height: 17px;
  font-size: 14px;
  padding-right: 20px;
  margin: 10px 0;
  display: block;
}
.agenda-home .venue {
  position: absolute;
  bottom: 20px;
  font-size: 13px;
  font-weight: 700;
}
.blog #main-content .container:before {
  content: none;
}
.blog #left-area {
  width: 65%;
  padding-right: 0;
}
.blog #sidebar {
  width: 35%;
  padding-right: 0;
  float: right;
}
.blog #sidebar h4 {
  color:black;
  line-height: 19px;
  font-weight: 800;
  margin-bottom: 30px; 
}
.blog #sidebar li .rpwwt-post-title:before,
.blog #sidebar h4:before {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background:#00a826;
  margin-bottom: 10px;  
}
.blog #sidebar li .rpwwt-post-title:before {
  position: absolute;
  left:140px;
  top:0;
}
.blog #sidebar li {
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  position: relative;
}
.blog #sidebar li img {
  width: 120px;
  height: 120px;
  margin-right: 20px;
}
.blog #sidebar li .rpwwt-post-title {
  font-weight: 500;
  display: block;
  margin-top: 10px;
  line-height: 19px;
}
.blog #sidebar li .rpwwt-post-date {
  font-weight: 500;
  font-size: 12px;
}
.blog #sidebar li .rpwwt-post-excerpt {
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 18px;
  margin-top: 10px;
}
.blog .tagcloud a {
  background:rgba(0,146,33,.25);
  border-radius: 20px;
  padding: 0 15px;
  margin:3px 1px;
  color: black;
  font-size: 12px;
  text-transform: uppercase;  
}
.blog #block-3 li {
  box-shadow: none;
  margin:0;
}
.single-tribe_events #main-content,
.post-type-archive #main-content,
.post-type-archive.post-type-archive-tribe_events  #main-content {
  background-color:#f6f6f6;
}
.tribe_events {
  width: 100%;
}
.tribe-events-event-image {
  width: 70% !important;
}
.tribe-events-schedule {
  position: absolute;
  right: 0;
  width: 28% !important;
}
.propers-events .ecs-event-list {
  display: flex;
}
.other-events .ecs-event,
.propers-events .ecs-event-list .ecs-event {
  list-style: none;
  border-top: 2px solid #00a826;
  flex-basis: 23%;
  margin: 0 1%;
  padding:20px;
  box-shadow: 0px 3px 6px rgba(0,0,0,.16);
  background:white;
  position: relative;
}
.other-events .ecs-event {
  flex-basis: 47%;
  margin: 0 1.5%;
}
.propers-events .ecs-event .time {
  position: absolute;
  top: 30px;
  font-weight: 700;
}
.propers-events .ecs-event .time .dia {
  font-size: 60px;
  margin-bottom: 10px;
}
.propers-events .ecs-event .summary {
  margin-top: 90px;
}
.propers-events .ecs-event h4 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}
.propers-events .ecs-event h4 a {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: #777 !important;
}
.propers-events .ecs-event h4 a:hover {
  color: #00a826 !important;
}
/* AGENDA PAGE */
.single-tribe_events #main-content .container:before,
.post-type-archive-tribe_events #main-content .container:before {
  width: 0;
}
.post-type-archive-tribe_events h2 {
  font-weight: 800;
  font-size: 38px;
  width: 25%;
  line-height: 45px;
}
.single-tribe_events #left-area,
.post-type-archive-tribe_events #left-area {
  width: 100%;
  padding: 0;
}
.post-type-archive-tribe_events .tribe-events-widget-events-list__events {
  display: flex;
  flex-wrap: wrap;
}
.post-type-archive-tribe_events .upcoming-events-sc .tribe-common-g-row {
  box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 15%);
  background:white !important;
  padding: 20px;
  flex-basis: 23%;
  margin: 0 1%;
  height: 100%;
  overflow: hidden;
  font-family: "Montserrat";
}
.post-type-archive-tribe_events .tribe-events-calendar-list .tribe-events-calendar-list__event-row,
.post-type-archive-tribe_events .tribe-events-calendar-list .tribe-common-g-row {
  box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 15%);
  background:white !important;
  padding: 20px;
  font-family: "Montserrat";
  margin:0 0 20px;
  display: block; 
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-details,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-wrapper {
  width: 100%;
  padding: 0 !important;  
}
.post-type-archive-tribe_events .tribe-events-calendar-list .tribe-common-g-col .tribe-common-g-row {
  background:white;
  padding: 0px;
  display: block;
  box-shadow: none; 
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-date-tag {
  float: left;
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-widget-events-list__event-date-tag {
  width: 100% !important;
  clear: both;
  border-top: 2px solid #00a826;
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-wrapper {
  border-top: 2px solid #00a826;
  padding-top: 10px !important;  
}
.post-type-archive-tribe_events header.tribe-events-header,
.post-type-archive-tribe_events .tribe-events-widget-events-list__view-more,
.post-type-archive-tribe_events .tribe-events-widget-events-list__event-datetime-wrapper {
  display: none;
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-date-tag {
  padding-top: 10px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-width: 70px !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-label, 
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-label,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-venue-address,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-venue-title.tribe-common-b2--bold,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-date-tag .tribe-events-calendar-list__event-date-tag-daynum,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-date-tag .tribe-events-calendar-list__event-date-tag-weekday,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-widget-events-list__event-date-tag .tribe-events-widget-events-list__event-date-tag-month,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-widget-events-list__event-date-tag .tribe-events-widget-events-list__event-date-tag-daynum {
  text-align: left;
  font-family: "Montserrat" !important;
  color:#666666;
}
.post-type-archive-tribe_events .tribe-events-calendar-list__event-venue-title.tribe-common-b2--bold {
  font-weight: 600 !important;
  display: block;
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-date-tag .tribe-events-calendar-list__event-date-tag-weekday,
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-widget-events-list__event-date-tag .tribe-events-widget-events-list__event-date-tag-month {
  font-size: 16px;
  text-transform: none;
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-widget-events-list__event-date-tag .tribe-events-widget-events-list__event-date-tag-daynum {
  font-size: 45px;
}
.post-type-archive-tribe_events .tribe-common-g-row .tribe-events-calendar-list__event-date-tag .tribe-events-calendar-list__event-date-tag-daynum {
  font-size: 35px; 
  margin-bottom: 50px; 
}
.post-type-archive-tribe_events .tribe-common-g-row h3 {
  font-family: "Montserrat" !important; 
  line-height: 19px !important;    
}
.post-type-archive-tribe_events .tribe-common-g-row h3 a {
  color:#666666 !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px !important; 
}
.post-type-archive-tribe_events .tribe-common-g-row h3:hover a,
.post-type-archive-tribe_events .tribe-common-g-row h3:hover,
.post-type-archive-tribe_events .tribe-common-g-row h3 a:hover {
  color:#00a826 !important;
  text-transform: none !important;
  border-bottom: none !important;
}
.tribe-events-view .tribe-events-l-container {
  padding: 100px 0 0 !important;
}
.post-type-archive-tribe_events .tribe-events-calendar-list {
  display: flex;
  flex-wrap: wrap;
}
.post-type-archive-tribe_events .tribe-events-calendar-list__event-venue {
  display: block;
  margin-top: 20px;
}
.post-type-archive-tribe_events .month-group {
  flex-basis: 48%;
  margin: 0 1%;
}
.tribe-events-single .tribe-events-single-event-title:before,
.entry-content h2.page-title:before,
.post-type-archive-tribe_events .month-group:before {
  content:"";
  width: 150px;
  height: 2px;
  background: #00a826;
  display: block;
  margin-bottom: 10px;
}
.tribe-events-calendar-list__month-separator-text.tribe-common-h6--min-medium {
  font-family: "Montserrat" !important;
  text-transform: capitalize;
  color:#00a826;
  font-size: 24px !important;
  font-weight: 800;
}
.tribe-events .tribe-events-calendar-list__month-separator:after {
  content:none;
}
.tribe-events-c-ical {
  text-align: center !important;
  margin-top: -55px !important;
  margin-bottom: 60px !important;
}
.tribe-events-c-ical__link {
  background:#00a828 !important;
  border-color:#00a828 !important;
  padding: 10px 15px;
  border-radius: 10px;
  color: white !important;
  font-family: "Montserrat" !important;
  font-size: 15px;
}
.tribe-events-c-ical__link svg {
  color:white !important;
}
/* 1 ITEM AGENDA PAGE */
.tribe-events-single .tribe-events-single-event-title {
  font-family: "Montserrat";
  color:#00a826;
  margin-bottom: 20px;
}
.tribe-events-schedule {
  display: block;
  float: right;
  padding: 70px;
  background:white;
  box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 15%);
  font-family: "Montserrat";
  margin-top: 0 !important;
}
.tribe-events-schedule .date-num {
  font-size: 37px !important;
  line-height: 43px !important;
}
.tribe-events-single-event-description {
  width: 90% !important;
  margin-top: 30px;
  margin-bottom: 40px;
  color: #666666;
  font-family: "Montserrat";  
}

.tribe-events-single-event-description .et_pb_section {
  background:transparent !important;  
}

.tribe-events-single-event-description .et_pb_row {
  padding: 0 !important;
  margin: 0px !important;
  width: 100% !important;  
}

.tribe-events-single-event-description p {
  font-size: 16px;
}

.tribe-events-schedule h2 {
  font-family: "Montserrat";
  font-size: 20px;  
}

a.tribe-events-button {
  background-color:#00a826 !important;
  padding: 10px 15px;
  border-radius: 10px;
  color:white !important;
  font-family: "Montserrat";
}
.tribe-events-single-section {
  width: 100% !important;
  background: white !important;
}
.tribe-events-back a,
.tribe-events-nav-next a,
.tribe-events-nav-previous a,
h2.tribe-events-single-section-title,
.tribe-organizer a,
.tribe-address,
.tribe-venue a,
.tribe-events-event-url a,
.tribe-events-abbr,
.tribe-events-start-date-label,
.tribe-events-single-section-title {
  font-family: "Montserrat";  
  color:#666 !important;
}
.tribe-events-single-section:before,
.tribe-events-nav-next::before,
.tribe-events-nav-previous::before {
  content: none; 
}
h2.tribe-events-single-section-title {
  text-transform: inherit !important;
  letter-spacing: 0 !important;
  font-size: 20px !important;
  color:#00a826 !important;
}
.tribe-events-meta-group {
  padding: 0 30px 30px; 
}
.tribe-events-single-section {
  padding-top: 30px !important;
  margin-top: 30px;
  border-top: 2px solid #00a826;
}
li::marker {
  display: none;
  width: 0 !important;
}
.tribe-events-ical,
.tribe-events-gcal {
  background-position: 10px 12px !important;
}
#tribe-events-footer {
  border-top:none !important;
}
/* CONTACT PAGE */
.custom-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
  width: 100%;
  border:none;
  padding: 15px;
  box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 15%)  
}
.custom-contact-form input[type="submit"] {
  position: absolute;
  left:0;
  right: 0;
  width: 20%;
  text-align: center;
  margin: 0 auto;
  background:#00a826;
  border: 1px solid #00a826;
  color: white;
  font-size: 16px;
}
.custom-contact-form input[type="submit"]:hover {
  background:white;
  color: #00a826;
  border: 1px solid #00a826;
  cursor: pointer;
}
/* BLOG PAGE */
.featured-post article a {
  width: 55%;
  float: left;
}
.featured-post article .post-content,
.featured-post article .post-meta,
.featured-post article h2 {
  width: 45%;
  float: right;
}
.featured-post article h2 a {
  width: 100%;
  float: none;
}
.blog-posts .et_pb_ajax_pagination_container {
  display: flex;
  flex-wrap: wrap;
}
.blog-posts .et_pb_ajax_pagination_container .et_pb_post {
  flex-basis: 22%;
  margin: 0 1%;
}

.primera-noticia .et_pb_post .entry-featured-image-url{
	margin-bottom: 0%;
	padding-right: 5%;
}
.primera-noticia .et_pb_post {
	padding-right: 5%;
	margin-bottom: 1%;
	height: 400px !important;
	overflow: hidden !important;
}
.primera-noticia .et_pb_post a img {
  height: 400px;
}
.primera-noticia .entry-title {
	line-height: 30px;
	padding: 3% 0;
}
.primera-noticia .entry-title a:hover {
  color:#00a826 !important;
}
.primera-noticia .post-content,
.primera-noticia .post-meta {
  padding:0 !important; 
}
.primera-noticia .post-content p {
  line-height: 22px; 
}
.not-petites article{
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
	margin-top: 3% !important;
	padding-bottom: 40px;
}
.not-petites img{
	height: 200px !important;
	max-width: none !important;
	width: auto !important;
}
.not-petites .et_pb_post .entry-featured-image-url{
	margin-bottom: 10px;
}
.not-petites article .post-content,
.not-petites article h2,
.not-petites article .post-meta {
	padding: 0 20px !important;
}
.not-petites article.et_pb_post h2.entry-title {
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
}
.primera-noticia .entry-title:before,
.not-petites .et_pb_post .entry-featured-image-url:after{
	content:'_______';
	font-size:25px;
	color: #00A826;
	padding-left: 10px;
}
.primera-noticia .entry-title:before {
  padding-left: 0 !important;
  margin: 0 !important;
}
.not-petites article .post-content-inner {
  margin-bottom: 10px;
  display: block;
}
.not-petites article .post-meta {
  padding-top: 20px !important;
}
.not-petites article .post-content-inner p {
  padding: 10px 0 !important;
}
.pagination {
  display: block;
  margin: 30px auto 0;
  text-align: center;
  width: 100% !important;
}
.pagination a {
  display: block;
  padding: 10px 20px;
  color:white;
  background:#00A826;
}
.post-template-default .et_pb_post_content ul {
  padding: 0;
  margin-top:20px;
}
.post-template-default .et_pb_post_content ul li {
  list-style: none;
  border-bottom: 2px solid #00a826;
  padding-bottom: 10px;
  margin-bottom: 30px;
  line-height: 20px;
}
.post-template-default .et_pb_post_content blockquote {
  border: none;
  background:#bedfc6;
  font-style: italic;
  line-height: 22px;
  font-weight: 400;
  padding: 15px 25px;
}
.post-template-default .et_pb_post_content blockquote p {
  padding-bottom: 15px !important;
}
.post-template-default .et_pb_post_content img {
  padding:20px !important;
}
.post-template-default .post-categories {
  text-align: right;
}
.post-template-default .post-categories a {
  text-transform: uppercase;
  background:rgba(0,146,33,.25);
  border-radius: 20px;
  padding: 10px 25px;
  color: black !important;
}

.rt-reading-time {
  position: absolute;
  top: -50px;
  left: 0;
  z-index: 2;
  font-size: 14px;
  color:#b3b3b3;
}

.single-post .et_pb_section {
  background:transparent;
  padding:0;
  margin:0;  
}

.single-post .et_pb_row {
  width: 100%;
}

.single-post #block-2 {
  margin-bottom: 10px;
}

.single-post #block-4 .wp-block-latest-posts__featured-image {
  float: left
}

.single-post #block-4 a {
  font-size: 13px;
  display: block;
  line-height: 17px;
  margin-left: 110px;
  font-weight: 800;
  color:#00a826;
}

.single-post #block-4 time {
  margin-left: 110px;
}

.single-post #block-4 li {
  margin-bottom: 40px;
  border-top: 1px solid #00a826;
  padding-top: 10px;
}

@media only screen and (min-width : 320px) {
	.blog-posts .et_pb_ajax_pagination_container .et_pb_post{
		flex-basis: 100% !important;
	}
}
@media only screen and (min-width : 992px) {
	.blog-posts .et_pb_ajax_pagination_container .et_pb_post{
		flex-basis: 23% !important;
		max-width: 300px;
		overflow: hidden;
	}
}

.et_pb_button_module_wrapper a {
	color: white;
}
.et_pb_column_5_tb_footer .et_pb_button {
  background: #00a826 !important;
}
.primera-noticia .et_pb_post .entry-featured-image-url{
	margin-bottom: 0%;
	padding-right: 5%;
}
.primera-noticia .et_pb_post {
	padding-right: 5%;
	margin-bottom: 1%;
}
.primera-noticia .entry-title:before{
	content:'_______';
	font-size:25px;
	color: #00A826;
	margin-left: 4%;
	display: block;
}
.not-petites article{
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
	margin-top: 3% !important;
	padding-bottom: 10px;
}
.not-petites .et_pb_post .entry-featured-image-url{
	margin-bottom: 10px;
}
.not-petites article h2, .not-petites article p{
	padding-left: 4%;
	padding-right: 4%;
	padding-bottom: 10px;
}
.not-petites .et_pb_post .entry-featured-image-url:after{
	content:'_______';
	font-size:25px;
	color: #00A826;
	margin-left: 4%;
}
/*-------Home------------*/
.agenda-home .time{
	display: flex;
	flex-wrap: wrap;
}
.agenda-home .duration .date-num {
	font-size: 45px;
	font-weight: 700;
	position: absolute;
 	top: 40px;
}

.agenda-home .date-month {
  font-weight: 700;
  font-size: 14px;  
}

.agenda-home .ecs-event .date1 .date-num, .agenda-home .ecs-event .date2 .date-num {
	margin-left: 0px;
	display: flex;
	flex-basis: auto;
	
}
.agenda-home .ecs-event .duration .date-time {
	position: absolute;
	margin-top: 70px;
	top:0px;
	font-size: 13px;
}

.agenda-home .ecs-event .date2{
	padding-left: 20px;
}

.agenda-home .date-wrap {
	display:flex;
	flex-basis: 45%;
}

.agenda-home .btw-months .date-num {
  font-size: 31px;
  line-height: 34px;
  top: 10px;  
}

.post-type-archive-tribe_events .upcoming-events-sc .tribe-common-g-row{
 	max-height: 210px;
 	height: 210px;
}

.tribe-events-view .tribe-events-l-container{
	padding-top: 0px !important;
}

.projecte h2.entry-title a:hover {
  color:#16a624 !important;  
}

.tribe-event-time,
.tribe-event-date-end,
.tribe-event-date-start {
  font-family:"Montserrat" !important;
}

.recursos-grid-wrapper .container {
  width: 100% !important;
  display: flex;
  flex-wrap: wrap;
}
.projecte-grid-item,
.recurs-grid-item {
  flex-basis: 30%;
  margin: 0 1.5% 4%;
}
.projecte-grid-item ul,
.recurs-grid-item ul {
  margin:0;
  padding:0;
  list-style: none;
}
.projecte-item-text a,
.projecte-grid-item a,
.recurs-grid-item a {
  font-size: 16px;
  font-weight: 700;
  color: #666 !important;
}
.projecte-item-text,
.recurs-item-text {
  line-height: 19px;
}
.recurs-grid-item:hover .recurs-item-content a,
.projecte-grid-item a:hover,
.recurs-grid-item a:hover {
  color: #00a826 !important;
}

.projecte-grid-item:hover,
.recurs-grid-item:hover {
  cursor: pointer;  
}

.projecte-grid-item:hover .projecte-item-image,
.recurs-grid-item:hover .recurs-item-image {
  opacity: .7;  
}

.et_pb_module label {
  color: #00a826;
  font-weight: 800;
  font-size: 24px;
  display: block;
}

.mostrar-recurs label:before,
.mostrar-projecte label:before,
.projecte-ponencies label:before {
  content:"";
  width: 150px;
  border-top: 2px solid #00a826;
  display: block;
  height: 2px;
  padding-top: 10px;
}

.recurs-bloc2 iframe,
.projectes-videos-secundaris iframe,
.projecte-ponencies iframe {
  width: 100%;
}

.logos-wrapper {
  justify-content: center;
  padding-bottom: 40px;
}

.logos-wrapper:after {
  content:"";
  display: block;
  width: 350px;
  height: 1px;
  background-color:#00a826;
  flex-basis: 80%;
}

.img-logo {
  margin-bottom: 40px;
  flex-basis: 25%;
}

.mostrar-projecte .logos-wrapper img {
  max-height: 70px !important;
}

.mostrar-projecte h2 {
  font-size: 20px;
  line-height: 22px;
  margin: 20px auto 0;
}

.projecte-bloc1 {
  padding: 1% 4% 0 0 !important;
}

.projecte-link-inscripcio a {
  display: block;
  padding: 10px;
  background: #00a826;
  border: 2px solid #00a826;
  color: white;
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  width: 80%;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: 0px 3px 6px rgba(0,0,0,.15);
}

.projecte-link-inscripcio a:hover {
  background: white;
  border: 2px solid #00a826;
  color: #00a826;
}

.projectes-imatges,
.projecte-ponencies,
.projecte-programa,
.projectes-noticies {
  display: block;
  margin-top: 50px;
}

.projectes-imatges {
  width: 100%;
  display: block;
}

.projectes-imatges .projecte-img {
  text-align: center;
}

.projectes-imatges .projecte-img img {
  margin: 0 auto;
}

.projectes-videos-secundaris .projectes-video-individual {
  display: block;
  width: 46%;
  margin: 0 1.5% 3%;
  float: left;   
}

.projecte-ponencies {
  width: 100%;
  margin-right: 1.5%;
}
.projecte-ponencies iframe + div,
.projecte-ponencies iframe {
  width: 47%;
}
.projecte-ponencies iframe + div {
  margin-bottom: 30px !important;
  clear: both;
}
.projectes-videos-secundaris {
  width: 100%;
}

.noticia-item {
  border: 2px solid #00a826;
  padding: 15px 20px;
  margin: 20px 0 10px;
  border-radius: 25px;
  box-shadow: 0px 3px 6px rgba(0,0,0,.15);
  display: flex;
}

.noticia-titol {
  flex-basis: 21%; 
  font-weight: 800; 
  font-size: 14px;
}

.noticia-date {
  flex-basis: 79%; 
  line-height: 20px;
  font-size: 14px; 
}

.projecte-programa {
  display: flex;
  flex-wrap: wrap;  
}

.projecte-programa label {
  flex-basis: 100%;  
}

.recurs-bloc1,
.recurs-bloc2 {
  flex-basis: 48%;  
}

.recurs-bloc1 {
  padding-right: 3%;
  margin-bottom: 3%; 
}

.projecte-programa .programa-dia {
  flex-basis: 48%;
  padding: 2% 3%;
  background: white;
  box-shadow: 0px 3px 6px rgba(0,0,0,.15);
  margin-top: 30px;
}

.projecte-programa .programa-dia:nth-of-type(1) {
  justify-content: flex-start;
  margin-right: 4%;
}

.projecte-programa .programa-dia:nth-of-type(2) {
  justify-content: flex-end;
}

.projecte-programa .programa-dia h4:before {
  content:"";
  display: block;
  border-top: 1px solid #00a826;
  width: 100%;
  height: 1px;
  margin-top: 10px;
  padding-top: 10px;
}

.projecte-programa .programa-dia {
  font-size: 14px;
  line-height: 21px;
}

.basis100 {
  flex-basis: 47% !important;
  padding-right: 3%;
}

.basis100 + .projecte-ponencies {
  margin-top: 0;
}

.post-type-archive #sidebar {
  display: none;
}
.projecte-item-image,
.recurs-item-image {
  height: 190px;
  overflow: hidden;
  border-bottom: 5px solid #00a826;
  margin-bottom: 10px;
  box-shadow: 0px 0px 6px rgba(0,0,0,.15);
}

.carousel-home {
  width: 100%;
  clear: both;
}

.carousel-home .owl-item {
  padding: 0 20px;  
}

.projectes-carousel .owl-item {
  padding: 0 30px;  
}

.carousel-home .et_pb_fh_carousel_item {
  background-color: #ffffff !important;
}
.blog-posts .post img,
.featured-post img,
.et_pb_fh_post_carousel_image img {
	position:absolute;
	height:100%;
	width:100%;
	top:0;
	left:0;
	right:0;
	bottom:0;
	object-fit: cover;
}

.et_pb_fh_post_carousel_image a {
	padding-top:66%;
	display:block;
	overflow:hidden;
	position:relative;
	box-shadow: 0px 0px 6px rgba(0,0,0,.3);	
}

.featured-post .entry-featured-image-url {
	padding-top:74%;
	display:block;
	overflow:hidden;
	position:relative;
	max-height: 400px;
}

.blog-posts .post .entry-featured-image-url {
	padding-top:62.5%;
	display:block;
	overflow:hidden;
	position:relative;
	max-height: 400px;
}

.et_pb_fh_post_carousel_title {
  margin: 10px 0;
}

.home-slider .et_pb_slide_description .et_pb_slide_title {
  line-height: 54px;
}

.home-slider .et-pb-active-slide {
  background-size: cover !important;  
}

.carousel-home .owl-nav.disabled,
.carousel-home .owl-dots.disabled {
  display: block !important;
}

.single-tribe_events #sidebar {
  display: none;
}

.carousel-home .owl-nav button.owl-prev {
  left: -35px !important;  
}
.carousel-home .owl-nav button.owl-next {
  right: -35px !important;  
}

.tribe-events-calendar-list__event-row .tribe-events-calendar-list__event-featured-image-wrapper {
  display: none;    
}

.et_pb_ajax_pagination_container div:last-of-type {
  display: block;
  flex-basis: 100%;
  clear:both; 
}
/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
  #logo {
    max-height: 45%;
  }
  .home-slider .et_pb_slide_description {
    background: rgba(0,0,0,.6);
    width: 100%;
    padding: 20px;
    line-height: 20px;
    box-shadow: 0px 0px 11px rgba(0,0,0,.6);
  }
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

  .home-banner .et_pb_slide_description {
    top:30%;
    right: -200px;
  }

  #logo {
    max-height: 75%;
  }

  .home-slider .et_pb_slide_description {
    width: 60%;
    padding: 40px;
  }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	/* SLICK SLIDERS */
	.news-slider-wrapper .tp-leftarrow {
		left: -40px;
	}
	.news-slider-wrapper .tp-rightarrow {
		right: -40px;
	}
}			
	
@media only screen and (min-width : 1441px) {
}



