/*
Theme Name:   Twenty Seventeen Child
Theme URL:        http://example.com/twenty-seventeen-child/
Description:  Twenty Seventeen Theme
Author:           John Doe
Author URL:   http://example.com
Template:         twentyseventeen
Version:          1.0.0
License:          GNU General Public License v2 or later
License URL:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  twentyseventeen
*/

@import url("../twentyseventeen/style.css");

.site-content-contain {
	padding: 0 10px!important;
}

.main-navigation {
	text-align: center;
}
.main-navigation li {
	border: 0;
	display: inline-block;
	padding: 0.5em 1.4em;
}

.main-navigation a {
	padding: 0.5em;
}

#top-menu.menu {
  display: inline-block;
  padding: 0;
  margin: 0;
}

.main-navigation ul ul a {
	width: auto;
}
.menu-scroll-down {
	display: none!important;
}

.container-article {
	margin: 0;
	padding: 0;
	border-top: 1px solid #444;
}
.content-article-col-right {
	margin: 0;
	padding: 1em 0.4em 0.5em 0.4em;
}
.articolo-con-bordo h1, h2, h3, p {
	margin: 0;
	padding: 0;
}
.article-description, .article-price {
	padding: 1em 0;
}
.metaslider.ms-theme-cubic {
	padding: 0!important;
}
.site-content {
	padding: .5rem!important;
}
.site-content-contain {
	padding-top: 1em;
}
.site-footer {
	margin-top: 1em;
}
.wp-block-read-more {
	display: none;
}
.wp-block-columns {
    margin: 0;
}
.wp-block-columns-is-layout-flex {
	gap: 0.5em;
}

.tag-vendite .wp-block-read-more, .tag-vendite-en .wp-block-read-more, .tag-vendite-ru .wp-block-read-more {
	display: block;
	margin: 0.8em 0 1em 0;
}

.tag-vendite .wp-block-post-title, .tag-vendite-en .wp-block-post-title, .tag-vendite-ru .wp-block-post-title {
	margin: 0;
	padding: .5rem!important;
}
.tag-vendite .n2-ss-slider-controls, .tag-vendite-en .n2-ss-slider-controls, .tag-vendite-ru .n2-ss-slider-controls {
	display: none;
}
.tag-vendite .n2-ss-widget, .tag-vendite-en .n2-ss-widget, .tag-vendite-ru .n2-ss-widget {
	display: none;
}

.tag-affitti .wp-block-read-more, .tag-affitti-en .wp-block-read-more, .tag-affitti-ru .wp-block-read-more {
	display: block;
	margin: 0.8em 0 1em 0;
}
.tag-affitti .wp-block-post-title, .tag-affitti-en .wp-block-post-title, .tag-affitti-ru .wp-block-post-title {
	display: none;
}
.tag-affitti .n2-ss-slider-controls, .tag-affitti-en .n2-ss-slider-controls, .tag-affitti-ru .n2-ss-slider-controls {
	display: none;
}
.tag-affitti .n2-ss-widget, .tag-affitti-en .n2-ss-widget, .tag-affitti-ru .n2-ss-widget {
	display: none;
}

.js .main-navigation > div > ul {
	display: block;
}
.js .menu-toggle {
	display: none;
}
.main-navigation ul ul.toggled-on {
	display: table-caption;
}
.custom-header {
	margin-bottom: 0!important;
}
.wp-block-query .wp-block-post-template > li {
	margin: 0;
	padding: 0;
	border: 1px solid #444!important;
	border-radius: 6px ;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.navigation-top {
		font-size: .9rem;
	}
	.main-navigation li {
		padding: 0.2em 0.5em
	}
	.custom-header {
		height: 320px!important;
	}
	.site-branding {
		vertical-align: bottom!important;
		display: table-cell!important;
  		height: 100%!important;
	}
	.wp-block-query .wp-block-post-template > li {
		margin: 1rem 0;
	}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	.navigation-top {
		font-size: 1.2rem;
	}
	.main-navigation li {
		padding: 0.3em 0.8em
	}
	.content-contacts-icon {
		width: 25%;
	}
	.content-contacts-form, .content-contacts-social {
		width: 50%;
	}
	.custom-header {
		height: 260px;
	}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	.navigation-top {
		font-size: 1.3rem;
	}
	.custom-header {
		height: 350px;
	}
 	.wp-block-post-template {
    	display: grid;
    	grid-template-columns: repeat(2, 1fr); /* 2 elements per row */
    	gap: 2rem; /* space between grid items */
	}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
	.navigation-top {
		font-size: 20px;
	}
	.main-navigation li {
		padding: 0.4em 0.9em
	}
	.content-contacts-icon {
		width: 190px;
	}
	.content-contacts-form, .content-contacts-social {
		width: 380px!important;
	}
	.custom-header {
		height: 400px;
	}
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
	.navigation-top {
		font-size: 20px;
	}
	.main-navigation li {
		padding: 0.4em 0.9em
	}
	.content-contacts-icon {
		width: 190px;
	}
	.content-contacts-form, .content-contacts-social {
		width: 380px!important;
	}
	.custom-header {
		height: 500px;
	}
}

/* Polylang outputs a list of languages. */
/* Target the list items to make them flow horizontally. */
.lang-item {
    /* The key to inline display */
	/* display: inline-block; */
    
    /* Remove default list styling (bullets) */
    list-style-type: none;
    
    /* Add space between flags/names */
    /* margin: 0 5px; */
    /* padding: 0; */
}

/* Optional: Clean up the main container list */
.language-switcher-list {
    margin: 0;
    padding: .5rem 0 0 0;
	display: flex;
	flex-direction: row;
	gap: 1.25rem;
}

.site-navigation-fixed.navigation-top {
	bottom: auto;
	position: fixed;
	left: 0;
	right: 0;
	top: 0 !important;
	width: 100%;
	z-index: 1000;
}