img {max-width: 100% !important; height: auto !important;}
@media only screen and (max-width: 1399px) {
	#nav-primary li a {font-size: 13px;}
}
@media only screen and (max-width: 979px) {
	#tagline {height: 80px;}
	#footer {height: auto;}
}

/* Tablet Portrait size to Tablet Landscape (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 979px) {
	
}

@media only screen and (max-width: 780px) {
	.content-home .panel-grid-cell {text-align: center;}
	#services .widget_sow-image {
		width: 50%;
	}
}

@media only screen and (max-width: 767px) {
	#logo a {margin: 0 auto;}
	#header .widgets  {display: block;}
	#header .menu li, .form-search {float: none; clear: none;}
	#header .col-sm-8 {text-align: center;}
	#header .widget, #header .widget * {display: inline-block; vertical-align: middle;}
	#header .widget {margin:  8px;}
	#header .menu {padding: 0; margin: 0; height: auto;}
	#footer .widget {text-align: center ;}
	.thumb {max-width: 100%;}
	.project-item .thumb img {min-width: intrinsic;}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 480px) {
	#tagline {height: 120px;}
	.frs-slideshow-container .frs-skin-modern .frs-bullets-wrapper {position: relative !important; bottom: -6px !important; }
	.frs-slideshow-container .frs-wrapper.frs-skin-modern ul.frs-bullets li.frs-slideshow-nav-bullets {margin-bottom: 4px}
	#services .widget_sow-image {
		width: 100%;
	}
}

@media only screen and (max-width: 320px) {
	#tagline {height: 160px;}
}




/*	Retina media query.
	Overrides styles for devices with a 
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {
	
		
}