/* Fixes to the 'proxima' theme for the static impworks.gr site; loaded after the theme's stylesheets. */

/* Project panel: the theme fixes it at 960px and has no rule for narrower screens, so on tablets and phones
   the open panel was cut off on the right. Below 961px it now takes the width of its container; its columns
   (grid.css) and images (max-width: 100%) already adapt. */
@media only screen and (max-width: 960px) {
	#ajax_portfolio_wrapper { width: auto; }
}

/* Project tiles on tablets (768-960px): screen.css fixes the grid at 985px (the 960px column plus 25px for the
   tiles' right margins) and outranks grid.css's tablet width, so the second tile was cut off. Same allowance
   on the 726px tablet column: 746px. (Below 768px grid.css already handles it.) */
@media only screen and (min-width: 768px) and (max-width: 960px) {
	#portfolio_filter_wrapper.gallery { width: 746px; }
}
