/* 列表 */
.news-item {
  position: relative;
  height: 135px;
  background: #ffffff;
  padding: 15px 15px 15px 210px;
  border-bottom: 1px dotted #e2e2e2;
}

.news-item:last-child {
  border-bottom: none;
}

/* 列表 */

/* Grow */
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Glow */
.hvr-glow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow;
  transition-property: box-shadow;
}
.hvr-glow:hover,
.hvr-glow:focus,
.hvr-glow:active {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* Underline From Left */
.hvr-underline-from-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #2098d1;
  height: 4px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-from-left:hover:before,
.hvr-underline-from-left:focus:before,
.hvr-underline-from-left:active:before {
  right: 0;
}

/* 右侧菜单 */

.site-tree {
}

.layui-bg-alone {
}

.layui-bg-alone.layui-nav-tree .layui-nav-item a {
  height: 60px;
  line-height: 60px;
  font-size: 20px;
  background-color: #0ae;
  color: #fff;
}

.layui-bg-alone.layui-nav-tree .layui-nav-child a {
  color: #000000;
  background-color: #ffffff !important;
  font-size: 16px;
}

.layui-bg-alone.layui-nav-tree .layui-nav-child dd a {
  border-bottom: 1px dashed #cccccc;
}

.layui-bg-alone.layui-nav-tree .layui-nav-child dd:last-child a {
  border-bottom: 0;
}

.layui-bg-alone.layui-nav-tree .layui-nav-child a:hover {
  color: #0ae;
}

/* 表单 */

.form-big {
}

.form-big input {
  height: 54px;
  line-height: 54px;
  font-size: 18px;
}

.form-big button {
  height: 54px;
  line-height: 54px;
  padding: 0 25px;
  font-size: 18px;
}

/* 头像 */
.news-item .item-media {
  position: absolute;
  left: 15px;
  top: 15px;
}

.news-item .item-media img {
  display: block;
  width: 180px;
  height: 135px;
  margin: 0;
  border-radius: 2px;
}

.news-item h2,
.news-item h2 a {
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item h2 a {
  display: inline-block;
  padding-right: 10px;
}

.item-info {
  position: relative;
  height: 60px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-info > * {
  padding-right: 15px;
}

.item-badge {
  position: absolute;
  color: #666;
  right: 15px;
  bottom: 10px;
}

/* 图片列表 */
.photo-item {
  position: relative;
  background: #ffffff;
}

.photo-item h2,
.photo-item h2 a {
  font-size: 16px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-body {
  padding: 15px;
}

.photo-item h2 a {
  display: inline-block;
  padding-right: 10px;
}

/*
 * article content
 * ====================================================
*/

.article-meta {
  overflow: hidden;
  color: #999;
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-meta span {
  float: left;
  margin-right: 20px;
}

.article-meta a {
  color: #888;
  text-decoration: underline;
}

.article-meta a:hover {
  color: #ff5e52;
}

.article-header {
  padding: 0 0 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.article-header .text-muted {
  font-size: 12px;
  margin-bottom: 0;
}

.article-title {
  font-size: 26px;
  margin: 15px 0;
  line-height: 1.2;
}

.article-title a {
  color: #444;
}

.article-title a span {
  color: #ff5e52;
}

.article-title a:hover {
  color: #ff5e52;
  text-decoration: underline;
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
  word-wrap: break-word;
}

.article-content img {
  margin: 5px auto;
  display: block;
  max-width: 100%;
  height: auto;
}

.article-content h3,
.article-content h4 .article-content h5 {
  border-bottom: #eee 1px solid;
  padding-bottom: 5px;
  margin-bottom: 16px;
  font-weight: normal;
  color: #444;
}

.article-content h2 {
  color: #444;
  font-size: 18px;
  font-weight: normal;
  margin: 16px 0;
  padding: 10px 0;
  line-height: 18px;
  border-bottom: 1px solid #eee;
}

.article-content h3 {
  font-size: 16px;
  padding-bottom: 0;
}

.article-content h4 {
  font-size: 15px;
}

.article-content h5 {
  font-size: 14px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 16px 0;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content pre {
  word-wrap: break-word;
}

.article-content table {
  border-top: solid 1px #ddd;
  border-left: solid 1px #ddd;
  width: 100%;
  margin-bottom: 16px;
}

.article-content table th {
  background-color: #f9f9f9;
  text-align: center;
}

.article-content table td,
.article-content table th {
  border-bottom: solid 1px #ddd;
  border-right: solid 1px #ddd;
  padding: 5px 10px;
}

.article-content .alignnone {
  margin: 0 auto;
}

.article-content .alignleft {
  float: left;
  text-align: left;
  margin-right: 10px;
}

.article-content .aligncenter {
  margin: 0 auto;
  text-align: center;
  display: block;
}

.article-content .alignright {
  float: right;
  text-align: right;
  margin-left: 10px;
}

.article-content .wp-caption {
  margin-bottom: 20px;
  background-color: #f6f6f6;
  padding: 10px 10px 1px;
  max-width: 100%;
}

.article-content .wp-caption img {
  margin: 0 0 5px;
}

.article-content .wp-caption p {
  margin-bottom: 10px;
}

.article-content .wp-caption.alignnone {
  text-align: center;
}

.article-content .wp-caption-text {
}

.article-content .wp-caption:hover {
}

.article-content .wp-caption:hover .wp-caption-text {
  color: #ff5e52;
}

.article-content a {
  color: #428bca;
  text-decoration: underline;
}

.article-content a:hover {
  color: #ff5e52;
}

/*小屏幕*/
@media screen and (max-width: 768px) {
  .news-item h2,
  .news-item h2 a {
    font-size: 16px;
    font-weight: unset;
  }

  .news-item {
    height: 75px;
    padding-left: 130px;
  }

  /* 头像 */
  .news-item .item-media img {
    width: 100px;
    height: 75px;
  }

  .item-info {
    height: 22px;
  }
}
