/* Projects */
.page-header {
	margin-top: -4rem;
	padding: 2rem;
	margin-bottom: 4rem;
}
#content.projects {
	padding: 4rem 0 0 0;
}
#content.projects .project-single :first-child {
	margin-top: 0;
}
#content.projects h2, #content.projects h3, #content.projects h4, #content.projects h5, #content.projects h6 {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}
#content.projects .project-single {
	padding: 2rem;
	background-color: #ffffff;
}
.project-block {
	margin-bottom: 2rem;
	background-color: #ffffff;
}
.project-block .project-thumbnail {
	background-size: cover;
	background-position: center;
}
.project-block h3 {
	margin-top: 0;
}
.project-block .block-inner {
	padding: 2rem;
}
.project-box {
	padding: 1rem;
	background-color: #ffffff;
	margin-bottom: 1rem;
	text-align: center;
}
.project-category {
    -webkit-transition: all .3s cubic-bezier(.4, 0, .2, 1);
    -moz-transition: all .3s cubic-bezier(.4, 0, .2, 1);
    -o-transition: all .3s cubic-bezier(.4, 0, .2, 1);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);		
}
.project-category:hover {
	-ms-transform: translateY(-1rem);
	-webkit-transform: translateY(-1rem);
	transform: translateY(-1rem);	
}
.project-cat-body {
	padding: 2rem;
	text-align: center;
	color: #ffffff;
	font-size: 1.25rem;
	margin-bottom: 2rem;
    font-weight: 600;
    height: 150px;	
	background-color: #8DC54F;
}
#before-after-slider .flickity-page-dots, #before-after-slider-comparison .flickity-page-dots {
	bottom: -3rem;
}
#before-after-slider .flickity-prev-next-button, #before-after-slider-comparison .flickity-prev-next-button {
    top: 50%;
    transform: translateY(-50%);
    background-color: #034472;
}
.ba-slider-comparison {
	position: relative;
}
.ba-slider-comparison::after {
  content: "";
  display: block;
  padding-bottom: calc((9 / 16) * 100%);
}
.ba-image {
	height: 100%;
	object-fit: cover;
	position: absolute;
	width: 100%;
      -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}
.ba-image.ba-image-left {
	clip-path: polygon(0% 0%, var(--value) 0%, var(--value) 100%, 0% 100%);
}
.ba-image.ba-image-right {
	clip-path: polygon(100% 0%, var(--value) 0%, var(--value) 100%, 100% 100%);
}
.ba-wrap {
	margin: 0;
	position: relative;
	width: 100%;
}
.ba-wrap--before, .ba-wrap--after {
	position: absolute;
	top: 0;
	z-index: 5;
	padding: .5rem 1rem;
	color: #ffffff;
	font-weight: 600;
	background-color: #034472;
}
.ba-wrap--before {
	left: 0;
}
.ba-wrap--after {
	right: 0;
}
.ba-range {
	background-color: transparent;
	box-sizing: border-box;
	font-family: inherit;
	height: 100%;
	margin: 0;
	outline: none;
	position: absolute;
	top: 0;
	width: calc( 100% + 50px);
	margin-left: -25px; 
	cursor: ew-resize;
}
.ba-range:focus, .ba-range :focus {
	outline: none;
}
.ba-range::-moz-range-thumb {
    -webkit-appearance: none;
    height: 50px;
    width: 50px;
    cursor: pointer;
    border-radius: 50%;
    background: url(../img/handle.svg), rgba(255,255,255,0.3);
    background-size: contain;
    border: 3px solid #ffffff;
    cursor: ew-resize;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.ba-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 50px;
    width: 50px;
    cursor: pointer;
    border-radius: 50%;
    background: url(../img/handle.svg), #034472;
    background-size: contain;
    border: none;
    cursor: ew-resize;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.ba-range::-moz-range-track {
	background: transparent;
	background-size: 100%;
	box-sizing: border-box;
}
.ba-range::-webkit-slider-runnable-track {
	background: transparent;
	background-size: 100%;
	box-sizing: border-box;
	height: 100%;
}
.ba-range,
.ba-range::-webkit-slider-runnable-track,
.ba-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
}