/* Finestra di iscrizione alla newsletter. Su telefono: riquadro in basso; da 783px: finestra al centro. */
.dtnl { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000; }
.dtnl[hidden], .dtnl [hidden] { display: none !important; }
.dtnl__backdrop { display: none; }
.dtnl__box { position: relative; box-sizing: border-box; max-height: 75vh; overflow-y: auto; background: #fff; color: #111; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, .22); padding: 22px 18px 14px; text-align: left; outline: none; }
.dtnl__close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; background: transparent; color: #555; font-size: 26px; line-height: 1; cursor: pointer; }
.dtnl__close:hover, .dtnl__close:focus-visible { color: #000; background: #f2f2f2; border-radius: 50%; }
.dtnl .dtnl__title { margin: 0 36px 6px 0; padding: 0; font-size: 20px; line-height: 1.25; color: #111; }
.dtnl .dtnl__text { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: #444; }
.dtnl .dtnl__offer { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #eef5ff; color: #123a73; font-size: 13px; font-weight: 600; line-height: 1.45; }
.dtnl__form { margin: 0; }
.dtnl__label { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.dtnl .dtnl__input { box-sizing: border-box; width: 100%; min-height: 44px; margin: 0 0 10px; padding: 8px 12px; border: 1px solid #c3c4c7; border-radius: 8px; font-size: 16px; background: #fff; color: #111; }
.dtnl__hp { position: absolute; left: -9999px; }
.dtnl__consent { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 12px; font-size: 12.5px; font-weight: 400; line-height: 1.4; color: #444; cursor: pointer; }
.dtnl .dtnl__consent input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; }
.dtnl__consent a { text-decoration: underline; }
.dtnl .dtnl__submit { display: block; width: 100%; min-height: 44px; margin: 0; padding: 10px 18px; border: 0; border-radius: 8px; background: #2582f1; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.dtnl .dtnl__submit:hover, .dtnl .dtnl__submit:focus-visible { background: #1766c8; color: #fff; }
.dtnl .dtnl__submit:disabled { opacity: .6; cursor: default; }
.dtnl .dtnl__msg { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: #1a7f37; }
.dtnl .dtnl__msg:empty { display: none; }
.dtnl .dtnl__msg.is-error { color: #c0272d; }
.dtnl .dtnl__later { display: block; margin: 8px auto 0; padding: 6px 10px; border: 0; background: transparent; color: #666; font-size: 13px; text-decoration: underline; cursor: pointer; }

@media (min-width: 783px) {
	.dtnl { top: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
	.dtnl__backdrop { display: block; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
	.dtnl__box { width: 100%; max-width: 460px; max-height: 90vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); padding: 30px 30px 18px; }
	.dtnl .dtnl__title { font-size: 24px; }
}
