/*
	HEADER
*/

@media screen and (max-width: 1450px) {
	.upper-header {
		display: none;
	}

	.main-navigation > div.tablet-upper-header {
		position: absolute;
		display: inline-flex;
		flex-direction: row-reverse;
		top: -30px;
		justify-content: space-between;
		width: 250px;
		font-family: montserrat, sans-serif;
		font-size: 14px;
		right: 0;
	}

	.main-navigation {
		margin-left:50px;
	}

	.social-presence {
		position: static;
	}

	.social-presence a:last-of-type {
		margin-right: 0;
	}
}

@media screen and (max-width: 1450px) and (min-width: 1276px){
	header#masthead {
		margin: 0 auto;
		width: 1242.89px;
	}
}

@media screen and (max-width: 1275px){

	.main-navigation {
		position: static;
	}

	.main-navigation > div.tablet-upper-header {
		top: 0px;
	}

	.site-header {
	    width: 90%;
	    margin: 0 auto;
	}

	.site-logo {
		position: relative;
	}

	#site-navigation {
		margin-left: 0;
	}

	.main-navigation .main-menu:first-of-type > li.menu-item-has-children > a {
		margin-left: 0;
	}
}

@media screen and (min-width: 1150px) {
	.mobile-nav, .mobile-overlay {
		display: none !important;
	}
}

@media screen and (max-width: 768px) {

	.menu-main-menu-container {
		display: none !important;
	}

	.main-navigation > div.tablet-upper-header {
		top: 15px;
		right: 11px;
	}

	#site-navigation {
		width: 100%;
	}

	#mobile-nav-toggle {
		display: inline-block;
		right: 8px;
		top:50px !important;
	}

	.site-header {
		width: 100%;
		margin: 0 auto;
		padding-bottom: 0;
	}

	.site-logo {
		left: 10px;
		top: 13px;
	}

	.site-logo img {
		width: 250px;
	}

	#home-rotator blockquote p {
		font-size: 13px;
line-height: 1.4em;
	}

	figure.wp-block-image.flipped.projects-wing {
		display: none;
	}

	#projects-grid .project-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		grid-column-gap: 20px;
		padding: 0 20px;
	}

	#projects-grid .title {
		display: block;
	}

	#projects-grid .title-container {
		display: block;
		text-align: center;
		width:85%;
		margin:0 auto 30px auto;
		padding-top:10px;
	}

	form#gform_1 {
		width:95%;
	}

	ul.gform_fields li {
    list-style: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 0 18px 0;
    margin: 0 auto;
}

ul.gform_fields li#field_1_5 {
	position: relative;
	right:0;
}

}

/*
	HOME HERO
*/

@media screen and (max-width: 1320px){
	.slide-label {
		text-align: center;
	}

	.section .section-background {
		height:100%;
		width:auto;
		max-width: none;
	}

	#projects-grid .section-inner {
		width:100%;
	}

	#projects-grid .project-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	#home-rotator h1.title {
		text-align: center;
	}
	#home-rotator .content-wrap {
		margin: 80px auto;
	}
	#home-rotator h2.subtitle {
		text-align: center;
	}
	#home-rotator .content {
		text-align: center;
	}
	#home-rotator blockquote {
		margin: 0;
	}

	blockquote:before,
	blockquote:after {
		display: none;
	}

	#home-rotator .content-wrap {
		width: 60%;
	}
}


@media screen and (max-width: 1200px) {
	#home-rotator .hero-wing-img {
		right: 0;
	}
}

@media screen and (max-width: 800px) {
	#home-rotator .hero-wing-img {
		right: 0;
		width: 85%;
	}
	#home-rotator .content-wrap {
		width: 90%;
	}
}

@media screen and (max-width: 500px){
	#home-rotator h1.title {
		font-size: 30px;
	}
	#home-rotator h1.title .bigger {
		font-size: 56px;
		display: block;
		line-height: .9em;
	}
	#home-rotator h2.subtitle {
		font-size: 17px;
		padding: 10px 0;
	}
}

/*
	HOME SUB HERO
*/
@media screen and (max-width: 1150px){
	#home-sub-hero .title {
		font-size: 26px;
	}

	#home-sub-hero .content {
		font-size: 12px;
		padding: 0 12px;
	}

	.project-specifications-inner.dotted-gradient.left {
    width: 100%;
}

.related-projects .section-inner {
    margin: 60px auto;
    max-width: 90%;
}

#mobile-nav-toggle {
	display: inline-block;
	right: 8px;
	top:30px;
}

.menu-main-menu-container {
	display: none !important;
}

#colophon .widget-column .widget {
    text-align: center;
    margin: 0 auto !important;
}



}

@media screen and (max-width: 1279px) and (min-width: 1151px){
.main-navigation .main-menu > li > a {
	margin: 0 .5rem;
	font-size: 12px;
}

.main-navigation .main-menu > li.menu-item-has-children > a {
    margin-right: 0.5rem;
    font-size: 12px;
}

#mobile-nav-toggle {
	right: 0px;
	top:30px;
}

.main-navigation > div {
    position: absolute;
    right: 0;
    top: 30px;
}



}

@media screen and (max-width: 790px){
	#home-sub-hero .title {
		font-size: 20px;
	}

	#home-sub-hero img.section-background {
    min-width: 290%;
}

.project-display {
	display: block;
}

.project-breadcrumb .chevron {
    margin: 0 9px;
    font-size: 10px;
}

.project-breadcrumb * {
	font-size: 12px;
}

#projects-hero .title {
	font-size: 42px;
}

#projects-hero {
	height: 390px;
}

.project-gallery-container {
    width: 100%;
}

.wp-block-cover p.has-text-align-left.has-large-font-size {
    font-size: 41px;
    line-height: 1em;
    padding-bottom: 40px;
    padding-left: 20px;
		word-wrap: normal;
}
}

@media screen and (max-width: 615px){
	#home-sub-hero .title {
		font-size: 20px;
		margin: 10px;
	}
}

@media screen and (max-width: 480px) {
	#home-sub-hero img.section-background {
		min-width: 390%;
		height: 600px;
	}

	.title {
		font-size: 24px;
	}

	.section .content {
		font-size: 14px;
	}

	.entry .entry-content a.button {
		font-size: 14px;
	}

	.site-logo img {
		width: 230px;
	}

	#projects-hero .title {
		font-size: 32px;
	}

	#projects-hero {
		height: 390px;
	}
}

@media screen and (max-width: 380px) {
	#home-sub-hero img.section-background {
		min-width: 540%;
		margin-left:-50%;
	}
}

/*
	EVENTS LAYOUT
*/
@media screen and (max-width: 700px){
	.events-grid {
		flex-direction: column;
	}
}

@media screen and (max-width: 865px) and (min-width: 101px){
	.entry .entry-content a.event-block {
		margin: 10px;
	}

	.event-image {
		height: 150px;
	}
}

/*
	PROJECTS AND SERVICES ROW
*/
@media screen and (max-width: 990px){
	.wp-block-fdg-blocks-row {
		flex-direction: column;
	}

	.projects-and-services-row div:first-of-type .section-inner {
		float: none;
		text-align: center;
		margin: 0 auto;
	}
	.service-information {
		padding-right: 12px;
	}

	#home-recent-projects .button-wrap {
		margin-top: 10px;
	}

	#home-services {
		padding: 20px;
		text-align
	}

	#home-services .section-inner {
		margin: 0 auto;
	}
}

@media screen and (max-width: 1280px) and (min-width: 991px){
	.recent-projects-layout .project-grid .project-image {
		height: 85px;
		background-position: bottom !important;
	}

	#colophon .widget-column {
		display: flex;
		width:100%;
	}

	#colophon .widget-column section div * {
	    text-align: left !important;
			hyphens:none;
	}
}

@media screen and (max-width: 700px){
	.services-wrap .service {
		display: flex;
		flex-direction: column;
	}

	#home-services .title {
		text-align: center;
	}

	.service-icon {
		padding: 0;
		width: 100px;
		margin: 0 auto;
	}

	.service-title {
		text-align: center;
	}

	.slide-label {
    font-size: 17px;
    transform: translate(-50%, -240%);
	}

	body.blog article .content figure.post-thumbnail {
    display: block;
    width: 95%;
    margin: 0 auto;
	}

	.blog article .content .entry-content {
    width: 95%;
    display: block;
    vertical-align: top;
    margin: 0 auto;
}

.entry .entry-content .wp-block-cover.custom-cover-1 .wp-block-cover__inner-container p {
	font-size: 36px;
	line-height: 1.2em;
	margin-bottom:20px;
}

.blog article .entry-content .title {
    font-size: 26px;
    margin-top: 40px;
    line-height: 1.2em;
    text-transform: none;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    margin-left: 3%;
}

.post-template-default.single h1 {
    text-align: center;
    font-size: 1.4rem;
}

.single .entry-content h2 {
    font-size: 23px;
    margin: 35px 0 5px 0;
}

.entry-content h3 {
	font-size: 18px;
}

body.single-post #content {
    padding: 0 5%;
    margin: 0 auto;
}

.post-navigation .nav-links .nav-previous,
.post-navigation .nav-links .nav-next {
	text-align: center;
}

.post-navigation .nav-links {
	display: block;
}

}

@media screen and (max-width: 530px) {
	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 400px) {
	.project-grid {
		grid-template-columns: 1fr;
	}
}


/*
	LATEST NEWS
*/
@media screen and (max-width: 700px){
	#home-news .news-posts {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	#home-news .news-post {
		width: 80%;
	}

	.entry .entry-content .wp-block-cover.custom-cover-1 .wp-block-cover__inner-container p {
		font-size: 36px;
		line-height: 1.2em;
	}

	.content-outer {
		margin:0 auto 20px auto;
	}
}


/*
	FOOTER
*/
@media screen and (max-width: 1450px) and (min-width: 901px){
	#custom_html-2, #custom_html-3 {
		//display: none;
	}
	#colophon .widget-column section, #colophon .widget-column section * {
		text-align: center;
		padding: 0 6px;
	}

	#colophon .widget-column .widget {
		margin-right:2%;
	}

	section#custom_html-8 {
    max-width: 40%;
}

}

@media screen and (max-width: 900px){
	#colophon .widget-column {
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: center;
	}

	#colophon .widget-column section, #colophon .widget-column section * {
		text-align: center;
		padding: 0 6px;
	}

	#home-rotator .background-overlay {
    background-color: rgba(0,0,0,.40);
	}
}

/*
	TEAM GRID MOBILE VIEW
*/
@media screen and (max-width: 630px){
	.team-member {
		display: flex;
		flex-direction: column;
		padding-bottom: 15px;
	}

	img.team-member-image {
		width: 100%;
		align-self: center;
		padding: 10px;
		box-sizing: border-box;
	}
}
@media screen and (max-width: 400px){
	img.team-member-image {
		width: 100%;
	}
}
