/*
@keyframes fade-in {
    from {opacity: 0; transform: scale(.7,.7)}
    to {opacity: 1;}
}
.fade-in-element {
  animation: fade-in 1.4s;
}

.hidden {
  opacity: 0;
}
*/
/*
:root {
  --cassiopeia-color-primary: #112855;
  --cassiopeia-color-link: #224faa;
  --cassiopeia-color-hover: #424077;
}
*/

div:not([class*="pswp"]) {
  opacity: 0;
  transition: opacity 1.3s ease-out .25s;
  /* will-change: opacity; put the will-change on the parent */
}

div.is-visible {
  opacity: 1;
}

img:not([class*="pswp"]) {
  opacity: 0;
  transform: translateY(4em) rotateZ(-5deg) scale(0.5, 0.5);
  transition: transform 4s .25s cubic-bezier(0,1,.3,1),
              opacity 1.3s .25s ease-out;
  /* will-change: transform, opacity; put the will-change on the parent */
}

img.is-visible {
  opacity: 1;
  transform: rotateZ(0deg);
}

.testo_loghi_branche {
  opacity: 0;
  transform: translateY(10em);
  transition: transform 4s .25s cubic-bezier(0,1,.3,1),
              opacity 1.3s .25s ease-out;
  /* will-change: transform, opacity; put the will-change on the parent */
}

.testo_loghi_branche.is-visible {
  opacity: 1;
  transform: translateY(0em);
}

/* Centered text */
/* attenzione che nel modulo joomla dei loghi ho inserito come inline style transform: translate(-50%, -50%) perchè
  .testo_loghi_branche.is-visible va in override con transform: translateY(0em); ---> modificare!!!!! */
.text-centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-slider {
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: none;
  width: 100%;
  height: 500px;
}

/* INIZIO STILE SLIDESHOW */
.mySlides {display: none}
/*img {vertical-align: middle;}*/

/* Slideshow container */
.slideshow-container {
  /*max-width: 100%;*/
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.ss_prev, .ss_next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  /*color: white;
  font-weight: bold;
  font-size: 18px;*/
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  text-decoration: none;
}

/* Position the "next button" to the right */
.ss_next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.ss_prev:hover, .ss_next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Number text (1/3 etc) */
.ss_numbertext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.myFade {
  -webkit-animation-name: myFade;
  -webkit-animation-duration: 2.5s;
  animation-name: myFade;
  animation-duration: 2.5s;
}

@-webkit-keyframes myFade {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes myFade {
  from {opacity: 0} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
/* FINE STILE SLIDESHOW */

/* INIZIO SOCIAL */
.article-social-share {
  /*  float: right;  */
}
.article-social-share ul {
  padding: 0;
  list-style: none;
  margin: 0;
}
.article-social-share ul li {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.article-social-share ul li a {
  /*  border: 1px solid #ededed;*/
    font-size: 1.3rem;
   /* border-radius: 50%;
    height: 34px;
    line-height: 34px;
    text-align: center;
    width: 34px;
    display: inline-block;*/
}
/* FINE SOCIAL */