/* yag changes */
.tx-yag-breadcrumbcomtainer {
    border-color: #333;
}

.tx-yag-thumb-innerframe {
    margin: 0;
    width: 45%;
    max-width: 240px;
}

.tx-yag-gallery-galleryinfo,
.tx-yag-album-albuminfo {
    padding-left: 5%;
    width: 50%;
    float: left;
}

.tx-yag-album-albumcaption {
    font-size: 1.4em;
}

.tx-yag-thumb-innerframe img, .tx-yag-image img {
    margin: 0;
    padding: 4%;
    width: 92%;
    height: auto;
    max-height: 195px;
}

.tx-yag-items .tx-yag-gallery-thumb-outerframe {
    width: 47.5%;
    padding-right: 2.5%;
}

/* media querie handhelds less than 760px  and greater than 360px********************************/
@media screen and (max-width: 759px) {
    /* yag changes */
    .tx-yag-items .tx-yag-gallery-thumb-outerframe,
    .tx-yag-items .tx-yag-thumb-outerframe.tx-yag-album-thumb-outerframe {
        width: 100%;
        height: auto;
        padding: 2% 0;
    }

    .tx-yag-thumb-innerframe img, .tx-yag-image img {
        max-height: none;
    }
}

/*
    Slick Slider
*/
.slick-slide {
    margin: 0 4px;
    position: relative;
}

.slick-dots {
    position: relative;
    bottom: 0;
}

.slick-html-caption {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    width: 100%;
}

.slick-html-caption p {
    margin: 0;
    padding: 1%;
}

@media only screen and (max-width: 600px) {
    .slider-detail {
        display: none;
    }
}

/* nivo slider changes */
@media only screen and (max-width: 600px) {
    .theme-default .nivo-caption{
        display: none !important;
    }
}

/*overlay*/
.closeGallery {
    background: url("../images/close.png");
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 5010;
    cursor: pointer;
    background-size: contain;
}

#galleryOverlayContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: red;
    z-index: 5000;
    background: black;
    background: transparent\9;
    background: rgba(0, 0, 0, 0.5);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000,endColorstr=#cc000000);
    zoom: 1;
}

#galleryOverlayContainerInner{
    position: relative;
    width: 90%;
    margin: 8% 0 0 5%;
}

#galleryOverlayContainerInner .tx-yag-breadcrumb{
    display: none;
}

#galleryOverlayContainer:nth-child(n) {
    filter: none;
}

#galleryOverlayLoading{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
}

.slick-slider{
    width: 100%;
}