@import '~@style/_config/app-bootstrap-bulma'

$gallery-carousel-slide-background = #222

.gallery_carousel
    position relative
    width 100%
    height 100%
    overflow hidden

    .gallery__track
        position relative
        height 100%
        &:focus
            outline none

    .gallery__slide
        width 100%
        height 75vh
        margin-right 10px
        background-color transparent
        background-size contain
        background-position center
        background-repeat no-repeat

    .gallery__image
        position absolute
        width 100%
        height auto
        left 50%
        top 50%
        transform translate(-50%, -50%)
        &_vertical
            width auto
            height 100%

    .gallery__footer
        position absolute
        display flex
        justify-content space-between
        align-items center
        bottom 16px
        left 37px

    .gallery__number-hint
        margin-right 23px
        color rgba($color-white, .6)
        font-size 40px
        font-weight 900

    .gallery__control
        control()
        unselectable()
        display inline-block
        height 30px
        width 30px
        margin 0 5px
        border-radius 100%
        color $color-white
        font-size 13px
        line-height 1
        background rgba($color-dark, 1)
        transition color .15s, background .15s

        .touch-support &:hover
            color $color-white
            background rgba($color-dark, 1)

        &:hover,
        .touch-support &:active
            color $color-brand
            background rgba($color-dark, .95)

        & + .portfolio-carousel__nav-control
            margin-left 15px

        &-icon
            vertical-align middle