.tabs-button-group{
	margin: 35px 0;
}

.tabs-button{
	font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    font-family: 'Playfair Display SC', serif;
    font-weight: bold;
    position: relative;
    line-height: 50px;
    text-align: center;
    padding: 0 15px;
    margin: 0 -15px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
}



.tabs-button:after{
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border: 3px solid;
    width: 50px;
    z-index: 0;
    opacity: 0;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;

}

.tabs-button:hover:after{
	width: 100%;
}

.tabs-button.active:after{
    opacity: .15;
}

.tabs-button + .tabs-button{
	margin-left: 50px;
}

.tabs-item{
	padding: 15px;
}
.tabs-item .text-content{
	position: relative;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
}

.imageeffect{
  width:100%;
  text-align:center;
  position:relative;
  display:inline-block;
  overflow:hidden; 
}

.imageeffect .content{
  opacity:0;
  position:absolute;
  top:0;
  z-index:1;
  background:rgba(0,0,0,0.5);
  height:100%;
  transition: all 300ms ease-out;
  color:#fff;
  padding:35px;
  box-sizing:border-box;
  width:100%;
}
.imageeffect .content:before{
  border-right:2px solid transparent;
  border-bottom:2px solid transparent;
  content:'';
  position:absolute;
  bottom:15px;
  right:15px;
  height:0;
  width:0;
  transition:all 0.5s ease-out;
}
.imageeffect .content:after{
  border-top:2px solid transparent;
  border-left:2px solid transparent;
  content:'';
  position:absolute;
  top:15px;
  left:15px;
  right:0px;
  height:0;
  width:0;
  box-sizing:boder-box;
  transition:all 0.5s ease-out;
}

.imageeffect h2{
	color:#fff;
}
.imageeffect:hover .content:after,
.imageeffect:hover .content:before{
  height:100%;
  width:100%;
  transition:all 0.5 ease-in;
  border-color:#fff;
}

.imageeffect:hover .content{
    opacity:1;
    transition: all 300ms ease-in;
}
.imageeffect h3{
  color:#fff;
  text-transform: uppercase;
  opacity: 0;
  transition-delay: 0.1s;
  transition-duration: 0.2s;
}
.imageeffect:hover h3{
  opacity: 1;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  line-height: normal;
}
p{
  transition-delay: 0.2s;
  transition-duration: 0.2s;
}
.imageeffect:hover p{
  opacity: 1;
  transform: translateX(0px);
  -webkit-transform: translateX(0px);
}

.image-container{
  height: 360px;
  width: 100%;
  background-size: cover;
  background-position: 50%;
}
.image-container.height-2x{
  height: 755px;
}

.image-container.video {
    height: 162.5px;
}


/*media queries for tabs*/
@media screen and (max-width:768px){
  .tabs-button{
    margin: 0 5px;
  }
  .tabs-button + .tabs-button{
    margin-left: 0;
  }
}
