@media (min-width: 1026px) {
	#nav {
		display: block !important;
	}
}

@media (max-width: 1025px) {
  .container {
		padding: 0 10px;
  }
	
	.col-12, .col-10, .col-8, .col-6, .col-4, .col-3, .col-2,
	.home main .col-12, .home main .col-6, .home main .col-4,
	main .col-12, main .col-8, main .col-4, main .col-4a {
		margin: 1.4%;
	}
	
	.col-12, .home main .col-12, main .col-12 {
		width: 97.2%;
	}
	
	.col-10 {
		width: 80.53333333%;
	}

	.col-8, footer .col-8, main .col-8 {
		width: 63.86666667%;
	}

	.col-6, header .col-6, .home main .col-6 {
		width: 47.2%;
	}

	.col-4, .col-4a, .home main .col-4, .home main .col-4a, main .col-4, main .col-4a,
	footer .col-4 {
		width: 30.53333333%;
	}
	
	.col-3 {
		width: 22.2%;
	}

	.col-2 {
		width:13.86666667%;
	}
	
	/* header */
	header input[type="email"] {
		padding: 0 5px;
		width: 60%;
	}
	
	/* slider */
	.slide-text {
		margin-top: 0;
		top: auto;
		bottom: 35px;
		width: 75%;
	}
	
	.padded-multiline { 
		font-size: 12px;
		line-height: 29px;
		padding: 5px 0 0 17px;
		width: 100%;
	}
	
	/* thumbnails */
	main #recent h2,
	main #recent h2.brochure,
	#thumbnails h2 {
		min-width: 0;
		padding: 0 10px;
	}
	
	/* sidebar */
	.latest-testimonial-widget, .widget_flexible-recent-posts-widget  {
		padding: 0 15px 15px;
	}
	
	.latest-testimonial-widget h2, .widget_flexible-recent-posts-widget h2 { 
		font-size: 14px !important;
		min-width: 0;
		padding: 0 10px;
	}

	.latest-news-widget h2, .widget_flexible-recent-posts-widget-brochure h2 { 
		font-size: 14px !important;
		min-width: 0;
		padding: 0 10px;
	}
	
	#sidebar .search-form input,
	#sidebar .search-form input[type="submit"]  {
		width: 100%;
	}
	
	/* contact */
	.page-template-tpl-contact main .wpcf7 {
		margin-bottom: 15px;
		width: 100%;
	}

.col-4a {
	min-height: 545px;
	}
	
}

@media (max-width: 920px) {
	/* client logos */
	.clients-gallery .client-logo img {
		padding: 0 10px;
	}

}


@media (max-width: 860px) {
	header .wpcf7 {
		width: 100%;
	}
	
	.signup-message {
		margin-left: -23px;
		width: 70%;
	}
	
	header .hidden {
		left: 0;
		width: 70%;
	}
	
	header input {
		width: 100%;
	}
	
	header input[type="email"] {
		padding: 0 17px;
		width: 100%;
	}
	
	header input[type="submit"] {
		width: 30%;
	}
	
	@media screen and (-webkit-min-device-pixel-ratio:0) {
		.signup-message {
			 display: block;
			 float: right;
		}
	}


}

@media (max-width: 660px) { 
	.col-10, .col-8, .col-6, header .col-6, .col-4, col-4a .col-3,
	.home main .col-6,
	main .col-8, main .col-4, main .col-4a {
		width: 97.2%;
	}
	
	.home main .col-4, .home main .col-4a {
		width: 47.2%;
	}
	
	/* navigation */
	#mobile-nav {
		cursor: pointer;
		display: block;
		height: 26px;
		margin: 20px 10px 22px;
		padding-top: 11px;
		width: 30px;
	}
	
	.hamburger-menu {
		float: left;
		position: relative;
	}
	
	.hamburger-menu,
	.hamburger-menu:before,
	.hamburger-menu:after {
		background: #414042;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		-ms-border-radius: 5px;
		-o-border-radius: 5px;
		border-radius: 5px;
		display: block;
		height: 5px;
		width: 30px;
	}
	
	.hamburger-menu:before,
	.hamburger-menu:after {
		content:"";
		position: absolute;
	}
	
	.hamburger-menu:before {
		top: 10px;
	}
	
	.hamburger-menu:after {
		bottom: 10px;
	}
	
	nav {
		display: none;
		float: none;
	}
	
	nav li {
		display: block;
		float: none;
	}
	
	.sub-menu {
		display: block;
		position: relative;
		width: 100%;
	}
	
	.sub-menu .sub-menu {
		position: relative;
			left: auto;
	}
	
	/* clients logos */
	.g-col-4 {
		width: 50%;
	}
	
	.clients-gallery .g-col-4:not(:nth-child(2n)) {
		padding-right: 9px;
	}
	
	.clients-gallery .g-col-4:nth-child(2n) {
		padding-right: 0;
	}

	.clients-gallery .g-col-4:nth-child(3n+1) {
		clear: none;
	}
	
	.clients-gallery .g-col-4:nth-child(2n+1) {
		clear: both;
	}

}

@media (max-width: 550px) { 
	main .nested .col-6 {
		margin-right: 0;
		width: 100%;
	}
	
	.post img {
		height: auto;
		width: 100%;
	}

}

@media (max-width: 480px) { 
	.slide-text {
		display: none;
	}
	
	.home main .col-4, .home main .col-4a,
	footer .col-8, footer .col-4 {
		width: 97.2%;
	}

	#thumbnails img {
		height: auto;
		width: 100%;
	}
	
	/* clients logos */
	.g-col-4 {
		padding-right: 0 !important;
		width: 100%;
	}
}