#luceGas {
  position: relative;
  background-color: black;
  background-image: url('/assets/img/bg/luce_gas_bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

#luceGas video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.energy {
  margin: 70px 0;
}

.energy a {
  text-decoration: underline;
  color: #1551ab;
}

.energy a:hover {
  color: #46afe0;
}

.energy a:active {
  color: #8bc34a;
}

.energy a:visited {
  color: #3315ab;
}

.energy ul {
  padding: 0;
  list-style-position: inside;
  list-style-type: none;
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

.energy ul li {
  padding-left: 16px;
  font-size: 1.2rem;
}

.energy ul li:before {
  content: "-";
  font-weight: 600;
  padding-right: 8px;
}

/* Sezione Grafici */

#energiaElettrica,
#gasMetano {
  padding: 0;
  width: 100%;
  max-width: 100%;
}

#energiaElettrica {
  background-image: linear-gradient(45deg, #3f4ed8, #d14cc9);
}

#gasMetano {
  background-image: linear-gradient(45deg, #28f19d, #04a7f2);
}

#energiaElettrica .content.energy,
#gasMetano .content.energy {
  max-width: 80%;
  padding: 2rem 0rem;
  margin: auto;
  justify-content: stretch;
  position: relative;
}

#energiaElettrica .content.energy>div:first-child,
#gasMetano .content.energy>div:first-child {
  flex-flow: column;
  position: relative;
  max-width: 400px;
  max-height: 400px;
  margin: 5vh;
  flex: 1 1 auto;
}

#energiaElettrica .content.energy>div:last-child,
#gasMetano .content.energy>div:last-child {
  margin: 5vh;
  color: white;
  border-radius: 8px;
  width: fit-content;
}

#energiaElettrica .content.energy div .title h4,
#gasMetano .content.energy div .title h4 {
  font-size: 1.8rem;
}

#energiaElettrica .content.energy div .title h4,
#energiaElettrica .content.energy div .title h5,
#gasMetano .content.energy div .title h4,
#gasMetano .content.energy div .title h5 {
  color: white;
}

.energy>div img {
  position: absolute;
  width: 40%;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
  animation-name: fadeIn;
  background: white;
  border-radius: 50%;
  padding: 1rem;
}

.energy .dettaglio li {
  color: white;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: .5rem;
  cursor: pointer;
}

.energy .dettaglio li:before {
  content: " ";
  width: 30px;
  height: 30px;
  display: inline-block;
  padding: 0;
  border-radius: 4px;
  margin-right: 10px;
}

.energy .dettaglio li:first-child:before {
  background-color: #3f4ed8
}

.energy .dettaglio li:nth-child(2):before {
  background-color: #d14cc9
}

.energy .dettaglio li:nth-child(3):before {
  background-color: #4d66fe
}

.energy .dettaglio li:last-child:before {
  background-color: #0008a9
}

.energy .dettaglio li:first-child:hover:before {
  background-color: #011afa
}

.energy .dettaglio li:nth-child(2):hover:before {
  background-color: #f010e1
}

.energy .dettaglio li:nth-child(3):hover:before {
  background-color: #2b47ff
}

.energy .dettaglio li:last-child:hover:before {
  background-color: #000898
}

#gasMetano .energy .dettaglio li:first-child:before {
  background-color: rgb(133, 208, 63)
}

#gasMetano .energy .dettaglio li:nth-child(2):before {
  background-color: rgb(73, 176, 220)
}

#gasMetano .energy .dettaglio li:nth-child(3):before {
  background-color: rgb(94, 187, 167)
}

#gasMetano .energy .dettaglio li:last-child:before {
  background-color: rgb(116, 199, 107)
}

#gasMetano .energy .dettaglio li:first-child:hover:before {
  background-color: #76e90b
}

#gasMetano .energy .dettaglio li:nth-child(2):hover:before {
  background-color: #09b5ff
}

#gasMetano .energy .dettaglio li:nth-child(3):hover:before {
  background-color: #30c6a6
}

#gasMetano .energy .dettaglio li:last-child:hover:before {
  background-color: #4ad93a
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Form */

#risp_str {
  width: 50%;
  display: inline-block;
  float: left;
  color: #007a9e;
}

#risp_str>h4 {
  margin: 2rem 0;
  font-family: 'Permanent Marker';
  font-size: 3rem;
}

#label-fattura {
  cursor: pointer;
  padding: .7rem 1rem;
  background-color: #13a59c;
  color: white;
  text-overflow: ellipsis;
  border-radius: 4px;
}

#label-fattura:active {
  background-color: #04827a
}

#fileName {
  display: block;
  margin: auto 1rem;
  font-size: .9rem;
}

.content form {
  flex: 1;
  width: 50%;
  display: inline-block;
}

.content form input[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

row {
  justify-content: center;
  width: 100%;
}

.info_tutela {
  margin-top: 2.5rem;
  text-align: center;
  display: block;
  color: white;
}

@media screen and (max-width:1500px) {
  .info_tutela {
    margin: 1rem;
  }
}

#energiaElettrica .content.energy > .chart, 
#gasMetano .content.energy > .chart {
  position: relative;
}

#energiaElettrica .content.energy > .chart .select-like,
#gasMetano .content.energy > .chart .select-like {
  margin: 1rem 0;
  position: absolute;
  top: 105%;
  left: 50%;
  display: block;
  transform: translate(-50%, 0);
  width: auto;
}

.select-like select {
  padding: 0.5rem 2rem;
  border-radius: 8px;
  color: white;
  border-color: white;
  font-size: 16px;
  font-family: 'Titillium Web';
  font-weight: 600;
  text-shadow: 0 0 12px #00000057;

}

.select-like select option {
  color: black;
  background-color: white;
}

#energiaElettrica .select-like select {
  background-image: linear-gradient(45deg, #28f19d, #04a7f2);
}

#gasMetano .select-like select {
  background-image: linear-gradient(45deg, #3f4ed8, #d14cc9);
}

@media screen and (max-width:1200px) {

  #energiaElettrica .content.energy,
  #gasMetano .content.energy {
    display: flex;
    padding: 4rem 0 0;
    flex-direction: column;
    margin: auto;
    width: 90%;
    max-width: 100%;
    justify-content: flex-start;
  }

  #energiaElettrica .content.energy>div:first-child,
  #gasMetano .content.energy>div:first-child {
    width: 80%;
  }

  #energiaElettrica .content.energy>div:last-child,
  #energiaElettrica .content.energy>div:nth-child(2),
  #gasMetano .content.energy>div:last-child {
    padding: 0;
    margin: auto;
    /* margin-top: 10vh !important; */
  }

  #energiaElettrica .title h4,
  #gasMetano .title h4,
  #energiaElettrica .title h5,
  #gasMetano .title h5 {
    text-align: center;
    display: block;
  }

  #energiaElettrica .title h4,
  #gasMetano .title h4 {
    font-size: 1.6rem;
  }

  .energy ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .flex-col.al-base {
    align-items: center;
  }

  #risp_str {
    width: 100%;
  }

  #risp_str>h4 {
    text-align: center;
    font-size: 2.3rem;
  }

  .content form {
    width: 100%;
    margin-top: 5vh;
  }

  #col-fattura {
    flex-direction: column;
    align-items: baseline;
  }

  #fileName {
    padding: 0;
    margin-top: 1rem;
  }
}

.show {
  display: flex !important;
}