.image-gallery {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.image-gallery-content {
    position: relative;
    line-height: 0;
    top: 0;
    text-align: center;
}

.image-gallery-slide-wrapper {
    position: relative
}

.image-gallery-slide-wrapper.left, .image-gallery-slide-wrapper.right {
    display: inline-block;
    width: calc(80% - 113px)
}

@media (max-width: 768px) {
    .image-gallery-slide-wrapper.left, .image-gallery-slide-wrapper.right {
        width: calc(100% - 84px)
    }
}

.image-gallery-left-nav, .image-gallery-right-nav {
    color: #fff;
    font-size: 5em;
    padding: 50px 15px;
    top: 50%;
    transform: translateY(-50%)
}

.image-gallery-left-nav[disabled], .image-gallery-right-nav[disabled] {
    opacity: .6;
    pointer-events: none
}

@media (max-width: 768px) {
    .image-gallery-left-nav, .image-gallery-right-nav {
        font-size: 3.4em;
        padding: 20px 15px
    }
}

@media (max-width: 480px) {
    .image-gallery-left-nav, .image-gallery-right-nav {
        font-size: 2.4em;
        padding: 0 15px
    }
}

.image-gallery-left-nav {
    left: 0
}

.image-gallery-left-nav::before {
    content: ""
}

.image-gallery-right-nav {
    right: 0
}

.image-gallery-right-nav::before {
    content: ""
}

.image-gallery-slides {
    line-height: 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap
}

.image-gallery-slide {
    background: #fff;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%
}

.image-gallery-slide.center {
    position: relative
}

.image-gallery-slide img {
    width: 100%
}

.image-gallery-slide .image-gallery-description {
    background: rgba(0, 0, 0, .4);
    bottom: 70px;
    color: #fff;
    left: 0;
    line-height: 1;
    padding: 10px 20px;
    position: absolute;
    white-space: normal
}

@media (max-width: 768px) {
    .image-gallery-slide .image-gallery-description {
        bottom: 45px;
        font-size: .8em;
        padding: 8px 15px
    }
}

.image-gallery-thumbnails-wrapper {
    position: relative
}

.image-gallery-thumbnails-wrapper.left, .image-gallery-thumbnails-wrapper.right {
    display: inline-block;
    vertical-align: top;
    width: 108px
}

@media (max-width: 768px) {
    .image-gallery-thumbnails-wrapper.left, .image-gallery-thumbnails-wrapper.right {
        width: 81px
    }
}

.image-gallery-thumbnails-wrapper.left .image-gallery-thumbnails, .image-gallery-thumbnails-wrapper.right .image-gallery-thumbnails {
    height: 100%;
    width: 100%;
    left: 0;
    padding: 0;
    position: absolute;
    top: 0
}

.image-gallery-thumbnails-wrapper.left .image-gallery-thumbnails .image-gallery-thumbnail, .image-gallery-thumbnails-wrapper.right .image-gallery-thumbnails .image-gallery-thumbnail {
    display: block;
    margin-right: 0;
    padding: 0
}

.image-gallery-thumbnails-wrapper.left .image-gallery-thumbnails .image-gallery-thumbnail + .image-gallery-thumbnail, .image-gallery-thumbnails-wrapper.right .image-gallery-thumbnails .image-gallery-thumbnail + .image-gallery-thumbnail {
    margin-left: 0
}

.image-gallery-thumbnails-wrapper.left {
    margin-right: 15px
}

@media (max-width: 768px) {
    .image-gallery-thumbnails-wrapper.left {
        margin-right: 3px
    }
}

.image-gallery-thumbnails-wrapper.right {
    margin-left: 5px
}

@media (max-width: 768px) {
    .image-gallery-thumbnails-wrapper.right {
        margin-left: 3px
    }
}

.image-gallery-thumbnails {
    overflow: hidden;
    padding: 5px 0
}

@media (max-width: 768px) {
    .image-gallery-thumbnails {
        padding: 3px 0
    }
}

.image-gallery-thumbnails .image-gallery-thumbnails-container {
    cursor: pointer;
    text-align: center;
    transition: transform .45s ease-out;
    white-space: nowrap
}

.image-gallery-thumbnail {
    display: inline-block;
    border: 4px solid transparent;
    transition: border .3s ease-out;
    width: 100px
}

@media (max-width: 768px) {
    .image-gallery-thumbnail {
        border: 3px solid transparent;
        width: 75px
    }
}

.image-gallery-thumbnail + .image-gallery-thumbnail {
    margin-left: 2px
}

.image-gallery-thumbnail img {
    vertical-align: middle;
    width: 100%
}

.image-gallery-thumbnail.active {
    border: 4px solid #337ab7
}

@media (max-width: 768px) {
    .image-gallery-thumbnail.active {
        border: 3px solid #337ab7
    }
}

.image-gallery-thumbnail-label {
    color: #1a1a1a;
    font-size: 1em
}

@media (max-width: 768px) {
    .image-gallery-thumbnail-label {
        font-size: .8em
    }
}

.image-gallery-index {
    background: rgba(0, 0, 0, .4);
    color: #fff;
    line-height: 1;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 4
}

@media (max-width: 768px) {
    .image-gallery-index {
        font-size: .8em;
        padding: 5px 10px
    }
}

.app-header {
    letter-spacing: 1px;
    text-transform: uppercase
}

.app .image-gallery, .app-sandbox {
    margin: 0 auto;
    width: 65%;
    transition: all 1s ease
}

@media (max-width: 1320px) {
    .app-sandbox-content {
        padding: 0 20px
    }
}

.app-sandbox {
    margin: 40px auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.app-buttons li {
    display: block
}

@media (max-width: 768px) {
    .app-header {
        font-size: 20px
    }

    .app-buttons li {
        display: block;
        margin: 10px 0
    }

    .app-buttons li + li {
        padding: 0
    }
}

@media (max-width: 1024px) {
    .app .image-gallery, .app-sandbox {
        width: 100%
    }
}

.app-interval-input-group {
    display: table
}

.app-interval-label {
    display: table-cell;
    vertical-align: middle;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 3px solid #ccc;
    border-right: none;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.app-interval-input {
    -webkit-appearance: none;
    display: table-cell;
    margin: 0;
    padding: 9px;
    border-radius: 5px;
    font-size: 14px;
    border: 3px solid #ccc;
    background: #fff;
    width: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

input.app-interval-input {
    width: 65px
}

.app-checkboxes {
    margin-top: 10px
}

.app-checkboxes li {
    display: block
}
