@import url('https://fonts.googleapis.com/css2?family=Graduate&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
/*
Arancione: #e8622d
Background scuro: #191919
Background grigio: #333333
Background sfumatura scura: #191919 e #333333
Colore body su sfondo scuro: #C1C1C1
Colore body su sfondo chiaro: #333333 (edited) 
*/

html {
	position: relative;
	height: 100%;
	background: #eee;
	scroll-behavior: smooth;
}
body {
	background: #191919;
	color: #C1C1C1;
	position: relative;
	margin: 0;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	font-family: Nunito;
	font-size: 18px;
}
a {
	color: inherit;
	text-decoration: none;
}
sup {
	vertical-align: top;
	font-size: 0.7em;
}
ol ol li { list-style-type: lower-alpha; }
ol ol ol li { list-style-type: upper-roman; }

.header {
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	text-align: center;
	padding-top: 10px;
	position: sticky;
	top: 0;
	z-index: 10;
}
.header .logo_wrapper {
	display: flex;
	justify-content: space-between;
}
.header .logo_wrapper > * {flex-basis: 33%;}
.header .logo_wrapper::before {content: ""; flex-basis: 33%;}
.header .logo_wrapper img {
	height: 60px;
}

.header.ridotta {
	padding: 10px;
	border-bottom: 1px solid #999;
}
.header.ridotta .logo_wrapper {justify-content: center;}
.header.ridotta .logo_wrapper::before {content: none}
.header.ridotta .logo_wrapper::after {content: ""; flex-basis: 33%;}
.header.ridotta .logo_wrapper > :first-child {text-align: left;}
.header.ridotta .bottone {
	background-color: transparent;
}

.header .info_utente_head {
	text-align: right;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}
.header .info_utente_head .accedi {
	font-family: 'Graduate';
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 13px;
}
.header .info_utente_head .accedi::before {
	content: url(../immagini/account.svg);
	width: 20px;
}

.header .info_utente_head .utente_loggato {
	position: relative;
	font-size: 16px;
	display: inline-flex;
	flex-direction: column;
	text-align: left;
}
.header .info_utente_head .utente_loggato input {
	display: none;
}
.header .info_utente_head .utente_loggato label {
	padding-left: 30px;
	cursor: pointer;
}
.header .info_utente_head .utente_loggato label::before {
	content: "";
	background: url(../immagini/account.svg) no-repeat bottom center;
	position: absolute;
	left: 0;
	bottom: 6px;
	width: 20px;
	height: 21px;
}
.header .info_utente_head .utente_loggato.notifica label::after {
	content: "";
	position: absolute;
	bottom: 5px;
	left: 17px;
	width: 10px;
	height: 10px;
	background: #e54333;
	border-radius: 100%;
	box-shadow: 0 0 0 1px #333;
}

.header .info_utente_head .utente_loggato .nome_utente {
	font-size: 14px;
	color: #C1C1C1
}
.header .info_utente_head .utente_loggato .profilo {
	display: flex;
	justify-content: space-between;
}
.header .info_utente_head .utente_loggato .profilo::after {
	content: url(../immagini/dropdown-freccia.svg);
	width: 10px;
}

.header .info_utente_head .utente_loggato > div {
	position: absolute;
	top: 100%;
	right: -15px;
	margin-top: 0px;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.header .info_utente_head .utente_loggato > div > ul {
	text-align: left;
	list-style: none;
	padding: 0;
	margin: 0;
	transform: translateY(-100%);
	transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.header .info_utente_head .utente_loggato > div > ul::before {
	content: "";
	display: block;
	border: 10px transparent solid;
	border-top: none;
	border-bottom-color: #333;
	width: 0;
	margin: 0 10px 0 auto;
}
.header .info_utente_head .utente_loggato > div > ul li {
	background: #333;
	white-space: nowrap;
}
.header .info_utente_head .utente_loggato > div > ul > li a {
	display: block;
	padding: 5px 15px;
}
.header .info_utente_head .utente_loggato > div > ul > li:first-child a {
	padding-top: 10px;
}
.header .info_utente_head .utente_loggato > div > ul > li:last-child a {
	padding-bottom: 10px;
}
.header .info_utente_head .utente_loggato > div > ul > li a:hover {
	color: #e8622d;
}

.header .info_utente_head .utente_loggato input:checked + label + div {
	pointer-events:initial;
}
.header .info_utente_head .utente_loggato input:checked + label + div > ul {
	transform: none;
}


#main_menu,
.hamburger_menu {display: none;}

.main_menu {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Graduate;
	font-size: 15px;
}
.main_menu a:hover {
	background: #333333;
	color: #e8622d;
}
.main_menu > * {
	color: #fff;
	padding: 10px 10px;
}
.main_menu > .corsi {
	cursor: default;
	position: relative;
}
.main_menu > .corsi > div {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 0px;
	overflow: hidden;
	pointer-events: none;
}
.main_menu > .corsi > div > ul {
	text-align: left;
	list-style: none;
	padding: 0;
	margin: 0;
	transform: translateY(-100%);
	transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
	font-family: Nunito;
}
.main_menu > .corsi > div > ul li {
	background: rgba(0, 0, 0);
}
.main_menu > .corsi > div > ul > li a {
	display: block;
	padding: 5px 10px;
}
.main_menu > .corsi:hover > div {
	pointer-events:initial;
}
.main_menu > .corsi:hover > div > ul {
	transform: none;
}

.main_wrapper {
	flex-grow: 1;
	display: flex; 
	flex-direction: column;
	overflow: hidden;
}

.footer .loghi_finanziamenti {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	margin-top: 40px;
}
.footer .loghi_finanziamenti img {
	box-sizing: border-box;
	width: 225px;
}
.footer .loghi_footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 40px 0 20px;
}
.footer .loghi_footer .social a {
	padding: 5px;
}
.footer .loghi_footer .social img {
	height: 20px;
}

.footer .loghi_footer .logo_footer {
	width: 180px
}
.footer .indirizzo_footer {
	font-size: 13px;
	border-top: 1px solid #555;
	padding: 20px 0 40px;
	overflow: hidden;
}
.footer .indirizzo_footer > span {
	white-space: nowrap;
	margin-left: -6px;
	margin-right: 6px;
}
.footer .indirizzo_footer > span::before {
	content: " | ";
}
.footer .indirizzo_footer a {
	color: #e8622d;
}
.por_fesr {
	text-align: center;
	padding: 10px 0;
}
.por_fesr img {
	width: 320px
}

/* test per cms */
.wrapper_larghezza {
	width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.wrapper_larghezza .wrapper_larghezza {
	width: 100%; /* da auto, v. blocco insegnante*/
	box-sizing: border-box;
} 
h1, h2, h3, h4, h5 {
	margin: 0;
}

h1, .titolo1,
h2, .titolo2,
h3, .titolo3,
h4, .titolo4 {
	font-family: Graduate;
	text-align: center;
}

h1, .titolo1 {
	color: #fff;
	font-size: 48px;
	font-weight: 400;
	margin: 50px 0 20px;
}
h3 + h1, .titolo3 + .titolo1 {
	margin-top: 0;
}

h2, .titolo2 {
	color: #fff;
	font-size: 34px;
	font-weight: 300;
	margin: 20px 0 10px;
	position: relative;
	padding-top: 40px;
}
h2::before, .titolo2::before {
	content: url("../immagini/logo-mhl.svg");
	display: block;
	width: 24px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -12px;
}
h1 + h2, .titolo1 + .titolo2 {
	font-family: Nunito;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	margin: 20px 0;
	padding-top: 0;
}
h1 + h2::before, .titolo1 + .titolo2::before {
	content: none;
}

h3, .titolo3 {
	font-size: 24px;
	font-weight: 300;
	margin: 20px 0;
	color: #e8622d;
}
h4, .titolo4 {
	font-size: 22px;
	font-weight: 300;
	margin: 10px 0;
	color: #fff;
}

.wrapper .col_50 > div h2,
.wrapper .col_50 > div .titolo2,
.wrapper_insegnante > div > div h2,
.wrapper_insegnante > div > div .titolo2,
.wrapper .col_50 > div h3,
.wrapper .col_50 > div .titolo3,
.wrapper_insegnante > div > div h3,
.wrapper_insegnante > div > div .titolo3,
.wrapper .col_50 > div h4,
.wrapper .col_50 > div .titolo4,
.wrapper_insegnante > div > div h4,
.wrapper_insegnante > div > div .titolo4 {
	text-align: left;
}
.wrapper .col_50 > div h2::before,
.wrapper .col_50 > div .titolo2::before,
.wrapper_insegnante > div > div h2::before,
.wrapper_insegnante > div > div .titolo2::before {
	left: 0;
	margin-left: 0;
}

.bottone {
	appearance: none;
	align-self: center;
	display: inline-block;
	background: #e8622d;
	color: #fff;
	border: none;
	font-family: Graduate;
	font-size: inherit;
	padding: 13px 25px;
	border: 2px solid #e8622d;
	min-width: 170px;
	text-align: center;
	border-radius: 5px;
	box-shadow: -10px 10px 0 rgba(0, 0, 0, .2);
	cursor:pointer;
	margin: 10px 0;
	transition: 0.2s transform, 0.2s filter;
}
.bottone.secondario {
	color: #333333;
	background: #fff;
}
.bottone:hover {
	transform: scale(1.04);
}

.bottone_singolo {
	padding: 10px 0 40px;
	text-align: center;
}
.bottone[disabled] {
	opacity: 0.35;
	filter: grayscale(1);
	cursor: not-allowed;
}
.bottone[disabled]:hover {
	transform: none;
}

@keyframes icona_caricamento {
	0% {rotate: 0deg;}
	100% {rotate: 360deg;}
}
.bottone.caricamento {
	cursor:progress;
	opacity: 0.7;
	filter: none;
	transform: none;
}
.bottone.caricamento::before {
	content: "";
	border-radius: 100%;
	border: 2px solid currentColor;
	opacity: 0.7;
	width: 17px;
	height: 17px;
	position: absolute;
	margin-left: -23px;
	border-right-color: transparent;
	animation: icona_caricamento 1s linear infinite;
}

@keyframes shake {
    20%, 60% {transform: translateX(-4px);}
    40%, 80% {transform: translateX(4px);}
}
.bottone.errore {
    animation: shake 0.3s cubic-bezier(.36, .07, .19, .97) both;
}


.immagine_singola {
	display: block;
	margin: 0 auto 20px auto;
}
.immagine_singola.allinea_sx {
	margin-left: 0;
}
.immagine_singola.allinea_dx {
	margin-right: 0;
}

.testo {
	margin: 10px 0;
	text-align: center;
}
.wrapper .col_50 .testo {
	text-align: left;
}

.wrapper {
	padding: 70px 0;
	position: relative;
	background-repeat: no-repeat;
}
.wrapper .wrapper {padding: 30px 0;}
/* sfondi wrapper semplici */
.wrapper {background-color: #191919}
.wrapper .wrapper {background: transparent}
.wrapper.sfondo_scuro {background-color: #333333}
.wrapper.sfondo_chiaro {
	background-color: #ededed;
	color: #333;
}
.wrapper.sfondo_chiaro h1, .wrapper.sfondo_chiaro .titolo1{color: #333}
.wrapper.sfondo_chiaro h2, .wrapper.sfondo_chiaro .titolo2 {color: #333}

/* layer per immagine di sfondo */
.wrapper.layer::before{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: inherit;
}
.wrapper.layer::before { mask-image: linear-gradient(to right, #ffffffbb, #ffffffbb); } 
.wrapper.layer.layer_sfondo_sx::before { mask-image: linear-gradient(to left, #ffffffbb 0 calc(50% + 600px), transparent calc(50% + 800px) 100%); } 
.wrapper.layer.layer_sfondo_dx::before { mask-image: linear-gradient(to right, #ffffffbb 0 calc(50% + 600px), transparent calc(50% + 800px) 100%); } 

.wrapper.layer.layer_sfondo_sx.sfumatura_grigio_nero::before,
.wrapper.layer.layer_sfondo_dx.sfumatura_grigio_nero::before {
	background: linear-gradient(to bottom, #333333, #191919);
}
.wrapper.layer.layer_sfondo_sx.stacco_bianco_nero::before,
.wrapper.layer.layer_sfondo_dx.stacco_bianco_nero::before {
	background: none;
}

/* layer a pieno wrapper */
.wrapper.layer_arancione::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #e8622d; 
	opacity: 0.8;
	mask-image: none;
}
.wrapper.layer_arancione { color: #fff; }
.wrapper.layer_arancione h2::before,
.wrapper.layer_arancione .titolo2::before {
	filter: contrast(0) brightness(2)
}
.wrapper.layer_arancione .bottone {
	color: #333333;
	background: #fff;
	border-color: #fff;
}

/* 
taglio a v basso
.wrapper.taglio_v {
	padding-bottom: 75px;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='100'><path d='M0 0l10 0 0 99 -5 1 -5 -1z'/></svg>") no-repeat;
	mask-size: 100%;
	mask-position: 0 100%;
	z-index: 2;
}
.wrapper.taglio_v + .wrapper {
	padding-top: 10%;
	margin-top: -10%;
} */

/* taglio a v alto */
.wrapper.taglio_v {
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='100'><path d='M0 0l5 1 5 -1 0 100 -10 0z'/></svg>") no-repeat;
	mask-size: 100%;
	mask-position: 0 0;
	margin-top: -10%;
	padding-top: 10%;
}
.wrapper.taglio_v > div {
	padding-top: 20px;
}

.wrapper.sfumatura_alta::after,
.wrapper.sfumatura_bassa::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
.wrapper.sfumatura_alta::after {background-image: linear-gradient(to bottom, #191919 0 30px, transparent 300px)}
.wrapper.sfumatura_bassa::after {background-image: linear-gradient(to top, #191919 0 30px, transparent 300px)}
.wrapper.sfumatura_alta.sfumatura_bassa::after {
	background-image: linear-gradient(to bottom, #191919 0 80px, transparent 160px), 
		linear-gradient(to top, #191919 0 80px, transparent 160px)
}

.wrapper > * {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 60px;
	min-height: 40px;
}

.wrapper > * > * {
	z-index: 1;
	flex-direction: column;
	justify-content: stretch;
}
.wrapper > * > *:not(:first-child) {display: none;}
.wrapper > .monocolonna > *:first-child {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.wrapper > .monocolonna > * > img {
	align-self: center;
}
.wrapper > .col_50 > * { flex-basis: 50%; }
.wrapper > .col_50 > *:nth-child(2) {display: flex;}
.wrapper > .col_33 > * { flex-basis: 33.33%; }
.wrapper > .col_33 > * {
	display: flex;
	position: relative;
}
.wrapper > .col_33 > *::after {
	content: "";
	background: #777;
	position: absolute;
	right: -30px;
	top: 0;
	bottom: 0;
	width: 1px;
}
.wrapper > .col_33 > *:last-child:after,
.layer_arancione .wrapper > .col_33 > *:after {
	content: none;
}

.wrapper > .col_50 > * .elenco_spunte_riquadro {
	flex-grow: 1;
} 

/* HOMEPAGE */
.elenco_strumenti {
	position: relative;
	margin-top: 40px;
}
.wrapper .elenco_strumenti:last-child {
	margin-bottom: -70px
}
.elenco_strumenti::before {
	content: "";
	background: #e8622d;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 110px;;
}
.elenco_strumenti > ul {
	list-style-type: none;
	padding: 0 0 20px 0;
	margin: 0;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))
}
.elenco_strumenti > ul a {
	display: block;
	color: #fff;
	font-family: Graduate;
	position: relative;
	z-index: 1;
}
.elenco_strumenti > ul a .immagine_strumento_wrapper {
	position: relative;
	aspect-ratio: 100/117;
	max-width: 160px;
	margin: 0 auto 15px;
	filter: drop-shadow(0 0 10px #000);
}
.elenco_strumenti > ul a .immagine_strumento_wrapper::before {
	content: "";
	position: absolute;
	background: #e8622d;
	top: 0;
	bottom:0;
	left: 0;
	right: 0;
	z-index: 0;
	mask: url("../immagini/scudo-corsi.svg") no-repeat;
}
.elenco_strumenti > ul a .immagine_strumento_wrapper .background {
	position: absolute;
	z-index: 1;
	mask: url("../immagini/scudo-corsi.svg") no-repeat;
	top: 2px;
	left: 2px;
	right: 2px;
	bottom: 2px;
}
.elenco_strumenti > ul a .immagine_strumento_wrapper .background::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	background: linear-gradient(to top, #000 0%, #0000 60% );
}
.elenco_strumenti > ul a:hover .immagine_strumento_wrapper .background::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.1);
	z-index: 1;
}

.elenco_strumenti > ul a .immagine_strumento_wrapper .background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.elenco_strumenti > ul a .immagine_strumento_wrapper .icona {
	position: absolute;
	z-index: 1;
	bottom: 30px;
	left: 0;
	right: 0;
	text-align: center;
}
.elenco_strumenti a .immagine_strumento_wrapper .icona img {
	max-height: 60px;
}
.elenco_strumenti a .nome_strumento {
	font-size: 1.3em;
	text-align: center;
	position: relative;
}


.scudo_strumento {
	width: 150px;
	height: 100px;
	margin:auto;
	position: relative;
	z-index: 3;
	mask: url("../immagini/scudo-corsi.svg") 0px 100%/100% no-repeat;
	margin-bottom: -100px;
}
.scudo_strumento + * {
	padding-top: 100px;
}
.scudo_strumento::before,
.scudo_strumento::after {
	content: "";
	position: absolute;
}
.scudo_strumento::before {
	mask: url("../immagini/scudo-corsi.svg") 0px 100%/100% no-repeat;
	top: 0;
	bottom: 3px;
	left: 2px;
	right: 2px;
	background: rgba(0, 0, 0, 0.6);
	z-index: -1;
}
.scudo_strumento::after {
	mask: url("../immagini/scudo-corsi.svg") center calc(100% - 3px)/calc(100% - 4px) auto no-repeat, 
		linear-gradient(#000 0 0);
	mask-composite: exclude;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #e8622d
}
.scudo_strumento img {
	height: 60px;
	display: block;
	margin: 12px auto 0;
}

.separatore_immagine {
	overflow: hidden;
	max-height: 300px;
	position: relative;
}
.separatore_immagine img {
	width: 100%;
	height: auto;
	display: block;
}
.separatore_immagine::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, #191919 0, #0000 30%);
}

.wrapper_insegnante {
	padding: 40px 0;
	background: radial-gradient(ellipse 40% 90% at 75% center, #e8622d, #e8622d1f)
}
.wrapper_insegnante > div {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
}
.wrapper_insegnante > div > div {
	flex-basis: 1em;
	flex-shrink: 0;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.wrapper_insegnante .immagine_insegnante {
	position: relative;
	margin: -80px 0 -40px 0;
	min-height: 300px;
}
.wrapper_insegnante .immagine_insegnante img {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 100%;
}

.tipi_utente {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 40px;
	margin-top: 30px;
}
.tipi_utente > div {
	position: relative;
	flex-basis: 1em;
	flex-shrink: 0;
	flex-grow: 1;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
}
.tipi_utente > div h3 {
	background: #e8622d;
	color: #fff;
	font-size: 28px;
	margin: 0;
	padding: 15px 0;
	border-radius: 15px 15px 0 0;
}
.tipi_utente > div > .descrizione_utente {
	position: relative;
	background: #333333;
	border: 2px solid #e8622d;
	border-bottom: none;
	padding-bottom: 20px;
	z-index: 1;
	flex-grow: 1;
}
.tipi_utente > div > .descrizione_utente h4 {
	margin: 30px 0;
}
.tipi_utente > div.plus > .descrizione_utente h4 {
	font-size: 34px;
}
.tipi_utente > div > .descrizione_utente ul {
	margin: 0;
	list-style-type: none;
}
.tipi_utente > div > .descrizione_utente ul li {
	margin: 10px 0;
	display: flex;
	gap: 7px;
}
.tipi_utente > div > .descrizione_utente ul li::before {
	width: 20px;
	flex-shrink: 0;
	content: url(../immagini/check.svg);
}
.tipi_utente > div > .descrizione_utente ul li.no::before {
	content: url(../immagini/check_no.svg);
}

.tipi_utente > div > .wrapper_bottone {
	position: relative;
	display: block;
	background: #333333;
	mask: url("../immagini/scudo-corsi.svg") 0px 100%/100% no-repeat;
	aspect-ratio: 10/3;
	min-height: 130px;
	box-sizing: border-box;
	margin: 0 2px 2px;
	text-align: center;
	z-index: 1;
}
.tipi_utente > div::after {
	content: "";
	mask: url("../immagini/scudo-corsi.svg") 0px 100%/100% no-repeat;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: #e8622d;
	z-index: 0;
}
.tipi_utente_wrapper img {
	display: block;
	width: 100%;
	max-width: 768px;
	margin: -110px auto 0;
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.chi_siamo_wrapper {
	background: radial-gradient(ellipse 270px 200px at center 70%, #e8622da0, #e8622d00)
}
.chi_siamo_wrapper .wrapper {background-color: transparent;}
.chi_siamo_wrapper > .wrapper > div {
	text-align: left;
	position: relative;
}
.chi_siamo_wrapper > .wrapper > div::before,
.chi_siamo_wrapper > .wrapper > div::after {
	content: "";
	position: absolute;
	width: 100px;
	height: 80px;
	background-size: contain;
	background-repeat: no-repeat;
}
.chi_siamo_wrapper > .wrapper > div::before {
	background-image: url(../immagini/apice-sx.svg);
	top: -20px;
	left: -120px;
}
.chi_siamo_wrapper > .wrapper > div::after {
	background-image: url(../immagini/apice-dx.svg);
	bottom: -20px;
	right: -120px;
}
.chi_siamo_wrapper img {
	display: block;
	margin: auto;
	width: 100%;
	max-width: 550px;
}

.elenco_spunte_riquadro {
	padding: 20px;
	border-radius: 15px;
	background: #333333;
	color: #c1c1c1;
	border: 2px solid #e8622d;
	margin: 30px auto;
}
.elenco_spunte_riquadro ul {
	list-style: none;
	padding: 0;
	margin: 30px auto;
}
.elenco_spunte_riquadro ul > li {
	position: relative;
	padding-left: 30px;
	margin: 15px 0;
}
.elenco_spunte_riquadro ul > li::before,
.elenco_spunte_in_linea ul > li::before {
	content: url(../immagini/check.svg);
	position: absolute;
	top: 0;
	left: 0;
}
.elenco_spunte_riquadro.elenco_icona_x ul > li::before,
.elenco_spunte_in_linea.elenco_icona_x ul > li::before {
	content: url(../immagini/check_no.svg);
}
.elenco_spunte_riquadro ul > li::before{ width: 20px; }
.elenco_spunte_in_linea ul > li::before{ width: 25px; }

.elenco_spunte_in_linea ul {
	display: flex;
	list-style: none;
	padding: 0;
	gap: 30px;
	justify-content: center;
	margin: 30px auto;
	flex-wrap: wrap;
}
.elenco_spunte_in_linea ul > li {
	position: relative;
	padding-left: 35px;
	font-family: Graduate;
	font-size: 24px;
}

.elenco_faq {
	list-style: none;
	padding-left: 0;
}
.elenco_faq > li {
	border-bottom: 1px solid #333;
	padding: 15px 0;
}
.elenco_faq > li:first-child {
	border-top: 1px solid #333;
}
.elenco_faq > li input {
	display: none;
}
.elenco_faq > li .domanda {
	cursor: pointer;
	display: flex;
	gap: 10px;
	align-items: center;
	color: #fff;
}
.elenco_faq > li .domanda::before {
	content: "";
	background: url(../immagini/faq_apri.svg);
	width: 16px;
	height: 16px;
	flex-grow: 0;
	flex-shrink: 0;
}
.elenco_faq > li .risposta {
	display: none;
	padding: 10px 0 0 26px;
}
.elenco_faq > li input:checked ~ .domanda::before {
	background: url(../immagini/faq_chiudi.svg);
}
.elenco_faq > li input:checked ~ .domanda ~ .risposta {
	display: block;
}

.video_wrapper {
	position: relative;
	display: block;
	margin: auto;
	width: 100%;
	max-width: 720px;
}
.video_wrapper > div {
	position: relative;
	padding-top: 56.25%; /* 16:9 */
}
.video_wrapper > div::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: url(../immagini/play_invert.svg) no-repeat 50% 50%;
	background-size: 100px;
	cursor: pointer;
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.25s;
}
.video_wrapper > div.play::after {
	opacity: 0;
}
.video_wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.elenco_corsi {
	margin: 20px 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 39px;
}
.elenco_corsi li {
	flex-basis: calc(33% - 26px);
	border: 2px solid #e8622d;
	background: #fff;
	border-radius: 13px;
	overflow: hidden;
}
.elenco_corsi li .corso {
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: space-between;
}
.elenco_corsi li .immagine_corso {
	padding-top: 55%;
	background-size: cover;
	background-position: 50% 50%;
}
.elenco_corsi li .informazioni_corso {
	padding: 20px;
	color: #333;
	text-align: center;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.elenco_corsi li .titolo_corso {
	border-bottom: 1px solid #C1C1C1;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.elenco_corsi li .descrizione_corso {
	flex-grow: 1;
}
.elenco_corsi li .prezzo_wrapper {
	font-family: Graduate;
	color: #e8622d;
	font-size: 1.4em;
	margin: 10px 0;
}
.elenco_corsi li .prezzo_wrapper .prezzo_originale {
	color: #333;
	position: relative;
	display: inline-block;
	font-size: 0.8em;
}
.elenco_corsi li .prezzo_wrapper .prezzo_originale::after {
	content: "";
	width: 100%;
	background: #e8622d;
	height: 2px;
	position: absolute;
	bottom: 3px;
	left: 7px;
	transform: rotate(-18deg);
	transform-origin: bottom left;
}
.elenco_corsi li .bottone {
	width: 100%;
	box-shadow: none;
}

.percorso {
	padding: 0;
}
.percorso > li {
	counter-increment: passo;
	display: flex;
	gap: 50px;
	margin: 30px 0;
	justify-content: space-between;
	align-items: stretch;
}
.percorso > li:nth-child(even){
	flex-direction: row-reverse;
}
.percorso > li .numero_wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: -15px;
}
.percorso > li .numero {
	position: relative;
	width: 70px;
	height: 70px;
	background-repeat: space;
	background-size: 30px;
}

.percorso  li .numero::after {
	content: counter(passo);
	background: url(../immagini/scudo_numeri.svg) no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	font-family: 'Graduate';
	line-height: 65px;
	text-align: center;
	font-size: 35px;
	color: #fff;
}
.percorso  li .numero_wrapper .freccia_percorso {
	flex-grow: 1;
	background: url(../immagini/freccia_percorso.svg) 50% 50%;
	background-repeat: space;
	background-size: 30px;
	margin-top: 20px;
	width: 40px;
}
.percorso  li:last-child .numero_wrapper .freccia_percorso {display: none}

.percorso  li > .testo_percorso,
.percorso  li > .immagine_percorso {
	flex-basis: 40%;
	flex-grow: 0;
}
.percorso  li > .testo_percorso h4, 
.percorso  li > .testo_percorso .titolo4 {
	text-align: left;
}
.percorso li .immagine_percorso{
	max-height: 220px;
	border: 2px solid #e8622d;
	overflow: hidden;
}
.percorso li .immagine_percorso img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

/* pulsante acquista corso */
.acquista .prezzo {
	font-size: 32px;
	color: #fff;
	text-align: center;
}
.acquista .prezzo .prezzo_originale:not([hidden]) {
	color: #C1C1C1;
	position: relative;
	font-size: 0.8em;
	display: inline-block;
}
.acquista .prezzo .prezzo_originale::after {
	content: "";
	width: 100%;
	background: #e8622d;
	height: 2px;
	position: absolute;
	bottom: 5px;
	left: 7px;
	transform: rotate(-18deg);
	transform-origin: bottom left;
}

.acquista.semplice .testo_wrapper {display: none;}
.acquista.semplice .bottone_wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.acquista.fascia {
	background: #e8622d;
	padding: 10px 0;
}
.acquista.fascia .wrapper_larghezza {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.acquista.fascia .testo_wrapper {
	flex-basis: 60%;
	padding-right: 30px;
}
.acquista.fascia .testo_wrapper > * {
	text-align: left;
}
.acquista.fascia .bottone_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0px 30px;
}
.acquista.fascia .bottone_wrapper .bottone {
	background: #191919;
	border-color: #191919;
	color: #fff;
}
.acquista.fascia .prezzo {
	text-align: right;
}
.acquista.fascia .prezzo .prezzo_originale {
	color: #fff;
	font-size: 22px;
}
.acquista.fascia .prezzo .prezzo_originale::after {
	background: #333;
}

/* elenco lezioni */
.elenco_argomenti_corso {
	list-style: none;
	padding: 0;
	counter-reset: lezione;
}
.elenco_argomenti_corso > li {
	border-bottom: 1px solid #c1c1c175;
}
.elenco_argomenti_corso input {display: none;}
.elenco_argomenti_corso label {
	font-family: Graduate;
	font-size: 24px;
	color: #fff;
	padding: 20px 0;
	display: block;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.elenco_argomenti_corso label::after {
	content: "";
	background: url(../immagini/faq_apri.svg);
	width: 16px;
	height: 16px;
	flex-grow: 0;
	flex-shrink: 0;
}
.elenco_lezioni { 
	display: none;
	list-style: none;
	flex-direction: column;
	padding-left: 0;
}
.elenco_argomenti_corso input:checked + label::after {
	background: url(../immagini/faq_chiudi.svg);
}
.elenco_argomenti_corso input:checked ~ .elenco_lezioni {
	display: flex;
} 
.elenco_lezioni li {
	counter-increment: lezione;
	display: flex;
	border-top: 1px solid #c1c1c175;
	padding: 10px 0;
	gap: 0 15px;
}
.elenco_lezioni li a {cursor: default;}
.elenco_lezioni li.gratuita a {cursor: pointer;}
.elenco_lezioni li > * {
	flex-shrink: 0;
	flex-grow: 0;
}
.elenco_lezioni li::before {
	content: counter(lezione);
	align-self: center;
}
.elenco_lezioni li .video_lezione {
	flex-basis: 10%;
	position: relative;
	align-self: flex-start;
	min-width: 100px;
}
.elenco_lezioni li .video_lezione img {
	display: block;
	max-width: 100%;
}
.elenco_lezioni li .video_lezione::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}
.elenco_lezioni li .video_lezione::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url(../immagini/lucchetto.svg) no-repeat 50% 50%;
	background-size: 40px;
}
.elenco_lezioni li .testo_lezione {
	flex-grow: 1;
	flex-shrink: 1;
}
.elenco_lezioni li .testo_lezione .titolo_lezione {
	color: #fff;
	margin-bottom: 5px;
}
.elenco_lezioni li .durata_lezione {
	align-self: center;
	color: #fff;
}

.elenco_lezioni li.gratuita::before,
.elenco_lezioni li.gratuita .testo_lezione .titolo_lezione {
	color: #e8622d
}
.elenco_lezioni li.gratuita .video_lezione::after {
	background-image: url(../immagini/play.svg);
}

@keyframes scroll_elenco_loghi {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-100% - 50px))}
}
.elenco_loghi {
	overflow: hidden;
	display: flex;
	gap: 50px;
}

.elenco_loghi > ul {
	flex-basis: 100%;
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 50px;
}
.elenco_loghi > ul:nth-child(2){display: none;}

.elenco_loghi.anima {
	mask-image: linear-gradient(to right, transparent, black 30px calc(100% - 30px), transparent 100%) 
}
.elenco_loghi.anima > ul:nth-child(2){display: flex;}
.elenco_loghi.anima > ul {
	animation: scroll_elenco_loghi 25s linear infinite;
}
.elenco_loghi img {
	display: block;
	width: auto;
	max-height: 60px;
}

/* elenco insegnanti*/
.elenco_insegnanti {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0;
	list-style: none;
	gap: 40px 80px;
	max-width: 800px;
	margin: 30px auto;
}
.elenco_insegnanti li {
	flex-basis: 200px;
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.elenco_insegnanti li .immagine {
	position: relative;
	width: 200px;
	height: 235px;
	mask: url("../immagini/scudo-corsi.svg") no-repeat;
}
.elenco_insegnanti li .immagine::before {
	content: "";
	position: absolute;
	background: #e8622d;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.elenco_insegnanti li .immagine .background {
	position: absolute;
	top: 2px;
	left: 2px;
	right: 2px;
	bottom: 2px;
	background-size: cover;
	background-position: 50% 50%;
	mask: url("../immagini/scudo-corsi.svg") no-repeat;
}
.elenco_insegnanti li .immagine .background::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, #000 0%, #0000 60% );
}
.elenco_insegnanti li .immagine .icona {
	position: absolute;
	z-index: 1;
	bottom: 30px;
	left: 0;
	right: 0;
	text-align: center;
}
.elenco_insegnanti li .immagine img {
	max-height: 60px;
}

.elenco_insegnanti li .nome_strumento {
	text-align: center;
	color: #fff;
}
.elenco_insegnanti li .nome_insegnante {
	text-align: center;
	font-family: Graduate;
	color: #e8622d;
}


/* maschera e popup */
.maschera {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	transition: opacity 0.3s;
	opacity: 0;
	z-index: 99;
	pointer-events: none;
}
body.maschera_attiva {
	overflow: hidden;
}
body.maschera_attiva .maschera {
	opacity: 1;
	pointer-events: auto;
}
.popup { display: none; }
.maschera .popup {
	display: block;
	background: #fff;
	max-width: 800px;
	position: relative;
	padding: 50px 30px 30px;
	max-height: 100%;
	box-sizing: border-box;
	overflow: auto;
}
.maschera .popup > a {
	position: absolute;
	top: 5px;
	right: 5px;
	cursor: pointer;
	background: url(../immagini/icona-chiudi.svg) 50% 50% no-repeat;
	background-size: 20px;
	width: 0;
	height: 0;
	padding: 18px;
}
.maschera .popup > div {
	display: flex;
	flex-direction: column;
}
.popup,
.popup h2,
.popup h4 {
	color: #333333
}
.popup h2,
.popup h3,
.popup h4,
.popup h5 {
	margin: 0
}
.popup h2 {padding-top: 10px;}
.popup h2::before {content: none}

.popup .bottone {
	box-shadow: none;
	margin: 0;
}

.login_wrapper_popup {
	display: flex;
	gap: 30px;
}
.login_wrapper_popup > .login {
	width: 60%;
	box-sizing: border-box;
	padding-right: 20px;
	border-right: 1px solid #c1c1c1;
	display: flex;
	flex-direction: row;
}
.login_wrapper_popup > .login > div {
	flex-grow: 1;
	white-space: nowrap;
} 
.login_wrapper_popup > .registrazione {
	flex-basis: 40%;
}
.login_wrapper_popup > .registrazione,
.login_wrapper_popup > .login > div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 15px;
}

/* login */
.login_wrapper_popup > .login > div > div {
	width: 100%;
	position: relative;
}
.login_wrapper_popup > .login .link_recovery {
	color: #e8622d;
	z-index: 1;
	cursor: pointer;
}
.login_wrapper_popup .wrapper_pulsante {
	flex-grow: 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 10px;
}
.login_wrapper_popup .wrapper_pulsante .bottone {
	align-self: flex-end
}

.login_wrapper_popup > .login > div {
	flex-basis: 100%;
	transition: opacity 0.5s;
} 
#login_tab {display: none;}
#login_tab:checked + .form_login {flex-basis: 0; opacity: 0; overflow: hidden;}
#login_tab:not(:checked) + .form_login + .form_recupero {flex-basis: 0; opacity: 0;overflow: hidden;}

/* registrazione */
.attesa_2fa {
	text-align: center;
}
.attesa_2fa .caricamento {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	padding: 20px 0 30px;
}
.attesa_2fa .caricamento::before {
	content: "";
	border-radius: 100%;
	border: 2px solid #e8622d;
	opacity: 0.7;
	width: 20px;
	height: 20px;
	border-right-color: transparent;
	animation: icona_caricamento 2s linear infinite;
}
.conferma_2fa_avvenuta {
	display: none;
	text-align: center;
}


/* popup upgrade */
.popup_upgrade_plus p {
	text-align: center;
	margin: 30px 0;
}
.popup_upgrade_plus .tabella_confronto {
	display: flex;
	gap: 30px;
}
.popup_upgrade_plus .tabella_confronto .tipo_utente {
	font-family: Graduate;
	background: #333333;
	color: #fff;
	padding: 10px 20px;
}
.popup_upgrade_plus .tabella_confronto ul {
	list-style: none;
	font-size: 0.9em;
	padding-left: 0;
}
.popup_upgrade_plus .tabella_confronto ul li {
	padding-left: 22px;
	margin: 5px 0;
	position: relative;
}
.popup_upgrade_plus .tabella_confronto ul li::before {
	content: url(../immagini/check.svg);
	position: absolute;
	top: 0;
	left: 0;
	width: 14px;
}
.popup_upgrade_plus .tabella_confronto ul li.no {
	color: #c1c1c1;
}
.popup_upgrade_plus .tabella_confronto ul li.no::before {
	content: url(../immagini/check_no.svg);
}
.popup_upgrade_plus .prezzo {
	font-family: Graduate;
	color: #e8622d;
	font-size: 1.6em;
	margin: 10px 0;
}

/* popup acquisto */
.riepilogo_acquisto table {
	margin: 20px 0 10px;
	border-collapse: collapse;
}
.riepilogo_acquisto table td {
	padding: 5px 5px 5px 0;
	border-bottom: 1px solid #c1c1c1;
	border-top: 1px solid #c1c1c1;
}
.riepilogo_acquisto table td:nth-child(2) {
	padding-right: 20px;
}
.riepilogo_acquisto table td:last-child {
	text-align: right;
	padding-left: 20px;
	padding-right: 10px;
	background: #f2f2f2;
}
.riepilogo_acquisto table td.caricamento:last-child {
	opacity: 0.6;
}
.riepilogo_acquisto table td.caricamento:last-child::before {
	content: "";
	border-radius: 100%;
	border: 2px solid currentColor;
	opacity: 0.7;
	width: 17px;
	height: 17px;
	position: absolute;
	margin-left: -23px;
	border-right-color: transparent;
	animation: icona_caricamento 1s linear infinite;

}
.riepilogo_acquisto table tfoot td {
	font-weight: bold;
	
}
.riepilogo_acquisto table tfoot td:last-child {
	color: #e8622d
}

.riepilogo_acquisto .codice_sconto p {
	color: #e8622d
}
.riepilogo_acquisto .codice_sconto > div {
	display: flex;
	gap: 10px
}
.riepilogo_acquisto .codice_sconto input {
	text-transform: uppercase;
}
.riepilogo_acquisto .codice_sconto .bottone {
	padding: 8px;
	min-width: 0;
	flex-shrink: 0;
	position: relative;
}
.riepilogo_acquisto .codice_sconto .bottone.caricamento::before {
	left: 50%;
	margin-left: -9px;
}

.riepilogo_acquisto .scelta_metodo_pagamento {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	margin: 0;
}
.riepilogo_acquisto .scelta_metodo_pagamento label {
	cursor: pointer;
	border: 1px solid #ccc;
	height: 44px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 10px;
}
.riepilogo_acquisto .scelta_metodo_pagamento + .bottone {
	margin-top: 30px;
}

/* popup lezione gratuita */
.popup_lezione_gratuita .preview_lezione {
	display: block;
	margin: 20px auto;
	border: 2px solid #e8622d;
	max-width: 60%;
}

/* elementi form */
.elenco_campi_compilazione > label {
	display: block;
	padding: 10px 0;
}
.elenco_campi_compilazione > .wrapper_submit {
	display: flex; 
	justify-content: center; 
	margin-top: 20px; 
	gap: 20px;
	flex-wrap: wrap;
	flex-direction: row-reverse;
}
.elenco_campi_compilazione > .wrapper_submit.dx {
	justify-content: flex-start;
}
.elenco_campi_compilazione > .wrapper_submit .bottone {
	margin: 0;
}

input[type="text"], input[type="search"], input[type="email"], input[type="password"],
textarea, select {
	font: inherit;
	padding: 5px;
	background: #fff;
	border: 1px solid #ccc;
	color: #333;
	height: 40px;
	box-sizing: border-box;
	width: 100%;
}
textarea {height: auto;}

.select2-container--default {
	display: block;
	width: auto !important;
}
.select2-container--default .select2-selection--single {
	border: 1px solid #ccc;
	border-radius: 0;
	padding: 5px;
	height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: auto;
	bottom: 1px;
}
.select2-results__option--selectable {
	color: #333
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background: #e8622d
}

input[type="checkbox"] {
	appearance: none;
	width: 24px;
	height: 24px;
	border: 1px solid #aaa;
	background: #fff;
	vertical-align: middle !important;
	margin: 0 0 0.25em 0;
	position: relative;
	transition: background 0.2s;
}
input[type="checkbox"]:checked {
	background: #e8622d;
	border-color: #e8622d
}
input[type="checkbox"]:checked::after {
	content: "";
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzOCIgaGVpZ2h0PSIyOCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE0IDI4bDIzLTIzLTUtNS0xOCAxOC05LTktNSA1eiIvPjwvc3ZnPg==) no-repeat center center;
	background-size: 84%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
#iubenda-cs-banner input[type="checkbox"]:checked::after,
#iubenda-iframe input[type="checkbox"]:checked::after {content: none}

input[type="radio"] {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 1px solid #aaa;
	background: #fff;
	vertical-align: middle !important;
	margin: 0 0 0.25em 0;
	position: relative;
	border-radius: 100%;
}
input[type="radio"]::after {
	content: "";
	border-radius: 100%;
	position: absolute;
	top: 3px;
	left: 3px;
	bottom: 3px;
	right: 3px;
	transition: background 0.2s
}
input[type="radio"]:checked {
	border-color: #e8622d
}
input[type="radio"]:checked::after {
	background: #e8622d;
}

input.errore,
select.errore,
select.errore + .select2-container--default .select2-selection--single {
	border-color: #ff0000;
	background-color: #ffe4e4
}

@media screen and (max-width: 1279px) {
	body::before {
		content: "1279";
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
		pointer-events: none;
		opacity: 0;
	}
	.wrapper_larghezza {
		width: 980px;
	}
}
@media screen and (max-width: 1023px) {
	body::before { content: "1023";}
	
	.header.ridotta .logo_wrapper {
		justify-content: space-between;
	}
	.header.ridotta .logo_wrapper::after {
		content: none
	}
	.header .logo_wrapper > * {
		flex-basis: auto;
	}
	
	h1 > *,
	h2 > *,
	h3 > *,
	h4 > *,
	h5 > * {display: inline;}
	
	h1 > *::before,
	h2 > *::before,
	h3 > *::before,
	h4 > *::before,
	h5 > *::before {content: " ";}
	
	.wrapper_larghezza {
		width: 720px;
	}
	
	.elenco_strumenti > ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 40px;
	}
	.elenco_strumenti > ul > li {
		width: 150px
	}
	
	.elenco_corsi {
		gap: 20px;
	}
	.elenco_corsi li {
		flex-basis: calc(50% - 14px);
	}
}
@media screen and (max-width: 767px) {
	body::before { content: "767";}
	
	.wrapper {
		padding: 40px 0;
	}
	
	.wrapper_larghezza {
		width: 620px;
	}
	
	.header .wrapper_larghezza {
		width: auto;
		margin-left: 20px !important;
		margin-right: 20px !important;
	}
	.header .logo_wrapper::before {
		content: none;
	}
	.header .logo_wrapper > * {
		flex-basis: auto;
		align-items: flex-start;
	}
	.header .logo_wrapper .logo {
		margin-left: 40px;
	}
	.header .logo_wrapper img {
		height: 40px;
	}
	
	.main_menu {
		position: fixed;
		top: 0;
		bottom: 0;
		flex-direction: column;
		align-items: flex-start;
		background: #1d1d1d;
		justify-content: flex-start;
		padding: 60px 20px;
		box-sizing: border-box;
		width: 230px;
		left: -230px;
		transition: left 0.3s;
	}
	.hamburger_menu {
		position: fixed;
		display: block;
		top: 10px;
		left: 10px;
		width: 36px;
		height: 36px;
		box-sizing: border-box;
		z-index: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 7px 5px;
	}
	.hamburger_menu::before, 
	.hamburger_menu::after {
		content: "";
		transition: all  0.3s;
	}
	.hamburger_menu span {
		transition: opacity  0.3s;
	}
	.hamburger_menu::before, 
	.hamburger_menu::after,
	.hamburger_menu span {
		background: #e8622d;
		height: 3px;
		border-radius: 3px;
		transform-origin: center left;
	}
	#main_menu:checked + .hamburger_menu + .main_menu {
		left: 0;
	}
	#main_menu:checked + .hamburger_menu span {opacity: 0;}
	#main_menu:checked + .hamburger_menu::before,
	#main_menu:checked + .hamburger_menu::after {
		translate: 4px;
		scale: 1.06;
	}
	#main_menu:checked + .hamburger_menu::before {
		rotate: 45deg;
	}
	#main_menu:checked + .hamburger_menu::after {
		rotate: -45deg;
	}
	
	.main_menu > .corsi {
		text-align: left;
	}
	.main_menu > .corsi > div {
		position: static;
		pointer-events: initial;
	}
	.main_menu > .corsi > div > ul {
		transform: none;
	}
	.main_menu > .corsi > div > ul li {
		background: transparent
	}
	.main_menu > .corsi > div > ul li a {
		padding: 7px 30px;
	}
	
	.wrapper_insegnante {
		background: radial-gradient(ellipse 50% 50% at center bottom, #e8622d, #e8622d1f);
	}
	.wrapper_insegnante > div {
		flex-direction: column;
	}
	.wrapper_insegnante .immagine_insegnante {
		margin-top: 0;
	}
	.wrapper_insegnante .immagine_insegnante img {
		position: static;
		margin: auto
	}
	
	.tipi_utente {
		flex-direction: column;
	}
	
	.video_wrapper {
		width: auto;
		margin: auto 20px;
	}
	
	.scudo_strumento {
		width: 75px;
		height: 50px;
		margin-bottom: -50px;
	}
	.scudo_strumento img {
		height: 32px;
		margin-top: 8px;
	}
	
	.login_wrapper_popup {
		flex-direction: column;
	}
	.login_wrapper_popup > .login {
		width: auto
	}
}

@media screen and (max-width: 639px) {
	body::before { content: "639";}
	
	.wrapper_larghezza {
		width: auto;
		margin-left: 20px !important;
		margin-right: 20px !important;
	}
	
	.wrapper_larghezza.col_50,
	.wrapper_larghezza.col_33 {
		flex-direction: column;
		gap: 30px
	}
	.wrapper_larghezza .wrapper_larghezza {
		width: auto;
	}

	.tipi_utente_wrapper img {
		margin-top: -50px;
	}
	
	.chi_siamo_wrapper {
		background: radial-gradient(ellipse 60% 440px at center 90%, #e8622da0, #e8622d00)
	}

	.percorso > li,
	.percorso > li:nth-child(even)  {
		flex-direction: column;
		gap: 20px;
		position: relative;
		padding-bottom: 90px;
		margin-bottom: 0;
	}
	.percorso > li .immagine_percorso {
		order: 0;
	}
	.percorso > li .numero_wrapper {
		order: 1;
	}
	.percorso > li .freccia_percorso {
		position: absolute;
		bottom: 0;
		left: 50%;
		margin-left: -20px;
		right: 0;
		height: 90px;
	}
	.percorso > li .testo_percorso {
		order: 2;
	}
	.percorso  li > .testo_percorso h4, 
	.percorso  li > .testo_percorso .titolo4 {
		text-align: center;
	}
	.percorso li:last-child {
		padding-bottom: 30px;
	}
	
	.acquista.fascia .wrapper_larghezza {
		flex-direction: column;
		justify-content: center;
	}
	.acquista.fascia .testo_wrapper {
		flex-basis: 100%;
		padding: 0;
	}
	.acquista.fascia .testo_wrapper > * {
		text-align: center;
	}
	.acquista.fascia .bottone_wrapper {
		flex-wrap: wrap
	}

}
@media screen and (max-width: 579px) {
	body::before { content: "579";}
	
	.header.ridotta .bottone {
		padding: 7px 14px;
		min-width: 0;
		font-size: 16px;
	}
	
	.elenco_corsi {
		gap: 40px;
	}
	.elenco_corsi li {
		flex-basis: 100%;
	}
	
	.elenco_lezioni li {
		flex-direction: column;
		gap: 10px;
		padding: 20px 0;
	}
	.elenco_lezioni li::before {content: none}
	.elenco_lezioni li .video_lezione {
		align-self: center;
	}
	.elenco_lezioni li .testo_lezione .titolo_lezione::before {
		content: counter(lezione) ".";
	}
	.elenco_lezioni li .durata_lezione {
		display: none;
	}
	
	.popup_upgrade_plus .tabella_confronto {
		flex-direction: column;
	}
	.popup_upgrade_plus .tabella_confronto > div {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.popup_upgrade_plus .tabella_confronto .tipo_utente {
		align-self: stretch;
	}
}

@media screen and (max-width: 379px) {
	body::before { content: "379";}
	
	.header .logo_wrapper .info_utente_head {
		display: flex
	}
	.header .logo_wrapper .info_utente_head > div {
		display: flex;
		align-items: center;
	}
	.header .info_utente_head .utente_loggato label {
		padding: 10px;
		margin-right: -10px;
	}
	.header .info_utente_head .utente_loggato label::before {
		position: static;
		display: block;
	}
	.header .info_utente_head .utente_loggato > div {
		right: -10px;
	}
		
	.header .info_utente_head .utente_loggato .nome_utente,
	.header .info_utente_head .utente_loggato .profilo {
		display: none;
	}
	
	.elenco_strumenti > ul {
		gap: 40px;
	}
	.elenco_strumenti > ul > li {
		width: 40%
	}
	.elenco_strumenti a .nome_strumento {
		font-size: 1.1em;
	}
	.elenco_strumenti a .immagine_strumento_wrapper .icona img {
		max-height: 50px;
	}
}
