﻿/**********************************************************************************
*********************************Gallery[start]************************************
***********************************************************************************/


#wrap {
    overflow: hidden;
}
.title-h1-gallery {
    font-size: 20px;
    margin: 25px auto;
   
    font-weight: bold;
    direction: rtl;
}
.tx-about-pg {
       text-align: justify;
    font-size: 16px;
    line-height: 40px;
    padding: 23px 30px 43px 30px;
    direction: rtl;
    position: relative;
   
    font-weight: bold;
}
.tx-about-pg .bt-nd img {
    display: block;
    margin: 0 auto;
    max-width: 258px;
    width: 100%;
}
.ti-about h2 {
    font-size: 19px;
    font-weight: bold;
    padding-top: 13px;
    line-height: 32px;
    padding-bottom: 9px;
    margin-bottom: 0px;
}
.demo-nd {
    padding-bottom: 50px;
    background: #f6f6f6;position: relative;
}
  .demo-nd:before {
    position: absolute;
    width: 100%;
    height: 86px;
    background-image: url(/frontPage/images/tf.png);
    background-size: 100% 100%;
    content: "";
    bottom: -45px;
    z-index: 99999;
}
.slide--in-top .direction-reveal__anim--in {
    -webkit-animation-name: slide--in-top;
    animation-name: slide--in-top;
}

.slide--in-top .direction-reveal__anim--out {
    -webkit-animation-name: slide--out-bottom;
    animation-name: slide--out-bottom;
}

.slide--in-bottom .direction-reveal__anim--in {
    -webkit-animation-name: slide--in-bottom;
    animation-name: slide--in-bottom;
}

.slide--in-bottom .direction-reveal__anim--out {
    -webkit-animation-name: slide--out-top;
    animation-name: slide--out-top;
}

.slide--in-left .direction-reveal__anim--in {
    -webkit-animation-name: slide--in-left;
    animation-name: slide--in-left;
}

.slide--in-left .direction-reveal__anim--out {
    -webkit-animation-name: slide--out-right;
    animation-name: slide--out-right;
}

.slide--in-right .direction-reveal__anim--in {
    -webkit-animation-name: slide--in-right;
    animation-name: slide--in-right;
}

.slide--in-right .direction-reveal__anim--out {
    -webkit-animation-name: slide--out-left;
    animation-name: slide--out-left;
}

.slide--out-top .direction-reveal__anim--in {
    -webkit-animation-name: slide--out-top;
    animation-name: slide--out-top;
}

.slide--out-top .direction-reveal__anim--out {
    -webkit-animation-name: slide--in-bottom;
    animation-name: slide--in-bottom;
}

.slide--out-bottom .direction-reveal__anim--in {
    -webkit-animation-name: slide--out-bottom;
    animation-name: slide--out-bottom;
}

.slide--out-bottom .direction-reveal__anim--out {
    -webkit-animation-name: slide--in-top;
    animation-name: slide--in-top;
}

.slide--out-left .direction-reveal__anim--in {
    -webkit-animation-name: slide--out-left;
    animation-name: slide--out-left;
}

.slide--out-left .direction-reveal__anim--out {
    -webkit-animation-name: slide--in-right;
    animation-name: slide--in-right;
}

.slide--out-right .direction-reveal__anim--in {
    -webkit-animation-name: slide--out-right;
    animation-name: slide--out-right;
}

.slide--out-right .direction-reveal__anim--out {
    -webkit-animation-name: slide--in-left;
    animation-name: slide--in-left;
}

.direction-reveal [class*='slide--'] .direction-reveal__anim--in, .direction-reveal [class*='slide--'] .direction-reveal__anim--out {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@-webkit-keyframes slide--in-top {
    0% {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}

@keyframes slide--in-top {
    0% {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}

@-webkit-keyframes slide--out-top {
    100% {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}

@keyframes slide--out-top {
    100% {
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}

@-webkit-keyframes slide--in-bottom {
    0% {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
}

@keyframes slide--in-bottom {
    0% {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
}

@-webkit-keyframes slide--out-bottom {
    100% {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
}

@keyframes slide--out-bottom {
    100% {
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
}

@-webkit-keyframes slide--in-left {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes slide--in-left {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@-webkit-keyframes slide--out-left {
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes slide--out-left {
    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@-webkit-keyframes slide--in-right {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@keyframes slide--in-right {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@-webkit-keyframes slide--out-right {
    100% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@keyframes slide--out-right {
    100% {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

.rotate--in-top .direction-reveal__anim--in {
    -webkit-animation-name: rotate--in-top;
    animation-name: rotate--in-top;
}

.rotate--in-top .direction-reveal__anim--out {
    -webkit-animation-name: rotate--out-bottom;
    animation-name: rotate--out-bottom;
}

.rotate--in-bottom .direction-reveal__anim--in {
    -webkit-animation-name: rotate--in-bottom;
    animation-name: rotate--in-bottom;
}

.rotate--in-bottom .direction-reveal__anim--out {
    -webkit-animation-name: rotate--out-top;
    animation-name: rotate--out-top;
}

.rotate--in-left .direction-reveal__anim--in {
    -webkit-animation-name: rotate--in-left;
    animation-name: rotate--in-left;
}

.rotate--in-left .direction-reveal__anim--out {
    -webkit-animation-name: rotate--out-right;
    animation-name: rotate--out-right;
}

.rotate--in-right .direction-reveal__anim--in {
    -webkit-animation-name: rotate--in-right;
    animation-name: rotate--in-right;
}

.rotate--in-right .direction-reveal__anim--out {
    -webkit-animation-name: rotate--out-left;
    animation-name: rotate--out-left;
}

.rotate--out-top .direction-reveal__anim--in {
    -webkit-animation-name: rotate--out-top;
    animation-name: rotate--out-top;
}

.rotate--out-top .direction-reveal__anim--out {
    -webkit-animation-name: rotate--in-bottom;
    animation-name: rotate--in-bottom;
}

.rotate--out-bottom .direction-reveal__anim--in {
    -webkit-animation-name: rotate--out-bottom;
    animation-name: rotate--out-bottom;
}

.rotate--out-bottom .direction-reveal__anim--out {
    -webkit-animation-name: rotate--in-top;
    animation-name: rotate--in-top;
}

.rotate--out-left .direction-reveal__anim--in {
    -webkit-animation-name: rotate--out-left;
    animation-name: rotate--out-left;
}

.rotate--out-left .direction-reveal__anim--out {
    -webkit-animation-name: rotate--in-right;
    animation-name: rotate--in-right;
}

.rotate--out-right .direction-reveal__anim--in {
    -webkit-animation-name: rotate--out-right;
    animation-name: rotate--out-right;
}

.rotate--out-right .direction-reveal__anim--out {
    -webkit-animation-name: rotate--in-left;
    animation-name: rotate--in-left;
}

.direction-reveal [class*='rotate--'] .direction-reveal__anim--in, .direction-reveal [class*='rotate--'] .direction-reveal__anim--out {
    -webkit-transform: rotate(0);
    transform: rotate(0);
    -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate--in-top .direction-reveal__anim--in, .rotate--in-top .direction-reveal__anim--out, .rotate--out-top .direction-reveal__anim--in, .rotate--out-top .direction-reveal__anim--out {
    -webkit-transform-origin: left top;
    transform-origin: left top;
}

.rotate--in-bottom .direction-reveal__anim--in, .rotate--in-bottom .direction-reveal__anim--out, .rotate--out-bottom .direction-reveal__anim--in, .rotate--out-bottom .direction-reveal__anim--out {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
}

.rotate--in-left .direction-reveal__anim--in, .rotate--in-left .direction-reveal__anim--out, .rotate--out-left .direction-reveal__anim--in, .rotate--out-left .direction-reveal__anim--out {
    -webkit-transform-origin: left top;
    transform-origin: left top;
}

.rotate--in-right .direction-reveal__anim--in, .rotate--in-right .direction-reveal__anim--out, .rotate--out-right .direction-reveal__anim--in, .rotate--out-right .direction-reveal__anim--out {
    -webkit-transform-origin: right top;
    transform-origin: right top;
}

@-webkit-keyframes rotate--in-top {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@keyframes rotate--in-top {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@-webkit-keyframes rotate--out-top {
    100% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@keyframes rotate--out-top {
    100% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@-webkit-keyframes rotate--in-bottom {
    0% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@keyframes rotate--in-bottom {
    0% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@-webkit-keyframes rotate--out-bottom {
    100% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@keyframes rotate--out-bottom {
    100% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@-webkit-keyframes rotate--in-left {
    0% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@keyframes rotate--in-left {
    0% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@-webkit-keyframes rotate--out-left {
    100% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@keyframes rotate--out-left {
    100% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@-webkit-keyframes rotate--in-right {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@keyframes rotate--in-right {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@-webkit-keyframes rotate--out-right {
    100% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

@keyframes rotate--out-right {
    100% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
}

.flip--in-top .direction-reveal__anim--in {
    -webkit-animation-name: flip--in-top;
    animation-name: flip--in-top;
}

.flip--in-top .direction-reveal__anim--out {
    -webkit-animation-name: flip--out-bottom;
    animation-name: flip--out-bottom;
}

.flip--in-bottom .direction-reveal__anim--in {
    -webkit-animation-name: flip--in-bottom;
    animation-name: flip--in-bottom;
}

.flip--in-bottom .direction-reveal__anim--out {
    -webkit-animation-name: flip--out-top;
    animation-name: flip--out-top;
}

.flip--in-left .direction-reveal__anim--in {
    -webkit-animation-name: flip--in-left;
    animation-name: flip--in-left;
}

.flip--in-left .direction-reveal__anim--out {
    -webkit-animation-name: flip--out-right;
    animation-name: flip--out-right;
}

.flip--in-right .direction-reveal__anim--in {
    -webkit-animation-name: flip--in-right;
    animation-name: flip--in-right;
}

.flip--in-right .direction-reveal__anim--out {
    -webkit-animation-name: flip--out-left;
    animation-name: flip--out-left;
}

.flip--out-top .direction-reveal__anim--in {
    -webkit-animation-name: flip--out-top;
    animation-name: flip--out-top;
}

.flip--out-top .direction-reveal__anim--out {
    -webkit-animation-name: flip--in-bottom;
    animation-name: flip--in-bottom;
}

.flip--out-bottom .direction-reveal__anim--in {
    -webkit-animation-name: flip--out-bottom;
    animation-name: flip--out-bottom;
}

.flip--out-bottom .direction-reveal__anim--out {
    -webkit-animation-name: flip--in-top;
    animation-name: flip--in-top;
}

.flip--out-left .direction-reveal__anim--in {
    -webkit-animation-name: flip--out-left;
    animation-name: flip--out-left;
}

.flip--out-left .direction-reveal__anim--out {
    -webkit-animation-name: flip--in-right;
    animation-name: flip--in-right;
}

.flip--out-right .direction-reveal__anim--in {
    -webkit-animation-name: flip--out-right;
    animation-name: flip--out-right;
}

.flip--out-right .direction-reveal__anim--out {
    -webkit-animation-name: flip--in-left;
    animation-name: flip--in-left;
}

.direction-reveal [class*='flip--'] {
    -webkit-perspective: 800px;
    perspective: 800px;
    overflow: visible;
}

    .direction-reveal [class*='flip--'] .direction-reveal__anim--in, .direction-reveal [class*='flip--'] .direction-reveal__anim--out {
        -webkit-transform: rotateX(0) rotateY(0);
        transform: rotateX(0) rotateY(0);
        -webkit-animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
        animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
        -webkit-animation-duration: 0.6s;
        animation-duration: 0.6s;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        z-index: 1;
    }

@-webkit-keyframes flip--in-top {
    0% {
        -webkit-transform: rotateX(180deg) rotateY(0);
        transform: rotateX(180deg) rotateY(0);
    }
}

@keyframes flip--in-top {
    0% {
        -webkit-transform: rotateX(180deg) rotateY(0);
        transform: rotateX(180deg) rotateY(0);
    }
}

@-webkit-keyframes flip--out-top {
    100% {
        -webkit-transform: rotateX(180deg) rotateY(0);
        transform: rotateX(180deg) rotateY(0);
    }
}

@keyframes flip--out-top {
    100% {
        -webkit-transform: rotateX(180deg) rotateY(0);
        transform: rotateX(180deg) rotateY(0);
    }
}

@-webkit-keyframes flip--in-bottom {
    0% {
        -webkit-transform: rotateX(-180deg) rotateY(0);
        transform: rotateX(-180deg) rotateY(0);
    }
}

@keyframes flip--in-bottom {
    0% {
        -webkit-transform: rotateX(-180deg) rotateY(0);
        transform: rotateX(-180deg) rotateY(0);
    }
}

@-webkit-keyframes flip--out-bottom {
    100% {
        -webkit-transform: rotateX(-180deg) rotateY(0);
        transform: rotateX(-180deg) rotateY(0);
    }
}

@keyframes flip--out-bottom {
    100% {
        -webkit-transform: rotateX(-180deg) rotateY(0);
        transform: rotateX(-180deg) rotateY(0);
    }
}

@-webkit-keyframes flip--in-left {
    0% {
        -webkit-transform: rotateX(0) rotateY(-180deg);
        transform: rotateX(0) rotateY(-180deg);
    }
}

@keyframes flip--in-left {
    0% {
        -webkit-transform: rotateX(0) rotateY(-180deg);
        transform: rotateX(0) rotateY(-180deg);
    }
}

@-webkit-keyframes flip--out-left {
    100% {
        -webkit-transform: rotateX(0) rotateY(-180deg);
        transform: rotateX(0) rotateY(-180deg);
    }
}

@keyframes flip--out-left {
    100% {
        -webkit-transform: rotateX(0) rotateY(-180deg);
        transform: rotateX(0) rotateY(-180deg);
    }
}

@-webkit-keyframes flip--in-right {
    0% {
        -webkit-transform: rotateX(0) rotateY(180deg);
        transform: rotateX(0) rotateY(180deg);
    }
}

@keyframes flip--in-right {
    0% {
        -webkit-transform: rotateX(0) rotateY(180deg);
        transform: rotateX(0) rotateY(180deg);
    }
}

@-webkit-keyframes flip--out-right {
    100% {
        -webkit-transform: rotateX(0) rotateY(180deg);
        transform: rotateX(0) rotateY(180deg);
    }
}

@keyframes flip--out-right {
    100% {
        -webkit-transform: rotateX(0) rotateY(180deg);
        transform: rotateX(0) rotateY(180deg);
    }
}

.direction-reveal__card {
    float: left;
    position: relative;
    overflow: hidden;
    height: 228px;
}
.direction-reveal__card img{
   width:100%;
    /*height: 100%;*/
}
.direction-reveal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    color: #fff;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}


.direction-reveal__anim--in {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.direction-reveal__anim--in, .direction-reveal__anim--out {
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.direction-reveal [class*='slide--'] .direction-reveal__anim--in, .direction-reveal [class*='slide--'] .direction-reveal__anim--out {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); */
}

.direction-reveal__title {
    margin-top: 6px;
    text-align: right;
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 10px;
}

.direction-reveal__text {
    margin-bottom: 0;
    text-align: justify;
    direction: rtl;
}

.direction-reveal--3-grid-flexbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}



@media (min-width: 576px) {
    .direction-reveal--3-grid-flexbox .direction-reveal__card {
    }
}

.direction-reveal--3-grid-cssgrid {
    display: -ms-grid;
    display: grid;
    margin-right: -10px;
    margin-left: -10px;
}

@media (min-width: 576px) {
    .direction-reveal--3-grid-cssgrid {
        -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
    }
}

.direction-reveal--3-grid-cssgrid .direction-reveal__card {
    border: 10px solid transparent;
}

.direction-reveal--grid-bootstrap .direction-reveal__card {
    margin-top: 15px;
    margin-bottom: 15px;
}

.dv-cs {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    padding: 5px;
  
}
    
    .tx-gl {
        background-color: #000;
        min-height: 88px;
    }

.demo-nd {
    padding-bottom: 50px;
}

.direction-reveal .dv-cs:nth-child(odd) .tx-gl {
    background-color: #151515;
}

.direction-reveal .dv-cs:nth-child(even) .tx-gl {
    background-color: #1d1c1c;
}


@media (max-width: 760px) {


    .dv-cs {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        padding: 5px;
       
    }

    .direction-reveal__title {
        font-size: 13px;
    }

    .direction-reveal__text {
        display: none;
    }
}
/**********************************************************************************
*********************************Gallery[end]**************************************
***********************************************************************************/
/***********************************************************************************
*********************************fancy[start]***************************************
***********************************************************************************/


/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp {
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    vertical-align: top;
}

.fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8020;
}

.fancybox-skin {
    position: relative;
    background: #f9f9f9;
    color: #444;
    text-shadow: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.fancybox-opened {
    z-index: 8030;
}

    .fancybox-opened .fancybox-skin {
        -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

.fancybox-outer, .fancybox-inner {
    position: relative;
}

.fancybox-inner {
    overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
    -webkit-overflow-scrolling: touch;
}

.fancybox-error {
    color: #444;
    font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
    margin: 0;
    padding: 15px;
    white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.fancybox-image {
    max-width: 100%;
    max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
    background-image: url('/css/img/fancybox_sprite.png');
}

#fancybox-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -22px;
    margin-left: -22px;
    background-position: 0 -108px;
    opacity: 0.8;
    cursor: pointer;
    z-index: 8060;
}

    #fancybox-loading div {
        width: 44px;
        height: 44px;
        background: url('/css/img/fancybox_loading.gif') center center no-repeat;
    }

.fancybox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
}

.fancybox-nav {
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    background: transparent url('/css/img/blank.gif'); /* helps IE */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    z-index: 8040;
}

.fancybox-prev {
    left: 0;
}

.fancybox-next {
    right: 0;
}

.fancybox-nav span {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 34px;
    margin-top: -18px;
    cursor: pointer;
    z-index: 8040;
    visibility: hidden;
}

.fancybox-prev span {
    left: 10px;
    background-position: 0 -36px;
}

.fancybox-next span {
    right: 10px;
    background-position: 0 -72px;
}

.fancybox-nav:hover span {
    visibility: visible;
}

.fancybox-tmp {
    position: absolute;
    top: -99999px;
    left: -99999px;
    visibility: hidden;
    max-width: 99999px;
    max-height: 99999px;
    overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

    .fancybox-lock body {
        overflow: hidden !important;
    }

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 8010;
    background: url('/css/img/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99999999999999;
}

.fancybox-lock .fancybox-overlay {
    overflow: auto;
    overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
    visibility: hidden;
    font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
    position: relative;
    text-shadow: none;
    z-index: 8050;
}

.fancybox-opened .fancybox-title {
    visibility: visible;
}

.fancybox-title-float-wrap {
    position: absolute;
    bottom: 0;
    right: 50%;
    margin-bottom: -35px;
    z-index: 8050;
    text-align: center;
}

    .fancybox-title-float-wrap .child {
        display: inline-block;
        margin-right: -100%;
        padding: 2px 20px;
        background: transparent; /* Fallback for web browsers that doesn't support RGBa */
        background: rgba(0, 0, 0, 0.8);
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
        text-shadow: 0 1px 2px #222;
        color: #FFF;
        padding: 10px;
        line-height: 24px;
        white-space: nowrap;
        font: 8pt tahoma;
    }

.fancybox-title-outside-wrap {
    position: relative;
    margin-top: 10px;
    color: #fff;
}

.fancybox-title-inside-wrap {
    padding-top: 10px;
}

.fancybox-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) {

    #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
        background-image: url('/css/img/fancybox_sprite@2x.png');
        background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
    }

        #fancybox-loading div {
            background-image: url('/css/img/fancybox_loading@2x.gif');
            background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
        }
}




div#fancy_overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    background-color: #333;
}

div#fancy_loading {
    position: absolute;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: none;
    overflow: hidden;
    background: transparent;
    z-index: 100;
}

    div#fancy_loading div {
        position: absolute;
        top: 0;
        left: 0;
        width: 40px;
        height: 480px;
        background: transparent url(/css/img/fancy_progress.png) no-repeat;
    }

div#fancy_close {
    position: absolute;
    top: -12px;
    right: -12px;
    height: 30px;
    width: 30px;
    background: transparent url(/css/img/fancy_closebox.png);
    cursor: pointer;
    z-index: 100;
    display: none;
}

div#fancy_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    z-index: 96;
}

#fancy_frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

img#fancy_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 92;
}

div#fancy_title {
    position: absolute;
    bottom: -35px;
    left: 0;
    width: 100%;
    z-index: 100;
    display: none;
}

    div#fancy_title table {
        margin: 0 auto;
    }

    div#fancy_title div {
        color: #FFF;
        font: bold 12px Arial;
        padding-bottom: 2px;
    }

td#fancy_title_left {
    height: 32px;
    width: 15px;
    background: transparent url(/css/img/fancy_title_left.png) repeat-x;
}

td#fancy_title_main {
    height: 32px;
    background: transparent url(/css/img/fancy_title_main.png) repeat-x;
}

td#fancy_title_right {
    height: 32px;
    width: 15px;
    background: transparent url(/css/img/fancy_title_right.png) repeat-x;
}

div#fancy_outer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 58px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid #444;
    background: #FFF;
}

a#fancy_left, a#fancy_right {
    position: absolute;
    bottom: 10px;
    height: 100%;
    width: 35%;
    cursor: pointer;
    background-image: url(data:image/gif;base64,AAAA);
    z-index: 100;
}

a#fancy_left {
    left: 0px;
}

a#fancy_right {
    right: 0px;
}

a#fancy_left:hover {
    background: transparent url(/css/img/fancy_left.gif) no-repeat 0% 100%;
}

a#fancy_right:hover {
    background: transparent url(/css/img/fancy_right.gif) no-repeat 100% 100%;
}

#fancy_bigIframe, #fancy_freeIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

div#fancy_bg {
    display: none;
}

div.fancy_bg {
    position: absolute;
    display: block;
    z-index: 70;
}

div.fancy_bg_n {
    top: -18px;
    width: 100%;
    height: 18px;
    background: transparent url(/css/img/fancy_shadow_n.png) repeat-x;
}

div.fancy_bg_ne {
    top: -18px;
    right: -13px;
    width: 13px;
    height: 18px;
    background: transparent url(/css/img/fancy_shadow_ne.png) no-repeat;
}

div.fancy_bg_e {
    right: -13px;
    height: 100%;
    width: 13px;
    background: transparent url(/css/img/fancy_shadow_e.png) repeat-y;
}

div.fancy_bg_se {
    bottom: -18px;
    right: -13px;
    width: 13px;
    height: 18px;
    background: transparent url(/css/img/fancy_shadow_se.png) no-repeat;
}

div.fancy_bg_s {
    bottom: -18px;
    width: 100%;
    height: 18px;
    background: transparent url(/css/img/fancy_shadow_s.png) repeat-x;
}

div.fancy_bg_sw {
    bottom: -18px;
    left: -13px;
    width: 13px;
    height: 18px;
    background: transparent url(/css/img/fancy_shadow_sw.png) no-repeat;
}

div.fancy_bg_w {
    left: -13px;
    height: 100%;
    width: 13px;
    background: transparent url(/css/img/fancy_shadow_w.png) repeat-y;
}

div.fancy_bg_nw {
    top: -18px;
    left: -13px;
    width: 13px;
    height: 18px;
    background: transparent url(/css/img/fancy_shadow_nw.png) no-repeat;
}

/**********************************************************************************
*********************************fancy[end]****************************************
***********************************************************************************/
