@font-face {
  font-family: PingFang SC;
  src: url('/font/PingFang-SC-Regular.ttf') format('truetype');
}

body{
  margin: 0;
  padding: 0;
  font-family: PingFang SC;
}

ul, li{
  list-style-type: none;
}

.ac-search-item {
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.ac-search-label {
  font-size: 18px;
  min-width: 85px;
}

.ac-search-date {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}


#ContentSearchDiv{
  margin-right: 20px;
}
#TitleSearchDiv, #TypeDiv, #DateFromDiv{
  margin-right: 20px;
}

.search-btn, .reset-btn {
  width: 150px;
  padding: 0 20px;
  height: 36px;
  border-radius: 4px;
  color: white;
  background-color: #a27751;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reset-btn{
  margin-left: 20px;
}

.search-btn:hover{
  background-color: #7e5c3e;
}

.ac-row-item{
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#DateFromToTotal{
  display: flex;
  flex-direction: row;
  font-weight: bold;
  color: #a27751;
}

.ac-news-item a{
  padding: 10px 0;
  border-bottom: 1px solid lightgrey;
  color: black;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.ac-news-item a:hover{
  color: #a27751;
  border-bottom: 1px solid #a27751;
}

.ac-content-box{
}

.ac-news-date{
  min-width: 150px;
  margin-right: 10px;
  font-size: 18px;
}

.ac-news-title{
  font-size: 18px;
}

#PaginationDiv {
  width: 100%;
  display: flex;
  justify-content: center;
}

#PaginationDiv ul {
  margin: 20px 0;
  display: flex;
  flex-direction: row;
}

#PaginationDiv ul li {
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

#PaginationDiv ul li:hover{
  border-bottom: 1px solid #a27751;
}

#PaginationDiv ul li.active a{
  color: #a27751
}

.ContextTextKeyword {
  background-color: #a27751;
  color: white;
}

.ac-text-bold{
  font-weight: bold;
}

.mobile-btn{
  display: flex;
  justify-content: center;
  margin: 20px 0;
  display: none;
}

@media screen and (max-width: 640px) {
  .desktop-btn{
    display: none!important;
  }
  .mobile-btn{
    display: flex;
  }
  
  .ac-search-label{
    min-width: 55px;
    font-size: 14px;
  }

  .ac-search-item{
    margin-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  #DateFromToTotal{
    font-size: 14px;
  }

  .ac-row-item{
    flex-direction: column;
    align-items: flex-end;
  }

  #YearDiv{
    margin-top: 10px;
  }

  #TitleSearchDiv{
    margin-bottom: 10px;
  }

  #TypeDiv{
    margin-bottom: 10px;
  }
}