@media only screen and (max-width: 900px) {
	#partners-grid .single-grid-block {
	    width: 75%;
	    margin: 19px auto;
	}	
}

@media only screen and (max-width: 1200px) and (min-width: 900px){
	#partners-grid .single-grid-block {
	    width: 45%;
	}	
}

@media only screen and (max-width: 1023px){
	.single-team-member-inner {
	    flex-direction: column;
	    padding-top: 15px;
	    margin: 15px;
	}

	.single-team-member-inner img {
	    margin: 0;
	}

	.single-team-text {
	    padding: 30px 20px;
	}

}


@media only screen and (max-width: 1023px) and (min-width: 768px) {
	#mobile-nav {
		display: block;
	}

	#mobile-nav-toggle {
		display: inline-block;
	}

	#mobile-nav-shad {
		display: none;
	}

	body.nav-active #mobile-nav-shad {
		display: block;
	}

	#nav-container {
		padding: 0 !important;
		height: auto !important;
		vertical-align: middle !important;
		width: calc( 100% - 320px ) !important;
	}

	#mobile-nav {
		width: 40%;
	}

	#site-navigation {
		display: none;
	}

	.rotator-slide-content-inner {
		padding: 0 100px;
	}

	.rotator-title {
		font-size: 45px;
		line-height: 50px;
	}

	.rotator-subtitle {
		font-size: 20px;
		line-height: 22px;
	}

	.section.title-banner .title {
		font-size: 40px;
		line-height: 50px;
	}

	.section.title-banner .subtitle {
		font-size: 18px;
		line-height: 22px;
	}

	.section .section-inner {
		padding-left: 50px;
		padding-right: 50px;
	}

	.content-block.featured-image-left .content-wrap {
		padding: 0 0 0 60px;
	}

	.content-block.featured-image-right .content-wrap {
		padding: 0 60px 0 0;
	}

	.section .title {
		font-size: 32px;
		line-height: 36px;
	}

	.section .subtitle {
		font-size: 20px;
		line-height: 22px;
	}

	.section .content p, .section .content li {
		font-size: 14px;
		line-height: 26px;
	}

	.content-block .featured-image label {
		display: none;
	}

	.content-block .featured-image {
		box-shadow: none;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-transform: rotate(0deg);
		border-radius: 0;
	}

	.side-by-side.left .content-wrap {
		width: calc(100% - 90px);
		padding-top: 40px;
		padding-bottom: 40px;
		padding-left: 50px;
	}

	.side-by-side.right .content-wrap {
		width: calc(100% - 90px);
		padding-top: 40px;
		padding-bottom: 40px;
		padding-right: 50px;
	}

	.side-by-side .featured-image img {
		width: 300%;
		max-width: none;
		margin: 0 -150%;
	}

	.side-by-side.left .content-outer {
		left: 30%;
		width: 70%;
	}

	.side-by-side.right .content-outer {
		width: 70%;
	}

	.side-by-side .featured-image {
		width: 30%;
	}

	.grid-block.background-image .section-inner-wrap-1 {
		position: relative;
	}

	.grid-block.background-image .section-background {
		position: absolute;
		height: 100%;
		min-width: 100%;
		max-width: none;
		width: auto;
	}

	.single-grid-block-inner {
		padding: 0 15px;
		text-align: center;
	}

	.section.grid-block .content p {
		line-height: 20px;
	}


	.single-team-member-inner {
	    flex-direction: column;
	}

	.news[row="2"] .news-post,
	.news[row="3"] .news-post,
	.news[row="4"] .news-post {
		width: 50%;
	}

	.section.news .news-post-inner:hover .news-post-read-more {
		line-height: 182px;
	}

	.single .entry-content {
		padding: 50px 60px;
		border-radius: 0;
		font-size: 16px;
	}

	.archive article, .search article {
		padding: 30px;
	}

	.sidebar-sections {
		width: 100%;
	}

	.sidebar-section.sidebar-right .sidebar, .sidebar-section.sidebar-left .sidebar {
		position: relative;
		width: 100%;
		left: auto;
		right: auto;
	}

	.single-post .sidebar-section.sidebar-right .sidebar, .single-post .sidebar-section.sidebar-left .sidebar {
		position: relative;
		width: 100%;
		left: auto;
		right: auto;
		margin: 0;
	}

	.sidebar {
		columns: 2;
		column-gap: 40px;
	}

	.footer-columns[cols="3"] .footer-column {
		width: 50%;
	}

	.footer-columns[cols="4"] .footer-column {
		width: 50%;
	}

	#content-wrapper {
		padding: 0;
	}

	#footer-container {
		height: auto;
		position: relative;
	}

	header.entry-header {
		padding: 40px;
	}

	.entry-header .entry-title, .search-results h1.page-title {
		font-size: 32px;
	}

	.archive h1.entry-title a, .search h1.entry-title a {
		font-size: 26px;
	}

}

@media only screen and (max-width: 1023px){
	.double-content .left-content,
	.double-content .right-content {
	    width: 100%;
	    max-width: unset;
	}

	.double-content .right-content iframe {
	    padding-bottom: 50px;
	}
}

@media only screen and (max-width: 767px){
	.upper-header {
	    font-family: Brandon;
	    position: absolute;
	    right: -15px;
	    z-index: 99;
	    display: block;
	    top: 16px;
	}
}


@media only screen and (max-width: 550px){
	.section .content li.gfield {
		margin: 23px auto;
		width: 100%;
	}

	li#field_1_5 {
	    width: 100%;
	}

	iframe#gmap_canvas {
    	height: 400px;
	}
}