/*
	Theme Name:       Phimostop - Pearl Child
	Theme URI:        https://themeforest.net/item/medicalguide-health-and-medical-wordpress-theme/17947528
	Description:      A custom tailored version of the Pearl Theme built for Phimostop!
	Author:           PearlThemes
	Author URI:       https://pearlthemes.com/
	Template:         pearl-medicalguide
    Version:          1.1.3
	Text Domain:      pearl-medicalgudie
    Domain Path:      /languages
	License:          GNU General Public License version 3.0
	License URI:      http://www.gnu.org/licenses/gpl-3.0.html
	Tags:             right-sidebar, featured-images, full-width-template, threaded-comments, microformats, post-formats, translation-ready, one-column, two-columns, three-columns, four-columns, custom-menu, theme-options
*/

/* START General Settings */
html, body{
    scroll-behavior: smooth; /* For Chrome, Firefox, Opera creates a smooth scroll when clicking an inpage navigation */
}

/* END General Settings */

/*START breadcrumb yoast */

.breadcrumb-style {
  
	display: inline-block;
    background-color: #f1f1f1;
    padding: 8px 15px;
    margin: 10px;
    margin-top: 85px;
    margin-left: 127px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.breadcrumb-style a {
  color: #666;
  text-decoration: none;
}

.breadcrumb-style a:hover {
  color: #333;
}

@media (max-width: 768px) {
  .breadcrumb-style {
    margin-left: 0;
    margin-top: 95px;
    display: block;
  }
}
/*FINISH breadcrumb yoast */

/*START OTTIMIZAZIONI FOOTER */
div.footer-payments p {
	margin-bottom: 0!important;
	padding-bottom: 0!important;
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	img.banner-img {
		max-height: 300px;
		object-fit: cover;
	}
}
.wpml-ls-item {
	margin-top: 0!important;
	margin-bottom: 0!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
}
/*END OTTIMIZAZIONI FOOTER */

/*START OTTIMIZAZIONI header e wpml */


.header .nav li.wpml-ls-item a:hover {
	padding: 12px 10px!important;
}

div.sub-banner {
	margin-top: 50px;
}

ul.default li {
    list-style: initial!important;
    margin-left: 15px!important;
}
/*end OTTIMIZAZIONI header e wpml */


/*START OTTIMIZAZIONI SIDEBAR BLOG*/

.sidebar-blog {
    margin-top: -70px;
}

@media (min-width: 768px) {
    .sidebar-blog {
        margin-top: 160px;
    }
}
.phimo-sticky {
    position: sticky;
    top: 100px;
    z-index: 10;
    min-height: 200px;
  }
  
/*END OTTIMIZAZIONI SIDEBAR BLOG*/

/*START articolo CAMBIO CLASSE DEL TEMA news-posts */
.news-posts_2 {   
    padding: 3rem 0 3rem !important;
}

@media (min-width: 992px) {
    .news-posts_2 {
        padding: 3rem 0 3rem !important;
        margin-top: calc(-60px); 
    }
}
/*END articolo CAMBIO CLASSE DEL TEMA news-posts */




  /* hide jetpak related posts form the window */
    .jp-relatedposts.jp-relatedposts.jp-relatedposts.jp-relatedposts.jp-relatedposts.jp-relatedposts {
        display: none !important;
    }

/* Stile per il penultimo elemento del menu */
.nav.plus-menu > li:nth-last-child(2) > a {
    background: #3A529B;
    color: #fff; 
    text-decoration: none; 
    border-radius: 5px; 
    padding: 13px 12px;

}

/* Stile per l'hover del penultimo elemento */
.nav.plus-menu > li:nth-last-child(2) > a:hover {
    background-color: #0056b3;
    padding: 12px 12px;

}


/* Stili per le voci di menu generali */
.header .nav li a {
    color: #333;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    padding: 12px 10px;
}

.header .nav li a:hover {
    color: #fff;
    padding: 12px 10px;
}



/* Nascondi solo su dispositivi mobili (320px - 480px) */
@media (max-width: 480px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* Nascondi solo su tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hidden-tablet {
        display: none !important;
    }
}

/* Nascondi solo su desktop (769px e superiori) */
@media (min-width: 769px) {
    .hidden-desktop {
        display: none !important;
    }
}
