.top-image-contain {
  background: url("/assets/img/news_center/top.png") no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@media (min-width:768px) {
  .main_contain {
    padding: 4em 20px;
  }
}

@media (min-width: 1200px) {
  .main_contain {
    padding: 4em 10vw;
  }
}

body {
  background-color: #f7f7f7;
}

@media (min-width: 768px) {
  .main_contain > div {
    display: flex;
    overflow-x: hidden;
  }
}

.top-menu .btn {
  border-radius: 100px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 20px;
}

#left_menu > div {
  min-height: 200px;
  background-color: white;
  padding: 2em 1em;
  text-indent: 10%;
  white-space: nowrap;
}

#search_it_icon {
  position: absolute;
  right: 20px;
  font-size: x-large;
  line-height: 48px;
}

.left_menu_btn {
  margin-top: 0.4em;
  line-height: 48px;
  border-radius: 24px;
  transition: all .5s;
  -moz-transition: all .5s;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  cursor: pointer;
}

.left_menu_btn:hover, .left_menu_btn.choosen {
  background: #0962CA;
  box-shadow: 0px 10px 20px 0px rgba(0, 72, 156, 0.32);
  border-radius: 24px;
  color: white;
  text-indent: 6%;
  font-size: larger;
}

#left_menu {
  padding: 0.5rem;
}

#news_list_contain {
  padding: 10px;
}

@media (max-width: 768px) {
  #news_list_contain {
    padding: 0px;
  }
}

.page-item {
  margin-left: 6px;
}

#pagination_contain {
  align-items: center;
  margin-bottom: 3rem;
}

#pagination_contain a {
  margin-right: 0.3rem;
}

#pagination {
  margin-bottom: 0;
}

#page_number_input {
  width: 60px;
  padding-left: 5px;
  padding-right: 5px;
}

@media (max-width: 768px) {
  #page_number_input {
    width: 40px;
    padding-left: 2px;
    padding-right: 2px;
  }
}

#page_number_input::-webkit-outer-spin-button, #page_number_input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input::-ms-clear {
  display: none;
}

#page_number_input::-ms-reveal {
  display: none;
}

.button {
  white-space: nowrap;
}

#news_list {
  min-height: calc(100vh - 300px);
}

.news_item {
  display: inline-block;
  width: calc(33% - 4px);
  min-height: 300px;
  padding: 0 10px 20px 10px;
}

@media (max-width: 768px) {
  .news_item {
    display: inherit;
    width: calc(100% - 4px);
    min-height: 300px;
    padding: 0.5rem;
  }
}

.news_item > a {
  background-color: white;
  min-height: 300px;
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  display: block;
  -moz-transition: all .2s;
  -webkit-transition: all .2s;
  -o-transition: all .2s;
}

.news_item > a:hover {
  -webkit-transform: translate3d(-3px,-5px,0);
  transform: translate3d(-3px,-5px,0);
  box-shadow: 3px 5px .5rem rgba(0,0,0,.075)!important;
}

.image_contain {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image_contain > img {
  transition: all .5s;
  -moz-transition: all .5s;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  width: 100%;
  -webkit-transform-origin: center;
  transform-origin: center;
}

.image_contain > img:hover {
  transform: scale(1.3);
  -webkit-transform: scale(1.3);
}

.item_p > div {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3em;
  height: 2.6em;
}

.item_p {
  background: #FAFAFA;
  border-radius: 6px;
  padding: 10px;
  color: #666666;
  font-size: calc(0.27*(1.375rem + 1.5vw));
}

@media (max-width: 768px) {
  .item_p {
    background: #FAFAFA;
    border-radius: 6px;
    padding: 10px;
    color: #666666;
    font-size: 1rem;
  }
}

.flex_1.item_ct {
  color: #999999;
  font-size: 14px;
}

@media (max-width: 768px) {
  .flex_1.item_ct {
    font-size: 0.8rem;
  }
}

.news_item h1 {
  font-size: calc(0.37*(1.375rem + 1.5vw));
  margin: 0.5em 0;
  color: #010101;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3em;
  height: 2.6em;
}

@media (max-width: 768px) {
  .news_item h1 {
    font-size: 1.2rem;
  }
}

.ct_contain {
  color: #999999;
  padding: 0.5em;
  font-size: small;
  align-items: baseline;
}

@media (max-width: 768px) {
  .ct_contain {
    font-size: 0.8rem;
  }
}

#goto {
  flex: 1;
  height: 100%;
  outline: none;
  box-shadow: none;
  border: 100px none rgb(0, 0, 0);
}

#input_container {
  border-radius: 100px;
  border: 1px solid #050001;
  height: 3rem;
  padding-left: 1.5rem;
  padding-right: 3rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  #input_container {
    border-radius: 100px;
    border: 1px solid #050001;
    height: 48px;
    padding-left: 50px;
    padding-right: 80px;
    margin-top: 1.5em;
  }
}

