/******/
/*** GLOBAL ***/
/******/

nav a, li {
	text-decoration: none;
  	font-optical-sizing: auto;
}

nav ul, footer ul {
	padding-inline-start: 0;
	list-style-type: none;
	float: left;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
}

nav ul li {
	padding: 0 .5rem;
}

footer ul {
	padding-inline-start: 0!important;
}

footer ul li {
	padding-right: 0;
	margin-block-start: .0625rem;
}

/* BUTTONS */

.button-container {
	padding: 1.5rem 0 .875rem 0;
	width: 100%;
}

.button-container-small {
	padding: .75rem 0;
	width: 100%;
}

a, a.button, .background-dark-green .gform_footer input.gform_button, .gform_footer input.gform_button, input[type=password], form.post-password-form input[type=submit] {
	cursor: pointer;
	-webkit-transition: all .2s ease-in-out, border .2s ease-in-out;
	-moz-transition: all .2s ease-in-out, border .2s ease-in-out;
	-o-transition: all .2s ease-in-out, border .2s ease-in-out;
	transition: all .2s ease-in-out, border .2s ease-in-out;
}

a.button, nav li.cta a {
	padding: .75rem 1rem .75rem 1rem;
	text-decoration: none;
}

a.text-link, p.text-link {
	text-decoration: none;
}

a.button:hover, nav a:hover, input[type=password]:hover, form.post-password-form input[type=submit]:hover, .gform_footer input.gform_button:hover, form.post-password-form input[type=submit]:hover, body .gform_wrapper .gform_footer input[type=submit]:hover {
	opacity: .6!important;
}

a.button.secondary:after, a.text-link:after, p.text-link:after {
	content: '›';
	margin-left: .5rem;
}

a.button.tertiary:after:hover {
	margin-left: .75rem;
}

/* GRAVITY FORMS */

.ginput_container input[type=text], .ginput_container input[type=email], .ginput_container textarea.textarea {
	padding: .5rem!important;
	font-size: 1rem!important;
	min-height: 2rem!important;
}

.section-comments form textarea, .section-comments form input {
	padding: .5rem;!important;
	font-size: 1rem!important;
	border: none;
}

.gform_footer input.gform_button, input[type=password], form.post-password-form input[type=submit], .section-comments form input[type=submit] {
	font-size: 1rem!important;
	border-radius: 0!important;
	padding: .75rem 1rem 1.125rem 1rem;
	padding-bottom: .375rem!important;
}

.gform-theme--foundation .gfield textarea.medium, .section-comments form textarea {
	min-height: 20rem!important;
}

.section-comments form input:not(p.comment-form-cookies-consent input, .section-comments form input[type=submit]) {
	width: 100%;
}

.section-comments form textarea, .section-comments form input:not(p.comment-form-cookies-consent input) {
	max-width: calc(100% - 3rem);
	border-radius: .25rem;
}

.section-comments form label:not(p.comment-form-cookies-consent label, label.gform-field-label--type-inline) {
	width: 100%;
	float: left;
}

.video-container {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 0;
	margin-bottom: 0;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* FOOTER */

.footer-menu ul, .socials-menu ul {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
  	align-items: flex-start;
  	justify-content: flex-start;
	flex-wrap: wrap;
}

.footer-menu li, .socials-menu li {
	width: calc(50% - .75rem);
	margin-bottom: .75rem;
}

.socials-menu li {
	width: calc(100% - .75rem);
	margin-bottom: .75rem;
}

/* SECTIONS */

/* CALL-TO-ACTION */

.cta-image {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

/* INTRO */

.intro-gallery .bx-wrapper {
	margin-bottom: 0;
}

.intro-project, .intro-background-image {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.intro-project .grid-70, .intro-gallery .grid-70, .intro-background-image .grid-100 {
	height: 100vh;
	padding-bottom: 2.5rem;
}

.intro-text-form, .archive-intro {
	padding-top: 10rem;
}

/* COLUMNS */

.column-border {
	border-left: solid .0625rem var(--white-brand);
	padding-left: 2.5rem;
	padding-right: 2.5rem;
}

.icon-container {
	width: 7.5rem;
}

.icon-container img {
	max-height: 5rem;
	width: auto;
}

/* PROJECTS LOOP */

.projects-loop ul {
	list-style: none;
	list-style-type: none;
}

.type-filter hr.black {
	background-color: var(--black);
}

.projects-loop ul li {
	margin-right: 5em;
}

.projects-loop ul li a {
	text-decoration: none;
}

.projects-loop .thumbnail, #blog-archive .thumbnail {
	height: 15rem;
}

/* PROJECT */

.single-crb_project .text-image, .images-full-expanded .grid-container {
	padding-top: 0;
	padding-bottom: 0;
}

.single-crb_project .images-full-expanded img {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.single-crb_project .text-image .image {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

/* TESTIMONIALS */

.testimonial-single.background-red {
	background-image: url("../images/brand-symbol.svg");
	background-size: 25rem 25rem;
	background-repeat: no-repeat;
	background-position: center center;
}

/* TEXT BACKGROUND IMAGE */

.text-background-image img {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

@media screen and (min-width: 48rem) {
	
	/* PROJECTS LOOP */
	
	.projects-loop .project-container:first-child {
		width: 100%!important;
	}
	
	.projects-loop .project-container:first-child .thumbnail {
		height: 30rem!important;
	}

	/* TESTIMONIALS */

	.testimonials-gallery .slide {
		padding-right: 5rem;
		padding-left: 5rem;
	}
	
	.testimonials-gallery .slide .button-container {
		margin-top: 2rem;
	}
	
}

@media screen and (min-width: 87.5rem) {
	
}

@media screen and (min-width: 64rem) {
	
}

@media screen and (max-width: 63.9375rem) {

	nav ul li, .navigation {
		padding-right: 0;
	}
	
}

@media screen and (max-width: 47.9375rem) {
	
	/* BUTTON CONTAINER */
	
	.button-container {
		padding-top: 1rem;
		width: 100%;
	}
	
	/* COLUMN */
	
	.column {
		margin-bottom: 2rem;
	}
	
	.column-border {
		width: calc(100% - 1.5rem);
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		margin-left: 1.5rem;
	}
	
	/* INTRO TEXT FORM */
	
	.intro-text-form, .archive-intro {
		padding-top: 7.5rem;
	}
	
	/* PROCESS ACCORDION */
	
	.intro-process-accordion, .intro-text-form, .archive-intro {
		padding-top: 6rem;
	}
	
	.intro-process-accordion .background-white-brand {
		padding-left: 3rem;
	}

	/* TESTIMONIALS */

	.testimonials-gallery .slide {
		padding-right: 3rem;
		padding-left: 3rem;
	}
	
	.testimonials-gallery .slide .button-container {
		margin-top: 1.5rem;
	}
	
	.testimonial-single {
		background-size: 12.5rem 12.5rem;
	}

}
