.news .heading h2 {
  font-family: 'michelin';
  font-weight: 700;
  letter-spacing: 2px;
}

.news .single-news {
  position: relative;
  margin-bottom: 20px;
}

/* tag mdf */
.news .single-news .tag {
  /* width: 50px; */
  width: 70px;
  height: 45px;
  line-height: 25px;
  background-color: #fce500;
  color: #27509b;
  font-size: 15px;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;

  position: relative;
  float: left;
  /* height: 60px; */
  border: solid #fce500;
  background: transparent;
  color: #fce500;
  border-width: 3px 3px 18px 3px;
}

.news .single-news .tag span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -23px;
  color: black;
  font-size: 11px;
  font-family: 'michelin';
  font-weight: 900;
   
}

.news .single-news .txt-contents {
  width: calc(100% - 90px);
  float: right;
}

.news .single-news .txt-box.opened .tag {
  display: none;
}

.news .single-news .txt-box.opened .txt-contents {
  width: 100%;
}

/* tag mdf over*/

.news .single-news .img-box {
  position: relative;
}

.news .single-news .img-box img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.news .single-news .img-box a:hover img{
    opacity: 0.8;
}

.news .single-news .txt-box {
  width: 100%;
  height: 60px;
  text-align: left;
  padding: 8px 10px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  color: #fff;
  position: absolute;
  bottom: 0;
  overflow: hidden;
}

.news .single-news .txt-box .title {
  font-size: 15px;
  font-weight: bold;
  -webkit-transition: all .3s;
  transition: all .3s;
  line-height: 1.3;
}

/* txt-box not opened title overflow ellipsis */

.news .single-news .txt-box .title {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news .single-news .txt-box.opened .title {
  text-overflow: initial;
  white-space: normal;
}

.news .single-news .txt-box .title:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 18px;
  background-color: #27509b;
  position: relative;
  margin-right: 5px;
  top: 4px;
}

.news .single-news .txt-box p {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 30px);
}

.news .single-news .txt-box .arr {
  width: 30px;
  height: 30px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/arr-down-blue.png");
  background-size: 12px 8px;
  position: absolute;
  bottom: 0;
  right: 10px;
  -webkit-transition: all .3s;
  transition: all .3s;
  cursor: pointer;
}

.news .single-news .txt-box.opened {
  height: auto;
  padding: 10px 10px 40px 10px;
  position: relative;
  background-color: #f9f9f9;
  font-size: 15px;
  color: #666;
  bottom: auto;
}

.news .single-news .txt-box.opened p {
  display: block;
  width: 100%;
  overflow: auto;
  text-overflow: unset;
  white-space: normal;
  text-align: justify;
  max-width: 100%;
}

.news .single-news .txt-box.opened .title {
  color: #27509b;
  font-size: 20px;
  margin-bottom: 5px;
}

.news .single-news .txt-box.opened .title:before {
  width: 0;
  margin-right: 0;
}

.news .single-news .txt-box.opened .arr {
  background-color: #27509b;
  background-image: url("../img/arr-up-white.png");
}

@media (min-width: 992px) {
  .news .single-news .tag {
    /* width: 70px; */
    /* height: 35px; */
    /* tag mdf */
    height: 55px;

    line-height: 35px;
    font-size: 18px;
  }

  .news .single-news .tag span {
    bottom: -27px;
  }

  .news .single-news .txt-box {
    height: 88px;
    font-size: 16px;
    padding: 15px;
    cursor: pointer;
  }

  .news .single-news .txt-box .title {
    font-size: 20px;
    line-height: 1.4;
  }

  .news .single-news .txt-box .title:before {
    height: 22px;
    background-color: #fce500;
  }

  .news .single-news .txt-box.opened .title {
    font-size: 18px;
  }

  .news .single-news .txt-box.opened p {
    text-align: initial;
    overflow: hidden;
  }
}