/* ==========================================================================
   Gruppo "account": area privata, registrazione, password, account medico,
   pagine generiche/legali e modulo segnalazione accessibilità.
   ========================================================================== */

/* ---------- Pagine generiche (page.php) ---------- */
.page-default { padding-top: 80px; padding-bottom: 80px; }
.page-default .entry-content > * { margin-top: 1rem; margin-bottom: 1rem; }
.page-default .entry-content > * a { text-decoration: underline; }
.page-default .entry-content > * a:hover { text-decoration: none; }
.page-default .entry-content iframe { display: block; max-width: 100%; } /* wpautop avvolge l'iframe delle policy in un <p> */
.policy-iframe { min-height: 80vh; border: 0; } /* iframe delle policy (shortcode [privacy_policy_ita] & co.) */
.page-default .entry-content ul,
.page-default .entry-content ol { padding-left: 1rem; }

/* pagine "nude" (dichiarazione / segnalazione accessibilità) */
.page-default.page-bare { padding-top: 16px; padding-bottom: 32px; }

/* ---------- Area privata (login) ---------- */
.loginpage { padding: 75px 0; }
.loginpage__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.loginpage__head .h-sect { width: auto; margin-bottom: 10px; }
.loginpage__head .t-sect { width: auto; margin-top: 10px; }
.loginpage__body { display: flex; flex-direction: column; align-items: center; }
.loginpage .nbm { width: 100%; margin: 10px 0 0 !important; }
.loginpage__link { display: inline-block; width: auto; margin-top: 0; color: var(--fbv-text); font-weight: 600; }
.loginpage__link:hover, .loginpage__link:focus { color: var(--fbv-text); text-decoration: underline; }

.loginblock { display: flex; flex-direction: column; width: 80%; max-width: 500px; }
.loginblock__form { position: relative; width: 100%; }
@media (max-width: 1500px) {
	.loginblock__form { margin-bottom: 20px; }
}
.loginblock__form p:first-child { margin-top: 0; }
.loginblock label {
	display: block;
	margin: 10px 0;
	color: #676d8a;
	font-size: 14px;
	text-align: center;
}
.loginblock .required {
	/*color: #f00;*/
	color: #c8102e;
}
.loginblock input[type="text"],
.loginblock input[type="password"] { line-height: inherit; }
.loginblock .login-remember input { width: 13px; height: 13px; margin: 0 5px 0 0; vertical-align: -1px; }
.loginblock .login-submit { display: flex; justify-content: flex-end; height: 0; margin-bottom: 0 !important; }
.loginblock__submit {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 12px 24px;
	border: 0;
	background: #e9e9ed;
	box-shadow: 0 1px 3px 0 rgba(182, 187, 207, .15);
	color: #333;
	font-family: var(--fbv-font);
	font-size: 14.4px;
	font-weight: 400;
	line-height: 1.7;
	cursor: pointer;
	transition: .2s;
}
.loginblock__submit:hover, .loginblock__submit:focus { background: #d0d0d7; box-shadow: none; }
.loginblock .login-error { margin-top: 10px; }

/* riepilogo utente collegato */
.account-summary { width: 80%; max-width: 500px; margin-top: 20px; text-align: center; }
.account-summary__welcome { margin: 0 0 10px; }
.account-summary__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 15px; margin: 0; padding: 0; list-style: none; }
.account-summary__logout a { color: var(--fbv-text); font-weight: 600; text-decoration: underline; }

/* ---------- Registrazione ---------- */
.registrazione { padding-top: 75px; padding-bottom: 75px; }
.registrazione .h-sect { margin-bottom: 10px; font-size: 65px; line-height: 1em; }
.registrazione .t-sect { margin: 10px 0 35px; }
.registrazione .t-sect p { margin: 0 0 20px; }

.reg-form {
	margin-bottom: 35px;
	padding: 20px;
	border: 1px solid #e1e1e1;
	background-color: var(--fbv-bg-grey);
}
.reg-form__row { display: flex; margin-bottom: 24px; }
.reg-form__col { flex: 1 1 0; min-width: 0; padding: 0 10px; }
.reg-form__row--date { min-height: 88.4px; } /* il campo data originale (flatpickr) era 10px più alto */
.reg-form__col label {
	display: block;
	margin: 10px 0;
	color: var(--fbv-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
}
.reg-form__col .required {
	/*color: #ff4f55;*/
	color: #c8102e;
	text-decoration: none;
	border: 0;
}
.reg-form input[type="text"],
.reg-form input[type="email"],
.reg-form input[type="password"],
.reg-form select {
	height: 36px;
	padding: 4px 8px;
	border: 1px solid #e1e1e1;
	background-color: #fff;
	color: var(--fbv-grey);
	font-weight: 300;
	line-height: 24px;
}
.reg-form select {
	border-width: 0;
	color: var(--fbv-text);
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E");
	background-position: right 5px top 55%;
	background-size: auto;
}
/* focus: stesso contorno del campo di ricerca (regola generale input:focus-visible), il bordo resta invariato */
.reg-form__desc { display: block; font-size: 14px; line-height: 1.5; color: var(--fbv-text); }
.reg-form__actions { display: flex; margin: 10px 0 0; padding: 0 10px; }
.reg-form__submit {
	margin: 0 10px 0 auto;
	padding: 10px 20px;
	border: 0;
	background-color: var(--fbv-blue);
	box-shadow: 0 1px 3px 0 rgba(182, 187, 207, .15);
	color: #fff;
	font-family: var(--fbv-font);
	font-size: 14.4px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: .2s;
}
.reg-form__submit:hover, .reg-form__submit:focus { background-color: #1b3d7a; }

/* ---------- Recupero password ---------- */
body.fbv-lost-password .site-content { display: flex; align-items: center; }
.lostpw { width: 100%; }
.lostpw__box { position: relative; padding: 20px; border: 1px solid #a0a0a0; }
.lostpw__title { position: absolute; top: -23px; padding: 10px; background-color: #fff; }
.lostpw__box > p:first-of-type { margin-top: 0; }
.lostpw label { margin-bottom: 5px; }
.lostpw input[type="text"] { display: inline-block; width: auto; line-height: inherit; }
.lostpw__submit {
	padding: 12px 24px;
	border: 0;
	background-color: #e9e9ed;
	box-shadow: 0 1px 3px 0 rgba(182, 187, 207, .15);
	color: #333;
	font-family: var(--fbv-font);
	font-size: 14.4px;
	font-weight: 400;
	line-height: 1.7;
	cursor: pointer;
}
.lostpw__submit:hover, .lostpw__submit:focus { background-color: #d0d0d7; }

/* ---------- Invio reset ---------- */
.invioreset__msg { margin: 40px 0 35px; text-align: center; }
.invioreset__msg p { margin: 0 !important; }

/* ---------- Account medico ---------- */
.account-page { padding-top: 80px; padding-bottom: 80px; }
.account-login { margin: 30px 0; background: #fff; }
.account-login__box { padding: 10px; border: 1px solid #e1e1e1; }
.account-login__grid { padding: 0 10px; }
.account-login__form p { margin: 16px 0; color: #333; }
.account-login__form label { display: block; margin: 10px 0; color: #333; font-size: 14px; line-height: 1.6; }
.account-login__form .required {
	/*color: #ff4f55;*/
	color: #c8102e;
}
.account-login__form input[type="text"],
.account-login__form input[type="password"] { height: 36px; padding: 4px 8px; line-height: 24px; }
.account-login__form #username { margin-bottom: 10px; }
.account-login__form .account-login__actions { margin-bottom: 0; }
.account-login__actions { display: flex; justify-content: space-between; align-items: flex-start; }
.account-login__actions label { display: inline; margin: 0; color: var(--fbv-text); font-size: 14px; }
.account-login__submit {
	padding: 10px 20px;
	border: 1px solid #23852A;
	/*background-color: #57ab55;*/
	background-color: #23852A;
	box-shadow: 0 1px 3px 0 rgba(182, 187, 207, .15);
	color: #fff;
	font-family: var(--fbv-font);
	font-size: 14.4px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: .2s;
}
.account-login__submit:hover, .account-login__submit:focus {
	background-color: #fff;
	color: #302f2f;	
}
.account-page .account-summary { width: 100%; max-width: none; margin: 30px 0; text-align: left; }
.account-page .account-summary__links { justify-content: flex-start; }

/* ---------- Segnalazione accessibilità ---------- */
.segnalazione { padding: 16px 20px 32px; }
.acc-box { padding: 69px 20px 20px; background-color: var(--fbv-bg-grey); }
@media (min-width: 1501px) {
	.segnalazione { padding: 91px 20px 87px; }
	.acc-form .sotto { margin-bottom: 70px; }
}
.acc-form { max-width: 500px; margin: 0 auto; }
.acc-form .h-sect { margin-bottom: 10px; font-size: 2.5em; }
.acc-form .sotto { margin-top: 16px; font-weight: 300; text-align: center; }
.acc-form input[type="email"],
.acc-form input[type="tel"],
.acc-form input[type="text"] { line-height: inherit; }
.acc-form textarea { height: 140px; }
@media (max-width: 991px) {
	.acc-form .h-sect { font-size: 2em; }
}
