/* 
Theme Name: Patrimoni Obert
Theme URI: https://thanks.studio
Description: 
Author: Thanks Studio
Author URI: https://thanks.studio/
Template: hello-elementor
Version: 1.0.3
Text Domain: patrimoni-obert
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags:
*/

/*
    Add your custom styles here
*/
/*GENERIC*/

html {
    -webkit-text-size-adjust: none;
    overflow-x: hidden;
}
body {
     overflow-x: hidden;
}


a,.hover05,.dialog-widget, 
.elementor-location-archive, .elementor-location-single,.site-main{
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    transition: all 500ms;
    
}   

ul, ol {
    margin: 0;
}
.mouseInActive{
    pointer-events: none;
}
.linkBlack a{
    color: #000 !important;
}
.linkWhite a{
    color: #fff;
}
.linkBlack a:hover,
.linkWhite a:hover{
    opacity: .5 !important;
}
.linkUnderline a {
  text-decoration: underline !important;
}
.linkUnderline a:hover {
  text-decoration: none !important;
}
.max900{
    max-width: 900px  !important;
}
.max700{
    max-width: 700px  !important;
}
.max500{
    max-width: 500px !important;
}
.opacity05:hover{
    opacity:0.5;

}
._500ms{
  -webkit-transition: all 500ms !important;
  -moz-transition: all 500ms !important;
  transition: all 500ms !important;
}
/*FIN GENERIC*/
/*Primera letra grande*/
.first_letra_m p::first-letter,
.first_letra_m h1::first-letter,
.first_letra_m h2::first-letter,
.first_letra_m h3::first-letter,
.first_letra_m span::first-letter{
     text-transform: uppercase;
}

.single_tax b{
    color: #ffffff;
}
.single_img img {
    max-height: 700px;
}
.single_tax .jet-listing-dynamic-terms__delimiter {
    line-height: 9px;
} 
.post-type-archive .single_content,
.jet-popup  .single_content,
.single .popup_content{
    display: none;
}
.jet-popup .popup_content_100{
    width: 100%;
}
.jet-popup .pop_up_image  img{
    max-width: 450px;
    max-height: 450px;
    object-fit: contain;
    object-position: right;
}
@media screen and (max-width: 760px) {
    .jet-popup .pop_up_image img {
        max-width: 100%;
        object-position: center;
    }
}


.single-elementor_library .popup_content{
    display: inherit;
}

.pop_up-menu a:hover {
    color: var(--e-global-color-accent) !important;
    fill: var(--e-global-color-accent) !important;
}
.home .header_desk:hover {
    background-color:var(--e-global-color-text) !important;
}

#menu_header_desk ul li:last-child .e-n-menu-title{
    padding-right: 0px;
    margin-right: -4px;
}
#menu_header_desk ul li:first-child .e-n-menu-title{
    padding-left: 0px;
}
#menu_header_desk ul {
    justify-content: space-between !important;
}
#menu_header_desk .e-n-menu-content{
    width: 100vw;
}
#menu_header_desk .e-n-menu-content .sub-menu-item {
    padding: 0px;
}

/* MENU COLORES PERSONALIZADOS */ 
/* NARANJA*/ 
.tax-testimoni   #e-n-menu-title-2331  .e-n-menu-title-text,
.elementor-page-921  #e-n-menu-title-2331  .e-n-menu-title-text,
.single-veus-del-patrimoni #e-n-menu-title-2331  .e-n-menu-title-text,
.single-fons-fotografic #e-n-menu-title-2331  .e-n-menu-title-text,
.single-patrimoni  #e-n-menu-title-2331  .e-n-menu-title-text,
.post-type-archive-fons-fotografic  #e-n-menu-title-2331  .e-n-menu-title-text,
.post-type-archive-patrimoni  #e-n-menu-title-2331  .e-n-menu-title-text,
.single-fons-fotografic .menu_fons-fotografic a.elementor-item,
.single-patrimoni .menu_elements_patrimonials a.elementor-item,
.tax-testimoni .menu_les-veus-patrimoni a.elementor-item,
.single-veus-del-patrimoni .menu_les-veus-patrimoni a.elementor-item,
.post-type-archive-fons-fotografic .menu_fons-fotografic a.elementor-item,
.post-type-archive-patrimoni .menu_elements_patrimonials a.elementor-item{
    color: var(--e-global-color-accent) !important;
}
/*
.single-fons-fotografic .menu_fons-fotografic a.elementor-item,
.single-patrimoni .menu_elements_patrimonials a.elementor-item,
.tax-testimoni .menu_les-veus-patrimoni a.elementor-item,
.single-veus-del-patrimoni .menu_les-veus-patrimoni a.elementor-item,
.post-type-archive-fons-fotografic .menu_fons-fotografic a.elementor-item,
.post-type-archive-patrimoni .menu_elements_patrimonials a.elementor-item {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.single-fons-fotografic .menu_fons-fotografic:hover a.elementor-item::before,
.single-patrimoni .menu_elements_patrimonials:hover a.elementor-item::before,
.tax-testimoni .menu_les-veus-patrimoni:hover a.elementor-item::before,
.single-veus-del-patrimoni .menu_les-veus-patrimoni a.elementor-item::before,
.post-type-archive-fons-fotografic .menu_fons-fotografic:hover a.elementor-item::before,
.post-type-archive-patrimoni .menu_elements_patrimonials:hover a.elementor-item::before{
    opacity: 1 !important;
    background-color: transparent !important;
    background-image: url(https://patrimoniobert.cat/wp-content/uploads/2024/09/ico_pat_2.svg);
    width: 35px;
    height: 16px;
    content: '';
    position: inherit;
    margin-left: 10px;
    margin-top: 8px;
}
*/
.elementor-nav-menu  .menu-item a.elementor-item {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
#menu_header_desk  .elementor-nav-menu  .menu-item:hover a.elementor-item::before{
    opacity: 1 !important;
    background-color: transparent !important;
    background-image: url(https://patrimoniobert.cat/wp-content/uploads/2024/09/ico_pat_2.svg);
    width: 35px;
    height: 16px;
    content: '';
    position: inherit;
    margin-left: 10px;
    margin-top: 8px;
}

.logo_sticky{
    opacity: 0;
}
.sub-menu-item{
    max-width: calc(100% - 8px) !important; 
} 
.thumb-grid-foto h2, 
.thumb-grid-foto .jet-listing-dynamic-terms__link,
.thumb-grid-foto .views .elementor-icon-list-text,
.thumb-grid-foto .views svg,
.thumb_hover h3{
  -webkit-transition: all 200ms !important;
  -moz-transition: all 200ms !important;
  transition: all 200ms !important;
}
.thumb-grid-foto:hover h2, 
.thumb-grid-foto:hover .jet-listing-dynamic-terms__link,
.thumb-grid-foto:hover .views .elementor-icon-list-text,
.thumb-grid-foto:hover .views svg,
.thumb_hover:hover h3{
   color: var(--e-global-color-accent) !important;
}
.thumb_hover:hover{
    cursor: pointer;
}
.thumb-grid-foto:hover .views svg {
    /*fill: var(--e-global-color-primary) !important;*/
}
.video-iframe iframe{
    min-height: 450px;
}

/*Ocultar tooltip on hover */
a[title]:hover::after {
  display: none;
}
/*Ocultar tooltip on hover */



/*FILTROS*/
.filtros_22mw .jet-list-content-collapsed{
    display: block !important;
}
.filtros_22mw .jet-collapse-icon,
.filtros_22mw .jet-collapse-none {
    display: none !important;
}
.jet-active-filter__label{
    display: none !important;
}
/*Elements patrimonials*/
.el-patr-content h2{
    padding: 50px 0px 10px;
    font-size: 32px;
    letter-spacing: -0.9px;
}
.el-patr-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.el-patr-content .wp-block-image :where(figcaption){
    background: none;
    box-sizing: border-box;
    color: inherit;
    font-size: 13px;
    margin: 0;
    overflow: auto;
    padding: 10px 0px;
    margin-left: -10px;
    scrollbar-color: #0000 #0000;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    text-align: left;
    text-shadow: none;
    will-change: transform;
    position: inherit;
    width: 50%;
    font-style: inherit;
    font-weight: 500;
}
@media screen and (max-width: 760px) {
    .el-patr-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
    .el-patr-content .wp-block-image :where(figcaption) {
        margin-left: 3px;
        width: 70%;
        font-size: 11px;
        line-height: 11px;
    }
}
.el-patr-content .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    -webkit-backdrop-filter:none;
    backdrop-filter: none;
}
.el-patr-content p {
    margin-block-end: 2rem;
}


.filters .e-n-accordion-item-title {
    padding-left: 0px !important;
}
.thumb-ep:hover h3 {
    color: #FF7F00 !important;
}
.je-layout-switcher__btn {
    opacity: 0.2;
}
.je-layout-switcher__btn--active,
.je-layout-switcher__btn:hover {
    opacity: 1;
}
/* HOME PAGE */
.slider-home .jet-slick-dots {
    margin-top: -60px;
    position: absolute;
} 
.slider-news .jet-listing-grid__item {
    border-right: 1px solid #443C37;
}
.slider-news .jet-listing-grid__item:nth-child(3n) {
    border-right: none;
}
.slider-arxiu_foto .jet-listing-grid__items {
    padding-bottom: 10px;
}
.slider-arxiu_viu .jet-listing-grid__item {
    border-bottom: 1px solid #443C37;
}
.slider-arxiu_viu .jet-listing-grid__item:last-child {
    border-bottom: none;
}

@media screen and (max-width: 760px) {
    .slider-news .jet-listing-grid__item  {
        border-right: none;
    }
}
.slider-arxiu_foto.pad_50 .elementor-widget-container{
        padding-left: 50px !important;
    }
@media screen and (min-width: 1500px) {
    .slider-arxiu_foto.pad_50 .elementor-widget-container{
        padding-left: calc((100vw - 1500px) / 2) !important;
    }
}
/* FOOTER  */
.footer_text a{
    color: color: var(--e-global-color-primary);
}
.footer_text a:hover{
    color: var(--e-global-color-accent);
}
.footer_form #form-field-email{
    padding-left: 0px;
}
.footer_form #form-field-email:focus {
    box-shadow: none;
    border-bottom: 3px solid var(--e-global-color-accent) !important;
}
.footer_form a .e-form__buttons {
    margin-top: -52px;
}
@media screen and (max-width: 1199px) {}
@media screen and (max-width: 760px) {
    .footer_form a .e-form__buttons {
        margin-top: 0px;
    }
}

.footer_form .elementor-field-type-acceptance .elementor-field-option label{
    font-size: 14px !important;
    color: #443C37;
    padding-left: 10px;
}
.footer_form .elementor-field-type-acceptance .elementor-field-option label a{
    color: #443C37;
    text-decoration: underline;
}
.footer_form .elementor-field-type-acceptance .elementor-field-option label a:hover{
    text-decoration: none;
}
.footer_form .elementor-field-type-acceptance span.elementor-field-option {
    display: flex;
    flex-direction: row;
    align-content: center;
}
/* GLOBAL */
:focus, a:focus {
    outline: 0 !important;
    border: none !important;
}

::-moz-selection { background: var(--e-global-color-accent) !important; color: var(--e-global-color-primary) !important; }
::selection { background: var(--e-global-color-accent) !important; color: var(--e-global-color-primary) !important;}

/* width */
::-webkit-scrollbar { width: 10px;}

/* Track */
::-webkit-scrollbar-track { background: var(--e-global-color-primary);  }
 
/* Handle */
::-webkit-scrollbar-thumb { background: var(--e-global-color-secondary);    border: 2px solid var(--e-global-color-primary)}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover { background: var(--e-global-color-accent) ;     border: 2px solid var(--e-global-color-primary); }

