/* .isShow{
  display: block;
} */
.newsacttitlebox {
  width: 80%;
  border-radius: 100px;
  overflow: hidden;
  background: rgb(189, 189, 189);
  background: -moz-linear-gradient(
    90deg,
    rgba(189, 189, 189, 1) 5%,
    rgba(255, 255, 255, 1) 52%,
    rgba(189, 189, 189, 1) 95%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(189, 189, 189, 1) 5%,
    rgba(255, 255, 255, 1) 52%,
    rgba(189, 189, 189, 1) 95%
  );
  background: linear-gradient(
    90deg,
    rgba(189, 189, 189, 1) 5%,
    rgba(255, 255, 255, 1) 52%,
    rgba(189, 189, 189, 1) 95%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bdbdbd",endColorstr="#bdbdbd",GradientType=1);
  height: 80%;
  cursor: pointer;
}
.newsacttitle.active {
  font-size: 32px;
  font-weight: 600;
  background-color: #b60000;
  border-radius: 100px;
  color: white;
  height: 60%;
  text-align: center;
  cursor: pointer;

}
.newsacttitle {
  font-size: 32px;
  font-weight: 500;
  float: left;
  padding: 1% 8%;
  width: 50%;
  color: black;
  text-align: center;
}
.news-act-togglerbox {
  display: flex;
  justify-content: center;
}

.news-act-textbox {
  margin-top: 3%;
}
.news-act-subtitlebox {
  text-align: center;
  margin: 2% 0;
}
.news-act-subtitle {
  font-size: 23px;
  font-weight: 400;
}
.newsact-card {
  margin-top: 7%;
}
.newsact-card-link {
  text-decoration: none;
}
.newsact-card-link img {
  object-fit: contain;
}
.newsact-card-link .card-img-top {
  height: auto;
}
.newsact-card-link .card-title {
  color: black;
  font-weight: 400;
  font-size: 18px;
}
.newsact-card-link .card-text {
  color: black;
  font-weight: 300;
  font-size: 15px;
}
.newsact-card .card-title{
  font-size: 16px;
  height: 4.5rem;
}
.newsact-card .card-text{
  font-size: 14px;
  height: 2.5rem;
  overflow: hidden;
  display: -webkit-box; 
  -webkit-box-orient: vertical; 
  -webkit-line-clamp: 2; 
  overflow: hidden; 
  text-overflow: ellipsis;
}

/* Mobileตั้ง */
@media (max-width: 576px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .newsacttitle.active {
    font-size: 22px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
    
  }
  .newsacttitle {
    font-size: 22px;
    font-weight: 500;
    float: left;
    padding: 0% 8%;
    width: 50%;
    color: black;
    text-align: center;
  }
  .news-act-textbox {
    margin-top: 10%;
  }
  .news-act-subtitlebox {
    text-align: center;
    margin: 3% 0;
}
  .news-act-subtitle {
    font-size: 18px;
  }
  .newsact-card-link .card-img-top {
    height: auto;
  }
  .newsact-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 18px;
  }
  .newsact-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 15px;
  }
  .newsact-card .card-title{
    font-size: 16px;
    height: 4.5rem;
  }
  .newsact-card .card-text{
    font-size: 14px;
    height: 2.5rem;
    overflow: hidden;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    overflow: hidden; 
    text-overflow: ellipsis;
  }
}

/* Mobileนอน */
@media (min-width: 577px) and (max-width: 767px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .newsacttitle.active {
    font-size: 22px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
  }
  .newsacttitle {
    font-size: 22px;
    font-weight: 500;
    float: left;
    padding: 0% 8%;
    width: 50%;
    color: black;
    text-align: center;
  }
  .news-act-textbox {
    margin-top: 7%;
  }

  .news-act-subtitle {
    font-size: 16px;
  }
  .newsact-card {
    margin-top: 10%;
  }
  .newsact-card-link .card-img-top {
    height: auto;
  }
  .newsact-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 16px;
  }
  .newsact-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 13px;
  }
  .newsact-card .card-title{
    font-size: 14px;
    height: 4.5rem;
  }
  .newsact-card .card-text{
    font-size: 12px;
    height: 2rem;
    overflow: hidden;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    overflow: hidden; 
    text-overflow: ellipsis;
  }
}

/* Tabletตั้ง */
@media (min-width: 768px) and (max-width: 991px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .newsacttitle.active {
    font-size: 25px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
  }
  .newsacttitle {
    font-size: 25px;
    font-weight: 500;
    float: left;
    padding: 1% 8%;
    width: 50%;
    color: black;
    text-align: center;
  }
  .news-act-textbox {
    margin-top: 7%;
  }

  .news-act-subtitle {
    font-size: 18px;
  }
  .newsact-card {
    margin-top: 7%;
  }
  .newsact-card-link .card-img-top {
    height: auto;
  }
  .newsact-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 16px;
  }
  .newsact-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 13px;
  }
  .newsact-card .card-title{
    font-size: 16px;
    height: 4.5rem;
  }
  .newsact-card .card-text{
    font-size: 14px;
    height: 2.5rem;
    overflow: hidden;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    text-overflow: ellipsis;
  }
}

/* Tabletนอน */
@media (min-width: 992px) and (max-width: 1199px) {
  .show-mobile {
    display: block;
  }
  .show-tablet {
    display: none;
  }
  .show-pc {
    display: none;
  }
  .newsacttitle.active {
    font-size: 25px;
    font-weight: 500;
    background-color: #b60000;
    border-radius: 100px;
    color: white;
    height: 60%;
    text-align: center;
  }
  .newsacttitle {
    font-size: 25px;
    font-weight: 500;
    float: left;
    padding: 1% 8%;
    width: 50%;
    color: black;
    text-align: center;
  }
  .news-act-textbox {
    margin-top: 7%;
  }

  .news-act-subtitle {
    font-size: 20px;
  }
  .newsact-card {
    margin-top: 11%;
}
  .newsact-card-link .card-img-top {
    height: auto;
  }
  .newsact-card-link .card-title {
    color: black;
    font-weight: 400;
    font-size: 16px;
  }
  .newsact-card-link .card-text {
    color: black;
    font-weight: 300;
    font-size: 13px;
  }
  .newsact-card .card-title{
    font-size: 14px;
    height: 6rem;
  }
  .newsact-card .card-text{
    font-size: 12px;
    height: 2rem;
    overflow: hidden;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    overflow: hidden; 
    text-overflow: ellipsis;
  }
}

/* Laptop */
@media (min-width: 1200px) and (max-width: 1399px) {
  .newsact-card-link .card-img-top {
    height: auto;
  }
  .news-act-textbox {
    margin-top: 5%;
  }
  .newsact-card .card-title{
    font-size: 14px;
    height: 4rem;
  }
  .newsact-card .card-text{
    font-size: 12px;
    height: 2rem;
    overflow: hidden;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    overflow: hidden; 
    text-overflow: ellipsis;
  }
}
