@import '../variables';

.hooper-slide {
    flex-shrink: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.subslides .hooper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
}
.hooper-progress {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background-color: #efefef;
}

.hooper-progress-inner {
    height: 100%;
    background-color: #4285f4;
    transition: 300ms;
}

.hooper-pagination {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    padding: 5px 0;
    width: 100vw;
    @media(min-width: $tablet-min) {
        display: none;
    }
}

.hooper-indicators {
    width: 100%;
    margin: 0;
    // padding: 30px 0 0;
    display: flex;
    list-style: none;
    justify-content: center;
    // background: #f2f2f2;
    li {
        margin: 0 10px;
        width: 10px;
        height: 10px;
        background-color: gray;
        border-radius: 10px;
        cursor: pointer;
        position:relative;
    }
    li.active{
        background-color: $pinkSliderPagination;
    }
    .hooper-indicator{
        opacity: 0;
        height: 100%;
        position: absolute;
        left: 0;
    }
}

.hooper-pagination.is-vertical {
    bottom: auto;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hooper-pagination.is-vertical .hooper-indicators {
    flex-direction: column;
}

.hooper-pagination.is-vertical .hooper-indicator {
    width: 6px;
}

.hooper-next,
.hooper-prev {
    display: none;
    @media (min-width:$tablet-min){
        display: block;
        background-color: transparent;
        border: none;
        padding: 1em;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        svg.icon {
            display: none;
        }
    }
}

.hooper-next:before {
    content: "\f105";
    font-family: "icomoon";
    font-size: 50px;
    color: $tooltipGreen;
}

.hooper-prev:before {
    content: "\f104";
    font-family: "icomoon";
    font-size: 50px;
    color: $tooltipGreen;
}

.hooper-next.is-disabled,
.hooper-prev.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hooper-next {
    right: 0;
}

.hooper-prev {
    left: 0;
}

.hooper-navigation.is-vertical .hooper-next {
    top: auto;
    bottom: 0;
    transform: initial;
}

.hooper-navigation.is-vertical .hooper-prev {
    top: 0;
    bottom: auto;
    right: 0;
    left: auto;
    transform: initial;
}

.hooper-navigation.is-rtl .hooper-prev {
    left: auto;
    right: 0;
}

.hooper-navigation.is-rtl .hooper-next {
    right: auto;
    left: 0;
}

.hooper {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 200px;
}

.hooper * {
    box-sizing: border-box;
}

.hooper-list {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hooper-track {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.hooper.is-vertical .hooper-track {
    flex-direction: column;
    height: 200px;
}

.hooper.is-rtl {
    direction: rtl;
}

.hooper-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
