/*
Theme Name: Enfold Child
Description: CG theme
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

#homeintro { 
	background: var(--theme--color-primary);
}


/***************** homepage - slider ****************/
/* home padding top */
.html_header_transparency #top .avia-builder-el-0 .container{
	padding-top: 0px;
}
#homeintro {
	margin-bottom: 80px;
}
#homeintro .container main{
	padding-bottom: 0px;
}

#homeintro {
  position: relative;
}
#homeintro:before {
  content: ' ';
  display: block;
  position: absolute;
  background-image: url('https://compaccommercial.co.nz/wp-content/themes/enfold-child/img/commercial-pattern.svg');
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 0% 565px;
	background-repeat: repeat-x;
}

/*#homeintro main {
  position: relative;
}*/

#homeintro p { color: #ffffff; max-width: 510px !important; }
#homeintro h1{
	font-size: 124px; line-height: 1.1em; margin-bottom: 40px; text-transform: unset; color: #fff;
}
#top:not(.page-id-14) #homeintro h1{
	font-size: 58px;
	line-height: 1.1em;
	margin-bottom: 40px; text-transform: unset; color: #fff;
}
@media (min-width: 768px){
	body:not(#post-14) #homeintro .av_one_half.avia-builder-el-last {
		width: 50%;
		margin-left:3.1%
	}
}

.page-id-14 #homeintro .entry-content-wrapper,
#homeintro > div.flex_column,
#homeintro > div.flex_column section.av_textblock_section .avia_textblock,
#homeintro > div.flex_column section.av_textblock_section{
white-space: nowrap !important;
	/*overflow: hidden !important;*/
}


#top #homeintro a.avia-color-theme-color,
#top #homeintro .alternate_color a.avia-color-theme-color:hover {
    background-color: #ffffff !important;
	color: var(--theme--color-primary) !important;
} 
@media (max-width: 989px){
	#homeintro section .avia_textblock h1{
		font-size: 32px;
		line-height: 42px;
	}
}
/* intro mobile */
@media only screen and (max-width: 768px){
	#homeintro.avia-section .entry-content-wrapper{
		padding: 0;
		margin: 0;
		list-style: none;

		-ms-box-orient: horizontal;
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -moz-flex;
		display: -webkit-flex;
		display: flex !important;
	}
	#homeintro.avia-section .entry-content-wrapper{
	  -webkit-flex-direction: column-reverse; 
	  flex-direction: column-reverse !important; 
	  float: right;
	}
}
#homeintro.avia-section .entry-content-wrapper .flex_column:first-child{ 
	padding-top: 55px;
	padding-top: 100px;
	padding-bottom: 150px;
	padding-bottom: 80px;
}
/* darken intro slide */
#homeintro .avia-slide-wrap {
	background: black;
}
.page-id-14 #homeintro .avia-slide-wrap img{
	opacity: 0.8;
}
#homeintro .flex_column.av_one_half.el_before_av_one_half.avia-builder-el-first.first.flex_column_div {
	z-index: 2;
}
/*
@media (min-width: 990px){
#top:not(.page-id-14) #wrap_all #homeintro .avia-slide-wrap {
	height: 160px;
	background-image: linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.70));
}
}*/











/***************** full width News ****************/
/* blog posts section homepage */
div .av_one_third {
    margin-left: 3%;
    width: 31.333333%;
}
article .slide-content header h3{ min-height: 76px; }
/*#homenews */article .slide-content header h3, 
/*#homenews */article .slide-entry-excerpt.entry-content{
	color: var(--theme--color-primary);
	padding-bottom: 15px;
}
/*#homenews */article .slide-content header h3 a{
	font-size: 26px;
	line-height: 30px;
}
/*#homenews */article .slide-entry-excerpt.entry-content{
	font-size: 16px;
	line-height: 22px;
	height: 180px;
	height: 200px;
}
@media (max-width: 768px){
	article .slide-entry-excerpt.entry-content {
		height: 225px;
	}
}

/*#homenews */article .slide-entry-excerpt.entry-content{
	display: flex;
	flex-direction: column;
	justify-content: space-between
}

#homenews article .slide-entry-excerpt.entry-content .read-more-link{
	vertical-align: bottom;
	/*  fix !!!!! */
	 
}
/*#homenews */article .slide-meta time{
	display: none;
}
#homenews article .read-more-link{
	padding-top: 25px;
}
#homenews a:hover{
	text-decoration: underline;
}
/*#homenews */article .read-more-link a{
	color: var(--theme--color-primary);
	border: 1px solid var(--theme--color-primary);
	text-decoration: none;
	text-align: center;
	padding: 8px 35px;
}
#homenews article.slide-entry.post-entry{
	background: #fff;
}
/*#homenews */.slide-entry .slide-content{
	padding: 30px 40px 38px 40px;
	padding: 30px 40px 28px 40px;
}

.read-more-link > .more-link > span{
	display: none;
}
@media (max-width: 768px){
	.responsive #top #wrap_all .slide-entry {
		margin-left: 0%;
		margin-top: 20px;
	}
}
/***************** full width News ****************/





/***************** homepage - about (inspiration) ****************/
#top #homeabout a.avia-color-theme-color,
#top #homeabout .alternate_color a.avia-color-theme-color:hover {
    background-color: #ffffff;
	/*color: var(--theme--color-primary) !important;*/
} 
#top #homeabout a.avia-color-theme-color span{
	color: var(--theme--color-primary) !important;
} 	
#homeabout h3 {
	font-size: 32px;
	line-height: 1.2em;
}
/***************** homepage - about (inspiration) ****************/


/***************** homepage - slider ****************/









































































/***************** full width numbers section -  Posts ****************/
#homestats {
	margin-top: 0px;/*test*/
	margin-bottom: 80px;/*25*/
}
#top .avia-smallarrow-slider{
	margin-left: -50px;
	margin-right: -50px;
}
#homestats div .av_one_fourth{
	width: 22.5%;
}
#homestats .slide-entry-wrap .slide-entry{
	height: 220px;
	padding-top: 40px;
	margin-left: 38px;
	padding-right: 38px;
}
/*@media only screen and (min-width: 990px) {
	.slide-entry.flex_column.post-entry.first.slide-loop-5{
		margin-left: 38px !important;
	}
}*/
#homestats div.slide-entry-excerpt.entry-content p{
	margin-top: 8px;
}
#homestats.alternate_color p{color: #fff;}
#homestats.main_color p{
	color: var(--theme--color-primary);
	font: normal normal medium 20px/26px 'PP Neue Montreal';
	font-size: 20px;
}
#homestats.alternate_color h3{color: #fff;}
#homestats.main_color h3{
	color: var(--theme--color-primary);
	text-align: center;
	font: normal normal medium 50px/41px 'PP Neue Montreal';
	font-size: 50px;/*desk*/
}

.avia-slideshow-arrows a:before {
     background: transparent !important;
}


@media (max-width: 1399px){
	/*#homestats h3{
		font-size: 45px;
		font-size: 50px;
	}*/
	#homestats .slide-entry-wrap .slide-entry {
		height: 220px;
		padding-top: 40px;
		margin-left: 20px;
		padding-right: 20px;
	}
}/*
	#top .avia-smallarrow-slider .avia-slideshow-arrows {
		
		left: -26px;
		left: -3.5vw;
	}
	#top .avia-smallarrow-slider.av-slideshow-ui .avia-slideshow-arrows.av-visible-prev a.prev-slide, 
	#top .avia-smallarrow-slider.av-slideshow-ui .avia-slideshow-arrows.av-visible-next a.next-slide {
		width: 30px !important;
	}
}*/
/*@media (max-width: 768px){
	#homestats h3{
		font-size: 25px;
	}
}*/
.slide-entry.flex_column.post-entry.first{
	margin-left: 0px !important
}
.slide-entry.flex_column.post-entry.first{
	padding-right: 0px !important
}
#homestats.alternate_color > div > div > div > div > div > div.avia-content-slider-inner > div > section.slide-entry.flex_column.av_one_fourth.post-entry.slide-entry-overview:not(.post-entry-last){
	border-right: 2px solid #fff;
}#homestats.main_color > div > div > div > div > div > div.avia-content-slider-inner > div > section.slide-entry.flex_column.av_one_fourth.post-entry.slide-entry-overview:not(.post-entry-last){
	border-right: 2px solid var(--theme--color-primary);
}
#homestats > div > div > div > div > div > div.avia-content-slider-inner > div > section.slide-entry:nth-child(4){
	border-right: none !important;
}

/* slider arrows */
/*dektop - not mobile */
@media (min-width: 990px){
	#homestats > div > div > div > div > div.avia-content-slider-element-container.av-lbk23yjx-a01f6620be3f9477fc39e69207fb70d0.avia-content-slider-element-slider.avia-content-slider.avia-smallarrow-slider.avia-content-slider-active.avia-content-slider-even.avia-builder-el-53.el_before_av_content_slider.avia-builder-el-first.av-medium-hide.av-small-hide.av-mini-hide.av-slideshow-ui.av-control-default.av-nav-arrows-visible.av-nav-dots-visible.av-no-slider-navigation.av-slideshow-manual.av-loop-once.av-loop-manual-endless.avia-content-slider1 > div.avia-smallarrow-slider-heading.no-content-slider-heading > div.avia-slideshow-arrows.avia-slideshow-controls.av-visible-prev.av-visible-next > a.prev-slide{
		padding-left: 25px !important;
	}
}

	#top .avia-smallarrow-slider .avia-slideshow-arrows{
		width: 100%;
		top: 120px;
		background-color: none !important;
	}
	#top .avia-smallarrow-slider .avia-slideshow-arrows a {
		/*opacity: 0.7 !important;
		height: 30px;
		line-height: 30px;
		font-size: 30px;*/
		opacity: 0.5 !important;
		height: 34px;
		line-height: 34px;
		font-size: 34px;
		text-indent: -700%;
	}
	

#top .avia-smallarrow-slider .avia-slideshow-arrows a:hover {
	opacity: 1 !important;
}

@media (max-width: 768px){
	#top .avia-smallarrow-slider-heading {
		width: calc(99vw - 2px) !important;
		/*width: 100vw !important;*/
		/*padding-left: 9px;*/
		margin-left: 17px;
		margin-left: 21px;
		/*width: calc(1vw + 100px) !important;*/
	}
}
#top #homestats.main_color .avia-slideshow-arrows a {
    color: var(--theme--color-primary);
}
@media only screen and (max-width: 990px){
#top .avia-slideshow-arrows a.next-slide {
	right: 18px !important;
}
.slide-entry.flex_column.post-entry.first {
	padding-right: 42px !important;
}
.slide-entry.flex_column.post-entry.first {
	margin-left: 5px !important;
}
}
/***************** full width numbers section - Posts ****************/



















/***************** Our process - page ****************/
/* process page - arrows */
body.page-id-40
.main_color:not(#after_section_2) .entry-content-wrapper > div.hr,
.arrow-down {
	height: 92px; 	
}
/*body.page-id-40
.main_color:not(#after_section_2) .entry-content-wrapper > div.hr > .hr-inner:before,*/
.arrow-down > .hr-inner:before{
	content: ' ';
	display: block;
	position: absolute;
	background-image: url(https://compaccommercial.co.nz/wp-content/themes/enfold-child/img/arrow-down.svg);
	height: 52px;
	width: 47px;
	top: -25px;
	left: calc(50% - 23.5px);
}
/***************** Our process - page ****************/


/***************** Projects - page ****************/
div.av-layout-grid-container > div > div > div > div > a.av-masonry-entry.post.status-publish.format-standard.hentry.category-projects > figure > figcaption > div > div > span.av-masonry-date.meta-color.updated{
	display: none;
}
/***************** Projects - page ****************/


/***************** Project Post - page ****************/
#top figure {
    margin-block-start: 0em;
    margin-block-end: 0em;
}
/***************** Project Post - page ****************/