/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* The Nivo Slider styles */
.nivoSlider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.nivoSlider img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
}

.nivo-main-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  z-index: 6;
  display: none;
  background: white;
  filter: alpha(opacity=0);
  opacity: 0;
}

/* The slices and boxes in the Slider */
.nivo-slice {
  display: block;
  position: absolute;
  z-index: 5;
  height: 100%;
  top: 0;
}

.nivo-box {
  display: block;
  position: absolute;
  z-index: 5;
  overflow: hidden;
}

.nivo-box img {
  display: block;
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
  position: absolute;
  top: 50%;
  z-index: 11; /* Place the buttons on top of the overlay */
  cursor: pointer;
  transform: translateY(-50%); /* Center vertically */
}

.nivo-prevNav {
  left: 10px; /* Adjust as needed */
}

.nivo-nextNav {
  right: 10px; /* Adjust as needed */
}

/* Caption styles */
.nivo-caption {
    font-size: 63px;
    position: absolute;
    top: 182px;
    left: 0;
    width: 100%;
    height: 111%;
/*    background-color: rgb(0 0 0 / 9%);*/
    color: #fff;
    padding: 64px;
    text-align: left;
    opacity: 1;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: left;
    align-items: center;
    z-index: 10;
}
/* Add this CSS to your stylesheet */
.nivoSlider .slide img[title]::after {
  content: "\A"; /* Line break character */
  white-space: pre; /* Treat content as preformatted text */
}
.nivo-slice {
  transition: transform 0.3s ease-in-out;
}



.nivo-slice.nivo-slice-current {
  transform: scale(1.05); /* Adjust the scaling factor as needed */
}

.nivo-caption p {
  padding: 5px;
  margin: 0;
}

.nivo-caption a {
  display: inline !important;
}

.nivo-html-caption {
  display: none;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
  text-align: center;
  padding: 15px 0;
}

.nivo-controlNav a {
  cursor: pointer;
}

.nivo-controlNav a.active {
  font-weight: bold;
}

@media only screen and (max-width: 600px) {
.nivo-caption {
    font-size: 20px;
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 111%;
    background-color: rgb(0 0 0 / 9%);
    color: #fff;
    padding: 64px;
    text-align: center;
    opacity: 1;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    word-wrap: break-word;
    white-space: normal;
}
}
/* Add this CSS to your stylesheet */
.nivoSlider .slide img[title]::after {
  content: " - "; /* Add a separator before the small word */
  font-size: 12px; /* Adjust font size as needed */
  color: #999; /* Adjust color as needed */
}

.nivoSlider .slide img[title]::before {
  content: "Center"; /* Add your small word here */
  font-size: 10px; /* Adjust font size as needed */
  color: #777; /* Adjust color as needed */
}