/*
Theme Name: chiaragrillo
Author: Giacomo Lazzarin
Author uri: https://www.studioindigo.it
Version: 1.0
Text Domain: chiaragrillo
*/
body {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 2.2rem;
	color: #333;
}
a {
	text-decoration: none;
	color: #6D9ED8;
}
a:hover {
	color: #000;
}
a:focus,
button:focus,
input:focus {
	outline: 2px dotted #666 !important;
	border-radius: 0px !important;
}
strong, .strong, b {
	font-weight: 600;
}
table tr:nth-child(2n), table tbody tr:nth-child(2n) {
  background: inherit;
}
@media (prefers-reduced-motion: no-preference) {
	:focus {
		outline-offset: 2px;
		background-color: transparent;
		border-radius: inherit !important;
	}
}

.btn {
	border-radius: 3px !important;
	background: #6D9ED8;
	padding: 20px 30px;
}


h2 {
	color: #6D9ED8;
}



#masthead {
	background: #fff;
	height: 70px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 99;
	border-top: 5px solid #333;
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
#logo {
	float: left;
	font-size: 3rem;
	color: #6D9ED8;
	margin: 22px 0 0 0;
	font-weight: 200;
}
.homeH1 {
	float: left;
	margin: 0;
	font-weight: 200;
}

#menuPrincipale {
	float: right;
	margin: 5px auto;
	line-height: 55px;
	padding: 0;
	list-style: none;
	text-transform: uppercase;
	font-size: 1.5rem;
	letter-spacing: -0.05rem;
}
#menuPrincipale li {
	display: inline-block;
	margin: 0;
}
#menuPrincipale li a {
	display: block;
	padding: 0 5px;
	color: #333;
}
#menuPrincipale li.current-menu-item a {
	color: #6D9ED8;
}

#page {
	padding-top: 70px;
}



#colophon {
	background: #333;
	color: #fff;
	font-size: 1.6rem;
	text-align: center;
}
#colophon a {
	color: #fff;
}
#colophon a:hover {
	color: #6D9ED8;
}


#menuFooter {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
}
#menuFooter li {
	display: inline-block;
	position: relative;
}
#menuFooter li a {
	padding: 0 13px;
}
#menuFooter li:not(:last-child)::after {
	content: "|";
	right: -5px;
	position: absolute;
}




#slider {
	margin: 0;
	border: 0;
	border-radius: 0;
}
#slider .flex-direction-nav a::before {
	line-height: 40px;
	color: #fff;
	background: #5A5A5A;
	border-radius: 20px;
	width: 40px;
	height: 40px;
	text-align: center;
	font-size: 20px;
}
#slider .flex-direction-nav .flex-prev {
	left: 20px !important;
}
#slider .flex-direction-nav .flex-next {
	right: 20px !important;
}


.bannerTestata {
	background: #6D9ED8;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
}
.bannerTestata h1 {
	font-weight: 200;
	line-height: 3rem;
}



.testoFoto {
	margin-bottom: 50px;
}
.testoFoto .dTableCell {
	width: 50%;
}
.testoFoto .dTableCell .contentTF {
	padding: 50px 6vw;
}


.galleryVita {
	padding: 0;
	margin: 50px 0 0 0;
	list-style: none;
}
.galleryVita li {
	float: left;
	width: 16%;
	margin: 0 .8% 20px 0;
}
.galleryVita li a {
	display: block;
}
.galleryVita li:nth-child(6n) {
	margin-right: 0;
}



.imgTesto2Col img {
	max-width: 430px;
	margin: 0 auto;
}


.wpcf7 {
	max-width: 530px;
	margin: 0 auto;
}
.wpcf7 input,
.wpcf7 textarea {
	background: #fff;
	border: 1px solid #707070;
}
.wpcf7 input[type=submit] {
	padding: 20px 30px;
	color: #fff;
	background: #6D9ED8;
}
.wpcf7-acceptance {
	font-size: 1.3rem;
}


.postBox {
	margin-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ccc;
}
.postBox p {
	margin: 7px 0;
}
.postBox .author {
	text-align: right;
	margin: 10px 0 0;
	font-style: italic;
}
.postBox .data {
	margin: 0 0;
	color: #6D9ED8;
	font-size: 1.3rem;
}

.postBox a {
	display: block;
}
.postBox a p {
	color: #333;
}
.postBox h1 {
	line-height: 3rem;
	font-size: 2rem;
}
.postBox .leggi {
	display: block;
	text-align: right;
}
.home .postBox h1 {
	color: #000;
	line-height: 20px;
	margin: 5px 0;
	font-size: 1.8rem;
}
.home .postBox .leggi {
    text-align: left;
	font-size: 1.4rem;
}

.home .contentWide {
	background: #eee;
}



.boxCats {
	background: #eee;
	padding: 30px;
	max-width: 310px;
}
.boxCats > p {
	margin-top: 0;
}
.boxCats ul {
	padding: 0;
	list-style: none;
	margin: 0;
}
.boxCats ul li a {
	text-transform: uppercase;
	display: block;
	padding: 5px 0;
	border-bottom: 1px solid #ccc;
}


.grecaptcha-badge {
	display: none !important;
}

figure.gallery-item {
  display: inline-block;
  max-width: 600px;
}


@media screen and (max-width: 790px) {
	
	
	#burger {
		width: 28px;
		height: 28px;
		text-align: center;
		line-height: 28px;
		position: absolute;
		right: 24px;
		top: 24px;
		z-index: 999;
	}
	#burger img {
		vertical-align: middle;
	}
	#burger .close {
		display: none;
	}
	#burger.active .close {
		display: block;
	}
	#burger.active .open {
		display: none;
	}
	
	#navigation {
		display: none;
		background: rgba(0,0,0,0.95);
		height: 100vh;
		width: 100vw;
		position: absolute;
		left: 0;
		top: 0;
	}
	#menuPrincipale {
		float: none;
		margin: 50px 0 0 0;
	}
	#menuPrincipale li {
		display: block;
		text-align: center;
	}
	#menuPrincipale li a {
		color: #fff;
	}
	
	.testoFoto .dTable {
		display: block;
	}
	.testoFoto .dTableCell {
		display: block;
		width: 100%;
		min-height: 300px;
	}
	.testoFoto .dTableCell .contentTF {
		padding: 10px 6vw;
	}
	.galleryVita {
		padding: 0;
		margin: 10px 0 0 0;
	}
	.galleryVita li {
		float: left;
		width: 32%;
		margin: 0 .8% 5px 0;
	}
	.galleryVita li:nth-child(6n) {
		margin-right: inherit;
	}
	.galleryVita li:nth-child(3n) {
		margin-right: 0;
	}
}

