#category li{
  -webkit-transition: color 0.3s; /* Safari */
  -o-transition: color 0.3s;
  transition: color 0.3s;
}

#category li:hover{
	cursor: pointer;
	color: #74bd47;
}

#category ul{
	padding: 2vh 0 0 0;
}

.title{
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
  display: inline;
	float: center;
	padding: 8px 12px 8px 12px;
	font-size: 20px;
}

.lead{
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 20px;
  line-height: 1.5;
}

.active-category{
    color: #74bd47 !important;
    -webkit-box-shadow: inset 0px 3px 0px #74bd47;
            box-shadow: inset 0px 3px 0px #74bd47;
    cursor: default !important;
		background-color: #fbfbfb;
}

@media screen and (max-width: 450px) {
	.lead{
		margin-bottom: 3px;
    font-size: 15px;
	}

  .title{
  	font-size: 15px;
  }
}

@media screen and (max-width: 350px) {
	.lead{
    font-size: 14px;
	}

  .title{
  	font-size: 13px;
  }
}

/*###################################*/
#constructions{
	text-transform: uppercase;
}

#constructions .row{
	margin-bottom: 10vh;
}

.construction{
	padding: 7px;
}

.construction a{
    text-decoration: none;
}

.residence,
.residence-img,
.residence-layer,
.residence > a{
	min-height: 340px !important;
}

.construction-layer{
	background-color: rgba(0,0,0,0);
	transition: background-color 0.5s ease-in-out;
	-webkit-transition: background-color 0.5s ease-in-out;
	-moz-transition: background-color 0.5s ease-in-out;
	-o-transition: background-color 0.5s ease-in-out;
  min-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.construction-layer:hover{
	background-color: rgba(0,0,0,0.4);
}

.construction p,
.construction h3{
	opacity:0 !important;
	transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	text-align: center;
	color: #fff;
}

.construction:hover p,
.construction:hover h3{
  opacity: 1 !important;
}

.construction h3{
	font-size: 21px;
}

.construction p{
	font-size: 17px;
	padding-left: 30px;
	padding-right: 30px;
}

@media screen and (max-width: 380px) {
  .construction-layer{
    padding: 0;
    min-height: 320px;
  }
}
@media screen and (max-width: 769px) {
	.construction-layer{
		background-color: rgba(0,0,0,0.27);
	}

	.construction p,
	.construction h3{
	  opacity: 1 !important;
	}
}
