
/* apply a natural box layout model to all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* .my_container ul { */
  /* list-style: none; */
  /* margin: 0 0 0 0; */
  /* padding: 0 0 0 0; */
  /* clear: both; */
/* } */
.img-all-div .block {
  width: 100%;
    height: 300px;

    position: relative;
    float: left;
    /* margin: 0 10px; */
    padding: 0 0 25% 0;
    transition: 0.8s ease;
}
.img-all-div {
	margin:10px 0;
}
.img-all-div .block:hover span {
  height: 50%;
}
@media screen and (max-width: 1280px) {
  .img-all-div .block {
    width: 25%;
    padding-bottom: 25%;
	margin-bottom:10px;
  }
}
@media screen and (max-width: 1024px) {
  .img-all-div .block {
    width: 33.33%;
    padding-bottom: 33.33%;
	margin-bottom:10px;
  }
}
@media screen and (max-width: 600px) {
  .img-all-div .block {
    width: 50%;
    padding-bottom: 50%;
	margin-bottom:10px;
  }
}
@media screen and (max-width: 360px) {
  .img-all-div .block {
    width: 100%;
    padding-bottom: 100%;
	margin-bottom:10px;
  }
}
.img-all-div .block img {
  max-width: none;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.img-all-div .block span {
	width: 100%;
    height: 4rem;
    font-size: 20px !important;
    line-height: 4rem;
    position: absolute;
       bottom: -7px;
    left: 0;
    padding: 0 1rem;
    font-size: 1.3rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.8s ease;
}

