/*
Theme Name: LeoLibri
Description: Child-theme for Beans.
Author: ThemeButler
Author URI: http://www.themebutler.com
Template: tm-beans
Version: 1.0.3
Text Domain: lr-leolibri
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* HEADER >>> */
.tm-header
{
   min-height: auto; 
}

header .tm-overlay-navigation 
{ 
    height:260px;
    width: 985px;
    box-shadow: none;
    padding: 0;
    border:none;
    margin:auto;
}




.tm-header .tm-site-branding img
{ 
height: 150px; margin-top: 30px; 
margin-left: 35px; /* was: 70px */
}


/* HEADER <<< */

/* tutte le pagine >>> */
/*
@media (min-width: 1700px)
{
    .uk-container 
    {
        max-width: none !important; 
        padding: 0 150px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1699px)
{
    .uk-container 
    {
        padding: 0 20px !important;
        
    }
}

@media (max-width: 1050px)
{
    .uk-container 
    {
        padding: 0 30px !important;
        
    }
}
*/

aside h3 
{ 
    font-size: 18px !important; 
    font-weight: 700;
    text-transform: uppercase;
}

aside .widget_categories .uk-list li>a,
aside .widget_recent-comments .uk-list li>a,
aside .widget_archives .uk-list li>a,
aside .widget_tag_cloud .tagcloud>a
{
    font-size: 18px !important;
    color: #f3686d;
    text-align: start;
}

aside .widget_categories .uk-list li>a:hover,
aside .widget_recent-comments .uk-list li>a:hover,
aside .widget_archives .uk-list li>a:hover,
aside .widget_tag_cloud .tagcloud>a:hover
{
    font-size: 18px !important;
    color: #4C4C4C;
    text-decoration: none;
}


aside .ix-widget-title>a,
aside .widget_shortcode-widget .ix-widget-all>a,
{
    font-size: 16px !important;
    color: #f3686d;
    font-weight: 500;

}

aside .ix-widget-title>a:hover,
aside .widget_shortcode-widget .ix-widget-all>a:hover,
{
    font-size: 16px !important;
    color: #f3686d;
    text-decoration: none;
}

aside .widget_tag_cloud .tagcloud a { background-color: transparent; }

aside .ix-widget-title { margin-bottom: 10px; }

aside .ix-widget-article { margin-bottom: 20px; }



.tm-primary > .tm-content
{
    padding: 20px;
    background-color: white;
}

.home .tm-primary > .tm-content 
{
    padding: 0px;
    padding-left: 30px !important;
    padding-right: 30px;
    background-color: transparent;

}



aside .tm-widget.widget_search,
aside .tm-widget.widget_categories,
aside .tm-widget.widget_recent-comments,
aside .tm-widget.widget_archives,
aside .tm-widget.widget_tag_cloud,
aside .widget_shortcode-widget
{
    background: white;
    padding: 15px;
}



/*
@media only screen and (max-width: 1200px)
{
    aside .tm-widget.widget_search,
    aside .tm-widget.widget_categories,
    aside .tm-widget.widget_recent-comments,
    aside .tm-widget.widget_archives,
    aside .tm-widget.widget_tag_cloud
    {
        padding: 45px 30px;
    }

    .tm-primary 
    {
        padding-left: 30px !important;
        padding-right: 0px;
    }
}

*/
/* tutte le pagine <<< */


/* page home >>> */
.ix-home-article
{
    padding-bottom: 30px;
}

.ix-home-article .ix-home-img img {  height: 170px; margin-bottom: 88px;}

.ix-home-article .ix-pretitle, 
.ix-home-article .ix-home-subtitle,
.ix-article .ix-pretitle
{ margin-bottom: 10px; }

.ix-home-article .ix-home-title 
{ 
    margin-bottom: 10px !important;
    font-size: 36px; 
    line-height: 45px;
}

.ix-home-article .ix-home-btn { text-transform: uppercase; font-weight: 700;}

.ix-home-article .ix-home-title a,
.ix-home-article .ix-home-btn a
{  
    color: #4C4C4C;
}

.ix-home-article .ix-home-title a:hover,
.ix-home-article .ix-home-btn a:hover
{
    color: #f3686d;
    text-decoration: none;
}

/* page home <<< */



/* tutte article >>> */
header .tm-article-image { display: none; }


.ix-article
{
    padding-bottom: 30px;
    padding-top: 30px;
}

.ix-article .ix-img img { width: 100%; }

.ix-article .ix-pretitle, 
.ix-article .ix-subtitle
{ margin-bottom: 10px; }

.ix-article .ix-title 
{ 
    margin-bottom: 10px !important;
    font-size: 36px; 
    line-height: 45px;
}

.ix-article .ix-btn { text-transform: uppercase; font-weight: 700;}

.ix-article .ix-title a,
.ix-article .ix-btn a
{  
    color: #4C4C4C;
}

.ix-article .ix-title a:hover,
.ix-article .ix-btn a:hover
{
    color: #f3686d;
    text-decoration: none;
}


/* tutte article <<< */




/* pagina contatti >>>  */
.page-id-399 .ix-contatti
{
    font-weight: 400;
    color: black;
}

/* pagina contatti <<<  */



/* PER WEBSITE011 TEMA IX-DIANA >>> */


/* HEADER >>> */
aside .widget_shortcode-widget, aside .widget_archives
{ display: none; }
/*
.tm-header { border-top: solid 5px #75c603; border-bottom: solid 1px lightgrey;}  
*/
nav.tm-primary-menu { top:150px; margin-right:35px;}

nav.tm-primary-menu ul a { color: black;}


.uk-navbar-nav > li.uk-active > a,
.tm-primary-menu li>a:hover,  
nav.tm-primary-menu ul > li.current-menu-ancestor > a,
.uk-nav-dropdown > li.uk-active > a
{ text-decoration: underline; color: black;}



/*
.uk-navbar-nav .uk-dropdown,
.uk-navbar-nav .uk-dropdown-blank
{ width: 350px;}
*/

.uk-nav-dropdown > li > a:hover { background:transparent; }

.uk-dropdown-navbar
{ 
    background-image:url('https://www.leolibri.it/wp-content/uploads/2019/03/leolibri-sfondo-menu.png') !important; 
    border: solid 1px #b19c84;
    border-bottom: solid 2px #b19c84;
}




@media only screen and (max-width: 960px)
{
    header .tm-overlay-navigation { height: 150px; }
    
    nav.tm-primary-menu { top: 20px; padding: 0;}  
    
    .uk-offcanvas-bar { background-color: #f5f5f5; }
    
    .uk-nav-offcanvas > li > a, .uk-nav-offcanvas .uk-nav-sub > li > a 
    { color: grey; }
    
    .uk-nav-offcanvas > li > a:hover, .uk-nav-offcanvas .uk-nav-sub > li > a:hover,
    .uk-nav-offcanvas > .uk-open > a
    { background-color: #f5f5f5 !important; color: #f3686d !important; font-weight: 700 !important;}
    
    .uk-nav.uk-nav-offcanvas > li.uk-active > a 
    { font-weight: 700 !important; color: #f3686d !important; background: none !important; }

}


@media only screen and (max-width: 700px)
{
    header .tm-overlay-navigation { height: 125px; }

    .tm-primary-menu { right: 0px; }
}

/* HEADER <<< */






/* PER WEBSITE011 TEMA IX-DIANA <<< */



/* PER WEBSITE012 TEMA LR-LEOLIBRI >>> */

.tm-site 
{ 
    background:url('https://www.leolibri.it/wp-content/uploads/2019/03/leolibri-scaffale.jpg') !important;
    width: 985px;
    background-size: contain;
    margin:auto;
}

@media (max-width: 985px)
{
    .tm-site { width: auto; }
    header .tm-overlay-navigation { width: auto; }
}

.tm-overlay-navigation
{ border-radius: 0; background: transparent;}

.tm-main { background: transparent; }

body 
{
    background: #8dac35 url(https://www.leolibri.it/wp-content/uploads/2019/03/bg-3.jpg) no-repeat 50% 0;
}

.archive header > .uk-article-title { display: none; }

.page header > .uk-article-title 
{
    padding: 15px;
    color: #000;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #f0e0c3;
}

.home main article > header { display: none; }

.toolTipBox {
    display: none;
    padding: 5;
    font-size: 12px;
    line-height: 18px;
    border: black solid 1px;
    font-family: verdana;
    position: absolute;
    background-color: #ffeeaa;
    color: 000000;
    padding: 5px;
    max-width: 165px;
}

.toolTipBox-div:hover span { display: block !important; }




.ix-article-subtitle .ix-ebook-pdf,
.ix-article-subtitle .ix-ebook-value 
{ font-weight: 600; }

.ix-menu-high ul { list-style: none; float: right; margin-right:35px; margin-top: 20px;}

.ix-menu-high li { float: right; margin: auto 20px; }

.ix-menu-high li a { color: black; }


nav .menu-item-626,
nav .menu-item-627,
nav .menu-item-628
{ display: none; }

.ix-menu-high { display: block; }


@media only screen and (min-width: 1201px) and (max-width: 1500px)
{
    .uk-block { padding-top: 50px; }

}


@media only screen and (max-width: 960px)
{
    
    .toolTipBox-div { text-align: center; }
    .home .tm-primary > .tm-content { padding-right: 0px; }
    main { margin-top: 110px; }
    .ix-menu-high { display: none; }

    nav .menu-item-626, nav .menu-item-627, nav .menu-item-628
    { display: block; }

    .uk-block { padding-top: 20px; }
}


@media only screen and (max-width: 500px)
{
    .tm-header .tm-site-branding img 
    {
        height: 140px;
        margin-top: 30px;
        margin-left: 30px;
    }
    
    nav.tm-primary-menu 
    {
        margin-right: 10px;
    }

}

.tm-article-image
{
    width:300px;float:left;margin-right:30px;
}
.uk-article-title
{
    font-size:36px;line-height:54px;
}
.ix-article-author
{
    font-size:24px;line-height:36px;
}
.tm-article-content 
{
/*    padding-top:20px;  2022-1119: */
}
footer
{
    margin-top:20px; /* 2022-1119 */
}

/* PER WEBSITE012 TEMA LR-LEOLIBRI <<< */