@import url(http://weloveiconfonts.com/api/?family=entypo);
[class*="entypo-"]:before {
  font-family: 'entypo', sans-serif;
}
.center-block, .carrousel, .carrousel .wrapper {
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.gallery {
  list-style: none;
}

.portrait {
  width: 300px;
  box-shadow: 0 0 3px #555;
  background-color: #FFF;
  padding: 5px;
  margin: 10px 0px 0px 15px;
  text-align: center;
  cursor: pointer;
  float: left;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-filter: grayscale(30%);
  filter: grayscale(30%);
}
.portrait:hover {
  -moz-transform: scale(1.04, 1.04);
  -ms-transform: scale(1.04, 1.04);
  -webkit-transform: scale(1.04, 1.04);
  transform: scale(1.04, 1.04);
  box-shadow: 0 0 5px #555;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}
.portrait .pic {
  width: 100%;
  margin: 5px 0;
}

.portrait2 {
  display: none;
  width: 300px;
  box-shadow: 0 0 3px #555;
  background-color: #FFF;
  padding: 5px;
  margin: 10px 0px 0px 15px;
  text-align: center;
  cursor: pointer;
  float: left;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-filter: grayscale(30%);
  filter: grayscale(30%);
}
.portrait2:hover {
  -moz-transform: scale(1.04, 1.04);
  -ms-transform: scale(1.04, 1.04);
  -webkit-transform: scale(1.04, 1.04);
  transform: scale(1.04, 1.04);
  box-shadow: 0 0 5px #555;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}
.portrait2 .pic {
  display: none;
  width: 100%;
  margin: 5px 0;
}

.portrait .date {
  font-size: 10px;
  font-weight: bold;
}
.portrait .foot {
  font-size: 11px;
}
.portrait .foot .heart {
  margin-left: 4px;
}

.carrousel {
  position: fixed;
  background-color: rgba(10, 10, 10, 0.8);
  display: none;
  top:77px;
  bottom:0px;
  z-index:100;
}
.carrousel .wrapper {
  width: 600px;
  height: 600px;
  top:50%;
  margin-top:-300px;
  overflow: hidden;
}
.carrousel .wrapper > img {
  width: 100%;
}

.close {
  cursor: pointer;
  color: #FFF;
  position: absolute;
  top: 0px;
  right: 12px;
  font-size: 35px;
}
.close:hover {
  font-size: 40px;
  color: #DDD;
}

@media(max-width: 991px) and (min-width: 767px){
  .portrait {
    margin: 10px 20px 0px 20px;
  }
  .carrousel {
    top:0px;
  }
}
@media (max-width:767px) {
  .portrait {
    display: none;
  }
  .portrait2 {
    display: block;
    margin: 5px 0px 5px 0px;
  }
  .portrait2 .pic {
    display: block;
  }
}