html, body{
  height: 100%;
}

.effectopa1{
  transition: opacity 2s; /* Transition should take 0.3s */
  -webkit-transition: opacity 2s; /* Transition should take 0.3s */
  opacity: 0.1; /* Set opa*/
}

.effectopa2{
  transition: opacity 0.5s; /* Transition should take 0.3s */
  -webkit-transition: opacity 0.5s; /* Transition should take 0.3s */
  opacity: 0.5; /* Set opa*/
}


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

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

}

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

.masonry .masonry-item {
  text-align: center;
  max-width: 100%;
  margin: 1%;
  /* width: 23%; */
}
.grid-sizer,
.grid-item {
    width: 280px;
}

.gutter-sizer {
  width: 4%;
}


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

.masonry .masonry-item .masonry-content{

  border-radius: 15px;
  overflow: hidden;

  /* font-size: calc(1vw + 1vh + 1vmin) */

}

.masonry .masonry-item .withtext{
  background:#ffffff;
  padding: 7px;
}

.masonry .masonry-item .withtext img{
  border-radius: 10px;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}


.masonry .masonry-item .ctext{
  width:100%;
  height:100%;
  position:absolute; 
  top:0;
}

.masonry .masonry-item .ctext .cwishtext{
  width:100%;
  font-size: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}


.masonry .masonry-item .ctext .cname{
  line-height: 20px;
  height:60px;
  padding: 0;
  font-weight: bold;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.masonry .masonry-item .txtname{
  font-size: 1.2em;
  word-wrap: break-word;
  /* word-break: break-all; */
}


.masonry .masonry-item .ctext .cinst{
  text-align: center;
  height:45px;
  overflow: hidden;
}

.masonry .masonry-item .txtinst{
  font-size: 1em;
  word-wrap: break-word;
  word-break: break-all;
}

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

  .syscard{
    font-size:1.3rem;
  }
  
  /* .textoutimg {
    font-size: 0.8rem;
  } */

  /* .ctext{
    font-size: 1.15rem;
  } */


}

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

  .ctext{
    font-size:0.7rem;
  }

}

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

  .ctext{
    font-size:0.85rem;
  }


}

@media screen and (min-width: 1024px) {
  .masonry-item{
    width:23%;
    font-size: 0.9rem;
  }

  /* .ctext{
    font-size: 1rem;
  } */

}



#decor .move5s{
  -webkit-transition: left 15s, top 15s, opacity 15.5s 13s;
  -moz-transition: left 15s, top 15s, opacity 15.5s 13s;
  -o-transition: left 15s, top 15s, opacity 15.5s 13s;
  transition: left 15s, top 15s, opacity 15.5s 13s;


  position:absolute; opacity: 1; top:100%; width: 15%;left:100%;
}

#decor .move6s{
  -webkit-transition: left 17s, top 17s, opacity 17.5s 15s;
  -moz-transition: left 17s, top 17s, opacity 17.5s 15s;
  -o-transition:left 17s, top 17s, opacity 17.5s 15s;
  transition:left 17s, top 17s, opacity 17.5s 15s;

  position:absolute; opacity: 1; top:100%; width: 15%;left:100%;
}

#decor .move7s{
  -webkit-transition: all 7s;
  -moz-transition: all 7s;
  -o-transition: all 7s;
  transition: all 7s;

  position:absolute; opacity: 1; top:100%; width: 15%;left:100%;
}