.gallery_sec_main .nav-tabs li a {
  border: 1px solid #f6f6f6;
}
#tabs {
  margin-top: 20px;
  height: 80px;
  overflow: hidden;
}

#tabs > ul {
  list-style: none;
  text-align: center;
}

#tabs > ul > li {
  font-size: 21px;
  margin: 25px 20px;
  padding: 10px 30px;
  font-weight: 500;
  display: block;
  float: left;
  color: #570707;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 0px;
  -moz-border-radius-bottomleft: 0px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  background: -moz-linear-gradient(
    top,
    #ffffff 0%,
    #ffffff 90%,
    #e4e9ed 100%
  ); /* firefox */
  transition: 0.5s;
  border: 1px solid #dadada;
  border-radius: 50px;
}

#tabs > ul > li:hover {
  background: #ff3e19;
  cursor: pointer;
  color: #333;
}

#tabs > ul > li.tabActiveHeader {
  background: #ff3e19;
  cursor: pointer;
  color: #fff;
}

#tabscontent {
  -moz-border-radius-topleft: 0px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 0px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  padding: 10px 10px 25px;
  margin: 0;
  color: #333;
}

#preview-button {
  display: none;
}

@media only screen and (max-width: 600px) {
  #tabs > ul > li {
    font-size: 16px;
    margin: 15px 10px;
    padding: 7px 15px;
    font-weight: 400;
  }
  #tabs {
    margin-top: 10px;
    height: 70px;
  }
}
