
/*Image hover effect*/



.tgx-hover-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.tgx-hover-image .hover-image{
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
}
.tgx-hover-image .hover-image img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
}

.tgx-hover-image .default-effect .hover-image a,
.tgx-hover-image .jazz-effect .hover-image a{
	display: flex;
	position: relative;
	z-index: 9;
}




/*Default effect*/
.tgx-hover-image .default-effect .image-caption{
  position: relative;
}
.tgx-hover-image .default-effect .image-caption .caption-title{
  margin: 0;
}

.tgx-hover-image .default-effect img {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

.tgx-hover-image .default-effect:hover img {
    -webkit-transform: scale3d(1.05,1.05,1);
    transform: scale3d(1.05,1.05,1);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}






/*Jazz effect*/



.tgx-hover-image .jazz-effect:hover img {
    opacity: 0.3;
    -webkit-transform: scale3d(1.05,1.05,1);
    transform: scale3d(1.05,1.05,1);
}

.tgx-hover-image .jazz-effect figcaption::after, 
.tgx-hover-image .jazz-effect img, 
.tgx-hover-image .jazz-effect p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}


.tgx-hover-image .jazz-effect figcaption::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    content: '';
    opacity: 0;
    -webkit-transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
    transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.tgx-hover-image .jazz-effect:hover figcaption::after {
    opacity: 1;
    -webkit-transform: rotate3d(0,0,1,45deg) scale3d(1,1,1);
    transform: rotate3d(0,0,1,45deg) scale3d(1,1,1);
}

.tgx-hover-image .jazz-effect figcaption, .tgx-hover-image .jazz-effect figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tgx-hover-image .jazz-effect figcaption {
    padding: 2em;
    color: #fff;
    text-transform: capitalize;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


.tgx-hover-image .jazz-effect:hover .caption-title, .tgx-hover-image .jazz-effect:hover .caption-content {
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
}
.tgx-hover-image .jazz-effect .caption-title {
    padding-top: 100px;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}
.tgx-hover-image .jazz-effect .caption-title, .tgx-hover-image .jazz-effect .caption-content {
    opacity:0;
    -webkit-transform: scale3d(0.8,0.8,1);
    transform: scale3d(0.8,0.8,1);
}
.tgx-hover-image .jazz-effect  .caption-title, .tgx-hover-image .jazz-effect  .caption-content {
    margin: 0;
}
.tgx-hover-image .jazz-effect .image-caption{
  text-align: left;
  z-index: 2;
}

.tgx-hover-image .jazz-effect .image-caption .caption-title,
.tgx-hover-image .jazz-effect .image-caption .caption-content{
  color: #fff;
}



/*golith effect*/

.tgx-hover-image .goliath-effect:hover img {
    -webkit-transform: translate3d(0,-91px,0);
    transform: translate3d(0,-91px,0);
}

.tgx-hover-image .goliath-effect figcaption::after, 
.tgx-hover-image .goliath-effect img, 
.tgx-hover-image .goliath-effect p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}




.tgx-hover-image .goliath-effect:hover figcaption::after {
    opacity: 1;
    -webkit-transform: rotate3d(0,0,1,45deg) scale3d(1,1,1);
    transform: rotate3d(0,0,1,45deg) scale3d(1,1,1);
}

.tgx-hover-image .goliath-effect figcaption, .tgx-hover-image .goliath-effect figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tgx-hover-image .goliath-effect figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


.tgx-hover-image .goliath-effect:hover .caption-title{
    -webkit-transform: translate3d(0,-100px,0);
    transform: translate3d(0,-100px,0);
}
.tgx-hover-image .goliath-effect:hover .caption-content{
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    opacity: 1;
}
.tgx-hover-image .goliath-effect .caption-title, .tgx-hover-image .goliath-effect .caption-content {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
     width: 100%;
}
.tgx-hover-image .goliath-effect .caption-content {
    text-transform: none;
    font-size: 90%;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,50px,0);
    transform: translate3d(0,50px,0);
}

/*.tgx-hover-image .goliath-effect .caption-title, .tgx-hover-image .goliath-effect .caption-content {
    -webkit-transform: scale3d(0.8,0.8,1);
    transform: scale3d(0.8,0.8,1);
}*/
.tgx-hover-image .goliath-effect  .caption-title, .tgx-hover-image .goliath-effect  .caption-content {
    margin: 0;
}
.tgx-hover-image .goliath-effect .image-caption{
  text-align: left;
  background: #444;
  opacity: 0;
  transition: all 0.3s ease;
}
.tgx-hover-image .goliath-effect:hover .image-caption{
   transition: all 0.3s ease;
   opacity: 1;
}

.tgx-hover-image .goliath-effect .image-caption .caption-title,
.tgx-hover-image .goliath-effect .image-caption .caption-content{
  color: #fff;
}







/*Sadie effect*/
.tgx-hover-image .sadie-effect figcaption::before, .tgx-hover-image .sadie-effecte p {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}
.tgx-hover-image .sadie-effect figcaption::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(top, rgba(72,76,97,0) 0%, rgba(72,76,97,0.8) 75%);
    background: linear-gradient(to bottom, rgba(72,76,97,0) 0%, rgba(72,76,97,0.8) 75%);
    content: '';
    opacity: 0;
    -webkit-transform: translate3d(0,50%,0);
    transform: translate3d(0,50%,0);
}

.tgx-hover-image .sadie-effect:hover .caption-title {
    color: #fff;
    opacity: 1;
    -webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
    transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
}
.tgx-hover-image .sadie-effect .caption-title {
    position: absolute;
    top: 44%;
    width: 100%;
    color: #484c61;
    -webkit-transition: -webkit-transform 0.35s, color 0.35s;
    transition: transform 0.35s, color 0.35s;
    -webkit-transform: translate3d(0,-50%,0);
    transform: translate3d(0,-50%,0);
    padding:0 20px;
    opacity: 0;
    left: 0;
    right: 0;
}

.tgx-hover-image .sadie-effect:hover figcaption::before, .tgx-hover-image .sadie-effect:hover .caption-content {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.tgx-hover-image .sadie-effect .caption-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    margin: 120px 0;
    -webkit-transform: translate3d(0,10px,0);
    transform: translate3d(0,10px,0);
    padding:0 20px;
}

.tgx-hover-image .sadie-effect figcaption::before, .tgx-hover-image .sadie-effect .caption-content {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}



/*---------------*/
/***** Bubba *****/
/*---------------*/

.tgx-hover-image .bubba-effect .hover-image {
  background: #9e5406;
}

.tgx-hover-image .bubba-effect img {
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

.tgx-hover-image .bubba-effect .hover-image a{
	display: block;
	position: relative;
	z-index: 9;
}

.tgx-hover-image .bubba-effect:hover img {
  opacity: 0.4;
}

.tgx-hover-image .image-caption {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 70px;
}

.tgx-hover-image .bubba-effect:hover .image-caption{
  opacity: 1;
}

.tgx-hover-image .bubba-effect .hover-image a::before,
.tgx-hover-image .bubba-effect .hover-image a::after {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}

.tgx-hover-image .bubba-effect .hover-image a::before {
  border-top: 1px solid;
  border-bottom: 1px solid ;
  border-color: #fff;
  -webkit-transform: scale(0,1);
  transform: scale(0,1);
}

.tgx-hover-image .bubba-effect .hover-image a::after {
  border-right: 1px solid ;
  border-left: 1px solid ;
  border-color: #fff;
  -webkit-transform: scale(1,0);
  transform: scale(1,0);
}

.tgx-hover-image .bubba-effect h2 {
  padding-top: 30%;
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(0,-20px,0);
  transform: translate3d(0,-20px,0);
  opacity: 0;
}

.tgx-hover-image .bubba-effect p {
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0,20px,0);
  transform: translate3d(0,20px,0);
}

.tgx-hover-image .bubba-effect:hover .hover-image a::before,
.tgx-hover-image .bubba-effect:hover .hover-image a::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.tgx-hover-image .bubba-effect:hover h2,
.tgx-hover-image .bubba-effect:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

