/*
Theme Name: La Patum
Theme URI: https://lapatum.cat
Description: Tema hijo de Hello Elementor para La Patum.
Author: 
Author URI: 
Template: hello-elementor
Version: 1.0.0
Text Domain: la-patum
*/

html{
	max-width:100vw;
	overflow-x: hidden;
}

.show-before,
.show-during,
.show-after {
	display: none;
}

body.la-patum-state-before .show-before {
	display: flex;
}

body.la-patum-state-during .show-during {
	display: flex;
}

body.la-patum-state-after .show-after {
	display: flex;
}


.la-patum-footer{
	max-width: 1080px;
}

.animated-bg-position {
	will-change: background-position;
}

.animated-bg-position.bg-position-ready {
	transition: background-position 1.8s ease-out;
}

/*HEADER*/
.lapatum-menu .eael-simple-menu-container {
    min-height: 0;
}

/*Titles*/
.lapatum-title .elementor-heading-title {
    display: flex;
    flex-direction: column;
	gap: 0px;
}
.lapatum-title .elementor-heading-title .prev-title{
    font-size: 48px;
    line-height: 48px;
    font-weight: 400;
}

/*Buttons*/
.lapatum-iconbtn svg{
    width: 24px;
    height: 24px;
}

.lapatum-iconbtn .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}

.lapatum-iconbtn .elementor-button-text{
	text-decoration: none;
}

/*Accordions*/
.patum-segura-accordion #patum-segura .e-n-accordion-item-title {
	padding-left: 100px;
    background-image: url(assets/img/segura.svg);
    background-repeat: no-repeat;
    background-size: 80px;
    background-position: 20px center;
}

/*Carousels*/
.patum-carousel .elementor-image-carousel-wrapper .elementor-swiper-button.elementor-swiper-button-prev{
	left: -20px;
}
.patum-carousel .elementor-image-carousel-wrapper .elementor-swiper-button.elementor-swiper-button-next{
	right: -20px;
}


/*Timeline*/

.patum-timeline .wpr-data-wrap{
	
    display: flex !important;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
}


.patum-timeline.timeline-corpus .wpr-data-wrap:after{
    -webkit-transform: rotate(0)!important;
    -ms-transform: rotate(0)!important;
    transform: rotate(0)!important;
}

.patum-timeline.timeline-comparses .wpr-middle-line::before {
	display: block;
    content: "";
    height: 100px;
    width: 2px;
    position: absolute;
    background: var(--VerdePatum);
    top: -100px;
}

.patum-timeline.patum-timeline.timeline-comparses .wpr-vertical{
	overflow: visible;
}

.wpr-grid-image-wrap img {
    height: 154px;
    object-fit: cover;
}

span.eael-simple-menu-toggle-text {
    display: none;
}

/*Audio*/
.audio-tab .la_patum-playlist__item:not(.is-playing) .la_patum-playlist__title{
    display: none;
}
.audio-tab .la_patum-playlist__item:not(.is-playing) .la_patum-playlist__icon--playing,
.audio-tab .la_patum-playlist__item:not(.is-playing) .la_patum-playlist__progress{
    display: initial;
}

/*Estilos Pestanyas*/
.pestanyas-patum .e-con.e-atomic-element.e-tab-base.e--selected, .pestanyas-patum .e-con.e-atomic-element.e-tab-base:hover{
    background-color: var(--e-global-color-primary)!important;
}

/*Single post*/

.lapatum_post .lapatum_topwrapper .lapatum_postback:hover .elementor-icon-box-title a{
    color: var(--e-global-color-primary);
}

.lapatum_post .lapatum_topwrapper .lapatum_postback:hover svg path{
    fill: var(--e-global-color-primary);
}

.lapatum_post .lapatum_topwrapper .lapatum_posttitle h1.wpr-post-title{
    font-family: Oswald;
    font-weight: 600;
    font-size: 36px;
    text-transform: none;
    line-height: 85%;
    letter-spacing: -5%;
    color: #000;
}

.lapatum_post .lapatum_contentwrapper .lapatum_postcontent .wpr-post-content{
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.lapatum_post .lapatum_contentwrapper .lapatum_postnav .wpr-post-navigation-wrap .wpr-post-nav-prev{
    display: flex;
    justify-content: flex-start;
}

.lapatum_post .lapatum_contentwrapper .lapatum_postnav .wpr-post-navigation-wrap .wpr-post-nav-next{
    display: flex;
    justify-content: flex-end;
}

.lapatum_post .lapatum_contentwrapper .lapatum_postnav .wpr-post-navigation a{
    background-color: #8F8F8F;
    border-radius: 10px;
    width: fit-content;
    padding: 14px 18px;
    transition: .5s all linear
}

.lapatum_post .lapatum_contentwrapper .lapatum_postnav .wpr-post-navigation a:hover{
    background-color: var(--e-global-color-primary);
}

.cpel-switcher__nav .cpel-switcher__list{    
    background: var(--e-global-color-primary);
    padding-bottom: 10px!important;
}

span.cpel-switcher__code{
    background-color: var(--e-global-color-primary)!important;

}

@media (max-width: 1024px){
	.lapatum-title .elementor-heading-title .prev-title{
		font-size: 28px;
		line-height: 28px;
	}
	
	.patum-segura-accordion #patum-segura .e-n-accordion-item-title {
		padding-left: 60px;
		background-size: 40px;
	}
}

@media (min-width: 1025px){
	.lapatum-menu ul#menu-menu-ca li.pll-parent-menu-item.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-parent.menu-item-has-children,
    .lapatum-menu ul#menu-menu-en li.pll-parent-menu-item.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-parent.menu-item-has-children,
    .lapatum-menu ul#menu-menu-fr li.pll-parent-menu-item.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-parent.menu-item-has-children,
    .lapatum-menu ul#menu-menu-es li.pll-parent-menu-item.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-parent.menu-item-has-children{
		display: none !important;
	}
}

@media (max-width: 767px){
	
	.patum-timeline.timeline-comparses .wpr-middle-line::before{
		display: none;
	}

}

