/* Tag-specific */

img {
	width: 100%;
	height: auto;
	border: none;
}

input {
	vertical-align: middle;
}

/* Picture slides */

.picture-slides-disabled {
	color: #eee;
}

.picture-slides-container {
	margin-bottom: 0em;
	margin-right: 1em; /* EB added */
	outline: 0px solid green;
}

.picture-slides-fade-container {
	position: relative;
	overflow: hidden;
	z-index: 1002;
}

.picture-slides-fade-container a {
	display: block;
	text-align: center;
	margin-bottom: 10px;
}

.picture-slides-image-load-fail {
	display: none;
}

.picture-slides-image-text {
	position: relative;
	background: #fff;
	text-align: center;
	padding: 5px 0 10px;
	z-index: 1001;
}

.picture-slides-thumbnails {
	list-style: none;
	margin-top: 1em;
	overflow: hidden;
	outline: 0px solid red;
}

.picture-slides-thumbnails li {
	width: 22.4%;
	float: left;
	margin: 0 2.6% 1em 0;
	padding: 0;
	outline: 0px solid orange;
}

.picture-slides-thumbnails li.last {
	width: 22.4%;
	float: left;
	margin: 0;
	padding: 0;
	outline: 0px solid orange;
}
	
.picture-slides-thumbnails li img {
	width: 100%;
}

.picture-slides-thumbnails a {
	outline: none;
}
	
.picture-slides-thumbnails a:hover {
	opacity: 0.4;
    filter: alpha(opacity=40); /* msie */
}

.picture-slides-thumbnails li .picture-slides-selected-thumbnail img {
	border: 8px solid #000;
}

/* MEDIA QUERIES */

@media only screen and (min-width: 760px) {

	.picture-slides-container {
		margin-right: 0em; /* EB added */
	}
	
	.picture-slides-thumbnails li, .picture-slides-thumbnails li.last {
		width: 10.25%;
	}
	.picture-slides-thumbnails li.last {
		margin: 0 0 0 -.25em;
	}
	
}