a:hover, a:focus {
  outline: none;
  text-decoration: none;
}

.tab .nav-tabs {
  border: none;
}

.tab .nav-tabs li a {
  padding: 12px 15px;
  margin-right: 10px;
  font-size: 17px;
  font-weight: 500;
  color: #67a25d;
  border: 2px solid #e5e7e9;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
  position: relative;
}

.tab .nav-tabs li a:hover, .tab .nav-tabs li a:focus, .tab .nav-tabs li.active a, .tab .nav-tabs li a.active {
  background: transparent;
  border: 2px solid #67A25D;
  color: #385932;
}

.tab .nav-tabs li a:before {
  content: "";
  width: 500%;
  height: 0;
  background: #67A25D;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  z-index: -1;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transition: all 0.3s ease-in-out 0s;
}

.tab .nav-tabs li a:hover:before, .tab .nav-tabs li.active a:before {
  height: 170%;
  opacity: 1;
}

.tab .tab-content {
  padding: 20px 30px;
  margin-top: 10px;
  font-size: 15px;
  /*color: #fff;*/
  line-height: 27px;
  letter-spacing: 1px;
  background: #67A25D;
  position: relative;
}

.tab .tab-content:before {
  content: "";
  border-top: 30px solid #fff;
  border-bottom: 30px solid transparent;
  border-right: 30px solid transparent;
  position: absolute;
  top: 0;
  left: 0;
}

.tab .tab-content:after {
  content: "";
  border-bottom: 30px solid #fff;
  border-top: 30px solid transparent;
  border-left: 30px solid transparent;
  position: absolute;
  bottom: 0;
  right: 0;
}

@media only screen and (max-width: 479px) {
  .tab .nav-tabs li {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 479px) {
  .tab .nav-tabs li:last-child {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 479px) {
  .tab .nav-tabs li a:hover:before, .tab .nav-tabs li.active a:before {
    height: 400%;
  }
}

