.bazaar_list>h4 {
  text-align: center;
      /*font-size: 38px;*/
    color: #004A96;
}

.bazaar_ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bazaar_ul li {
  margin: .75rem 0 0 0;
  width: 30%;
}

.bazaar_ul li a .p_box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.bazaar_ul li a img {
  display: block;
  width: 100%;
}

.bazaar_ul li a .text_box {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  color: #fff;
  font-size: 16px;
  transition: all 0.6s;
}

.bazaar_ul li a .text_box h4 {
  margin: 0;
}

.bazaar_ul li a .text_box .titbox {
  padding: .375rem .5rem;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.bazaar_ul li a:hover .text_box {
  bottom: -100%;
  transition: all 0.6s;
}

.text_details span {
  padding: .5rem;
  line-height: .4rem;
}

.text_details .titbox {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.text_details {
  position: absolute;
  left: 0;
  bottom: -100%;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 74, 150, 0.9);
  color: #fff;
  transition: all 0.6s;
}

.text_details .titbox {
  padding: .375rem .5rem;
}

.text_details h4 {
  margin: 0;
}

.bazaar_ul li a:hover .text_details {
  bottom: 0;
  transition: all 0.6s;
}

@media screen and (max-width: 1680px) {}

@media screen and (max-width: 1600px) {}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 1366px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 980px) {
  .bazaar_ul li {
    margin: 20px 0 0 0;
    width: 45%;
  }

  .bazaar_ul {
    justify-content: space-around;
  }

  .text_details span {
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 640px) {}

@media screen and (max-width: 375px) {}