@import '~@style/_config/app-bootstrap-bulma'
@import '~@style/component/image-carousel/image-carousel'

.image-carousel_background
    position relative
    width 100%
    height 100%

    .image-carousel
        &__slide
            position absolute
            left 0
            top 0
            width 100%
            height 100%
            opacity 0
            transition opacity .75s
            background-position center center
            background-size cover

            &_active
                opacity 1

            &_has-substrate:after
                position relative
                display block
                content ''
                width 100%
                height 100%
                background rgba($color-black, .45)

        &__stats
            min-width 100px
            padding 4px 14px
            color $color-heading-dark
            font-family $font-lora
            font-size 17px
            font-weight 700
            letter-spacing 1px
            line-height 32px
            text-align center
            +tablet()
                min-width 110px
                padding 8px 24px

        &__nav
            background $color-white
            &_controls
                position absolute
                display flex
                justify-content flex-end
                align-items center
                right 0
                bottom 0

            &-control
                control()
                unselectable()
                justify-content center
                border-left 1px solid #d8d8d8
                height 40px
                width 40px
                color $color-heading-dark
                font-size 12px
                line-height 1
                background $color-white
                border-radius 0
                transition color .15s, background .15s
                +tablet()
                    height 48px
                    width 48px
                &:hover
                    background rgba($color-gray-light, .7)
                .touch-support &:hover
                    background $color-white
                &:active
                    background $color-gray-light