html {
	position: relative;
	min-height: 100%;
}
.footer {
	bottom: 0;
	width: 100%;
	color: #212121;
}

body{font-family: "Jost", serif;}
options{font-family: "Jost", serif;}
.header{
	background-color: #FFF;
}
.footer, .notizia .card{
	background-color: #E7EDf0;
}
.min-footer{
	background-color: #C6C6C6;
}
.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover{
	background-color: #FFF !important;
}
.pagina.layout1 .paragrafo:nth-child(2n + 1) {
	background-color: #e7edf0;
}
.btn-primary, .page-item.active .page-link {
	background-color: #003D7C;
	border-color: #003D7C;
}
.btn-primary:hover {
	background-color: #EF464E;
	border-color: #EF464E;
}
.banner-image .content, .banner-image h2, .banner .carousel-caption1{
	color:#FFF;
}
body{color:#2C2C2C;}
a{color:#000;}
p a{text-decoration:underline dotted;}
.footer a{color:#003D7C;}
a:hover{color:#003D7C;}
.navbar a:hover, .navbar a.active, .footer .title, .min-footer a:hover, .min-footer a.active, h2, .page-link{
	color:#003D7C;
}
.parsley-errors-list, .text-danger {
	color:#EF464E;
}
.navbar a{
	color: #424242;
}
.min-footer, .min-footer a{
	color: #212121;
}
.dropzone {
	border: 2px dashed #003D7C;
}
.text-muted {
    color: #434343 !important;
}


a:hover, button:hover{
	transition: 0.5s;
}

.btn{border-radius: 0.1rem;}

.navbar{
	padding-right: 0;
	padding-top: 2rem;
	padding-bottom: 1rem;
	align-items:flex-end;
}
.navbar-collapse{margin-bottom: -12px;}

.navbar-header{
	display: none;
	position: absolute;
	right: 15px;
	top: 2rem;
	z-index: 10;
}
.navbar-header a {
	font-weight: bold;
	text-transform: uppercase;
	margin-left:2rem;
}
.navbar-header a img{width:100px;}
.logo{width:130px;}
.navbar-nav > li > a{
	font-weight: 600;
	text-transform: uppercase;
	word-spacing: -2px;
}
.navbar-nav2 > .nav-item:last-child > a{padding-right:0;}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.user{
	position: absolute;
	top:88px;
	border-bottom: 1px solid #AAA;
}
.user::after {
	content: "";
	display: inline-block;
	border-top: .5em solid #AAA;
	border-right: .5em solid transparent;
	border-bottom: 0;
	border-left: .5em solid transparent;
	position: absolute;
	top: 24px;
	right: 15px;
}
  
@media (min-width: 768px) {
	.navbar-expand-md .navbar-nav .nav-link {
		padding-right: .7rem;
		padding-left: .7rem;
	}
}
.dropdown-menu{
	border-radius:0;
	border:0;
}

.banner-image{
	background-position: 50% 50% ;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 400px;
	height: 100%;
	width: 100%;
}
.col-md-12 .banner-image{background-attachment: fixed;}

main{margin-top: 90px;}
@media (min-width: 992px) {
	.header{height: 170px;}
	/* Header 170px - margine di main 125px + 30px di respiro; script.js lo ricalcola sull'header reale */
	.nobanner{height: 75px;}
}
.footer{padding-top: 3rem;}
/* Pulsante WhatsApp sempre visibile in basso a destra, sotto l'header fisso */
.whatsapp{
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 1020;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: #25D366;
	color: #FFF;
	font-size: 32px;
	line-height: 56px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.whatsapp:hover, .whatsapp:focus{
	background-color: #128C7E;
	color: #FFF;
}
.footer .title{
	font-size:16px;
	font-weight: bold;
}
.footer .subtitle{
	margin-top:30px;
	padding-top:30px;
	position: relative;
}
.footer ul{padding-left:0;}
.footer li{
	list-style: none;
	margin-bottom: 15px;
}
.min-footer{
	bottom: 1px;
	height:60px;
	font-size:0.8rem;
	line-height:1.2rem;
	margin-top:1rem;
	width: 100%;
}
.min-footer .social a{
	font-size:1.2rem;
	line-height:1.2rem;
	margin-left:0.8rem;
}
.footer form, .footer input, .footer textarea {font-size: 0.8rem;}
.cert4{
	padding:0 2rem;
}
.text{
	padding-bottom: 3rem;
	padding-top: 3rem;
}
.text-big p{
	font-size:1.3rem;
	line-height: 1.8rem;
}
.pagtip5 .container2{
	padding-left: 30px;
	padding-right: 15px;
}
.pagtip6 .container2{
	padding-left: 15px;
	padding-right: 30px;
}
.paragrafo{width: 100%;}
.paragrafo h2{margin-bottom: 1rem;}

h1, .h1{
	font-weight: bold;
	font-size: 2.2rem;
	line-height: 2.4rem;
	text-transform: uppercase;
}
.subtitle{
	font-size: 1.2rem;
	line-height: 1.2rem;
}
.banner .carousel-item{
	height: 150px;
	position: relative;
	width: 100%;
}
.banner .carousel-item video, .banner .carousel-item img{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);   
	width:100%;                        
}
.banner-image .container{
	height: 100%;
}
.banner-image .content{
	/* text-shadow: 1px 1px 2px #000; */
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.banner .carousel-item::after, .banner-image .container::before{
	background-color: rgba(0, 0, 0, 0.7);
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left:0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.banner .carousel-caption1 {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 10;
}
.banner .carousel-caption1{
	text-align: left;
	/*	text-shadow: 1px 1px 2px #000;*/
}
.banner .carousel-caption1 .h1, .banner .carousel-caption1 .subtitle{text-transform: uppercase;}
.hidden{
	display: none;
	visibility: hidden;
}
.accordion .card-header button{font-weight: bold;}
.accordion .card-header{
	transition: background-color 0.5s ease;
}
.accordion .card-header .btn::before{
	content: '-';
	font-weight: bold;
	position: absolute;
	right: 1rem;
	top:1rem;
}
.accordion .card-header .btn.collapsed::before{
	content: '+';
}
.accordion .card{
	border:0;
	margin-bottom: 1rem;
}
.accordion .card .btn{text-align: left;}
.parsley-errors-list {
	font-size: 0.9em;
	line-height: 0.9em;
	list-style-type: none;
	margin-top: 5px;
	padding-left: 0;
}
.dropzone {
	border-radius: 5px;
	background: #FAFAFA;
}
.dropzone.mini{
	min-height:auto;
	padding:5px;
}
.dropzone .dz-message {margin: 0.5em 0;}
.dropzone.mini .dz-message{margin:0;}
.dropzone.mini .dz-message .dz-button{font-size:9px;}

@media (max-width: 767px) {
	.gallery .carousel-inner .carousel-item > div {display: none;}
	.gallery .carousel-inner .carousel-item > div:first-child {display: block;}
}
.gallery .carousel-inner .carousel-item.active, .gallery .carousel-inner .carousel-item-next, .gallery .carousel-inner .carousel-item-prev {display: flex;}
.gallery .carousel-control-next, .gallery .carousel-control-prev{
	width: 10%;
	justify-content:right;
}
.gallery .carousel-control-prev-icon{background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23003D7C' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");}
.carousel-control-next-icon {background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23003D7C' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");}
.gallery .carousel-control-prev{
	justify-content:left;
}
.carousel-control-next .sr-only, .carousel-control-prev .sr-only{width: 50px;}

/* Staff: griglia a 5 colonne (come timerec.it/#chi_siamo), fascia scura col nome che al passaggio del mouse copre la foto */
.staff-section{padding-bottom: 2rem;}
.staff-grid{display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin: 0;}
@media (max-width: 991px) {.staff-grid{grid-template-columns: repeat(3, 1fr);}}
@media (max-width: 575px) {.staff-grid{grid-template-columns: repeat(2, 1fr); gap: 8px;}}
.staff{position: relative; overflow: hidden; margin: 0;}
.staff img{display: block; width: 100%;}
.staff .caption{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	max-height: 0%;
	min-height: 80px;
	padding: 12px 15px;
	overflow: hidden;
	color: #FFF;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.7);
	transition: all 0.4s ease-out 0.1s;
}
.staff:hover .caption, .staff:active .caption, .staff:focus .caption{
	max-height: 100%;
	min-height: 100%;
	padding-top: 67%;
	background-color: #003D7C;
}
.staff .nome{display: block; font-size: 1.15rem; line-height: 1.2;}
.staff .role{display: block; font-size: .8rem; line-height: 1.2; margin-top: 0.1rem;}
.staff .mail{display: block; font-size: .8rem; margin-top: 2rem; color: #FFF; word-break: break-all; opacity: 0; transition: opacity 0.3s ease-out;}
.staff .mail:hover, .staff .mail:focus{color: #FFF; text-decoration: underline;}
.staff:hover .mail, .staff:active .mail, .staff:focus .mail, .staff:focus-within .mail{opacity: 1;}
.page-link{border:0;}
.notizia h2, .notizia h3, .notizia h5{
	font-weight: bold;
	margin-bottom: 0.3rem;
	margin-top: 0.5rem;
	font-size: 1.25rem;
}
.notizia p{line-height: 1rem;}
.notizia .card{border:0;}

/* Elenco corsi: filtri a sinistra, tipologia in maiuscolo, vista card o elenco */
.corso-tipologia{
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	color: #6c757d;
}
.corsi-filtri-titolo{
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}
.corsi-filtri .list-group-item{
	padding: 0.5rem 0.75rem;
	text-align: left;
}
.corsi-filtri .list-group-item:hover, .corsi-filtri .list-group-item:focus{color: #003D7C;}
.corsi-filtri .list-group-item.active{
	background-color: #003D7C;
	border-color: #003D7C;
	color: #FFF;
}
.corsi-filtri .corsi-reset{color: #003D7C;}
.corsi-vista .btn-outline-primary{
	color: #003D7C;
	border-color: #003D7C;
}
/* Stessa specificità delle regole di Bootstrap per lo stato attivo, che altrimenti lo colorano di blu chiaro */
.corsi-vista .btn-outline-primary:hover,
.corsi-vista .btn-outline-primary.active,
.corsi-vista .btn-outline-primary:not(:disabled):not(.disabled).active,
.corsi-vista .btn-outline-primary:not(:disabled):not(.disabled):active{
	background-color: #003D7C;
	border-color: #003D7C;
	color: #FFF;
}
.corsi-vista .btn-outline-primary:focus,
.corsi-vista .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.corsi-vista .btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.corsi-filtri .list-group-item:focus{box-shadow: 0 0 0 0.2rem rgba(0, 61, 124, 0.25);}
.corsi-lista.vista-elenco > .col{
	flex: 0 0 100%;
	max-width: 100%;
	margin-bottom: 0.75rem !important;
}
.corsi-lista.vista-elenco .card{
	flex-direction: row;
	align-items: center;
}
.corsi-lista.vista-elenco .card-img-top{
	width: 160px;
	height: 110px;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: calc(.25rem - 1px) 0 0 calc(.25rem - 1px);
}
/* Testi nella prima colonna, pulsante centrato a destra (resta stretched-link: tutta la riga è cliccabile) */
.corsi-lista.vista-elenco .card-body{
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: 1rem;
	align-items: center;
	padding: 0.75rem 1rem;
}
.corsi-lista.vista-elenco .card-body > :not(.btn){grid-column: 1;}
.corsi-lista.vista-elenco .card-title{margin-top: 0;}
.corsi-lista.vista-elenco .card-text{margin-bottom: 0;}
.corsi-lista.vista-elenco .card-body > .btn{
	grid-column: 2;
	grid-row: 1 / span 3;
}
@media (max-width: 575.98px){
	.corsi-lista.vista-elenco .card-img-top{width: 90px; height: 90px;}
	.corsi-lista.vista-elenco .card-body{grid-template-columns: 1fr;}
	.corsi-lista.vista-elenco .card-body > .btn{grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.5rem;}
}

.reveal {
	position: relative;
	opacity: 0;
	transition: 0.5s;
}
.reveal.active {opacity: 1;}
.active.fade-bottom {animation: fade-bottom 0.5s ease-in;}
.active.fade-top {animation: fade-top 0.5s ease-in;}
.active.fade-left {animation: fade-left 0.5s ease-in;}
.active.fade-right {animation: fade-right 0.5s ease-in;}
@keyframes fade-center {
	0% {opacity: 0;	}
	100% {opacity: 1;}
}
@keyframes fade-bottom {
	0% {
		transform: translateY(50px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes fade-top {
	0% {
		transform: translateY(-50px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes fade-left {
	0% {
		transform: translateX(-200px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}
@keyframes fade-right {
	0% {
		transform: translateX(200px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}


@media (min-width: 576px) {
	.container2, .container2-sm {max-width: 270px;}
	.banner .carousel-item{height: 225px;}
}
@media (max-width: 1200px) {
	.user{display: none;}
}
@media (min-width: 768px) {
	.container2, .container2-md, .container2-sm {max-width: 360px;}
	.banner .carousel-item{height: 300px;}
	main{margin-top: 125px;}
}
@media (min-width: 992px) {
	.container2, .container2-lg, .container2-md, .container2-sm {max-width: 480px;}
	.banner .carousel-item{height: 450px;}
	.banner.banner-sm .carousel-item{height: 225px;}
	.subtitle{
		font-size: 3rem;
		line-height: 3rem;
	}
	h1, .h1{
		font-size: 5rem;
		line-height: 5rem;
	}
	.banner .carousel-caption1{	padding-left: 7rem;}
	.navbar-header{display: block;}
	.navbar{padding-top: 4rem;}
	.accordion .card-header .btn::before{right: 2rem;}
}
@media (min-width: 1200px) {
	.container2, .container2-lg, .container2-md, .container2-sm, .container2-xl {max-width: 570px;}
	.logo{
		width:auto;
		max-width: 225px;
	}
	body {margin-bottom: 600px;}
	.footer {
		position: absolute;
		height:600px;
	}
	.min-footer{position: absolute;}
}
.footer .g-recaptcha {
	transform:scale(0.84);
	-webkit-transform:scale(0.84);
	transform-origin:0 0;
	-webkit-transform-origin:0 0;
}
.col-lg-14 {display: none;}
.h1hidden{
	color:#FFF;
	font-size: 1px;
	padding: 0;
	margin: 0;
	height: 0;
}
.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.debug {
	background-color: rgba(255, 255, 255, 0.5);
	max-height:90%;
	position:absolute;
	right:20px;
	top:170px;
	width:400px;
	z-index: 2000;
}
.debug .card-body {
	max-height:100%;
	overflow-y:scroll;
}
.debug.debugmaxwin{
	background-color: rgba(255, 255, 255, 0.9);
	height:100%;
	width:80%;
}
/* wizard */
.boxshadow {
	border-radius: 10px;
	padding:15px;
}
.step-wizard-list{
	background: #fff;
	list-style-type: none;
	border-radius: 10px;
	display: flex;
	padding: 20px 10px;
	position: relative;
	z-index: 10;
}

.step-wizard-item, .step-wizard-item > a{
	padding: 0 20px;
	flex-basis: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive:1;
	flex-grow: 1;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
	min-width: 80px;
	position: relative;
}
 .step-wizard-item > a{padding:0;}
.step-wizard-item + .step-wizard-item:after{
	content: "";
	position: absolute;
	left: 0;
	top: 19px;
	background: #003D7C;
	width: 100%;
	height: 2px;
	transform: translateX(-50%);
	z-index: -10;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.progress-count{
	height: 40px;
	width:40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: 600;
	margin: 0 auto;
	position: relative;
	z-index:10;
	color: transparent;
}
.progress-count:after{
	content: "";
	height: 40px;
	width: 40px;
	background: #003D7C;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	z-index: -10;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.progress-count:before{
	content: "";
	height: 10px;
	width: 20px;
	border-left: 3px solid #fff;
	border-bottom: 3px solid #fff;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -60%) rotate(-45deg);
	transform-origin: center center;
}
.progress-label{
	font-size: 14px;
	font-weight: 600;
	margin-top: 10px;
}
.current-item .progress-count:before, .current-item ~ .step-wizard-item .progress-count:before{display: none;}
.current-item ~ .step-wizard-item .progress-count:after{
	height:10px;
	width:10px;
}
.current-item ~ .step-wizard-item .progress-label{opacity: 0.5;}
.current-item .progress-count:after{
	background: #fff;
	border: 2px solid #003D7C;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.current-item .progress-count{color: #003D7C;}
.curstep-item .progress-count{
}
.curstep-item .progress-count:before{
	border-left: 3px solid #003D7C;
	border-bottom: 3px solid #003D7C;
}
.curstep-item .progress-count:after{
	background: #fff;
	border: 2px solid #003D7C;
}
.bordtop{
	border-top:1px solid #DDD;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
}
.impianto label{margin-bottom: 0;}
.impianto .form-group {margin-bottom: 0.5rem;}