.nav-second {margin-top: auto !important;   margin-bottom: auto !important;}
.nav-second a {padding:.5rem .25rem;}
.header-info {position:fixed; left:0; right:0; top:100px; z-index:1112;}
#cart_widget_container {position:relative; z-index:10; }
#cart_widget_button {cursor:pointer;}
#cart_widget_button span {width:22px; height:22px; line-height:21px; text-align:center; padding:0; border-radius:50%; font-size:10px;}
#cart_widget_content {min-width:300px;}

#languages {text-transform:uppercase; margin:0 .5rem;}
#languages a {text-decoration:none; opacity:.5;}
#languages a.active {opacity:1;}

.connect-side-btn  img {display:inline-block; margin-right:10px;}

body.bg, #main-naturetribe {
  background-image: url("../images/schematic-map.webp");
  background-size: cover;
  background-position: center;
}


.card {border: 1px solid #c3c3c3;   border-radius: 12px;  box-shadow: 15px 15px 0px #f2f8f1;  overflow: hidden}
.card div, .card form {position:relative;}
.card a { color: #272b41;}
.login-card{position:relative; background-color: rgba(242, 248, 241, 0.6); overflow:hidden;}
.login-card:before {
    content: "";
    background-image: url(../images/bg-decor.png);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    filter: hue-rotate(250deg);
}
.form-group.mb-3, .form-group {margin-bottom:.5rem;}
.btn {border-radius: 10px;}
.btn-primary {
  background: #80be79;
  color: #fff;
  border-color: #80be79;
}
.btn-primary:hover {
  background: #fff;
  border-color: #80be79;
  color: #80be79;
}

.intro-text-box {
  border: 1px solid #c3c3c3;
  border-radius: 12px;
  box-shadow: 15px 15px 0px #f2f8f1;
  overflow: hidden;
  background: rgba(242, 248, 241, 0.6);
  position: relative;
}

.intro-text-box:before {
  content: "";
  background-image: url('https://naturetribe.io/assets/images/bg-decor.png');
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  filter: hue-rotate(250deg);
}

.langs a:first-child {
  border-right: 1px solid #c3c3c3;
  padding-right: 8px;
  margin-right: 8px;
}

.langs a {
  color: #212529;
}

.langs a:not(.active) {
  opacity: 0.65;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 767px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.posts-grid .post-item {
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
  position: relative;
  transition: ease 0.5s;
}


.posts-grid .post-item h3 {
  font-size: 20px;
}

.posts-grid .post-item h3:after {
  content: '\f002';
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  font-size: 14px;
  transform: translateY(-4px);
  margin-left: 4px;
  display: inline-block;
  color: #80be79;
}

.posts-grid .post-item .post-box {
  background-color: #fff;
}

.posts-grid .post-item:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}

.posts-grid .post-item-box:hover .post-item:before {
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: all 0.35s;
}

.posts-grid .post-item-box:nth-child(3n + 1) .post-item {
  transform: rotate(2deg) scale(0.9);
}

.posts-grid .post-item-box:nth-child(3n + 2) .post-item {
  transform: rotate(-2deg) scale(0.9);
}

.posts-grid .post-item-box:nth-child(3n + 3) .post-item {
  transform: rotate(3deg) scale(0.9);
}

.posts-grid .post-item-box:hover .post-item {
  transform: rotate(0) scale(1);
}

.posts-grid .post-item :where(img, video) {
  height: 350px;
  object-fit: cover;
}

.post-item .img-box {
  position: relative;
}

.play-box {
  position: absolute;
  right: 32px;
  top: 310px;
  width: 30px;
  height: 30px;
  z-index: 10;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: ease 0.3s;
  cursor: pointer;
}

.play-box:hover {
  transform: scale(1.05);
}

.play-box .pause {
  display: none;
}

.play-box.play .pause {
  display: block;
}

.play-box.play .play {
  display: none;
}

.post-box .img-box .blur-box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  padding: 16px;
  z-index: 10;
}

.post-box .text-box:hover {
  text-decoration: underline;
}

/* news */

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.news-grid .news-item {
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
  position: relative;
  transition: ease 0.5s;
  border-radius: 10px;
}

.news-grid .news-item .post-box {
  background-color: #fff;
  border-radius: 10px;
}

.news-grid .news-item:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.4);
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.6s;
}

.news-grid .news-item:hover:before {
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: all 0.35s;
}

.news-grid .news-item :where(img, video) {
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.news-grid .news-item .text-box {
  text-decoration: none !important;
}

.news-item .img-box {
  position: relative;
}

.post-star:hover {
  color: #80be79;
}

.naturetribe-docs {
  position: relative;
}

.naturetribe-docs:before {
  content: '';
  background-image: url('../images/bg-decor.png');
  background-size: cover;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  filter: hue-rotate(250deg);
  z-index: -1;
}

.posts-pagination {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 767px) {
  .posts-pagination {
    gap: 8px;
  }
}

.posts-pagination .pag-btn {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.posts-pagination .pag-btn:hover {
  color: #80be79;
}

.sidebar {
  width: 250px;
  min-width: 250px;
  border: 1px solid #c3c3c3;
  border-radius: 15px;
  margin-right: 40px;
  overflow: hidden;
}

.sidebar .nav-link {
  text-align: start;
}

.sidebar .nav-link a {
  text-align: start;
  color: #272b41;
  padding: 12px 16px;
  transition: ease 0.3s;
}

.sidebar .nav-link:not(:first-child) a {
  border-top: 1px solid #c3c3c3;
}

.sidebar .nav-link.active a, .sidebar .nav-link a:hover {
  background-color: #80be79;
  color: #fff;
}

.naturetribe-docs .container {
  max-width: 1600px;
  padding-right: 40px;
  padding-left: 40px;
}

@media (max-width: 767px) {
  .naturetribe-docs .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sidebar {
    display: none;
  }
}

.post-content h2 {
  margin-bottom: 24px;
}

video {
  max-width: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .position-md-sticky {
    position: sticky;
    top: 120px;
  }
}

.border-left {
  border-left: 1px solid #c3c3c3;
}

.post-media {
  max-height: 600px;
}

.comment-btn i {
  min-width: 19px;
}

.comment-btn .fa-comment-slash {
  display: none;
}

.comment-btn.comment .fa-comment {
  display: none;
}

.comment-btn.comment .fa-comment-slash {
  display: inline-block;
}

.level {
  border-left: 1px solid #80be79;
  padding-left: 12px;
  margin-left: 12px;
  font-size: 14px;
  color: #80be79;
}

.posts-container {
  max-width: 1700px;
  padding-right: 40px;
  padding-left: 40px;
  margin: 0 auto;
}

.level-box {
  background-color: #e2a60e;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgb(225, 166, 14, 0.6);
}

.level-box.dark {
  background-color: #212529;
}

.level-box .level-text {
  font-size: 20px;
  color: #fff;
  text-align: center;
}

.level-box i {
  color: #fff;
  font-size: 12px;
}
