/*
 * Theme Name: NextStack
 */

/* page-container */
.page-container {
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
  vertical-align: top;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

/* Sidebar Menu  */
.sidebar {
  display: table-cell;
  position: relative;
  width: 220px;
  transition: width 0.2s linear;
  z-index: 1;
}

.sidebar .site-logo {
  padding: 19px 30px;
  border-bottom: 1px solid #313437;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, .2)
}

.sidebar .site-logo .logo {
  float: left;
}

.sidebar .site-logo .logo .logo-collapsed {
  display: none;
}

.sidebar .sidebar-inner {
  position: fixed;
  left: 0;
  top: 0;
  width: inherit;
  background: #2c2e2f;
  overflow: hidden;
}

.sidebar .main-menu {
  height: calc(70% - 80px);
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-x: visible;
  overflow-y: scroll;
}

.sidebar .main-menu::-webkit-scrollbar {
  width: 8px;
}

.sidebar .main-menu::-webkit-scrollbar-track {
  background-color: #303030;
  border-radius: 4px;
}

.sidebar .main-menu::-webkit-scrollbar-thumb {
  background-color: #3e3e3e;
  border-radius: 4px;
}

.sidebar .main-menu li.menu-item a {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: content-box;
  min-height: 20px;
  padding: 12px 16px;
  color: #979898;
  text-decoration: none;
  overflow: hidden;
}

.sidebar .main-menu li.menu-item a:hover,
.sidebar .main-menu li.menu-item.active a,
.sidebar .main-menu li.sub-menu-item.active a {
  color: #fff;
  background: rgba(0, 0, 0, .2);
}


.sidebar .main-menu li.menu-item a > i {
  display: inline-block;
  margin-right: 10px;
  transition: top 0.25s ease-in-out;
}

.sidebar .main-menu li.menu-item a > i.icon-lg {
  font-size: 1.33333em;
  line-height: .75em;
  vertical-align: -.0667em;
}

.sidebar .main-menu li.menu-item a > span.cat-name {
  display: inline-block;
  padding-right: 10px;
  white-space: nowrap;
  transition: 0.25s ease-in-out;
  overflow: hidden;
}

.sidebar.collapsed .main-menu li.menu-item > a {
  padding: 12px 0;
}

.sidebar.collapsed .main-menu li.menu-item > a > i {
  width: 100%;
  height: 100%;
}

.sidebar.collapsed .main-menu li.menu-item > a > span.cat-name {
  display: none;
}

.sidebar .main-menu li.menu-item.active > a {
  color: #fff;
}

.sidebar .main-menu li.menu-item.has-sub > a:before {
  display: inline-block;
  position: absolute;
  top: calc(50% - 10px);
  right: 12px;
  content: "\f107";
  color: #6d747a;
  font-family: FontAwesome;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transition: all 150ms ease-in-out;
  -moz-transition: all 150ms ease-in-out;
  -o-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.sidebar .main-menu li.menu-item.has-sub.opened > a:before,
.sidebar .main-menu li.menu-item.has-sub.expanded > a:before {
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -o-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}

.sidebar .main-menu li.menu-item.has-sub ul {
  display: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.sidebar.collapsed .main-menu li.menu-item.has-sub ul {
  display: none !important;
}

.sidebar .main-menu li.menu-item.has-sub ul li {
  position: relative;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown {
  left: 0;
  zoom: 1;
  filter: alpha(opacity=100);
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown {
  -webkit-transition-delay: 80ms;
  -moz-transition-delay: 80ms;
  -o-transition-delay: 80ms;
  transition-delay: 80ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 120ms;
  -moz-transition-delay: 120ms;
  -o-transition-delay: 120ms;
  transition-delay: 120ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 160ms;
  -moz-transition-delay: 160ms;
  -o-transition-delay: 160ms;
  transition-delay: 160ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 200ms;
  -moz-transition-delay: 200ms;
  -o-transition-delay: 200ms;
  transition-delay: 200ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 240ms;
  -moz-transition-delay: 240ms;
  -o-transition-delay: 240ms;
  transition-delay: 240ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 280ms;
  -moz-transition-delay: 280ms;
  -o-transition-delay: 280ms;
  transition-delay: 280ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 320ms;
  -moz-transition-delay: 320ms;
  -o-transition-delay: 320ms;
  transition-delay: 320ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 360ms;
  -moz-transition-delay: 360ms;
  -o-transition-delay: 360ms;
  transition-delay: 360ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 400ms;
  -moz-transition-delay: 400ms;
  -o-transition-delay: 400ms;
  transition-delay: 400ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown+.is-shown {
  -webkit-transition-delay: 440ms;
  -moz-transition-delay: 440ms;
  -o-transition-delay: 440ms;
  transition-delay: 440ms;
}

.sidebar .main-menu li.menu-item.has-sub ul li.hidden-item {
  visibility: hidden;
  zoom: 1;
  filter: alpha(opacity=0);
  -webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  -webkit-transition: all 250ms ease-in-out;
  -moz-transition: all 250ms ease-in-out;
  -o-transition: all 250ms ease-in-out;
  transition: all 250ms ease-in-out;
}

.sidebar .main-menu li.menu-item.has-sub ul li a {
  padding-left: 35px;
}

.sidebar .main-menu li.menu-item.has-sub ul li ul li a {
  padding-left: 60px;
}

.sidebar .main-menu li.menu-item.has-sub ul li ul li ul li a {
  padding-left: 85px;
}

.sidebar .main-menu li.menu-item.has-sub ul li ul li ul li ul li a {
  padding-left: 110px;
}

.sidebar .bottom-menu {
  padding: 0 0 20px 0;
  margin: 0;
  box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, .2);
  list-style: none;
  overflow-x: visible;
  overflow-y: scroll;
}


.sidebar .bottom-menu::-webkit-scrollbar {
  width: 8px;
}

.sidebar .bottom-menu::-webkit-scrollbar-track {
  background-color: #303030;
  border-radius: 4px;
}

.sidebar .bottom-menu::-webkit-scrollbar-thumb {
  background-color: #3e3e3e;
  border-radius: 4px;
}

.sidebar .bottom-menu li a {
  display: block;
  padding: 12px 0 12px 16px;
  color: #979898;
  text-decoration: none;
}

.sidebar .bottom-menu li a:hover {
  color: #fff;
  background: rgba(0,0,0,.2);
}

/* menu-popover */
.menu-item-popover {
  background-color: #2c2e2f !important;
  color: #fff
}
.menu-item-popover .popover-arrow:before {
  background-color: #2c2e2f !important;
}

.menu-item-popover .popover-content {
    padding: 8px 8px !important;
  color: #f8f8f8;
}

/* main-content */
.main-content {
  position: relative;
  width: 100%;
  vertical-align: top;
  word-break: break-word;
  z-index: 1;
  -webkit-transition: opacity 100ms ease-in-out;
  -moz-transition: opacity 100ms ease-in-out;
  -o-transition: opacity 100ms ease-in-out;
  transition: opacity 100ms ease-in-out;
}

.main-content .container {
  padding: 0 24px;
}

/* Top Nav */
.navbar {
  position: fixed;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.7);
  z-index: 2000;
}

.navbar .navbar-content {
  display: flex;
  width: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  justify-content: space-between;
  align-items: center;
}

.navbar-fixed-blank {
  height: 84px;
}

.navbar .ul-list {
  margin: 0;
}

.navbar .ul-list.left-links {
  float: left;
}

.navbar .ul-list.right-links {
  float: right;
}

.navbar .ul-list li {
  line-height: 1;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.navbar .ul-list li a {
  line-height: 1;
}

.navbar .ul-list>li>a {
  display: block;
  padding: 18px 10px;
  color: #979898;
  text-decoration: none;
}

.navbar .ul-list>li>a i {
  font-size: 15px;
  line-height: 1;
}

.navbar .ul-list>li>a:hover {
  color: #606161;
}

.navbar .ul-list>li a[data-toggle="sidebar"] {
  padding: 31px 10px;
  padding-left: 20px;
}

/* sidebar toggle */
.navbar .sidebar-toggle svg {
  transition: all .5s cubic-bezier(.645,.045,.355,1),stroke .2s ease;
}

.navbar .sidebar-toggle svg.menu-unfold-icon {
  display: none;
}

body.sidebar-collapsed .navbar .sidebar-toggle svg.menu-fold-icon {
  display: none;
}

body.sidebar-collapsed .navbar .sidebar-toggle svg.menu-unfold-icon {
  display: inline;
}

/* site list */
.site-list {
    margin: 24px 0;
}

.site-list .site-category {
    margin-bottom: 36px;
}

.site-list .site-category .category-name {
    
}

.site-list .site-category .category-name .icon-io-tag {
    margin-right: 28px;
}

.site-list .site-category .category-name .icon-io-tag::after {
  content: "";
  margin-top: -0px;
  position: absolute;
  width: 20px;
  height: 17px;
  background: url(data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0xMDA0LjUxMiA0NDQuMjU2bC0xNjAtMjU2Yy0yMy4zNi0zNy40MDgtNjQuMzg0LTYwLjE2LTEwOC41MTItNjAuMTZIMTI4Yy03MC42ODggMC0xMjggNTcuMzEyLTEyOCAxMjh2NTEyYzAgNzAuNjg4IDU3LjMxMiAxMjggMTI4IDEyOGg2MDhjNDQuMTI4IDAgODUuMTItMjIuNzUyIDEwOC41MTItNjAuMTkybDE2MC0yNTZjMjUuOTg0LTQxLjQ0IDI1Ljk4NC05NC4xNDQgMC0xMzUuNjQ4ek05NTAuMjQgNTQ1Ljk4NGwtMTYwIDI1Ni4wNjRjLTExLjc0NCAxOC44MTYtMzIuMDY0IDMwLjA0OC01NC4yNCAzMC4wNDhIMTI4Yy0zNS4yOTYgMC02NC0yOC43MzYtNjQtNjR2LTUxMmMwLTM1LjI5NiAyOC43MDQtNjQgNjQtNjRoNjA4YzIyLjE3NiAwIDQyLjQ5NiAxMS4yNjQgNTQuMjQgMzAuMDQ4bDE2MCAyNTZjMTIuODk2IDIwLjY0IDEyLjg5NiA0Ny4yNjQgMCA2Ny44NHpNNzM2IDQxNi4wOTZjLTUzLjA1NiAwLTk2IDQyLjk3Ni05NiA5NnM0Mi45NDQgOTYgOTYgOTZjNTIuOTkyIDAgOTYtNDMuMDA4IDk2LTk2IDAtNTMuMDI0LTQzLjAwOC05Ni05Ni05NnptMCAxNjAuMDMyYy0zNS4zNiAwLTY0LTI4LjY3Mi02NC02NHMyOC42NC02NCA2NC02NGMzNS4zMjggMCA2NCAyOC42NzIgNjQgNjRzLTI4LjY3MiA2NC02NCA2NHoiIGZpbGw9IiM1NTUiLz48L3N2Zz4=) no-repeat center;
  background-size: 100%;
}

/* site card */
.xe-card {
  position: relative;
  height: 72px;
  margin: 12px 0;
}

.xe-widget {
  position: relative;
}

.xe-widget.xe-conversations {
  display: block;
  padding: 16px;
}

.site-card {
  height: 72px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #f6f6f6;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.site-card:hover {
  transform: translateY(-6px);
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  box-shadow: 0 26px 40px -24px rgba(114, 114, 114, 0.3);
  -webkit-box-shadow: 0 26px 40px -24px rgba(114, 114, 114, 0.3);
  -moz-box-shadow: 0 26px 40px -24px rgba(114, 114, 114, 0.3);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.site-card .xe-comment-entry img {
  float: left;
  display: block;
  background: rgba(136, 136, 136, 0.15);
  margin-right: 10px;
}

.site-card .xe-comment p {
  margin-bottom: 0px;
}

.xe-widget.xe-conversations:hover,
.xe-widget.xe-conversations:focus {
  background: #fff !important;
  text-decoration: none;
}

.xe-card.wechat a:after {
  content: "\f029";
  position: absolute;
  display: inline-block;
  font-family: FontAwesome;
  font-size: 18px;
  color: #6d747a;
  margin-left: 10px;
  bottom: 0;
  right: 5px;
}

/* single site */
.single-site {
    margin-top: 24px;
}

.single-site .siteico {
  background: #f1f5f8;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 20px -20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.single-site .siteico:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.single-site .blur {
  -moz-filter: blur(15px);
  -ms-filter: blur(15px);
  filter: blur(15px);
  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=15, MakeShadow=false);
}

.single-site .blur-layer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0.2;
}

.single-site .img-cover {
  height: 72px;
  width: 72px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border: 2px solid hsla(0, 0%, 100%, 0.9);
  border-radius: 50%;
  animation: rotate 6s linear infinite;
  background: #fff;
}

.single-site .btn {
  border-radius: 6px;
  padding: 7px 16px;
  background-color: rgba(138, 138, 138, 0.15);
  transition: 0.3s;
}

.single-site .btn:hover {
  color: #fff;
  background: #202224;
}

.single-site .btn:active {
  box-shadow: unset;
}

.single-site .site-go .btn {
  margin-bottom: 10px;
}

.single-site .site-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

/* Archive */
.archive {
  margin: 24px 0;
}

.archive .category-name {
  margin: 24px 0;
}

.archive .category-name .icon-io-tag {
  position: relative;
  margin-right: 28px;
}

.archive .category-name .icon-io-tag::after {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  width: 20px;
  height: 17px;
  background: url(data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0xMDA0LjUxMiA0NDQuMjU2bC0xNjAtMjU2Yy0yMy4zNi0zNy40MDgtNjQuMzg0LTYwLjE2LTEwOC41MTItNjAuMTZIMTI4Yy03MC42ODggMC0xMjggNTcuMzEyLTEyOCAxMjh2NTEyYzAgNzAuNjg4IDU3LjMxMiAxMjggMTI4IDEyOGg2MDhjNDQuMTI4IDAgODUuMTItMjIuNzUyIDEwOC41MTItNjAuMTkybDE2MC0yNTZjMjUuOTg0LTQxLjQ0IDI1Ljk4NC05NC4xNDQgMC0xMzUuNjQ4ek05NTAuMjQgNTQ1Ljk4NGwtMTYwIDI1Ni4wNjRjLTExLjc0NCAxOC44MTYtMzIuMDY0IDMwLjA0OC01NC4yNCAzMC4wNDhIMTI4Yy0zNS4yOTYgMC02NC0yOC43MzYtNjQtNjR2LTUxMmMwLTM1LjI5NiAyOC43MDQtNjQgNjQtNjRoNjA4YzIyLjE3NiAwIDQyLjQ5NiAxMS4yNjQgNTQuMjQgMzAuMDQ4bDE2MCAyNTZjMTIuODk2IDIwLjY0IDEyLjg5NiA0Ny4yNjQgMCA2Ny44NHpNNzM2IDQxNi4wOTZjLTUzLjA1NiAwLTk2IDQyLjk3Ni05NiA5NnM0Mi45NDQgOTYgOTYgOTZjNTIuOTkyIDAgOTYtNDMuMDA4IDk2LTk2IDAtNTMuMDI0LTQzLjAwOC05Ni05Ni05NnptMCAxNjAuMDMyYy0zNS4zNiAwLTY0LTI4LjY3Mi02NC02NHMyOC42NC02NCA2NC02NGMzNS4zMjggMCA2NCAyOC42NzIgNjQgNjRzLTI4LjY3MiA2NC02NCA2NHoiIGZpbGw9IiM1NTUiLz48L3N2Zz4=) no-repeat center;
  background-size: 100%;
}

.archive .post-header {
  
}

.archive .post-header .post-title {
  margin: 8px 0 20px 0;
}

.archive article.post {
  position: relative;
  background: #fff;
  padding: 24px 24px;
  border: 0;
  margin-bottom: 30px;
  border-radius: 5px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* Singe post */
.single-post {
  margin: 24px 0;
}

.single-post article.post {
  position: relative;
  background: #fff;
  border-radius: 5px;
  padding: 20px 30px;
  margin-bottom: 30px;
}

.single-post .post-header .post-title {
  text-align: center;
  margin: 10px 0 20px 0;
}

.single-post .post-content {
  font-size: 16px;
  line-height: 32px;
}

.single-post .post-content p {
  margin: 0 0 20px;
}

.single-post .post-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

/* Single Page */
.single-page {
  margin: 24px 0;
}

.single-page article {
  position: relative;
  background: #fff;
  border-radius: 5px;
  padding: 20px 30px;
  margin-bottom: 30px;
}

.single-page article .page-header {
  margin: 0;
  padding: 0;
  border: none;
}

.single-page article .page-header .page-title {
  text-align: center;
  margin: 10px 0 20px 0;
}

.single-page .page-content {
  font-size: 16px;
  line-height: 32px;
}

.single-page .page-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

/* Footer */
footer.main-footer {
  padding: 20px 30px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  margin-top: 0px;
  background-color: #f9f9f9;
}

footer.main-footer:before,
footer.main-footer:after {
  content: " ";
  display: table;
}

footer.main-footer:after {
  clear: both;
}

footer.main-footer:before,
footer.main-footer:after {
  content: " ";
  display: table;
}

footer.main-footer:after {
  clear: both;
}

footer.main-footer .footer-text {
  float: left;
}

footer.main-footer .go-up {
  width: 45px;
  float: right;
  position: fixed;
  right: 10px;
  bottom: 30px;
  z-index: 10;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.main-footer .go-up a {
  display: inline-block;
  width: 35px;
  height: 35px;
  text-align: center;
  border-radius: 50%;
  background: rgba(123, 123, 123, 0.5);
  color: #fff;
  font-size: 20px;
  line-height: 35px;
  padding: 0;
}

footer.main-footer .go-up a:hover {
  background-color: rgba(44, 46, 47, 0.1);
}

footer.main-footer.footer-type-2 {
  background-color: #252729;
  border-top: 0;
  color: #fff;
}

/* comments */
.comments-area {
  position: relative;
  background: #fff;
  border-radius: 5px;
  padding: 20px 30px;
  margin-bottom: 30px;
}

.comments-area label {
  color: #333;
  display: block;
  font-weight: 800;
  margin-bottom: 0.5em;
}

.comment-form .comment-form-cookies-consent label {
  display: inline;
}

.comments-title {
  margin-bottom: 2em;
}

.comment-list,
.comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-body {
  color: #333;
  margin-bottom: 4em;
}

.comment-body {
  margin-left: 65px;
}

.comment-meta {
  margin-bottom: 1.5em;
}

.comment-author {
  margin-bottom: 0.4em;
  position: relative;
  z-index: 2;
}

.comment-author .avatar {
  height: 50px;
  left: -65px;
  position: absolute;
  width: 50px;
}

.comment-metadata {
  color: #767676;
  font-weight: 800;
  letter-spacing: 0.1818em;
  text-transform: uppercase;
}

.comment-reply-link {
  font-weight: 800;
  position: relative;
}

.form-submit {
  text-align: right;
}

/* friend links */
.friend-links {
    
}

.friend-links a {
  position: relative;
  display: inline-block;
  margin: 0.25rem 1rem 0.25rem 0.25rem;
}

.friend-links a:before {
  content: "\2022";
  display: inline-block;
  position: relative;
  margin-right: 5px;
}


/* posts-nav  */
.posts-nav {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.44);
  padding: 10px 0;
  text-align: center;
}

.posts-nav .page-numbers {
  position: relative;
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: inline-block;
  background-color: rgba(150, 150, 150, 0.16);
  margin: 0 2px;
  border-radius: 0.2rem;
  -webkit-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
}

.posts-nav .page-numbers.current,
.posts-nav .page-numbers:not(.dots):hover {
  color: #fff !important;
  background-color: #f1404b;
  box-shadow: 0px 5px 20px -3px rgba(249, 100, 90, 0.6);
}

.posts-nav .page-numbers.dots {
  border-color: rgba(0, 0, 0, 0);
}

/* --- search --- */
#search {
  max-width: 768px;
  margin: 30px auto;
}

#search form {
  position: relative;
}

#search-text {
  padding: 10px 20px;
  width: 100%;
  height: 50px;
  font-size: 1pc;
  border: 0;
  border-radius: 50px;
  background-color: #fff;
}

#search button {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: 0;
  margin: 0 10px;
  line-height: 50px;
}

#search button:hover {
  cursor: pointer;
}

#search button i {
  font-size: 18px;
}

#search-list {
  position: relative;
  display: flex;
  justify-content: center;
}

.no-search {
  margin-top: 85px;
}


.s-type {
  display: block;
  width: 75px;
  height: 31px;
  z-index: 10;
}

.s-type-list {
  display: none;
  position: absolute;
  top: 31px;
  padding: 9pt 0;
  width: 70px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.16);
}

.s-type-list:before {
  position: absolute;
  top: -1pc;
  left: 20px;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom-color: #fff;
}

.s-type-list label {
  display: block;
  font-size: 15px;
  text-align: center;
  font-weight: normal;
  margin-bottom: 0;
  padding: 2px 0;
  cursor: pointer;
  transition: 0.3s;
}

.s-type-list label:hover {
  background: rgba(136, 136, 136, 0.1);
}

.s-type-list .tile-lg {
  color: #fff;
  width: 3pc;
  height: 3pc;
  font-size: 1.25rem;
  line-height: 3rem;
  border-radius: 0.3rem;
  display: block;
  margin: auto;
}

.s-type:hover .s-type-list {
  display: block;
}

.s-groups {
    margin-left: -75px;
}

.s-groups .search-group {
  display: none;
}

.s-groups .s-current .search-type {
  padding-left: 0;
  display: block;
}

.s-groups .s-current {
  display: flex;
}

.s-groups .type-text {
  width: 75px;
  padding-left: 9pt;
  font-size: 1pc;
  line-height: 31px;
}

.s-groups .type-text:after {
  content: "\f105";
  font-family: FontAwesome;
  margin: 0 0 0 15px;
}

.s-groups .search-type {
  white-space: nowrap;
  margin: 0;
}

.s-groups .search-type label {
  margin: 0;
}

.s-groups .search-type li {
  display: inline-block;
}

.s-groups .search-type li label {
  display: inline-block;
  padding: 0 11px;
  font-size: 14px;
  line-height: 31px;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
}

.s-groups .search-type input:checked+label,
.s-groups .search-type input:hover+label {
  background-color: #fff;
}

.set-check {
  margin-top: 3px;
  font-size: 9pt;
}

.set-check label {
  margin-left: 3px;
}

.set-check input,
.set-check label {
  opacity: 0;
  transition: all 0.3s ease;
}

.search-type li {
  list-style: none;
  display: inline-block;
}

.back-home {
  color: #fff;
  background: #f14141;
  padding: 10px 30px;
  border-radius: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.back-home:hover {
  color: #fff;
  background: #333;
}

/* --- contribute --- */
.show_ico {
  float: left;
  width: 64px;
  height: 64px;
  line-height: 60px;
  padding: 2px;
  cursor: pointer;
}

.show_ico .remove {
  position: absolute;
  cursor: pointer;
  top: 1px;
  right: 1px;
  font-size: 20px;
  z-index: 1;
  display: block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  background: rgba(34, 34, 34, 0.5);
  border-radius: 50%;
}

.wechat .show_ico .remove {
  font-size: 25px;
  width: 29px;
  height: 29px;
  line-height: 29px;
}

.show_ico .remove:hover {
  color: #f1404b;
}

.upload_img {
  position: relative;
  display: table;
  color: white;
  background-color: rgba(136, 136, 136, 0.1);
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  vertical-align: center;
  border-radius: 5px;
  transition: 0.3s;
}

.wechat .show_ico {
  width: 132px;
  height: 132px;
  line-height: 128px;
}

.upload_img:not(.disabled):hover {
  background: #222324;
}

.upload_img input {
  position: absolute;
  cursor: pointer;
  opacity: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.postform {
  margin: 5px;
}

.form-control {
  border-color: #bbb;
  padding: 5px 10px;
  border-radius: 3px;
}

.panel-tougao button {
  color: #fff;
  background-color: #f1404b;
  padding-left: 30px;
  padding-right: 30px;
  transition: 0.3s;
}

.panel-tougao button:hover {
  color: #fff;
  background: #000;
}

#alert_placeholder .alert {
  display: inline-block;
}

#tougaocategorg {
  padding-left: 6px;
}

/* AD */
.ad {
    
}

.ad.ad__home,
.ad.ad__right,
.ad.ad__footer {
  margin: 24px 0;
}

.ad img {
  width: 100%;
  max-height: 350px;
}

.ad-home img,
.ad-footer img {
  max-height: 150px;
}

/* --- customize --- */
.nothing {
  padding: 20px 0;
  margin: 10px 0;
  text-align: center;
  color: #888;
  background: rgba(136, 136, 136, 0.2);
  border-radius: 5px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
  float: none;
}

/* Panel */
.panel {
  position: relative;
  background: #fff;
  padding: 24px 24px;
  border: 0;
  margin-bottom: 30px;
  border-radius: 5px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.panel .panel-body {
  padding: 0;
}

.panel.expanded .accordion-toggle:before {
  content: "–" !important;
}

/* tooltio */
.tooltip .tooltip-inner {
  padding: 10px 15px;
}

.main-content .tooltip {
  word-break: break-word;
}

/* Bulletin */
#bulletin_box {
  margin: 20px 0;
  padding: 10px 10px;
}

#bulletin_box .bulletin-ul {
  padding-left: 10px;
}

.bulletin {
  box-sizing: border-box;
  height: 25px;
  line-height: 25px;
  overflow: hidden;
}

.bulletin ul {
  list-style-type: none;
  font-size: 14px;
}


/* --- Dark mode --- */
.black {
  background-color: #26282a;
}

.black,
.black a:not(.btn),
.black .button>a {
  color: #ddd;
}

.black p {
  color: #bcbcbc;
}

.black .comments-area label {
  color: #bbb;
}

.black .text-gray,
.black .comment-body {
  color: #888;
}

.black .xe-widget.xe-conversations,
.black #search-text,
.black .search-type input:checked+label,
.black .search-type input:hover+label,
.black .panel,
.black .comments-area {
  background-color: #3d4044;
}

.black .s-type-list {
  background-color: #1f2123;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.3);
}

.black .s-type-list:before {
  border-bottom-color: #1f2123;
}

.black .xe-widget.xe-conversations:hover,
.black .xe-widget.xe-conversations:focus {
  background: #3d4044 !important;
  text-decoration: none;
}

.black .site-card {
  border: transparent;
}

.black .site-card:hover {
  box-shadow: 0 26px 40px -24px rgba(2, 4, 6, 0.3);
  -webkit-box-shadow: 0 26px 40px -24px rgba(2, 4, 6, 0.3);
  -moz-box-shadow: 0 26px 40px -24px rgba(2, 4, 6, 0.3);
}

.black .navbar .navbar-content {
  background: #2c2e2f;
  box-shadow: none;
}

.black footer.main-footer {
  background-color: #26282a;
}

.black select,
.black input[type="text"],
.black input[type="email"],
.black input[type="url"],
.black input[type="password"],
.black input[type="search"],
.black input[type="number"],
.black input[type="tel"],
.black input[type="range"],
.black input[type="date"],
.black input[type="month"],
.black input[type="week"],
.black input[type="time"],
.black input[type="datetime"],
.black input[type="datetime-local"],
.black input[type="color"],
.black textarea {
  color: #aaa;
  background: #2c2e2f;
  border: 1px solid #2c2e2f;
}

.black .icon-io-tag::after {
  background: url(data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0xMDA0LjUxMiA0NDQuMjU2bC0xNjAtMjU2Yy0yMy4zNi0zNy40MDgtNjQuMzg0LTYwLjE2LTEwOC41MTItNjAuMTZIMTI4Yy03MC42ODggMC0xMjggNTcuMzEyLTEyOCAxMjh2NTEyYzAgNzAuNjg4IDU3LjMxMiAxMjggMTI4IDEyOGg2MDhjNDQuMTI4IDAgODUuMTItMjIuNzUyIDEwOC41MTItNjAuMTkybDE2MC0yNTZjMjUuOTg0LTQxLjQ0IDI1Ljk4NC05NC4xNDQgMC0xMzUuNjQ4ek05NTAuMjQgNTQ1Ljk4NGwtMTYwIDI1Ni4wNjRjLTExLjc0NCAxOC44MTYtMzIuMDY0IDMwLjA0OC01NC4yNCAzMC4wNDhIMTI4Yy0zNS4yOTYgMC02NC0yOC43MzYtNjQtNjR2LTUxMmMwLTM1LjI5NiAyOC43MDQtNjQgNjQtNjRoNjA4YzIyLjE3NiAwIDQyLjQ5NiAxMS4yNjQgNTQuMjQgMzAuMDQ4bDE2MCAyNTZjMTIuODk2IDIwLjY0IDEyLjg5NiA0Ny4yNjQgMCA2Ny44NHpNNzM2IDQxNi4wOTZjLTUzLjA1NiAwLTk2IDQyLjk3Ni05NiA5NnM0Mi45NDQgOTYgOTYgOTZjNTIuOTkyIDAgOTYtNDMuMDA4IDk2LTk2IDAtNTMuMDI0LTQzLjAwOC05Ni05Ni05NnptMCAxNjAuMDMyYy0zNS4zNiAwLTY0LTI4LjY3Mi02NC02NHMyOC42NC02NCA2NC02NGMzNS4zMjggMCA2NCAyOC42NzIgNjQgNjRzLTI4LjY3MiA2NC02NCA2NHoiIGZpbGw9IiM4YThhOGEiLz48L3N2Zz4=) no-repeat center;
  background-size: 100%;
}

.black .single-site .btn {
  color: #ddd;
}

.black .siteico {
  background: #222;
}

.black .posts-nav {
  color: rgba(221, 221, 221, 0.2);
}

.black .input-group-addon {
  color: #ddd;
  background: #26282a;
  border-color: #26282a;
}

/* transition */
.transall,
.sidebar .main-menu a,
.navbar .ul-list>li>a,
.breadcrumb.auto-hidden li a,
.icon-collection .fontawesome-icon-list .fa-hover .icon-str>i,
.icon-collection .fontawesome-icon-list .fa-hover .icon-str>span {
  -webkit-transition: all 220ms ease-in-out;
  -moz-transition: all 220ms ease-in-out;
  -o-transition: all 220ms ease-in-out;
  transition: all 220ms ease-in-out;
}

/* display */
.clearfix:before,
.clearfix:after,
.main-content .page-title:before,
.main-content .page-title:after,
.sidebar .site-logo:before,
.sidebar .site-logo:after,
footer.main-footer .footer-inner:before,
footer.main-footer .footer-inner:after,
.navbar .ul-list>li .dropdown-menu>.external a:before,
.navbar .ul-list>li .dropdown-menu>.external a:after,
.panel .panel-heading:before,
.panel .panel-heading:after,
.breadcrumb.auto-hidden:before,
.breadcrumb.auto-hidden:after,
.dataTables_wrapper .dataTables_length:before,
.dataTables_wrapper .dataTables_length:after,
.dataTables_wrapper .dataTables_filter:before,
.dataTables_wrapper .dataTables_filter:after,
.dataTables_wrapper .DTTT_container:before,
.dataTables_wrapper .DTTT_container:after,
.skin-color-palette:before,
.skin-color-palette:after,
.icon-collection .fontawesome-icon-list:before,
.icon-collection .fontawesome-icon-list:after,
.icon-collection .fontawesome-icon-list .fa-hover .icon-str:before,
.icon-collection .fontawesome-icon-list .fa-hover .icon-str:after,
.highlights li:before,
.highlights li:after {
  content: " ";
  display: table;
}

/* Clear */
.clearfix:after,
.main-content .page-title:after,
.sidebar .site-logo:after,
footer.main-footer .footer-inner:after,
.navbar .ul-list>li .dropdown-menu>.external a:after,
.panel .panel-heading:after,
.breadcrumb.auto-hidden:after,
.dataTables_wrapper .dataTables_length:after,
.dataTables_wrapper .dataTables_filter:after,
.dataTables_wrapper .DTTT_container:after,
.skin-color-palette:after,
.icon-collection .fontawesome-icon-list:after,
.icon-collection .fontawesome-icon-list .fa-hover .icon-str:after,
.highlights li:after {
  clear: both;
}

/* rotate */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* media screen */
@media screen and (min-width: 768px) {
  /* sidebar menu */
  .sidebar {
    height: 100%;
    display: table-cell;
  }
  
  .sidebar.collapsed {
    width: 80px;
    z-index: 10;
    overflow: visible;
  }
  
  .sidebar .sidebar-inner {
    position: fixed;
    bottom: 0;
  }

  .sidebar.collapsed .sidebar-inner {
    position: fixed;
    overflow: visible;
  }

  .sidebar.collapsed .site-logo {
    padding: 19px 0;
  }

  .sidebar.collapsed .site-logo .logo-collapsed {
    display: block;
    text-align: center;
  }

  .sidebar.collapsed .site-logo .logo-collapsed img {
    display: inline-block;
  }

  .sidebar.collapsed .site-logo .logo-expanded,
  .sidebar.collapsed .site-logo .settings-icon {
    display: none;
  }

  .sidebar.collapsed .site-logo .logo {
    float: none;
  }

  .sidebar.collapsed .main-menu {
    padding-left: 0;
    padding-right: 0;
  }
  
  .sidebar .main-menu ul li.is-hidden {
    left: -20px;
    zoom: 1;
    filter: alpha(opacity=0);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
  }

  .sidebar.collapsed .main-menu > li {
    text-align: center;
    position: relative;
  }

  .sidebar.collapsed .main-menu > li.active,
  .sidebar.collapsed .main-menu > li li.active {
    background-color: #252627;
  }

  .sidebar.collapsed .main-menu > li > a >i {
    margin-right: 0;
    font-size: 20px;
  }

  .sidebar.collapsed .main-menu > li > a > span {
    display: none;
  }

  .sidebar.collapsed .main-menu > li > a >span.label {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }

  .sidebar.collapsed .main-menu > li.has-sub > a:before {
    display: none;
  }

  .sidebar.collapsed .main-menu > li.opened > ul {
    display: none;
  }
  
  /* bottom menu */
  .sidebar .bottom-menu {
    height: calc(30% - 8px);
  }
  
  /* Navbar */
  .sidebar.collapsed + .main-content .navbar {
    width: calc(100% - 80px);
  }
    
  .sidebar.uncollapsed + .main-content .navbar {
    width: calc(100% - 220px);
  }
  
  .main-content {
    display: table-cell;
  }
}

@media screen and (max-width: 767px) {
  .page-container {
    display: block;
  }

  .sidebar,
  .main-content {
    display: block;
    width: 100%;
    height: auto;
  }

  .sidebar .main-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .sidebar .sidebar-inner {
    position: relative;
  }

  .sidebar .site-logo,
  .sidebar .main-menu {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sidebar .site-logo {
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sidebar .site-logo .mobile-menu-toggle {
    float: right;
  }

  .sidebar .site-logo .mobile-menu-toggle a {
    position: relative;
    display: inline-block;
    color: #979898;
    line-height: 1;
    margin-left: 20px;
  }

  .sidebar .site-logo .mobile-menu-toggle a i {
    line-height: 1;
    font-size: 20px;
    position: relative;
    top: 10px;
  }

  .sidebar .site-logo .mobile-menu-toggle a:hover,
  .sidebar .site-logo .mobile-menu-toggle a:active,
  .sidebar .site-logo .mobile-menu-toggle a:focus {
    color: #fff;
  }

  .sidebar .sidebar-inner .main-menu {
    display: none;
  }

  .sidebar .sidebar-inner .main-menu.mobile-is-visible {
    display: block;
  }

  .sidebar .sidebar-inner .main-menu.mobile-is-visible.both-menus-visible {
    margin-top: 0;
    padding-top: 0;
  }

  .sidebar .sidebar-inner .main-menu>li:last-child>a {
    border-bottom: 0;
  }
  
  .sidebar .sidebar-inner .bottom-menu {
    display: none;
  }

  /* navbar */
  .navbar {
    position: relative;
    display: block;
    width: 100%;
  }
  .navbar .navbar-content {
    padding: 12px 0;
    border-radius: 5px;
  }
  
  .main-content .navbar-fixed-blank {
    height: 0; 
    margin: 0;
  }

  .navbar.mobile-is-visible {
    display: block;
  }

  .navbar .ul-list>li {
    min-height: 0 !important;
  }

  .navbar .ul-list>li>a,
  .navbar .ul-list>li>form {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .main-content .main-footer {
    position: relative;
    left: 0;
    right: auto;
    margin-left: -15px;
    margin-right: -15px;
  }

  /* footer */
  footer.main-footer .footer-text {
    text-align: center;
    float: none;
  }

  /* bulletin */
  #bulletin_box {
    margin-top: 0;
    margin-bottom: 10px;
  }

  /* site ico */
  .siteico:before {
    padding-top: 60%;
  }

  /* search */
  #search {
    margin: 25px auto 15px;
  }

  .no-search {
    margin-top: 0px;
  }

  .s-type-list label {
    padding: 5px 0;
  }

  .search-type {
    overflow: scroll;
  }

  .search-list {
    height: 30px;
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
  }
}

@media screen and (max-width: 767px) {
  .mt-sm-3,
  .my-sm-3 {
    margin-top: 2rem !important;
  }

  .mb-sm-3,
  .my-sm-3 {
    margin-bottom: 2rem !important;
  }

  .mt-sm-0,
  .my-sm-0 {
    margin-top: 0 !important;
  }
}

@media (min-width: 768px) {
  .container {
    width: unset;
    max-width: 750px;
  }
  .mt-md-0 {
    margin-top: 0 !important;
  }
}

@media (min-width: 992px) {
  .container {
    width: unset;
    max-width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: unset;
    max-width: 1170px;
  }

  .mt-lg-0 {
    margin-top: 0 !important;
  }
}

/* Print */
@media print {
  .sidebar {
    display: none;
  }

  .main-content {
    padding: 0 !important;
  }

  .main-content .navbar,
  .main-content .page-title,
  .main-content footer.main-footer {
    display: none;
  }

  .main-content>.panel {
    margin-bottom: 0;
  }
}