/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */
.flickity-wrap {
	position: relative;
	width: 100%;
    max-width: 100% !important;
}
.flickity-wrap img {
	border-radius: 15px;
	width: 100%;
	display: block;
	object-fit: cover;
	height: auto;
}
.flickity-slide {
  width: calc(85% - 60px);
  margin-right: 10px;
  border-radius: 5px;
  max-width: 1200px;
  display: block;
  
}
.flickity-slide-content {
	/*position: absolute;
	top: 0px;
	width: 100%;
	padding-left: 50px;
	padding-right: 50px;*/
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Adjust text color to contrast with the image */
    padding: 10px; /* Optional: Add padding around the text */
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
    width: 80%; /* Adjust to fit within the image */
}
.flickity-page-dots {
    bottom: 20px !important;
}
.flickity-page-dots li {
    background-color: #fff;
    margin: 0px 5px !important;
    height: 6px !important;
    opacity: 1;
    overflow: hidden;
    position: relative;
    transition: all .3s ease;
    width: 12px !important;
    border-radius: 8px !important;
    
}
@keyframes bulletLoader {
    0% {
        width: 0
    }

    to {
        width: 100%
    }
}
.flickity-page-dots li:before {
    background-color: #f6f6f6;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    width: 0
}

.flickity-page-dots li.is-selected {
    position: relative;
    width: 56px !important;
    border-radius: 8px !important;
    height: 6px !important;
}

.flickity-page-dots li.is-selected:before {
    animation: bulletLoader 8s forwards
}
.flickity-wrap h2 {
	margin-top: 0px !important;
    margin-bottom: 10px !important;
}
.flickity-wrap h2, .flickity-wrap  p {
	color: #fff !important;
}
.flickity-page-dots .dot {
    opacity: 0.6 !important;
    background: #ccc !important;
}
.wp-block-flexiflick-slider-block {
  background: #ccc;
  color: #000 !important;
  text-align: center;
  padding: 30px;
  border: 1px dotted #000;
}

.wp-block-flexiflick-slider-block h3 {
  text-align: center;
}
