/**
 * All of the CSS for public-facing functionality is here.
 */

body.caption.caption-visible {
    height: 101%;
    width: 100%;
    text-align: center;
    opacity: 0!important;
    padding-left: 20px;
    padding-right: 20px;
    background-color: rgba(6, 6, 6, 0.41);
    -webkit-transition: background-color 0.3s ease-in, opacity 0.3s ease-in;
    transition: background-color 0.3s ease-in, opacity 0.3s ease-in
}

body.caption.caption-visible:hover {
    opacity: 1!important;
    -webkit-transition: background-color 0.3s ease-in, opacity 0.3s ease-in;
    transition: background-color 0.3s ease-in, opacity 0.3s ease-in
}

body.caption.caption-visible h4 {
    color: #fff;
    font-size: 21px
}

.caption-visible {
    display: table!important
}

.caption-middle {
    display: table-cell!important;
    vertical-align: middle!important
}

.caption-inner {
    margin-left: auto;
    margin-right: auto;
    width: auto
}

#expand-ajgallery {
    height: 100%;
    background-color: rgba(6, 6, 6, 0.41);
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 40px;
    opacity: 0;
    -webkit-transition: background-color 0.3s ease-in, opacity 0.3s ease-in;
    transition: background-color 0.3s ease-in, opacity 0.3s ease-in
}

#expand-ajgallery:hover {
    opacity: 1;
    -webkit-transition: background-color 0.3s ease-in, opacity 0.3s ease-in;
    transition: background-color 0.3s ease-in, opacity 0.3s ease-in
}

#expand-ajgallery:before {
    content: "";
    background-image: url(../img/zoom.png);
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    top: calc( 50% - 50px );
    position: relative
}
body .justified-gallery>a>.caption, body .justified-gallery>div>.caption {
    height: 100%;
    bottom: auto;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
body .justified-gallery>a>.caption.caption-visible, body .justified-gallery>div>.caption.caption-visible {
    opacity: 1;
}
.caption-inner h4 {
    color: #fff;
}
body a.aj-gallery-img-link,
a.aj-gallery-img-link:hover,
a.aj-gallery-img-link:active,
a.aj-gallery-img-link:focus {
    box-shadow: none
}