/*
Theme Name: zibll-child
Theme URI: https://shetheme.com/
Description: 点子星球
Author: 李哒胖子
Author URI: https://shetheme.com/
Template: zibll
Version: 8.8
*/
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*Header*/
body {
  font-family: Inter-Variable, Helvetica, Arial, sans-serif;
}

.header {
  padding: 0;
  background: var(--header-bg);
  transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
}

.navbar-top {
  margin: 0;
  border-radius: 0 !important;
  border: 0;
  font-size: 16px;
}

.container-header {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.container-header .navbar-collapse {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  display: flex !important;
  align-items: center;
}

.container-header .navbar-collapse .navbar-nav {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
}

.navbar-top .navbar-brand {
  margin: 0;
  padding: 0;
  height: 100%;
}

.navbar-logo>img {
  height: 36px;
}


.navbar-top .nav>li>a {
  padding-left: 0;
  padding-right: 32px;
  border-radius: 4px;
  display: inline-flex !important;
  overflow: hidden;
  align-items: center;
}

.navbar-top .nav>li>a>.menu-item-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/*下拉菜单箭头旋转*/
.navbar-nav li:hover>a .fa-angle-down {
  transform: rotate(180deg);
}

.navbar-top .fa {
  transition: 0.2s;
}

/*Bottom Tools Css*/
.footer-bottom-tools {
  border-radius: 8px 0 0 8px;
  position: fixed;
  bottom: 80px;
  right: 0;
  z-index: 1030;
  text-align: center;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  transition: 0.3s;
}

.footer-bottom-tools::before {
  position: absolute;
  content: '';
  top: -20px;
  right: 0px;
  height: 20px;
  width: 20px;
  background: transparent;
  border-bottom-right-radius: 20px;
  box-shadow: 8px 8px 0 8px var(--focus-color);
}

.footer-bottom-tools::after {
  position: absolute;
  content: '';
  bottom: -20px;
  right: 0px;
  height: 20px;
  width: 20px;
  background: transparent;
  border-top-right-radius: 20px;
  box-shadow: 8px -8px 0 8px var(--focus-color);
}


.footer-bottom-tools .float-btn {
  width: 40px;
  height: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4em;
  --this-color: var(--muted-2-color);
  --this-bg: var(--float-btn-bg);
  background: var(--focus-color);
  position: relative;
  color: #fff !important;
}

.footer-bottom-tools.round .float-btn {
  margin-top: 0;
  border-radius: 0;
}

.footer-bottom-tools .float-btn:last-child {
  border-radius: 0 0 0 8px;
}

.footer-bottom-tools .float-btn:first-child {
  border-radius: 8px 0 0 0;
}


.footer-bottom-tools .float-btn.ontop {
  opacity: 1;
  transition: 0.5s;
  transform: translateY(0);
}

.ontop.show {
  display: flex !important;
}


/*Slider*/
.slide-header .slide-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0) 100%);
}

.slide-header .slide-title,
.slide-header .slide-desc {
  position: relative;
  z-index: 1;
}

.slide-text .slide-desc {
  max-width: 40em;
}


/*Tabs Posts*/
.shetheme-tabs .box-body.notop {
  padding: 0;
  margin: 36px 0
}

.shetheme-tabs .title-theme {
  position: relative;
  font-size: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 48px;
  color: #0c0d0e;
}

.shetheme-tabs .title-theme small {
  font-size: 80%;
  opacity: 0.7;
}

.shetheme-tabs .more-right-btn {
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  padding: 0 16px;
  height: 32px;
  border: 1px solid rgb(229, 229, 229);
  border-radius: 16px;
  position: relative;
  cursor: pointer;
}

.shetheme-tabs .more-right-btn a {
  transition: all;
  color: rgb(85, 85, 85);
  font-size: 14px;
  display: inline-block;
  border-radius: 0px;
}

.shetheme-tabs-tools {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.shetheme-tabs-tools ul {
  background: rgba(107, 71, 71, .05);
  border-radius: 48px;
  padding: 6px;
  margin-bottom: 0 !important;
}

.index-tab ul>li {
  line-height: 36px;
  padding: 0 16px;
  font-weight: 500;
  border-radius: 20px;
  margin: 0 1px;
}

.index-tab ul>li.active {
  background: var(--focus-color);
  --main-color: #fff;
}

.index-tab ul>li.active a {
  color: #fff !important;
}


.shetheme-post-style .posts-item.card {
  width: calc(20% - 16px);
  padding: 0;
}

.shetheme-post-style .posts-item.card .img-thumb img {
  border-radius: 8px 8px 0 0 !important;
}

.shetheme-post-style .posts-item.card .item-body {
  margin: 0;
  padding: 16px;
}

.shetheme-post-style .item-thumbnail {
  border-radius: 0;
}

.shetheme-post-style .posts-item .item-heading {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
  color: #191919 !important;
  line-height: 24px;
  display: -webkit-box;
  font-weight: bold;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  white-space: normal;
  max-height: 24px;
}

.shetheme-post-style .posts-item .item-tags a.but {
  padding: 0 16px 0 12px;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: 0;
  height: 30px;
  line-height: 24px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.shetheme-post-style .posts-item.card .item-meta item {
  font-size: 14px;
}


.shetheme-post-style .posts-item.card .item-meta .user-name {
  margin-bottom: 0;
  margin-left: 8px;
  font-size: 14px;
}

.shetheme-post-style .post-excerpt {
  display: -webkit-box;
  color: rgb(156, 163, 175);
  -webkit-box-orient: vertical;
  margin-bottom: 12px;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: normal;
}

.height .card .item-thumbnail .dplayer.dplayer-thumb,
.height .posts-item.card .item-thumbnail {
  padding-bottom: 133.33%;
}

/*Footer*/

.footer {
  color: var(--footer-color);
  background: var(--footer-bg);
  padding: 30px;
  font-size: 13px;
}

.footer a:not(.but):not(.focus-color) {
  color: var(--footer-color);
}

.footer a:hover {
  color: var(--focus-color);
}

.footer .list-inline>li {
  margin: 5px 15px;
}

.footer .list-inline>li+li+li {
  float: right;
}

.footer-miniimg {
  width: 90px;
  margin: 0 10px;
  text-align: center;
  vertical-align: text-top;
  display: inline-block;
}

.footer-contact>a {
  font-size: 20px;
  margin: 5px;
  width: 35px;
  height: 35px;
}

.footer-wechat-img {
  width: 140px;
  bottom: 90%;
  left: -55px;
  padding-bottom: 20px;
}

.footer-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1035;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  background: var(--header-bg);
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 5px var(--main-shadow);
  -webkit-backdrop-filter: saturate(5) blur(20px);
  backdrop-filter: saturate(5) blur(20px);
  transition: transform 0.3s;
}


.fcode-links a {
  font-size: 14px;
  margin-right: 36px;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 24px;
}

.shetheme-footer p {
  margin-bottom: 0;
}

.shetheme-footer-link {
  margin-bottom: 30px;
}

.shetheme-footer .logo-des {
  font-size: 14px;
}

.shetheme-footer .footer-logo img {
  height: 24px;
  margin-right: 12px;
}

.shetheme-footer .footer-Copyright {
  font-size: 14px;
}

.shetheme-footer .footer-Copyright a {
  color: #ffC400 !important;
}


/*Post badge*/

.img-badge {
  position: absolute;
  top: 1em;
  background-image: url('images/top.svg');
  background-size: 100% 100%;
  right: 0;
  text-shadow: none;
  z-index: 1;
  width: 2.8em;
  line-height: 2.8em;
  text-align: center;
  height: 2.8em;
  color: #fff;
}

.img-badge.hot {
  padding: 0.25em 0.6em;
}

.img-badge.left {
  left: 1rem;
  border-radius: 0 50px 50px 0;
  right: auto;
}

.img-badge.top {
  top: 0;
  padding: 0.3em 0.2em 0.2em 0.2em;
  border-radius: 0 0 50px 50px;
  line-height: 1.4;
  right: 1em;
}

/**/
body.nav-fixed {
  padding-top: 72px;
}


/*.container-header*/
.category-topslider img {
  border-radius: 0 !important;
}

.category-topslider .mb20 {
  margin-bottom: 0;
}

.shetheme-category-tabs .flex:first-child {
  height: 56px;
  border-bottom: 1px solid rgb(237, 237, 237);
  position: relative;
}

.shetheme-category-tabs .flex:first-child .option-items a {
  font-size: 16px;
  color: rgb(136, 136, 136);
  text-align: center;
  height: 54px;
  line-height: 54px;
  font-weight: normal;
  display: inline-block;
  cursor: pointer;
  padding: 0px;
  margin: 0 24px;
  border-bottom: 2px solid transparent;
}

.shetheme-category-tabs .flex:first-child .option-items a.focus-color {
  color: var(--focus-color);
  border-bottom: 2px solid var(--focus-color);
}

.shetheme-category-tabs .flex:nth-child(n+2) {
  padding: 20px 20px 0px;
}

.shetheme-category-tabs .flex:nth-child(n+2) .option-items a {
  position: relative;
  margin: 0px 8px;
  padding: 6px 16px;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: rgb(34, 34, 34);
  background-color: rgb(242, 242, 242);
  border-radius: 16px;
  cursor: pointer;
}

.shetheme-category-tabs .flex:nth-child(n+2) a.focus-color {
  background-color: #071d3a;
  color: #fff;
}

.shetheme-category-tabs .flex:last-child{
  padding-left: 0;
  margin-bottom: 20px;
}