.gallery-wrapper{position:relative;height:550px;margin:44px 0}#slideshow,#slideshow.fullscreen{height:100%;width:100%;overflow:hidden}#slideshow{margin:100px auto;position:relative}#slideshow.fullscreen{position:absolute;top:0;left:0;margin:0;padding:0}.thumbs-container,ul.thumbs{position:absolute;height:140px}.img-wrapper{min-width:100%;min-height:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;overflow:hidden;z-index:8;background-size:cover;background-position:center center}.img-wrapper .caption{background-color:#89AC46;color:#fff;text-align:center;padding:20px;position:absolute;bottom:130px;left:0;width:100%}#slideshow .img-wrapper.active{z-index:10}#slideshow .img-wrapper.last-active{z-index:9}.thumbs-container{width:100%;left:0;z-index:11;background:#fff;opacity:.9}.thumbs-container.top{top:0}.thumbs-container.bottom{bottom:0}.prev{float:left;top: 37%;}.next{float:right;top: 37%;}.next:hover,.prev:hover{color:#555}ul.thumbs{top:0;left:5%;right:5%;padding:0;margin:0 5%;overflow:hidden;white-space:nowrap;text-align:center}.thumb{display:inline-block;width:120px;height:120px;margin:10px;overflow:hidden;background-size:cover;background-position:center center;cursor:pointer}.thumb:first-of-type{margin-left:0}.thumb.active{width:116px;height:116px;border:3px solid #89AC46}