/* 
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 */


/* FIX CONTAINER HEIGHT HOMEPAGE */
.ldm_FixHeight,
.ldm_FixHeight .elementor-widget-container,
.ldm_FixHeight .elementor-widget-container .elementor-loop-container{
	height: 100% !important;
    border: none !important;
}

.news-side-col .e-loop-item .elementor-element{
    border: none !important;
}




/* ULTIMO AGGIORNAMENTO in TOP BAR */
.biomed-last-update {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    color: #fff;
    line-height: 1;
}

.biomed-last-update-label {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: #fff;
}

.biomed-last-update-date {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #fff;
}

@media (max-width: 768px) {
    .biomed-last-update {
        font-size: 12px;
    }
    .biomed-last-update-label,
    .biomed-last-update-date {
        font-size: 12px;
    }
}







/* HOME PAGE */
.ldm_cut_text .elementor-widget-container {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}







/* ================
   SIDEBAR
=================== */

/* SPAZIATURA TRA I WIDGET */
.blog-sidebar-widget-ctn .elementor-widget-container > div{
    margin-bottom: 24px;
}
#ez-toc-container{
    width: 100% !important;
}
#custom_html-3{
    list-style: none !important;
}

@media(max-width: 768px){
    #ez-toc-container{
        border: none;
        padding: 0;
    }
}


/* TITOLI */
.blog-sidebar-widget-ctn h2,
#ez-toc-container .ez-toc-title{
    font-size: 26px !important;
    line-height: 1.2;
    color: #05366C;
    margin-bottom: 12px !important;
    margin-top: 30px !important;
    font-weight: 800 !important;
    font-family: "Lato", Sans-serif !important;
}
.ez-toc-title-container{
    margin-bottom: 12px !important;
}


/* LISTE */
.blog-sidebar-widget-ctn ul{
    padding-left: 0px;
    margin: 0;
}
.blog-sidebar-widget-ctn ul li,
div#ez-toc-container ul li{
    margin-bottom: 8px;
    color: #555 !important;
    font-size: 18px !important;
    line-height: 1.3;
    font-family: "Lato", Sans-serif !important;
    font-weight: 400;
}
div#ez-toc-container ul li a{
    font-size: unset !important;
}

/* LINK */
.blog-sidebar-widget-ctn a{
    color: #05366C;
    text-decoration: none;
    transition: all .2s ease;
}

.blog-sidebar-widget-ctn a:hover{
    color: #FA670B;
}

/* SEARCH FORM */
.blog-sidebar-widget-ctn .search-form{
    display: flex;
    gap: 8px;
    align-items: center;
}

.blog-sidebar-widget-ctn .search-form label{
    width: 100%;
}

/* INPUT */
.blog-sidebar-widget-ctn .search-field{
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
    transition: all .2s ease;
    font-family: "Lato", Sans-serif;
}

.blog-sidebar-widget-ctn .search-field:focus{
    border-color: #E7EBF0;
}

/* BOTTONE */
.blog-sidebar-widget-ctn .search-submit{
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #05366C;
    color: #fff;
    font-size: 14px;
    font-family: "Lato", Sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.blog-sidebar-widget-ctn .search-submit:hover{
    background: #FA670B;
}




/* ARTICOLI RECENTI */
/* Reset lista */
#ldm_art_recenti ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Singolo articolo */
#ldm_art_recenti li {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;

    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: 1px dashed #e7ebf0;
}

/* Rimuove separatore e spazi dall’ultimo articolo */
#ldm_art_recenti li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Primo link: contiene l’immagine */
#ldm_art_recenti li > a:first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
    display: block;
}

/* Immagine articolo */
#ldm_art_recenti li > a:first-child img {
    display: block;
    width: 75px !important;
    height: 75px !important;
    max-width: none;
    margin: 0 !important;
    object-fit: cover;
    border-radius: 12px;
    border: solid 1px #e7ebf0;
}

/* Secondo link: titolo articolo */
#ldm_art_recenti li > a:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    display: block;

    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
}

/* Data e autore */
#ldm_art_recenti li > .post-date {
    grid-column: 2;
    grid-row: 2;
    display: contents;
    
    font-size: 12px;
    line-height: 1.35;
    color: #777;
}
#ldm_art_recenti li > .post-date:nth-of-type(2) {
    margin-left: 3px;
}

/* Titolo del widget */
#ldm_art_recenti h2.rounded {
    margin-top: 0;
    margin-bottom: 18px;
}


/* RESPONSIVE */
@media(max-width: 768px){

    .blog-sidebar-widget-ctn{
        padding: 18px;
        border-radius: 18px;
    }

    .blog-sidebar-widget-ctn h2{
        font-size: 21px;
    }

    .blog-sidebar-widget-ctn .search-form{
        flex-direction: column;
        align-items: stretch;
    }

    .blog-sidebar-widget-ctn .search-submit{
        width: 100%;
    }

}


/* ================
   FINE SIDEBAR
=================== */






/* ARTICOLO SINGOLO */

.bsf-rt-reading-time{
    margin-top: 0px !important;
    padding-left: 0px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}






.page-id-547 a{
    color: #05366C;
}

.page-id-547 a:hover{
    color: #FA670B;
    cursor: pointer;
}