@import url("typography.css");
@import url("buttons.css");
@import url("utils.css");

/*
========================================================================================================
                                        DIRECTORY STRUCTURE
========================================================================================================
base/
|   |– _reset.scss       # Reset/normalize
|   |– _typography.scss  # Typography rules [OK]
|   
|
|– components/
|   |– _buttons.scss     # Buttons [OK]
|   |– _carousel.scss    # Carousel
|   |– _cover.scss       # Cover
|   |– _dropdown.scss    # Dropdown
|   
|
|– layout/
|   |– _navigation.scss  # Navigation
|   |– _grid.scss        # Grid system
|   |– _header.scss      # Header
|   |– _footer.scss      # Footer
|   |– _sidebar.scss     # Sidebar
|   |– _forms.scss       # Forms
| 
|
|– pages/
|   |– _home.scss        # Home specific styles
|   |– _contact.scss     # Contact specific styles
|  
|
|– themes/
|   |– _theme.scss       # Default theme
|   |– _admin.scss       # Admin theme
|  
|
|– utils/
|   |– _utils.scss      # Sass Utils [OK]
|   |– _variables.scss   # Sass Variables
|   |– _functions.scss   # Sass Functions
|   |– _mixins.scss      # Sass Mixins
|   |– _helpers.scss     # Class & placeholders helpers
|
|– vendors/
|   |– _bootstrap.scss   # Bootstrap
|   |– _jquery-ui.scss   # jQuery UI
|

*/


/* ========================================================================================================
                                        BASE STYLES AND VARIABLES
                                        
    This file contains only the basic styles and global variables for the entire application. 
    For the styles of individual components, please refer to the /css folder in the root directory
   ======================================================================================================== */

/*  Variables related to the 9 colors used by the Astra customizer for site customization    */
:root {

    /* Per retrocompatibilità*/
    --ast-global-color-0: #595858; /*   ACCENTS - LINKS         */
    --ast-global-color-1: #000000; /*   ACTIVE - HOVER          */
    --ast-global-color-2: #1e293b; /*   HEADINGS                */
    --ast-global-color-3: #334155; /*   CONTENT                 */
    --ast-global-color-4: #FFFFFF; /*   SITE BACKGROUND         */
    --ast-global-color-5: #FFFFFF; /*   CONTENT BACKGROUND      */
    --ast-global-color-6: #D1D5DB; /*   BORDERS                 */
    --ast-global-color-7: #111111;
    --ast-global-color-8: #353535;

    --diocesi-global-color-primary: #345E75;
    --diocesi-global-color-primary-light: #3A6983;
    --diocesi-global-color-primary-dark: #2E5469;
    
    --diocesi-global-color-gray: #232F38;
    --diocesi-global-color-gray-light: #484848;
    --diocesi-global-color-black: #000000;

    --diocesi-global-color-sand: #ECF1F2;
    --diocesi-global-color-sand-light: #FCFBF4;
    --diocesi-global-color-white: #FFFFFF;


    --diocesi-global-color-accent: #3A6983;
    --diocesi-global-color-text: #333333;

    --diocesi-global-color-link-hover: #2270AD;



    /* NEW */
    --global-color-primary: #345E75;
    --global-color-primary-light: #3A6983;
    --global-color-primary-dark: #2E5469;    
    --global-color-primary-hover: #3A6983;


    
    --global-color-secondary: #334350; /*flint blue*/
    --global-color-secondary-light: #5C6973; /*gray light*/
    --global-color-secondary-dark: #232F38; /*midnight blue*/
    
    --global-color-tertiary: #ECF1F2; /*blue light*/
    --global-color-tertiary-light: #F5F6F4; /*moss gray light*/
    --global-color-tertiary-dark: #fff; /*white*/


    --global-color-blue-light: #ECF1F2;
    --global-color-mossgray-light: #F5F6F4;
    
    --global-color-white: #FFFFFF;
    --global-color-black: #000000;

    --global-color-accent: #3A6983;
   
    --global-color-gray: #333;


    /* Border radius */
    --global-border-radius: 3px;


    /* Primary CTA Variables */
    --cta-primary-bg-color: #345E75;
    --cta-primary-text-color: #FFFFFF;
    --cta-primary-hover-bg-color: #3A6983;
    --cta-primary-active-bg-color: #2E5469;
    --cta-primary-disabled-bg-color: rgba(52, 94, 117   , 0.50);
    
  
    /* Secondary CTA Variables */
    --cta-secondary-bg-color: #334350;
    --cta-secondary-text-color: #FFFFFF;
    --cta-secondary-hover-bg-color: #5C6973;
    --cta-secondary-active-bg-color: #232F38;
    --cta-secondary-disabled-bg-color: rgba(51, 67, 80, 0.50);
    

    /* Tertiary CTA Variables */
    --cta-tertiary-bg-color: #FFFFFF;
    --cta-tertiary-text-color: #000000;
    --cta-tertiary-border-color: #334350;
    --cta-tertiary-hover-bg-color: #5C6973;
    --cta-tertiary-hover-text-color: #232F38;
    --cta-tertiary-active-bg-color: #232F38;
    --cta-tertiary-active-text-color: #232F38;
    --cta-tertiary-active-border-color: #232F38;
    --cta-tertiary-disabled-bg-color: #FFFFFF;
    --cta-tertiary-disabled-text-color: #232F38;
    --cta-tertiary-disabled-border-color: #334350;
  
    /* Link CTA Variables */
    --cta-link-text-color: #232F38;
    --cta-link-hover-text-color: #345E75;
    --cta-link-active-text-color: #345E75;
    --cta-link-disabled-text-color: rgba(35, 47, 56, 0.50);
  

  }


/*  Reset */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

/* Reset for ast border bottom in desktop and mobile */
.ast-primary-header-bar, .ast-header-break-point .ast-primary-header-bar {
    border-bottom: 1px solid #DDDDDD;
}

.favorite-content  h5{
    font-size: 25px;
}

@media (max-width: 544px) {
    .favorite-content  h5{
        font-size: 20px;
        max-width: 80%;
    }
}

.date-filter-button {
 border-radius: var(--global-border-radius) !important;   
}


.accent-text{
    color: var(--diocesi-global-color-primary);
}

.accent-bg{
    background-color: var(--diocesi-global-color-primary) !important;
}

.single-poi-description-wrapper p{
    line-height: 26px;
}

.margin-top-xxxxl{
    margin-top: 80px;
}

input[type="radio"] {
    accent-color: var(--global-color-accent) !important; 
  }

input[type="date"] {
    border-radius: 24px;
    border: 1px solid var(--diocesi-global-color-gray);
}

  #ast-scroll-top{
    display: none !important;
  }


  



/* ========================================================================================================
                                        PAGES
   ======================================================================================================== */



.dmc-login-container {
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.dmc-login-row {
    display: flex; 
    justify-content: center;
    width: 100%;
}

.dmc-form-login{
    width: 100%;
    margin-top: 32px;
}

/* ========================================================================================================
                                        COMPONENTS
   ======================================================================================================== */

/*TABLET AND MOBILE*/

 @media (max-width: 921px) {
    .diocesi-search-bg-radial-left, .diocesi-search-bg-radial-right{
        display: none;
    }
} 



.diocesi-search-bg-radial-left {
    position: fixed;           /* Use fixed to cover the viewport even on scroll */
    top: 0 !important;
    left: 0 !important;
    width: 100vw;
    height: 100vh;             /* Fill the entire viewport height */
    background: linear-gradient(180deg, #F5F6F4 0%, #FFF 39.64%);
    z-index: -1;               /* Keep it behind all content */
}

/* .diocesi-search-bg-radial-right{
    height: 450px;
    width: 450px;
    background: radial-gradient(circle, rgba(250, 247, 236, 1) 10%, rgba(250, 247, 236, 0) 50%);
    position: absolute;
    top: 300px;
    right: -200px;
    z-index: -1;
}  */


/* Social Icons */
.dmc-social-icons{
    color: var(--diocesi-global-color-white);
    font-size: 32px;
    display: flex;
}

/* Social Icons */
.dmc-mobile-menu-social-icons{
    color: var(--diocesi-global-color-white);
    font-size: 25px;
}

.circle{
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

/* BEGIN FORM COMPONENTS -------------------------------------------------------------------- */
/* STANDARD INPUT*/

.standard-input,
#setupform input, input[type="password"] {
    width: 100% !important;
    padding: 8px 20px !important;
    border: 1px solid #9EABB5 !important;
    border-radius: var(--global-border-radius) !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    height: 40px !important;
}

.standard-input:hover, .dmc-form-login input[type="text"]:hover, .dmc-form-login input[type="password"]:hover, #setupform input:hover {
    border: 1px solid #334350 !important; 
    background: #FFF !important;
    color: #73828D !important;
}


.standard-input:active, .dmc-form-login input[type="text"]:active, .dmc-form-login input[type="password"]:active {
    border: 1px solid #334350 !important;
    color: #232F38 !important;
}



input[type="checkbox"]{
    height: 15px;
    width: 15px;
    accent-color: var(--global-color-accent) !important;
}

.dmc-form-login p {
    margin: 32px auto 32px auto !important;
    padding: 0px !important;
}

.dmc-form-login input[type="text"],
.dmc-form-login input[type="password"] {
    margin-bottom: 20px !important;
}


.dotb-footer-ls-container{
    position: relative;
}

.dotb-mobile-ls-container{
    position: relative;
}

.dotb-header-ls-container{
    display: inline-block;
    position: relative;
}

.dotb-header-ls-select{
    all: unset;
    position: relative;
    background-color: transparent !important;
    color: var(--ast-global-color-8);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px !important;
    padding: 10px 34px 10px 38px !important;
    box-sizing: border-box;
    border-radius: 20px !important;

}


.dotb-footer-ls-select{
    all: unset;
    position: relative;
    width: 100%;
    background-color: transparent !important;
    color: white;
    border: 1px solid white !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px !important;
    padding: 10px 38px !important;
    height: 40px;
    box-sizing: border-box;
    border-radius: var(--global-border-radius) !important;
}

/* END FORM COMPONENTS -------------------------------------------------------------------- */

.dotb-mobile-ls-select{
    all: unset;
    position: relative;
    width: 100%;
    background-color: white !important;
    color: black;
    border: 1px solid white !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px !important;
    padding: 10px 38px !important;
    height: 40px;
    box-sizing: border-box;
    border-radius: 20px !important;

}

.dotb-header-select-chevron-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--ast-global-color-8);
    cursor: pointer;
}

.dotb-footer-select-chevron-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: white;
    cursor: pointer;
}

.dotb-mobile-select-chevron-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: black;
    cursor: pointer;
}

.dotb-lang-flag-container{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.dotb-lang-flag {
    width: 18px;
}

.dotb-select-option {
    padding: 10px !important;
    background-color: white !important;
    color: #333 !important;
    border-radius: 20px !important;
    text-align: left;
    margin: 50px !important;
  }


.dotb-mobile-menu-separator{
    border-top: 1px solid #262626; /* Light gray line */
    margin: 20px 0; /* Adds space above and below */
}



/* ========================================================================================================
                                            OVERRIDES
                                        
    Classes that must be overriden, as in some cases it is not possible to attach support classes.
   ======================================================================================================== */

   /* #page{
    overflow-x: hidden !important;
    overflow-y: visible !important;
} */

/*Overrides default 60px margin bottom/top for larger device*/ 
@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/*Overrides default max-witdh for desktop device*/ 
@media (min-width: 922px) {
    .ast-container {
        max-width: 1140px;
    }
}

@media (min-width: 1141px) {
    .ast-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Add 20px padding to content on screens smaller than 544px */
@media (max-width: 544px) {
    .ast-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    #ast-mobile-header{
        width: 100vw !important;
    }
}

@media (min-width: 544px) and (max-width: 921px) {

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }
    
    .ast-container {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

@media (max-width: 921px) {
    #page{
        overflow-x: hidden !important;
    }
}


.page-header {
    display: none !important;
}


/* ========================================================================================================
                                       MENU STYLES
   ======================================================================================================== */


li {
    list-style-type: none;
}

ul {
    margin: 0 !important;
}

.dmc-wordpressmenu-li-mobile-dmc a{
    color: #fff !important;
    text-transform: uppercase;
    text-align: left;
    font-weight: 500;
    font-size: 22px;
    line-height: 40px;
    padding:0 !important
}

.dmc-wordpressmenu-li-mobile-dmc a:hover{
    color: rgb(255 255 255 / 40%) !important;
}

.dmc-wordpressmenu-li-mobile-dmc.bold-link a{
    font-weight: 700 !important;
}



.dmc-wordpressmenu-li-login-dmc a {
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    font-weight: 500;
    font-size: 16px;
}


@media (max-width: 544px) {
    .dmc-wordpressmenu-li-login-dmc a {
        font-size: 22px !important;
        font-weight: 500;
        line-height: 40px;
    }
}

.dmc-wordpressmenu-li-footer-dmc {
    text-align: left;
}

.dmc-wordpressmenu-li-footer-dmc a:hover, .dmc-wordpressmenu-li-login-dmc a:hover {
    color: rgb(255 255 255 / 40%) !important;
}



.menu-link-dmc-mobile {
    color: #000;
    text-transform: uppercase;
    margin-left: -5px;
}


.menu-link-footer-dmc {
    color: var(--diocesi-global-color-white);
    font-size:16px;
    text-transform: uppercase;
    font-weight: 500;
}


.white-text {
    color: var(--diocesi-global-color-white);
}

/*
========================================================================================================
                                       DETAIL PAGE
========================================================================================================
*/

/*DESKTOP*/
@media (min-width: 921px) {

    .half-width-container {
        display: flex;
        flex-direction: row;
    }

    /* .half-width.right-content {
        margin-left: 10% !important;
    } */


}

/*TABLET*/
@media (min-width: 544px) and (max-width: 921px) {

    .flex-container {
        padding-top: 35px !important;
    }

    .breadcrumb-container {
        font-size: 16px;
    }

    .half-width-container {
        display: flex;
        flex-direction: column;
    }

    .right-content-wrapper {
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        height: auto !important;
        margin-top: 48px;
    }

    .single-poi-map-title {
        margin-top: 0px !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        justify-content: flex-start !important;
        padding-left: 20px;
    }

    #poi-map{
        height: 448px !important;
    }

    .left-content, .right-content { 
       width: 100% !important;
    }

    .dotb-detail-page-thumbnail-wrapper img{
        height: 504px !important;
    }

    .detail-page-variant-list-entry{
        gap: 24px !important;
    }

    .detail-page-variant-list-entry-category{
        font-size: 20px !important;
        max-width: 450px !important;
    }

    .detail-page-variant-list-entry-thumbnail{
        max-width: 177px!important;
        height: 177px!important;
    }

    .full-width-button-container{
        width: 100%;
        margin-top: 16px;
    }

    .detail-page-responsive-section-title{
        font-size: 31.25px;
    }

    .detail-page-swiper-container{
        padding: 48px 20px !important;
    }

    .book-cta-a{
        width: 100%;
    }

    .single-route-waypoints > a{
        margin-left: 16px;
    }

    .detail-page-responsive-title{
        font-size: 34px;
    }


}

/* MOBILE*/
@media (max-width: 544px) {

    .flex-container {
        padding-top: 28px !important;
    }

    .breadcrumb-container {
        font-size: 12.8px;
    }

    .half-width-container {
        display: flex;
        flex-direction: column;
    }

    .right-content-wrapper {
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        height: auto !important;
    }

    .single-poi-map-title{
        margin-top: 64px !important;
        justify-content: flex-start !important;
        padding-left:16px;
        margin-left:-12px !important;
        margin-right:-12px !important;
        height: 53px !important;

    }

    .single-poi-map-title h5{
        font-size: 25px !important;
        color: #fff !important;
    }


    .primary-cta.mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 19;
        border-radius: 0 !important;
        border: none;
        background: var(--diocesi-global-color-accent);
        height: 57px;
    }

    .primary-cta.mobile:hover {
        border: 1px solid var(--ast-global-color-8);
        border-left: none;
        border-right: none;
    }

    .primary-cta.mobile:focus {
        border: none !important;
        color: var(--ast-global-color-4);
    }

    .left-content, .right-content { 
       width: 100% !important;
    }

    .dotb-detail-page-thumbnail-wrapper img{
        height: 324px !important;
    }

    .book-cta-container{
        margin:0 !important;
    }

    .detail-page-responsive-title{
        font-size: 31.25px;
    }

    .detail-page-responsive-section-title{
        font-size: 25px !important;
    }

    .detail-page-responsive-p{
        font-size: 16px;
    }

    .detail-page-variant-list-entry-title{
        font-size: 20px;
    }

    .tool-button-container {

        top: 15px !important;
        right: 15px !important;
        
    }

    .detail-page-variant-list-entry-thumbnail{
        width: 40% !important;
        max-width: 144px!important;
        height: 144px!important;
    }

    .waypoint-number-container{
        top: -15px;
        left: -15px;
    }

    .waypoint-info-container{
        padding-top: 13px;
    }

    .waypoint-circle{
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .single-route-waypoints > a{
        margin-left: 15px;
    }

    .waypoint-add-to-favorite-container {
        top: 10px;
        right: 10px;
    }

    .diocesi-home-routes-list-entry {
        margin: 0;
        gap: 19px!important;
    }

    .waypoint-accessibility-text {
        white-space: break-spaces;
    line-height: 1.1;

    }

    .tourism-waypoint-accessibility-container{
        max-height: fit-content;
    }

}


.flex-container {
    display: flex;
    flex-direction: column;
    padding-top: 48px;
}

.half-width.left-content {
    width: 57%;
}

.half-width.right-content {
    margin-left: 0;
    width: 43%;
    display: flex;
    justify-content: flex-end;
}

.right-content-wrapper {
    width: 367px;
    height: 388px;
    position: sticky;
    top: 120px;
    padding: 16px;
    min-width: 300px;
    border-radius: var(--global-border-radius);
    border: 1px solid rgba(221, 221, 221, 0.50);
    background: var(--diocesi-global-color-white);
    box-shadow: 0px 1px 20px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.full-width-image {
    grid-column: 1 / -1;
    width: 100vw;
    max-height: 400px;
    /* Set the desired height */
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    /* Ensure the image doesn't overflow the container */
    display: flex;
    justify-content: center;
    /* Centers the image horizontally */
    align-items: center;
    /* Centers the image vertically */
    position: relative;
}

.full-width-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Cover the entire container while maintaining aspect ratio */
    display: block;
}

#poi-map{
    border-radius: 8px;
}

.full-width-button-container{
    margin-top: 16px;
}

.dotb-detail-page-thumbnail-wrapper{
    width: 100%;
    max-height: 504px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-radius: 3px;
}

.dotb-detail-page-thumbnail-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.detail-page-variant-list-entry{
    
    padding: 0px;
}

.detail-page-variant-list-entry-thumbnail{
    width: 45% ;
    max-width: 177px;
    height: 177px;
}

.dotb-detail-page-breadcrumb-container {
    height: 80px;
    display: flex;
    align-items: center;
}

.tool-button-container {
    position: absolute;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    align-items: center;
    gap: 13px;
    z-index: 2;
    top: 30px;
    right: 30px;
    
}

.tool-button-container .fa-share-nodes {
    color: var(--diocesi-global-color-white) !important;
}   

.icon-button-poi:hover,
.icon-button-poi:visited {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: var(--diocesi-global-color-white) !important;
}

@media (min-width: 922px) {
    .right-content-wrapper-subsite {
        margin-top: -200px;
    }
}

.single-poi-map-title {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--global-border-radius);
    color: #fff;
    font-weight: 400;
    background-color: var(--global-color-primary) !important;
    margin-top: -16px;
    margin-left: -16px;
    margin-right: -16px;
    height: 63px;
    font-family: 'Garamond';
}

.single-poi-map-title-subsite {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px 3px 0 0;
    color: #fff;
    font-weight: 400;
    background-color: #334350;
    font-size: 31.25px !important;
    margin-top: -16px;
    margin-left: -16px;
    margin-right: -16px;
    height: 63px;
    font-family: 'Garamond';
}

@media screen and (max-width: 544px) {
    .single-poi-map-title-subsite {
        color: #232F38;
        font-size: 25px !important;
        font-weight: 700;
        line-height: normal;
        background: transparent;
        text-align: left;
        justify-content: flex-start;
        margin: 8px 8px 0 8px;
    }

    .tourism-detail-page-multimedia-title-container h3 {
        font-size: 25px;
    }

}


.single-poi-map-title h5 {
    font-size: 31.25px;
}


.readmore {
    margin-top: 24px;
    border: none;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
    display: none;

    color: var(--diocesi-global-color-gray);
    background-color: var(--diocesi-global-color-white);
    font-family: 'Lato';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.readmore:hover {
    background-color: var(--diocesi-global-color-white) !important;
    color: var(--global-color-primary-hover);
    border: 0 !important;
}

.readmore:active {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-8);
}

.readmore:focus {
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-8);
}

.single-poi-description-wrapper {
    max-height: 100px;
    overflow: hidden;
    margin-top: 24px;
    transition: max-height 0.5s ease;
}

.single-poi-description-wrapper.open {
    max-height: 1000px;
    /* A large enough value to accommodate the full text */
}

.single-poi-description-wrapper.closing {
    max-height: 100px;
    /* Collapse to truncated height */
}

.rating-review-container {
    display: flex;
    align-items: center;
    margin-top: 24px;
    gap: 16px;
}


.sidebar-br {
    background-color: #D7D7D9;
    height: 1px;
/*     transform: scaleY(2); */
}


.toggle-openings-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-openings {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    font-size: 20px;
    line-height: 1.25em;
    margin-bottom: 24px;
}

.toggle-contacts {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin: 40px 0;
}


.single-poi-info-container {
    margin-top: 64px;
}

.book-cta-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 95px;
    gap: 16px;
}

.single-poi-heading{
    margin-bottom: 16px;
    margin-top: 24px;
}

.single-poi-heading h5 {
    color: var(--global-color-secondary);
}

.single-poi-heading h3 {
    color: var(--global-color-secondary);
    font-family: 'Garamond', sans-serif;
    font-size: 25px;
    line-height: 1em;
    font-weight: medium;
}

.openings-chevron {
    margin-left: auto;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--diocesi-global-color-sand);
    color: var(--diocesi-global-color-accent);
    border-radius: 50%;
    font-size: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.openings-chevron.toggled{
    background-color: var(--diocesi-global-color-accent);
    color: var(--diocesi-global-color-white);
    transform: rotate(180deg);
}

.openings-container {
    margin-bottom: 24px;
}

.openings-days {
    flex: 0 0 35%;
    font-size: 16px;
}

.openings-hours {
    display: flex;
    flex: 0 0 65%;
    justify-content: flex-end;
    font-size: 16px;
}

.openings-row {
    display: flex;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
}

.alternative-bg {
    background-color: var(--diocesi-global-color-sand);
}

.sidebar-contacts-info-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-bottom: 32px;
}

.sidebar-contacts-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-value-container {
    display: flex;
    gap: 8px;
    height: 40px;
    padding: 8px;
    align-items: center;
    border-radius: var(--global-border-radius);
    background-color: var(--diocesi-global-color-sand);
}

.single-poi-accessibility-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    min-height: 40px;
    margin-top: 48px;
}

.accessibility-text{
    text-transform: capitalize;
}

.accessibility-icon-wrapper{
    width: 30px;
    height: 30px;
    background-color: #5A8257;
    color: var(--diocesi-global-color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
}

.not-accessible-icon{
    background-color: var(--diocesi-global-color-gray);
}

.accessibility-icon-wrapper.not-accessible-icon svg {
    fill: white;
}

.accessibility-info-icon-container {
    /*position: relative;
     This is important to position the tooltip correctly */
    display: flex;
    font-size: 20px;
}

.accessibility-icon {
    cursor: pointer;
}

.accessibility-tooltip {
    display: none;
    background-color: var(--diocesi-global-color-white);
    color: var(--diocesi-global-color-gray);
    border: 1px solid var(--diocesi-global-color-gray);
    font-size: 12.8px;
    padding: 4px 8px;
    border-radius: 4px;
    width: auto;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.accessibility-info-icon-container:hover+.accessibility-tooltip {
    display: flex;
    background-color: var(--diocesi-global-color-white);
    color: var(--diocesi-global-color-gray);
    border: 1px solid var(--diocesi-global-color-gray);
    font-size: 12.8px;
    padding: 4px 8px;
    border-radius: 4px;
    width: auto;
    white-space: nowrap;
}

.accordion-icons{
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--diocesi-global-color-accent);
}

.accordion-contacts-container{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.accordion-institution-contacts-container{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.accordion-institution-title{
    margin-top: 16px;
}


.dmc-social-share {
    position: relative;
}

/* .subsite-sharing-container {
    position: absolute;
    z-index: 3;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-right:0px;
    width: 1140px;
} */

@media (min-width: 922px) {
    .subsite-sharing-container  {
        padding-right: 0px !important;
        width: 1140px !important;
    }
}


.subsite-sharing-container {
    position: absolute;
    z-index: 3;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
    padding-right: 12px;
}

.social-sharing{
    font-size: 20px;
}

.add-to-preferred{
    display: flex;
}

.dmc-social-share__buttons {
    position: absolute;
    top: 40px;
    left: -160px;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 24px;
    padding: 8px;
    display: none;
    min-width: 200px;
    font-size: 16px;
}

.dmc-social-share.active .dmc-social-share__buttons {
    display: block;
}

.detail-page-all-cpt-cta{
    margin-top: 16px !important;
}

.detail-page-hero-favorite-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    width: 40px !important;
    height: 40px !important;
    /* background-color: var(--global-color-primary-light);   */
    /* background-color: var(--global-color-secondary); */
    background-color: rgba(51,67,80, 0.75);
    opacity: 1; /* Reset opacity */
  /*   opacity: 0.75; */
    font-size: 20px !important;
    color: var(--global-color-white);
}

.ph-heart {
    color: #fff;
    opacity: 1 !important;
}

/* ========================================================================================================
                                        RATING COMPONENT
   ======================================================================================================== */

/* Desktop comments styles */
@media (min-width: 922px) {
    .comments-column {
        width: 60% !important;
    }
    
    .mobile-full-width {
        width: 60% !important;
    }
}


.comments-column h4 {
    font-size: 31.25px;
}


.rating-component {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
    background-color: var(--diocesi-global-color-white);
}

.rating-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 24px;
}

.rating-score {
    font-size: 39.06px;
    font-weight: 325;
    color: var(--diocesi-global-color-gray);
    line-height: 1;
}

.rating-stars {
    display: flex;
    flex-direction: column;
}

.stars-container-rating {
    color: #ffae6d;
    font-size: 12.44px;
    padding-top: 5px;
}

.review-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    margin: 0 !important;
}

.review-count-text {
    color: #000;
    font-size: 16px;
    font-weight: 300;
}

.review-count .mobile-block a {
    font-weight: 500;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 25px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 10px;
}

.rating-label {
    width: 5%;
    font-size: 12px;
    text-align: left;
    color: var(--diocesi-global-color-gray);
}

.rating-bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
    width: 90%;
}

.rating-bar {
    height: 100%;
    background-color: #ffae6d;
    border-radius: 4px;
}

.rating-count {
    color: #757575;
    font-size: 12px;
    text-align: end;
}

.rating-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 15px;
}

.rating-more {
    font-size: 14px;
    color: var(--diocesi-global-color-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    justify-content: flex-start;
}

.rating-more i {
    margin-left: 5px;
    font-size: 10px;
}

/* Responsive adjustments - mobile */
@media (max-width: 544px) {
    .rating-component {
        width: 100%;
    }
    
    .mobile-flex-wrap {
        flex-wrap: wrap;
    }
    
/*     .mobile-flex-column {
        flex-direction: column;
    } */
    
 /*    .mobile-margin-bottom {
        margin-bottom: 10px;
    }
     .mobile-block {
        display: block;
        margin-top: 5px;
    } */
    
    .rating-score {
        font-size: 28px;
    }
    
    .stars-container-rating {
        font-size: 12.44px;
    }
    
    .rating-bars {
        margin-bottom: 15px;
    }
    
    .comment-content,
    .commentmetadata {
        margin-left: 45px;
    }
    
    .comment-author img {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
}

.comment-list {
    margin-top: 25px !important;
    padding-left: 0;
}

.comment-body {
    margin-bottom: 20px;
    position: relative;
}

/* Comment author section */
.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.comment-author cite {
    font-style: normal;
    font-weight: bold;
    color: var(--diocesi-global-color-gray);
}

/* Comment metadata */
.commentmetadata {
    display: inline-block;
    margin-left: 65px;
    margin-top: 0px;
    font-size: 12px;
    color: #757575;
    position: relative;
    top: -20px;
}

.commentmetadata a {
    color: #757575;
    text-decoration: none;
}

/* Hide the "ha detto:" text */
.comment-author .says {
    display: none;
}

/* Comment content */
.comment-content {
    margin-left: 65px;
    margin-top: 10px;
}



.reply a {
    font-size: 12px;
    color: var(--diocesi-global-color-primary);
    text-decoration: none;
    padding: 0 !important;
}

.comment-rating {
    margin: 15px auto 15px auto;
    color: #FFB804;
    font-size: 14px;
}

.star-color {
    color: #FFB804;
}

.star-gray {
    color: #ccc;
}

.review-write {
    color: var(--global-color-secondary-dark);
    text-decoration: underline;
    font-weight: 500;
    font-size:16px; 
}


.comment-reply-title {
    margin-top:80px;
    font-size: 31.25px !important;
    line-height: 0.1em !important;
    font-weight: bold !important;
    color: var(--diocesi-global-color-gray);
}

/* Title size adjustment in mobile */
@media (max-width: 544px) {
    .comment-reply-title {
        font-size: 25px !important;
    }
    .comments-column h4 {
        font-size: 25px !important;
    }
}

.logged-in-as {
    display: none;
}

    

.form-submit {
    margin-bottom: 68px;
    margin-top: 16px;
}

/* WooCommerce-like Star Rating */
.stars-container {
    margin-top: 10px;
}

.stars {
    display: inline-flex;
    flex-direction: row-reverse;
    position: relative;
}

.star-input {
    position: absolute;
    left: -9999px;
}

.star-label {
    cursor: pointer;
    font-size: 24px;
    padding: 0 5px;
    color: #ccc;
}

.star-icon {
    transition: color 0.2s ease-in-out;
}

/* Hover effect - highlight current and previous stars */
.star-label:hover .star-icon,
.star-label:hover ~ .star-label .star-icon,
.star-input:checked ~ .star-label .star-icon {
    color: #ffae6d;
}

/* Selected state */
.star-input:checked + .star-label .star-icon {
    color: #ffae6d;
}

.rating-hint {
    height: 20px;
    margin-top: 5px;
    font-size: 14px;
    color: #000000;
    background: var(--diocesi-global-color-white);
    float:right;
}


/* POI Rating Display */
.poi-rating {
    display: flex;
    align-items: center;
}

.poi-rating .star-icon {
    font-size: 16px;
    margin-right: 2px;
}

.poi-rating .rating-value {
    margin: 0 5px;
    font-weight: none;
    color: #333;
    font-size:16px; 
}

.poi-rating .rating-count {
    color: #666;
    font-size: 16px;
}

.comment-form  textarea {
    border-radius: 24px;
}

.comment-form input[type="submit"], .login-button {
    border-radius: var(--global-border-radius) !important;
    background-color: var(--diocesi-global-color-accent) !important;
    margin-bottom: 60px;
}

/* Tablet and Mobile devices */
@media (max-width: 921px) {
    .comment-form input[type="submit"], .login-button {
        width: 100%;
    }
}

.comment-form input[type="submit"]:hover,.login-button:hover {
    background: var(--diocesi-global-color-primary-light) !important;
}

.page-numbers.current {
    color: var(--diocesi-global-color-accent);
}

/* Comment sorting form styling */
.comment-sort-form {
    display: inline-block;
    position: relative;
}

.comment-sort-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    font-size: 14px;
    color: var(--diocesi-global-color-gray);
    padding-right: 20px;
    cursor: pointer;
}

.comment-sort-form .fa-chevron-down {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--diocesi-global-color-gray);
}

ul.comment-list p { 
    line-height: 1.5em !important; 
    padding-bottom: 10px;
}
 
.comment-form-rating, .comment-form-comment {
    margin-top: 32px; 
}

.comment-form-comment textarea {
    margin-top: 16px; 
}

.comment-login-text {
    margin: 32px 0 32px 0;
}


/* CUSTOMIZE ICONS FORM GOOGLE MAPS */ 
/* .marker-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--diocesi-global-color-black);
    color: var(--diocesi-global-color-white);
    font-size: 20px;
    cursor: pointer;
} */

.marker-icon i {
    font-size: 51px;
    color: var(--diocesi-global-color-gray);
}

.active-marker i {
    color: var(--diocesi-global-color-primary-light);
}


/*HEADER ICONS*/

 .header-icons-flex-container {
    display:flex;
    gap:4px;
    justify-content:flex-end;
    align-items:center;
}

.header-icons-flex-column {
    padding: 2px;
} 

.header-icons-user {
    font-size: 23px; 
    color: var(--diocesi-global-color-gray); 
    margin-right: 5px;
    vertical-align: middle;
}

/* Profile link alignment */
.profile-link {
    display: flex;
    align-items: center;
}

.profile-link span {
    display: inline-block;
    line-height: 1;
    
}


.breadcrumb-container {
    margin: 0.8em 0 0.8em 0;   
    color: var(--global-color-secondary-light) !important;
}


/*MAPS OVERRIDES*/


/* For mobile-specific styling */
@media (max-width: 544px) {
    /* Move zoom controls to top */
    .gm-control-active, .gmnoprint {
        position: absolute;
        top: 0px !important;
    }
}


.poi-accessibility-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    padding: 0 0 10px 0;
    text-transform: capitalize;
}


/*** LOGIN FORM ***/

/* Stili comuni per login e signup */
.dmc-login-container, #signup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem;
}

@media screen and (max-width: 768px) {
    .dmc-login-container, #signup-content {
        padding: 0;
    }
}


.dmc-login-container .dmc-register-link {
    text-align: center;
    margin-top: 3rem;
}

.dmc-login-container .dmc-register-link strong { 
    display: block;
    margin-bottom: 10px;
}

.dmc-login-container .dmc-login-row {
    border-radius: 8px;
    display: block;
}

@media screen and (min-width: 768px) {
    .dmc-login-container .dmc-login-row {
        padding: 1rem 2rem 2rem 2rem;
        max-width: 630px;
        border-radius: var(--global-border-radius);
        border: 1px solid rgba(221, 221, 221, 0.50);
        box-shadow: 0px 1px 20px 10px rgba(0, 0, 0, 0.04);
    }
}

.dmc-login-container form {
    margin-bottom: 0;
    margin-top: 32px;
}

.dmc-login-container .form-row {
    margin-bottom: 1rem;
}

.woocommerce-js form .form-row {
    margin: 0px !important;
}

.dmc-login-container label {
    display: block;
    margin-bottom: 8px;
}

.password-field-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.password-field-wrapper input[type="password"] {
    padding-right: 95px !important;
}

.toggle-password {
    position: absolute !important;
    right: 0 !important;
    top: -18px !important;
    bottom: 0 !important;
    margin: auto !important;
    background: none !important;
    border: none !important;
    padding: 0 10px !important;
    cursor: pointer !important;
    color: #666 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    width: 40px !important;
    height: 100% !important;
}

.toggle-password:hover {
    color: #333 !important;
}

.toggle-password i {
    font-size: 20px !important;
    line-height: 1 !important;
}

.toggle-password:hover {
    color: #333;
}

.toggle-password i {
    font-size: 24px;
    line-height: 1;
}

.dmc-login-container .input-text {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dmc-login-container .form-row label {
/*     font-family: "Gotham" !important; */
    font-weight: 500 !important;
    font-size: 20px !important;
    margin: 0px !important;
    padding: 0px !important;
}

.dmc-form-login p {
    margin: 0px !important;
    padding: 0px !important;
}

.dmc-form-login input[type="text"],
.dmc-form-login input[type="password"] {
    margin-bottom: 20px !important;
}

.dmc-login-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
/*     font-family: "Gotham"; */
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 24px;
}

.dmc-login-options label span {
/*     font-family: "Gotham" !important; */
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 24px;
}


.dmc-login-options .lost-password-link {
    text-decoration: underline !important;
}

.dmc-login-options label {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/*
@media screen and (max-width: 768px) {
    .dmc-login-options {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .dmc-login-options > div {
        margin: 5px 0;
    }
}
*/

.dmc-login-container button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0px;
}

.dmc-login-container .lost_password {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

.dmc-login-container .register {
    margin-top: 3rem;
    color: #333;
    text-align: center;
    display: block;
}

.dmc-login-container h2 {
    text-align: center;
    font-size: 31.25px;
/*     font-family: "Gotham"; */
    font-weight: 700;
}

.signup-box .dmc-login-row .form-row-wide {
   padding-bottom: 20px !important;
}



/*Variants for single page institution */

.variant-detail-page-route-full-width-wrapper {
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    width: 100vw;
    margin-top: 64px;
    height: 783px;
    display: flex;
    justify-content: center;
    background-color: var(--global-color-tertiary-light);
}

.variant-multimedia-fill-width {
    background-color: var(--global-color-tertiary-light);
    margin-top: 108px;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-bottom: 128px;
}

.tourism-detail-page-multimedia-title-container h3 {
    color: #232F38 !important;
}

.home-events-showcase-container h3 {
    color: #232F38 !important;
    text-align: center !important;
    margin: 90px auto 90px auto !important;
}


.search-results-date-text {
    font-weight: bold;
}
    
/*GOOGLE MAPS INFOWINDOW ----------------------------------------------*/

.dmc-infowindow-container {
    display: flex;
    align-items: flex-start;
    width: 400px;
    max-width: 100%;
    gap:24px;
}

.dmc-infowindow-container a img {
    width: 150px; 
    height: 150px; 
    object-fit: cover; 
    border-radius: var(--global-border-radius);
}

.dmc-infowindow-wrapper {
    display:flex; 
    flex-direction: column; 
    gap:16px;
}

.dmc-infowindow-date {
    color: var(--global-color-primary);
    font-weight: bold;
}

.dmc-infowindow-title {
    font-size:20px;
    font-weight: bold;
}

.dmc-infowindow-locality {
    margin: 5px 0 0;
}

/*GOOGLE MAPS INFOWINDOW ------ END ----------------------------------------*/



/* LOGIN FORM */

.dmc-mobile-back-to-home {
    display: none;
}


@media screen and (max-width: 768px) {
    .dmc-mobile-back-to-home {
        display: block;
        position: absolute;
        left: 12px;
        margin-top: 3px;
    }
}


/* LOGIN PAGE */
.woocommerce-js form .form-row label {
    line-height: 2;
}



.search-filters-category-checkbox-row input {
    margin-top: 16px; 
}



/* ACCESSIBILITY SECTION */

a:focus-visible {
    border: 2px solid rgb(232, 232, 36);
}

button:focus-visible {
    border: 4px solid rgb(232, 232, 36);  
}



/*custom template page*/


.page-description {
    margin: 24px 0 24px 0;
}


.page-description p, .page-description span, .page-description li {
    font-size: 16px;
    /* line-height: 36px !important; */
}


.half-width-page {
    width: 50%;
}

.right-content-page {
    width: 50%; 
    margin:0 64px 164px 64px;
}

@media (max-width: 768px) {
    .right-content-page {
        width: 100%;
        margin: 0;
    }
}


.full-width-page {
    padding: 2rem;
}