/**

 * Cleaner Gallery Stylesheet

 * Default style rules for the Cleaner Gallery plugin for WordPress.

 *

 * @copyright 2008 - 2009

 * @version 0.6

 * @author Justin Tadlock

 * @link http://justintadlock.com/archives/2008/04/13/cleaner-wordpress-gallery-plugin

 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

 *

 * This program is distributed in the hope that it will be useful,

 * but WITHOUT ANY WARRANTY; without even the implied warranty of

 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 *

 * @package CleanerGallery

 */



.gallery {

	display: block;

	clear: both;

	overflow: hidden;

	margin: 0 auto;

	}

.gallery .gallery-row {

	display: block;

	clear: both;

	overflow: hidden;

	margin: 0;

	}

.gallery .gallery-item {

	overflow: hidden;

	float: left;

	margin: 0;

	text-align: center;

	list-style: none;

	padding: 0;

	}

.gallery .gallery-item img, .gallery .gallery-item img.thumbnail {

	max-width: 89%;

	height: auto;

	padding: 1%;

	margin: 0 auto;

	}

.gallery-caption {

	margin-left: 0;

	}



/* Image sizes depending on the number of columns */

.col-0 { width: 100%; }

.col-1 { width: 100%; }

.col-2 { width: 50%; }

.col-3 { width: 33%; }

.col-4 { width: 25%; }

.col-5 { width: 20%; }

.col-6 { width: 16.5%; }

.col-7 { width: 14%; }

.col-8 { width: 12.4%; }

.col-9 { width: 11%; }

.col-10 { width: 10%; }

.col-11 { width: 9%; }

.col-12 { width: 8.33%; }

.col-13 { width: 7.6%; }

.col-14 { width: 7.1%; }

.col-15 { width: 6.66%; }

.col-16 { width: 6.25%; }

.col-17 { width: 5.83%; }

.col-18 { width: 5.55%; }

.col-19 { width: 5.25%; }

.col-20 { width: 4.95%; }