.material-icons {  
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 52px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

/* INIZIO - PERSONALIZZAZIONE SLIDER */

.sp-awetive-layout .sp-slider-content:after {
	right: -300px !important;
	border-left: 300px solid #a1ea2d !important;
	border-bottom: 300px solid transparent !important;
}

.sp-awetive-layout .sp-slider-content {
	width: 20% !important;
	background-color: #a1ea2d !important;
}

.sp-awetive-layout .slide-indicators li {
	background-color: #a1ea2d !important;
}	
.sp-awetive-layout .slide-indicators li.active {
	background-color: #ffffff !important;
}	
.sp-awetive-layout, .sp-awetive-layout h1, .sp-awetive-layout h2, .sp-awetive-layout h3,
.sp-awetive-layout .sp-slider-content {
	color: #174899 !important;
}
#sp-main-body {
	padding-top: 20px;
}

#sp-service.tp-spacer {
	padding-bottom: 20px;
}

@media (min-width: 768px) and (max-width: 1024px) {
	
	.sp-awetive-layout .sp-slider-content:after {
		right: -220px !important;
		border-left: 220px solid #a1ea2d !important;
		border-bottom: 220px solid transparent !important;
	}
	
	.sp-awetive-layout .sp-slider-content {
		width: 30% !important;
	}
  
}

@media (min-width: 481px) and (max-width: 767px) {
	.sp-awetive-layout .sp-slider-content:after {
		right: 0;
		border: none !important;
	}
	
	.sp-awetive-layout .sp-slider-content {
		width: 40% !important;
	}
	
	.sp-awetive-layout .sp-slider-content h1 {
		font-size: 32px;
	}
}


@media (min-width: 321px) and (max-width: 480px) {
  
	.sp-awetive-layout .sp-slider-content:after {
		right: 0;
		border: none !important;
	}
	
	.sp-awetive-layout .sp-slider-content {
		width: 40% !important;
	}
	
	.sp-awetive-layout .sp-slider-content h1 {
		font-size: 22px;
	}
	
	.sp-awetive-layout .sp-slider-content .btn {
		font-size: 18px;
		padding: 10px;
	}
  
	.sp-awetive-layout .sp-slider-content .sp-introtext {
		margin: 20px 0 !important;
	}
}

@media (max-width: 320px) {
	.sp-awetive-layout .sp-slider-content:after {
		right: 0;
		border: none !important;
	}
	
	.sp-awetive-layout .sp-slider-content {
		width: 40% !important;
	}
	
	.sp-awetive-layout .sp-slider-content h1 {
		font-size: 18px;
		margin: 0;
	}
	
	.sp-awetive-layout .sp-slider-content .btn {
		font-size: 14px;
		padding: 10px;
	}
  
	.sp-awetive-layout .sp-slider-content .sp-introtext {
		margin: 20px 0 !important;
	}	
}
/* FINE - PERSONALIZZAZIONE SLIDER */

.view-categories h3 {
	padding: 5px 15px;
	font-size: 20px;
	background-color: #174899;
	color: #a1ea2d;
	margin: 15px 0 !important;
}

.cat-children h3,
.view-categories .sub-cat h3 {
	padding: 5px 0px;
	font-size: 16px;
	background-color: transparent;
	color: #174899;
	margin: 0px !important;
}

.category-link-list h1 {
	padding: 5px 15px;
	font-size: 22px;
	background-color: #174899;
	color: #ffffff;
	margin: 15px 0 !important;
}

.article-details .article-full-image {
margin: 2em;
}


.article-details a[href$=".pdf"]:before,
body.view-category a[href$=".pdf"]:before {
	/* PDF file */
	content: ' ';
	background-image: url('../images/icon_pdf_32x32.png');
	
	background-position:	center left;
	background-repeat:		no-repeat;
	padding-left:			35px;
	height:					35px;
	width:					45px;
	display:				inline-block;
	float:					left;
	margin-top:				-5px;
}

body.view-article a.no-icon[href$=".pdf"]:before,
body.view-category a.no-icon[href$=".pdf"]:before {
	content: '';
	background-image: none;
	padding-left:			0px;
	height:					0px;
	width:					0px;
	display:				inline-block;
	float:					left;
	margin-top:				0;
}

/* Add " (PDF)" text after links that go to PDFs */
body.view-category a[href$=".pdf"]:after {
	content: " (pdf)"; 
}

body.view-category a.no-icon[href$=".pdf"]:after {
	content: ""; 
}

/* If file size specified as data attribute, use that too */
body.view-category a[href$=".pdf"][data-size]:after { 
	content: " (pdf, " attr(data-size) ")"; 
}

.article-details a[href$=".xlsx"]:before,
.article-details a[href$=".xls"]:before,
body.view-category a[href$=".xlsx"]:before,
body.view-category a[href$=".xls"]:before {
	/* Excel file */
	content: ' ';
	background-image: url('../images/icon_excel_32x32.png');
	
	background-position:	center left;
	background-repeat:		no-repeat;
	padding-left:			35px;
	height:					35px;
	width:					45px;
	display:				inline-block;
	float:					left;
	margin-top:				-5px;
}

body.view-category a[href$=".xlsx"]:after, 
body.view-category a[href$=".xls"]:after {
	content: " (xls)"; 
}

.article-details a[href$=".rtf"]:before,
.article-details a[href$=".doc"]:before,
.article-details a[href$=".docx"]:before,
body.view-category a[href$=".docx"]:before,
body.view-category a[href$=".doc"]:before {
	/* MS-Word file */
	content: ' ';
	background-image: url('../images/icon_word_32x32.png');
	
	background-position:	center left;
	background-repeat:		no-repeat;
	padding-left:			35px;
	height:					35px;
	width:					45px;
	display:				inline-block;
	float:					left;
	margin-top:				-5px;
}

body.view-category a[href$=".docx"]:after, 
body.view-category a[href$=".doc"]:after {
	content: " (doc)"; 
}

.sub-cat .sub-cat {
	margin-left: 20px !important;
}

.subcat-level-4 {
	margin-left: 20px;
}

/* titoli articolo */
.article-details  h1 {
	padding: 5px 15px;
	font-size: 22px;
	background-color: #174899;
	color: #a1ea2d;
	margin: 0 0 15px 0 !important;
}
.article-header  h2 {
	font-size: 20px !important;
}

/* INIZIO personalizzazione box in home page */
.boxhome .servicebox {
	min-height: 380px;
	position: relative;
}

.boxhome .servicebox .box-title a {
	position:	absolute;
	left:	0;
	right:	0;
	bottom:	20px;
	width: 80%;
    margin: 0 auto;
    padding: 5px 0;
	background-color: #a1ea2d;
	border: 2px solid #174899;
	color: #174899;
} 

.boxhome .servicebox .box-title a:hover {
	background-color: #174899;
	border-color: #174899;
	color: #fff;
	
}

.article-details.servizi .servicebox {
    min-height: 300px;
    position: relative;
}

.article-list .article .article-body .article-header h2 {
	min-height: 92px;
}

.article-body .readmore {
	margin-top: 15px;
}

.article-intro-image.float-left {
	height: 261px;
	width: 346px;
	overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
	
	.servicebox {
		padding: 20px 10px 35px 10px;
	}
	
	.boxhome .servicebox {
		min-height: 345px;
	}
  
}


@media (min-width: 320px) and (max-width: 480px) {
  
	.servicebox {
		padding: 20px 10px 35px 10px;
	}
	
	.boxhome .servicebox {
		min-height: auto;
	}
}

/* FINE personalizzazione box in home page */

/* INIZIO PERSONALIZZAZIONE MENU */
@media (min-width: 768px) and (max-width: 1200px) {
  
	.sp-menu-item a {
		padding: 0 7px !important;
	}
  
}
/* FINE PERSONALIZZAZIONE MENU */

/* INIZIO personalizzazione menu Area Riservata */
.nav-ar {
    width: 320px;
    min-width: 320px;
    height: 310px;
    position: fixed;
    top: 130px;
    bottom: 0;
    margin: 0;
    right: -320px;
    padding: 15px 20px;
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
    background: #a1ea2d;
    z-index: 2000;
}

.nav-toggle {
    /* posizionamento assoluto*/
    position: absolute;
    /*  spazio rispetto bordo sinistro del panello  */
    right: 320px;
    /* rispetto bordo superiore  */
    top: 0;
    /* spazzi interni  */
    padding: 0.5em;
    /* indichimo il colore dllo sfondo del interruttore
     * di solito corrisponde al colore del panello 
    */
    background: inherit;
    /* colore del testo */
    color: #174899;
    /* tipo del cursore */
    cursor: pointer;
    /* altezza del font */
    font-size: 1.2em;
    line-height: 1;
    /* sempre in prima vista rispetto altri elementi della pagina  */
    z-index: 2001;
    /* animazione del colore del testo al hover */
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
	
	width: 180px;
}

@media (max-width: 767px) {
	.nav-toggle {  
	  width: 65px;
	}  
}


.nav-toggle:after {
	content: "arrow_downward";
	text-decoration: none;
	font-family: "Material Icons";	
}

.nav-toggle:hover {
    color: #174899;
}

[id='nav-toggle'] {
    position: absolute;
    display: none;
}

[id='nav-toggle']:checked ~ .nav-ar > .nav-toggle {
    left: auto;
    right: 2px;
    /*top: 1em;*/
}

[id='nav-toggle']:checked ~ .nav-ar {
    right: 0;
    box-shadow:-4px 0px 20px 0px rgba(0,0,0, 0.5);
    -moz-box-shadow:-4px 0px 20px 0px rgba(0,0,0, 0.5);
    -webkit-box-shadow:-4px 0px 20px 0px rgba(0,0,0, 0.5);
    overflow: hidden;
}

[id='nav-toggle']:checked ~ .nav-ar > .nav-toggle:after {
    content: ' \2715';
}

/* FINE personalizzazione menu Area Riservata */

/**
 * prefissi per Android <= 4.1.2
 * 
 */

body {
    -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
    to {
      padding: 0;
    }
}

/**
 * per dispositivi medie e piccoli
 */

@media screen and (min-width: 320px) {
    html,
    body {
      margin: 0;
      overflow-x: hidden;
    }
}

@media screen and (max-width: 320px) {
    html,
    body {
      margin: 0;
      overflow-x: hidden;
    }
    .nav-ar {
      width: 100%;
      box-shadow: none
    }
}


.nav-ar > ul {
    display: block;
    margin: 0;
    padding: 20px 0 0 0;
    list-style: none;
}

.nav-ar > ul > li {
    line-height: 2.5;
    opacity: 0;
    -webkit-transform: translateX(50%);
    -moz-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    -webkit-transition: opacity .5s .1s, -webkit-transform .5s .1s;
    -moz-transition: opacity .5s .1s, -moz-transform .5s .1s;
    -ms-transition: opacity .5s .1s, -ms-transform .5s .1s;
    transition: opacity .5s .1s, transform .5s .1s;
}

[id='nav-toggle']:checked ~ .nav-ar > ul > li {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.nav-ar > ul > li:nth-child(2) {
    -webkit-transition: opacity .5s .2s, -webkit-transform .5s .2s;
    transition: opacity .5s .2s, transform .5s .2s;
}

.nav-ar > ul > li:nth-child(3) {
    -webkit-transition: opacity .5s .3s, -webkit-transform .5s .3s;
    transition: opacity .5s .3s, transform .5s .3s;
}

.nav-ar > ul > li:nth-child(4) {
    -webkit-transition: opacity .5s .4s, -webkit-transform .5s .4s;
    transition: opacity .5s .4s, transform .5s .4s;
}

.nav-ar > ul > li:nth-child(5) {
    -webkit-transition: opacity .5s .5s, -webkit-transform .5s .5s;
    transition: opacity .5s .5s, transform .5s .5s;
}

.nav-ar > ul > li:nth-child(6) {
    -webkit-transition: opacity .5s .6s, -webkit-transform .5s .6s;
    transition: opacity .5s .6s, transform .5s .6s;
}

.nav-ar > ul > li:nth-child(7) {
    -webkit-transition: opacity .5s .7s, -webkit-transform .5s .7s;
    transition: opacity .5s .7s, transform .5s .7s;
}


.nav-ar > ul > li > a {
    display: inline-block;
    position: relative;
    padding: 0;
    /*font-family: 'Open Sans', sans-serif;*/
    font-weight: 300;
    /*font-size: 1.2em;*/
    color: #174899;
    width: 100%;
    text-decoration: none;

    -webkit-transition: color .5s ease, padding .5s ease;
    -moz-transition: color .5s ease, padding .5s ease;
    transition: color .5s ease, padding .5s ease;
}


.nav-ar > ul > li > a:hover,
.nav-ar > ul > li > a:focus {
    color: #ffffff;
    padding-left: 15px;
}


.nav-ar > ul > li > a:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}

.nav-ar > ul > li > a:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: #174899;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

.nav-ar > ul > li > a:hover:before {
    width: 0%;
    background: #3bc1a0;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

.nav-ar > ul > li > a:hover:after {
    width: 0%;
    background: transparent;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}
/* fine personalizzazione menu Area Riservata */

/* INIZIO personalizzazione form iscrizione newsletter */
.acymailing_form span {
	display:inline;
}

.acymailing_form .inputbox {
	margin-top: 5px;
}

.acysubbuttons {
	text-align: left !important;
}

.acysubbuttons .button {
	color: #fff !important;
	border: 2px solid #fff !important;
}
/* FINE personalizzazione form iscrizione newsletter */

/* FIX BUG IN IE-10 E IE-11 */
.article-list .article .article-introtext {
	flex: 1;
	-webkit-flex: auto;
	-ms-flex: auto;
}
/* fine FIX BUX */

/* Personalizzazione banner cookie */
#redim-cookiehint {
	background-color: #ec7e12;
}
/* FINE Personalizzazione banner cookie */

#sp-service {
    background-color: #174899 !important;
}

#sp-content-block,
#sp-bottom,
#sp-footer {
	background-color: #174899 !important;
}

#sp-content-block .breadcrumb {
	background-color: transparent;
	
}

#sp-content-block .breadcrumb li {
	color: #fff;
}

#sp-content-block .breadcrumb li a {
	color: #a1ea2d;
}

.article.mod-articles-category-group {
	background-color: #174899;
	border: 2px solid #a1ea2d;
	color: #fff;
	
}

.article-list .article {
	border: 2px solid #a1ea2d;	
}

.article-list .article .article-info a {
	color: #03AEA2;
}

.article-list .article .article-header h2 a {
    color: #174899
}

.article-list.category-module .article.mod-articles-category-group h2 .mod-articles-category-title {
	color: #a1ea2d;
}
.article.mod-articles-category-group .article-info a {
    color: #a1ea2d;   
}
h2.ui.header {
	color: #174899;
}

.box-title h6 {
	color: #174899
}

.servicebox:hover .box-title h6 {
	color: #ffffff;
}

/* Personalizzazione pagina di categoria */
.first-cat{
    border: 0px !important;
    padding: 0px !important;
}
.first-cat[aria-expanded="true"]:before {
	font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    content: "\f068"; 
    color:  #444444;
    position: absolute;
    right: 10px;
}

.first-cat[aria-expanded="false"]:before {
	font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    content: "\f067"; 
    color:  #444444;
    position: absolute;
    right: 10px;
}