/** MEDIA QUERIES **/
@media screen and (min-width: 1200px) {
/************************  GENERAL  ************************/

}

@media screen and (min-width: 992px) and (max-width: 1199px)  {
	.mad_membres-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media screen and (min-width: 992px) {
/************************  GENERAL  ************************/
}

@media screen and (max-width: 991px) {
/************************  GENERAL  ************************/
	.mad_membres-slider-wrapper .swiper-pagination{
		display: none;
	}
	.mad_membres-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px 16px;
	}
	.mad_membres-filters--ambit .mad_membres-filter-btn {
		border: 1.5px solid var(--mad-ambit-color, #ccc);
	}
	.mad_membres-filters--ambit .mad_membres-filter-btn:hover,
	.mad_membres-filters--ambit .mad_membres-filter-btn:focus-visible,
	.mad_membres-filters--ambit .mad_membres-filter-btn.is-active {
		border-color: var(--mad-ambit-color, #ccc);
	}
	.escala-mt h1 {
	  font-size: 40px;
	}

	.escala-mt h2 {
	  font-size: 28px;
	}

	.escala-mt h3 {
	  font-size: 26px;
	}

	.escala-mt h4 {
	  font-size: 24px;
	}

	.escala-mt h5 {
	  font-size: 20px;
	}

	.escala-mt h6 {
	  font-size: 18px;
	}
	.btn-35 a {
    	font-size: 28px !important;
	}
	.btn-29 a {
		font-size: 26px !important;
	}

}
@media screen and (min-width: 768px) and (max-width: 991px) {
/************************  GENERAL  ************************/
}

@media screen and (min-width: 769px) {
/************************  GENERAL  ************************/
legend.wpforms-field-label, .wpforms-field-label {
    padding-top: 15vh !important;
}
}

@media screen and (max-width: 768px) {
/************************  GENERAL  ************************/
	.deco-sedes-home p {
    	font-size: 20px;
	}
	.mad_membres-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 12px;
	}
	.mad_membres-filters {
		gap: 5px;
	}
	.mad_membres-filter-btn {
		padding: 6px 12px;
		font-size: 0.82em;
	}
}

@media screen and (min-width: 481px) and (max-width: 991px) {
/************************  GENERAL  ************************/
.mad_center-sm{
    text-align: center !important;
}
.mad_left-sm{
    text-align: left !important;
}
}

@media screen and (min-width: 481px) and (max-width: 768px) {
/************************  GENERAL  ************************/

}

@media screen and (max-width: 480px) {
/************************  GENERAL  ************************/
.mad_left-xs{
    text-align: left !important;
}
.mad_center-xs{
    text-align: center !important;
}
/* Home */
.sec-nube-home {
    padding: unset;
}
.box-home-txt-anim .ult-content-box {
    display: flex;
    flex-direction: column;
}
.flex-end .wpb_wrapper {
    flex-direction: column-reverse;
    gap: 15px;
}
/* Sobre nosaltres */
.mvl-img-header-1 {
    width: 100px;
    margin-left: auto;
    margin-right: auto;
}
.columna-L.vc_col-sm-6,
.columna-R.vc_col-sm-6 {
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 32px;
}
/* Equip */
.grid-equip .vc_grid-item.vc_clearfix.item-equip.vc_col-sm-2.vc_grid-item-zone-c-bottom.vc_visible-item.fadeIn.animated {
    width: 50%;
    float: left;
}
.dos-columnas .vc_col-sm-6 {
    width: 100%;
    margin-bottom: 32px;
}
.img-80{
    width: 100%;
}
#mad-footer {
    padding-bottom: 0;
}
legend.wpforms-field-label, .wpforms-field-label {
    padding-top: 0 !important;
}
.form-questionari {
    padding-top: 0 !important;
}
	.item-equip.vc_col-sm-6.vc_grid-item-zone-c-bottom {
    	width: 50%;
    	float: left !important;
	}
	.item-equip .vc_gitem-post-data{
    	min-height: 3em;
	}
	.grid-3-serveis .vc_col-sm-4, .grid-3-preus .vc_col-sm-4 {
    	width: 100%;
    	margin-bottom: 32px;
	}
/* Popups EQUIP */
	.mad-popup-content {
    	padding: 20px;
		max-height: 80vh;
	}
	.mad-popup-left {
    	border-right: unset;
	}
	.mad-popup-row {
    	gap: 0;
	}
	.mad-popup-description {
    	font-size: 16px;
	}
	.mad-popup-tags-row {
    	margin-bottom: 0;
    	justify-content: center;
		gap: 5px 20px;
	}
	.mad-popup-tags-block {
    	margin-right: 0;
	}
	.badge-nou a:before,
	.badge-nuevo a:before{
    	right: 50px;
	}
	
}