ul#pgalbums,
ul#pgthumbs {
    padding: 0;
    list-style: none;
    margin: 0;
}

.plusgallery img {
    max-width: none;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.plusgallery a img {
    display: block;
    max-width: 100%;
}

#pgthumbview {
    clear: both;
    display: none;
    height: auto;
}

#pgalbums {
    list-style: none;
}

#pgalbums .pgalbumthumb {
    float: left;

}

.plusgallery #pgthumbcrumbs {
    margin: 10px 0 30px 0 !important;
    color: #222;
    border-bottom: 1px solid #222;
    list-style: none;
    padding: 0;
}

#pgthumbcrumbs li {
    padding: 5px .7em 5px .7em;
    float: left;
    line-height: 24px;
    height: auto;
}

#pgthumbcrumbs li#pgthumbhome {
    cursor: pointer;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    font-size: 1.5em;
    line-height: 24px;
    border-right: 1px solid #222;
}
#pgthumbcrumbs li#pgthumbhome span{
    display: block;
    position: relative;
    top: -3px;
}
#pgthumbcrumbs li#pgthumbhome:hover {
    background-color: #38beea;
    -webkit-box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5);
    box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.pgalbumthumb {
    float: left;
    width: 17.91666666666%;
    max-width: 172px;
    margin: 1.04166666666%;
}

.plusgallery .pgalbumlink {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 3%;
}

.pgalbumimg {
    display: block;
    width: 100%;
    border: none;
    position: relative;
    z-index: 1;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.pgalbumthumb span {
    position: absolute;
    display: block;
}

.pgalbumtitle {
    bottom: 3%;
    left: 3%;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.65))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0); /* IE6-9 */
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
    font-size: 1.12em;
    z-index: 7;
    padding: 2em 6% 6% 6%;
    width: 94%;
}

.pgalbumthumb .pgloading {
    width: 95.4545454545455%; /*210/220*/
    height: 95.4545454545455%; /*210/220*/
    top: 2.3809523809524%; /*5/210*/
    left: 2.3809523809524%; /*5/210*/
    z-index: 6;
    background: rgba(0, 0, 0, .8) url(../images/plusgallery/loading-gallery.gif) no-repeat 50% 50%;
}

.oldie .pgalbumthumb .pgloading {
    top: 3%;
    left: 3%;
}

.pgplus {
    background: #fff;
    line-height: 1em;
    padding: .3em;
    font-size: 1.8em;
    color: #fff;
    position: absolute;
    top: -2em;
    width: 1.5em;
    right: -1.5em;
    z-index: 7;
    text-align: center;
    font-weight: 100;
    -webkit-transition: all 0.3s ease-out 0.1s;
    -moz-transition: all 0.3s ease-out 0.1s;
    -ms-transition: all 0.3s ease-out 0.1s;
    -o-transition: all 0.3s ease-out 0.1s;
    transition: all 0.3s ease-out 0.1s;
}

.pgalbumlink:hover .pgplus {
    background: #38beea;
    top: 0;
    right: 0;
}

#pgzoomview {
    position: absolute;
    display: none;
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000,endColorstr=#CC000000)"; /* IE8 */
    background: rgba(0, 0, 0, .8);
    text-align: center;
    z-index: 1000;
    top: 0;
    left: 0;
}

.oldie #pgzoomview {
    background: url(../images/plusgallery/80.png);
}

#pgzoomview.fixed {
    position: fixed;
}

#pgzoomscroll {
    position: absolute;
    overflow-x: scroll;
    overflow-y: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
    z-index: 1010;
}

#pgzoom {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    -webkit-transform: translateZ(0px);
}

.pgzoomslide {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    float: left;
    overflow: hidden;
    text-align: center;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
}

.pgzoomslide.loading {
    background-image: url(../images/plusgallery/loading-gallery.gif);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
}

.pgzoomspacer {
    display: inline-block;
    width: 1px;
    height: 100%;
    vertical-align: middle;
}

.pgzoomcenter {
    vertical-align: middle;
    display: inline-block;
    /*width: 80%;*/
    /*height: 85%;*/
    text-align: center;

}

.pgzoomimg {
    max-width: 80%;
    max-height: 75%;
    -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
    vertical-align: middle;
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-out;
    -moz-transition: opacity 0.4s ease-out;
    -ms-transition: opacity 0.4s ease-out;
    -o-transition: opacity 0.4s ease-out;
    transition: opacity 0.4s ease-out;
    vertical-align: middle;
    margin-bottom: 2em;
}

.pgzoomimg.active {
    opacity: 1;
}

.oldie .pgzoomimg {
    max-width: none;
    max-height: none;
}

.pgzoomcaption {
    margin: 1.5em 0;
    color: #fff;
    font-size: .9em;
    opacity: 1;
    position: absolute;
    left: 0;
    padding-left: 20%;
    padding-right: 20%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    bottom: 0;
    text-align: center;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -ms-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
}

.pgzoomarrow {
    position: fixed;
    width: 52px;
    height: 100px;
    background: url(../images/plusgallery/arrows.gif) no-repeat 0 0;
    top: 50%;
    margin-top: -50px;
    overflow: hidden;
    text-indent: -5000px;
    z-index: 1011;
}

.pgzoomarrow:hover {
    -webkit-box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.3);
}

#pgprevious {
    left: 0;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-position: 0 50%;
}

#pgnext {
    right: 0;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background-position: 100% 50%;
}

#pgzoomclose {
    position: absolute;
    right: 0;
    top: 0;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-left-radius: 3px;
    background-position: 100% 50%;
    width: 52px;
    height: 52px;
    background-image: url(../images/plusgallery/zoom-icons.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    overflow: hidden;
    text-indent: -5000px;
    z-index: 1011;
}

#pgzoomclose:hover {
    -webkit-box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 1px 1px 6px rgba(0, 0, 0, 0.3);
}

#pgcredit {
    text-align: center;
    clear: both;
    padding-top: 10px;
    padding-bottom: 10px;
}

.plusgallery #pgcredit a {
    display: inline-block;
    color: #222;
    letter-spacing: 1px;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    padding: .3em .5em .3em .4em;
    font-size: 10px;
    text-transform: uppercase;
}

#pgcredit a:hover {
    background-color: #38beea !important;
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    -moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.plusgallery #pgcredit a span {
    color: #666;
    -webkit-transition: color 0.3s ease-out;
    -moz-transition: color 0.3s ease-out;
    -ms-transition: color 0.3s ease-out;
    -o-transition: color 0.3s ease-out;
    transition: color 0.3s ease-out;
}

.plusgallery #pgcredit a:hover span {
    color: #fff;
}

#pgzoomview a:hover {
    background-color: #38beea;
}

.plusgallery.nav_hide .plus-pagination, .plusgallery.nav_hide .plus-pagination-end {
    display: none !important;
}

.plus-pagination,
.plus-pagination-end {
    margin: 30px 0;
    text-align: center;
    display: none;
}

.plus-pagination.active,
.plus-pagination-end.active {
    display: block;
}

.plus-pagination span,
.plus-pagination-end span {
    background: #ffffff;
    border-radius: 2px;
    color: #222222;
    cursor: pointer;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ececec;
}

.plusgallery {
    position: relative;
    z-index: 1;
}

#pgthumbs li {
    float: left;
    padding: 0;
}

.al-active{
    display: none !important;
}