.reveal {
  margin-left: 0;
  cursor: pointer;
  /*top: -29px !important;
  left: -25px !important;*/
}

/*.reveal > img {
  width: 50px;
}*/

.reveal-content {
  /*max-width: 600px;
  width: auto;
  height: 340px;*/
  padding: 10px;
  background-color: #fff;
  opacity: 0;
  text-align: center;
  pointer-events: none;
  position: absolute;
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  /*top: 15px;*/
}

.reveal-content-inn {
  /*width: 100%;
  height: 290px;*/
  position: relative;
  overflow: hidden;
}

.reveal-content img {
  /*width: 300px;*/
  opacity: 0;
  transition: width .01s ease-in-out,opacity .01s ease-in-out;
}

.reveal-content p {
  margin: 10px 0;
  color: #2d2d2d;
  margin-top: -20px;
  opacity: 0;
  transition: margin .01s ease-in-out,opacity .01s ease-in-out;
}

.reveal:focus + .reveal-content, .reveal-content:focus, .reveal:hover + .reveal-content, .reveal-content:hover {
  opacity: 1;
  pointer-events: all;
  border-radius: 5px;
  transition: opacity .3s ease-in-out .3s;
  overflow: hidden;
  position: relative;
}

.reveal:focus + .reveal-content img, .reveal-content:focus img, .reveal:hover + .reveal-content img, .reveal-content:hover img {
  opacity: 1;
  transition: width .3s ease-in-out .4s,opacity .3s ease-in-out .4s;
  /*height: 290px;
  width: initial;*/
  position: relative;
  left: 50%;
  transform: translate(-50%, 0%);
}

.reveal:focus + .reveal-content p, .reveal-content:focus p, .reveal:hover + .reveal-content p, .reveal-content:hover p {
  margin-top: 4px;
  opacity: 1;
}

.reveal-content p {
  margin: auto;
  overflow: hidden;
  padding-right: 15px;
  max-width: 96%;
  height: 27px;
  line-height: 17px;
  display: table;
  margin-bottom: 5px;
}

.reveal-content p > span {
  display: table-cell;
  vertical-align: middle;
  height: 27px;
}

/* for android mobils only starts css*/
.reveal.hovered + .reveal-content {
  opacity: 1;
  pointer-events: all;
  border-radius: 5px;
  transition: opacity .3s ease-in-out .3s;
  width: 200px;
  height: 160px;
  margin-top: 0px;
  position: relative;
  overflow: hidden;
}

.reveal.hovered + .reveal-content .reveal-content-inn {
  height: 109px;
}

.reveal.hovered + .reveal-content img {
  opacity: 1;
  transition: width .3s ease-in-out .4s,opacity .3s ease-in-out .4s;
  height: 115px;
  width: initial;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
}

.reveal.hovered + .reveal-content p {
  margin-top: 5px;
  opacity: 1;
}

.reveal.hovered+ .reveal-content p > span {
  width: 177px;
}
/* for android mobils only ends css*/

.pictureTitle {
  bottom: 0;
  left: 50%;
  z-index: 2;
  position: absolute;
  transform: translateX(-50%);
  margin-right: -50%;
  width: 100%;
}

@media (min-width:769px) {
    .reveal-content {
        max-width: 600px;
        width: auto;
        height: 340px;
    }
    .reveal-content-inn {
        width: 100%;
        height: 290px;
    }
    .reveal-content img {
        /*width: 300px;*/
        height: 290px;width: initial;
    }
    .reveal:focus + .reveal-content img, .reveal-content:focus img, .reveal:hover + .reveal-content img, .reveal-content:hover img {
     /*height: 290px;width: initial;*/
    }
}
@media (max-width:768px) {
    .reveal-content {max-width: 200px;width: auto;height: 160px;}
    .reveal-content-inn {width: 100%;height:110px;}
    .reveal-content img {height:120px;}
    /*.reveal:focus + .reveal-content img, .reveal-content:focus img, .reveal:hover + .reveal-content img, .reveal-content:hover img {height: 160px;}
    .reveal:hover + .reveal-content, .reveal:focus + .reveal-content{max-width: 200px;height: 160px;}
    .reveal:hover + .reveal-content .reveal-content-inn, .reveal:focus + .reveal-content .reveal-content-inn {height: 109px;}
    .reveal:hover + .reveal-content img, .reveal:focus + .reveal-content img {height: 115px;width: initial;}
    .reveal:hover + .reveal-content p > span, .reveal:focus + .reveal-content p > span {width: 177px;}*/
    
    /*.reveal {width: 55px;height: 55px;top: -28px !important;left: -20px !important;}
    .reveal > img {margin: 7px 0;width: 40px;}*/

}