tabs {
  display: block;
  margin: 20px auto 20px;
  position: relative;
  text-align:center;
}
tabs > nav {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-size: 0;
	padding:10px 0;
    border-top: 1px solid #fff; 
	border-bottom: 1px solid #fff; 
}
tabs > nav > tab {
      cursor: pointer;
      display: inline-block;
      padding: 0 60px;
      line-height: 2em;
      font-size: 16px;
      color: #4c4d42;
	  font-weight:bold;
}
tabs > nav > tab:hover {
        /*background-color: #2D3A42; */
		color:#4c4d42;
		font-weight:bold;
}
tabs > nav > tab.active, tabs > nav > tab[active='true'] {
       /* background: #DC554E; */
	   color:#fff;
	   font-weight:bold;
}
tabs > nav > tab > span {
        display: block;
        pointer-events: none; 
}
tabs > tab {
    display: block;
    padding: 20px 20px 0;
}
tabs > tab:before, tabs > tab:after {
      content: " ";
      display: table; 
}
tabs > tab:after {
      clear: both; 
}
tabs[alive='true'] > tab {
    display: none; 
}
tabs[alive='true'] > tab.active, tabs[alive='true'] > tab[active='true'] {
      display: block; 
}


/*gallery*/

.hidden { display: none; }

#filter {
  text-align: left;
  background-color: #8d47af;
  padding: 15px;
}

#filter button {
  border: 0;
  background-color: #8d47af;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #FFF;
  cursor: pointer;
  padding: 5px 20px;
  border:1px solid #fff;
}

#filter button.active { background-color: #fff; color:#000; }

#filter button:focus { outline: 0; }

#posts {
  max-width: 1200px;
  margin: 0 auto;
  padding:15px;
}

#posts .post {
  width: 26%;
  float: left;
  height: auto;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: inline-block;
 /* background: #2e5d5a;*/
  margin:0 10px 10px 10px;
}

#posts .post img {
  position: relative;
  display: block;
  /*width: -webkit-calc(100% + 60px);*/
  width: 100%;
  opacity: 1;
 /* -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-30px, 0, 0) scale(1.12);
  transform: translate3d(-30px, 0, 0) scale(1.12);
  -webkit-backface-visibility: hidden;*/
  backface-visibility: hidden;
 /* min-height: 100%;*/
}

/*#posts .post:hover img {
  opacity: 0.5;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}
*/
#posts .post .post-content {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#posts .post .post-content::before,
#posts .post .post-content::after { pointer-events: none; }

#posts .post .post-content,
#posts .post a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#posts .post a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

#posts .post h2 {
  word-spacing: -0.15em;
  font-weight: 500;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0;
  font-size:20px;
}

#posts .post h2,
#posts .post p { margin: 0; }

#posts .post p {
  letter-spacing: 1px;
  font-size: 68.5%;
  padding: 0 10px 0 0;
  width: 50%;
  border-right: 1px solid #fff;
  text-align: right;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
}

#posts .post:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
 @media screen and (max-width: 600px) {

#posts .post { width: 50%; }
}

