h2 {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 1rem;
}
#header-1 .logo-1 img {
	height: 5rem;
	width: auto;
	margin-bottom: 1rem;
}
#nav-holder {
	background-color: #004b41;
}
#nav-holder .menu-close i {
	color: #FFF;
}
#nav-holder .social-nav-3 {
/*	padding-left: 1rem;*/
	color: #FFF;
	border-top: 1px solid #FFF;
}
#nav-holder .social-nav-3 h5 {
	margin-top: 2rem;
	font-size: 1rem;
	color: #FFF;
	text-align: center;
}
#nav-holder .social-nav-3 i {
	font-size: 1rem;
	color: #FFF;
}
.social-nav-3 .search-social {
	text-align: center;
}

body.home .img-featured.wp-post-image,
body.search-results .img-featured.wp-post-image,
body.archive .img-featured.wp-post-image {
	height: 15rem;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
body.home .sameheight,
body.search-results .sameheight,
body.archive .sameheight {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: stretch;
	overflow: hidden;
}
body.home .sameheight article,
body.search-results .sameheight article,
body.archive .sameheight article {
	height: 100%;
}
body.home .post-holder,
body.search-results .post-holder,
body.archive .post-holder {
	position: relative;
	padding: 1rem;
	height: 30em;
}
.post-title a {
	font-size: 1.5rem;
}
.post-title {
	margin: 0 0 1rem;
}
.post-category a {
	color: #004b41;
}
.post-meta li a,
.post-meta .meta-date {
	color: #252525;
}
.blog-item:hover {
	-webkit-box-shadow: 0px 4px 10px 0px #004b4161;
	-moz-box-shadow: 0px 4px 10px 0px #004b4161;
	box-shadow: 0px 4px 10px 0px #004b4161;
}
.view-more {
	background-color: #004b41;
    font-size: 1rem;
    position: absolute;
    bottom: 4%;
    left: 4%;
    width: 92%;
}
.view-more a {
	color: #FFF;
	line-height: 2rem;
}
.fas.fa-search,
.navbar1 .fab.fa-facebook-f {
	font-size: 2rem;
	color: #004b41;
}
.navbar1 .fab.fa-facebook-f {
	margin-right: 1rem;
}
.menu-nav li a {
	font-size: 1.2rem;
    letter-spacing: normal;
    color: #004b41;
}
.menu-nav li a:hover {
	color: #3b1212;
}
.menu-nav ul li a:hover,
.menu-nav li:hover ul li a:hover,
.menu-nav li:hover>a, 
.menu-nav li.current-menu-item>a {
	color: #3b1212;
}
.menu-nav>li>a:before {
	color: #3b1212;
	background-color: #3b1212;
}
.post-content-item-full .post-title a:hover {
	color: #ccc;
}
.menu-nav li.current-menu-item>a {
	color: #3b1212;
}

.page-numbers,
.page-numbers:hover,
.nav-page a,
.nav-page a:hover,
.page-links a {
	color: #004b41;
	border: 1px solid #004b41;
}
.current-page, .current-page:hover {
    color: #004b41;
    border: none;
    margin: 0;
}

.widgettitle {
	border-top: 1px solid #004b41;
	color: #004b41;
}

/* Contatti */
.page-id-43 .wpcf7-textarea {
	width: 100%;
	padding: 1rem;
}
.page-id-43 .wpcf7-submit {
	background-color: #004b41;
	color: #FFF;
	font-size: 1.2rem;
	padding: .5rem 2rem;
	display: inline-block;
	border: none;
}
.scrollup {
	width: 30px;
	height: 30px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	text-align: center;
	padding-top: 6px;
	cursor: pointer;
	z-index: 1100;
}
.scrollup i {
	background-color: #004b41;
	color: #FFF;
	position: relative;
}
.single-section-title span {
	color: #004b41;
	border-top: 2px solid #004b41;
	display: block;
}
.comment-body {
	padding: 1.5rem;
	background-color: beige;
}
.comment-form-cookies-consent {
	margin-top: 1rem;
}

footer {
	background: #3b1212;
}
.footer-widgets .widgettitle {
	border-bottom: 2px solid #f5f5f5;
}
.footer-widgets .display-post-date,
.footer-widgets .display-post-text h4 a,
#block-3 {
	color: #f5f5f5;
}
footer .tagcloud a {
	background-color: #004b41;
	color: #f5f5f5;
}
#block-5 a {
	background-color: #004b41;
	color: #FFF;
	padding: .3rem 1rem;
	display: inline-block;
	text-decoration: none;
	border-bottom: 0;
}
#comments input[type="submit"] {
	background-color: #004b41;
	color: #FFF;
}
footer .search-string {
	border: 1px solid #f5f5f5;
}
footer .search-string::placeholder {
	color: #f5f5f5;
}
.footer-widgets {
	border-bottom: 1px solid #f5f5f5;
}
.meta-nav-holder a {
	color: #004b41;
}
ul.get-social li a {
	color: #004b41;
	font-size: 1.3rem;
}
#mc4wp-form-1 input[type="submit"] {
	background-color: #004b41 !important;
	color: #FFF !important;
	border: none !important;
}
.copyright {
	color: #FFF;
	font-size: .8rem;
}
.copyright a {
	color: #FFF;
}
.footer-social i {
	color: #FFF;
}
.widget ul li a:hover {
	color: #FFF;
	text-decoration: underline;
}
.middle-social-banner {
	background-color: #004b41;
	display: flex;
	margin: 5rem 0;
	clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}
.left-social-banner {
	width: 30%;
	position: relative;
}
.right-social-banner {
	width: 70%;
	text-align: center;
	padding: 2rem;
}
.right-social-banner h2 {
	color: #FFF;
}
.right-social-banner a {
	color: #fff;
	font-size: 4rem;
}
.logo-social-banner {
	position: absolute;
	left: 50%;
	top: 5%;
	height: 90%;
	z-index: 1;
}
.post-content-item-full .meta-date {
	color: #fff;
}

.tag-scuderia-motori-storici .scuderia-logo-container {
	display: block;
	width: 100%;
	text-align: center;
}
.tag-scuderia-motori-storici .logo-scuderia-page {
	height: 10vw;
	width: auto;
}

/* Full desktop */
@media (min-width: 1200px) {
    aside {
		padding: 30px;
		background-color: #FFF;
	}
	#menu-principale-1 {
		text-align: center;
	}
}

/* Mobile */
@media (max-width: 767px) { 
	#header-bar-1 .header-1 img {
		margin: 0;
	}	
	.menu-nav-3 li.current-menu-item>a  {
		color: #FFF;
		text-decoration: underline;
	}
	.nav-button-holder-1 {
		z-index: 5;
	}
	#header-bar-1 .navbar1 {
		padding: 0;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-content: center;
		justify-content: space-between;
		align-items: center;
		height: 6.5rem;
		position: relative;
	}
	#header-bar-1 .header-logo-custom-container {
		width: 90%;
		width: 100%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-content: center;
		align-items: stretch;
		justify-content: center;
		position: absolute;
		left: 0;
		top: 0;
		z-index: 1;
	}
	.post-content-item-full .post-title a {
		font-size: 2rem;
	}
	body.home .post-holder,
	body.archive .post-holder {
		height: unset;
	}
	.prev-next {
		margin-top: 2rem;
	}
	.prev-next .page-numbers {
		margin: 10px;
	}
	.wpcf7-form-control {
		max-width: 100%;
	}
	.page-id-43 .post-holder {
		padding: .5rem;
	}
	.single-post .meta-nav-right {
		margin-top: 2rem;
	} 
	.middle-social-banner {
		flex-direction: column;
	}
	.left-social-banner,
	.right-social-banner {
		width: 100%;
		text-align: center;
	}
	.logo-social-banner {
		position: relative;
		width: 50%;
		top: unset;
		left: unset;
		display: inline-block;
		margin-top: 3rem;
	}
	.search-social {
		display: block;
		z-index: 10;
	}
	.fas.fa-search,
	.navbar1 .fab.fa-facebook-f {
		font-size: 1rem;
	}
	.tag-scuderia-motori-storici .logo-scuderia-page {
	    height: 25vw;
	    width: auto;
	}
}