/**
 * @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.
 */

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancypox/#license */
.fancypox-wrap,
.fancypox-skin,
.fancypox-outer,
.fancypox-inner,
.fancypox-image,
.fancypox-wrap iframe,
.fancypox-wrap object,
.fancypox-nav,
.fancypox-nav span,
.fancypox-tmp
{
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    vertical-align: top;
}

.fancypox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8020;
}

.fancypox-skin {
    position: relative;
    background: rgba(35,35,35,.9);
    color: #444;
    text-shadow: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding:4px!important;		
}

.fancypox-opened {
    z-index: 8030;
}

.fancypox-opened .fancypox-skin {
    -webkit-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, .6);
    -moz-box-shadow: 0 38px 30px -18px rgba(0, 0, 0, .6);
    box-shadow: 0 38px 30px -18px rgba(0, 0, 0, .6);
}

.fancypox-outer, .fancypox-inner {
    position: relative;
}

.fancypox-inner {
    overflow: hidden;
}

.fancypox-type-iframe .fancypox-inner {
    -webkit-overflow-scrolling: touch;
}

.fancypox-error {
    color: #444;
    font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
    margin: 0;
    padding: 15px;
    white-space: nowrap;
}

.fancypox-image, .fancypox-iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.fancypox-image {
    max-width: 100%;
    max-height: 100%;
}

#fancypox-loading, .fancypox-close, .fancypox-prev span, .fancypox-next span {
    background-image: url('fancypox_sprite.png');
}

#fancypox-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -22px;
    margin-left: -22px;
    opacity: 0.8;
    background: #000000;
    height: 44px;
    width: 44px;
    cursor: pointer;
    z-index: 8060;
}

#fancypox-loading div {
    width: 24px;
    margin: 10px;
    height: 24px;
    background: url('fancypox_loading.gif') center center no-repeat;
    background-size: 24px 24px;	
}

.fancypox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
}

.fancypox-nav {
    position: absolute;
    width: 10%;
    outline:none;
    top: 45%;
    height: 10%;
    cursor: pointer;
    text-decoration: none;
    background: transparent url('blank.gif'); /* helps IE */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    z-index: 8040;
}

.fancypox-prev {
    left: 0;
}

.fancypox-next {
    right: 0;
}

.fancypox-nav span {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 34px;
    margin-top: -18px;
    cursor: pointer;
    z-index: 8040;
    visibility: hidden;
}

.fancypox-prev span {
    left: 10px;
    background-position: 0 -36px;
}

.fancypox-next span {
    right: 10px;
    background-position: 0 -72px;
}

.fancypox-nav:hover span {
    visibility: visible;
}

.fancypox-tmp {
    position: absolute;
    top: -99999px;
    left: -99999px;
    visibility: hidden;
    max-width: 99999px;
    max-height: 99999px;
    overflow: visible !important;
}

/* Overlay helper */

.fancypox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancypox-lock body {
    overflow: hidden !important;
}

.fancypox-lock-test {
    overflow-y: hidden !important;
}

.fancypox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 8010;
    /*	background: url('fancypox_overlay.png');*/
    background: rgba(43,43,43,0.7);
}

.fancypox-overlay-fixed {
    position: fixed;
    bottom: 0;
    right: 0;
}

.fancypox-lock .fancypox-overlay {
    overflow: auto;
    overflow-y: scroll;
}

/* Title helper */

.fancypox-title {
    visibility: hidden;
    font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
    position: relative;
    text-shadow: none;
    z-index: 8050;
}

.fancypox-opened .fancypox-title {
    visibility: visible;
}

.fancypox-title-float-wrap {
    position: absolute;
    bottom: 0;
    right: 50%;
    margin-bottom: -55px;
    z-index: 8050;
    text-align: center;
}

.fancypox-title-float-wrap .child {
    display: inline-block;
    margin-right: -100%;
    padding: 3px 13px;
    background: transparent; /* Fallback for web browsers that doesn't support RGBa */
    background: rgba(23, 23, 23, 0.8);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-shadow: 0 1px black;
    color: #FFF;
    font-weight: normal;
    line-height: 21px;
    font-size:13px;
    max-width:700px;
}

.fancypox-title-outside-wrap {
    position: relative;
    margin-top: 10px;
    color: #fff;
}

.fancypox-title-inside-wrap {
    padding-top: 10px;
}

.fancypox-title-over-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 10px;
    background: #000;
    background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5){

    #fancypox-loading, .fancypox-close, .fancypox-prev span, .fancypox-next span {
        background-image: url('fancypox_sprite@2x.png');
        background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
    }

    #fancypox-loading div {
        background-image: url('fancypox_loading@2x.gif');
        background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
    }
}







/*--- fancypox settings added --- */

.fancypox-nav span{
    width: 34px !important;
    height: 34px !important;
    background-color: transparent !important;
}




.fancypox-close{
    top: -18px !important;
    right: -18px !important;
}



.fancypox-title-float-wrap .child{
    text-transform: uppercase;
    font-size: 15px;
    color: #999999;
    line-height: 25px;
    border-radius: 4px;
    text-shadow: none;
    padding: 3px 21px;
}

.fancypox-title-float-wrap .child .desc,
.fancypox-title-float-wrap .child .cat{
    font-size: 13px;
}

.fancypox-skin {
    background: rgba(35,35,35,.9) !important;
}