/* ==========================================================================
*
* Custom CSS Stylesheet. This is where you should add your own styles!
*
** ========================================================================== */

/* Simple style overrides or custom adds */

.frase-animata {
    text-align: left;
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.riga-1, .riga-2 {
    overflow: hidden;
    white-space: nowrap;
    animation: scorrimento 2s ease-out forwards;
}

.riga-1 {
    animation-delay: 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.riga-2 {
    animation-delay: 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.riga-3 {
    font-size: 0.6em;
    font-weight: normal;
    margin-top: 20px;
    animation: entraDalBasso 1.5s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.infoheader{
	display: none;
	padding-top:5px;
	padding-bottom:5px;
}
.spazioheader{
	display: none;
}

.site-header .kl-header-bg{
	background: none;
	background-color: #273D62;
	height: 100%;
}

@keyframes scorrimento {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes entraDalBasso {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


body{
	font-size:18px;
	color: #000;
}

.some-css-selector {font-size:13px;}

.el-devimages__vuoto { position: relative; width: 1160px; background-repeat: no-repeat; background-size: contain; margin: 0 auto;}
.el-devimages__vuoto-img {position: absolute; background-repeat: no-repeat; background-size: cover; border-radius: 3px; }
.el-devimages--type-img .el-devimages__vuoto { height: 670px; }
.el-devimages--type-img .el-devimages__vuoto-img {left: 14%; top: 7.6%; bottom: 13.3%; right: 13.9%; }
.el-devimages--type-vector .el-devimages__vuoto {height: 600px; }
.el-devimages--type-vector .el-devimages__vuoto-img { left: 16.6%; top: 6.3%; bottom: 11.8%; right: 16.6%;}

.img-square {
  position: relative;
  width: 100%;
  padding-top: 100%; /* crea un quadrato */
  overflow: hidden;
  margin-bottom: 10px;
}

.img-square img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 8px 12px;
  color: white;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.img_sponsor{
	max-height:88px;
}

.pulsanteselezione {
    background-color: #969696;
    overflow: hidden;
    transition: transform 0.3s;
	height: 180px;
	display: flex;
	flex-direction: column;
	align-items: left;
	text-align: left;
	padding: 10px;
}

.pulsanteselezione:hover {
    transform: translateY(-5px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pulsanteselezione-titolo{
	padding: 5px;
	font-size: 18px;
	color:#FFFFFF;
}

.pulsanteselezione-corpo{
	padding: 5px;
	font-size: 16px;
	color:#FFFFFF;
}

.pulsanteselezione-img{
	position: absolute;
	bottom: 5px;
	right: 5px;
	height: 70%;
	object-fit: cover;
	opacity: 0;
	transform: translateX(50px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.pulsanteselezione:hover .pulsanteselezione-img {
    opacity: 1;
    transform: translateX(0); /* Riporta l'immagine alla posizione originale */
}

.pulsanteselezione-titolo,
.pulsanteselezione-corpo {
  position: relative;
  z-index: 1;
}

.imghshake {
  transition: transform 0.1s ease-in-out; /* Aggiunge una transizione per un effetto più fluido */
}

.imghshake:hover {
  animation: vibrazione 0.5s ease-in-out;
}

.site-header-main-center {
	margin-left:0;
}

.main-nav > ul > li > a {
	font-size: 18px;
}

@keyframes vibrazione {
  0% { transform: translateX(0); }
  10% { transform: translateX(-5px); }
  20% { transform: translateX(5px); }
  30% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  50% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
  70% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  90% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
** Responsive styles custom rules
* These rules are ready to be used for either overrides
* or just your own custom rules.
========================================================================== */


/** Higher screens+ **/
@media only screen and (min-width : 1921px){

}


/** Desktop+ **/
@media (min-width: 1200px) {

}


/** Laptop **/
@media (max-width: 1200px) {
}


/** Laptop+ **/
@media (min-width: 991px) {
.chaser {
    display: block;
    background: rgba(0,0,0,.85);
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: auto;
    z-index: 111;
	}
}


/** Laptop **/
@media (min-width: 992px) and (max-width: 1199px) {
    .site-header[data-header-style="1"] .main-nav > ul > li > a {
        font-size: 1rem;
    }
}


/** Large Tablets **/
@media (max-width: 992px) {
	.spazioheader{
		display:block;
	}
}


/** Tablets (landscape mode)  **/
@media (min-width: 768px) and (max-width: 991px) {
}


/** Tablets+  **/
@media (min-width: 768px) {
	.infoheader{
		display: block;
	}
}


/** Tablets (portrait mode)  **/
@media (min-width : 481px) and (max-width : 768px) {

}


/** Smartphone landscape mode / Mini Tablet **/
@media (max-width: 767px) {
}


/** Smartphone landscape mode / Mini Tablet **/
@media (max-width: 600px) {

}


/** Smartphone portrait mode **/
@media (max-width: 480px) {

}


/** Normal phone portrait mode+ **/
@media (min-width: 320px) {
	
}
