/*
Theme Name: Rebula-child
Text Domain: Rebula-child
Version: 2g1c
Description: Al tempo degli dei dell'Olimpo, dei signori della guerra e dei re che spadroneggiavano su una terra in tumulto, il genere umano invocava il soccorso di un eroe per riconquistare la libertà finalmente arrivò Xena, l'invicibile princepessa guerriera forgiata dal fuoco di mille battaglie. La lotta per il potere, le sfrenate passioni, gli intrighi e tradimenti furono affrontati con indomito coraggio da colei, che sola, poteva cambiare il mondo.
Author: Rebula srl
Author URI: https://rebula.it
Template: rebula



*/

@tailwind base;
@tailwind components;
@tailwind utilities;

:root{
    --blu: #0FA8CA !important;
    --nero: #38454B;
    --bianco: #fff;
    --grigio: #FAF7F7 !important;
    --grigio2: #F0EBEB !important;
}


.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' -25,
    'opsz' 24
  }
  
.material-symbols-outlined-bold {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-variation-settings:
    'FILL' 0,
    'wght' 800,
    'GRAD' -25,
    'opsz' 24
}

body {
    color:var(--colore1)
}


html {
    scroll-behavior: smooth;
}

.h0{
    font-family: Inter;
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h1, .h1{
    font-family: Inter;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h2, .h2{
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h3, .h3{
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h4, .h4{
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 125% */
}

p, .parag, li{
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
}

a, .link{
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.captions{
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

.captions-link{
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.um {
    font-family: Inter !important; /* Sostituisci con il font desiderato */
}

.btn{
    width: fit-content;
    display: inline-flex;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    text-decoration: none !important;
    font-weight: 700 !important;
}

header, .header-container {
    position: fixed;
    top: 0;
    height: auto;
    z-index: 999;
    width: 100%;
}

header .menu li a{
    text-decoration: none !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;

}


header .menu li:nth-child(2) a{
    background-color: var(--bianco) !important;
    color: var(--blu) !important;
    width: fit-content;
    display: inline-flex;
    padding: 12px 32px 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    text-decoration: none !important;
}

header .menu li:nth-child(3) a{
    font-weight: 400 !important;
}

.numeri{
    color: var(--blu);
    text-align: center;
    -webkit-text-stroke-width: 5px;
    -webkit-text-stroke-color: var(--bianco);
    font-family: Inter;
    font-size: 128px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.page-content{
    padding-top: 76px;
}


.edit-link .post-edit-link{
    text-decoration: none !important;
}

.captions a{
    font-size: 12px !important;
}

/* Filtri  */

.wpc-filters-widget-wrapper{
    color: var(--nero)
}

.wpc-filters-section{
    border-top: 1px solid #38454B;
    padding-top: 24px;
}

.wpc-filters-section .wpc-wrap-icons{
    font-weight: 700;
}

.wpc-filter-header .wpc-filter-title button{
    margin-bottom: 0;
}

.wpc-filter-collapsible.wpc-closed .wpc-filter-title span.wpc-open-icon,
.wpc-filter-collapsible .wpc-filter-title span.wpc-open-icon{
    font-weight: 700;
    border-left: 2px solid #38454B;
    border-top: 2px solid #38454B;
}

.wpc-filters-widget-wrapper:last-child{
    border-bottom: 1px solid #38454B;
}

.wpc-edit-filter-set{
    display: none;
}

/* Paginazione  */

.pagination-arrow,
.page-numbers{
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    border: 1px solid var(--black, #38454B);
    text-decoration: none !important;
    font-weight: 700;
}

.pagination-numbers .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    text-decoration: none !important;
}

.nav-links .current {
    background: var(--nero);
    color: var(--bianco);
    border: none;
}

.prev.page-numbers,
.next.page-numbers{
    display: none !important;
}



/* Form contatti  */


.wpcf7-form .box-input{
    display: flex !important;
    justify-content: space-between;
    gap: 24px;
}


.wpcf7-form .box-input div{
    width: 50% !important;
}

.wpcf7-form input:not([type="checkbox"], [type="submit"]),
.wpcf7-form textarea{
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    color: var(--nero) !important;
    margin-top: 8px;
}

.wpcf7-acceptance label{
    display: flex;
    align-items: center;
}

.wpcf7-acceptance label span{
    margin-left: 16px !important;
}
.wpcf7-acceptance label span a {
    font-size: 12px !important;
}

.wpcf7-form input[type="submit"]{
    background: var(--blu);
    color: var(--bianco)  !important;
    border: none !important;
    font-weight: 700;
    padding: 12px 32px !important;
    border-radius: 16px;
}

.wpcf7-form input:not([type="checkbox"], [type="submit"]),
.wpcf7-form textarea{
    background: #fff;
    border: 1px solid #F0EBEB;
}

.wpcf7-form textarea{
    padding: 12px 16px;
}


.toplevel_page_wpcf7,
#wp-admin-bar-comments,
#show-settings-link,
#contextual-help-link,
#edit-slug-box,
#wpadminbar #wp-admin-bar-wp-logo>.ab-item,
#wpadminbar #wp-admin-bar-new-content,
#wp-admin-bar-search
{ display: none !important; }


/* Ultimate Member  */
.um-col-alt{
    display: flex !important;
    order: 99999;
}

.um-form form{
    display: flex !important;
    flex-direction: column;
}

/* PAgina login e registrazione */

div.um.um-login{
    margin: 0 auto !important
}

div.um.um-login .um-field:first-child{
    padding: 0 !important;
}

div.um.um-register .um-field:first-child{
    padding: 0 !important;
}


a.um-link-alt{
    text-align: start !important;
    text-decoration: underline !important;
    font-size: 12px !important;
}

.um-col-alt input[type=submit].um-button{
    width: fit-content !important;
    min-width: fit-content !important;
    border-radius: 16px !important;
    background: var(--blu) !important;
}

.um-register .um-col-alt input[type=submit].um-button{
        background: var(--nero) !important;
}

.um-button{
    padding: 12px 32px !important;
}

.um.um-login,
.um.um-login .um-row._um_row_1 {
    margin: 0 !important;
}

.um.um-password{
    margin: auto 0 !important;
}

.um.um-password .um-col-alt-b{
    padding: 0 !important;
}




/* Filtri  */


.wpc-filter-selected-values{
    display: none !important;
}

.wpc-filters-range-values-wrapper{
        display: none !important;
}

.wpc-filters-range-column{
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
}


#filtri::-webkit-scrollbar,
#abitazioni::-webkit-scrollbar {
    width: 8px;
    background: #f0ebeb;
}
#filtri::-webkit-scrollbar-thumb,
#abitazioni::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 8px;
}

.wpc-filter-title{
    margin-bottom: 18px !important;
}

/* Sticky links hp  */

#sticky-links.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff; /* o il colore che preferisci */
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.wpc-filters-range-column.wpc-filters-range-min-column:before {
    content: "da"; /* Il testo della tua label */
    display: block; /* O inline-block per un layout diverso */
}
.wpc-filters-range-column.wpc-filters-range-max-column:before {
    content: "a"; /* Il testo della tua label */
    display: block; /* O inline-block per un layout diverso */
}



#filtri {
    max-height: 100vh;      /* o altra altezza desiderata */
    overflow-y: auto;
    scrollbar-width: thin;  /* Firefox */
    scrollbar-color: #bdbdbd #f0ebeb; /* Firefox */
}
        


  

@media (min-width: 1280px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 640px) {

      .container:has(#abitazioni) {
        overflow: hidden !important;
        overscroll-behavior: contain !important;
        touch-action: none !important;
    }


      #abitazioni {
        max-height: 100vh;      /* o altra altezza desiderata */
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #bdbdbd #f0ebeb;
    }

  

}


@media (max-width: 640px) {
    /* #filtri{
        position: absolute;
    } */


    

    body.no-scroll {
        overflow: hidden;
        height: 100vh;
    }
    
    
    .post-list.scroll {
        overflow-y: scroll;
    }
    
    .page-content:has(.galleria .slick-list){
        padding-top: 0 !important;
    }

    .header-2{
        height: 64px !important;
        width: 100vw;
    }
    
    .logo-wrapper img,
    .logo-mobile-menu img{
        height: auto !important;
        width: 100% !important;
    }

    .logo-wrapper,
    .logo-mobile-menu a{
        height: auto !important;    
        width: 66% !important;
    }

    .mobile-menu li.menu-item a{
        font-size: 24px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: end !important;
        gap: 16px !important;
    }

    .mobile-menu li.menu-item:last-child{
        margin-top: 114px !important;
    }
    
    .mobile-menu li.menu-item:last-child a{
        font-size: 12px !important;
        font-weight: 400 !important;
        gap: 8px !important;
    }

    li.menu-item {
        font-size: 2em;
        margin-bottom: 32px;
    }
    
    
    h1, .h1{
        font-family: Inter;
        font-size: 32px !important;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    
    h2, .h2{
        font-family: Inter;
        font-size: 24px !important;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }
    
    h3, .h3{
        font-family: Inter;
        font-size: 24px !important;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 125% */
    }
    
    p, .parag, li{
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px; /* 125% */
    }
    
    a, .link{
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }
    
    .captions{
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 133.333% */
    }
    
    .captions-link{
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: none;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }
    

    .wpcf7-form .box-input{
        display: flex !important;
        flex-direction: column;
    }
    

    .wpcf7-form .box-input div{
        width: 100% !important;
    }


    
    .wpc-filters-open-button-container{
        /* display: block !important; */
        display: none !important;
    }

    .wpc-button-inner{
        display: flex !important;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .wpc-open-close-filters-button.wpc-closed.wpc-show-counts-yes{
        width: 100% !important;
    }

    #wpadminbar{
        display: none !important;
    }

}