/**
 * 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;
	overflow: hidden;
	}
.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;
	background:#000;
	}
.gallery-item:hover {
	background:#1F2933;
}
.gallery .gallery-item img, .gallery .gallery-item img.thumbnail {
	max-width: 89%;
	height: auto;
	border:1px solid #444;
	margin: 0 auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	}
.gallery-caption {
	margin-left: 0;
	padding:5px 0;
	margin:0 5px;
	border-top:1px dotted #666;
}
.gallery-icon {
	padding:5px;
}

/* Image sizes depending on the number of columns */
.col-0 { width: 99.5%; }
.col-1 { width: 99.5%; }
.col-2 { width: 45.5%; }
.col-3 { width: 32.5%; }
.col-4 { width: 24.5%; }
.col-5 { width: 19.5%; }
.col-6 { width: 16%; }
/* decrease width by 0.5% to allow for 2px border on gallery-item - rp 1/24/10 */
.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%; }