.SumoGallery * {
    border: 0;
    margin: 0;
    padding: 0
}

.SumoGallery {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999
}

.SumoGalleryClose {
    background-color: rgb(0 0 0 / .7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url(mark.png)
}

.SumoGallery a {
    cursor: pointer;
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

.SumoGallery .Sarrow {
    position: absolute;
    font-size: 21px;
    color: #111;
    opacity: .7;
    top: 50%;
    margin-top: -50px;
    padding: 5px 20px;
    z-index: 10;
    text-indent: -9999px;
    filter: drop-shadow(0 4px 7px rgb(0 0 0 / .05));
    border: 1px solid #e1e1e1;
    border-radius: 100%;
    width: 44px;
    height: 44px;
}

.SumoGallery .Sarrow:hover {
    opacity: 1
}

.SumoGallery .Sarrow.r {
    background: url(arrow2.png) no-repeat scroll center center #7e7e7e;
}

.SumoGallery .Sarrow.l {
    background: url(arrow1.png) no-repeat scroll center center #7e7e7e;
}

.SumoGallery .Sarrow.l {
    left: 0
}

.SumoGallery .Sarrow.r {
    right: 0
}

.SumoGallery .Sarrow.last-item {
    opacity: .3
}

.SumoGallery .Sheader {
    background-color: rgb(0 0 0 / .66);
    height: 0;
    position: relative;
    z-index: 1
}

.SumoGallery .Sheader p {
    color: #fff;
    padding: 10px 50px;
    text-align: center;
    text-transform: uppercase;
    font-size: 19px;
    font-weight: 500
}

.SumoGallery .Sheader a {
    font-size: 17px;
    line-height: 44px;
    color: #666;
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    cursor: pointer;
    opacity: .8;
    width: 44px;
    height: 44px;
    text-align: center;
    filter: drop-shadow(0 4px 7px rgb(0 0 0 / .05));
    border: 1px solid #e1e1e1;
    border-radius: 100%;
    background: #fff
}

.SumoGallery .Sheader a:hover {
    opacity: 1
}

.SumoGallery .Sbody {
    position: absolute;
    top: 40px;
    bottom: 75px;
    left: 0;
    right: 0;
    :all 300ms;-webkit-transition: all 300ms;
    -moz-transition: all 300ms
}

.SumoGallery .Sbody a {
    display: none;
    left: 0;
    opacity: 1;
    transition: none;
    -moz-transition: none;
    -webkit-transition: none
}

.SumoGallery .Sbody a.sel {
    display: inline-block;
    background-image: url(loader.gif);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1
}

.SumoGallery .Sbody a.anim {
    transition: all 200ms;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms
}

.SumoGallery .Sbody a.left {
    left: -100%;
    opacity: 0
}

.SumoGallery .Sbody a.right {
    left: 100%;
    opacity: 0
}

.SumoGallery .SimgCount {
    position: absolute;
    color: #BEBEBE;
    right: 10px;
    bottom: 95px
}

.SumoGallery .toggle-thumbs {
    position: absolute;
    color: #BEBEBE;
    right: 10px;
    bottom: 70px;
    z-index: 10;
    font-size: 23px;
    background-color: #000;
    border-radius: 3px;
    padding: 0 5px;
    line-height: 20px
}

.SumoGallery .toggle-thumbs:hover {
    color: #9b0700
}

.SumoGallery .Sbody a img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 98%;
    -webkit-box-shadow: 0 0 35px rgb(0 0 0 / .5);
    box-shadow: 0 0 35px rgb(0 0 0 / .5);
    -moz-box-shadow: 0 0 35px rgb(0 0 0 / .5);
    border-radius: 2px;
    z-index: 2
}

.SumoGallery .Sfooter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: #000;
    padding: 12px 0;
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    z-index: 1
}

.SumoGallery ul.Sthumbnails {
    list-style: none;
    display: block;
    text-align: center;
    overflow: auto;
    white-space: nowrap;
    height: 150px;
    padding-top: 5px;
    margin-top: -5px
}

.SumoGallery ul.Sthumbnails li {
    display: inline-block;
    margin: 0 2px
}

.SumoGallery ul.Sthumbnails li a {
    display: block;
    height: 50px;
    width: 60px;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 2px;
    background-size: cover
}

.SumoGallery ul.Sthumbnails li a:hover {
    top: -1px
}

.SumoGallery ul.Sthumbnails li.sel a {
    top: -3px
}

.SumoGallery ul.Sthumbnails li.sel a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    padding: 3px;
    background-color: #F43110;
    box-shadow: 0 0 5px #F43110;
    border-radius: 50%;
    border: 0;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -10px
}

.SumoGallery.nothumbs .Sfooter {
    bottom: -74px
}

.SumoGallery.nothumbs .Sbody {
    bottom: 0
}
