.home-gallery,
.home-gallery * {
    margin: 0;
    padding: 0
}

.home-gallery .home-image-wrapper {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    background-color: white
}

.home-gallery .home-image-wrapper .home-loader {
    position: absolute;
    z-index: 10;
    top: 48%;
    left: 48%;
    border: 1px solid #CCC
}

.home-gallery .home-image-wrapper .home-next {
    position: absolute;
    right: 0;
    top: 0;
    width: 75%;
    height: 100%;
    cursor: pointer;
    display: block;
    z-index: 200
}

.home-gallery .home-image-wrapper .home-prev {
    position: absolute;
    left: 0;
    top: 0;
    width: 25%;
    height: 100%;
    cursor: pointer;
    display: block;
    z-index: 200
}

.home-gallery .home-image-wrapper .home-next,
.home-gallery .home-image-wrapper .home-prev {
    background: url(trans.gif)
}

.home-gallery .home-image-wrapper .home-next .home-next-image,
.home-gallery .home-image-wrapper .home-prev .home-prev-image {
    background: url(gallery_prev.png);
    width: 30px;
    height: 30px;
    display: none;
    position: absolute;
    top: 47%;
    left: 10px;
    z-index: 101
}

.home-gallery .home-image-wrapper .home-next .home-next-image {
    background: url(gallery_next.png);
    width: 30px;
    height: 30px;
    right: 10px;
    left: auto
}

.home-gallery .home-image-wrapper .home-image {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 9
}

.home-gallery .home-image-wrapper .home-image a img {
    border: 0
}

.home-gallery .home-image-wrapper .home-image .home-image-description {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 7px;
    text-align: left;
    width: 100%;
    z-index: 2;
    background: url(opa75.png);
    color: #000
}

* html .home-gallery .home-image-wrapper .home-image .home-image-description {
    background: 0 0;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png')
}

.home-gallery .home-image-wrapper .home-image .home-image-description .home-description-title {
    display: block
}

.home-gallery .home-info {
    float: left
}

.home-gallery .home-slideshow-controls {
    float: right
}

.home-gallery .home-slideshow-controls .home-slideshow-start,
.home-gallery .home-slideshow-controls .home-slideshow-stop {
    padding-left: 5px;
    cursor: pointer
}

.home-gallery .home-slideshow-controls .home-slideshow-countdown {
    padding-left: 5px;
    font-size: .9em;
    visibility: hidden
}

.home-gallery .home-slideshow-running .home-slideshow-start {
    cursor: default;
    font-style: italic
}

.home-gallery .home-nav {
    width: 100%;
    position: relative
}

.home-gallery .home-back,
.home-gallery .home-forward {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 10
}

* html .home-gallery .home-forward,
.home-gallery .home-back {
    height: 100px
}

.home-gallery .home-back {
    cursor: pointer;
    left: -15px;
    width: 13px;
    background: url(gallery_scroll_back.png) 0 22px no-repeat;
    display: none
}

.home-gallery .home-forward {
    cursor: pointer;
    right: -15px;
    width: 13px;
    background: url(gallery_scroll_forward.png) 0 22px no-repeat;
    display: none
}

.home-gallery .home-nav .home-thumbs {
    overflow: hidden;
    width: 100%
}

.home-gallery .home-thumbs .home-thumb-list {
    float: left;
    width: 9000px;
    list-style: none
}

.home-gallery .home-thumbs li {
    float: left;
    padding-right: 5px
}

.home-gallery .home-thumbs li a {
    display: block
}

.home-gallery .home-thumbs li a:hover {
    opacity: .7
}

.home-gallery .home-thumbs li a img {
    border: 1px solid #CCC;
    display: block;
    padding: 0;
    width: 125px
}

.home-image,
.home-image img {
    width: 100% !important;
    height: 100% !important
}

.home-gallery .home-thumbs li a.home-active img {
    border: 1px solid #bc292f;
    opacity: .6
}

.home-preloads {
    position: absolute;
    left: -9000px;
    top: -9000px
}

#home-gallery-pic-info {
    position: absolute;
    right: 10px;
    bottom: 90px;
    text-align: center;
    color: #000;
    font-size: 18px;
    padding: 2px 8px 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .7);
    z-index: 500;
    border: 1px solid #666
}

.home-image {
    cursor: pointer;
    top: 0;
    left: 0 !important;
}

#gallery {
    width: 100%;
    margin-top: 20px
}

#gallery .status-wrapper {
    position: absolute;
    left: 0;
    top: 10px;
    padding: 2px 12px;
    color: #fff;
    background: #9f0a19;
    z-index: 501;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px
}

#gallery .notifyjs-bootstrap-base {
    background-position: 0 0 !important;
    padding-left: 25px !important
}

.heart-btn-wrapper {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 501
}

.home-gallery {
    width: 100%;
    position: relative
}

.home-gallery .home-image-wrapper {
    height: 566px
}

.full-screen-gallery {
    position: absolute;
    right: 10px;
    top: 10px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    padding: 2px 8px 0;
    border-radius: 4px;
    background: rgba(0, 0, 0, .8);
    z-index: 500
}

.full-screen-gallery:hover {
    color: #fff;
    background: #9f0a19;
    text-decoration: none
}

@media(max-width:768px) {
    .home-gallery .home-image-wrapper {
        height: 380px
    }
}

@media(max-width:450px) {
    .home-gallery .home-image-wrapper {
        height: 240px
    }
}

.home-gallery .home-thumbs li a img {
    height: 100px !important;
    width: 100px !important;
    object-fit: cover !important
}

.home-gallery .home-image-wrapper .home-image img {
    aspect-ratio: 16/9 !important;
    object-position: center;
    object-fit: cover !important;
}