/*
Puoi aggiungere qui il tuo codice CSS.

Per maggiori informazioni consulta la documentazione (fai clic sull'icona con il punto interrogativo qui sopra).
*/
.h3_home {text-align:center; margin:0 auto;}
img.aligncenter {margin-bottom:20px;}
.grid-container.portfolio.item h3 {line-height:0.8em;margin:10px auto 0;}

/*.page-id-35 {
    background-image: url('https://gruppo-pouchain.com/wp-content/uploads/2019/03/3D2500-px.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
/*fondi per tipologia*/
/*body .tipologia-restauro {
    background-image: url('https://gruppo-pouchain.com/wp-content/uploads/2018/11/restauro-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
body .tipologia-progettazione {
    background-image: url('https://gruppo-pouchain.com/wp-content/uploads/2018/11/diagnostica_e_progettazione.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
body .tipologia-restauro {
    background-image: url('https://gruppo-pouchain.com/wp-content/uploads/2018/11/restauro-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}*/

/*Posts grid*/
.posts-grid {
	width: 100%;
	margin: 4px 0;
}

.single-post-grid {
	float: left;
	position: relative;
	width: 20%;
	padding-top: 20%;
	/*height: 30vh;*/
	display: block;
	overflow: hidden;
}

.side-post-tile .single-post-grid {
	float: none;
	position: relative;
	width: 100%;
	height: 200px;
	margin: 0 4% 5px 0;
	display: block;
	overflow: hidden;
}

a.post-div-link {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	color: #fff;
	text-decoration: none;
/* Makes sure the link doesnt get underlined */
	z-index: 100;
/* raises anchor tag above everything else in div */
	background-color:#9c1d20 /*rgba(18,66,47,0.35)*/;
/*workaround to make clickable in IE */
	opacity: 3.5;
/*workaround to make clickable in IE */
	filter: alpha(opacity=3.5);
/*workaround to make clickable in IE */
}

a.post-div-link:hover {
	color: #fff;
	background-color: rgba(156,29,32,0.35);
/*workaround to make clickable in IE */
	opacity: 0;
/*workaround to make clickable in IE */
	filter: alpha(opacity=0);
}

.post-grid-innertext {
	text-align: center;
	color: #FFFFFF;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
	font-size: 34px;
	line-height: 36px;
	text-transform: lowercase;
	text-shadow: 2px 2px 1px #12422f;
	position: absolute;
	top: 35%;
	margin: auto;
	width: 100%;
	z-index: 10;
}

a.post-links {
	color: #fff;
}

.post-slider-innertext {
	display: inline-block;
	color: #fff;
	background-color: rgba(181,31,31,0.35);
}

.post-grid-innertext .uppercase, .post-slider-innertext .uppercase {
	text-transform: uppercase;
}

.post-grid-innertext a:link {
	color: #fff;
	text-decoration: none;
}

/*.velatura-post{width:100%;height:100%;position:absolute;top:0;left:0;background-color: rgba(181,31,31,0.35);}*/
.clearfloat {
	clear: both;
	height: 0;
	margin: 0;
	font-size: 0;
	line-height: 0;
}
.acf-map {
	width: 100%;
	height: 500px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

/* Sweep To Top */
.hvr-sweep-to-top {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-top:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #9c1d20;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-top:hover, .hvr-sweep-to-top:focus, .hvr-sweep-to-top:active {
  color: white;
}
.hvr-sweep-to-top:hover:before, .hvr-sweep-to-top:focus:before, .hvr-sweep-to-top:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
/* Center the caption. */
.jp-carousel-info h2 {
 text-align: center !important;
}

/* Hide comment form header. */
.jp-carousel-left-column-wrapper {
 display: none !important;
}

/* Center the metabox. */
.jp-carousel-image-meta {
 float: none !important;
 margin-left: auto;
 margin-right: auto;
}

/*portfolio*/
.portfolio .entry-header h1.entry-title {padding-bottom: 15px;
border-bottom: solid 1px #034947;
margin-bottom: 25px;}
/* site header */
.site-header {border-bottom: 5px solid #9c1d20;}
/*archive curricula
.post-type-archive-curriculum table , .post-type-archive-curriculum tr, .post-type-archive-curriculum td {border:none;border-collapse: collapse;}
.post-type-archive-curriculum tr.listItem {border-bottom:1px #ccc solid;}*/
.post-type-archive-curriculum table h3.archive-title {color:#9c1d20;}
.post-type-archive-curriculum td {vertical-align:top;padding:2px;font-size:14px}
.post-type-archive-curriculum section {width: 100%;}

/* search and filter */
.searchandfilter ul li {display:inline-block;margin: 0 30px 0 0;}
.searchandfilter ul {margin:0;}

/* superbonus 110% */
input[type=file] {
    margin-bottom: 0.5em;
}
blockquote {
font-size:unset !important;	
}
.wp-caption .wp-caption-text, .wp-caption-text.gallery-caption {
    font-size: .8em;
    padding-top: 5px;
    opacity: .8;
}
.site-footer .widget_nav_menu .menu li {padding-bottom:0px !important;}
/* Parlano di noi */
.gallery-columns-3 .gallery-item {
    margin-bottom: 5em !important;
}
/* EOF parlano di noi */
/* pagina archivio EXTRA */
.archive.post-type-archive-extra h2.entry-title {height:60px !important;}
/* EOF Archivio Extra */