/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/*----------CODICE CSS PAOLO BABRBAGALLO---------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/

/*-----GENERAL-------*/
.title-paragraph-p p a, .paragraph-link-p p a{ text-decoration:underline; }
p strong, h1 strong, h2 strong, h3 strong, h4 strong, h5 strong{ font-weight:600 !important; }
li{margin-block-start: 10px;}

.elementor-lightbox .swiper .elementor-swiper-button svg{ fill: #1f2124 !important; height: 1.5em; width: 1.5em;}
.elementor-slideshow__header>svg {fill: #0c0d0e !important; height: 1.2em; width: 1.2em;}
.elementor-lightbox .dialog-lightbox-close-button svg {fill: #0c0d0e !important;}
.elementor-lightbox .swiper .elementor-swiper-button svg:hover, 
.dialog-lightbox-close-button svg:hover, 
.elementor-slideshow__header>svg:hover{ fill: #1f2124;}

/*----- BLOG------*/

body.single-post p a{color: #01A650; text-decoration: none;}
body.single-post p a:hover{color: #000; text-decoration: underline;}
a.card-section-home .elementor-widget-heading h4:hover{color:#00A651}
body.single-post h6 { font-size:21px !important; width:100% }


/*---HEADER--------*/

.elementor-nav-menu--main .elementor-nav-menu ul{ padding:12px 120px 16px 15px !important; }



/*------select filter------*/

.category-filter-wrapper {
    margin: 0px 0;
}

.category-filter-dropdown {
    width: 100%;
    padding: 10px 16px;
    font-size: 18px;
    border: 1px solid #666666;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
    color: #54595F;
}

.category-filter-dropdown:hover,
.category-filter-dropdown:focus {
    border-color: #000;
    outline: none;
}



/*------Timeline Table Styles------*/

.timeline-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
}

.timeline-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    color: #000;
}

.timeline-table tbody tr {
    border-bottom: 2px solid rgba(0, 0, 0, 1);
    border-top: 2px solid rgba(0, 0, 0, 1);
}

.timeline-table tbody tr:last-child {
    border-bottom: none;
}

.timeline-table tbody tr:hover {
   /* background-color: rgba(255, 255, 255, 0.05);*/
    cursor: pointer;
}

.timeline-table td {
    padding: 5px 8px;
    vertical-align: middle;
    border: 0px none !important;
}

/* Numero di riga */
.timeline-table .timeline-number {
    width: 80px;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    color: #01A650;
}

/* Titolo */
.timeline-table .timeline-title {
    font-size: 22px;
    line-height: 1.9;
    font-weight: 600;
}

.timeline-table .timeline-title a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.5s ease;
}

.timeline-table .timeline-title a:hover {
    opacity: 0.8;
}

/* Icona link esterno */
.timeline-table .timeline-link {
    width: 50px;
    text-align: right;
}

.timeline-table .timeline-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.timeline-table .timeline-link a:hover {
    transform: translateX(3px) translateY(-3px);
    opacity: 0.8;
}

.timeline-table .timeline-link svg {
    width: 25px;
    height: 25px;
}

/* Responsive Timeline table */


@media (max-width: 768px) {
    .timeline-table td {
        padding: 5px 10px;
    }
    
    .timeline-table .timeline-number {
        width: 40px;
        font-size: 16px;
    }
    
    .timeline-table .timeline-title {
        font-size: 14px;
    }
    
    .timeline-table .timeline-link {
        width: 40px;
    }
}



  /* =media query mobile
-------------------------------------------------------------- */


@media only screen and (min-width: 768px) and (max-width: 1024px) {
  nav.elementor-nav-menu--dropdown{ height:60vh; padding-top:10%; }
  nav.elementor-nav-menu--dropdown ul li a.has-submenu{ font-size:20px !important }
  .title-paragraph h3, .title-paragraph-p p{ font-size:30px !important; line-height:1.2em !important;}
  .title-line h4, .title-line h6{ font-size:22px !important; width:100% }

}


@media only screen and (max-width: 600px){


  .title-paragraph h3, .title-paragraph-p p{ font-size:22px !important; line-height:1.2em !important;}
  .title-line h4, .title-line h6{ font-size:21px !important; width:100% }

  nav.elementor-nav-menu--dropdown{ height:100vh; padding-top:20%; }
  nav.elementor-nav-menu--dropdown ul li a.has-submenu{ font-size:24px !important }
  nav.elementor-nav-menu--dropdown ul.elementor-nav-menu--dropdown li a.elementor-sub-item{ padding:5px 0 8px 0 !important; border:0 !important;  }

}









