.gallery .images .image{position:relative;width:100%;padding-bottom:0;height:auto;overflow:hidden;display:none;border-radius:3px;box-shadow:1px 1px 5px rgba(0,0,0,.4)}.gallery .images .image img{width:100%;height:auto}.gallery .images .image.active{display:block}.gallery .images .image .content{position:absolute;width:100%;height:100%;background:center no-repeat;background-size:cover}.gallery .thumbs{margin-top:10px;display:inline-block;width:100%;text-align:left;font-size:0}.gallery .thumbs .thumb{font-size:14px;box-sizing:border-box;background:center no-repeat;background-size:cover;display:inline-block;position:relative;margin:0;border:0 solid transparent;width:20%;height:100px;cursor:pointer;padding:5px}.gallery .thumbs .thumb .thumb-image{box-sizing:border-box;background:center no-repeat;background-size:cover;display:block;position:relative;width:100%;height:100%;cursor:pointer}@media (max-width:768px){.gallery .thumbs{overflow-x:auto;overflow-y:hidden}.gallery .thumbs .thumb{font-size:14px;width:25%;height:100px}}.gallery .thumbs .thumb:before{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid transparent;position:absolute;left:45px;top:-8px}@media (max-width:768px){.gallery .thumbs .thumb:before{left:25px}}@media (max-width:414px){.gallery .thumbs{overflow-x:auto;overflow-y:hidden}.gallery .thumbs .thumb{font-size:14px;width:25%;height:100px}}.gallery .thumbs .thumb.active{border-color:silver}.gallery .thumbs .thumb.active:before{border-bottom-color:silver}