/* Custom Settings */

.carousel {
  background: transparent;
  height: 100%;
}

.carousel-cell {
  width: 100%;
  height: 100%;
  margin-right: 30px;
  background: transparent;
  border-radius: 0px;
}

.w100-gallery {
    width: 100%;
    height: 100%;
    background: transparent;
    filter: none !important;
    animation: .45s f-gallery;
}

.w100-gallery .flickity-viewport {
  height: 100% !important;
}

.w100-gallery .gallery-cell {
  width: 100%;
  height: 100%;
}

.w100-gallery .gallery-cell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.content-slider {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

.content-slider .carousel-cell img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

/* cell number */
.carousel-cell:before {
  content: '';
  position: absolute;
  right: 30px;
  bottom: 0;
  margin: 0 auto;
  display: block;
  text-align: center;
  line-height: 90px;
  font-size: 16.5px;
  color: white;
}

.flickity-page-dots {
  bottom: 10px;
}

/*! Flickity v2.2.1
https://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
    position: relative;
}

    .flickity-enabled:focus {
        outline: none;
    }

.flickity-viewport {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.flickity-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .flickity-enabled.is-draggable .flickity-viewport {
        cursor: move;
        cursor: -webkit-grab;
        cursor: grab;
    }

        .flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
            cursor: -webkit-grabbing;
            cursor: grabbing;
        }

/* ---- flickity-button ---- */

.flickity-button {
    position: absolute;
    background: transparent;
    border: none;
    color: #333;
}

    .flickity-button:hover {
        cursor: pointer;
    }

    .flickity-button:focus {
        outline: none;
        box-shadow: 0 0 0 5px #19F;
    }

    .flickity-button:active {
        opacity: 0.6;
    }

    .flickity-button:disabled {
        opacity: 0.3;
        cursor: auto;
        /* prevent disabled button from capturing pointer up event. #716 */
        pointer-events: none;
    }

.flickity-button-icon {
    fill: transparent;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
    background: #000;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(65% 50%, 0 0, 75% 40%, 70% 50%, 70% 50%, 85% 45%, 100% 50%, 85% 55%, 70% 50%, 75% 60%, 0 100%);
    -webkit-clip-path: polygon(65% 50%, 0 0, 75% 40%, 70% 50%, 70% 50%, 85% 45%, 100% 50%, 85% 55%, 70% 50%, 75% 60%, 0 100%);
    top: 50%;
    width: 30px;
    height: 90px;
    border-radius: 0;
    /* vertically center */
    transform: translateY(-50%);
}

    .flickity-prev-next-button.previous {
        left: 25px;
        top: calc(50% - 45px);
        transform: rotateY(180deg);
    }

    .flickity-prev-next-button.next {
        right: 25px;
    }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
    left: auto;
    right: 10px;
}

.flickity-rtl .flickity-prev-next-button.next {
    right: auto;
    left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
    position: absolute;
    left: 20%;
    top: 20%;
    width: 60%;
    height: 60%;
}

/* ---- page dots ---- */

.flickity-page-dots {
    position: absolute;
    width: 100%;
    bottom: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 1;
}

.flickity-rtl .flickity-page-dots {
    direction: rtl;
}

.flickity-page-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 8px;
    background: #000;
    border-radius: 50%;
    opacity: 0.25;
    cursor: pointer;
}
.flickity-page-dots .dot.is-selected {
    opacity: 1;
}

.haber-gallery .flickity-prev-next-button {
    background: #fff;
}

.haber-gallery .flickity-page-dots .dot {
    background: #fff;
}

@media(max-width:991px) {

.carousel-cell {
    margin-right: 15px;
}

.carousel-cell img {
    border-radius: 16px;
}

.content-slider {
    height: 50vh;
}

.content-slider .carousel-cell img {
    height: 50vh;
    border-radius: 0px;
}

.flickity-page-dots {
    bottom: 15px;
}

.flickity-prev-next-button.previous {
        left: 15px;
}

.flickity-prev-next-button.next {
    right: 15px;
}

}
