/* Stili per smartphone */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}


/* Stili per tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    body {
        font-size: 16px;
    }
}

/* Stili per desktop */
@media screen and (min-width: 1025px) {
    body {
        font-size: 18px;
    }
}



.fb-share-button {
    opacity: 1;
    transform: scale(2);
    transform-origin: top center;
}




  #candleImage {
        cursor: pointer;
    }
	
* {
  margin: 0;
  padding: 0;
}

/*  Blocco menu fisso in alto
header {
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
*/

#bottom_right {
	position: fixed;
	bottom: 0;
	right: 0;
}
  

.container_nav {
  padding: 2px;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.container_footer {
  padding: 3px;
}


.modal-content_dedica {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}
.modal-header_dedica {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.modal-content{ 
	background-color: #144766; 
}


h1, h2, h3, h4, h5, h6 {
	color: black;
}
	
	
input[type=text] {
  background-color: #FFFFFF;
  color: black;
}


#side-carousel img {
	margin: 0 auto;
}

.footer-blurb {
    padding: 10px 0;
    margin-top: 10px;
    background-color: #eee;
    color: black;
}
    
.footer-blurb-item {
    padding: 1px;
    }
 
.small-print {
	background-color: #fff;
	padding: 30px 0;
}

.small-print {
	text-align: center;
	}
	
.center-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
 
}
th, td {
  padding: 1px;
 
}
  

body {font-family:Arial, Helvetica, sans-serif; font-size:12px;}

.fadein { 
	position:relative; height:500px; width:600px; margin:0;  
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding: 10px;
 }
 
.fadein img{
	position:absolute;
	width: calc(96%);
	height: calc(94%);
	object-fit: scale-down;
}

#parent {
    text-align:center;
    background-color:blue;
    height:400px;
    width:600px;
}

.block {
    text-align:center;
}

.center {
    margin:auto;
    background-color:white;
}

.myButton {
	box-shadow: 0px 1px 0px 0px #f0f7fa;
	background:linear-gradient(to bottom, #33bdef 5%, #019ad2 100%);
	background-color:#33bdef;
	border-radius:6px;
	border:1px solid #057fd0;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px -1px 0px #5b6178;
}
.myButton:hover {
	background:linear-gradient(to bottom, #019ad2 5%, #33bdef 100%);
	background-color:#019ad2;
}
.myButton:active {
	position:relative;
	top:1px;
}


textarea {
	resize: none;
  
}

.container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item {
    width: 25em;
}
    

* {
  box-sizing: border-box;
}

.row {
  margin-left:-5px;
  margin-right:-5px;
}
  
.column {
  float: left;
  width: 50%;
  padding: 5px;
}
.column_3 {
  float: left;
  width: 25%;
  padding: 5px;
}

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 0px solid #ddd;
}

th, td {
  text-align: center;
  padding: 16px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}					
	

.iframe-responsive{position: relative; width: 100%; padding-bottom: 56.25%; height: 0; } 
.iframe-responsive iframe{ position: absolute; top:0; left: 0; width: 100%; height: 100%; }


#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  cursor: pointer;
  background-color:  transparent;
}

#myBtn:hover {
  background-color:  transparent;
}



.tooltip-text {
  visibility: hidden;
  position: absolute;
  z-index: 1;
  color: white;
  font-size: 15px;
  background-color: #5aa5e6;
  border-radius: 10px;
  padding: 2px 20px 2px 20px;
}

.hover-text:hover .tooltip-text {
  visibility: visible;
}
/* Set posizione del ToolTips */
#top {
  top: -80px;
  left: -40%;
}

#bottom {
  top: 25px;
  left: -50%;
}

#left {
  top: -8px;
  right: 120%;
}

#right {
  top: -8px;
  left: 120%;
}

.hover-text {
  position: relative;
  display: inline-block;
  margin: 0px;
  font-family: Avenir;
  text-align: center;
}













.scrolling-text-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%; /* Larghezza al 100% del viewport */
  position: relative; /* Necessario per l'elemento assoluto */
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%; /* Inizia fuori dallo schermo */
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}







.hide {
  display: none;
}
    
.myDIV:hover + .hide {
  display: block;
  color: blue;
}




#progressBar {
  width: 100%;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  height: 20px;
  margin-bottom: 10px;
}

#fill {
  height: 100%;
  width: 0;
  background-color: #4caf50;
}


.logout-btn {
    position: fixed;
    top: 70px;
    right: 10px;
    background-color: blue;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.menu-btn {
    position: fixed;
    top: 70px;
    right: 100px;
    background-color: blue;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}


.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}










  /* Aggiungi uno stile all'input quando viene premuto */
  .press-effect {
    padding: 10px;
    border: 0px solid #ccc;
    transition: border-color 0.3s, transform 0.1s;
    outline: none; /* Rimuovi il bordo quando l'input è attivo */
	
  }
  /* Stile quando l'input viene premuto */
  .press-effect:active {
    border-color: #007bff; /* Cambia il colore del bordo */
    transform: translateY(4px); /* Spinge leggermente verso il basso */
	background-color: #4caf50; /* Cambia il colore di sfondo */
  }
  
  
	.instagram-link img {
		width: 30px; /* Dimensione dell'icona */
		height: 30px; /* Dimensione dell'icona */
	}
	
	
	
	
    /* Definisci l'animazione per il bordo lampeggiante */
    @keyframes blink-border {
        0% {
            border-color: red;
        }
        50% {
            border-color: transparent;
        }
        100% {
            border-color: red;
        }
    }

    /* Classe per il bordo lampeggiante */
    .flashing-border {
        border: 3px solid red; /* Imposta il colore e lo spessore del bordo */
        animation: blink-border 1s infinite; /* Applica l'animazione */
    }