/*! Flickity v2.0.5
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
    margin: 0;
    padding: 0;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          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;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
    position: absolute;
    top: 60px;
    width: 140px;
    width: 10%;
    height: 400px;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0);
    box-shadow: none;
    cursor: pointer;
    z-index: 3;
}

.flickity-prev-next-button:hover {
    background: none;
}

.flickity-enabled:hover .flickity-prev-next-button {
    opacity: 1;
}

/*.flickity-prev-next-button:hover {
  background: rgba(0, 0, 0, .25);
  background: rgba(255, 255, 255, .05);
}

.flickity-prev-next-button:active {
  background: rgba(0, 0, 0, .25);
  background: rgba(255, 255, 255, .1);
}
*/

.flickity-prev-next-button:focus {
    outline: none;
    background: rgba(255, 255, 255, .1);
}

.flickity-prev-next-button:active {
    opacity: 1;
}

.flickity-prev-next-button.previous {
    left: 0;
    padding-left: 4%;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flickity-prev-next-button.next {
    right: 0;
    padding-right: 4%;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 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:disabled {
    opacity: 0.3;
    cursor: auto;
}

.flickity-prev-next-button svg {
    position: absolute;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.flickity-prev-next-button.next:active svg {
    margin-left: 3px;
}

.flickity-prev-next-button.previous:active svg {
    margin-left: -3px;
}
*/
.flickity-prev-next-button .arrow {
    fill: #fff;
}

/* ---- page dots ---- */

.flickity-page-dots {
    position: absolute;
    width: 100%;
    height: 60px;
    padding: 0;
    margin-top: -60px;
    list-style: none;
    text-align: center;
    line-height: 1;
    display: inline-flex;
    justify-content: center;
    align-items: flex-end;
    display: none;
}

/*.flickity-page-dots:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, rgba(0,0,0,.5) 0%,rgba(0,0,0,0) 60%),
                radial-gradient(ellipse at bottom, rgba(0,0,0,.2) 0%,rgba(0,0,0,0) 30%);
}*/

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
    display: inline-block;
    margin: 0;
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: background .15s ease-in-out,
                box-shadow .15s ease-in-out;
}

.flickity-page-dots .dot:before {
    content:'';
    position: absolute;
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, .4);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: padding .1s ease-in-out;
    transform-origin: center center;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

.flickity-page-dots .dot.is-selected:before {
    content:'';
    position: absolute;
    opacity: 1;
    background: #fff;
    /*padding: 2px;*/
}

.flickity-page-dots .dot.is-selected:before {
  content:'';
  position: absolute;
  background: rgba(255, 255, 255, 1);
}

.flickity-page-dots .dot:hover:before {
  content:'';
  position: absolute;
  background: #fff;
}

/* ---- carousel ---- */

.carousel-cell {
  width: 70%;
  height: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display:         flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-align-items: center;
          align-items: center;
}

.carousel-cell img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  opacity: 0.7;
  -webkit-transform: scale(0.85);
          transform: scale(0.85);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
          transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}

.carousel-cell.is-selected {
    opacity: 1;
    transform: scale(1);
}

/* brighten selected image */
.carousel-cell.is-selected img {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-filter: none;
          filter: none;
}

.carousel-cell {
    height: 980px;
    position: relative;
    opacity: .2;
    transition: opacity .2s linear,
                transform .1s ease-in;
}

/* hide disabled button */
.flickity-prev-next-button:disabled {
  display: none;
}

.carousel-desc {
    position: absolute;
    display: flex;
    justify-content: flex-start;
    z-index: 1;
    height: 100%;
}