/* layout one */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-one li {
  margin-bottom: 0;

  letter-spacing: 2px;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-one li:before {
  position: absolute;
  content: "";
  background: #111;
  width: 1px;
  height: 15px;
  right: -6px;
  top: 12px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-one li:last-child:before {
  display: none;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-one li.active::after {
  position: absolute;
  background: #111;
  bottom: -10px;
  content: "";
  height: 4px;
  left: 0;
  right: 0;
  margin: 0 auto;
  opacity: 1;
  transition: all 0.3s ease 0s;
  width: 4px;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-one li.hover::after {
  position: absolute;
  background: #111;
  bottom: -10px;
  content: "";
  height: 4px;
  left: 0;
  right: 0;
  margin: 0 auto;
  opacity: 1;
  transition: all 0.3s ease 0s;
  width: 4px;
}

/* layout two */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-two li.active {
  background: #772adb;
  color: #fff;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-two li:hover.active {
  border-color: transparent;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-two li:hover {
  background: #772adb;
  border-color: #772adb;
  color: #fff;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-two li {
  color: #222;
  border: 1px solid #ccc;
  border-radius: 35px;
  background: transparent;
}

/* layout three */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-three li.active {
  background: transparent;
  border: 1px solid#8e8b8b;
  color: #8e8b8b;
}

.dnxtmg-msnary-filter-items li.dnxtmg-msnary-layout-three:hover {
  background: transparent;
  border: 1px solid#8e8b8b;
  color: #8e8b8b;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-three li {
  color: #8e8b8b;
  border-radius: 35px;
  background: transparent;
}

/* layout four */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-four li:first-child {
  border-radius: 35px 0 0 35px;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-four li:last-child {
  border-radius: 0 35px 35px 0;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-four li.active {
  background: #772adb;
  color: #fff;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-four li:hover {
  background: #772adb;
  color: #fff;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-four li {
  color: #030303;
  border-radius: 35px;
  background: #b8b7b7;
}

/* layout five */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li {
  text-transform: capitalize;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li:before,
.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li:after {
  position: absolute;
  content: "";
  width: 100%;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  left: 0;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li.active:before {
  border-top: 1px solid #333333;
  top: 0;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li.active::after {
  border-bottom: 1px solid #333333;

  bottom: 0;
}
.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li:before {
  border-top: 1px solid #333333;
  top: 50%;
}
.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li:after {
  border-bottom: 1px solid #333333;
  bottom: 50%;
}
.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li:hover::before {
  border-top: 1px solid #333333;
  top: 0%;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-five li:hover::after {
  border-bottom: 1px solid #333333;
  bottom: 0%;
}

/* layout six */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-six li.active {
  background: #772adb;
  color: #fff;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-six li:hover {
  background: #772adb;
  color: #fff;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-six li {
  color: #8e8b8b;
  background: transparent;
}

/* layout seven */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-seven li {
  position: relative;
  margin-bottom: 0;
  letter-spacing: 2px;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-seven li:before {
  position: absolute;
  content: "";
  background: #111;
  width: 2px;
  height: 15px;
  right: -6px;
  top: 12px;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-seven li {
  color: #727272;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-seven li.active {
  color: #772adb;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-seven li:last-child:before {
  display: none;
}

/* layout eight */

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-eight li.active {
  background: #772adb;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-eight li:hover {
  background: #772adb;
}

.dnxtmg-msnary-filter-items.dnxtmg-msnary-layout-eight li {
  color: #fff;
  background: #3a3a3a;
  letter-spacing: 2px;
}
