/* Pytheas responsive rules (static rebuild). The slicknav mobile menu was
   hidden on the original site (div.slicknav_menu {display:none}), so the
   regular menu simply wraps on small screens. */

@media only screen and (max-width: 1040px) {
	#wrap { margin: 20px; }
}

@media only screen and (max-width: 768px) {
	#wrap { margin: 0; padding: 0 16px; border-radius: 0; box-shadow: none; }
	#masthead { padding: 25px 0 20px; text-align: center; }
	#masthead .logo, .masthead-right { float: none; text-align: center; }
	#masthead .logo h1, #masthead .logo h2 { font-size: 28px; }
	.masthead-right-content { display: none; }
	.masthead-search { margin-top: 15px; }
	.masthead-search input[type="search"] { width: 100%; }

	#site-navigation { float: none; }
	#site-navigation li { float: none; display: block; }
	#site-navigation a { line-height: 44px; border-right: 0; border-bottom: 1px solid #2f2f2f; }
	#site-navigation li.menu-item-first a { border-radius: 3px 3px 0 0; }
	#site-navigation li.menu-item-last a { border-bottom: 0; }

	.alignright, .alignleft { float: none; display: block; margin: 0 auto 15px; }

	.span_12 { width: 100%; float: none; }
	#copyright, #footer-menu { text-align: center; }
	#footer-menu { margin-top: 8px; }
	#footer-menu li { margin: 0 7px; }
}
