/* news */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* 此區塊的css only for IE 10、11 */
  /* 因為IE對Grid的支援不完整，所以這裡將Grid的部份全改寫 */
  div#news {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 5%;
  }
  
  div.news_item {
    width: 30%;
    margin: .5rem 0;
    padding: 1rem;
  }
}

div#news {
/*   https://stackoverflow.com/a/42979002/3828486 */
  display: grid;
  grid-template-columns: repeat(auto-fit, 320px);
  grid-gap: 1rem;
  justify-content: space-around;
/*   align-content: flex-start; */
  margin: 0 6%;
}

div.news_item {
  margin: 1rem 0;
}

div.news_title, div.news_content, div.news_info {
  text-align: justify;
  padding: 20px 20px 0;
}

div.news_title a, div#news_title a {
  font-weight: bold;
  font-size: 1.2rem;
  color: black;
}

/* newsItem */
div#news_info {
  font-size: .5rem;
  padding: 5px 0;
}

div#news_content {
  margin: 1rem 0;
}

div#news_tags {
  display: flex;
  justify-content: flex-end;
}

div#news_tags a {
  margin-top: 2px;
  margin-bottom: 2px;
}

div#news_tags a {
  background: #999;
  color: white;
  line-height: 1;
  padding: 2px 10px;
  border-radius: 2px;
  margin: 0 .1rem;
}

div#news_tags a:hover, div#news_tags a:focus {
  color: white;
  background: #aed0cb !important;
}

.item_create {
  border: black 1px dashed;
  font-size: 5em;
  line-height: 6;
}

.item_create p {
  text-align: center;
  margin: auto;
}

.news_img {
  height: 220px;
}

.nav {
  background: antiquewhite;
  padding: 4px;
  border-radius: 4px;
}

.news_img img {
  height: 220px;
}
