html, body{
  height: 100%;
}

.masonry-container {
  width: 100%;
  position:relative;
}

.masonry {
  margin: 0 auto;
  position: relative;

}

.masonry::after{
  content: '';
  clear: both;
}

.masonry .masonry-item {
  text-align: center;

  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  /* width:23%; */
  margin: 1%;
}


.masonry .masonry-item img {
  width: 100%;
}

.modal .txt1{
  /*word-break: break-all; */
} 
.modal .txt2{
  line-height: 20px;
  height:60px;
  padding: 0;
  font-size:18px;
  font-weight: bold;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto;
  /* white-space: nowrap; */
  word-wrap: break-word;
  word-break: break-all;
}

.modal .txt3{
  text-align: center;
  height:45px;
  font-size: 16px;
  overflow: hidden;
  margin: 0 auto;
  /* white-space: nowrap; */
  word-wrap: break-word;
  word-break: break-all;
}

p{
  margin: 0;
}

.modal label{
  font-weight: bold;
}

.modal input{
  background-color: #efefef;
}



/****swiper*****/
.swiper{
  width: 100%;
  position: relative;
  overflow:hidden;
  padding:1.5rem 0;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  padding: 1rem;

  border: 1px solid #999999;
  border-radius:15px;
  overflow:hidden;
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

  width: 300px;
  height: 300px;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}


.swiper-slide-shadow-right{
    background-image: -webkit-gradient(linear,left top,right top,from(rgb(0 0 0 / 20%)),to(rgba(0,0,0,0)))!important;
    background-image: -webkit-linear-gradient(left,rgb(0 0 0 / 20%),rgba(0,0,0,0))!important; 
    background-image: -o-linear-gradient(left,rgb(0 0 0 / 20%),rgba(0,0,0,0))!important;
    background-image: linear-gradient(to right,rgb(0 0 0 / 20%),rgba(0,0,0,0))!important;
}

.swiper-slide-shadow-left{
    background-image: -webkit-gradient(linear,left top,right top,from(rgb(0 0 0 / 20%)),to(rgba(0,0,0,0)))!important;
    background-image: -webkit-linear-gradient(right,rgb(0 0 0 / 20%),rgba(0,0,0,0))!important; 
    background-image: -o-linear-gradient(right,rgb(0 0 0 / 20%),rgba(0,0,0,0))!important;
    background-image: linear-gradient(to left,rgb(0 0 0 / 20%),rgba(0,0,0,0))!important;
}

.swiper-slide-next,.swiper-slide-prev{
  color:#999999 !important;
}


@media screen and (min-width: 320px) {
  .masonry-item{
    width:48%;
  }
  
  .textoutimg {
    font-size: 0.8rem;
  }

}

@media screen and (min-width: 540px) {
  .masonry-item{
    width:48%;
  }

}

@media screen and (min-width: 768px) {
  .masonry-item{
    width:31%;
  }

}

@media screen and (min-width: 1000px) {
  .masonry-item{
    width:23%;
  }

}