body {
  overflow-x: hidden;
}

.page-header-image {
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100vw;
	height: 632px;
	object-fit: cover;
}



.page-header-image + .article-header {
	position: relative;
	z-index: 2;
	padding-bottom: 30vw;
	background: transparent;
}

.page-header-image + #content {
	margin-top: 468px;
	
}



.page-header-image + #content .article-header {
	margin-top: -468px;
	height: 468px;
	/* margin-bottom: 468px; */
	background: transparent;
	color: white;
}

@media only screen and (min-height: 800px) {
body.home .page-header-image {
	height: 800px;
}
body.home .page-header-image + #content {
	
	margin-top: 632px;
}
body.home .page-header-image + #content .article-header {

	margin-top: -632px;
	height: 632px;

}
}
@media only screen and (min-height: 1000px) {
body.home .page-header-image {
	height: 1000px;
}
body.home .page-header-image + #content {
	
	margin-top: 832px;
}
body.home .page-header-image + #content .article-header {

	margin-top: -832px;
	height: 832px;

}



}



.page-header-image + #content .article-header {
	position: relative;
}
.page-header-image + #content .article-header h1,
body.home .page-header-image + #content .article-header h2.page-title {
	position: absolute;
	bottom: 0;
	width: 100vw;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.5);
	background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
padding: 1em 0;

font-size: 2.5em;
line-height: 1.333em;
}

@media only screen and (max-width: 768px) {

  .page-header-image + #content .article-header h1,
  body.home .page-header-image + #content .article-header h2.page-title {
    font-size: 2rem;
    text-wrap-style: balance;
    padding:1em 0.5rem;
  }

}


body.page main {
	max-width: 1200px;
	margin: 0 auto;
}

body.page .wrap-intro {
	width: 100%;
}

body.page #content #inner-content {
	background: white;
	border-radius: 0;
	border: none;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.23), 0, 0;
	box-shadow: none;
	overflow: visible;
}

body,
.hentry header {
	background: white;
}

.entry-content .alignleft, .entry-content img.alignleft {
width: auto;
}

body.page .hentry {
	border-radius: 0;
	border: none;
}

.entry-content .media-object {
  margin:0;
  margin-bottom: 60px;
}

.entry-content .media-object img {
/*margin: 0 0 1.5em 0;
width: 100%;
max-width: 100%;
height: auto;*/
border: none;
box-shadow: none;
}

.media-object a:link,
.media-object a:visited,
.media-object a:focus {
	color: black;
	padding: 9px 30px 10px;
}


div.gallery figure:hover .gallery-icon img {
opacity: 0.9;
}

.entry-content img {

border: none;
box-shadow: none;
}

#content {
	background-color: white;
}

#inner-content.wrap {
	width: 100%;
}




body.post-type-archive-projects .project-post {
	width: 33%;
	margin: 20px 10px;
	width: calc( 33.33% - 20px );
	display: inline-block;
	vertical-align: top;
}
@media only screen and (max-width: 1179px) {
	body.post-type-archive-projects .project-post {
		width: calc( 50% - 20px );
	}
}
body.post-type-archive-projects .project-post .entry-content {
	padding: 0;
}
body.post-type-archive-projects .project-post .entry-content img {
	margin: 0;
}
body.post-type-archive-projects .project-post .entry-content h2 {
	font-size: 1.4em;
}
body.post-type-archive-projects .project-post .entry-content .wrap-intro {
	width: 100%;
}

body.post-type-archive-projects #content .project-post .portfolio-intro {
	padding: 0;
	border-top: none;
}

#content ul {
	list-style-type: disc;
	padding-inline-start: 40px;
}

.media-object.small {
	font-size: 100%;
}

div.gallery figure .gallery-icon img {
	margin: 0;
}




#content #inner-content {
	border: none;
	box-shadow: none;
	border-radius: 0;
}

.hentry {
	background-color: #fff;
	border: none;
}

div.gallery figure .gallery-icon img {
/* fix aspect ratio */
}

.featured-projects {
margin: 40px -10px;
}

.featured-projects article {
	display: inline-block;
	vertical-align: top;
	width: 33.3333%;
	padding: 0 10px;
	box-sizing: border-box;
	margin-bottom: 40px;
}
.featured-projects article img {
	margin: 0;
}
.featured-projects article header {
	text-decoration: none;
	padding: 0;
}




.wp-caption {
	padding: 0 0 1px;
}
.wp-caption img {
	display: block;
}



div.gallery.layout-true-masonry .gallery-item {
padding: 8px;
width: 25%;
display: inline-block;
/* display: block; */
}

div.gallery.layout-true-masonry figcaption {
	width: 100%;
	bottom: 0;
}



.flickity-prev-next-button.previous {
left: -10px !important;
left: 0 !important;
}
.flickity-prev-next-button.next {
right: -10px !important;
right: 0 !important;
}


div.gallery.style-scrollingstrip .flickity-prev-next-button {
width: 50px;
height: 55px;
padding: 1em;
background: rgba(0,0,0,.2);
border-radius: 0;
}

div.gallery.style-scrollingstrip .flickity-prev-next-button.previous {
left: 30px;
}

div.gallery.style-scrollingstrip .flickity-prev-next-button svg {
position: absolute;
left: 3px;
top: 3px;
width: 18px;
height: 18px;
padding: 14px;

width: auto;
height: auto;
}

div.gallery.aspect-three-two .gallery-icon {
	aspect-ratio: 3/2;
}
/*
div.gallery.layout-masonry .gallery-icon {
	aspect-ratio: 3/2;
}
*/

div.gallery.aspect-three-two .gallery-icon img {
	aspect-ratio: 3/2;
	object-fit: cover;
}

/*
div.gallery.layout-masonry .gallery-icon img {
	aspect-ratio: 3/2;
	object-fit: cover;
}
*/


#content .offering-small .roundIcon object, #content .offering-small .roundIconrp object {
max-height: 80px;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
color: #fff;
width: auto;
max-width: 106px;
}


.wrap-project {
max-width: 1200px;
width: 100%;
margin: 0 auto;
}




.carousel-cell-image:nth-of-type(even) {
opacity: 0 !important;
z-index: -1;
transition: opacity 5s ease-in-out;

transition: none;
opacity: 1 !important;
z-index: 0;
}

.carousel-cell-image.is-selected:nth-of-type(even) {
opacity: 1 !important;
z-index: 0;
}



.bafg-twentytwenty-wrapper {
	margin: 30px 0;
}

div.gallery.style-content {
	margin: 30px -8px;
	width: auto;
}

.entry-content img {
	margin: 0 0 30px;
}

.entry-content img + div.gallery {
	margin-top: -16px;
}



.wrap-montages {
width: 100vw;
position: relative;
left: 50%;
transform: translateX(-50%);
max-width: none;
background-color: #eaedf2;
background-image: url(../images/bg/ravenna.png);
}




.related-summary .entry-thumbnail img {
	aspect-ratio: 4/3;
	object-fit: cover;
}

body.page-template-page-testimonials .entry-content .wrap-intro .bit-1 {
	text-align: center;
}

.gallery-item {
pointer-events: all;
}

@media only screen and (max-width: 670px) {
	.gallery-detail .owl-carousel {
		margin: 0;
		width: 100%;
	}
	
	.gallery-detail .owl-carousel div.owl-next, .gallery-detail .owl-carousel div.owl-prev {
		top: calc( 50% - 25px );
	}
}

body.post-type-archive-projects .project-post img {
	aspect-ratio: 4/3;
	object-fit: cover;
}


body#tinymce.wp-editor ol, body#tinymce.wp-editor ul {
padding: 40px;
list-style-type: disc;
}