[data-row-id="hero"] .to-herobanner {
  background: #fff;
  color: #000;
}
h1.ta-heading.ta-heading--h1-hp {
  font-size: 32px;
font-weight: 500;
line-height: 36px
}
.to-herobanner--full-image {
  color:#000;
}
@media (max-width: 48em) {
  [data-row-id="hero"] .to-herobanner--full-image,
.to-herobanner.to-herobanner--full-image{
    justify-content: flex-start;
  }
}

.main-wrap {
  color: #000;
  text-align: center;
  padding: 24px 0;
}
ul#suggestions {
display:none;}
.main-wrap p {
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin: 0;
}

.main-wrap h2 {
  font-size: 24px;
  font-style: normal;
  line-height: normal;
  margin: 0;
  padding-bottom: 8px;
}

.esim-wrap input {
  position: relative;
  width: 100%;
  height: 46px;
  line-height: 46px;
  font-weight: 100;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid #122ac2;
  caret-color: #122ac2;
  outline: none;
  border-radius: 14px;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.42, 0, 1, 1);
  font-size: 15px;
}

#valid-esim p {
  margin: 0;
}

#valid-esim .valid-titolo {
  color: #4C4C4C;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 15px;
}

#valid-esim .valid-disclaimer {
  font-size: 12px;
  font-weight: 300;
  line-height: 15px;
}

#valid-esim {
  gap: 16px;
  align-items: center;
}

.esim-container #disclaimer-esim,
.esim-row:has(input.esim-aperto) #disclaimer-esim,
#valid-esim,
.esim-wrap:has(input.esim-aperto) #valid-esim {
  display: none;
}

.esim-row:has(.not-valid) #disclaimer-esim {
  display: block;
}

.esim-container:has(.has-value) #valid-esim,
#disclaimer-esim {
  display: flex;
  flex-wrap: nowrap;
}

.div-disclaimer-esim {
  display: flex;
}
#disclaimer-esim {
  color: #EB0028;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-top: 4px;
  text-align: center !important;
    margin: 0 auto;
}

.esim-titolo {
  font-size: 18px;
  line-height: 23px;
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: bold;
}

.esim-row {
  min-height: 208px;
  padding: 24px;
  border-radius: 14px;
  margin-bottom: 0;
  align-self: stretch;
  background: rgba(217, 217, 217, 0.50);
}

.autocomplete {
  position: relative;
  width: 100%;
  margin: 24px auto 0px;
}

.esim-inner-wrap {
  position: relative;
}

.esim-wrap label {
  font-weight: 300;
  color: #4c4c4c;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 18px;
  z-index: 1;
  transition: top 0.5s, font-size 0.5s;
  padding: 12px 14px;
  top: 1px;
}

.not-valid input:not(.esim-aperto) {
  border: 1px solid #EB0028;
}
.esim-inner-wrap:has(.esim-aperto) label,
.esim-inner-wrap.has-value label {
  color: #122ac2;
   background-color: #ffffff;
    top: 0;
  font-size: 12px;
    padding: 0 0.3rem;
    display: block;
  position: absolute;
  left: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all 0.2s cubic-bezier;
}

.not-valid label {
  top: 0;
  font-size: 12px;
  color: #EB0028;
   background-color: #ffffff;
    top: 0;
  font-size: 12px;
    padding: 0 0.3rem;
    display: block;
  position: absolute;
  left: 14px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all 0.2s cubic-bezier;
}

.esim-inner-wrap:has(.esim-aperto) .device-list {
  border: 1px solid #122ac2;
  border-top: none;
}

.device-list {
  border-radius: 0px 0px 14px 14px;
  display: block;
  position: absolute;
  bottom: 0;
  transform: translateY(100%);
  left: 0;
  width: 100%;
  max-height: 180px;
  background-color: #ffffff;
  border-top: none;
  overflow-y: scroll;
  z-index: 1;
  box-sizing: border-box;
}

.device-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.device-list li {
  position: relative;
  min-height: 45px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 300;
}

.device-list::-webkit-scrollbar-thumb {
  background-color: #122ac2 !important;
  border-radius: 0;
  scrollbar-width: thin;
}

.device-list::-webkit-scrollbar {
  -webkit-appearance: none;
}

.device-list::-webkit-scrollbar:vertical {
  width: 4px;
}

.device-list::-webkit-scrollbar:horizontal {
  height: 4px;
}

#inputProdotto.esim-aperto {
  border-radius: 14px 14px 0px 0px;
}

.esim-container:has(.has-value) #valid-esim,
#disclaimer-esim {
  margin: 0;
}

#valid-esim {
  padding-top: 24px;
}

@media (max-width:768px) {
  .esim-titolo {
    font-size: 16px;
    line-height: 20px;
  }

  .esim-wrap,
  .esim-row {
    width: 100%;
  }
}

@media (min-width: 93.75em) {
    .tm-modal-overlay__par-container {
        max-height: 100%;
    }
}

/*regole base*/


#disclaimer-esim {
margin:0 auto !important;
}
@media (max-width:47.99rem) {
.tm-modal-overlay__container {
height:auto;
}
}
@media (min-width:48rem) {
.tm-modal-overlay__par-container {
    height: 100%;
}
.tm-modal-overlay__container {
    height: fit-content;
}
}
@media (min-width:48rem) and (max-height: 640px) {
.tm-modal-overlay__container {
    height: 100%;
}
}

@media  (min-width:48rem) and (max-height: 500px) {
.tm-modal-overlay__container {
    min-height: 100% !important;
}
}

@media (min-width: 93.75em) {
    .tm-modal-overlay__par-container {
        max-height: 100%;
    }
}

.tm-modal-overlay__par-container {
    overflow: visible;
}

.tm-modal-overlay__container
 {
    max-width: 800px;
    padding: 4.8rem;
    max-height: 100%;
}


@media (max-width:47.99rem) {
.tm-modal-overlay__container {
 padding: 6rem 1rem;
}
}

[data-row-id="hero"] .to-herobanner {
  background: #fff;
  color: #000;
}

#c--29757636 > div > div.to-herobanner--full-image__content > div.to-herobanner--full-image__headings > h1    { font-size: 1.8em;
}

#c--1084735205 > section > div.tm-heading-intro__body > div > a > span.ta-button__icon { display: none;
} 

#c-882235854 > div > div.to-banner-agcom__wrapper > div.to-banner-agcom__text > p > span { font-size: 14px;
}

#c--6029312 {
    background-color: #F3F4FB;
}
/**/

.main-container {
  padding: 24px 120px 48px;
  color: white;
}

.main-container-light {
  color: #000;
  background-color: #F3F4FB;
}

.narrow-card-container {
  position: relative;
  width: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #ccc;
  height: 490px;
}

.narrow-card-bg {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.narrow-card-bg picture {
  width: 100%;
  height: 100%;
  display: block;
}

.narrow-card-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.card-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.heading-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: black;
  text-align: center;
}

.heading-section h2 {
  font-size: 40px;
  font-weight: 500;
}

.heading-section p {
  font-size: 16px;
  line-height: 20px;
}

.narrow-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: flex-start;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0;
}

.content-wrapper h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 31px;
}

.content-wrapper p {
  font-size: 16px;
  line-height: 20px;
}

#paragraph {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  margin-top: 8px;
  font-weight: 300;
}

.bottom-container {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 0;
}

.bottom-bar {
  display: flex;
}

.l-box {
  width: 100%;
  align-items: center;
}

.r-box {
  width: 100%;
  justify-items: end;
  align-content: center;
}

.container {
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.main-container-light .narrow-card-container {
  background-color: #fff;
  border: 1px solid #D0D4F3;
}

h2 {
  line-height: normal;
}

/*TABLET*/

@media (min-width: 767px) and (max-width: 1199px) {

  .card-container {
    flex-direction: column;
  }

  .heading-section p {
    max-width: 650px;
  }

}
/*MOBILE*/

@media (max-width: 766px) {

  .main-container {
    padding: 2.4rem;
  }

  .card-container {
    flex-direction: column;
  }

  .heading-section {
    padding: 0 16px;
  }

  .heading-section h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .heading-section p {
    max-width: 385px;
  }

  .container {
    width: 100%;
  }
  .content-wrapper h3 {
    font-size: 24px;
        line-height: 100%;
  }
}