﻿*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.slider-content {
    height: calc(100vh - 110px);
    width: 100%;
}

.embla {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

.embla:after {
    content: "";
    width: 70px;
    height: 2px;
    background-color: #c5c5c5;
    position: absolute;
    bottom: 89px;
    left: calc((50% - 600px)/3 + 45px);
    border-radius: 2px;
}

.embla__viewport {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

    .embla__viewport.is-draggable {
        cursor: move;
        cursor: grab;
    }

    .embla__viewport.is-dragging {
        cursor: grabbing;
    }

.embla__container {
    display: flex;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
    height: 100%;
}

.embla__slide {
    position: relative;
    min-width: 100%;
    margin-right: 10px;
    overflow: hidden;
    height: 100%;
}

.embla__slide__inner {
    transform: scale(0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-origin: center center;
    height: 100%;
}

.embla__slide__img {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: auto;
    min-height: 100%;
    min-width: 100%;
    max-width: none;
    transform: translate(-50%, -50%);
}

.embla__button.embla__button--prev:hover {
    animation-direction: reverse;
}
.embla__button:hover {
    animation: handleToArrow .3s linear infinite;
}
.embla__button {
    outline: 0;
    cursor: pointer;
    background-color: transparent;
    touch-action: manipulation;
    position: absolute;
    z-index: 1;
    transform: translateY(-50%);
    border: 0;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    fill: #c5c5c5;
    padding: 0;
    left: calc((50% - 600px)/3);
    bottom: 60px;
}
.embla__button:after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    left: -15px;
    top: -15px;
    border-radius: 50%;
    border: 2px solid #c5c5c5;
    z-index: -1;
}

    .embla__button:disabled {
        cursor: default;
        opacity: 0.3;
    }

.embla__button__svg {
    width: 100%;
    height: 100%;
}

.embla__button--prev {
    /*left: 27px;*/
}

.embla__button--next {
    left: calc((50% - 600px)/3 + 130px);
}

@keyframes handleToArrow {
    from {
        transform: translate(0px, -50%);
    }

    25% {
        transform: translate(3px, -50%);
    }

    75% {
        transform: translate(-3px, -50%);
    }

    to {
        transform: translate(0px, -50%);
    }
}


