/*
Theme Name: ItaliaWP Child Theme
Theme URI: http://italiawp.borisamico.it
Author: Boris Amico
Author URI: http://borisamico.it
Description: Tema child di ItaliaWP utilizzabile per la customizzazione.
Version: 1.0.0
License: GNU AFFERO GENERAL PUBLIC LICENSE v3 or later
License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
Template: italiawp
Text Domain: italiawp-child
*/


.u-layout-prose {
    max-width: 98%!important;
}
.no-bg .u-padding-r-top {
    opacity: 0;
    height: 0;
    padding: 0 !important;
    margin: 0;
	display: flex;
}

.no-bg figure {
    padding: 0 !important;
    line-height: 0;
}
.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure {
    position: relative;
    display: grid;
}
ul.Footer-links li:nth-child(2), ul.Footer-links li:nth-child(3) {
    display: none !important;
}
section.Grid .Grid-cell {
    width: unset !important;
}
section.Grid .Grid-cell:nth-child(1) {
    flex: 2 0 !important;
}

@media screen and (min-width:768px){
	section.Grid .Grid-cell:nth-child(2) {
    flex: 1 0 !important;
}
}

section.u-nbfc.u-borderShadow-xxs.u-borderRadius-m.image-content.u-color-grey-30.u-background-white figcaption {
    display: none;
}

section.u-nbfc.u-borderShadow-xxs.u-borderRadius-m.image-content.u-color-grey-30.u-background-white figure {
    padding: 0 !important;
    line-height: 0;
}

section.u-nbfc.u-borderShadow-xxs.u-borderRadius-m.image-content.u-color-grey-30.u-background-white {
    margin: 10px;
}

.u-text-r-l {
    font-size: unset !important;
}
.u-text-r-l h2, .u-text-r-l h2 a{
	font-size: 1.25em !important;
}

/* topbar */
.Header-owner{
	    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
}
.Header-owner > a:nth-child(1){
	    padding: 15px 0px;
}
.Header-owner > a:nth-child(2){
	display: flex;
    align-items: center;
    padding: 15px;
    background: #266d1e;
}
body .u-background-95, body .ScrollTop, body .mfp-bg, body mfp-img {
    background-color: #103310 !important;
}
.Header-owner > a:nth-child(2) img{
	height: 17px;
    margin-right: 10px;
}

.box-servizi .menu-image-title{
	font-size: 1em;
}
.box-servizi .Entrypoint-item:hover {
    filter: brightness(1.2);
}
.box-servizi a:hover{
    text-decoration: none !important;
}
.box-servizi .bg-menu-1 .Entrypoint-item{
	background-color: #bf62c2 !important;
}
.box-servizi .bg-menu-2 .Entrypoint-item{
    background-color: #f4b942 !important;
}
.box-servizi .bg-menu-3 .Entrypoint-item{
    background-color: #839385 !important;
}
.box-servizi .bg-menu-4 .Entrypoint-item{
    background-color: #42b6f4 !important;
}
.box-servizi .bg-menu-5 .Entrypoint-item{
    background-color: #aecea4 !important;
}
.box-servizi .bg-menu-6 .Entrypoint-item{
    background-color: #95f442 !important;
}
.box-servizi .bg-menu-7 .Entrypoint-item{
    background-color: #f4f141 !important;
}

.news-block-home-flex{
display: inline-flex;
}

.news-block-home-flex > .Hero-content, .news-block-home-flex > img{
width: 50% !important;
}

.news-block-home-flex > .Hero-content{
padding: 10px !important;
opacity: 1;
margin: 0 !important;
transform: unset !important;
background: transparent !important;
top: unset !important;
}
.news-block-home-flex > img{
object-fit:contain;
height: 400px;
}

@media screen and (max-width: 768px){
.news-block-home-flex{
flex-direction: column-reverse;
overflow: hidden;
}
.news-block-home-flex > .Hero-content, .news-block-home-flex > img{
width: 100% !important;
}
}