html {font-size: 16px;}
div.mod-fwmg-slideshow  {
    margin: 0 0 20px;
    position: relative;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-big-image {
    width: 100%;
    position: absolute;
	text-align: center;
    background-color: white;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-big-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
div.mod-fwmg-slideshow .fwmg-slideshow-image-fill .mod-fwmg-slideshow-big-image img {
    object-fit: cover;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-big-image-description {
    color: #777;
    text-decoration: none;
    width: 30rem;
    position: absolute;
    padding: 1rem 1.5rem;
    right: 3.5rem;
    bottom: 10rem;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.85);
}

/* Thumbnail styles based on bottom option */
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-wrpper {
    overflow-x: hidden;
    position: absolute;
    width: 100%;
    padding: .25rem 2rem;
    bottom: 1rem;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.25);
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-move-prev,
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-move-next {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    line-height: 100%;
    width: 2rem;
    z-index: 120;
    text-align: center;
    background: #fff;
    cursor: pointer;
    display: none;
    z-index: 20000;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-move-next {
    left: auto;
    right: 0;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-film {
    display: flex;
    flex-direction: row;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-img {
    margin: .12rem .25rem;
    z-index: 110;
    text-align: center;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-img img {
    cursor: pointer;
    object-fit: cover;
}
div.mod-fwmg-slideshow.thumbnail-position-left .mod-fwmg-slideshow-thumb-img img,
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-thumb-img img {
    max-width: 100%;
    min-width: 100%;
    max-height: none;
}
div.mod-fwmg-slideshow.thumbnail-position-top .mod-fwmg-slideshow-thumb-img img,
div.mod-fwmg-slideshow.thumbnail-position-bottom .mod-fwmg-slideshow-thumb-img img {
    max-height: 100%;
    min-height: 100%;
    max-width: none;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-img:hover {
    transform: scale(1.1);
    opacity: 1;
    z-index: 10000;
    /* transition: .2s all linear; */
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-img:hover,
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-img.image-selected {
    background: #f7e9c7;
    border-color: #daa520;
}
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-img img:hover,
div.mod-fwmg-slideshow .mod-fwmg-slideshow-thumb-img.image-selected img {
    opacity: 1;
}

/* Thumbnail styles for left & right options based on left */
div.mod-fwmg-slideshow.thumbnail-position-left .mod-fwmg-slideshow-big-image-description {
    right: 3.5rem;
    bottom: 3.5rem;
}
div.mod-fwmg-slideshow.thumbnail-position-left .mod-fwmg-slideshow-thumb-wrpper,
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-thumb-wrpper {
    width: auto;
    height: 100%;
    padding: 2rem .25rem;
    top: 0;
    bottom: auto;
    left: 3rem;
    overflow: hidden;
}
div.mod-fwmg-slideshow.thumbnail-position-left .mod-fwmg-slideshow-thumb-move-prev,
div.mod-fwmg-slideshow.thumbnail-position-left .mod-fwmg-slideshow-thumb-move-next,
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-thumb-move-prev,
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-thumb-move-next {
    padding: 0;
    height: 2rem;
    width: 100%;
    text-align: center;
    line-height: 2rem;
}
div.mod-fwmg-slideshow.thumbnail-position-left .mod-fwmg-slideshow-thumb-move-next,
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-thumb-move-next {
    top: auto;
    bottom: 0;
}
div.mod-fwmg-slideshow.thumbnail-position-left .mod-fwmg-slideshow-thumb-film,
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-thumb-film {
    flex-direction: column;
}

/* Thumbnail styles for right option */
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-big-image-description {
    left: 3.5rem;
    bottom: 3.5rem;
    right: auto;
}
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-thumb-wrpper {
    left: auto;
    right: 3rem;
}

/* top progressbar */
.mod-fwmg-slideshow-bar-timer {
    position: absolute;
    z-index: 100;
    height: 4px;
    border: 0;
    background-color: #FFBE24;
    top: 0;
    left: 0;
    width: 0;
}
/* top position */
div.mod-fwmg-slideshow.thumbnail-position-top .mod-fwmg-slideshow-thumb-wrpper {
    top: 1rem;
    bottom: auto;
}
div.mod-fwmg-slideshow.thumbnail-position-top .mod-fwmg-slideshow-big-image-description {
    top: 10rem;
    bottom: auto;
}
.mod-fwmg-slideshow-controls {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 110;
    background-color: rgba(0, 0, 0, 0.7);
}
div.mod-fwmg-slideshow.thumbnail-position-right .mod-fwmg-slideshow-controls {
    left: .75rem;
    right: auto;
}
.mod-fwmg-slideshow-controls button {
    color: #fff;
    line-height: 1.5;
    font-size: 1rem;
    padding: .5rem 1rem;
    margin: 0 0 0 1px;
    border: 0;
    border-radius: .25rem;
    background-color: transparent;
}
.mod-fwmg-slideshow-controls button:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}
.mod-fwmg-slideshow-controls button.active {
    color: #FFBE24;
}
.mod-fwmg-slideshow-big-move-prev,
.mod-fwmg-slideshow-big-move-next {
    width: 45px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    z-index: 10000;
    top: 50%;
    margin-top: -35px;
    position: absolute;
    background: #000000;
    opacity: 0;
    color: #ffffff;
    font-size: 2rem;
}
.mod-fwmg-slideshow-big-move-next {
    right: 0;
}
div.mod-fwmg-slideshow:hover .mod-fwmg-slideshow-big-move-prev,
div.mod-fwmg-slideshow:hover .mod-fwmg-slideshow-big-move-next {
    opacity: 0.8;
    cursor: pointer;
}
.mod-fwmg-slideshow-controls button:hover,
div.mod-fwmg-slideshow:hover .mod-fwmg-slideshow-big-move-prev:hover,
div.mod-fwmg-slideshow:hover .mod-fwmg-slideshow-big-move-next:hover {
    color: #FFBE24;
}

@media (max-width: 768px) {
    div.mod-fwmg-slideshow {
        margin-bottom: 150px;
    }
    #fwgallery .mod-fwmg-slideshow .mod-fwmg-slideshow-big-image-description {
        display: block;
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
    }
}