/* Flickity v2.2.0
https://flickity.metafizzy.co
---------------------------------------------- */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.gallery {
  	background: none;
  	margin-bottom: 90px;	
    /* margin-right: 300px; */
}

.gallery-cell {
    position: relative;
    width: 65%;
    height: auto;
    margin-right: 40vw;
    padding-right: 10%;
    background: transparant;
    counter-increment: gallery-cell;
    margin-bottom: 20px;
    max-width: 1200px;
}

.gallery-cell .item {
	margin-bottom: 10px;
}

.gallery-cell-text {
  	position: absolute;
  	top: 0;
  	right: -11vw;
  	padding: 10px;
  	color: #fff;
    width: min-content;
}  

.gallery-cell h1 {
    font-size: clamp(1.5rem, 8vw, 8.5rem);
    line-height: clamp(1.6rem, 8vw, 8.7rem);
	font-weight: 600;
}

.gallery-cell p {
    font-size: clamp(0.6rem, 1.2vw, 1.2rem);
	line-height: clamp(0.7rem, 1.2vw, 1.3rem);
}

.gallery-cell-subtitle {
  	padding-left: 7vw;
}

.gallery-cell .item:hover {
  	box-shadow: none;
}

.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;
            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: black;
    border: none;
    color: white;
    opacity: 0.5;
    z-index: 1;
}

.flickity-button:hover {
    background: black;
    cursor: pointer;
    color: white;
    opacity: 1;
}

.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: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
    top: 50%;
    width: 40px;
    height: 40px;
    /* vertically center */
    transform: translateY(-50%);
}

.flickity-prev-next-button:hover {
    box-shadow: none;
}

.flickity-prev-next-button.previous { left: 0px; border-radius: 0 20% 20% 0; }
.flickity-prev-next-button.next { right: 0px; border-radius: 20% 0 0 20%; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
    left: auto;
    right: 0px;	
}
.flickity-rtl .flickity-prev-next-button.next {
    right: auto;
    left: 0px;
}

.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: -65px;
    /* padding-right: 10%; If you want dots centered to image and not viewport*/
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 1;
    opacity: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 10px;
    background: none;	
    border: 2px solid white;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
    opacity: 1;
}

.flickity-page-dots .dot:hover {
    opacity: 1;
}

.flickity-page-dots .dot.is-selected {
    background: white;
}


/*-----IFRAME----*/

.iframeGallery {	
	border:none;
	width: 100%;
	height: 100%;
	overflow: hidden;
}


@media only screen and ( max-width: 50em )
{
	
.flickity-prev-next-button {
    display: none;
}

.gallery-cell-text {
    padding: 0;
    top: 2vw;
    right: -12vw;
}

.gallery-cell-text h1 {
    padding-bottom: 0px;
}
	
.gallery-cell-subtitle {
    padding-left: 8vw;
}
	
.item .gallery-cell {
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.25);
}	
}

@media (max-width: 420px) {
    
    .flickity-page-dots {
        bottom: -40px;
    }

    .flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    margin: 0 8px;
    border: 1px solid white;
}
}