@media screen and (max-width : 1480px) {
	#page-content {width: calc(100% - 220px);}
	#page-content.product {width: calc(100% - 220px);}
	#page-content.story {width: calc(100% - 220px);}
	#page-content.team {width: calc(100% - 220px);}
	#page-content.posts {width: calc(100% - 220px);}
	
	.icon-text.v2 {width: 17%;}
}

@media screen and (max-width : 1380px) {
	.post-listing-item {width: calc(50% - 25px);}
	.post-listing-item:nth-child(3n) {margin-right: 50px;}
	.post-listing-item:nth-child(3n+1) {clear: none;}
	.post-listing-item:nth-child(2n) {margin-right: 0;}
	.post-listing-item:nth-child(2n+1) {clear: both;}
}

@media screen and (max-width : 1280px) {
	#page-wrap {padding: 0;}
	
	#page-content.contact {padding: 0;}
	#page-content.clients {padding: 0;}
	
	#page-content.product img.alignright {width: 300px !important;}
	
	#page-background:not(.def):before {opacity: 1;}
	
	.wpcf7-checkbox .wpcf7-list-item {width: 100%;}
}

@media screen and (max-width : 1180px) {
	#main-menu .level-0 + .level-0 {margin: 0 0 0 40px;}
	
	.event .image {width: 200px;}
	.event .content {width: calc(100% - 200px);}
	
	.icon-text.v2 {width: 20%;}
	
	.client-listing-item {width: calc(33.33333333333% - 33.33333333px);}
	.client-listing-item:nth-child(4n) {margin-right: 50px;}
	.client-listing-item:nth-child(4n+1) {clear: none;}
	.client-listing-item:nth-child(3n) {margin-right: 0;}
	.client-listing-item:nth-child(3n+1) {clear: both;}
}

@media screen and (max-width : 1023px) {
	#main-menu .level-0 + .level-0 {margin: 0 0 0 25px;}
	
	#body {top: 140px; height: calc(100vh - 140px - 50px);}
	
	#secondary-menu nav > ul:first-child {margin: 140px 0 0 0;}
	
	#search-form form {width: 240px; margin: 0 220px 0 0;}
}

@media screen and (max-width : 940px) {
	#header .content {height: 90px; align-items: center; padding: 0;}
	
	.site-logo a {width: 118px; height: 50px;}
	
	#mobile-menu-toggle {display: block;}
	
	#main-menu {width: calc(100% - 118px - 40px); text-align: right; padding: 0 20px 0 0;}
	#main-menu .level-0:not(.search) {display: none;}
	#main-menu .search {margin: 0 !important;}
	
	#search-form {top: 50%; transform: translateY(-50%);}
	#search-form form {width: 100%; margin: 0;}
	#search-form[style*="block"] + #body {opacity: 0;}
	#search-form.active {display: none;}
	
	/*#body {top: 100px; height: calc(100vh - 100px - 50px);}
	#body {position: relative; left: auto; top: auto; height: auto; overflow: visible; margin: 110px 0 0 0; padding: 0 0 50px 0;
		-webkit-transition: var(--transition1); -moz-transition: var(--transition1); transition: var(--transition1);
	}*/
    #body {margin: 110px 0 0 0;}
	
	/* #page-scroll-arrow {display: none !important;} */
	
	#secondary-menu {display: none !important;}
	
	#page-content {width: 100%;}
	#page-content.product {width: 100%;}
	#page-content.story {width: 100%;}
	#page-content.team {width: 100%;}
	#page-content.posts {width: 100%;}
	
	#page-content.contact .entry-content {padding: 0 50px 0 0;}
	
	.icon-text.v2 {width: 17%;}
	
	#page-tagline {display: none;}
	
	.client-listing-item {width: calc(50% - 25px);}
	.client-listing-item:nth-child(3n) {margin-right: 50px;}
	.client-listing-item:nth-child(3n+1) {clear: none;}
	.client-listing-item:nth-child(2n) {margin-right: 0;}
	.client-listing-item:nth-child(2n+1) {clear: both;}
}

@media screen and (max-width : 767px) {
	.form-field.half {width: 100%;}
	
	#page-content.contact .entry-content {width: 100%; padding: 0 0 50px 0;}
	#page-content.contact .form {width: 100%;}
	
	img.alignright {float: none; margin: 0;}
	#page-content.product img.alignright {width: auto !important; display: block; margin: 0 0 30px 0;}
	
	.events:before {left: 39px;}
	.event .date {width: 80px; font-size: 1.125em;}
	.event .align {width: calc(100% - 80px); padding: 0 0 0 30px; margin: 15px 0 0 0;}
	.event .content {padding: 0 30px 0 0;}
	
	.person {width: 100%;}
	
	#page-background {background-position: 70% center;}
	
	.icon-text.v2 {width: 20%;}
	
	.post-listing-item {width: 100%; margin-right: 0 !important;}
	
	table.tech td {display: block !important;}
	table.tech tr:nth-child(2n+1) td {background: none;}
	table.tech tr:not(.th) td:nth-child(1) {background: rgba(255, 255, 255, 0.05);}
}

@media screen and (max-width : 640px) {
	.event .image {width: 100%; padding: 0 0 30px 0;}
	.event .image img {width: 300px;}
	.event .content {width: 100%; padding: 0;}
	
	.icon-text.v2 {width: 25%;}
	
	.client-listing-item {width: 100%; margin-right: 0 !important;}
}

@media screen and (max-width : 567px) {
	.icon-text.v2 {width: 33.33333%;}
	
	.post-title {font-size: 1.25em; line-height: 130%;}
}

@media screen and (max-width : 467px) {
	.button-group > div {display: block; text-align: left;}
	.button-group > div + div {margin: 20px 0 0 0;}
	.button-group.center > div {margin: 20px 0 0 0 !important;}
	.button-group .button {min-width: 240px;}
	
	.person .image {width: 100%; height: auto; padding: 100% 0 0 0;}
	.person .info {width: 100%; padding: 30px 0 0 0;}
	
	.icon-text.v2 {width: 50%;}
}


