

.filter_container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  font-weight: bold;
  font-size: 14px;
  margin:70px 0 12px 0;
}
.filter_btn{
  flex-basis: calc(100% / 5 - 5px);
  text-align: center;
  padding: 13px 0;
  line-height: 14px;
  border-radius: 5em;
  font-size: 14px;
  position: relative;
  text-align: center;
  cursor: pointer;
  transition: 0.1s;
}
.btn_ltgray{
  background-color: #e0e0e0;
  color: #373737;
  border-color: #e0e0e0;
}
.spacer{
  background-color: transparent;
  content:none;
  pointer-events: none;
}
.filter_btn.active{
  background-color: #151F6D;
  Color: #FFFFFF;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
}

.card {
  background: #ececec;
  padding:1px 14px 14px 14px;
  border:1px solid rgb(214, 214, 214)
}

.card-img {
  position: relative;
  background: #d9d9d9;
  overflow: visible;
}

.card-img:hover{
  cursor: pointer;
}
.card-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.zoom {
  position: absolute;
  top: -16px;
  right: -14px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom::before {
  font-family: 'Material Icons';
  content: "\e8ff";
  font-size: 3rem;
  font-weight: bold;
  color: #5b5b5b;
  background-color: rgba(255, 255, 255, 0.5);
  width:40px;
  height:40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-title {
  margin-bottom: 40px; 
  padding: 5px 3px;
  font-size: 14px;
  color: #333;
}





.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.45s ease-out;
}
.modal-content img {
  width: 100%;
  height: auto;
  display: block;
}
.modal-close{
  position: absolute;
  top: -28px;
  right: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 101;
}
.modal.is-show .modal-content {
  visibility: visible;
}
.modal-expander {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;

  background: rgba(0,0,0,0.85);
  border-radius: 6px;

  will-change: transform;
  transition: transform 0.28s ease-out;
  pointer-events: none;
  z-index: 101;
}
.modal-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  pointer-events: none;
  z-index: 102;
}
.modal-content {
  position: relative;
  background: #ffffff;
  max-width: 100vh;
  width: 85%;
  height: auto;
  visibility: hidden;
  z-index: 103;
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
  padding: 15px 15px 10px;
}
.modal-title {
  margin-top: 16px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.modal.is-open{
  opacity:1;
}




@media (max-width:1024px){
  .filter_container{
    justify-content: space-between;

  }
  .filter_btn{
    flex-basis: calc(100% / 3 - 5px);
    padding: 0.5rem;
    line-height: 1.7;
    border-radius: 5em;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .modal-title{
    font-size: 15px;
  }
}




@media (max-width: 768px) {

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-title{
    font-size:11px;
    margin-bottom: 15px;
  }
  .zoom::before{
    width: 30px;
    height: 30px;
  }
  .modal-title{
    font-size: 12px;
  }
}

