/*
Theme Name: LMR
Theme URI: https://harmonicdesign.ca
Author: Harmonic Design
Author URI: https://harmonicdesign.ca
Description: This theme is for use on LRM <strong>only</strong>
*/

:root {
	--border-color: #323e54;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html,
body {
	margin: 0;
	padding: 0;
	font-size: 22px;
	line-height: 1.6;
	color: #4a4a4a;
	font-family: sans-serif;
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5 {
	line-height: 1.2;
	font-family: "Roboto", sans-serif;
	color: #4e5859;
	text-transform: uppercase;
}

header h1 {
	color:#fff;
	text-align: center
}

.wrap {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

.button {
	padding: 1em 2em;
	background-color: #ea0b2a;
	text-decoration: none;
	font-weight: bold;
	border: 2px solid #fff;
	color: #fff;
	display: inline-block;
	transition: all 350ms ease-in-out;
}

.button:hover {
	color: #ea0b2a;
	background-color: transparent;
	border-color: #ea0b2a;
	transition: all 350ms ease-in-out;
}

.home header {
	height: 100vh;
}



header {
	height: 60vh;
	max-height: 1080px;
	display: grid;
	grid-template-rows: max-content max-content 1fr;
	background-size: cover;
	background-position: 10%;
	color: #fefefe;
	border-bottom: 6px solid #ea0b2a;
}

#top {
	font-size: 14px;
	line-height: 1;
	border-bottom: 1px solid var(--border-color);
}

#top > .wrap {
	display: grid;
	grid-template-columns: max-content 1fr max-content;
	grid-gap: 2em;
}

#top > .wrap > div:first-child {
	border-left: 1px solid var(--border-color);
	border-right: 1px solid var(--border-color);
}

#top_social {
	padding: 0 !important;
}

#top_social > a {
	border-left: 1px solid var(--border-color);
	display: inline-block;
	padding: 1em;
	color: #eee;
}

#top_social > a:hover {
	background-color: var(--border-color);
}

#top_social > a:last-child {
	border-right: 1px solid var(--border-color);
}

#top > .wrap > div {
	padding: 1em;
	padding: 1em;
	align-items: center;
	display: flex;
}

#top svg {
	width: 22px;
	margin-right: 1em;
	fill: #ddd;
}

#top_social a:hover > svg {
	fill: #fff;
}

#top_social svg {
	margin-right: 0;
}

#logos {
	padding: 1em 0;
}

#logos > .wrap {
	display: grid;
	place-items: center;
}

#ma_logo {
	height: 52px;
	position: absolute;
	left: 0;
}

#rc_logo {
	height: 90px;
	display: block;
}


#navigation_icon {
position: fixed;
top: 0.4em;
right: 0.4em;
z-index: 999;
width: 80px;
height: 80px;
cursor: pointer;
	display: none;
}
#navigation_icon > label {
display: grid;
place-items: center;
cursor: pointer;
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
transition: all 0.2s ease-in-out;
}
#navigation_icon label:hover,
#navigation_icon.nav_open label {
background-color: rgba(255, 255, 255, 0.1);
opacity: 1;
transition: all 0.2s ease-in-out;
}
#navigation_icon span {
height: 4px;
width: 45px;
border-radius: 2px;
background-color: #fff;
position: relative;
display: block;
transition: all 0.2s ease-in-out;
}
#navigation_icon span:before {
top: -14px;
visibility: visible;
}
#navigation_icon span:after {
top: 14px;
}
#navigation_icon span:before,
#navigation_icon span:after {
height: 4px;
width: 45px;
border-radius: 2px;
background-color: #fff;
position: absolute;
content: "";
transition: all 0.2s ease-in-out;
}
#navigation_icon:hover span,
#navigation_icon:hover span:before,
#navigation_icon:hover span:after {
background: #fff;
}
#navigation_icon.nav_open:hover span,
#navigation_icon.nav_open span {
background: transparent;
}
#navigation_icon.nav_open span:before {
transform: rotate(45deg) translate(11px, 11px);
opacity: 1;
}
#navigation_icon.nav_open span:after {
transform: rotate(-45deg) translate(7px, -10px);
}

nav {
	border-bottom: 1px solid var(--border-color);
	border-top: 1px solid var(--border-color);
	position: absolute;
	width: 100%;
	padding: 0.4em 0;
	z-index: 1;
}

.sticky_nav {
	position: fixed;
	top: 0;
	left: 0;
	background: #161e34;
	z-index: 1;
}

#navigation {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: max-content max-content max-content max-content max-content max-content max-content;
	grid-gap: 1.4em;
	justify-content: center;
}

#navigation > li {
	padding: 0;
	margin: 0;
	position: relative;
}

#navigation > li > a {
	font-size: 18px;
	text-transform: uppercase;
	font-family: "Roboto", sans-serif;
	text-decoration: none;
	color: #fefefe;
}

#navigation > li.nav_callout > a {
	background-color: #ea0b2a;
	color: #fff;
	padding: 0.2em 0.3em;
	font-weight: bold;
}

.nav_callout:hover > a::before {
	display: none;
}

.nav_callout:hover > a {
	opacity: 0.8;
}

#navigation > li > a::before {
	opacity: 0;
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	bottom: 0;
	border-bottom: 1px solid var(--border-color);
	transition: all 250ms ease-in-out;
}

#navigation > li:hover > a::before {
	opacity: 1;
	transition: all 250ms ease-in-out;
}

#hero {
	height: 100%;
	position: relative;
}

.slider_content {
	height: 100%;
	width: 100%;
	padding: 2em 8em;
	background-size: cover;
	background-position: 10%;
	color: #fff;
	display: flex;
	align-items: center;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 500ms ease-in-out;
}

.slider_content > .wrap {
	padding: 2em;
}

.slider_content.active {
	opacity: 1;
	transition: all 3500ms ease-in-out;
}

.home .slider_content h2 {
	font-size: 64px;
	text-align: center;
	color: #fefefe;
	margin-top: 0;
	padding: 0;
	letter-spacing: 2px;
}

.slider_content h2 {
	font-size: 64px;
	text-align: center;
	color: #fefefe;
	margin: 0;
	padding: 0;
	letter-spacing: 2px;
}

.slider_content p {
	text-align: center;
}

.slider_content a,
#footer_header a {
	padding: 1em 2em;
	color: #fff;
	background-color: #ea0b2a;
	text-decoration: none;
	font-weight: bold;
	border: 2px solid #ea0b2a;
	transition: all 350ms ease-in-out;
}

.slider_content a:hover,
#footer_header a:hover {
	background-color: var(--border-color);
	transition: all 350ms ease-in-out;
}

#slide_prev,
#slide_next {
	width: 80px;
	height: 80px;
	border: 3px solid #fff;
	border-radius: 50%;
	color: #fff;
	font-size: 100px;
	position: absolute;
	top: 44%;
	line-height: 1;
	align-items: center;
	justify-content: center;
	display: flex;
	padding: 0.5em;
	cursor: pointer;
	opacity: 0.6;
	font-weight: lighter;
	transition: all 350ms ease-in-out;
}
#slide_prev {
	left: 1em;
}
#slide_next {
	right: 1em;
}

#hero:hover > #slide_prev,
#hero:hover > #slide_next {
	opacity: 1;
	transition: all 350ms ease-in-out;
}

main > section {
	padding: 2rem 0;
}

#about > .wrap {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 3em;
}

#lmr_logo {
	align-self: center;
}

.home #latest_projects {
	padding-bottom: 0;
}

#latest_projects h2 {
	text-align: center;
}


.home #latest_projects_wrapper {
	display: flex;
}

#latest_projects_wrapper {
	display: grid;
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr) minmax(1px, 1fr);
	grid-gap: 1em;
}

.latest_project {
	position: relative;
	overflow: hidden;
}

.latest_project_image > img {
	display: block;
}

.latest_project_overlay {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(224, 10, 10, 0.8);
	color: #fff;
	text-transform: uppercase;
	display: grid;
	text-align: center;
	align-content: end;
	font-size: 1.4em;
	transition: top 350ms ease-in-out;
	font-weight: bolder;
	padding: 0 0.2em;
}

.latest_project_overlay h4 {
	color: #fff;
}

.latest_project:hover .latest_project_overlay {
	top: 0;
	transition: top 350ms ease-in-out;
}

.project_link {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9
}

.latest_project_image {
	display: flex;
	height: 100%;
	width: 100%;
}

.latest_project_image > img {
	object-fit: cover;
		width: 100%;
    height: 100%;
}

#project_nav_wrapper {
	background-color: var(--border-color);
	margin-bottom: -2em;
	margin-top: 2em;
	padding: 0.4em;
}

#project_nav {
	display: grid;
	grid-template-columns: 1fr max-content;
}

.project_nav {
	color: #fff;
	text-decoration: none;
	margin-left: 2em;
}

.project_item {
	display: grid;
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 2fr);
	grid-gap: 4em;
	padding: 2em 0;
}

.project_item_wrap:nth-child(odd) {background: #EEE}

.col {
	display: grid;
	grid-gap: 1em;
}

.col-1-1 {
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr);
}

.col-1-1-1 {
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr) minmax(1px, 1fr);
}

.col-2-1 {
	grid-template-columns: minmax(1px, 2fr) minmax(1px, 1fr);
}

.col-1-2 {
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 2fr);
}

#about h1 {
	font-size: 37px;
}

#home_icons {
	background: #fff;
	padding: 0;
}

#home_icons > .wrap {
	display: grid;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr);
}

.home_icon {
	font-weight: bold;
	font-size: 19px;
	text-align: center;
}

.home_icon > a {
	color: #ea0b2a;
	text-decoration: none;
	display: block;
	padding: 2em;
}

.home_icon > a img {
	display: block;
	margin-bottom: 1em;
}

.home_icon:hover {
	background-color: #ea0b2a;
}

.home_icon:hover > a {
	color: #fff;
}

.home_icon:hover > a > img {
	filter: brightness(100);
}

#reviews {
	background-color: #4e5859;
	padding: 2em 0;
	color: #fff;
}

#reviews h2 {
	color: #fff;
}

#reviews a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

#home_testimonial {
	border: 1px solid #aaa;
	padding: 1em;
	font-size: 0.8em;
	font-style: italic;
}

#home_testimonial > cite {
	position: relative;
	line-height: 1;
}

#home_testimonial > cite::before {
	content: "";
	position: absolute;
	width: 8px;
	height: 2px;
	background-color: #aaa;
	top: 0.5em;
	left: -16px;
}

#home_testimonial > cite::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 2px;
	background-color: #aaa;
	top: 0.5em;
	right: -16px;
}

#footer_header {
	background-image: url(./images/footer.jpg);
	background-size: cover;
	display: grid;
	place-items: center;
	text-align: center;
	color: #2d2d2d;
	padding: 6em 0 12em 0;
}

#footer_header > .wrap {
	padding: 2em;
}
#footer_header h3 {
	font-size: 48px;
	margin-top: 0;
	padding: 0;
	color: #fff;
}

#footer_content {
	position: relative;
	top: -6em;
	margin-bottom: -4em;
	display: grid;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr);
	background-color: #fff;
}

#footer_content > div > img {
	max-width: 160px;
}

#footer_content > div {
	padding: 2em;
}

#footer_form {
	background-color: #575759;
	color: #fff;
}

#footer_social {
	padding: 0 !important;
}

#footer_social > a {
	border: 1px solid #bbb;
	display: inline-block;
	padding: 1em;
	line-height: 1;
	color: #575759;
	font-size: 14px;
}

#footer_social > a:hover {
	background-color:#ea0b2a;
	color: #fff;
}

#footer_social svg {
	width: 22px;
	fill: #444;
	display: block;
	line-height: 1;
}

#footer_social > a:hover > svg {
	fill: #fff;
}

.page-id-16 main {
	display: none;
}

.list_icons {
	list-style: none;
	padding: 0;
	margin: 0;
}

.list_icons svg {
	width: 22px;
	fill: #444;
	line-height: 1;
}

.list_icons li {
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 1em;
	align-items: center;
	margin-bottom: 1em;
}

#footer_bottom {
	padding: 1em 0;
	background-color: #ea0b2a;
}

#footer_bottom > .wrap {
	display: grid;
	grid-template-columns: 1fr max-content;
	color: lightgray;
	font-size: 14px;
}

#footer_bottom a {
	margin-left: 1em;
	color: lightgray;
	text-decoration: none;
}

/*GBLOCK*/
.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.blocks-gallery-grid,
.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin: 0;
	align-content: center;
}

.wp-block-gallery.columns-4 .blocks-gallery-item {
	width: calc(20% - 1em);
	margin-right: 1em;
}

.blocks-gallery-grid .blocks-gallery-image,
.blocks-gallery-grid .blocks-gallery-item,
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
	margin: 0 1em 1em 0;
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.home .blocks-gallery-item {
	align-self: center;
	padding: 1em;
}

.wp-block-quote p:first-child {
	margin-top: 0
}

.wp-block-quote {
    border-left: 4px solid;
    padding: 2em;
    background: #f7f7f7;
}

.wp-block-quote cite {
	text-align: right;
	display: block
}

figure {
	margin: 0;
}


.accordion_wrap {
	position: relative;
}

.hd-accordion {	
	padding: 0;
	transition: 0.4s all ease-in-out;
	margin: 0;
	border-bottom: 2px solid #fff;
	overflow: hidden
}

.hd-accordion-title {
	margin: 0;
	line-height: 1;
	font-weight: normal;
	padding: 0.4em;
	cursor: pointer;
	color:#fff;
}


.hd-accordion-content {
	pointer-events: none;
	opacity: 0;
	position: relative;
	height: 0;
	transition: 0.42s all ease-in-out;
	visibility: hidden;
	margin-bottom: -1rem;
}

.hd-accordion-title.hd-accordion-active + .hd-accordion-content {
	pointer-events: initial;
	opacity: 1;
	height: initial;
	visibility: visible;
	transition: 0.42s all ease-in-out;
	padding: 1em;
	border: 1px solid #999
}

.hd-accordion-title {
	background-color: #ea112a;
}

.hd-accordion-title:hover,
.hd-accordion-title.hd-accordion-active {
	background-color:#4a4a4a
}

.hd-accordion-content p:last-child {
	margin-bottom: 2rem;
}


.animateDelay200 {
	animation-delay: 200ms;
}

.animateDelay400 {
	animation-delay: 400ms;
}

.animateDelay600 {
	animation-delay: 600ms;
}

.animateDelay800 {
	animation-delay: 800ms;
}

.animateDelay1000 {
	animation-delay: 1000ms;
}


.owl-carousel button.owl-dot {
background: #777 !important;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    border-radius: 50%;
}

.owl-carousel button.owl-dot.active {
	background: #000 !important
}


@media (max-width: 1000px){
	#top,
	nav {
		display: none;
	}
	
	header {
		grid-template-rows: max-content 1fr
	}
	
	.slider_content {
		padding: 0
	}
	
	.slider_content > .wrap {
		padding: 1em;
	}
	
	.home .slider_content h2 {
		font-size: 32px;
		margin-bottom: 1em
	}
	
	main .wrap {
		padding: 0 1em;
	}
	
	#about > .wrap {
    	grid-template-columns: 1fr;
	}
	
	#latest_projects_wrapper {
		grid-gap: 0;
	}
	
	.page #latest_projects_wrapper {
		grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr);
	}
	
	
	
	.latest_project_overlay {
		font-size: 12px;
	}
	
	#home_icons > .wrap {
		    grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr);
	}
	
	.home_icon {
		font-size: 14px;
	}
	
	.home_icon > a {
		padding: 1.4em;
	}
	
	#footer_header > .wrap {
		padding: 1em;
	}
	
	#footer_header h3 {
		font-size: 32px;
	}
	
	.slider_content a, #footer_header a {
		font-size: 18px;
	}
	
	#footer_content {
		grid-template-columns: 1fr;
	}
	
	.list_icons {		
    	font-size: 0.8em;
	}
	
	#footer_bottom {
		padding: 0.4em;
		font-size: 0.8em;
	}
	
	#navigation_icon {
		display: block;
		transform: scale(0.6);
		top: -10px;
    	right: -10px;
		z-index: 99999;
	}
	
	nav.nav_open {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		overflow-y: auto;
		width: 100%;
		background: #22273b;
		z-index: 999
	}
	
	nav.nav_open #navigation {
		display: block;
	}
	
	nav.nav_open .wrap {
		display: grid;
		place-items: center;
		text-align: center;
		height: 100%;
	}
	
	#navigation > li {
		margin: 1em 0;
	}
	
	.col-1-1 {
		display: block;
	}
}