/*============== NEW HOVER ==============*/


.grid-inner:hover .portfolio-content{
    /*opacity: 1;*/
}
.grid-inner:hover .item-title {

}
.masonry .portfolio-content { background: #FFFFFF; display: block; padding: 20px; }
/*.masonry .portfolio-content span { display: inline;}*/


.port-block:hover .portfolio-image {


}
.grid-inner:hover .portfolio-image:before {
    background: rgba(0,0,0,.6);
}
.portfolio-image:before {

}

.grid-border:after {

}
.grid-border:before {

}
.grid-inner:hover .grid-border:after {

}
.grid-inner:hover .grid-border:before{

}
.project-video:hover i {

}
.project-video .item-title:after {

}

/*============== END NEW HOVER ==============*/

.noscroll {
    overflow: hidden;
}
.portfolio-grid > .cover{
    text-align: right;
    background: rgba(255,255,255,0.2);
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.portfolio-grid > .cover .loadingspin{
    bottom: 0;
    top: 100%;
    margin-top: -30px;
    margin-left: -50px;
}
.portfolio-grid {
    list-style-type: none;
    position: relative;
    min-height: 100vh;
    max-width: 100%;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: center top 0;
    transform-origin: center top 0;
    margin: 0;
}

.view-full .portfolio-grid {
    -webkit-transform: translate3d(0,0,-1500px);
    -moz-transform: translate3d(0,0,-1500px);
    transform: translate3d(0,-100vh,-1500px);
    /*-webkit-transform-origin: center -100vh 0;*/
    /*transform-origin: center -100vh 0;*/
}

.placeholder {
    display: block;
    position: absolute;
    overflow: hidden;
    opacity: 1;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
    background: white;
    z-index: 99999;
}

.placeholder.visible{
    display: block;
    opacity: 1;
    z-index: 1000;
    -webkit-transform: translateZ(1500px) rotateX(-179.9deg);
    -moz-transform: translateZ(1500px) rotateX(-179.9deg);
    -ms-transform: translateZ(1500px) rotateX(-179.9deg);
    -o-transform: translateZ(1500px) rotateX(-179.9deg);
    transform: translateZ(1500px) rotateX(-179.9deg);
}

.popup-content,
.popup-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none; /* Careful, does not work in IE < 11 http://caniuse.com/#search=pointer-events */
}

.admin-bar .popup-content,
.admin-bar .popup-loading{
    top: 32px;
}

.popup-content {
    overflow-y: scroll;
    height: 0; /* What seems to be the problem, officer? Well, we have a second scroll bar in Chrome! */
    background: #fff;
    visibility: hidden;
    z-index: 9999;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: opacity 1s;
    transition: opacity 1s;
    opacity: 0;
}

.popup-inner:after {
    content: "";
    position: absolute;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    left: 30px;
    top: 30px;
    border: 1px solid;
    z-index: 10;
    opacity: 0.3;
}

.popup-content .content, .popup-content .gallery {
    opacity: 0;
}

.popup-content .gallery{
    -webkit-transition: opacity 1.5s ease-out;
    transition: opacity 1.5s ease-out;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.popup-content .content{
    -webkit-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
}

.popup-content .content.visible,
.popup-content .gallery.visible{
    opacity: 1;
}

.popup-content.show {
    height: auto;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.popup-content > div {
    z-index: 10;
    position: absolute;
    top: 0;
    width: 100%;
    overflow: hidden;
    height: 0;
    opacity: 0;
    background: #fff;
}

.popup-content > div.show {
    height: auto;
    opacity: 1;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.close-content {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 10px;
    font-size: 1.6em;
    color: #aaa;
    cursor: pointer;
    padding: 1em;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.close-content:hover {
    color: #999;
}

.popup-content div.show ~ .close-content {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-grid .grid-item {
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.portfolio-grid .grid-item.justified {
    position: absolute;
    display: none;
}

.portfolio-grid .grid-item.metro {
    position: absolute;
    display: none;
}
.portfolio-grid .grid-item.masonry {
    position: absolute;
    opacity: 0;
    /*display: none;*/
}

html.ie9 .portfolio-grid .grid-item.justified {
    opacity: 1;
}

/*s*/
html.ie9 .portfolio-grid .grid-item.metro {
    position: absolute;
    display: block;
}

#infscroll {
    position: relative;
    clear: both;
    width:100px;
    height: 20px;
}

#loading-content {
    position: fixed;
    right: 50px;
    top: 50px;
    background: orange;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    padding: 10px;
}

@-webkit-keyframes hiding {
    0% {
        opacity: 1;
        -webkit-transform: rotate3d(0,0,0,0deg);
        transform: rotate3d(0,0,0,0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0,1,0,90deg);
        transform: rotate3d(0,1,0,90deg);
    }
}

@keyframes hiding {
    0% {
        opacity: 1;
        -webkit-transform: rotate3d(0,0,0,0deg);
        -ms-transform: rotate3d(0,0,0,0deg);
        transform: rotate3d(0,0,0,0deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate3d(0,1,0,90deg);
        -ms-transform: rotate3d(0,1,0,90deg);
        transform: rotate3d(0,1,0,90deg);
    }
}

.portfolio-grid .grid-item.hiding{
     -webkit-animation-duration: 0.3s;
     animation-duration: 0.3s;
     -webkit-animation-fill-mode: both;
     animation-fill-mode: both;
     -webkit-animation-name: hiding;
     animation-name: hiding;
 }

@-webkit-keyframes showing {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0,1,0,90deg);
        transform: rotate3d(0,1,0,90deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate3d(0,0,0,0deg);
        transform: rotate3d(0,0,0,0deg);
    }
}

@keyframes showing {
    0% {
        opacity: 0;
        -webkit-transform: rotate3d(0,1,0,90deg);
        -ms-transform: rotate3d(0,1,0,90deg);
        transform: rotate3d(0,1,0,90deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: rotate3d(0,0,0,0deg);
        -ms-transform: rotate3d(0,0,0,0deg);
        transform: rotate3d(0,0,0,0deg);
    }
}

.portfolio-grid .grid-item.showing{
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: showing;
    animation-name: showing;
}

.portfolio-grid .grid-item.noanimation{
    -webkit-animation-name: none;
    animation-name: none;
}

.portfolio-grid .grid-item.filter-off {
    display: none !important;
}

.loadmore {
    text-align: center;
    text-transform: uppercase;
}

.popup-content .blog-date {
    color: rgba(255, 255, 255, 0.3);
}

.popup-content .title {
    padding: 30px;
}

.popup-inner .category-item > a {
    margin-top: 5px;
    padding: 5px 10px;
}
.popup-inner .categories {
    margin-top: 40px;
}

.popup-content .button a {
    color: #000000;
    display: block;
    margin: auto;
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
}
.popup-content .description {
    overflow: auto;
}
.popup-content .button {
    display: inline-block;
    margin-top: 20px;
    margin-left: 0;
    text-decoration: none;
}

.popup-content .owl-prev {
    left: 0px;
    position: absolute;
    top: -250px;
}

.popup-content .owl-next {
    position: absolute;
    top: -250px;
    right: 0px;
}

.gridifier-items {
    position: relative;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.grid-item .portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    transition: all 0.7s;
}

.grid-item.masonry .portfolio-image img{
    max-width: 100%;
    height: auto;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    transition: all 0.7s;
}

.grid-item .portfolio-image-blog {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    transition: all 0.7s;
}

.grid-item .cover {
    text-align: center;
    vertical-align: baseline;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    top: 0;
}

.popup-content .close-content {
    color: #000000;
    cursor: pointer;
    font-size: 20px;
    height: 100px;
    line-height: 94px;
    padding: 5px;
    position: fixed;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    top: 0;
    width: 100px;
    z-index: 120;
}

.popup-content .gallery,
.popup-content .gallery .gallery-item,
.popup-content .gallery img{
    max-width: 100%;
}

.popup-content .gallery img{
    width: 100%;
    height: auto;
}

.popup-content .gallery .gallery-item,
#portfolio-gallery .gallery .gallery-item{
    text-align: center;
    min-height: 200px;
}

.grid-item .recent-posts .type-post {
    width: 100%;
    height: 100%;
}

.portfolio-grid {
    padding: 0 !important;
}

.item-title {

}

.item-title > a:before {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.04);
    content: "";
    height: 1000px;
    left: -5px;
    position: absolute;
    top: -582px;
    transform: skewY(45deg);
    width: 1000px;
    z-index: -1;
}

.grid-item:hover .item-title {
    bottom: 0;
}

.excerpt {
    display: none;
}

.portfolio-content h3 {
    border: 2px solid;
    display: inline;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: auto;
    opacity: 0;
    padding: 15px;
    position: relative;
    top: 30px;
    width: 50%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.portfolio-content h3:hover {
    border: 2px solid #ffffff;
    background: #ffffff;
    color: #414141 !important;
}

.masonry img {
    max-width: 100%;
    min-width: 100%;
    height: auto;
}

.blog-grid .gridifier .grid-item iframe{
    margin: 0 auto !important;
    max-width: 90% !important;
    min-width: 0!important;
}

.columns1 .port-block,
.columns2 .port-block,
.columns3 .port-block,
.columns4 .port-block,
.columns6 .port-block,
.columns12 .port-block {
    border: 0 none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.columns12 .item-title {
    background: none repeat scroll 0 0 #FFFFFF;
    bottom: -123px;
    font-family: dosis;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    padding: 10px 20px 10px 30px;
    position: absolute;
    text-align: left;
    text-transform: uppercase;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    width: 100%;
}

.columns12 .item-title:before {
    display: none;
}

.video_container.grid-video {
    position: absolute;
}

.grid-item .bx-ajax-gallery img {
    max-width: 100%;
}

.recent-posts-ajax .bx-controls {
    z-index: 150;
}

.grid-preloader {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
}

.grid-inner {
    overflow: hidden;
    margin: 0;
    height: 100%;
}

.portfolio-image-wrap {
    overflow: hidden !important;
    display: table-cell;
    vertical-align: middle;
}

.portfolio-image-wrap img {
    max-width: 100%;
    height: auto;
}

#grid-wrap {
    position: relative;
    overflow: hidden;
    width:100%;
    -webkit-perspective: 1500px;
    perspective: 1500px;
}

.grid-border {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.video_container.grid-video{
    top:0;
    z-index:-1;
}

.gallery-content{
    background: white;
    padding: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: right;
}

.grid-photo-info-block{
    position: absolute;
    opacity: 0.8;
    top: 10px;
    right: 10px;
}

.gridifier .image-like {
    cursor: pointer;
    bottom: 30px;
    margin: auto;
    position: absolute;
    right: 35px;
    text-align: center;
    width: 50px;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.gridifier .like-count {
    text-align: center;
    display: block;
}
.like-count {
    font-size: 16px;
}

#photoframe .like-text,
.gridifier .like-text{
    cursor: pointer;
}
#photoframe .clicked,
.gridifier .clicked{
    opacity: 0.5;
    cursor: default;
}

.pp_content .pp_gallery{
    display: none;
}

.gallery-overlay:hover{
    opacity: 0;
}

.grid-item .gallery-title {
    text-transform: uppercase;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}
.page-template-page-gallery-grid-php .grid-border > a:hover .gallery-title {
    opacity: 1;
}
.page-template-page-gallery-grid-php .grid-border > a:hover .photo-count {
    opacity: 1;
}

.gallery-list-item-inside{
    padding: 30px;
    top: 50%;
    position: relative;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.gallery-list-item-inside .count-wrap{
    text-align: center;
}

.gallery-list-item-inside .count-wrap i{
    font-size: 30px;
    margin-bottom: 8px;
}

.gallery-list-item-inside .photo-count-text{
    margin-top: 8px;
    display: inline-block;
}

.gallery-list-item-inside .gallery-title{
    margin-left: 100px;
    padding-left: 30px;
    border-left: 1px solid;
    font-size: 20px;
    line-height: 1.3em;
    letter-spacing: 1px;
    min-height: 60px;
}

.columns6 .gallery-list-item-inside .gallery-title,
.columns12 .gallery-list-item-inside .gallery-title {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
    min-height: auto;
}

.columns12 .gallery-list-item-inside .gallery-title {
    font-size: 16px;
}

.columns6 .gallery-list-item-inside .count-wrap {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: auto;
    height: 60px;
    overflow: hidden;
}

.columns12 .gallery-list-item-inside .count-wrap{
    display: none;
}

.columns12 .gallery-list-item-inside{
    padding: 20px 12px;
}

.columns12 .gallery-list-item-inside .gallery-title{
    font-size: 12px;
    line-height: 14px;
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    text-align: center;
}

.columns12 .gallery-list-item-inside .count-wrap{
    top: 12px;
    left: 0;
    right: 0;
    width: 50px;
    height: auto;
    line-height: 10px;
    margin-bottom: 8px;
    margin-top: 8px;
    font-size: 11px;
    position: relative;
}

.columns12 .gallery-list-item-inside .photo-count-text{
    margin-top: 3px;
    margin-bottom: 12px;
}

.columns12 .gallery-list-item-inside i{
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 26px;
}

.filter-button:before {
    content: "\e8f1";
}

/*.post-gallery .owl-item{*/
    /*height: 200px;*/
/*}*/

.post-gallery .grid-gallery-item img{
    display: block;
    width: 100%;
    height: auto;
    min-width: auto;
    min-height: auto;
}

.metro-gallery{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.metro-gallery-item{
    opacity: 0;
    z-index: -1;
    animation-duration: 0.8s;
    -moz-animation-duration: 0.8s;
    -webkit-animation-duration: 0.8s;
}

.metro-gallery-item.active{
    opacity: 1;
    z-index: 0;
}

.metro-gallery-item.metro-in{
    z-index: 0;
    opacity: 1;
    -webkit-animation-name: splitRightCenter;
    animation-name: splitRightCenter;
}

.metro-gallery-item.metro-out{
    z-index: 0;
    opacity: 1;
    -webkit-animation-name: splitCenterLeft;
    animation-name: splitCenterLeft;
}

.pf-content-inside{
    padding: 30px 15px;
}

.grid-item .portfolio-content .pf-content-inside h2 {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
}

.portfolio-likes{
    width: 50px;
    height: 50px;
    position: absolute;
    font-weight: normal;
    font-size: 25px;
    left: 15%;
    text-align: center;
    top: calc(50% - 25px);
}

.portfolio-likes .like-count{
    display: block;
    clear: both;
    float: none;
}

.pf-like{
    -webkit-transition:all 0.2s ease-in-out 0s;
    -moz-transition:all 0.2s ease-in-out 0s;
    -o-transition:all 0.2s ease-in-out 0s;
    transition:all 0.2s ease-in-out 0s;
}

.pf-like.clicked{
    opacity: 0.3;
}

.portfolio-title{
    border-left: 1px solid;
    padding-left: 22px;
    margin-left: 32%;
    padding-right: 32px;
    top: 50%;
    position: absolute;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.popup-title{
    position: absolute;
    top: 50vh;
    left: 50px;
    max-width: 400px;
    width: 400px;
}

#popup-info-btn{
    display: block;
    position: absolute;
    top: 60px;
    left: 60px;
    font-size: 38px;
    cursor: pointer;
    z-index: 14;
}

.info-open .popup-inner #popup-info-btn,
.info-open .popup-inner .close-popup{
    color: black;
}

#popup-info{
    position: absolute;
    background: white;
    color: black;
    top: 30px;
    left: 30px;
    width: calc(100% - 60px);
    padding: 130px 110px 80px;
    visibility: hidden;
    opacity: 0;
}

#popup-info.open{
    visibility: visible;
    opacity: 1;
    z-index: 13;
}

.popup-info-inner{
    padding-right: 30px;
}

.popup-info-inner .categories .category-item{
    padding-left: 20px;
    margin-bottom: 15px;
}

.popup-info-inner .categories .category-item a{
    color: #aaa;
}

.popup-info-inner .share-button{
    font-size: 18px;
    margin-right: 25px;
}

.category-item{
    position: relative;
}

.category-item:before {
    content: "\ed43";
    font-family: "ggticons";
    color: #aaa;
    position: absolute;
    left: 0;
    top: 0;
}

.popup-info-inner .share-button a:hover{
    background: none;
}

.field-text,
.popup-info-inner .description{
    font-style: italic;
    color: #aaa;
    font-size: 1.1em;
    line-height: 1.8em;
}

.popup-info-inner .description{
    margin-bottom: 30px;
}

.popup-content .popup-info-inner .button,
.popup-content .popup-info-inner .button:hover{
    font-weight: 500;
    letter-spacing:2px;
    background: none;
    border: 2px solid #000;
    color: black;
}

.popup-content .popup-info-inner .button:hover a{
    color: black;
}

.page-template-page-portfolio .video-icon{
    font-style: normal;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    -o-transition:all 0.2s ease;
    transition:all 0.2s ease;
}
.page-template-page-portfolio .grid-item:hover .video-icon{
    opacity: 0;
}

.popup-content #video-controls{
    left: 60px;
}

#video-wrap{
    position: relative;
}

.popup-content .share-button a{
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    -o-transition:all 0.2s ease;
    transition:all 0.2s ease;
}

.view-full #footer-bar{
    -webkit-transform: translateY(90px);
    -moz-transform: translateY(90px);
    -ms-transform: translateY(90px);
    -o-transform: translateY(90px);
    transform: translateY(90px);
}

.view-full #main-app-bar{
    -webkit-transform: translateX(90px);
    -moz-transform: translateX(90px);
    -ms-transform: translateX(90px);
    -o-transform: translateX(90px);
    transform: translateX(90px);
}

.view-full .content-pad{
    padding-right: 0;
}

.popup-info-inner .image-share .share-button a{
    color: #000;
}

