
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
#myCarousel {
    max-width: 1800px;
    padding-top: 35px;
    width: 95%;
}

.carousel-caption p.content-slider {
  font-size: 20px;
}

.carousel-caption p a {
    color: #000000;
}


.carousel-caption p a.pink {
    color: #CC3C8E;
}

.carousel-caption p a.blue {
    color:#ADB4B8;
}


/*full width page withslider*/

.full-width #myCarousel {
    max-width: 100%;
    padding-top:0;
    margin-top: 0;
    width: 100%;
}

.carousel {
  margin-bottom: 4rem;
}

.carousel-indicators{
    z-index: 999 !important;
}

.carousel-control-next,.carousel-control-prev{
    position: absolute;
    top:30%;
    display: inline-block;
    width: 20px;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-control-next-icon{
    background-image: url("../images/ico/freccia.svg");
    margin-left: -30px;
    height: 32px !important;
}

.carousel-control-prev-icon{
    background-image: url("../images/ico/freccia-sx.svg");
    margin-right: -30px;
    height: 32px !important;
}

#myCarousel .carousel-indicators [data-bs-target] {
    width: 20px;
    height: 2px;
    border:0;
    border-radius: 0px;
    opacity: 1 !important;
    box-sizing: content-box;
    flex: 0 1 auto;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    display: flex;
    background-color: rgba(128, 128, 128, 1);
}

#myCarousel .carousel-indicators .active {
    width: 20px;
    height:4px;
    background-color: black;
    color: black;
    border-radius: 100px;
    opacity: 1 !important;
    margin-top: -1px;
}

/* Since positioning the image, we need to help out the caption */

.carousel-caption {
    z-index: 10;
    position: absolute;
    top:74%;
    right:1%;
    left:8%;
    text-align: left;
}

.carousel-inner{
    border-radius: 0;
    padding-bottom: 150px;
}

.carousel-caption p.text-slide{
  font-size: 55px;
  line-height: 1.0;
  color:black;
}

.carousel-caption a.btn-primary{
    margin-top: 50px;
}


/* Declare heights because of positioning of img element */

.carousel-item img {
    height: auto;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */

.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */
.row.featurette{
  margin:60px auto;
}

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px){
    .full-width #myCarousel {
        max-width: 100%;
        padding-top:0;
        margin-top: -142px;
    }
    .carousel-caption{
        position: absolute;
        left: 23% !important;
        top: 81%;
    }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
    .carousel-caption a.btn-primary{
        margin-top: 60px;
    }
}

@media (min-width: 768px) {
    .carousel-caption{
        position: absolute;
        left: 10%;
        top: 81%;
    }

    .carousel-caption a.btn-primary{
        margin-top: 0;
    }

    .carousel-item img {
        height: auto;
    }

    .carousel-control-next,.carousel-control-prev{
        position: absolute;
        top:50%;
        display: inline-block;
        width: 20px;
        height: 2rem;
        background-repeat: no-repeat;
        background-position: 50%;
        background-size: 100% 100%;
    }

    .carousel-control-next-icon{
        background-image: url("../images/ico/freccia.svg");
        width:38px;
    }

    .carousel-control-prev-icon{
        background-image: url("../images/ico/freccia-sx.svg");
        width: 38px;
    }

    .carousel-caption p.text-slide{
        font-size: 80px ;
    }
}



@media (min-width: 1024px) {
    .carousel-caption a.btn-primary{
        margin-top: 70px;
    }
}

@media (min-width: 1280px) {
    .carousel-caption{
        position: absolute;
        top: 76% !important;
        left: 29% !important;
        /*max-width: 566px;*/
        font-size: 120px;
        line-height: 125px;
    }
    .carousel-caption a.btn-primary{
        margin-top: 140px;
    }
    .carousel-caption p.text-slide{
        font-size: 120px;
    }

}

@media (min-width: 1440px) {
    .carousel-caption a.btn-primary{
        margin-top: 50px;
    }
}

@media (max-width: 533px) {

    .carousel-caption p.text-slide{
        font-size: 50px;
        }
}