.tpsgallery-col-lg-1,
.tpsgallery-col-lg-2,
.tpsgallery-col-lg-3,
.tpsgallery-col-lg-4,
.tpsgallery-col-lg-5,
.tpsgallery-col-lg-6,
.tpsgallery-col-md-1,
.tpsgallery-col-md-2,
.tpsgallery-col-md-3,
.tpsgallery-col-md-4,
.tpsgallery-col-md-5,
.tpsgallery-col-md-6,
.tpsgallery-col-sm-1,
.tpsgallery-col-sm-2,
.tpsgallery-col-sm-3,
.tpsgallery-col-sm-4,
.tpsgallery-col-sm-5,
.tpsgallery-col-sm-6,
.tpsgallery-col-xs-1,
.tpsgallery-col-xs-2,
.tpsgallery-col-xs-3,
.tpsgallery-col-xs-4,
.tpsgallery-col-xs-5,
.tpsgallery-col-xs-6 {
    float: left;
    margin-bottom: 30px;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}
.tpsgallery-col-lg-1 {
    width: 100%;
}
.tpsgallery-col-lg-2 {
    width: 50%;
}
.tpsgallery-col-lg-3 {
    width: 33.2222%;
}
.tpsgallery-col-lg-4 {
    width: 24.9%;
}
.tpsgallery-col-lg-5 {
    width: 19.9%;
}
.tpsgallery-col-lg-6 {
    width: 16.6667%;
}
/* md */

@media (min-width: 992px) and (max-width: 1100px) {
    .tpsgallery-col-md-1 {
        width: 100%;
    }
    .tpsgallery-col-md-2 {
        width: 50%;
    }
    .tpsgallery-col-md-3 {
        width: 33.22222222%;
    }
    .tpsgallery-col-md-4 {
        width: 24.9%;
    }
    .tpsgallery-col-md-5 {
        width: 19.9%;
    }
    .tpsgallery-col-md-6 {
        width: 16.66666666666667%;
    }
}
/* sm */

@media (min-width: 650px) and (max-width: 991px) {
    .tpsgallery-col-sm-1 {
        width: 100%;
    }
    .tpsgallery-col-sm-2 {
        width: 49.9%;
    }
    .tpsgallery-col-sm-3 {
        width: 33.22222222%;
    }
    .tpsgallery-col-sm-4 {
        width: 24.9%;
    }
    .tpsgallery-col-sm-5 {
        width: 19.9%;
    }
    .tpsgallery-col-sm-6 {
        width: 16.66666666666667%;
    }
}
/* xs */

@media (max-width: 651px) {
    .tpsgallery-col-xs-1 {
        width: 100%;
    }
    .tpsgallery-col-xs-2 {
        width: 49.9%;
    }
    .tpsgallery-col-xs-3 {
        width: 33.22222222%;
    }
    .tpsgallery-col-xs-4 {
        width: 24.9%;
    }
    .tpsgallery-col-xs-5 {
        width: 19.9%;
    }
    .tpsgallery-col-xs-6 {
        width: 16.66666666666667%;
    }
}

#portfolio {
    margin: 1rem 0;
    -webkit-column-count: 3; 
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
}
.tile { 
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;
}
.scale-anm {
  transform: scale(1);
}
.tile img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.tpsgallery_style_01 {
  background: turquoise none repeat scroll 0 0;
  display: block;
  overflow: hidden;
}

/* style 03*/

.tpsgallery_style_03:hover > li {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
  opacity: 0.5;
}
.tpsgallery_style_03 li {
  background: #ffffff none repeat scroll 0 0;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease-in-out 0s;
}
.tpsgallery_style_03 li img {
  backface-visibility: hidden;
  height: 200px;
  transition: all 0.2s ease-in-out 0s;
  width: 100%;
}
.tpsgallery_style_03 li img:hover {
  -moz-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.tpsgallery_style_03 li:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
}
.tpsgallery_style_03 li:hover > li {
  box-shadow: 1px 1px 1px 5px #0093d0;
}
.tpsgallery_style_03 li:nth-child(3n) {
  margin-right: 0;
}
.tpsgallery_style_03:hover li.item {
    opacity: 0.5;
}
.tpsgallery_style_03 li.item:hover {
    cursor: zoom-in;
    opacity: 1;
}
.tpsgallery_style_03 span {
	background: hsla(0, 0%, 0%, 0.5) none repeat scroll 0 0;
	border: 0 none;
	color: #fff;
	font-size: 14px;
	left: 0;
	margin: 0;
	opacity: 0;
	padding: 5px;
	position: absolute;
	text-shadow: 1px 1px 1px hsla(0, 0%, 0%, 0.75);
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s;
	width: 100%;
}
li.item:hover span{
	opacity:1;
}

/* 04 */

.tpsgallery_style_04_items{
    position: relative;
    overflow: hidden;
}
.tpsgallery_style_04_items img{
    width: 100%;
    height: auto;
}
.tpsgallery_style_04_icons{
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.tpsgallery_style_04_icons:after{
    content: "";
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    border-bottom: 0px solid #fff;
    border-left: 261px solid transparent;
    transition: all 0.5s ease-in-out 0s;
}
.tpsgallery_style_04_links{
    display: block;
    width: 100%;
    height: 100%;
    text-align: right;
    position: absolute;
    top:100%;
    z-index: 1;
    padding-right: 10px;
    transition: all 0.5s ease-in-out 0s;
}
.tpsgallery_style_04_links a{
    margin: 0 5px;
    color:#695d5c;
    font-size: 16px;
}
.tpsgallery_style_04_links a:hover{
    color: #3498db;
}
.tpsgallery_style_04_items:hover .tpsgallery_style_04_icons:after{
    border-bottom: 90px solid #fff;
    border-left: 261px solid transparent;
}
.tpsgallery_style_04_items:hover .tpsgallery_style_04_links{
    top:80%;
}
@media only screen and (max-width: 990px){
    .tpsgallery_style_04_items{
        margin-bottom: 20px;
    }
    .tpsgallery_style_04_icons:after{
        border-bottom-width: 0px;
        border-left-width: 351px;
    }
    .tpsgallery_style_04_items:hover .tpsgallery_style_04_icons:after {
        border-bottom-width: 100px;
        border-left-width: 351px ;
    }
}
@media only screen and (max-width: 767px){
    .tpsgallery_style_04_icons:after{
        border-bottom: 0px solid #fff;
        border-left-width: 730px;
    }
    .tpsgallery_style_04_items:hover .tpsgallery_style_04_icons:after {
        border-bottom-width: 100px;
        border-left-width: 730px;
    }
    .tpsgallery_style_04_items:hover .link{
        top:90%;
    }
}
@media only screen and (max-width: 480px){
    .tpsgallery_style_04_icons:after{
        border-bottom: 0px solid #fff;
        border-left-width: 461px;
    }
    .tpsgallery_style_04_items:hover .tpsgallery_style_04_icons:after {
        border-bottom: 110px solid #ffffff;
        border-left-width: 461px;
    }
    .tpsgallery_style_04_items:hover .link{
        top:85%;
    }
}




.tpsgallery_style_05_items{
    position: relative;
    text-align: center;
    overflow: hidden;
}
.tpsgallery_style_05_items .tpsgallery_style_05_thumb{
    position: relative;
}
.tpsgallery_style_05_items .tpsgallery_style_05_thumb > img{
    width: 100%;
    height: auto;
}
.tpsgallery_style_05_items .tpsgallery_style_05_thumb:before{
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: all 0.5s ease 0s;
}
.tpsgallery_style_05_items:hover .tpsgallery_style_05_thumb:before{
    opacity: 1;
}
.tpsgallery_style_05_items .tpsgallery_style_05_links{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
}
.tpsgallery_style_05_items .tpsgallery_style_05_links a{
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #00afff;
    position: relative;
    top:45%;
    display: inline-block;
    font-size: 16px;
    transform: rotateZ(180deg);
    transition: transform 0.3s ease 0s, opacity 0.3s ease 0s;
}
.tpsgallery_style_05_items .tpsgallery_style_05_links a:hover{
    text-decoration: none;
    color:#718873;
}
.tpsgallery_style_05_items:hover .tpsgallery_style_05_links a{
    transform: rotateZ(0deg);
}
.tpsgallery_style_05_items .tpsgallery_style_05_links .fa-plus{
    transform-origin: -190% 50% 0;
}
.tpsgallery_style_05_items .tpsgallery_style_05_links .fa-search{
    transform-origin: 300% 50% 0;
}
@media only screen and (max-width: 990px){
    .tpsgallery_style_05_items{
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 767px){
    .tpsgallery_style_05_items .tpsgallery_style_05_links .fa-plus{
        transform-origin: -400% 50% 0;
    }
    .tpsgallery_style_05_items .tpsgallery_style_05_links .fa-search{
        transform-origin: 500% 50% 0;
    }
}
@media only screen and (max-width: 480px){
    .tpsgallery_style_05_items .tpsgallery_style_05_links .fa-plus{
        transform-origin: -250% 50% 0;
    }
    .tpsgallery_style_05_items .tpsgallery_style_05_links .fa-search{
        transform-origin: 350% 50% 0;
    }
}


.tpsgallery_style_06_items {
  border: 3px solid #10f12d;
  box-shadow: 0 0 3px #a9a9a9;
  overflow: hidden;
  position: relative;
}
.tpsgallery_style_06_items img{
    width:100%;
    height: auto;
}
.tpsgallery_style_06_items .tpsgallery_style_06_overlay{
    position:absolute;
    top:0;
    width:100%;
    height:100%;
    background:rgba(89, 162, 174, 0.9);
    opacity:0;
    transform:scale(0,0);
    display: block;
    transition: all 0.30s linear;
}
.tpsgallery_style_06_items:hover .tpsgallery_style_06_overlay{
    opacity:1;
    transform:scale(1,1);
}
.tpsgallery_style_06_items .tpsgallery_style_06_link{
    position: absolute;
    top:10%;
    text-align: center;
    padding:0;
    margin:0;
    width:100%;
}
.tpsgallery_style_06_items .tpsgallery_style_06_link li{
    list-style:none;
    display:inline-block;
    margin-right:1%;
}
.tpsgallery_style_06_items .tpsgallery_style_06_link li a {
  border: 1px solid #fff;
  border-radius: 50px;
  box-shadow: none;
  color: #fff;
  display: block;
  font-size: 16px;
  height: 30px;
  line-height: 30px;
  opacity: 0;
  outline: medium none;
  text-align: center;
  text-decoration: none;
  transform: scale(0.7, 0.7);
  transition: all 0.3s ease 0s;
  width: 30px;
}
.tpsgallery_style_06_items .tpsgallery_style_06_link li a:hover{
    color:#3498db;
    background: #fff;
}
.tpsgallery_style_06_items:hover .tpsgallery_style_06_link li a{
    opacity:1;
    transform:scale(1,1);
}
.tpsgallery_style_06_items .tpsgallery_style_06_title{
    margin:0;
}
.tpsgallery_style_06_items .tpsgallery_style_06_title{
    position: absolute;
    top: 50%;
    left: -100%;
    color:#fff;
    font-size:20px;
    font-weight: bold;
    text-transform: uppercase;
    opacity:0;
    transition:all 0.5s ease 0s;
}
.tpsgallery_style_06_items:hover .tpsgallery_style_06_title{
  display: block;
  font-size: 14px;
  left: 0;
  margin: 0 auto;
  opacity: 1;
  overflow: hidden;
  text-align: center;
  text-transform: capitalize;
  width: 100%;
}
.tpsgallery_style_06_items .post{
    position: absolute;
    bottom:28%;
    right:-60%;
    width:60%;
    padding:0;
    margin:0;
    opacity:0;
    transition:all 0.3s ease 0s;
}
.tpsgallery_style_06_items .post li{
    display:inline-block;
    list-style:none;
}
.tpsgallery_style_06_items .post li a{
    color:#333;
    transition:all 0.3s ease 0s;
}
.tpsgallery_style_06_items .post li a:hover{
    text-decoration:none;
    color:#fff;
}
.tpsgallery_style_06_items:hover .post{
    right:9%;
    opacity:1;
}
@media only screen and  (max-width:990px){
    .tpsgallery_style_06_items{
        margin-bottom: 15px;
    }
}
@media only screen and (max-width: 767px) {
    .tpsgallery_style_06_items:hover .tpsgallery_style_06_title a{
        top:40%;
        left:35%;
    }
    .tpsgallery_style_06_items:hover .post{
        right:-1%;
        bottom: 46%;
    }
}
@media only screen and (max-width: 480px) {
    .tpsgallery_style_06_items:hover .tpsgallery_style_06_title a{
        top:45%;
        left: 25%;
    }
    .tpsgallery_style_06_items:hover .post{
        right: 5%;
        bottom: 35%;
    }
}
@media only screen and (max-width: 479px) {
    .tpsgallery_style_06_items:hover .tpsgallery_style_06_title a{
        top:47%;
        left: 19%;
    }
    .tpsgallery_style_06_items:hover .post{
        right: 8%;
        bottom: 30%;
    }
}

.tpsgallery_style_07_items {
  box-shadow: 10px 15px 25px 0 rgba(0, 0, 0, 0.2);
}
.tpsgallery_style_07_items .tpsgallery_style_07_thumb{
    overflow: hidden;
    position: relative;
}
.tpsgallery_style_07_items .tpsgallery_style_07_thumb img{
    width:100%;
    height: auto;
    transform: scale(1,1);
    transition:all 0.50s ease 0s;
}
.tpsgallery_style_07_items:hover .tpsgallery_style_07_thumb img{
    transform: scale(1.1,1.1);
}
.tpsgallery_style_07_items .tpsgallery_style_07_overlay{
    width:100%;
    height:100%;
    position: absolute;
    left:0;
    bottom:0;
    text-align:center;
    opacity:0;
    transform:scale(0.4,0.4);
    background: rgba(29, 208, 173,0.8);
    transition:all 0.20s ease-in-out;
}
.tpsgallery_style_07_items .tpsgallery_style_07_thumb:hover .tpsgallery_style_07_overlay{
    transform: scale(1,1);
    opacity:1;
}
.tpsgallery_style_07_items .tpsgallery_style_07_overlay a {
  box-shadow: none;
  height: 31px;
  line-height: 32px;
  outline: medium none;
  position: relative;
  text-align: center;
  text-decoration: none;
  top: 40%;
  width: 30px;
}
.tpsgallery_style_07_items .fa-search,
.tpsgallery_style_07_items .fa-link{
    border:1px solid #fff;
    color:#fff;
    font-size:16px;
    margin-right:5%;
    transition: all 0.50s ease;
}
.tpsgallery_style_07_items .fa-link{
    margin-right: 0;
}
.tpsgallery_style_07_items .fa-search:hover,
.tpsgallery_style_07_items .fa-link:hover{
    border-radius:20%;
    text-decoration:none;
}
.tpsgallery_style_07_items .tpsgallery_style_07_area {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #d3d3d3;
  padding: 10px;
  text-align: center;
}
.tpsgallery_style_07_items .tpsgallery_style_07_area .tpsgallery_style_07_title {
  color: #333;
  font-size: 14px;
  font-weight: normal;
  margin: 0px;
  text-transform: capitalize;
}

@media  only screen and (max-width:990px) {
    .tpsgallery_style_07_items{
        margin-bottom:5%;
    }
}