@media screen and (max-width: 980px) {

	

	/* set img max-width */
	img {
		width: auto\9; /* ie8 */
		max-width: 100%;
		height: auto;
	}

	/************************************************************************************
	STRUCTURE
	*************************************************************************************lol
	.pagewidth {
		max-width: 94%;
	}
		
	/* content *lol
	#content {
		margin: 7% 0 5%;
	}
	.sidebar1 #content {
		max-width: 67.8%;
	}
	
	/* sidebar *lol
	#sidebar {
		margin: 7% 0 5%;
		max-width: 26.2%;
	}
	#sidebar .secondary {
		max-width: 47%;
	}
	
	/* loops-wrapper *lol
	.grid4 .loops-wrapper,
	.grid3 .loops-wrapper,
	.grid2 .loops-wrapper,
	.grid2-thumb .loops-wrapper {
		max-width: 105%;
	}
	
	/************************************************************************************
	GRID
	*************************************************************************************lol
	.col4-1,
	.col4-2,
	.col4-3,
	.col3-1,
	.col3-2,
	.col2-1
	{
		margin-left: 2%;
	}
	.first {
		margin-left: 0;
	}
	.col4-1 {
		max-width: 23%;
	}
	.col4-2, .col2-1 {
		max-width: 48%;
	}
	.col4-3 {
		max-width: 72%;
	}
	.col3-1 {
		max-width: 31%;
	}
	.col3-2 {
		max-width: 62%;
	}
	
}


@media screen and (min-width: 481px) {

	/* ensure #nav and #searchform is visible on desktop version */
	

}

@media screen and (min-width: 481px) {

#slider-inner	{
	background: none repeat scroll 0 0 #FFFFFF;
    padding: 10px;
}

#header	{
	border: 10px solid #000;
}

#layout	{
	padding: 10px;
	background: #fff;
	margin-top: 0px;
	margin-bottom: 40px;
}
	.sub-menu	{
		margin-top: 0!important;
		background: #000!important;
		border: 0!important;
	}

	.sub-menu li a {
		color: #426C9E!important;
	}

	#header #searchform	{
		top: 6px;
	}

	/* ensure #nav and #searchform is visible on desktop version */
	#navy {
		display: block !important;
	}
	
	#menu	{
	display: none;
	}

}


@media screen and (max-width: 480px) {

	

	#headerwrap	{
		background: none repeat scroll 0 0 #000000;
    position: relative;
    top: -10px;
	}

	#body	{
		background: #fff;
		padding-top: 5px;
	}

	#footer-nav	{
		margin: 0;
	}
	
	#footer-nav	{
		width: 100%;
margin-bottom: 30px;
	}

	#footer-nav li	{
		display: block;
		text-align: center;
	}

	/************************************************************************************
	STRUCTURE
	**************************************************************************************/
	.lol	{
	ds
	}
	.pagewidth {
		max-width: 94%;
	}
		
	/* content **/
	#content {
		margin: 7% 0 5%;
	}
	.sidebar1 #content {
		max-width: 67.8%;
	}
	
	/* sidebar **/
	#sidebar {
		margin: 7% 0 5%;
		max-width: 26.2%;
	}
	#sidebar .secondary {
		max-width: 47%;
	}
	
	/* loops-wrapper **/
	.grid4 .loops-wrapper,
	.grid3 .loops-wrapper,
	.grid2 .loops-wrapper,
	.grid2-thumb .loops-wrapper {
		max-width: 105%;
	}
	
	/************************************************************************************
	GRID
	**************************************************************************************/
	.col4-1,
	.col4-2,
	.col4-3,
	.col3-1,
	.col3-2,
	.col2-1
	{
		margin-left: 2%;
	}
	.first {
		margin-left: 0;
	}
	.col4-1 {
		max-width: 23%;
	}
	.col4-2, .col2-1 {
		max-width: 48%;
	}
	.col4-3 {
		max-width: 72%;
	}
	.col3-1 {
		max-width: 31%;
	}
	.col3-2 {
		max-width: 62%;
	}


	#menu	{
	display: block!important;
	padding: 6px;
	text-decoration: none;
	position: relative;
	left: 6px;
	top: 6px;
	font-size: 18px;
	}
	

	#navy ul	{
		background: #000;
		position: relative;
		top: 4px;
	}
	
	#searchform {
		position: relative;
		top: 2px!important;
	}
	
	.sub-menu	{
	
		z-index: 999;
	}

	#navy li	{
		display: block;
		padding: 6px;
	}

	
	 #site-description{
		position: absolute !important;
    	top: 10px;
    	width: 140px;
    	right: 0px;
	}
	
	#header #s {
    display: block;
    left: inherit;
    right: 0;
    top: 60px;
    width: 150px;
    position: absolute;
    display: block;
    float: right;
    position: absolute;
    right: 110px;
    top: 4px;
}
	
	.main-nav li {
    display: block;
    list-style: none outside none;
    margin: 0 10px 0 0;
    padding: 0;
    float: none!important;
    position: relative;
}


	.sub-menu	{
		margin-top: 0!important;
		background: #000!important;
		border: 0!important;
	}

	.sub-menu li a {
		color: #426C9E!important;
	}

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/************************************************************************************
	GRID
	*************************************************************************************/
	.col4-1,
	.col4-2, .col2-1,
	.col4-3,
	.col3-1,
	.col3-2	 {
		margin-left: 0;
		width: 100%;
		max-width: 100%;
	}

	/************************************************************************************
	HEADER
	*************************************************************************************/
	/* site logo */
	#site-logo {
		font-size: 42px;
		text-align: left;
		padding: 0 90px 0 0;
		width: auto;
		margin: 10px 0;
	}
	
	/* site description */
	#site-description {
		text-align: left;
		margin: 0 0 10px;
	}
	
	/* searchform */
	#header #searchform {
		left: inherit;
		right: 0;
		top: 10px;
		width: 150px;
	}
	#header #searchform #s {
		float: right;
	}
	
	/* social widget */
	.social-widget {
		position: static !important;
		margin: 10px 0;
		float: none;
		padding: 0;
	}

	/************************************************************************************
	MAIN NAV
	*************************************************************************************/
	#main-nav {
		text-align: left;
	}
	#main-nav a {
		margin: 0 10px 0 0;
	}
	
	/************************************************************************************
	SLIDER
	*************************************************************************************/
	.slide-excerpt {
		display: none;
	}
	.slides .slide-post-title {
		font-size: 100%;
	}

	/************************************************************************************
	LAYOUT
	*************************************************************************************/
	/* loops-wrapper */
	.loops-wrapper {
		margin-left: 0 !important;
		width: auto !important;
	}

	/* post */
	.post {
		width: 100% !important;
		margin-left: 0 !important;
		float: none;
	}
	
	/************************************************************************************
	POST NAV
	*************************************************************************************/
	.post-nav .prev, .post-nav .next {
		display: block;
		width: 100%;
		clear: both;
		margin-bottom: 10px;
	}
	
	/************************************************************************************
	COMMENTS
	*************************************************************************************/
	.commentlist {
		padding-left: 0;
	}
	.commentlist .commententry {
		clear: left;
	}
	.commentlist .avatar {
		float: left;
		width: 40px;
		height: 40px;
		margin: 0 10px 10px 0;
	}

	/* commentlist sub-levels */
	.commentlist ul, .commentlist ol {
		margin: 0 0 0 7%;
	}

	/************************************************************************************
	FOOTER
	*************************************************************************************/
	#footer-logo {
		position: static !important;
	}
	.footer-nav {
		padding: 0;
	}

}