/**
 * @Package: WordPress Plugin
 * @Subpackage: Ultra Portfolio
 * @Since: Ultra Portfolio 1.0
 * @Current Version: Ultra Portfolio 3.1
 * @WordPress Version: 3.5 or above
 * This file is part of Ultra Portofolio WordPress Plugin.
 */

figcaption{text-align:center;}
/**********/
.no-touch .uport-cs-style-1 figure:hover figcaption,
.uport-cs-style-1 figure.cs-hover figcaption {
    opacity: 1;
}

/*********/

/*********/
.no-touch .uport-cs-style-3 figure:hover figcaption,
.uport-cs-style-3 figure.cs-hover figcaption {
    opacity: 1;
}

/*********/
.no-touch .uport-cs-style-4 figure:hover figcaption,
.uport-cs-style-4 figure.cs-hover figcaption {
    opacity: 1;
}

/********/
.no-touch .uport-cs-style-5 figure:hover figcaption,
.uport-cs-style-5 figure.cs-hover figcaption {
    opacity: 1;
}

/********/
.uport-cs-style-6 figcaption h4 {
    top: 35%;
    position: relative;
}
/********/

.uport-grid figcaption h4 a{
    text-decoration: none;
}

.uport-grid h4 a{
    text-decoration: none;
    padding: 0px !important;
    margin: 0px !important;
}

/***************************************************************/

.uport-grid *, .uport-grid :after, .uport-grid :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.uport-grid li {
    display: inline-block;
    text-align: center;
    position: relative;
    margin: 0px;
}

.uport-grid figure {
    margin: 0;
    position: relative;
}

.uport-grid figure img {
    max-width: 100%;
    display: block;
    position: relative;
}

.uport-grid figcaption {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}



.uport-grid .above-wrapper{
    display: inline-block;
    position: absolute;
    overflow: hidden;
    vertical-align: top;
    top:0px;
    left: 0px;
    z-index: 9;
    width:100%;
}

.uport-grid .item-wrapper{
    display: inline-block;
    position: relative;
    width:100%;
}


.uport-grid .mask-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    width:100%;
}


.uport-grid .outarea{
    display: inline-block;
    position: relative;
    width:100%;
}



.uport-grid .price{
    display: inline-block;
}






















/* Individual Caption Styles */

/* Caption Style 1 */
.uport-cs-style-1 figcaption {
    height: 100%;
    width: 100%;
    opacity: 0;
    text-align: center;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;

    -webkit-transition: -webkit-transform 0.3s, opacity 0.4s;
    -moz-transition: -moz-transform 0.3s, opacity 0.4s;
    transition: transform 0.3s, opacity 0.4s;
    -ms-transition: transform 0.3s, opacity 0.4s;
    -o-transition: transform 0.3s, opacity 0.4s;
}

.uport-cs-style-1 figure:hover img {
    opacity: 0.4;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition:  all 0.4s ease-in-out;
    transition:  all 0.4s ease-in-out;
    -ms-transition:  all 0.4s ease-in-out;
    -o-transition:  all 0.4s ease-in-out;
}

.no-touch .uport-cs-style-1 figure:hover figcaption,
.uport-cs-style-1 figure.cs-hover figcaption {
    -webkit-transform: translate(-21px, -21px);
    -moz-transform: translate(-21px, -21px);
    -ms-transform: translate(-21px, -21px);
    transform: translate(-21px, -21px);
    -o-transform: translate(-21px, -21px);
}

.no-touch .uport-cs-style-1.v1 figure:hover figcaption,
.uport-cs-style-1.v1 figure.cs-hover figcaption {
    -webkit-transform: translate(-21px, 21px);
    -moz-transform: translate(-21px, 21px);
    -ms-transform: translate(-21px, 21px);
    transform: translate(-21px, 21px);
    -o-transform: translate(-21px, 21px);
    z-index: 9999;
}

.no-touch .uport-cs-style-1.v2 figure:hover figcaption,
.uport-cs-style-1.v1 figure.cs-hover figcaption {
    -webkit-transform: translate(21px, -21px);
    -moz-transform: translate(21px, -21px);
    -ms-transform: translate(21px, -21px);
    transform: translate(21px, -21px);
    -o-transform: translate(21px, -21px);
    z-index: 9999;
}

.no-touch .uport-cs-style-1.v3 figure:hover figcaption,
.uport-cs-style-1.v1 figure.cs-hover figcaption {
    -webkit-transform: translate(21px, 21px);
    -moz-transform: translate(21px, 21px);
    -ms-transform: translate(21px, 21px);
    transform: translate(21px, 21px);
    -o-transform: translate(21px, 21px);
    z-index: 9999;
}


.uport-cs-style-1 figcaption span.txt {
    display: block;
}

















/* Caption Style 2 */
.uport-cs-style-2 figure img {
    z-index: 10;
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
    -o-transition: transform 0.4s;
    -ms-transition: transform 0.4s;
}

.no-touch .uport-cs-style-2 figure:hover img,
.uport-cs-style-2 figure.cs-hover img {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.uport-cs-style-2 figcaption {
    height: 50%;
    width: 100%;
    top: auto;
    bottom: 0;
}

.uport-cs-style-2.v1 figcaption {
    height: 50%;
    width: 100%;
    top: 0;
    bottom: auto;
}

.no-touch .uport-cs-style-2.v1 figure:hover img,
.uport-cs-style-2.v1 figure.cs-hover img {
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
    -o-transform: translateY(50%);
    z-index: 99;
}



















/* Caption Style 3 */
.uport-cs-style-3 figure {
    overflow: hidden;
}

.uport-cs-style-3 figure img {
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
    -ms-transition: transform 0.4s;
    -o-transition: transform 0.4s;
}

.no-touch .uport-cs-style-3 figure:hover img,
.uport-cs-style-3 figure.cs-hover img {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.no-touch .uport-cs-style-3.v1 figure:hover img,
.uport-cs-style-3.v1 figure.cs-hover img {
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
    -o-transform: translateY(50%);
}




.uport-cs-style-3 figcaption {
    height: 50%;
    width: 100%;
    top: auto;
    bottom: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -o-transform: translateY(100%);

    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
    -ms-transition: transform 0.4s, opacity 0.1s 0.3s;
    -o-transition: transform 0.4s, opacity 0.1s 0.3s;
}


.uport-cs-style-3.v1 figcaption {
    height: 50%;
    width: 100%;
    top: 0;
    bottom: auto;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    -o-transform: translateY(-100%);
}



.no-touch .uport-cs-style-3 figure:hover figcaption,
.uport-cs-style-3 figure.cs-hover figcaption {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -o-transform: translateY(0px);

    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
    -ms-transition: transform 0.4s, opacity 0.1s;
    -o-transition: transform 0.4s, opacity 0.1s;
}



















/* Caption Style 4 */
.uport-cs-style-4 li {
    -webkit-perspective: 1700px;
    -moz-perspective: 1700px;
    perspective: 1700px;
    -o-perspective: 1700px;
    -ms-perspective: 1700px;

    -webkit-perspective-origin: 0 50%;
    -moz-perspective-origin: 0 50%;
    perspective-origin: 0 50%;
    -o-perspective-origin: 0 50%;
    -ms-perspective-origin: 0 50%;
}

.uport-cs-style-4 figure {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
}

.uport-cs-style-4 figure > div {
    overflow: hidden;
}

.uport-cs-style-4 figure img {
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
    -ms-transition: transform 0.4s;
    -o-transition: transform 0.4s;
}

.no-touch .uport-cs-style-4 figure:hover img,
.uport-cs-style-4 figure.cs-hover img {
    -webkit-transform: translateX(50%);
    -moz-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    -o-transform: translateX(50%);
}

.uport-cs-style-4 figcaption {
    height: 100%;
    width: 50%;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;

    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -o-transform-origin: 0 0;

    -webkit-transform: rotateY(-90deg);
    -moz-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
    -ms-transform: rotateY(-90deg);
    -o-transform: rotateY(-90deg);

    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
    -o-transition: transform 0.4s, opacity 0.1s 0.3s;
    -ms-transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .uport-cs-style-4 figure:hover figcaption{text-align:center;}
.no-touch .uport-cs-style-4 figure:hover figcaption,
.uport-cs-style-4 figure.cs-hover figcaption {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);

    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
    -ms-transition: transform 0.4s, opacity 0.1s;
    -o-transition: transform 0.4s, opacity 0.1s;

    box-shadow: 2px 0 2px -1px rgba(50,50,50,0.7);
    -webkit-box-shadow: 2px 0 2px -1px rgba(50,50,50,0.7);
    -ms-box-shadow: 2px 0 2px -1px rgba(50,50,50,0.7);
    -o-box-shadow: 2px 0 2px -1px rgba(50,50,50,0.7);
    -moz-box-shadow: 2px 0 2px -1px rgba(50,50,50,0.7);

    text-align:center;
}





.uport-cs-style-4.v1 figcaption {
    position: absolute;
    top: 0;
    left: 100%;
    right: 0;
}

.uport-cs-style-4.v1 li {
    -webkit-perspective-origin: 0% 50%;
    -moz-perspective-origin: 0% 50%;
    perspective-origin: 0% 50%;
    -o-perspective-origin: 0% 50%;
    -ms-perspective-origin: 0% 50%;
}

.no-touch .uport-cs-style-4.v1 figure:hover img,
.uport-cs-style-4.v1 figure.cs-hover img {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.uport-cs-style-4.v1 figcaption {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
}

.no-touch .uport-cs-style-4.v1 figure:hover figcaption,
.uport-cs-style-4.v1 figure.cs-hover figcaption {
    box-shadow: 4px 0 4px -2px #333333;
    -webkit-box-shadow: 4px 0 4px -2px #333333;
    -ms-box-shadow: 4px 0 4px -2px #333333;
    -o-box-shadow: 4px 0 4px -2px #333333;
    -moz-box-shadow: 4px 0 4px -2px #333333;

    -webkit-backface-visibility: visible;
    -moz-backface-visibility: visible;
    backface-visibility: visible;
    -ms-backface-visibility: visible;
    -o-backface-visibility: visible;

    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;

    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);

    z-index:9999;
}

.uport-cs-style-4.v1 figure figcaption *{
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
}













/* Caption Style 5 */
.uport-cs-style-5 figure img {
    z-index: 10;
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
    -ms-transition: transform 0.4s;
    -o-transition: transform 0.4s;
}

.no-touch .uport-cs-style-5 figure:hover img,
.uport-cs-style-5 figure.cs-hover img {
    -webkit-transform: scale(0.4);
    -moz-transform: scale(0.4);
    -ms-transform: scale(0.4);
    transform: scale(0.4);
    -o-transform: scale(0.4);
}

.uport-cs-style-5 figcaption {
    height: 100%;
    width: 100%;
    opacity: 0;

    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    -o-transform: scale(0.7);

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;

    -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
    -moz-transition: -moz-transform 0.4s, opacity 0.4s;
    transition: transform 0.4s, opacity 0.4s;
    -ms-transition: transform 0.4s, opacity 0.4s;
    -o-transition: transform 0.4s, opacity 0.4s;
}

.no-touch .uport-cs-style-5 figure:hover figcaption,
.uport-cs-style-5 figure.cs-hover figcaption {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -o-transform: scale(1);
}





/* Caption Style 6 */
.uport-cs-style-6 figure img {
    z-index: 10;
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
    -ms-transition: transform 0.4s;
    -o-transition: transform 0.4s;
}

.no-touch .uport-cs-style-6 figure:hover img,
.uport-cs-style-6 figure.cs-hover img {
    -webkit-transform: translateY(-20%) scale(0.4);
    -moz-transform: translateY(-20%) scale(0.4);
    -ms-transform: translateY(-20%) scale(0.4);
    transform: translateY(-20%) scale(0.4);
    -o-transform: translateY(-20%) scale(0.4);
}


.no-touch .uport-cs-style-6.v1 figure:hover img,
.uport-cs-style-6.v1 figure.cs-hover img {
    -webkit-transform: translateY(20%) scale(0.4);
    -moz-transform: translateY(20%) scale(0.4);
    -ms-transform: translateY(20%) scale(0.4);
    transform: translateY(20%) scale(0.4);
    -o-transform: translateY(20%) scale(0.4);
}

.uport-cs-style-6 figcaption {
    text-align:center;
    height: 100%;
    width: 100%;
    opacity: 0;
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    -o-transform: scale(0.7);

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;

    -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
    -moz-transition: -moz-transform 0.4s, opacity 0.4s;
    transition: transform 0.4s, opacity 0.4s;
    -ms-transition: transform 0.4s, opacity 0.4s;
    -o-transition: transform 0.4s, opacity 0.4s;


}

.no-touch .uport-cs-style-6 figure:hover figcaption,
.uport-cs-style-6 figure.cs-hover figcaption {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -o-transform: scale(1);
    opacity: 1;
}







/* Caption Style 7 */


.no-touch .uport-cs-style-7 figure:hover figcaption,
.uport-cs-style-7 figure.cs-hover figcaption {
    opacity: 1;;
}
.uport-cs-style-7 figcaption a{position:relative;z-index:999;}
.uport-cs-style-7 figcaption p, .uport-cs-style-7 figcaption h4 {
    top: 58%;
    position: relative;
}
.uport-cs-style-7 figure img {
    z-index: 10;
    top: 58%;
    position: relative;
}

.uport-cs-style-7 li{z-index:1;}
.uport-cs-style-7 li:hover{z-index:999;}

.uport-cs-style-7 figcaption {
    height: 100%;
    width: 100%;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;

    -webkit-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
    -moz-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
    transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
    -ms-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
    -o-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 0 0px #2c3f52;
}

.no-touch .uport-cs-style-7 figure:hover figcaption,
.uport-cs-style-7 figure.cs-hover figcaption {

    height: 175%;

}

.uport-cs-style-7 figcaption h4,
.uport-cs-style-7 figcaption span.txt,
.uport-cs-style-7 figcaption a {
    opacity: 0;
    -webkit-transition: opacity 0s;
    -moz-transition: opacity 0s;
    transition: opacity 0s;
    -o-transition: opacity 0s;
    -ms-transition: opacity 0s;
}


.no-touch .uport-cs-style-7 figure:hover figcaption h4,
.no-touch .uport-cs-style-7 figure:hover figcaption span.txt,
.no-touch .uport-cs-style-7 figure:hover figcaption a,
.uport-cs-style-7 figure.cs-hover figcaption h4,
.uport-cs-style-7 figure.cs-hover figcaption span.txt,
.uport-cs-style-7 figure.cs-hover figcaption a {
    -webkit-transition: opacity 0.3s 0.2s;
    -moz-transition: opacity 0.3s 0.2s;
    transition: opacity 0.3s 0.2s;
    -ms-transition: opacity 0.3s 0.2s;
    -o-transition: opacity 0.3s 0.2s;
    opacity: 1;
}

