@charset "utf-8";
/* CSS Document */


/* GENERAL */

body {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.p60{
	padding: 60px;
}



/* $ GENERAL */


header{
	padding: 30px 60px;
}

header input.form-control{
	background: #F2F2F2;
}
.navbar-brand{
	max-width: 526px;
	width: 100%;
	height: 58px;
}
.navbar.menu-principale{
	background: #2167AE;
}

.form-cerca button i {
	color: #2167AE;
	font-size: 25px;
}

.navbar.menu-principale{
	padding: 0!important;
}

.navbar .navbar-nav li a{
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	padding: 15px 0;
}

.navbar .navbar-nav li a:hover,
.navbar .navbar-nav li a.active{
	color: #2167AE;
	background: #fff;
	
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* SLIDER */
.bg-slider{
	background: #2167AE;
	border-radius: 10px 10px 0 0;
	padding-bottom: 40px;
}

.carousel-indicators{
	
	margin-bottom: 0;
	bottom: -30px;
}

.carousel-indicators button {
	background: #2167AE!important;
	height: 5px!important;
	border-top: 0!important;
	border-bottom: 0!important;
	
}
.carousel-caption{
	bottom: 0!important;
	padding-bottom: 0;
}

#carousel{
	border-bottom: 5px solid #2167AE;
}

/* $ SLIDER */

/* CENTRO1 */

.centro1{
	background: url("/img/texture.png") repeat;
	padding: 60px;
}

.box-sx {
	margin-bottom: 30px;
}


.box-sx .box-title{
	background: #2167AE;
	color: #fff;
	font-size: 18px;
	text-transform: uppercase;
	border-radius: 10px 10px 0 0;
}

.box-sx .container-notizie{
	border-radius: 0 0 10px 10px;
	background: #fff;
	border: 1px solid #707070;
}

.box-sx .container-notizie a.notizia{
	padding-bottom: 15px;
	border-bottom: 1px solid #707070;
	font-size: 16px;
	margin-bottom: 15px;
	text-decoration: none;
}

.box-sx .container-notizie a.notizia .data{
	font-weight: 700;
	color: #2167AE;	
}

.box-sx .container-notizie a.notizia .testo{
	font-weight: 400;
	color: #707070;
}

.box-sx .container-notizie a.vedi-tutte{
	background: #2167AE;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
}

.centro1 .box{
	background: #fff;
	border: 1px solid #707070;
	border-radius: 10px;
}
.centro1 .box .image{
	border-radius: 10px;
	background-size: cover;
	height: 196px;
	width: 100%;
}

.centro1 .box.area-riservata .image{
	background: url("/img/area-riservata.png") no-repeat;
	background-size: cover;
	background-position: center;
}
.centro1 .box.motori-di-cacolo .image{
	background: url("/img/motori_di_calcolo.png") no-repeat;
	background-size: cover;
	background-position: center;
}
.centro1 .box.come-fare-per .image{
	background: url("/img/Come_fare_per.png") no-repeat;
	background-size: cover;
	background-position: center;
}

.centro1 .box h3{
	font-size: 20px;
	color: #2167AE;
	margin: 0;
}

.centro1 .box .testo{
	font-size: 18px;
	color: #707070;
}

.centro2{
	border-bottom: 1px solid #2167AE;
	border-top: 1px solid #2167AE; 
	padding: 0 60px 0 60px;
}

.centro2 .bg-grigio{
	background: #DDE4E3;
	box-shadow: inset 0px 3px 6px #00000029;
}

.centro2 .bg-grigio a.button .cerchio{
	background: #2167AE;
	border-radius: 50%;
	width: 120px;
	height: 120px;
	z-index: 20;
}

.centro2 .col-md-3 {
	padding-top: 30px;
	padding-bottom: 30px;
	padding-right: 30px;
}

.centro2 .bg-grigio .cerchio i{
	color: #fff;
	font-size: 44px;
}

.centro2 .bg-grigio a{
		text-decoration: none!important;
}

.centro2 .bg-grigio a.button .bottone{
	background: #D1E0EE;
	color: #2167AE;
	border-radius: 10px;
	border: 2px solid #2167AE;
	margin-left: -60px;
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 700;
	padding-left: 90px;
}

/* $ CENTRO1*/


/*  */

.menu-footer{
	background: #2167AE; 
}

.menu-footer .menu{
	color: #fff!important;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 20px;
}
.menu-footer .menu a{
	color: #fff;
	text-decoration: none;
}

.menu-footer .menu a:hover{
	color: #D1E0EE;
}
/*
.footer h3{
	font-size: 22px;
	color: #2167AE;
	text-align: center;
}
*/
.footer h3{
	font-size: 22px;
	color: #2167AE;
	text-align: left;
}
/*
.footer .testo{
	font-size: 16px;
	color: #666666;
	text-align: center;
}
*/
.footer .testo{
	font-size: 16px;
	color: #666666;
	text-align: left;
}

.footer .testo span{
	font-size: 14px;
}

.menu-footer ul {
	list-style-type: none;
	margin-bottom: 0;
	padding-left: 0 !important;
}

.menu-footer ul li {
	margin-right: 20px;
	
}


/* $ FOOTER */

/* INTERNO */
.menu-int {
	margin-top: 70px;
  }
  
  .menu-int ul {
	margin: 0;
	padding: 0;
  }
  
  .menu-int ul li {
	position: relative;
	border-bottom: 1px solid #cecece;
	list-style: none;
	padding-top: 5px;
	padding-bottom: 5px;
  }
  
  .menu-int ul li:first-child {
	border-top: 1px solid #cecece;
  }
  
  .menu-int ul li a {
	display: block;
	position: relative;               /* serve per la freccia */
	width: 100%;
	padding: 16px 34px 16px 16px;     /* padding con spazio a destra per la chevron */
	box-sizing: border-box;
	color: #2167AE !important;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
  }
  
  .menu-int ul li a.active,
  .menu-int ul li a:hover{
	background: #2167AE;
	color: #fff !important;
  }
  
  .menu-int ul li a::after {
	content: "\f054";                 /* fa-chevron-right (Font Awesome 4) */
	font-family: "FontAwesome";
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: inherit;                   /* eredita il colore dal link */
	font-size: 14px;
  }


h2.page_title {
	font-size: 18px;
	font-weight: 700;
	color: #2167AE;
	background: #DBDBDB;
	padding: 15px 20px;
	text-transform: uppercase;
	margin-bottom: 30px;
}

.path {
	margin-top: 30px;
	margin-bottom: 15px;
	color: #666666;
	font-size: 14px;
	height: 25px;
	text-transform: uppercase;

}

.path a {
	color: #666666;
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
}

.path a::after {
  content: "\f054"; /* Unicode della chevron-right in FA 4.7 */
  font-family: FontAwesome;
  margin: 0 8px;
  color: #999;
}

.path a.active::after {
	color: #2167AE;
  }

.testo {
	color: #666666;
	font-size: 16px;
}

.articolo h3 {
	font-size: 16px;
	font-weight: 700;
	color: #2167AE;
	margin-top: 15px;
	margin-bottom: 15px;
	text-transform: uppercase;
}


/* $ INTERNO */

/* NEWS ELENCO - begin */
.news_box {
	border: 1px solid #2167AE;
	padding: 30px;
	border-radius: 5px;
}

.news_box .txt .date{
	background: #f5f5f5;
    display: inline-flex;
    padding: 5px;
    font-weight: 700;
    font-size: 12px;
    color: #2167AE;
    border-radius: 3px;
}

a.title {
	font-weight: 700;
	color: #2167AE;
	text-decoration: none;
	display: flex;
}

h2.news_title {
	font-weight: 700;
	color: #2167AE;
	font-size: 25px;
}

a.leggi_btn{
	background: #2167AE;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    display: inline-flex !important;
	margin-top: auto;
	justify-content: center;

}

#addquery a{
	border: 1px solid #2167AE;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
	color: #2167AE!important; 
}
#addquery a:hover{
	border: 1px solid #2167AE;
	color: #fff!important;
	background: #2167AE; 
}

/* NEWS ELENCO - end */

/* TABLE */

.testo table{
	margin-bottom: 15px;
}

.testo table thead{
	background: #2167AE;
	border-radius: 5px 5px 0 0 !important;
}

.testo table thead tr th{
	padding: 10px;
}

.testo table thead tr th p{
	margin-bottom: 0px!important;
}

.testo table thead tr th p span{
	color: #fff!important;
}

.testo table tbody tr{
	
}
tbody, td, tfoot, th, thead, tr {
	padding: 15px 30px;
}

/* $ TABLE */

/* DOCUMENTI ELENCO - start */
.lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista li {
  margin-bottom: 10px;
}

.lista li a {
display: block;
    border: 1px solid #2167AE;
    border-radius: 6px;
    padding: 10px 20px;
    background: #fff;
    text-decoration: none;
    color: #2167AE;
    font-weight: 600;
    position: relative;
    transition: background 0.2s ease;
}

.lista li a:hover {
  background: #f1f1f1;
}

.lista li a .info {
  display: block;
  font-size: 0.9em;
  color: #666;
  margin-top: 4px;
  font-weight: normal;
}

/* 👇 la freccia FontAwesome aggiunta via ::after */
.lista li a::after {
  font-family: FontAwesome;
  content: "\f054"; /* fa-chevron-right */
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #2167AE;
}

/* DOCUMENTI ELENCO - end */






/* LISTA */
.lista {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
}
.lista > li {
	position: relative;
	margin-top: 1.5em;
	min-height: 1.5em;
}
.lista > li:first-child {
	margin-top: 0;
}
.lista > li:before {
	position: absolute;
	top: 4px;
	left: 0;
	min-height: 1em;
	font-family: FontAwesome;
	font-size: 1em;
	color: #039;
	line-height: 1;
}
.lista > li.link,
.lista > li.file {
	padding-left: 1.5em;
}
.lista > li.faq {
	padding-left: 1.5em;
}

/* ICONS */


/* MOTORE RICERCA <*/
#results.lista > li.file:before {
	content: '\f016';
}
#results.lista > li.file.text:before {
	content: '\f0f6';
}
#results.lista > li.file.pdf:before {
	content: '\f1c1';
}
#results.lista > li.file.word:before {
	content: '\f1c2';
}
#results.lista > li.file.excel:before {
	content: '\f1c3';
}
#results.lista > li.file.powerpoit:before {
	content: '\f1c4';
}
#results.lista > li.file.image:before {
	content: '\f1c5';
}
#results.lista > li.file.zip:before {
	content: '\f1c6';
}
#results.lista > li.file.audio:before {
	content: '\f1c7';
}
#results.lista > li.file.video:before {
	content: '\f1c8';
}
#results.lista > li.link:before {
	content: '\f097';
}
#results.lista > li.dir:before {
	content: '\f114';
}
#results.lista > li.faq:before {
	content: '\f128';
}
#results.lista > li.glossary:before {
	content: '\f02d';
}
#results.lista > li.result:before {
	content: '';
}
#results.lista > li.news:before {
	content: '\f0a1';
}

#results.lista > li.file > a {
	color: #039;
	text-decoration: none;
	font-weight: 600;
}
#results.lista > li.file > a:hover,
#results.lista > li.file > a:focus {
	color: #5B9ACF;
}
#results.lista > li.faq > a {
	font-weight: 600;
}
#results.lista > li.faq > a.opened {
	color: #5B9ACF;
	text-decoration: none;
}
#results.lista > li > .description {
	font-size: 0.8em;
}
#results.lista > li > .info {
	color: #333;
}
#results.lista > li.result {
	padding-left: 2em;
	/*background-color: #f7f5f0;*/
	border: 1px solid #2167AE;
	border-radius: 6px;
	/* piefix */
	border-top-left-radius: 5px;
	-ms-behavior: url(/js/PIE.htc);
	
}


#results.lista li::after {
  font-family: FontAwesome;
  content: "\f054"; /* fa-chevron-right */
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #2167AE;
}

#results.lista a::after {
    content: none !important;
}

#results.lista > li.result .num {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 2em;
	padding-top: 15px;
	background-color: #039;
	font-size: 1em;
	color: #fff;
	text-align: center;
	
	/* piefix */
	border-top-left-radius: 5px;
	-ms-behavior: url(/js/PIE.htc);
}
#results.lista > li.result a {
	display: block;
	padding: 0.536em;
	color: #039;
	border:none !important;
	padding-right: 30px;
}
#results.lista > li.result a .info {
	display: block;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#results.lista > li.result > .fulltxt,
#results.lista > li.faq > .risposta {
	padding: 0.536em;
	border-top: 1px solid #5B9ACF;
}
#results.lista > li.result > .fulltxt {
	border-top: 1px solid #fff;
}

/* ALLEGATI */
.allegati h5 {
	position: relative;
	margin: 1.5rem 0;
	border-bottom: 1px solid #039;
	padding-bottom: .5rem;
	padding-left: 1.75rem;
	font-size: 1.25rem;
	color: #039;
	text-transform: uppercase;
}
.allegati h5:before {
	position: absolute;
	left: 0;
	top: 0;
	content: '\f0c6';
	font-family: fontawesome;
	font-size: 1.25rem;
	color: #039;
}
/* MOTORE RICERCA >*/






.header-top {
    width: 100%;
}


@media (max-width: 767.98px) {
  .centro1 .box.bg-grigio .d-flex.justify-content-center {
    flex-direction: column !important;
    align-items: center !important;
  }
  .centro1 .box.bg-grigio a.button {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
}


@media (max-width: 1199.98px) and (min-width: 768px) {

  .centro1 .box.bg-grigio .d-flex.justify-content-center {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 80px !important;
  }

  .centro1 .box.bg-grigio a.button {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
}


/* Tablet < 992px: logo sopra, form sotto */
@media (max-width: 991.98px) {



    .header-top {
        justify-content: center;     /* centro gli elementi */
        text-align: center;
    }

    .navbar-brand {
        margin-bottom: 20px;
        width: 100%;
    }

    .form-cerca {
        width: 100%;
        justify-content: center;
    }

    .form-cerca .input-group {
        max-width: 100% !important;
        width: 90%;
    }
}

/* Mobile < 576px: padding ridotto */
@media (max-width: 575.98px) {

    header {
        padding: 20px 20px !important;
    }

    .navbar-brand img {
        max-width: 80%;
        height: auto;
    }
}



/* ------------------------- */
/*      TOP MENU SUPERIORE  */
/* ------------------------- */

.top-menu {
    background: #E8F1F7;          /* Blu chiarissimo Zurich */
    border-bottom: 1px solid #C7D8E5;
    font-size: 0.90rem;           /* dimensione consigliata */
    padding-top: 4px;
    padding-bottom: 4px;
}

.top-menu-list li {
    margin-left: 12px;
}

.top-menu-list a {
    color: #003D73;               /* Blu scuro Zurich */
    text-decoration: none;
    font-weight: 600;             /* leggermente più marcato */
    transition: color 0.2s ease;
}

.top-menu-list a:hover {
    color: #2167AE;               /* blu Zurich principale */
    text-decoration: underline;
}



.centro1 .bg-grigio {
    background: #C7D8E5;
    box-shadow: none;
}

/* Link container */
.centro1 .bg-grigio a.button {
    display: flex;
    flex-direction: column;              /* cerchio sopra, testo sotto */
    align-items: center;
    text-decoration: none !important;
    margin: 30px 40px;
}

/* Cerchio bianco */
.centro1 .bg-grigio a.button .cerchio {
    background: #2167AE;
    border-radius: 50%;
    width: 190px;
    height: 190px;
}

/* Icona dentro il cerchio */
.centro1 .bg-grigio a.button .cerchio i {
    font-size: 80px;
    color: #ffffff;
}

/* Testo sotto il cerchio */
.centro1 .bg-grigio a.button .bottone {
    background: transparent;
    border: none;
    margin: 15px 0 0 0;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    color: #2167AE;
}




/* Mobile: centro le voci in schermi piccoli */
@media (max-width: 575.98px) {
    .top-menu .container {
        justify-content: center !important;
    }

    .top-menu-list li {
        margin: 0 8px;
    }
}


@media (max-width: 991.98px) {
    .top-menu {
        display: none !important;
    }
}


/* Per il box Documenti / Moduli: cerchio e testo affiancati */
.centro1 .box.bg-grigio a.button {
    flex-direction: row;      /* orizzontale */
    align-items: center;
}


@media (max-width: 1199.98px) {

 .docmod-wrap{
    flex-wrap: nowrap;              
    justify-content: center;
    gap: 80px;
  }
  .docmod-wrap a.button{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

}