/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

/*GOOGLE FONT SU MEGA MENU*/
/* Applica il font al menu principale */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link{
    font-family: "Poppins", serif!important;
}

/* Applica il font ai sotto-menu */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    font-family: "Poppins", serif!important;
}

/*VISUALIZZAZIONE POST DEL BLOG*/
.blog-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}
.blog-posts-grid__left {
  flex: 1.5;
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.blog-posts-grid__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-post a {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 15px;
}
.grid-post--large a {
  flex-direction: column;
}

.grid-post--large a:hover h3,
.grid-post--large a:hover p,
.grid-post--small a:hover h4,
.grid-post--small a:hover p{
	color: #46BAF2!important;
}
.grid-post--large img {
  width: 100%;
  height: auto;
}
.grid-post--large h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0 5px;
	color: #fff;
}
.grid-post--large p {
  font-size: 0.95rem;
  color: #fff;
}

.grid-post--content{
	display: flex;
	flex-direction: column;
	gap: 10px
}

.grid-post--small img {
  width: 150px;
  height: 125px;
  object-fit: cover;
}
.grid-post--small h4 {
  font-size: 0.9rem;
  margin: 2px 0 0;
  color: #fff;
}
.grid-post .meta {
  font-size: 0.75rem;
  color: #f5f5f5;
  margin-bottom: 5px;
}
.grid-post--small p {
  font-size: 0.85rem;
  color: #fff;
}

/*FOCUS INPUT*/

input:focus,
select:focus,
textarea:focus {
    outline: -webkit-focus-ring-color auto 1px!important;
}



@media (max-width: 768px) {
	
	
  .blog-posts-grid {
    flex-direction: column;
  }
	.blog-posts-grid__left {
	  flex-direction: column;
	}
  .blog-posts-grid__left, .blog-posts-grid__right {
    width: 100%;
  }
}