/* New */
.site-header {
    padding-bottom: 5px;
}
.social-icons {
    top: 30px !important;
}
/* html {
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
} */
.mg-bot-0{
	margin-bottom: 0 !important;
}
.mg-bot-10{
	margin-bottom: 10px !important;
}
.img-baner-1 img {
    height: 400px !important;
    object-fit: cover;
}
.logo-ab {
    width: 300px;
}
.fila-boxes .vc_column_container>.vc_column-inner,
.fila-recursos .vc_column_container>.vc_column-inner{
    padding: 5px !important;
}
.box-img-recursos .ult-content-box {
    display: flex;
}
.box-img-recursos figure {
    overflow: hidden;
}

.box-img-recursos img {
	transition: transform 0.3s ease;
}
.box-img-recursos img:hover {
	transform: scale(1.1);
}
.texto-separador {
    margin-bottom: 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 5% 10%;
}
.titulo-pers1 p {
    font-size: 48px;
	line-height: 1.2;
	font-family: maxevilleconstruct;
    font-weight: 500;
}
.titulo-pers2 {
    font-size: 24px;
    line-height: 1.4;
    font-family: maxevilleconstruct;
}
.btn-new a{
	padding: 8px 20px;
    color: var(--contrast);
    transition: all 0.2s ease; 
    border-radius: 50px;
    white-space: nowrap;
    border: 1px solid;
}
.btn-center p{
	text-align: center
}
.btn-center{
	margin-left: auto;
	margin-right: auto;
}
.btn-new a:hover {
    background: var(--verde);
}
.btn-new-rectangular a {
    border-radius: 0px;
}

/* Carousel logos*/
#colaboracions .slick-track {
    transition-timing-function: linear !important;
}

#colaboracions .slick-track img {
    max-width: 160px;
    filter: grayscale(1);
}

#colaboracions .slick-track img:hover {
    filter: grayscale(0);
}


.contacte-ft-btn {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid !important;
    border-radius: 25px !important;
}
.contacte-ft-btn:hover {
    background: var(--verde) !important;
}
.form-contacte-ft .wpforms-submit-container {
    text-align: center;
}
/* WP forms NEW */
input[type=text],
input[type=range],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=password],
input[type=file],
textarea{
    background: none !important;
    border-left: unset !important;
    border-right: unset !important;
    border-top: unset !important;
    border-radius: 0 !important;
	color: #000 !important;
}

input[type=text]:focus,
input[type=range]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=tel]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=file]:focus,
textarea:focus{
    border-left: unset !important;
    border-right: unset !important;
    border-top: unset !important;
	box-shadow: none !important;
	border-color: var(--verde) !important;
	border-radius: 0 !important;
    border-radius: 0 !important;
	background: var(--verde);
}

/* QUI SOM NEW */
.resaltar-1 {
    background: var(--amarillo);
	display: inline-block;
	margin: 2px;
}
.resaltar-2 {
    background: #ffa500;
	display: inline-block;
	margin: 2px;
}
.resaltar-3 {
    background: var(--verde);
    padding: 0 8px;
	display: inline-block;
	margin: 2px;
}
.slider-productos .woocommerce ul.products.columns-2 li.product,.slider-productos .woocommerce-page ul.products.columns-2 li.product {
    width: 100%;
}
.equip-nom {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 5px !important;
	font-family: 'maxevilleconstruct';
    text-transform: uppercase;
}

/* Formacions NEW*/
.masonry-grid .ult-content-box {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 300px;
    gap: 5px;
  }
.masonry-grid .stats-block{
    margin-bottom: 0 !important;
	position: relative;
	z-index: 1;
}
@keyframes fillColor {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.masonry-grid .stats-block {
	opacity: 0;
	transition: opacity 0.3s linear;
}

.masonry-grid .stats-block.animate {
	opacity: 1;
}

.masonry-grid .stats-block:before {
    content:"";
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	z-index: -1;
	transform: scale(0);
}

.item {
	text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #000;
    line-height: 1;
    font-size: 25px;
}

.item-1 {
    grid-column: span 1;
    grid-row: span 1;
    align-content: space-around;
}

.item-1:before {
    background-color: var(--fucsia);
}
.item-1.animate:before {
  	animation: fillColor 3s ease-out forwards;
  	animation-delay: 0s;
}

.item-2 {
    grid-column: span 1;
    grid-row: 2;
    align-content: space-around;
}

.item-2:before {
    background-color: var(--verde);
}
.item-2.animate:before {
	animation: fillColor 2s ease-out forwards;
  	animation-delay: 0.25s;
}

.item-3 {
    grid-column: span 3;
    grid-row: span 2;
    font-size: 70px;
    align-content: space-around;
}

.item-3:before {
    background-color: var(--amarillo);
}
.item-3.animate:before {
	animation: fillColor 2.25s ease-out forwards;
  	animation-delay: 0.5s;
}

.item-4 {
    grid-column: span 2;
    grid-row: span 1;
    font-size: 40px;
    align-content: space-around;
}

.item-4:before {
    background-color: #006DFF;
}
.item-4.animate:before {
	animation: fillColor 4s ease-out forwards;
  	animation-delay: 0.15s;
}

.item-5 {
    grid-column: 5;
    grid-row: 2;
    align-content: space-around;
}

.item-5:before {
    background-color: var(--fucsia);
}
.item-5.animate:before {
	animation: fillColor 2s ease-out forwards;
  	animation-delay: 0.4s;
}

.item-6 {
    grid-column: 6;
    grid-row: 2;
    align-content: space-around;
}

.item-6:before {
    background-color: var(--verde);
}
.item-6.animate:before {
	animation: fillColor 3s ease-out forwards;
  	animation-delay: 0.6s;
}

.item-7 {
    grid-column: 7 / span 2;
    grid-row: 1 / span 2;
    font-size: 50px;
    align-content: space-around;
}

.item-7:before {
    background-color: #ffa500;
}
.item-7.animate:before {
	animation: fillColor 2s ease-out forwards;
  	animation-delay: 0.75s;
}
  


/* Slider infinito */
.mad_wrapper {
  width: 100%;
  overflow: hidden;
}
.mad_carousel {
  display: flex;
}
.mad_slide {
  flex: 0 0 20%;
  max-width: 20%;
  padding: 0 10px;
  filter: grayscale(1)
}
.mad_slide:hover {
    filter: none;
}
.mad_slide img{
	padding: 2em 1.5em;
    width: 200px;
}

@media (max-width: 768px) {
.masonry-grid .ult-content-box {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, 1fr);
    height: auto;
  }

.item-1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 1;
    padding: 15px;
}

.item-2 {
    grid-column: 3 / span 2;
    grid-row: 1 / span 1;
}

.item-3 {
    grid-column: 1 / span 4;
    grid-row: 2 / span 3;
}

.item-4 {
    grid-column: 1 / span 4;
    grid-row: 5 / span 2;
}

.item-5 {
    grid-column: 1 / span 2;
    grid-row: 7 / span 1;
}

.item-6 {
    grid-column: 1 / span 2;
    grid-row: 8 / span 1;
}

.item-7 {
    grid-column: 3 / span 2;
    grid-row: 7 / span 2;
}
}

.legales-form a {
    color: black;
    text-decoration: underline;
}
.legales-form a:hover {
    color: var(--verde);
}





/************************  GENERAL  ************************/
/*ocultar copy predet.*/
footer.site-info {
    display: none;
}
/*Colores*/
.text-white, .text-white * {
  color: #fff;
}
.color-accent{
    color:var(--accent);
}
.color-base{
    background: var(--base);
}
/*Tamaños*/
.mad_xl{
    font-size:1.5em;
}
.mad_lg{
    font-size:1.1em;
}
.mad_sm{
    font-size:0.9em;
}
/*Alinear elementos*/
/* mad_center-sm      Small Screen*/
/* mad_left-sm        Small Screen*/
/* mad_left-xs        Extra Small Screen*/
/* mad_center-xs      Extra Small Screen*/
.mad-justify{
    text-align: justify !important;
}
/*Botones*/
.btn-main p {
    text-align: center;
}
.btn-main a {
    border: 2px solid var(--accent);
    padding: 15px 30px;
    width: fit-content;
    border-radius: 25px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    transition: background-color 0.5s ease, color 0.5s ease;
}
.btn-main a:hover {
    border: 2px solid var(--accent);
    background-color: var(--accent);
    color: #fff;
    cursor: pointer;
}
/*Botón Top Header*/
.btn-top-1 a {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    width: 100px !important;
    border-radius: 20px !important;
    letter-spacing: 0.7px;
    font-size:11px;
    transition: ease-in-out 0.2s;
}
.btn-top-1 a:hover{
    background-color: #5a8bb6 !important;
    /*color: #000 !important;*/
}
.post-subtitle{
    font-family: Space Grotesk, sans-serif !important;
}
/************************  HEADER  ************************/
#mad_top-bar {
    background: var(--base);
    padding-top: 15px;
    padding-bottom: 15px;
}
#mad_top-bar .wpb_content_element {
    margin-bottom: 0;
}
#mad_top-bar .vc_row {
    width: 1200px;
    padding-left: 40px;
    padding-right: 30px;
}

.site-branding-container {
	flex-direction: column;
}

.site-description {
	padding-top: 5px;
}

.inside-navigation {
	padding: 5px;
	border-top: 1px solid;
	border-bottom: 1px solid;
}

.inside-navigation .navigation-branding {
    margin-right: 100px !important;
}

/************************  NAVIGACIÓN  ************************/
li.wpml-ls-item {
    min-width: unset !important;
    width: 80px !important;
}

li.wpml-ls-item a, li.wpml-ls-item .sub-menu a {
    color: #888 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    border-left: unset !important;
    padding: 0px 20px !important;
    background-color: unset;
    line-height: 30px !important;
}

ul .wpml-ls-menu-item a {
    display: flex;
    align-items: center;
}


li.wpml-ls-item .sub-menu {
    width: 80px;
    min-width: unset !important;
    box-shadow: unset !important;
}

li.wpml-ls-item .sub-menu li {
    width: 80px !important;
    margin: 0!important;
}

.main-navigation, .main-navigation ul ul {
    background-color: var(--base-3) !important;
}

.main-navigation li {
    margin: 0 5px !important;
}

/************************  HOME  ************************/
/*contenido pegado a nav*/
.page-id-10 div#content {
   margin-top: -32px;
    
}

 h2.rs-layer {
    font-family: 'maxevilleconstruct' !important;
}


.home-tags .ult-content-box {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.home-tags .wpb_content_element {
    margin-bottom: 0 !important;
    
}

.home-tags .titulo-etiqueta {
    transition: all 0.2s ease;
    
}

.home-tags .titulo-etiqueta * {
    display: block;
    width: 100%;
    height: 100%;
}

.home-tags .titulo-etiqueta a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #000;
    font-size: 18px;
    text-align: center;
    padding: 10px 20px;
    
}

.home-tags .etiqueta-1 {
    background-color: var(--amarillo);
}

.home-tags .etiqueta-2 {
    background-color: #000;
    color: var(--amarillo);
}

.home-tags .etiqueta-2 a {
    color: var(--amarillo);
}

.home-tags .etiqueta-2:hover a {
    color: #000;
}

.home-tags .etiqueta-3 {
    background-color: var(--fucsia);
}

.home-tags .etiqueta-4 {
    background-color: var(--fucsia);
}

.home-tags .etiqueta-5 {
    background-color: var(--verde);
}

.home-tags .etiqueta-6 {
    background-color: var(--amarillo);
}

.home-tags .titulo-etiqueta:hover {
    background-color: unset !important;
    color: unset !important;
}

#recursos h3 {
    font-family: maxevilleconstruct;
    font-size: 38px;
    text-transform: uppercase;
    /*padding-top: 32px;*/
    /*padding-bottom: 32px;*/
    
}

#recursos .wpb_wrapper .vc_column-inner {
    background: var(--fucsia);
    padding-bottom: 35px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
}

.col-color-rosa {
    background: var(--fucsia);
}
.btn_recursos a {
    padding: 8px 20px !important;
    color: var(--contrast) !important;
    transition: all 0.2s ease !important;
    border-radius: 50px !important;
    white-space: nowrap;
    border: 1px solid !important;
    background: transparent !important;
}
.btn_recursos a:hover,.btn_recursos a:active {
    background: var(--verde) !important;
}
/************************  PÁGINA  ************************/
h1.entry-title:after, h1.page-title:after {
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--contrast);
    margin-top: 20px;
    margin-bottom: 40px;
}

.texto-destacado {
    padding: 25px 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin-bottom: 30px;
}

.texto-destacado p {
    /*max-width: 400px;*/
    text-align: center;
    font-size: 21px;
    /* font-weight: 600; */
    line-height: 30px;
    margin-bottom: 0px;
}

/************************  GRID CURSOS Y TALLERES  ************************/
.titulo-cat {
    margin-bottom: 20px !important;
}

.titulo-cat p {
    font-weight: 500;
    padding: 10px 24px;
    text-transform: uppercase;
    border-radius: 50px;
    margin: auto;
    width: fit-content;
    background-color: var(--verde);
    color: var(--contrast);
   
}

/*.titulo-cat.rojo p{*/
/*    background-color: var(--rojo);*/
/*}*/

/*.titulo-cat.azul p{*/
/*    background-color: var(--azul);*/
/*}*/

/*.titulo-cat.verde p{*/
/*    background-color: var(--verde);*/
/*    color: var(--contrast);*/
/*}*/

/*.titulo-cat.fucsia p{*/
/*    background-color: var(--fucsia);*/
/*}*/

/*.titulo-cat.amarillo p{*/
/*    background-color: var(--amarillo);*/
/*    color: var(--contrast);*/
/*}*/


.cat-description {
    line-height: 1.4em;
    max-width: 750px;
    margin: 0 auto 50px;
}

.grid-cursos .vc_grid-item:nth-child(3n) .vc_gitem-zone-a, .grid-cursos .vc_grid-item:nth-child(7n) .vc_gitem-zone-a  {
    border-radius: 50%;
}

.grid-cursos .vc_gitem-animated-block {
    padding: 10px 40px 0;
}
.grid-cursos h4 {
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    line-height: 22px;
    color: var(--contrast);
    margin-bottom: 15px;
}

.grid-cursos .vc_gitem-post-data-source-post_excerpt p{
    font-size: 15px;
    line-height: 20px;
    text-align: center !important;
}



.grid-cursos {
    /*margin-bottom: -10px !important;*/
}
.i-bloc-astronomia:before {
    background-image: url(https://habilis.ro-botica.com/wp-content/uploads/2024/05/iconos-habilis-01.png);
    content: "";
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}
.i-bloc-enginyeria:before{
    background-image: url(https://habilis.ro-botica.com/wp-content/uploads/2024/05/iconos-habilis-02.png);
    content: "";
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}
.i-bloc-salut:before{
    background-image: url(https://habilis.ro-botica.com/wp-content/uploads/2024/05/iconos-habilis-05.png);
    content: "";
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}
.i-bloc-biologia:before{
    background-image: url(https://habilis.ro-botica.com/wp-content/uploads/2024/05/iconos-habilis-04.png);
    content: "";
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}
.i-bloc-comunicacio:before{
    background-image: url(https://habilis.ro-botica.com/wp-content/uploads/2024/05/iconos-habilis-03.png);
    content: "";
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}
.btn-cicle a {
    background: var(--verde);
    color: #000;
    padding: 10px 30px;
    display: block;
    width: fit-content;
    border-radius: 30px;
    font-family: maxevilleconstruct;
}

.btn-cicle a:hover,.btn-cicle a:active {
    color: #fff;
}
/************************  GRID RECURSOS (PRODUCTOS)  ************************/
.mad_product-grid {
    width: 100%;
    margin-top: 40px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.mad_product-grid .product-item{
    text-align: center;
}

.mad_product-grid .product-categories {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 14px;
}

.mad_product-grid .product-categories>div {
    font-weight: 400;
    padding: 4px 16px;
    text-transform: uppercase;
    border-radius: 50px;
    margin: 3px;
    width: fit-content;
    background-color: var(--verde);
    color: var(--contrast);
    font-size: 14px;
}

.mad_product-grid .product-title {
    color: var(--contrast);
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 10px;
}

.mad_product-grid .product-description {
    color: var(--contrast);
    line-height: 22px;
    font-size: 16px;
}

/************************  GRID NOTICIAS  ************************/
#noticias .vc_grid-item:nth-child(3n) .grid-noticias_image {
    border-radius: 50%;
}

.grid-cursos .vc_gitem-zone-a {
    overflow: visible;
}

.grid-cursos .contenedor_acceso {
    display: none;
}

.grid-cursos .acceso_libre {
    font-weight: 500;
    padding: 4px 16px;
    width: fit-content;
    border: 1px solid;
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50%);
	box-shadow: 0 0 2px 0;
}

.grid-noticias_content .vc_gitem-post-category-name {
    padding: 5px 20px !important;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 50px;
    margin-right: 10px;
    background-color: var(--verde);
}

.grid-noticias_content .vc_gitem-post-data-source-post_title h2 {
    font-family: Space Grotesk, sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.grid-noticias_content .vc_gitem-acf {
    line-height: 1.4em;
}

.grid-cursos .vc_grid .vc_pageable-load-more-btn {
     margin-top: 0px; 
}

.btn_ver-mas, .vc_grid-btn-load_more {
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 50px;
    display: block !important;
    margin: auto;
    width: fit-content;
    position: relative;
    z-index: 5;
}


.btn_ver-mas a, .vc_grid-btn-load_more a {
    padding: 8px 20px !important;
    color: var(--contrast) !important;
    transition: all 0.2s ease !important;
    border-radius: 50px !important;
    white-space: nowrap;
    background-color: unset !important;
    border: 1px solid !important;
}

.btn_ver-mas:hover a, .vc_grid-btn-load_more:hover a {
    /*background-color: var(--contrast) !important; */
    /* color: #fff !important; */
    text-shadow: 0px 0px 16px black;
}


/************************  ARCHIVE  ************************/
.mad_archive .post-image {
    margin: 0 auto 15px !important;
    padding: 10px 40px 0;
}


.mad_archive .post-image img {
    width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.mad_archive article:nth-child(3n) img, .mad_archive article:nth-child(7n) img {
    border-radius:50%;
}

/*.mad_archive article:nth-child(odd) img {*/
/*    border-radius:50%;*/
/*}*/

.mad_archive .post-categories {
    list-style: none; 
    margin-left: 0;
    display: flex;
    justify-content: center;
	flex-wrap: wrap;
}

.mad_archive .post-categories li {
    /*border: 1px solid;*/
    padding: 5px 20px;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 50px;
    margin-right: 10px;
    background-color: var(--verde);
	white-space: nowrap;
	margin-bottom: 5px;
}

.mad_archive .post-categories li a {
    color: var(--contrast);
}

.mad_archive h2.entry-title {
    text-align: center;
    margin-bottom: 12px;
}

.mad_archive .post-subtitle {
    text-align: center;
    line-height: 1.4em;
}



/************************  SINGLE  ************************/
.mad_single .post-categories {
    list-style: none; 
    margin-left: 0;
    display: flex;
}

.mad_single .post-categories li {
    /*border: 1px solid;*/
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 50px;
    margin-right: 10px;
    background-color: var(--verde);
}

.mad_single .post-categories li a {
    display: block;
    padding: 5px 20px;
    color: var(--contrast);
}

.mad_single .post-title {
    font-family: 'maxevilleconstruct';
    text-transform: none;
    font-size: 48px;
    line-height: 1em;
    margin-top: 30px;
    margin-bottom: 30px;
}
.mad_single .post-subtitle {
    font-weight: 400;
}

.meta-articulo {
    position: relative;
    margin-bottom: 30px !important;
}
.articulo-fecha {
    font-size: 0.9em;
}



.resumen-articulo {
    padding: 25px 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin-bottom: 15px !important;
}

.resumen-articulo p {
    max-width: 400px;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 10px;
}

blockquote {
    border: none !important;
    text-align: center;
    padding: 0 !important;
    font-style: normal !important;
}

blockquote p {
    font-size: 20px;
    text-align: center;
    margin: 20px auto;
    line-height: 28px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 10px 10px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    blockquote p {
        font-size: 24px;
        width: 80%;
        margin: 30px auto !important;
        line-height: 34px;
        padding: 20px 10%;
    }
}

.mad_single iframe {
    width: 900px;
    max-width: 100%;
    height: 500px;
}

.article-bloc-imatges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: center;
    margin: 40px 0 !important;
}

.article-bloc-imatges figure {
    /*box-shadow: 0px 0px 5px -3px grey;*/
    aspect-ratio: 16/10;
    overflow: hidden;
    display: flex;
}

.article-bloc-imatges img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.mad_single .post-tags {
    border-top: 1px solid;
    padding-top: 20px;
    margin-top: 60px;
    list-style: none;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.mad_single .post-tags li {
    border: 1px solid;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 50px;
    
}

.mad_single .post-tags li a {
    display: block;
    padding: 5px 20px;
    color: var(--contrast);
    transition: all 0.2s ease;
    border-radius: 50px;
    white-space: nowrap;
}

.mad_single .post-tags li:hover a {
    background-color: var(--contrast);
    color: #fff;
}



/************************  RECURSOS - Categoría  ************************/
.text-maxville h2{
    font-family: 'maxevilleconstruct', 'Space Grotesk' !important;
    margin-bottom: 40px;
    text-align: center;
}

h1.entry-title, h1.page-title {
    font-family: 'maxevilleconstruct', 'Space Grotesk' !important;
    margin-bottom: 80px !important;
    text-align: center;
}

.woocommerce-loop-category__title, .term-panells-digitals .woocommerce-loop-product__title {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    margin: 0 auto;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 5px 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}

.term-robotica-educativa .woocommerce-loop-category__title {
    top: unset;
    bottom: 18%;
}



.archive .product-category a:after, .home .product-category a:after, .archive.term-panells-digitals li.product.type-product a:after{
    content: "";
    display: block;
    width: 46px;
    height: 46px;
    background-image: url('../img/icon_plus-m.png');
    background-size: contain;
    background-position: center;
    background-repeat:no-repeat;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

 .archive.term-robotica-educativa a:after {
    content: "";
    display: none !important;
    width: 46px;
    height: 46px;
    background-image: url('../img/icon_plus-m.png');
    background-size: contain;
    background-position: center;
    background-repeat:no-repeat;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.home .menu-item-object-product_cat, .current-product_cat-ancestor {
    background-color: var(--verde);
}



/* Archivo productos para 4 por fila */
@media screen and (min-width: 768px) {
    .archive:not(.term-panells-digitals) li.product.type-product {
        width: 23.2% !important; /* 100% / 4 */
        margin: 0 2% 4% 0 !important;
        display: inline-block;
        float: unset !important;
    }
    
    .archive:not(.term-panells-digitals) li.product.type-product:nth-child(4n) {
        margin-right: 0 !important; /* 100% / 4 */
    }
    
    .archive.term-robotica-educativa li.product-category {
        width: 31.5% !important; /* 100% / 4 */
        margin: 0 2% 4% 0 !important;
        display: inline-block;
        float: unset !important;
    }
    
    .archive.term-robotica-educativa li.product-category:nth-child(3n) {
        margin-right: 0 !important; /* 100% / 4 */
    }
    
    .archive.term-robotica-educativa .woocommerce-loop-category__title {
        font-size: 0.8em !important;
        width: 260px; 
    }
    
}

.archive.term-robotica-educativa thead, .archive.term-robotica-educativa th { display:none; }

/* ICONOS FLOTANTES Manuales */


.iconos-robotica {
    position: fixed;
    top: 60%;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.iconos-robotica a {
    position: relative;
    margin: 5px;
    border: 1px solid var(--verde);
    /*color: var(--verde);*/
    /*border: 1px solid var(--contrast);*/
    border-radius: 20px;
    display: inline-block;
    width: 40px;
    overflow: hidden;
    height: 40px;
    padding-left: 20px;
    line-height: 40px;
    transition: all 0.4s ease-in-out;
    background-color: #fff;
    box-shadow: 2px 2px 10px -3px var(--contrast-3);
}

.iconos-robotica a:first-child:hover {
    width: 270px;
}

.iconos-robotica a:last-child:hover {
    width: 335px;
}


.iconos-robotica a span{
    
}

.iconos-robotica  a i {
   width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 20px;
    background-color: var(--verde);
    /*background-color: var(--contrast);*/
    color: var(--contrast);
    /*color: var(--verde);*/
    position: absolute;
    top: 0px;
    right: 0px;
}




/* ++++++ */
.btn_gene_cont .ult-content-box:after {
    display: none;
}

.btn_gene_cont .ult-content-box {
    color: #fff;
    text-align: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
    padding: 60px 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

.btn_gene_title {
    border: 1px solid #fff;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 5px 20px;
    width: 230px;
    margin: 0 auto;  
}

.btn_gene_img_panells {
    background-color: #fff;
    width: 60%;
    height: 160px;
    margin-bottom: 0 !important;
    display: flex;
}

.btn_gene_img_robots {
    background-color: #fff;
    width: 80%;
    height: 160px;
    border-radius: 80px;
    margin-bottom: 0 !important;
    display: flex;
}

.btn_gene_img_panells .wpb_wrapper {
    background-image: url(../img/panells.svg);
    margin: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 40px;
    height: 50px;
}

.btn_gene_img_robots .wpb_wrapper {
    width: 100%;
    padding: 30px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn_gene_img_robots span {
    display: block;
    background-image: url(../img/robots.svg);
    width: 50px;
    height: 50px;
}

.btn_gene_icon {
    margin: 50px auto 0 !important;
    border: 1px solid;
    border-radius: 50%;
}

.btn_gene_icon div{
    width: 3em !important;
    height: 3em !important;
}

.btn_gene_icon span:before {
    color: #fff;
}
/* ++++++ */


/************************  RECURSOS - Single  ************************/
.woocommerce div.product .product_title {
    
}

.single-product h2 {
    font-family: 'maxevilleconstruct','Roboto', sans-serif !important;
    margin-bottom: 0;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: none !important;
    width: 100% !important;
    margin-bottom: 1em !important;
}

.woocommerce-product-details__short-description {
    font-size: 24px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    /*display: none !important;*/
}


.curs_header {
    
}

.curs_header>div {
   width: 50%;
    float: left;

}

.curs_header>.col-left {
    padding-right: 15px;
}

.curs_header>.col-right {
    padding-left: 15px;
}

.curs-details {
	display: none !important;
    clear: both;
}

.curs-pestanyas-body {
	display: none !important;
}


.portada-curso {
    margin-bottom: 30px;
}

.resumen-curso {
    padding: 25px 0;
    /*border-top: 1px solid;*/
    /*border-bottom: 1px solid;*/
/*     margin-bottom: 30px; */
}

.resumen-curso h4 {
    font-weight: 600;
}

.resumen-curso p {
    /*max-width: 400px;*/
    /*font-size: 24px;*/
    /*font-weight: 600;*/
    /*line-height: 30px;*/
    margin-bottom: 10px;
}

/* oculto la pestaña 2 en los productos Panells */
article[class*='product_cat-panells'] li.pest-title[data-id="item-2"] {
    display: none !important;
}

.curs-pestanyas-header {
    animation-duration: 0.7s;
    animation-timing-function: ease-out;
    animation-name: mad_FadeIn;
}

.curs-pestanyas-header ul {
    list-style: none;
    display: flex;
    margin-left: 0;
    margin-bottom: 30px;
    align-items: center;
}

.curs-pestanyas-header ul li.pest-title {
    padding: 8px 16px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin-right: 10px;
}

.curs-pestanyas-header ul li.pest-title.active, .curs-pestanyas-header ul li.pest-title:hover, .curs-pestanyas-header ul li.pest-title:focus {
    background-color: var(--verde);
}

.mad_line {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--contrast);
    margin-top: 10px;
}


.curs-pestanyas-body .pest-body{
    width: 100%;
	min-height: 50px;
}

/* .curs-pestanyas-body div.pdfemb-viewer {
	width: 100% !important;
}

.curs-pestanyas-body .pdfemb-pagescontainer  {
	width: 100% !important;
} */

.pest-body {
    display: none;
}

.pest-body.active {
    display: block;
}

.pest-videos.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 50px;
}

.pest-videos p {
    border: 3px solid;
    margin-bottom: 0;
}

.pest-videos iframe {    
    height: fit-content !important;
    aspect-ratio: 16 / 9;
    margin-bottom: -8px;
}














.curs-bloc-imatges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    align-items: center;
}

.curs-bloc-imatges figure {
    /*box-shadow: 0px 0px 5px -3px grey;*/
    aspect-ratio: 1/1;
    overflow: hidden;
    display: flex;
}

.curs-bloc-imatges img {
    width: 100%;
    object-fit: cover;
}

.btn-curs {
    font-family: 'maxevilleconstruct', 'ROBOTO';
    text-transform: uppercase;
    padding: 10px 50px;
    border: 2px solid;
    border-radius: 50px;
    font-weight: 500;
    font-size: 30px;
    display: block;
    width: fit-content;
    color: var(--contrast);
}

.btn-curs:hover {
    background-color: var(--verde);
    border-color: var(--verde);
}


.btn-curs.btn-pdf {
    font-family: unset;
    text-transform: unset;
    padding: 6px 20px;
    font-size: 0.9em;
    
}

.btn-curs.btn-pestanya.btn-pdf {
    margin-top: 0px;
    margin-left: 20px;
    cursor: pointer;
}


/************* LOGOS NEXT GENERATION ****************/
.logos-gen .ult-content-box {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.logos-gen .wpb_single_image {
    margin-bottom: 0;
}

.logos-gen img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
}



/*****/

.logos .ult-content-box, .btns-gene .ult-content-box {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.logos .ult-content-box {
    justify-content: space-evenly;
}

.logos .ult-content-box:after {
    display: none;
}

.logos .ult-content-box .wpb_single_image {
    margin-bottom: 0;
}

.logos .ult-content-box img {
    max-height: 55px;
    width: auto;
}

.btn-panells {
    width: 350px !important;
    margin: 20px;
    aspect-ratio: 1/1;
}

.btn-panells a{
    display: flex !important;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: #0000fe !important;
    color: #fff !important;
    font-size: 36px !important;
    border: none !important;
}


.btn-robotica {
    width: 350px !important;
    margin: 20px;
    aspect-ratio: 1/1;
}

.btn-robotica a{
    display: flex !important;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: #fefe00!important;
    color: #000 !important;
    font-size: 36px !important;
    border-radius: 50% !important;
    border: none !important;
}



/************************  RECURSOS (TIENDA)  ************************/
.woocommerce .woocommerce-breadcrumb {
    position: relative;
    padding-left: 30px;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-name: mad_FadeIn;
}

.term-formacio-impuls-digital .woocommerce-breadcrumb {
    display: none !important;
} 

.term-formacio-impuls-digital ul.products {
    padding-top: 40px;
} 

@keyframes mad_FadeIn {
  from {
    opacity: 0;
  }
  
  50% {
      opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.btn-back {
    cursor: pointer;
    font-size: 0.9em;
    position: absolute;
    top: 2px;
    left: 0;
}

.btn-back:before {
    content: "\1F814";
    display: inline-block;
    margin-right: 5px;
    font-size: 1.5em;
    line-height: 1em;
    
}



.woocommerce-products-header__title.page-title {
    font-family: 'maxevilleconstruct', 'Space Grotesk' !important;
    margin-bottom: 20px;
}

.woocommerce:not(.term-panells-digitals) ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Space Grotesk' !important;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    color: var(--contrast);
    background-color: var(--verde);
    width: fit-content;
    margin: auto;
    padding: 8px 20px;
    border-radius: 20px
}


.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    /*padding-right: 50px;*/
}

.woocommerce ul.products li.product a img {
    padding: 35px;
    margin-bottom: 0;
    aspect-ratio: 1/1;
    
}

.woocommerce ul.products li.product:nth-child(1) a img,
.woocommerce ul.products li.product:nth-child(7) a img,
.woocommerce ul.products li.product:nth-child(10) a img,
.woocommerce ul.products li.product:nth-child(16) a img,
.woocommerce ul.products li.product:nth-child(18) a img,
.woocommerce ul.products li.product:nth-child(23) a img {
    border-radius: 50%;
    /*box-shadow: 0 0 5px 0;*/
}

/************************  QUI SOM  ************************/
.objetivos:before, .cifras:before {
    content: "";
    display: block;
    width: 70px;
    background-color: yellow;
    height: 100%;
    position: absolute;
    border-radius: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.objetivos .wpb_wrapper, .cifras .wpb_wrapper {
    position: relative;
    text-align: center;
}

.objetivos ul, .cifras ul {
	list-style: none !important;
}

.valores .ult-content-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
    "a b"
    "c d"
    "e e";
    gap: 10px;
}

.valor {
     margin-bottom: 0 !important;
     padding: 30px;
}

.valor p {
    text-align: center;
}

.valor:nth-child(1) {
    grid-area: a;
    background-color: #FDFD00;
}

.valor:nth-child(2) {
    grid-area: b;
    background-color: #02FD80;
}

.valor:nth-child(3) {
    grid-area: c;
    background-color: #FA4300;
    color: #fff;
}

.valor:nth-child(4) {
    grid-area: d;
    background-color: #0000FF;
    color: #fff;
}

.valor:nth-child(5) {
    grid-area: e;
    background-color: var(--fucsia);
    color: #fff;
    width: 100%;
}

.vc_toggle_title {
    background-color: #FDFD00;
    width: fit-content;
    display: flex;
    padding: 12px 20px 12px 40px;
    border-radius: 30px;
    margin: auto;
    justify-content: center;
    align-items: center;
}

.vc_toggle_title>h4 {
    margin-bottom: 0;
    font-size: 17px;
    margin-right: 10px;
}

.equipo .wpb_single_image img {
    width: 200px;
}

.consell, .equip {
    max-width: 1100px;
    margin: auto !important;
}

.consell .vc_gitem-zone-a, .equip .vc_gitem-zone-a{
    max-width: 200px;
    margin: auto;
}


.team_name {
    width: fit-content;
    display: flex;
    padding: 8px 40px 8px 20px;
    border-radius: 30px;
    border: 1px solid;
    margin: 10px auto;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
}


.team_name::after {
    content: "";
    display: block;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-radius: 2px;
    width: 10px;
    height: 10px;
    transform: rotate(-315deg);
    position: absolute;
    top: 12px;
    right: 18px;
    transition: all 0.3s ease-in-out;
}

.team_name.expand::after {
    transform: rotate(-135deg);
    top: 17px;
}

.team_cargo {
    margin-bottom: 12px;
    font-weight: 500;
    display: none;
}

.team_cv {
    line-height: 1.5em;
    font-size: 1em;
    font-weight: 300;
    display: none;
}

.logos.colaboradores .ult-content-box {
    margin-top: 50px !important;
    gap: 50px 30px;
    filter: grayscale(1);
}

.logos .ult-content-box .wpb_single_image {
    margin-bottom: 0 !important;
}

.logos .ult-content-box .img{
    
}

/************************  PÁGINA CURSO SENSEI  ************************/
.single-course .wp-block-columns iframe {
    height: fit-content !important;
    aspect-ratio: 16 / 9;
    margin-bottom: 25px;
}

.single-course .wp-block-columns p {
    margin-bottom: 10px;
}


/************************  RIGHT SIDEBAR  ************************/
.sidebar .widget {
    padding-bottom: 0 !important;
}

.mad_entradas_relacionadas .widget-title {
    border: 1px solid;
    line-height: 2.5;
    display: inline-block;
    padding: 0 10px;
    font-size: 18px;
}

.mad_entradas_relacionadas li {
    font-size: 18px;
    line-height: 1.5;
    border-bottom: 1px solid;
    padding-bottom: 0.5em !important;
}

.mad_entradas_relacionadas a {
    color: var(--contrast);
}

#right-sidebar {
    
}

/************************  FOOTER  ************************/
.page-id-413 .news-form {
    display: none !important;
}

#mad-footer {
    padding: 80px 0 0px;
}

#mad-footer .menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-left: 0;
	margin-bottom: 0px;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

#mad-footer .menu li {
    margin: 4px;
    padding: 4px 10px !important;
    font-size: 14px;
	transition: all 0.2s;
}

#mad-footer .menu li:hover, #mad-footer .menu li:focus  {
	background-color: var(--verde);
}

#mad-footer .menu li a {
    color: var(--contrast);
}

#mad-footer .wpb_content_element {
/*      margin-bottom: 0; */
}

#mad-footer .wpb_raw_html {
/*     margin-top: -35px !important; */
}

#mad-footer .col-border-right {
	border-right: 1px solid;
}

#mad-footer .col-logos .vc_column-inner {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#mad-footer .ult-content-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
	grid-gap: 10px 20px;
}

#mad-footer .ult-content-box:after{
    display: none;
}

#mad-footer .ult-content-box .wpb_single_image {
    height: 56px;
	/*padding: 5px; */
    /* vertical-align: middle; */
    display: flex;
    justify-content: center;
    align-items: center;	
    margin-bottom: 0;
}



#mad-footer .ult-content-box figure .vc_single_image-wrapper {
    vertical-align: middle;
}

#mad-footer .ult-content-box figure img {
    vertical-align: middle;
	opacity: 0.6;
    transition: opacity 0.2s;
	object-fit: contain;
    width: 80px !important;
    max-height: 56px;
}

#mad-footer .ult-content-box .logo-abacus figure img {
    max-height: 36px;
}

#mad-footer .ult-content-box figure img:hover {
    opacity: 1;
}


/** Legales **/

/* COOKIE BAR */

#cookie-law-info-bar, .cli-modal-content {
    border-radius: 35px;
    padding: 12px 25px 25px !important;
}

#wt-cli-cookie-banner {
    font-weight: 400;
    color: #000;
    font-size:16px;
}

.cli-bar-btn_container {
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.cli-plugin-button {
    font-size: 12px !important;
	border-radius: 20px !important;
    display: flex;
    margin: 5px 0 !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#wt-cli-privacy-save-btn {
    font-size: 12px !important;
    margin: 5px 0 !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    background-color: var(--verde);
    color: #000;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

#wt-cli-privacy-title, #wt-cli-cookie-banner-title {
	color: #000;
	font-size: 20px;
}

#wt-cli-reject-btn, #wt-cli-settings-btn {
    border: 1px solid var(--verde) !important;
    text-decoration: none;
}

.cli-bar-btn_container a:hover, .cli-bar-btn_container a:focus  {
    opacity: .8;
}

#wt-cli-policy-link {
    padding-right: 0 !important;
    padding-left: 1px !important;
}

#wt-cli-policy-link:hover, #wt-cli-policy-link:focus {
    color: #000 !important;
}

.cli-switch input:checked + .cli-slider {
    background-color: var(--verde);
}

#wt-cli-privacy-readmore {
    color: var(--fucsia);
}

.cli-modal .cli-modal-close {
    right: 15px;
    top: 10px;
    padding: 5px;
}

.cli-switch .cli-slider:before {
	top: 2px;
}

.cli-modal-close svg {
    fill: var(--verde);
}

.cli_manage_current_consent {
    display: block;
    width: fit-content;
    font-size: 12px !important;
    margin: 15px 0 !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    background-color: var(--verde);
    color: #000;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
