/*
Theme Name: Bernardi
Theme URI:  https://www.rightbrain.it
Author:     Rightbrain
Author URI: https://www.rightbrain.it
Template:   neve
Version:    1.0
License:    GNU General Public License v2 or later
*/

.site-title {
	font-size: 27px !important;
	font-weight: 500 !important;
	margin: 0 !important;
	color: #222;
	text-transform: uppercase !important;
	letter-spacing: 7px !important;
	line-height: 30px !important;
}
.site-branding .site-description {
    line-height: 30px;
    margin-bottom: 0;
	letter-spacing:1px;
}

.chisiamohome{
	margin:150px auto;
	width:90%;
	max-width:1000px;
}
.chisiamohome h1 {
	font-size: 33px;
	line-height: 1.5em;
	color: #000;
	text-align: left;
	font-weight: 600;
	letter-spacing: 1px;
	max-width: 1000px;
	margin: 0 0 10px;
}
.chisiamohome h2 {
	font-size: 24px;
	line-height: 1.5em;
	color: #000;
	text-align: left;
	font-weight: 500;
	letter-spacing: 0.3px;
	max-width: 1000px;
}
.chisiamohome a {
	text-decoration: underline;
	font-size: 22px;
	font-family: manrope;
	letter-spacing: 0.3px;
	text-underline-offset: 4px;
}
.chisiamohome a:hover{
text-decoration:none;	
}

.home h3 {
	margin: 10px auto 50px;
	width: 90%;
	max-width: 1200px;
	font-size: 33px;
	line-height: 1.2em;
	text-align: center;
	letter-spacing: 0.3px;
}
.portfoliohome{
	width:96%;
	max-width:1600px;
	margin:75px auto;
}

.progetto{
margin:0 auto 75px;
text-align:center;
}
.progetto h1, .single-portfolio h2 {
	color: #000;
	text-transform: uppercase;
	font-size: 35px;
	letter-spacing: 1px;
	margin: 0;
	text-align: center;
}
.progetto h3, .single-portfolio h4 {
	color: #4b4b4b;
	font-size: 21px;
	letter-spacing: 1px;
	margin: 10px auto 40px;
	font-weight: 500;
	text-align: center;
	line-height: 1.3em;
}
.progetto h4, .single-portfolio h3 {
	color: #6b6b6b;
	font-weight: 500;
	font-size: 20px;
	letter-spacing: 1px;
	margin: 0px auto 10px;
	text-align: center;
}
.single-portfolio h5 {
	padding: 15px;
	border-top: 1px solid rgb(221, 221, 221);
	border-bottom: 1px solid rgb(221, 221, 221);
	font-size: 17px;
	line-height: 1.4em;
	color: rgb(0, 0, 0);
	margin:75px auto;
	font-weight:300;
}




.progetto img{
	display:block;
	margin:0 auto;
	max-width:1400px;
	max-height:600px;	
}
.lavoro {
	margin:75px auto;
}

.lavoro p {
	font-size: 20px;
	line-height: 1.5em;
	color: #000;
	text-align: left;
	font-weight: 400;
	letter-spacing: 0.3px;
}
.lavoro p strong{
	font-weight: 700;
}
.infoprogetto {
	padding: 15px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.infoprogetto p{
	font-size: 17px;
	line-height: 1.4em;
	color: #4b4b4b;
	text-align: left;
	font-weight: 400;
	letter-spacing: 0.3px;
	margin:0;
}
.portfolio-template-default p{
	font-size:17px;
	line-height:1.4em;
	color:#000;
}
.portfolio-template-default p strong{
	font-weight: 700;
}


.contattipage{
width:90%;
max-width:1400px;
	margin:100px auto;
	display:flex;
flex-wrap:wrap;
	justify-content:space-between;
}
.contattipagesx{
width:40%;	
}
.contattipagedx{
width:60%;	
}
.contattipagesx h2 {
	font-size: 33px;
	line-height: 1.5em;
	color: #000;
	text-align: left;
	font-weight: 600;
	letter-spacing: 1px;
	max-width: 1000px;
	margin: 0 0 40px;
}
.contattipagesx p {
	font-size: 20px;
	line-height: 1.5em;
	color: #000;
	text-align: left;
	font-weight: 400;
	letter-spacing: 0.3px;
	margin: 0 0 16px;
}
.contattipagesx p a{
	text-decoration:none;
}
.contattipagesx p i{
margin-right:10px;
}

.contattipagesx p a:hover{
	text-decoration:underline;
	text-underline-offset: 4px;
	color:#000;
}

.formwrap {
	flex-wrap: wrap;
	display: flex;
	margin-bottom: 60px;
	flex-wrap: wrap;
	justify-content: space-between;
}
.formsx, .formdx{
	width:48%;
	box-sizing:border-box;
	padding:10px;
}
.contattipagedx label{
width:100%;	
}
.contattipagedx input, .contattipagedx textarea {
	width: 100%;
	border: none !important;
	border-bottom: 1px solid #ddd !important;
	padding: 6px 15px;
	font-weight: 500;
	border-radius:0px!important;
	box-shadow:none!important;
}
.contattipagedx textarea{
	height:192px;
}
.contattipagedx input:visited, .contattipagedx textarea:visited, .contattipagedx input:active, .contattipagedx textarea:active ,.contattipagedx input:focus, .contattipagedx textarea:focus  {
	border-bottom: 1px solid #222!important;
	
}
.contattipagedx input.wpcf7-submit{
	margin:0 auto!important;
	text-transform:uppercase;
	max-width:250px;
	display:block;
	letter-spacing:2px;	
}
.contattipagedx input.wpcf7-submit:hover{
	background:#4b4b4b;
}


.wpcf7-spinner{
position:absolute;
}



#accept-privacy{
	font-size:12px;
	color:#aaa;
	margin-top:4px;
	text-align:center;
}
#accept-privacy a{
	font-size:12px;
	color:#aaa;
}

#accept-privacy .wpcf7-list-item{
	margin:0;
}
#accept-privacy input{
	position:relative;
	top:3px;
}

.wpcf7-not-valid-tip {
	font-size: 12px!important;
}
.formfooter{
	width:100%;
	text-align.center;
}


.footer-bottom {
	display:none!important;
}
.copyright {
	font-size: 12px!important;
	color: #777!important;
	margin-bottom: 0 !important;
	text-align:center;
	background:#f5f5f5;
	padding:30px 10px;
	border-top:1px solid #ddd;
		width:100%!important;
	
}
.copyright strong{
	font-weight:600;
}
.copyright img{
	display:inline;
}
p{
	font-weight:500;
	color:#4b4b4b;
}
 h2.introtitolo {
	font-size: 28px;
	line-height: 1.5em;
	color: #000;
	text-align: left;
	font-weight: 600;
	letter-spacing: 1px;
	max-width: 1000px;
	margin: 50px auto 10px;
}
p.testointro {
	font-size: 20px;
	line-height: 1.5em;
	color: #4b4b4b;
	text-align: left;
	font-weight: 500;
	letter-spacing: 0.3px;
	max-width: 1000px;
	margin: 0px auto 0px;
}

.vp-portfolio__item-meta-title {
	margin: 0px auto 10px !important;
	font-weight: 700;
	font-size: 20px !important;
	letter-spacing: 0.2px;
}
.vp-portfolio__item-meta-excerpt {
	font-size: 17px;
	line-height: 1.4em !important;
	font-weight: 500;
	color: #222 !important;
	max-width:460px;
	margin:0 auto;
}
.vp-portfolio__items-style-default .vp-portfolio__item-img img {
	max-height: 700px;
	max-width: 700px;
	margin: 0 auto;
	display: block;
	line-height: 0px;
	width: auto;
	height: auto;
}
.vp-portfolio__items-style-default .vp-portfolio__item-overlay {
	background: transparent!important;
}

.wp-block-latest-posts__post-title {
	font-size: 22px;
	line-height: 1.2em;
	margin: 0 auto;
}
.wp-block-latest-posts__post-date{
	color:#a9a9a9;
	font-size:14px;
	line-height:1.4em;
	display:block
margin:10px auto 30px;
}
.wp-block-latest-posts__post-excerpt{
	font-size:15px;
line-height:1.4em;
}

.wp-block-latest-posts__post-excerpt a{
	display:block;
margin-top:15px;
}


.wp-block-latest-posts.is-grid {
	width: 96%;
	max-width:1600px;
	margin: 0 auto;
	align-items: center;
}
.wp-block-latest-posts.is-grid li {
	margin: 2%;
	width:29.333%;
}

.wp-block-latest-posts.is-grid li img {
	max-height: 530px;
	max-width: 530px;
	margin: 0 0 25px;
	display: block;
	line-height: 0px;
	width: 100%;
	height: 100%;
}









/*#################################*/

.single-portfolio .wp-block-cover__inner-container h1{
	margin:0;
}
.single-portfolio .wp-block-cover__inner-container p{
	margin:10px auto;
	max-width:800px;
	width:90%;
}

.single-portfolio .nv-single-post-wrap > div:first-child{
	margin-top:0px!important;
}

.single-portfolio .wp-block-list li{
	margin-top: 0px;
	color: #555;
}

.single-portfolio h3 {
	color: #111;
	font-weight: 600;
	font-size: 30px;
	line-height: 1.4em;
	letter-spacing: 1px;
	margin: 50px auto 10px;
	text-align: left;
}
.neve-main > .single-post-container .nv-single-post-wrap.col {
	max-width: 90%!important;
	max-width: 1400px!important;
}



.fg-caption-desc {
	color: #fff !important;
	background: #222;
	margin: 0 !important;
	max-width: 100%;
	padding: 6px 15px !important;
	font-size: 16px !important;
	letter-spacing: 1px;
	font-weight: 600 !important;
	text-align: center;
	display: inline-block;
}
.fg-media-caption-description{
	color: #fff !important;
	padding: 6px 15px !important;
	font-size: 16px !important;
	letter-spacing: 1px;
	font-weight: 600 !important;	
}

.wp-block-list{
	width:90%;
	margin:0 auto!important;
}

.portfolio-template-default p{
	width:90%;
	margin:0 auto 20px;
}


.serviziobox{
padding:40px;
	box-sizing:border-box;
	
}

.serviziobox2{
	margin-top:100px!important;
padding:40px;
	box-sizing:border-box;
}
.serviziobox p, .serviziobox2 p{
	font-size: 17px!important;
	line-height: 1.4em;
	letter-spacing: 0.5px;
	color: #222;
	margin-bottom:15px;
}
.serviziobox p:nth-child(1), .serviziobox2  p:nth-child(1){
	margin-bottom:35px;
	font-size: 27px!important;
}
.serviziobox2{
	text-align:right;
}

.pagechisiamo{
	width:90%;
	margin:0 auto;
	max-width:1400px;
}













/*##################################################*/
@media screen and (max-width: 1200px) {
	
}

@media screen and (max-width: 1024px) {
	.wp-block-cover h1 strong, 	.wp-block-cover h1 {
	font-size:45px!important;
		line-height:1.3em!important;
}
	.wp-block-cover p{
	font-size:20px!important;
		line-height:1.4em!important;;
}
	.wp-block-cover {
		min-height:500px!important;
	}	
		.wp-block-spacer{
		height:40px!important;
	}
	.portfolio-template-default p, .wp-block-list li {
	font-size: 16px;
}
	.fg-caption-desc {
	font-size: 15px !important;
}	
.chisiamohome {
	margin: 75px auto;
	width: 90%;
	max-width: 1000px;
}	
	.chisiamohome h1 {
	font-size: 26px;
	line-height: 1.5em;
}
.chisiamohome h2 {
	font-size: 19px;
	line-height: 1.5em;
}	
.chisiamohome a {
	font-size: 18px;
}	
	.home h3 {
	font-size: 28px;
}
.serviziobox p:nth-child(1), .serviziobox2 p:nth-child(1) {
	font-size: 25px !important;
}
.serviziobox p, .serviziobox2 p {
	font-size: 16px !important;
}	
h2.introtitolo {
	font-size: 24px;
}	
p.testointro {
	font-size: 18px;
}	
.contattipagesx {
	width: 90%;
	text-align: center;
	margin: 0 auto 75px;
}
.contattipagesx h2 {
	font-size: 29px;
	text-align:center;
}
	.contattipagesx p {
	font-size: 18px;
	margin: 0 0 14px;
		text-align:center;
}
.contattipagedx {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto 50px;
}
	
		.progetto h1, .single-portfolio h2 {
	font-size: 26px;
	margin: 0 0 30px;
	max-width: 90%;
}
	.wp-block-list {
	width: 90%;
	margin: 0 auto 30px !important;
}
	.single-portfolio h3 {
	font-size: 25px;
	line-height: 1.2em;
	margin: 50px auto 10px;
	width: 90%;
}
}	
	









@media screen and (max-width: 768px) {
	.wp-block-cover h1 strong, .wp-block-cover h1{
	font-size:35px!important;
}
	.wp-block-cover p{
	font-size:17px!important;
}
	.wp-block-cover {
		min-height:400px!important;
	}	
		.wp-block-spacer{
		height:30px!important;
	}
	.portfolio-template-default p, .wp-block-list li{
	font-size: 15px;
}
		.fg-caption-desc {
	font-size: 14px !important;
}
.vp-uid-f0ccc045 .vp-portfolio__item-wrap {
	width: 100%!important;
}
	.vp-portfolio__item-meta-excerpt div{
	font-size: 15px;
  line-height: 1.4em;	
	}

	.vp-portfolio__items-style-default .vp-portfolio__item-img {
	max-height: 400px;
	object-fit: cover;
}
	.vp-portfolio__item-meta-title a{
		font-size:18px;
line-height:1.4em;
	}
	.chisiamohome h2 {
	font-size: 17px;
}
	.chisiamohome a {
	font-size: 16px;
}
	.serviziobox, .serviziobox2 {
	padding: 0;
	box-sizing: border-box;
	margin: 40px auto 0 !important;
	width: 90% !important;
	max-width: 90%;
}
h2.introtitolo {
	font-size: 22px;
}	
p.testointro {
	font-size: 16px;
}		
	.mappa iframe{
		max-height:350px;
	}	
	.formsx, .formdx {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;		
}
.formsx p, .formdx p{	
	margin:0;
	}
	
	.progetto h1, .single-portfolio h2 {
	font-size: 23px;
}
		.single-portfolio h3 {
	font-size: 22px;
}
}






@media screen and (max-width: 480px) {
.wp-block-cover h1 strong, .wp-block-cover h1 {
	font-size: 20px !important;
	letter-spacing: 1px;
}
	.wp-block-cover p{
	font-size:14px!important;
}
	.wp-block-cover {
		min-height:300px!important;
	}	
.wp-block-cover .wp-block-spacer{
		height:15px!important;
	}
	.site-title {
	font-size: 21px !important;
	letter-spacing: 6px !important;
	line-height: 1.4em !important;
}
	.site-logo small {
	font-size: 11px!important;
}
	.wp-block-spacer{
		height:25px!important;
	}
	.wp-block-list li a{
	font-size:13px!important;
		line-height:1.3em!important;
}
.portfolio-template-default p, .wp-block-list li {
	font-size: 14px;
}
	.fg-caption-desc {
	font-size: 13px !important;
}
		.vp-portfolio__item-meta-title a{
		font-size:17px;
line-height:1.4em;
	}
	.vp-portfolio__item-meta-excerpt div {
	font-size: 14px;
	line-height: 1.4em;
}
	.vp-portfolio__item{
		margin-top:40px!important;
	}
	
	.chisiamohome h1 {
	font-size: 23px;
}
	.chisiamohome h2 {
	font-size: 15px;
}
.chisiamohome a {
	font-size: 14px;
}
	.home h3 {
	font-size: 19px;
}
.serviziobox p:nth-child(1), .serviziobox2 p:nth-child(1) {
	font-size: 21px !important;
}	
.serviziobox p, .serviziobox2 p {
	font-size: 15px !important;
}	
	h2.introtitolo {
	font-size: 20px;
}	
p.testointro {
	font-size: 15px;
}		
	.progetto h1, .single-portfolio h2 {
	font-size: 20px;
}	
			.single-portfolio h3 {
	font-size: 19px;
}
}

	
	





