/* Projects
*****************************************************************/

.section-projects #branding {
	margin-bottom: 20px;
}
.project-thumbs {
	margin: 0;
	padding: 0;
	list-style: none;
	}
	.project-thumbs li {
		float: left;
		margin: 0 2.1277% 2.1277% 0; /* 20px / 940px */
		padding: 0;
		width: 23.4043%; /* 220px / 940px */
		background: none;
		}
		.project-thumbs li.modulo-4 {
			margin-right: 0;
			}
		.project-thumbs li img {
			max-width: 100%;
			height: auto;
		}
		.project-thumbs a {
			position: relative;
			display: block;
			}
		.project-thumbs .hover {
			display: none;
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			overflow: hidden;
			}
			.project-thumbs .hover h2 {
				position: absolute;
				left: 0;
				bottom: 0;
				margin: 0;
				padding: 0;
				width: 100%;
				color: #fff;
				font-size: 14px;
				font-weight: normal;
				font-style: normal;
				text-align: center;
				background: #231f20;
				background: rgba(35, 31, 32, 0.7);
				}
				.project-thumbs .hover h2 span {
					padding: 5%;
					display: block;
					}
.project.main {
	width: 100%;
	}
	.project.main .contenuto {
		width: 23.4043%; /* 220px / 940px */
		}
	.gallery {
		position: relative;
		width: 100%; /* 700px / 940px */
		max-width: 937px;
		float: right;
		}
		.gallery .images {
			position: relative;
			width: 100%; /* 700px / 940px */
			max-height: 622px; /* Ensures gallery isn't too tall while loading. Assumes images are 700x460px */
			background: #d5d4d4 url('../img/ajax-loader.gif') 50% 50% no-repeat;
			}
			.gallery img {
				max-width: 100%; /* 700px / 940px */
				height: auto;
				/* Stack images on top of each other */
				float: left;
				margin-right: -100%;
				}
			.photo-credit {
				text-align: center;
				font-size: 12px;
				margin: 20px 0 0 0;
				}
.page-project-detail #branding {
	margin-bottom: 0;
}	
.project-next-prev {
	/* height: 12px;*/
	margin: 0 0 30px 0;
	padding: 9px 0 10px 0;
	overflow: auto;
	line-height: 1;
	border-bottom: 1px solid #b7b6b6;
	}
.gallery-next-prev {
	visibility: hidden;  /* will be revealed by jQuery */
	/*height: 11px;*/
	/*width: 36px;*/
	/*position: absolute;*/
	/*bottom: 0;*/
	/*left: 50%;*/
	margin: 20px 0 0 0;/*ERA 20;*/
	text-align: center;
	}
	.next,
	.prev {
		height: 12px;
		text-decoration: none;
		line-height: 1;
		font-size: 11px;
		text-transform: uppercase;
	}
	.next span,
	.prev span {
		/* display: none;*/
		letter-spacing: 1px;
		padding: 1px 0;
		display: block;
		}
	.project-next-prev .next:hover span,
	.project-next-prev .prev:hover span {
		/* display: block; */
	}
	
	
	.next {
		position:absolute; height: 70px; width: 140px; top:50%; margin-top:-21px; opacity:1;
		right:0px; background:url('../img/sprite-arrows.png') -69px 0;
		}
		.next:hover {
			background-position: -69px -70px;
			}
	.prev {
		position:absolute; height: 70px; width: 69px; top:50%; margin-top:-21px; opacity:1;
		left:0px; background:url('../img/sprite-arrows.png') 0 0;
		}
		.prev:hover {
			background-position:0 -70px;
			}
	.project-next-prev .next {
		padding-right: 22px;
		}
	.project-next-prev .prev {
		padding-left: 22px;
		}
	.gallery-next-prev .next, 
	.gallery-next-prev .prev {
		float: none;
		display: inline-block;
		width: 70px;
		text-indent: -9999px;
		}