/* =Responsive Structure
----------------------------------------------- */
/* restructure at iPad/netbook level */
@media (max-width: 1023px) {
	body { text-shadow: none; }
	#page-wrapper, .region-page-closure {
	    width: 100%;
	}
	#page {
		padding: 0 1em;
	}
	#content, .no-sidebars #content {
		float: left;
		margin-left: 0;
		margin-right: -100%;
		padding: 0;
		width: 100%;
	}
	.two-sidebars #content, 
	.sidebar-second #content {
		width: 75%; /* 720/960 */
		margin-left: 0px;
		margin-right: -75%;
	}
	
	.two-sidebars #content-area .node {
		float: left;
		width: 63.8889%; /* 460/720 */
		margin: 0;
	}
	.two-sidebars .region-sidebar-first {
		float: right;
		width: 31.9444%; /* 230/720 */
		padding: 0;
		margin: 0;
	}
	
	.region-sidebar-second {
		float: right;
		margin-left: -25%;
		margin-right: 0;
		width: 25%;
	}
	#content img {
		max-width: 100%;
		height: auto;
	}
	#footer .section {
		padding-left: 20px;
		padding-right: 20px;
	}
}
/* We're okay on dev, but with a real site we might want this level. */
@media (max-width: 800px) {
	body {}
}
/* twentyeleven reduces font sizes here */
/* Bring the 2 sidebars down below the content, make them full width */
@media (max-width: 650px) {
	body {
		font-size: 16px;
		line-height: 22px;
	}
	#content, .node {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}
	.two-sidebars #content .section,
	.sidebar-first #content .section, 
	.sidebar-second #content .section {
		padding: 0 !important;
	}
	.region-sidebar-second, .region-sidebar-first, .rc_talks_feed, .fr_talks_feed {
		float: none !important;
		margin-top: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		clear: both;
	}
	.region-sidebar-second .section, .region-sidebar-first .section {
		margin: 0;
	}
	.region-content-bottom .block {
		width: 100%;
		padding: 0 2%;
	}
	/* hide slideshow, show smaller static image */
	.view-homepage-slideshow {
		display: none !important;
	}
	/* navigation */
	#mobile-nav-toggle {
		display: block;
		visibility: visible;
	}
	#block-nice_menus-4 {
		display: none;
	}
}
@media (max-width: 575px) {
	#logo {
		margin-top: 10px;
	}
	#site-slogan {
		float: none;
		margin-top: 0;
		padding-top: 40px;
		text-align: right;
	}
}
/* iPhone? */
@media (max-width: 450px) {
	body {}
	.with-navigation #content, .with-navigation .region-sidebar-first, .with-navigation .region-sidebar-second {
		margin-top: 0;
	}
	#header .region-header {
		position: relative;
		top: auto;
		right: auto;
	}
	#search-box {
		position:relative;
		margin: 8px 0;
		top: auto;
		right: auto;
	}
	#navigation {
		height: auto;
		float: none;
		overflow: visible;
	}
	#navigation li {
		float: none;
	}
	#navigation a {
		display: block;
	}
	.region-sidebar-second, .region-sidebar-first {
		float: none !important;
		width: 100% !important;
	}
	.region-sidebar-first .section, .region-sidebar-second .section {
		margin: 0;
	}
	/* If navigation HTML is below the content, uncomment this: *\/
	#navigation {
		margin-left: 0;
		margin-right: 0;
	} /\* end */
}
/* Assorted other phones? */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {}
}
