.nav-tabs,.nav-pills {
	list-style: none;
}

.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after {
	display: table;
	line-height: 0;
	content: "";
}

.nav-tabs:after,.nav-pills:after {
	clear: both;
}

.nav-tabs > li,.nav-pills > li {
	float: left;
}

.nav-tabs > li > a,.nav-pills > li > a {
	padding: 8px 12px;
	margin-right: 2px;
	line-height: 14px;
}


.thumbnails {
	margin: 0;
	list-style: none;
	padding: 0;
}

.thumbnails:before,.thumbnails:after {
	display: table;
	line-height: 0;
	content: "";
}

.thumbnails:after {
	clear: both;
}

.row-fluid .thumbnails {
	margin-left: 0;
}

.thumbnails > li {
	float: left;
	display: block;
	position: relative;
	margin-bottom: 4%;
	margin-right:  0.80%;
	margin-left:  0.80%;
	width: 48%;
}

@media (max-width: 1003px) {
	.thumbnails > li {
		width: 48%;
	}
}

.thumbnail {
	display: block;
	padding: 4px;
	line-height: 20px;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	box-shadow: 0 1px 3px rgba(0,0,0,0.055);
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

a.thumbnail:hover,a.thumbnail:focus {
	border-color: #08c;
	-webkit-box-shadow: 0 1px 4px rgba(0,105,214,0.25);
	-moz-box-shadow: 0 1px 4px rgba(0,105,214,0.25);
	box-shadow: 0 1px 4px rgba(0,105,214,0.25);
}

.thumbnail > img {
	display: block;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.thumbnail .caption {
	padding: 9px;
	color: #555;
}