

.wrap ul {
  list-style: none;
  width: 100%;
  margin: 0 auto;
	background: black;
	display: table;
  table-layout: fixed;
	direction: rtl;
	
}
.wrap ul li {
  width: 5%;
  height: 100vh;
  opacity: 0.4;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  display: table-cell;	
	position: relative;
}

.wrap ul li:hover, .wrap ul li:first-child ~ li:last-child {
  width: 80%;
  opacity: 1;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.wrap ul li:hover ~ li:last-child {
  width: 5%;
  opacity: 0.4;
}


.wrap ul li:nth-child(1) {
  background: url("../images/slide-proyecto-5.jpg") top center no-repeat #a37752;
	background-size: cover;
	opacity: 0.2;
}
.wrap ul li:nth-child(5) {
  background: url("../images/slide-proyecto-2.jpg") top right no-repeat #cf7046;
	background-size: cover;
	opacity: 0.4;
}

.wrap ul li:nth-child(3) {
 background: url("../images/proyectos/dahood/024A3247.jpg") top center no-repeat #000;
	opacity: 0.6;
	background-size: cover;
}
.wrap ul li:nth-child(4) {
  background: url("../images/slide-proyecto-6.jpg") top center no-repeat #d5d3d6;
	opacity: 0.8;
	background-size: cover;
}
.wrap ul li:nth-child(2) {
  background: url("../images/slide-proyecto-1.jpg") top center no-repeat #000;
	background-size: cover;
}


.wrap ul li:nth-child(1):hover {
 background: url("../images/slide-proyecto-5.jpg") top center no-repeat #a37752;
	opacity: 1;
	background-size: cover;
}
.wrap ul li:nth-child(2):hover {
  background: url("../images/slide-proyecto-1.jpg") top right no-repeat #cf7046;
	opacity: 1;
	background-size: cover;
}
.wrap ul li:nth-child(3):hover {
 background: url("../images/proyectos/dahood/024A3247.jpg") top center no-repeat #000;
	background-size: cover;
	opacity: 1;
}
.wrap ul li:nth-child(4):hover {
  background: url("../images/slide-proyecto-6.jpg") top center no-repeat #d5d3d6;
	opacity: 1;
	background-size: cover;
}


.wrap ul li span{
	position: absolute;
	bottom: 10vh;
	left: 80px;
	z-index: 2;
	opacity: 0;
	font-size: 50px;
	font-weight: lighter;
	letter-spacing: 2px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	transition-delay: 0.1s;
	text-align: left;
}

.wrap ul li:hover span{
	opacity: 1;
	transition-delay: 0.1s;
}

.wrap ul li h1{
	font-size: 50px;
	font-weight: lighter;
	letter-spacing: 2px;
}

.wrap ul li p{
	font-size: 14px;
	font-weight: lighter;
	letter-spacing: 1px;
}

.wrap ul li hr{
	width: 40px;
	border-top: 0;
	border-bottom: 1px solid #fff;
	text-align: left;
	position: relative;
	left: 0;
	margin: 5px 0;
	float: left;
}


@media only screen and (min-width:0px) and (max-width:1024px){
	
.wrap ul {
  width: 100%;
	height: 100vh;
	display: table;
  table-layout: fixed;
	direction:rtl;
	display: none;
}

.wrap ul li {
  width: 100%;
 height: 7%;
  opacity: 0.4;
  display: table-row;	
}
.wrap ul li:hover, .wrap ul li:first-child ~ li:last-child {
  width: 100%;
	height: 72%;
  opacity: 1;
}
.wrap ul li:hover ~ li:last-child {
  width: 100%;
	 height: 7%;
  opacity: 0.4;
}
	
}
