/*
Theme Name: mymate2
Theme URI: 
Version: 0.1.0
Author: Alberto
Author URI: 
Text Domain: mymate2
*/

/* Reset default browser CSS by Eric Meyer: http://meyerweb.com/eric/tools/css/reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; }
:focus { outline: 0; }
body { background: #fff; line-height: 1.5; }
ol, ul { list-style: none; }
table { border-collapse: separate; border-spacing: 0; padding:10px}
caption, th, td { font-weight: normal; text-align: left; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

/* manrope-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  src: url('./webfonts/manrope/manrope-v15-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  src: url('./webfonts/manrope/manrope-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('./webfonts/manrope/manrope-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  src: url('./webfonts/manrope/manrope-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  src: url('./webfonts/manrope/manrope-v15-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  src: url('./webfonts/manrope/manrope-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('./webfonts/manrope/manrope-v15-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* Structure */
body { 
	font-family: 'Manrope', sans-serif;
    font-size: 1.125em;
    font-weight: 500;
    line-height: 1.5625em;
	background: #fff; 
	color: #102c53; 	
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #ddd; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #999; 
}

.wp-block-button__link{
	font-weight:500;
}

mjx-math{
	font-size:.8em!important;
}

/* Alignment */
.alignleft { display: inline; float: left; }
.alignright { display: inline; float: right; }
.aligncenter { clear: both; display: block; margin: 0 auto; }

/* Headings */
h1,h2,h3,h4,h5,h6 { clear: both; }

/* Text elements */
p { margin-bottom: 1.625em; }
ul, ol { margin: 0 0 1.625em 2.5em; }
ul { list-style: square; }
ol { list-style-type: decimal; }
ol ol { list-style: upper-alpha; }
ol ol ol { list-style: lower-roman; }
ol ol ol ol { list-style: lower-alpha; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }
dl { margin: 0 1.625em; }
dt { font-weight: bold; }
dd { margin-bottom: 1.625em; }
strong, b { font-weight: bold; }
cite, em, i { font-style: italic; }
blockquote { font-family: Georgia, "Bitstream Charter", serif; font-style: italic; font-weight: normal; margin: 0 3em; }
blockquote em, blockquote i, blockquote cite { font-style: normal; }
blockquote cite { color: #666; font: 0.8em "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; letter-spacing: 0.05em; text-transform: uppercase; }
pre { background: #f4f4f4; font: 0.8em "Courier 10 Pitch", Courier, monospace; line-height: 1.5; margin: 0 0 1.625em 0; overflow: auto; padding: 0.75em 1.625em; }
code, kbd, samp, var { font: 0.8em Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
abbr, acronym, dfn { border-bottom: 1px dotted #444; cursor: help; }
address { display: block; margin: 0 0 1.625em; }
ins { background: #fff9c0; text-decoration: none; }
sup, sub { font-size: 0.6em; height: 0; line-height: 1; position: relative; vertical-align: baseline; }
sup { bottom: 1ex; }
sub { top: .5ex; }

/* Forms */
/*input[type=text], input[type=password], textarea { background: #fafafa; -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); border: 1px solid #ddd; color: #888; }*/
input[type=text]:focus, textarea:focus { color: #373737; }
textarea { padding-left: 3px; width: 98%; }
input[type=text] { padding: 3px; }
input#s {-moz-border-radius:3px;border-radius:3px;font-size:14px;height:42px;line-height:1.2em;}
input#searchsubmit { display: none; }

a { text-decoration: none; } 
a:link {color:#1C34C8;}    
a:hover {color:#004177;}   
a:active {color:#1C34C8;} 
a:visited {color:#1C34C8;} 
a.sottolinea {
    display: block;
    padding: 6px
}

p a:link{
	text-decoration:underline;
}

/*
a:focus,
button:focus {
  outline: 3px solid #109CDE;
  outline-offset: 1px;
}
*/

a:hover.sottolinea {
    color: #3c6285;
    background: #cfd0f1;
    background: -moz-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#cfd0f1));
    background: -webkit-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: -o-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: -ms-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: linear-gradient(to bottom,#fff 0%,#cfd0f1 100%);
    border-radius: 3px 3px 3px 3px;
    box-shadow: 1px 3px 7px 0 #686868;
    -webkit-box-shadow: 1px 3px 7px 0 #686868;
    -moz-box-shadow: 1px 3px 7px 0 #686868
}

a:link.blog,h3 a:hover,h3.blue a,h3.blue:hover a {
    color: #fff;
}

a.popup {
    text-decoration: underline;
	color:#114E80;
}

.hover-opacity{
	transition-duration: .2s;
	transition-timing-function: cubic-bezier(.2,0,0,1);
	display:inline-block;	
}

.fill-accent {
  fill:#6698FF;
}

.fill-accent:hover {
  fill:#557EC6;
}

.logo-container {
  float: left;
  padding: 8px 6px;
}

.logo-link {
  display: inline-block;
}

.logo-img {
  width: 145px;
  height: auto;
  vertical-align: middle;
}

.language-container {
  float: right;
  padding:3px 12px;
}

.logotipo {
	font-family:'Manrope', sans-serif;
    color: #102c53;
    font-size: 13px;
    font-weight: 700!important;
    text-decoration: none;
    text-transform: uppercase;
}
.logotipo-row {
	display: flex;
	flex-wrap: wrap;
	line-height: 1.100;
}

a.logotipo{
	color:#102c53;
	display:inline-block;
}

.entry-title{
	margin:.5em 0;
}

.entry-content{
	font-weight:500;
}

.grid_container {
    display: flex;
    flex-flow: row wrap;
}

.grid_wrap {
    flex: 0 0 50%;
    display: flex;
}

.grid_wrap_piccolo {
    flex: 0 0 50%;
	display: flex;
 }	

.grid_wrap_gruppi {
    flex: 0 0 20%;
    display: flex;
}

.grid_gruppi{
	width:90%;
	text-align:center;
	overflow:hidden;
	margin:16px 8px;
	/*padding:10px;*/
	/*border: 1px solid #bbb;*/
	/*background:#fff;*/
	background:#e8e8e8;
	background:-moz-linear-gradient(left,#e8e8e8 0%,#fff 50%,#e8e8e8 100%); 
	background: -webkit-linear-gradient(left,#e8e8e8 0%,#fff 50%,#e8e8e8 100%); 
	background: linear-gradient(to right,#e8e8e8 0%,#fff 50%,#e8e8e8 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e8e8', endColorstr='#e8e8e8',GradientType=1 );
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	box-shadow: 1px 1px 4px #aaa;
}

@media only screen and (max-width:415px) { 	 
/*******ELEMENTI DA NON VISUALIZZARE ******/ 	
    .grid_wrap_gruppi {
        flex: 0 0 100%;
    }	
}
/****************************************************************/
@media only screen and (min-width: 416px) and (max-width: 767px) {
/*******ELEMENTI DA NON VISUALIZZARE ******/ 
    .grid_wrap_gruppi {
        flex: 0 0 50%;
	}
}
/*******************************************************************/
@media only screen and (min-width: 768px) and (max-width: 1000px){    
/*******ELEMENTI DA NON VISUALIZZARE ******/ 
	.grid_wrap_gruppi {
        flex: 0 0 33.333%;
    } 
}

.grid {
	width: 100%;
	font-size: 16px;
	padding: 0 0 30px 0;
	margin: 20px;
	border-radius: 9px;
	background: #e2e2e2;
	background: -moz-linear-gradient(left,  #e2e2e2 0%, #d1d1d1 0%, #dbdbdb 0%, #fefefe 49%, #dbdbdb 100%);
	background: -webkit-linear-gradient(left,  #e2e2e2 0%,#d1d1d1 0%,#dbdbdb 0%,#fefefe 49%,#dbdbdb 100%);
	background: linear-gradient(to right,  #e2e2e2 0%,#d1d1d1 0%,#dbdbdb 0%,#fefefe 49%,#dbdbdb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#dbdbdb',GradientType=1 );
	box-shadow: 1px 1px 3px #ccc;
	overflow: hidden;
	border: 1px solid #bbb;
	cursor: pointer;
}

.grid a:link, .grid a:hover, .grid a:active, .grid a:visited{
	color:#00295B;
}

.grid_piccolo {
	width: 85%;
	font-size: 16px;
	padding: 0 0 30px 0;
	margin: 8px auto;
	border-radius: 9px;
	background: #e2e2e2;
	background: -moz-linear-gradient(left,  #e2e2e2 0%, #d1d1d1 0%, #dbdbdb 0%, #fefefe 49%, #dbdbdb 100%);
	background: -webkit-linear-gradient(left,  #e2e2e2 0%,#d1d1d1 0%,#dbdbdb 0%,#fefefe 49%,#dbdbdb 100%);
	background: linear-gradient(to right,  #e2e2e2 0%,#d1d1d1 0%,#dbdbdb 0%,#fefefe 49%,#dbdbdb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#dbdbdb',GradientType=1 );
	box-shadow: 1px 1px 3px #ccc;
	overflow: hidden;
	border: 1px solid #bbb;
	cursor: pointer;
	max-width:160px;
}

.grid_piccolo a:link, .grid_piccolo a:hover, .grid_piccolo a:active, .grid_piccolo a:visited{
	color:#00295B;
}

.grid_piccolo_home {
	width: 65%;
	font-size: 16px;
	padding: 0 0 18px 0;
	margin: 8px auto;
	border-radius: 9px;
	background: #e2e2e2;
	background: -moz-linear-gradient(left,  #e2e2e2 0%, #d1d1d1 0%, #dbdbdb 0%, #fefefe 49%, #dbdbdb 100%);
	background: -webkit-linear-gradient(left,  #e2e2e2 0%,#d1d1d1 0%,#dbdbdb 0%,#fefefe 49%,#dbdbdb 100%);
	background: linear-gradient(to right,  #e2e2e2 0%,#d1d1d1 0%,#dbdbdb 0%,#fefefe 49%,#dbdbdb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#dbdbdb',GradientType=1 );
	box-shadow: 1px 1px 3px #ccc;
	overflow: hidden;
	border: 1px solid #bbb;
	cursor: pointer;
}

.grid_piccolo_home a:link, .grid_piccolo_home a:hover, .grid_piccolo_home a:active, .grid_piccolo_home a:visited{
	color:#00295B;
}

.grid:hover, .grid_piccolo:hover, .grid_piccolo_home:hover{
	background: #e2e2e2;
	background: -moz-linear-gradient(left,  #e2e2e2 0%, #d1d1d1 0%, #efefef 0%, #fefefe 49%, #efefef 100%);
	background: -webkit-linear-gradient(left,  #e2e2e2 0%,#d1d1d1 0%,#efefef 0%,#fefefe 49%,#efefef 100%);
	background: linear-gradient(to right,  #e2e2e2 0%,#d1d1d1 0%,#efefef 0%,#fefefe 49%,#efefef 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#efefef',GradientType=1 );
}


body.custom-background {
    background: url(/images/paper-top.png);
    background-repeat: repeat;
    background-position: left top;
    background-attachment: fixed
}

*{box-sizing: border-box;}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

[class*="col-"] {
  float: left;
  padding: 15px;
  /*border: 1px solid red;*/
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

h1 {
  display: block;
  font-size: 2.2rem;
  line-height:2.6rem;
  margin-top: 0.67rem;
  margin-bottom: 2rem;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h2 {
  display: block;
  font-size: 1.6rem;
  line-height:2rem;
  margin-top: 0.83rem;
  margin-bottom: 3rem;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h3 {  
  display: block;
  font-size: 1.4rem;
  line-height:1.8rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h4 {  
  display: block;
  font-size: 1.2rem;
  margin-top: 1.33rem;
  margin-bottom: 1.33rem;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h5 {  
  display: block;
  font-size: .87rem;
  margin-top: 1.67rem;
  margin-bottom: 1.67rem;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h6 {
  display: block;
  font-size: .71rem;
  margin-top: 2.33rem;
  margin-bottom: 2.33rem;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

#inner {
	width:100%;
	/*max-width:1200px;*/
	margin: 0 auto;
	/*padding: 5px;*/
	padding:0;
	text-align:left;
}

header {
    width: 100%;
    height: auto;    
}

.titolo_logo {
        /*font-family: 'Yanone Kaffeesatz',sans-serif;*/
        text-align: center;
        margin: 0 auto;
        position: relative;
        top: .4em;
        font-size: 2.5em;
        letter-spacing: .08em;
        font-weight: 300;
        color: #fff;
        text-shadow: 3px 3px 6px #02274a;
        line-height: 1em;
    }
	
.sotto_titolo_logo {
	/*font-family: 'Yanone Kaffeesatz',sans-serif;*/
    position: relative;
    top: 14px;
    font-size: 1.3em;
    line-height: 1em;
	color: #fff;
    text-shadow: 3px 3px 6px #02274a;
    letter-spacing: .2em;
	font-weight:300;
}

#contentArea {
	width:100%;
	overflow: hidden;	
	margin: 74px auto;	
	padding:0;	
	/*border-top:1px solid red;*/
}

#mainContent, .mainContent {
    padding:0;
	min-height:450px;
	/*max-width: 1600px; *****************/
	max-width: 1320px;
	margin: 0 auto;	
	
}

#sidebar {	
	padding: 0 6px 0 6px;
	margin-bottom:-100%;	
}

footer {
	margin-top: 3rem;
	background-color: #0F2C53;
	text-align: center;
	position: relative;
	bottom: 0;
	padding-bottom: 3rem;
	min-height: 150px;
	display: table;
	width: 100%;
}

.bordo-destro{
	border-right:1px solid transparent;
	color:#fff;
}

@media (min-width: 1200px) {
	.bordo-destro{
		border-right:1px solid #67B3FF;
		color:#fff;
	}
}

#sub-footer{
	/*font-family: 'Yanone Kaffeesatz', sans-serif;*/
	letter-spacing:0.08em;	
}  

#sub-footer ul{
	margin:0;  
	padding:0;
	border:0;
	list-style:none;
	text-align:right;
}

#sub-footer ul li{
	display:inline-block;
	margin:10px;
	font-weight:400;
	white-space: nowrap;
}

#sub-footer ul li a{
	font-size:1.2em;
	display: inline-block;
	white-space: nowrap;
}

#sub-footer {
  position: relative;
  padding: 10px;
}

#sub-footer a {
  color: #fff;
}

#note a, h1, h2 {
    font-weight: 400;
}

#note {
	/*font-family: 'Yanone Kaffeesatz';*/
    text-align: center;
    margin-bottom: 1.5em;
    padding: 0;	
	border: 1px solid #ddd;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;   
    letter-spacing: .04em;    
    font-size: 1.15em;
    color: #002f5f;
    background: #eaeaea;
    background: -moz-linear-gradient(left,#eaeaea 0%,#fff 50%,#eaeaea 100%);
    background: -webkit-linear-gradient(left,#eaeaea 0%,#fff 50%,#eaeaea 100%);
    background: linear-gradient(to right,#eaeaea 0%,#fff 50%,#eaeaea 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#eaeaea',GradientType=1 )
}

.loading {
    display: none;
}

#nav_visita {
    margin: 10px auto auto auto;
    text-align: center;	
}

#nav_visita ul {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: 100%;
}

#nav_visita ul li {
    display: inline-block;
	margin:5px;
}

#nav_visita ul li a {
    font-size:80%;
	width: 200px;
	float: left;
}

.towp4-c-shd {
    position: absolute;
    bottom: 0;
    width: 165px;
    height: 26px;
    background-image: url('/images/ombra_medium.png');
    background-repeat: no-repeat
}

.towp4-c-left {
    left: -4px;
    background-position: 0 0
}

.towp4-c-right {
    right: -4px;
    background-position: 100% 0
}

/***************************************/
.top-header{
	width:100%;
	height:70px;
	background:#FFFFFF;
	border-top:1px solid #CED3D9;
	border-bottom:1px solid #CED3D9;
	margin:0 auto;
	padding:0;
}

.fixed-header{
    position: fixed;
    top: 70px;
	height:74px;
    width: 100%;    
	z-index: 1000;	
	border-bottom:1px solid rgba(10,37,64,.2);
	backdrop-filter:blur(20px);
	/*background:rgba(254,254,254,.8);*/
	/*background-color: transparent; */   
    background-color: rgba(243, 243, 241, 0.6);
}

/*
@media (max-width: 991px) { 
	.fixed-header{
		position: relative;
		top:0!important;
	}
	#contentArea {
		overflow: unset;
		margin: 0 auto;
	}
}
*/

/********************************/
.youtube-logo, .youtube-logo-hover {
	width: 50px;
	height: auto;
	transition: opacity 0.3s ease;
}

.youtube-logo {
	z-index: 1; /* Immagine principale sotto */
}

.youtube-logo-hover {
	opacity: 0; /* Inizialmente invisibile */
	z-index: 2; /* Immagine di hover sopra */
}

a:hover .youtube-logo {
	opacity: 0; /* Nasconde l'immagine principale */
}

a:hover .youtube-logo-hover {
	opacity: 1; /* Mostra l'immagine di hover */
}
/**********************************/

.language-menu{
    list-style-type:none;
    margin:16px auto;
    padding:0;
    width:auto
}

.language-menu li{
    display:inline-block;
    color:#5c6f82;
    /*text-transform:uppercase;*/
    font-size:14px;
	padding: 0 3px;
}

.language-menu li a{
    color:#102c53;
    text-decoration:none;
    font-weight:700;
}

.language-menu li.active span {
    color:#2942DB;	
    border-bottom:2px solid #2942DB;	
    padding:.5rem .1rem .3rem .1rem;
	font-weight:700;
}

@media (max-width: 991px) { 
    .language-menu{
		display:none;
	}  
}

.language-active{
	font-weight:700;
	color:#102C53;
}

#mega-menu-item-1787 .mega-menu-link:first-of-type {
    display: none;
}

.btn-intranet{
	background:#73A2D1;
	padding:5px 8px;
}

.btn-polimi {
    font-size: .9em;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #abc0ea;
    border-radius: 50%;
    width: 35px; /* Diametro iniziale del pulsante */
    height: 35px; /* Diametro iniziale del pulsante */
    text-decoration: none;
    transition: all 0.09s ease-in-out;
    overflow: hidden;
    position: relative;
    padding: 0;
}

/* Stili per l'icona del pulsante */
.dashicons-polimi {
    font-size: 1em;  Dimensione dell'icona
	transition: margin 0.09s ease-in-out;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1em;
	line-height: 1.5em;	
}

/* Nasconde il testo inizialmente */
.btn-text-polimi {
    text-decoration: none;
    opacity: 0;
    white-space: nowrap;
    margin-left: 0;
}

/* Rimuove la decorazione del testo nei link */
.btn-text-polimi a, a:hover {
    text-decoration: none;
}

/* Stili per il pulsante quando il mouse passa sopra */
.btn-polimi:hover, .eventi:hover .btn-polimi, .news:hover .btn-polimi, .dipartimento:hover .btn-polimi, .dipartimento2:hover .btn-polimi, .today-events-item:hover .btn-polimi {
    width: auto; /* Larghezza del pulsante allungato */
    border-radius: 25px; /* Arrotondamento degli angoli */
    padding: 0 10px; /* Aggiunge padding per contenere testo */
}

/* Mostra il testo e sposta l'icona quando il pulsante è allungato */
.btn-polimi:hover .dashicons-polimi, .eventi:hover .btn-polimi .dashicons-polimi, .news:hover .btn-polimi .dashicons-polimi, .dipartimento:hover .btn-polimi .dashicons-polimi, .dipartimento2:hover .btn-polimi .dashicons-polimi, .today-events-item:hover .btn-polimi .dashicons-polimi {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin-right: 10px;
}

.btn-polimi:hover .btn-text-polimi, .eventi:hover .btn-polimi .btn-text-polimi, .news:hover .btn-polimi .btn-text-polimi, .dipartimento:hover .btn-polimi .btn-text-polimi, .dipartimento2:hover .btn-polimi .btn-text-polimi, .today-events-item:hover .btn-polimi .btn-text-polimi {
    opacity: 1;
    margin-left: 10px;
    margin-right: 5px;
}

.btn-polimi-blue, .btn-polimi-blue .btn-text-polimi {
    background-color: #73A2D1;
    color: #050D17;
}

.btn-polimi-blue a, .btn-polimi-blue a:hover {
    color: #050D17;
}

.btn-polimi-blue .dashicons {
    color: #050D17;
}

.btn-polimi-gray, .btn-polimi-gray .btn-text-polimi {
    background-color: #fff;
    color: #102C53;
}

.btn-polimi-gray a, .btn-polimi-gray a:hover {
    color: #102C53;
}

.btn-polimi-gray .dashicons {
    color: #102C53;
}

/* Versione estesa del pulsante */
.btn-polimi-esteso {
    width: auto; /* Larghezza del pulsante allungato */
    border-radius: 25px; /* Arrotondamento degli angoli */
    padding: 8px; /* Padding per contenere il testo */
}

/* Mostra il testo e sposta l'icona per il pulsante esteso */
.btn-polimi-esteso .dashicons-polimi {
    position: relative;
    left: 0;
    top: 3px;
    transform: none;
    /*margin-right: 10px;*/
}

.btn-text-polimi {
	font-size:14px;
	font-weight:700;
}

.btn-polimi-esteso .btn-text-polimi {
    opacity: 1;
    margin-left: 5px;
    margin-right: 5px;
	white-space: nowrap;
}

.btn-polimi-esteso-blue, .btn-polimi-esteso-blue .btn-text-polimi {
    background-color: #73A2D1;	
    color: #050D17;
	white-space: nowrap;
}

.btn-polimi-esteso-blue a, .btn-polimi-esteso-blue a:hover {
    color: #050D17;
}

.btn-polimi-esteso-blue .dashicons {
    color: #050D17;
}

.btn-polimi-esteso-gray, .btn-polimi-esteso-gray .btn-text-polimi {
    background-color: #fff;
    color: #102C53;
	white-space: nowrap;
}

.btn-polimi-esteso-gray a, .btn-polimi-esteso-gray a:hover {
    color: #102C53;
}

.btn-polimi-esteso-gray .dashicons {
    color: #102C53;
}

.btn-polimi-esteso-transparent, .btn-polimi-esteso-transparent .btn-text-polimi {
    background-color: transparent;
    color: #fff;
	white-space: nowrap;
}

.btn-polimi-esteso-transparent a, .btn-polimi-esteso-transparent a:hover {
    color: #fff;
}

.btn-polimi-esteso-transparent .dashicons {
    color: #fff;
}

.mostra-tutto-btn{	
	display: flex;
	flex-direction: row;
	margin-top: -25px;
	float: right;
}

.btn-video{
	/*top:0!important;*/
}

.btn-news, .btn-eventi, .btn-conferenze{
	top:20px;
}

#topcontrol{
	z-index:100;
}

.back-to-top {
	padding:0;
	background-color: #73A2D1;
	color: #fff;
	border: none;
	border-radius: 50%;
	position: fixed;
	bottom: 20px;
	right: 20px;  
	width: 42px;
	height: 42px;
	overflow: hidden;
	transition: opacity .5s ease,width .5s step-end,height .5s step-end;
	z-index: 10000;  
	cursor:pointer;
}

.back-to-top:hover {
	background-color: #2D5D89;
}

.dipartimento{	
	background:#73A2D1;
	border-radius:6px;
	border:1px solid #CED7DE;
	/*box-shadow:1px 1px 4px #bbb;*/
	max-width:360px;
	margin:0 auto;
	margin-bottom:15px;	
}

.dipartimento a{
	display:block;
}

.dipartimento:hover {  
	background: url("/wp-content/themes/mymate2/images/card-gfx-bg-light-hover.png"),#73A2D1;
	background-position-y: bottom;
	background-position-x: right;
	background-repeat: no-repeat;    
}

.dipartimento2{	
	background: url("/wp-content/themes/mymate2/images/card-gfx-bg-dark.png"),#102c53!important;
	/*background-color: #102c53!important;*/
	background-position-y: bottom!important;
	background-position-x: right!important;
	background-repeat: no-repeat!important;    
	
	border-radius:6px;
	border:1px solid #CED7DE;	
	max-width:360px;	
	margin-bottom:15px;	
}

.dipartimento2 h3{
	color:#fff;
}

.dipartimento2:hover h3{
	color:#102c53;
}

.dipartimento2:hover {  
	background: url("/wp-content/themes/mymate2/images/card-gfx-bg-light-hover.png"),linear-gradient(to bottom, #67B3FF, #385EE4)!important;
	background-position-y: bottom!important;
	background-position-x: right!important;
	background-repeat: no-repeat!important;    
}


.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: .3s opacity;
  transform: translate3d(0,0,0);
  z-index: 10;
}

/******************************/
.card-evento-giorno {
    display: flex;
    flex-direction: column; /* Imposta sempre la colonna */
    width: 100%;
    height: auto; /* Permetti all'altezza di adattarsi al contenuto */
    border-radius: 9px;
    overflow: hidden;
    background: #E7EEF3;
    /*border: 1px solid rgb(187, 197, 207);*/	
}

.card-evento-giorno p{
	margin-bottom:1rem;
}

.card-evento-giorno a{
	text-decoration:none;
}

.card-evento-giorno h3{
	margin-top: .5rem;
	margin-bottom: .5rem;
}

.card-evento-giorno-content, .card-evento-giorno-image {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 100%; /* Assicurati che entrambi occupino tutta la larghezza */
    flex: none; /* Rimuovi la flessibilità */
}

.card-evento-giorno-content{
	padding:10px;
}

.card-evento-giorno-image {
    overflow: hidden;
}

.card-evento-giorno-image img {
    width: 100%;
    height: auto; /* Mantieni proporzioni corrette */
    object-fit: cover;
}

.card-evento-giorno-btn {
	font-family: inherit;
    position: absolute;
    bottom: 20px;   
    padding: 8px 0;
    background-color: transparent;
    color: #102C53;
	font-weight:700;
	font-size:14px;
    border: none;    
    cursor: pointer;  	
}

.card-evento-giorno-btn:hover {
	text-decoration:underline;
}

.card-evento-giorno-btn:focus { 
	outline: 0!important; 
	outline-offset: 0!important;
}

.card-evento-giorno {
	height: auto; /* Altezza flessibile su tutti gli schermi */
}

.card-evento-giorno-image img {
	height: 250px; /* Imposta altezza immagine su schermi piccoli */
}	

	
/*************************************/

.card-ricerca-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card-ricerca {    
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
	background: linear-gradient(135deg, #ffffff 0%,#eeeeee 100%);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-ricerca:hover {
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-ricerca:hover .portrait{		
    transform: scale(1.1); /* Ingrandisce l'immagine senza uscire dai confini */
}

.portrait-container {
    width: 100%;
    height: 220px; /* Altezza fissa per tutte le immagini */
    overflow: hidden; /* Nasconde l'overflow */
    position: relative; /* Necessario per il posizionamento dell'immagine */
}

.portrait {
    width: 100%;
    height: 100%; /* Altezza fissa per tutte le immagini */
    object-fit: cover; /* Ritaglia l'immagine per riempire l'area mantenendo le proporzioni */
    /*border-bottom: 2px solid #216ac9;*/
	transition: transform 1s, opacity 1s; /* Aggiunto per transizione più fluida */
    backface-visibility: hidden;	
}

.card-ricerca-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-ricerca-content h2 {
    margin: 5px 0;
    font-size: 18px;
	line-height:20px;
}

.card-ricerca-content p {
	font-size: 14px;
	line-height:18px;
    margin: 5px 0;
    color: #666;
}

@media(min-width: 768px) {
    .card-ricerca {
        min-height: 300px; /* Altezza minima per garantire uniformità */
    }
}

@media(max-width: 419px) {
    .card-ricerca {
        min-height: 300px; /* Altezza minima per garantire uniformità */
    }
	.portrait-container {
		height: 260px; /* Altezza fissa per tutte le immagini */
	}
}
/*******************************************/

ul.personale {
    list-style: none;
	margin: 0;
	padding: 0;
}

ul.personale li {
	width:100%;
    float: left;
    margin-bottom:12px;
	text-align:left;
	padding:5px;
	/*border-bottom:1px dashed #ccc;*/
	border-bottom:1px solid #ccc;	
}

ul.personale li a:hover span.dashicons{
	text-decoration:none;
}

ul.personale li a:hover i.fas{
	text-decoration:none;
}

ul.pers li {
	width:100%;    
	text-align:left;
	border:none;	
	margin:0;
	font-size:90%;	
}

ul#rassegna_stampa {
    font-size: 16px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none
}

body,ul#rassegna_stampa p {
    margin: 0
}

ul#rassegna_stampa li {
    background-color: rgba(100,120,140,.1);
    border-left: 20px solid rgba(81,184,225,.9);
    display: block;
    padding: 6px 25px;
    margin: 10px;
    text-align: left
}

ul#rassegna_stampa li a:hover,ul#rassegna_stampa li a:link {
    color: #1b7499;
    /*text-decoration: underline!important*/
}

ul#rassegna_stampa li a:hover {
    color: #d96c0b
}

ul#rassegna_stampa li.active,ul#rassegna_stampa li:hover {
    background-color: rgba(81,184,225,.5);
    border-left: 20px solid rgba(255,131,28,.9)
}

#crumbs{
	padding-top: .4rem;
	padding-bottom: .4rem;	
	text-transform:uppercase;
	font-size:12px;	
}

#crumbs a{
	font-weight:700;
	color:#102C53;
	font-size:0.75em;
	text-decoration:none;
	font-size:12px;	
}

#crumbs a:hover{
	color:#2942DB;
}

#crumbs span.current{
	color:#5c6f82;
	font-weight:400;
	font-size:0.75em;
	font-size:12px;	
}

ul#freccia {
    /*list-style-image: url('/images/infinito.gif');*/
    /*padding:10px;*/
    /*margin:20px;*/
	margin: 0;
    padding: 0;
    list-style: none;
}

ul#freccia li, ul#freccia li a {
	margin:0;
    padding:5px 0;
    line-height: 1.4em;
	font-size:18px;
	color:#102c53;
	font-weight:500;
}

ul#freccia li a {
	color:#1C34C8;
	text-decoration:underline;
}

ul#lato {
	margin: 0 0 0 12px;
	padding: 0;
	list-style: none;
}

ul#lato li {
	line-height: 1.4em;
	font-size: 14px;
	color: #102c53;
	font-weight: 700;
	position: relative;
	padding-left: 15px;
	margin: 3px 0;
}

ul#lato li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 1px;
	height: 1em;
	background-color: #E7EEF3;
	transition: background-color 0.3s ease;
}

ul#lato li a {
	display: inline-block;
	padding: 5px 0;
	line-height: 1.4em;
	font-size: 14px;
	color: #102c53;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.3s ease;
}

ul#lato li:hover::before {
	background-color: #2942db;
}

ul#lato li a:hover {
	color: #2942db;
}

@media (max-width: 992px) {
	ul#lato.top{
		display:none;
	}
}

div.tnp-subscription {
  
  max-width: none;
  width: 100%;
  
}

div.blue {
	/*font-family: 'Yanone Kaffeesatz',sans-serif;*/
    margin:0 auto;
    font-size:1.2em;
    letter-spacing:.08em;
    font-weight:300;
	text-align:center;
	color:#fff;    
    padding:12px;
	border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;	
	/*line-height:1.8em;*/
	/*background: #133F63;*/

	/*background: linear-gradient(to right,#133F63 0%,#186eaf 50%,#133F63 100%);*/
	
	/*background-image:url('/images/sfondo_1.png');
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;*/
	background: #32373C;
	
	position:relative;
	text-shadow: 1px 1px 4px #295bb9;
    box-shadow: 1px 1px 4px #666;
}

div.sfondo_dicono_di_noi {
	/*font-family: 'Yanone Kaffeesatz',sans-serif;*/
    margin:0 auto;
    font-size:1.2em;
    letter-spacing:.08em;
    font-weight:300;
	text-align:center;
	color:#fff;    
    padding:12px;
	border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;	
	line-height:1.15em;	
	background-image:url('/images/dicono_di_noi1.png');
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	position:relative;
	text-shadow: 1px 1px 4px #333;
    box-shadow: 1px 1px 4px #666;
}

div.blue a{
	color:#fff;
	display:block;
}


div.blue a:hover{
	color:#fff;
	display:block;
}


div.blue#selected, div.blue:hover {
    /*color: #003366;*/	
    background: #32373C;
	/*background-image:url('/images/sfondo_2.png');*/
	/*text-shadow: 1px 1px 4px #fff;*/    	
}


h3.blue,ul#menu_verticale li {
    background:#0F2C53;
	/*font-family:'Yanone Kaffeesatz',sans-serif;*/    
}

ul#menu_verticale{
	margin:0;
}

ul#menu_verticale li {
    float: left;
    text-align: center;
    box-shadow: 1px 1px 4px #333;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background: -moz-linear-gradient(left,#104b7a 0%,#1a6899 50%,#104b7a 100%);
    background: -webkit-linear-gradient(left,#104b7a 0%,#1a6899 50%,#104b7a 100%);
    background: linear-gradient(to right,#104b7a 0%,#1a6899 50%,#104b7a 100%);
    display: block;
    width: 80px;
    height: 35px;
    margin: 0 .3em .3em 0
}

ul#menu_verticale li a {
    color: #fff;
    display: block;
    line-height: 35px;
    text-decoration: none
}

h3.blue#selected,h3.blue:hover,ul#menu_verticale li.active,ul#menu_verticale li:hover {
    color: #fff;
    background: #0a2d4a;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a2d4a', endColorstr='#0a2d4a',GradientType=1 )
}

ul#menu_verticale li.active,ul#menu_verticale li:hover {
    background: -moz-linear-gradient(left,#0a2d4a 0%,#104c74 50%,#0a2d4a 100%);
    background: -webkit-linear-gradient(left,#0a2d4a 0%,#104c74 50%,#0a2d4a 100%);
    background: linear-gradient(to right,#0a2d4a 0%,#104c74 50%,#0a2d4a 100%)
}

ul#menu_verticale a:hover,ul#menu_verticale li.active a {
    color: #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

input[type="submit"]{
    background-color: #0E4268;
    color: white;
    padding: 9px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    /*float: right;*/
    margin: 5px;
    box-shadow: 1px 1px 4px #333;
}

input[type="text"], input[type="password"], input[type="file"], select, textarea {
    width: 100%;
    padding: 10px 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

.button_blue {
	font-size:.8em;
	background-color: #0E4268;
	color: white !important;
	padding: 9px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	/*float: right;*/
	margin: 5px;	
	font-weight: 300;
	box-shadow: 1px 1px 4px #333;	
}

.button_nav {
	background-color: #73A2D1;  
	padding: 8px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	margin: 0 5px;
	box-shadow: 1px 0px 4px #999;
}

.button {    
    font-family:inherit;
	font-size:1.2em;   
    padding: 12px 20px;
    cursor: pointer;
    overflow: visible;
	font-weight:500;    
	box-shadow: 1px 1px 4px #bbb;
    -webkit-box-shadow: 1px 1px 4px #bbb;
    -moz-box-shadow: 1px 1px 4px #bbb;	
    color: #fff;    
	/*background: #0F2C53;*/
	background:#E7EEF3;	
	border-radius:6px;
	
	
    /*background: -moz-linear-gradient(top,#3d88cb 0%,#0F2C53 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#3d88cb),color-stop(100%,#0F2C53));
    background: -webkit-linear-gradient(top,#3d88cb 0%,#0F2C53 100%);
    background: -o-linear-gradient(top,#3d88cb 0%,#0F2C53 100%);
    background: -ms-linear-gradient(top,#3d88cb 0%,#0F2C53 100%);
    background: linear-gradient(to bottom,#3d88cb 0%,#0F2C53 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d88cb', endColorstr='#0F2C53',GradientType=0 )*/
}

.button-rotondo{
	border-radius: 60px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
}

.button ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

.button ul li{
	padding: 5px 0;	
}

.bordirotondi {
    padding: 0 5px;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #235079
}


.button a,.button_send {
    text-decoration: none;
    color: #fff!important;
}

.button:hover {  	
	background: url("/wp-content/themes/mymate2/images/card-gfx-bg-light.png"),#E7EEF3;
	background-position-y: bottom;
	background-position-x: right;
	background-repeat: no-repeat;	
}

.button-home{
	padding:10px 0;
}

.button-home a{
	color:#102C53!important;
	font-weight:700;
	padding:8px;
}

.button-home a:hover{
	background-color:#E7EEF3;
	border-radius:50px;	
	transition: background-color 0.15s ease-in-out;
}

/**************************************/
.section--event {
  background: url("/wp-content/themes/mymate2/images/bgEvents.png");
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-size: auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /*padding-top: 60px;*/
  padding-bottom: 25px;
}

.section--event .event--title {
  font-size:42px;
  padding-left: 30px;
  padding-bottom: 20px;
  color: #ffffff;
}

#today-events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Spazio tra i div */
    justify-content: center;
    margin: 20px;
}

.today-events-item {
    display: flex;
    align-items: stretch; /* Allinea il contenuto all'interno dei div alla stessa altezza */
    width: 320px; /* Larghezza fissa */
    box-sizing: border-box;
    position: relative; /* Per posizionare il divider */
}

.today-events-content {
    padding: 10px 10px 40px 0;
    /*background-color: #f0f0f0;
    border: 1px solid #ccc;*/
    flex-grow: 1;
}

.today-events-content p{
	margin-bottom: 1em;
}

.today-events-button{
	position: absolute;
	bottom: 0px;
}

.today-events-divider {
    width: 1px;
    background-color: #62AAF2;
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
}

/*
.today-events-item:last-child .today-events-divider {
    display: none; 
}
*/

@media (max-width: 900px) {
    #today-events-container {
        justify-content: center; /* Centra i div su schermi più piccoli */
    }
}

@media (max-width: 600px) {
    .today-events-item {
        width: 100%; /* Una colonna a schermo stretto */
    }

    .today-events-divider {
        display: none; /* Nascondi il divider su una colonna */
    }
}
/*************************************/


.printable {
    display: none;
    position: relative;
    background: #fff;
    padding: 30px;
    width: 85%;
    max-width: 900px;
    margin: 20px auto;
    /*font: 12pt Georgia,"Times New Roman",Times,serif;*/
    line-height: 1.3;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

[class*="_close"]{
	position: absolute; 
	top: 11px;
    right: 20px;
    cursor: pointer;     
}

.stampa {
    position: absolute;
	top: 6px;
    right: 50px;
    cursor: pointer;     
}

#menu_ic li a {
    display: block;
    text-align: center;
    text-decoration: none
}

.metaslider .caption-wrap { 
	background: white!important;
	color: #0F2C53!important;
	text-align:center;  
}

.nav-links{
	margin: 30px 0 50px 0;
}

.nav-links a.page-numbers{
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;   
	text-decoration: none;	
	padding:5px 12px;
	color: #316cc0;
	border:1px solid #ddd;
	background-image: linear-gradient(#fff,#ddd);	
}

.nav-links span.page-numbers.current{
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;   	
	padding:5px 12px;
	border:1px solid #666;
	background: #002f5f;	
	background-image: linear-gradient(#3d88cb,#002f5f);
	color:#fff;
}

.paginat {
    /*text-align: center;*/
    margin: 20px 0;	
}

.paginat li {
    list-style: none;    
	margin:5px 0;
    color: #316cc0;    
	display: inline-block;
	padding: 3px 2px;
}

.paginat li a {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;   
	text-decoration: none;
	/*margin: 4px;*/
	padding:5px 12px;
}

.paginat li a:active,.paginat li a:link,.paginat li a:visited {
    border: 1px solid #cecece;
    background: #fff;
    color: #002f5f;
    background-image: linear-gradient(#fff,#ddd);	
}

.paginat li a:focus,.paginat li a:hover {
    background: #ddd;
    background-image: linear-gradient(#ddd,#fff);
    color: #002f5f
}

.paginat li.hellip {
	margin:10px;
}

.paginat li.current {
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;    
    background: #002f5f;
    background-image: linear-gradient(#3d88cb,#002f5f);
    color: #fff;	
	padding: 6px 13px;
}

.paginat li.disabled {
    color: #d9d9d9;	
	padding:4px 14px;
}

img.arrow{
	opacity:.2;
}

img.arrow:hover{
	opacity: .8;	
}


img.resize {
    width: 100%!important;
    height: auto!important
}

table.perdate td{
	padding:6px;
	font-weight:400;
}

.date,.date p {
    position: relative
}

.date {
    background: #600000;
    background: -moz-linear-gradient(top,#600000 0%,#b20000 100%);
    background: -webkit-linear-gradient(top,#600000 0%,#b20000 100%);
    background: linear-gradient(to bottom,#600000 0%,#b20000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#600000', endColorstr='#b20000',GradientType=0 );
    width: 40px;
    height: 58px;
    top: -2px;
    -webkit-filter: drop-shadow(0 1px 3px rgba(0,0,0,.8));
	font-size:0.9em;
	font-family: Georgia, serif;
	border-radius:3px 3px 0 0;
}

.date p {
    color: #f6f6f6;    
    line-height: 1.2em;
	margin-top:3px;
    text-align: center;
    text-shadow: 1px 1px 3px #530F0F;
}

.date .month {
	position: relative;
    top: 3px;
    display: block;
    font-size: 0.9em;
    text-transform: uppercase;
}

.date .day {
	position: relative;
    top: 2px;
    display: block;
    font-size: 1.3em;	
}

.date .giorno_settimana {
    position: relative;
    top: 2px;
    display: block;
    font-size: .8em;
	text-transform: uppercase;
	letter-spacing: .15em;	
}

.date .anno {
    position: relative;
    /*top: -2px;*/
    display: block;
	font-size: .82em;
    text-transform: uppercase;    
	letter-spacing: .15em;
}

.traditional:after,.traditional:before {
    border-top: 15px solid #ae0000;
    bottom: -13px;
    content: '';
    height: 0;
    position: absolute;
    width: 0;
}

/*
.traditional:hover:after,.traditional:hover:before {
    border-top: 15px solid #0A2D48;
}
*/

.traditional:after {
    border-right: 25px solid transparent;
    left: 0
}

.traditional:before {
    border-left: 25px solid transparent;
    right: 0
}

/*
.date:hover{
	background:#0A2D48;
}
*/

.ai1ec-date {
    max-width: 45px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 1px 1px 4px 0 #666;
    -webkit-box-shadow: 1px 1px 4px 0 #666;
    -moz-box-shadow: 1px 1px 4px 0 #666;
    background: #cfd0f1;
    background: -moz-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#cfd0f1));
    background: -webkit-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: -o-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: -ms-linear-gradient(top,#fff 0%,#cfd0f1 100%);
    background: linear-gradient(to bottom,#fff 0%,#cfd0f1 100%);
    font-family: "Times New Roman"
}

.ai1ec-mese {
    font-size: 1em;
    letter-spacing: .15em;
    padding: .2em;
    text-transform: uppercase
}

.ai1ec-anno,.ai1ec-day,.ai1ec-giorno_settimana,.ai1ec-mese {
    color: #036;
    text-align: center;
    text-shadow: 1px 1px #fff
}

.ai1ec-day {
    letter-spacing: .1em;
    font-size: 1.6em;
    font-weight: 700
}

.ai1ec-anno,.ai1ec-giorno_settimana {
    position: relative;
    top: -1px
}

.ai1ec-giorno_settimana {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8em
}

.ai1ec-anno {
    font-size: .9em;
    letter-spacing: .2em;
    background: #c6c7f0
}

.ai1ec-date-oggi {
    max-width: 45px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: 1px 1px 4px 0 #666;
    -webkit-box-shadow: 1px 1px 4px 0 #666;
    -moz-box-shadow: 1px 1px 4px 0 #666;
    background: #002f5f;
    background: -moz-linear-gradient(top,#3d88cb 0%,#002f5f 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#3d88cb),color-stop(100%,#002f5f));
    background: -webkit-linear-gradient(top,#3d88cb 0%,#002f5f 100%);
    background: -o-linear-gradient(top,#3d88cb 0%,#002f5f 100%);
    background: -ms-linear-gradient(top,#3d88cb 0%,#002f5f 100%);
    background: linear-gradient(to bottom,#3d88cb 0%,#002f5f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d88cb', endColorstr='#002F5F',GradientType=0 );
    font-family: "Times New Roman"
}

.ai1ec-day-oggi,.ai1ec-mese-oggi {
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px #036
}

.ai1ec-mese-oggi {
    padding: .2em;
    text-transform: uppercase;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    font-size: 1em;
    letter-spacing: .15em
}

.ai1ec-day-oggi {
    letter-spacing: .1em;
    font-size: 1.6em;
    font-weight: 700
}

.ai1ec-anno-oggi,.ai1ec-giorno_settimana-oggi {
    position: relative;
    top: -1px;
    color: #fff;
    text-align: center
}

.ai1ec-giorno_settimana-oggi {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .8em;
    text-shadow: 1px 1px #036
}

.ai1ec-anno-oggi {
    font-size: .9em;
    letter-spacing: .2em;
    text-shadow: 1px 1px #333;
    background: #0f3961;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px
}

.ul-eventi ul{
	margin: 0;
	padding: 0;
	list-style: none;
}   

.ul-eventi ul li{
	padding:15px;
	margin:6px 0;	
	border-radius:6px;
	/*border:1px solid #E7EEF3;*/
	/*border-radius:6px;*/
	/*background:#fff;*/
	
} 

.ul-eventi ul li:hover{	
	background: linear-gradient(to top, #fff 30%,rgba(0, 0, 0, 0) 100%);
	/*border:1px solid #ddd;*/
	/*background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);*/
	
	/*transition:all .5s;
	box-shadow:0px 16px 48px 0px rgba(0,0,0,.08)*/
	
	/*background: url("/wp-content/themes/mymate2/images/card-gfx-bg-light.png"),#E7EEF3;*/
	/*background-position-y: bottom;*/
	/*background-position-x: right;*/
	/*background-repeat: no-repeat;*/		
	/*text-decoration:none!important;*/
}

.ul-eventi ul li a{
	color:#333;
}  

.ul-eventi ul li a:hover{
	text-decoration:none!important;
}  


ul#eventi {
	list-style-type: none;
    margin: 0;
	padding: 0;
    font-size: .82em;
    color: #3c6285
}

ul#eventi li {
    line-height: 1.2em;
    text-align: left;
    border-bottom: 1px dashed #999
}

/*
ul#eventi li:nth-child(odd) {
    background-color:rgba(200, 220, 260, 0.1);
}

ul#eventi li:nth-child(even) {
    background-color:rgba(200, 220, 260, 0.3);
}
*/

ul#eventi li:hover{
	background-color:rgba(220, 220, 220, 0.4);
}

ul#pp {
	list-style: none;
    font-size:0.8em;
    padding:0;
	margin:0;
}

ul#pp li {
    float: left;
    margin: 6px 0 auto;
    padding: 16px;
    width: 98%;
    height: auto;
    /*border: 1px solid #ccc;*/
    border-radius: 6px;
    line-height: 1.4em
}

ul#pp li a {
    display: block;
    width: auto
}


.h-left{
	float:left;
	padding: 8px 0;
	/*text-align:center;
	min-width:140px;
	width:40%;*/
}

.h-right{
	float:right;
	padding: 10px 0;
	/*text-align:center;
	min-width:140px;
	width:60%;*/
}

.footer-navigation{
	margin:0 auto;
	font-size:.8em;
}

/**********************/
.main-wrapper{
	width: 100%;	
	padding: 20px 0;
}

.wrapper {
  width: 96%;
  margin:0 auto;  
  text-align: center;
}
.carousel {
  width: 90%;
  margin: 0px auto;
}

.multiple-items {
    visibility: hidden; /* Nasconde l'intero slider */
}
.multiple-items.slick-initialized {
    visibility: visible; /* Mostra lo slider solo dopo l'inizializzazione */
}

.slick-slide {
  margin: 10px;
}

.slick-slide img {
  width: 100%;
  /*border: 2px solid #fff;*/
}

.wrapper .slick-dots li button:before {
  font-size: 20px;
  color: white;
}

.slick-prev {
  left: -35px!important;
}

.slick-prev:before {
  content: "<";
  color: #ddd!important;
  font-size: 30px!important;
}

.slick-next:before {
  content: ">";
  color: #ddd!important;
  font-size: 30px!important;
}


.slick-dots li button::before {
color: #919191 !important;
}


.slick-track
{
    display: flex !important;
}

.slick-slide
{
    height: inherit !important;
	background:#FAFAFA;
}

/*
.cod{
	background-image:linear-gradient(45deg,#89000000,#2d030399), url(/wp-content/themes/mymate2/images/MOX-home.jpg);
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	background-color: rgb(242,179,61);
	border:1px solid #ddd;
	border-radius:4px;	
}
*/



.card-home {
	/* Add shadows to create the "card" effect */
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
	transition: 0.3s; 
	background:#eee;
	//background:url(/wp-content/themes/mymate2/images/img_avatar.png);
	//height:400px;
	//background-position:center!important;
	//background-repeat:no-repeat!important;
	//background-size:cover!important;
}

/* On mouse-over, add a deeper shadow */
.card-home:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
.container {
  padding: 2px 16px;  
}

.card-home {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 3px; /* 3px rounded corners */
}

/* Add rounded corners to the top left and the top right corner of the image */
.card-home img {
  border-radius: 3px 3px 0 0;
}

.btn{
	margin:15px 0;		
}

.btn a{ 
  /*font-family: 'Yanone Kaffeesatz',sans-serif;*/
  color: #fff;
  background-color: #F2B33D;
  border: 1px solid #fff;  
  font-weight:400;
  font-size:1.2em;
  line-height: 125%;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
  padding: 14px 20px;
  position: relative;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  -webkit-transition: all 300ms linear 0ms;
  -khtml-transition: all 300ms linear 0ms;
  -moz-transition: all 300ms linear 0ms;
  -ms-transition: all 300ms linear 0ms;
  -o-transition: all 300ms linear 0ms;
  transition: all 300ms linear 0ms;  
  box-shadow:1px 1px 8px #000;
}

.btn a:hover, .btn-transparent a:hover{ 
  background-color: #000;
  border: 1px solid #F2B33D;    
  color:#F2B33D;
}

.btn-transparent a{ 
  /*font-family: 'Yanone Kaffeesatz',sans-serif;*/
  color: #fff;
  background-color: #1E6EB9;
  border: 1px solid #fff;  
  font-weight:400;
  font-size:1.2em;
  line-height: 125%;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
  padding: 14px 30px;
  position: relative;  
  -webkit-border-radius: 50px;
  -khtml-border-radius: 50px;
  -moz-border-radius: 50x;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  border-radius: 50px;
  -webkit-transition: all 300ms linear 0ms;
  -khtml-transition: all 300ms linear 0ms;
  -moz-transition: all 300ms linear 0ms;
  -ms-transition: all 300ms linear 0ms;
  -o-transition: all 300ms linear 0ms;
  transition: all 300ms linear 0ms;  
  box-shadow:1px 1px 8px #000;
}

.vertical-menu {
    width: 100%;
    margin-top: 20px;
	margin-bottom: 20px;
}

.vertical-menu div {    
	/*margin-top: 10px;
	margin-bottom: 10px;*/
}

.vertical-menu a {    
    color: #333; 
	font-weight:600;
    /*display: block;*/
    /*padding: 12px; */
    text-decoration: none;
	
}

.vertical-menu a:hover {
    background-color: #f5f5f5; 
	border-radius:3px;
}

/************************/
/************************/
#slider {
	position: relative;
	margin: 74px auto;
}

#slider-core {
	position: relative;
	margin: 0 auto;
}

#slider .slides {
	height: 0;
	margin: 0;
}

#slider ul.slides, #slider ul.rslides_tabs {
	/*margin:0 0 10px 0;*/
	margin:0;
	padding:0;
	list-style: none;	
}

#slider .rslides {
	margin: 0;
	overflow: hidden;
}

#slider .rslides li {
	width: 100%;
}

#slider .rslides img {
	width: 100%;
}

#slider .rslides-inner {
	position: relative;
	/*width: 1140px;*/
	max-width: 100%;
	margin: 0 auto;
	border: 0;
	overflow: hidden;
	/*height:500px;*/
}

#slider .rslides-inner li {
	height: auto;
	list-style: none;
}


#slider .rslides-container {
	padding: 6px 0;
	margin: 0 0 20px 0;	
}

/*
#slider a.rslides_nav.prev {
	left: -60px;
}

#slider a.rslides_nav.next {
	right: -60px;
}
*/

#slider .rslides_nav {
	position: absolute;
	-webkit-tap-highlight-color: transparent;
	top: 50%;
	left: 0;
	z-index: 100;	
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
	height: 42px;
	width: 42px;
	background: url('/wp-content/themes/mymate2/images/themes.png') no-repeat left top;  
	opacity: .1;
	margin-top: -21px;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
}

#slider .rslides_nav.next {
	left: auto;
	background-position: right top;
	right: 0;
}

#slider .rslides_nav:active, #slider .rslides_nav:hover {
    opacity: 1;	
}

/*
#slider .rslides-inner:hover a.rslides_nav.prev {
	left: 0px;
}

#slider .rslides-inner:hover a.rslides_nav.next {
	right: 0px;
}
*/

/*
#slider a.rslides_nav .prev {
	left: -60px;
}

#slider a.rslides_nav .next {
	right: -60px;
}


#slider .rslides_nav {
	position: absolute;
	-webkit-tap-highlight-color: transparent;
	top: 50%;
	left: 0;
	z-index: 9999;	
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
	height: 42px;
	width: 42px;
	background: url('/wp-content/themes/mymate2/images/themes.png') no-repeat left top;  
	opacity: .1;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;	
}

#slider .rslides_nav .next {
	left: auto;
	background-position: right top;
	right: 30px;
}

#slider .rslides_nav:active, #slider .rslides_nav:hover {
    opacity: .6;
}
*/

/*
#slider .rslides-inner:hover a.rslides_nav .prev {
	left: 0px;
}

#slider .rslides-inner:hover a.rslides_nav .next {
	right: 0px;
}
*/

/*
.rslides_tabs {
    position: relative;
    height: 20px;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: center;
    display: block;
    z-index: 99;
}

.rslides_tabs li {
    display: inline;
    float: none;
    _float: left;
    *float: left;
    margin-right: 5px;
}

.rslides_tabs a {
    text-indent: -9999px;
    overflow: hidden;
    border-radius: 15px;
    background: #ccc;
    background: rgba(0,0,0,.2);
    display: inline-block;
    _display: block;
    *display: block;
    box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -webkit-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -moz-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    width: 15px;
    height: 15px;
    margin-top: 8px
}

.rslides_here a {
    overflow: hidden;
    border-radius: 15px;
    background: #ddd;
    background: #3883c8;
    display: inline-block;
    _display: block;
    *display: block;
    width: 15px;
    height: 15px
}
*/


#slider .rslides_tabs {	
	text-align:center;
	width:100%;	
	height:38px;
	background:none;
}

#slider .rslides_tabs li {
	list-style: none;
	margin: 0 5px;	
	display: inline-block;
	zoom: 1;
}

#slider .rslides_tabs a {
	text-indent: -9999px;
    overflow: hidden;
    border-radius: 15px;
    background: #ccc;
    background: rgba(0,0,0,.2);
    display: inline-block;
    _display: block;
    *display: block;
    box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -webkit-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -moz-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    width: 15px;
    height: 15px;
    margin-top: 8px;
	padding: 0;
}

#slider .rslides_tabs li a:hover, #slider .rslides_tabs li.rslides_here a{
	background: #0F2C53;
}


/* Vary style for full-width and boxed slider 
.layout-boxed #slider .rslides-content,
.custom-background #slider .rslides-content,
.slider-boxed #slider .rslides-content {
	padding: 0 80px;
}
.slider-boxed #slider {
	margin-top: 30px;
}
.slider-boxed #slider .rslides-inner {
	width: 1130px;
}
.slider-boxed #slider .rslides-inner {
	-webkit-box-shadow: 0 0 0 5px #FFF, 0 0 0 6px #DDD;
	-moz-box-shadow: 0 0 0 5px #FFF, 0 0 0 6px #DDD;
	-o-box-shadow: 0 0 0 5px #FFF, 0 0 0 6px #DDD;
	box-shadow: 0 0 0 5px #FFF, 0 0 0 6px #DDD;
}
.slider-full #header-core {
	max-width: 1140px; 
}
.slider-full #header-links {
	border-bottom: none;
}
.slider-full #slider  .rslides-inner {
	width: 100%;
	position: relative;
}
.slider-full #slider .rslides-container {
	padding: 0;
}
*/

#slider .rslides-content {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	padding: 0 20px;
	/*border:1px solid red;*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

#slider .rslides-content-inner {
	display: table;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

#slider .featured {
	/*font-family: 'Yanone Kaffeesatz',sans-serif;*/
    position: absolute;
    left: 50%;
    /*top: 5%;*/
	top:20%;
    transform: translate(-50%, -50%);
    /*padding: 50px;*/
    /*width: 80%;*/
	text-align:center;
	width:100%;
	/*height: 30%;*/
    /*background: rgba(0, 0, 0, 0.5);*/	
}

.featured div.featured-title {	
	font-size: 2.8em;
	font-weight: 500;
	/*color: #0F2C53;*/
	line-height: 1em;
	text-align:center;
	/*text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;*/	
}

.featured div.featured-excerpt {
	/*margin-top: 15px;*/
	font-size: 2.2em;
	font-weight: 300;
	/*color: #fff;*/
	line-height: 1em;
	text-align:center;
	/*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/	
}

/*
.featured-button{
	margin-top:10px;
}
*/

/* Slider - Parallax 
#slider img.slider-parallax { 
	background-attachment: fixed !important;
}	
*/	

#slider .rslides-inner {	  
  width: 100%;	 
}		

/*
#slider .rslides, #slider .rslides li { height: 400px; max-height: 400px; }
#slider .rslides img{ height: 100%; max-height: 400px; }
*/

#slider .rslides, #slider .rslides li { height: 700px; max-height: 700px; }
#slider .rslides img{ height: 100%; max-height: 700px; }

/*******************/

.chi_siamo_rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  box-shadow: 2px 2px 6px #666;
  }

.chi_siamo_rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.chi_siamo_rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.chi_siamo_rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

/*******************/

.dipartimento_rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.dipartimento_rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.dipartimento_rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.dipartimento_rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

/***************************/

.laboratori_rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.laboratori_rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.laboratori_rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}

.laboratori_rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

/****************************/

.gruppi_rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.gruppi_rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.gruppi_rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.gruppi_rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

.gruppi_rslides .caption{	
  text-align: center;
  position: absolute;
  bottom: 0;
  background: #4a4a4ac4;
  color: #fff;
  overflow: hidden;
  width: 100%;
  padding: 5px;  
  margin: 5px 0;
}

.myrslides_tabs {
    position: relative;
    height: 20px;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: center;
    display: block;
    z-index: 99;
}

.myrslides_tabs li {
    display: inline;
    float: none;
    _float: left;
    *float: left;
    margin-right: 5px;
}

.myrslides_tabs a {
    text-indent: -9999px;
    overflow: hidden;
    border-radius: 15px;
    background: #ccc;
    background: rgba(0,0,0,.2);
    display: inline-block;
    _display: block;
    *display: block;
    box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -webkit-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -moz-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    width: 15px;
    height: 15px;
    margin-top: 8px
}

.myrslides_here a {
    overflow: hidden;
    border-radius: 15px;
    background: #ddd;
    background: #3883c8;
    display: inline-block;
    _display: block;
    *display: block;
    width: 15px;
    height: 15px
}


.myrslides_nav {
	display:inline-block;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    bottom: 60px;
    left: 10px;
    z-index: 99;
    opacity: 1;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 42px;
    width: 42px;
   	background: url('/wp-content/themes/mymate2/images/themes.png') no-repeat left top;  
    /*margin-top: -21px;*/
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
}

.myrslides_nav:active, .myrslides_nav:hover {
    opacity: .6
}

.myrslides_nav.next {
    left: 10px;
    background-position: right top;
    right: 0
}

.gruppi-di-ricerca ul{
	list-style: none;
	margin:0;
}

.gruppi-di-ricerca ul li{
	display:inline-block;
	vertical-align:top;
	border:1px solid #ddd;
	border-radius:3px;
	padding: 20px 0;
	margin:5px 3px;
	width:220px;
	height:140px;	
}

.gruppi-di-ricerca ul li:hover{
	background:#eee;
}

.gruppi-di-ricerca ul li a:hover span.dashicons{
	text-decoration:none;
}

/*
.myrslides_tabs {
    position: relative;
    height: 20px;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: center;
    display: block;
    z-index: 99;
}

.myrslides_tabs li {
    display: inline;
    float: none;
    _float: left;
    *float: left;
    margin-right: 5px;
}

.myrslides_tabs a {
    text-indent: -9999px;
    overflow: hidden;
    border-radius: 15px;
    background: #ccc;
    background: rgba(0,0,0,.2);
    display: inline-block;
    _display: block;
    *display: block;
    box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -webkit-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    -moz-box-shadow: inset 2px 2px 2px 0 rgba(0,0,0,.3);
    width: 15px;
    height: 15px;
    margin-top: 8px
}

.myrslides_here a {
    overflow: hidden;
    border-radius: 15px;
    background: #ddd;
    background: #3883c8;
    display: inline-block;
    _display: block;
    *display: block;
    width: 15px;
    height: 15px
}

.myrslides_nav {
	display:inline-block;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    bottom: 60px;
    left: 10px;
    z-index: 99;
    opacity: 1;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 42px;
    width: 42px;
   	background: url('/wp-content/themes/mymate2/images/themes.png') no-repeat left top;    
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
}

.myrslides_nav:active, .myrslides_nav:hover {
    opacity: .6
}

.myrslides_nav.next {
    left: 10px;
    background-position: right top;
    right: 0
}
*/


/******************/
/*Gruppi di ricerca*/
/*Posizioni Aperte*/
/********************/
ul.child-nav__list{
	margin: 0 0 0 0;
	padding: 0 .5em 2em .5em;
}


.child-nav__list {
  display: flex;
  flex-flow: column wrap;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .child-nav__list {
    flex-direction: row;
  }
}

@media only screen and (min-width: 768px) {
  .child-nav__list .child-nav__item {
    /*margin-right: 1rem;*/
    width: calc(50% - 0.5rem);
  }
}

.child-nav__list a:hover{text-decoration:none!important;}

.child-nav__link {
  border-bottom: solid 1px rgba(34,34,34,.2);
  display: block;
  max-width: 90%;
  position: relative;
  width: 95%;
}

.child-nav__item {	
  break-inside: avoid-column;
  display: flex;
}

.child-nav__item-link {
  align-items: flex-start;
  color: #333;
  display: flex;
  height: 100%;
  padding: .75rem 2.25rem .75rem 1rem;
  position: relative;
  transition: all 80ms cubic-bezier(0.42, 0, 0.58, 1);
}

.child-nav__item-text {
  width:100%;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-pack: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  max-height: 4.5rem;
  min-height: 1.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.material-icons{
	align-self: center;	
	right: 0;	
}

.material-icons:hover, .select{		
	background-color:rgba(120,120,120,.15);
	border-radius:3px;
}
/*************************/

.testo-mate{
	height:75px;
	width:300px;
}
@media only screen and (min-width: 0px) and (max-width: 360px) {
	.testo-mate{		
		width:220px;
	}
}
@media only screen and (min-width: 361px) and (max-width: 368px) {
	.testo-mate{		
		width:250px;
	}
}
@media only screen and (min-width: 369px) and (max-width: 409px) {
	.testo-mate{		
		width:260px;
	}
}
@media only screen and (min-width: 410px) and (max-width: 768px) {
	.testo-mate{		
		width:300px;
	}
}

@media only screen and (min-width: 0px) and (max-width: 414px) {	
	#slider .featured{
		/*top:17px;*/
		/*left:5px;*/
		width:100%;
	}
	
	.featured div.featured-title {	
		font-size: 1rem;		
		line-height: 1.2rem;	
		
	}
	.featured div.featured-excerpt {		
		font-size: .9rem;			
		line-height: .9rem;	
		
	}
	
	.featured-button{
		margin-top:5px;
	}
	
	.wp-block-button{
		font-size:.8em;
		padding:3px;
	}	
}

@media only screen and (min-width: 415px) and (max-width: 769px) {
	
	#slider .featured{
		/*top:10px;*/
		/*left:5px;*/
	}
	
	.featured div.featured-title {	
		font-size: 1.5rem;			
		line-height: 1.5rem;		
		
	}
	.featured div.featured-excerpt {		
		font-size: 1.1rem;			
		line-height: 1.1rem;			
		
	}
	
	.btn{
		margin:5px 0;		
	}

	.btn a{ 	  
	  font-size:1em;
	  line-height: 125%;	  
	  padding: 10px 15px;	 
	}

	
}

@media only screen and (min-width: 770px) and (max-width: 810px) {
	
	#slider .featured{
		/*top:10px;*/
		/*left:5px;*/
	}
	
	.featured div.featured-title {	
		font-size: 2.3rem;			
		line-height: 1.98rem;	
		
	}
	.featured div.featured-excerpt {		
		font-size: 2rem;			
		line-height: 2.2rem;		
	}
	
	.btn{
		margin:5px 0;		
	}

	.btn a{ 	  
	  font-size:1em;
	  line-height: 125%;	  
	  padding: 10px 15px;	 
	}
}

/*
@media only screen and (max-width: 1140px) {
	#slider .rslides-content {
		padding: 0 50px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		-o-box-sizing: border-box;
		box-sizing: border-box;
	}	
}

@media only screen and (max-width: 768px) {
	
	#slider .featured-title span {
		font-size: 2.6rem !important;
	}
	#slider .featured-excerpt span {	
		font-size: 2rem !important;
		line-height: 1rem !important;
	}
	#slider .featured-link a {
		font-size: 12px !important;
		padding: 5px 10px !important;
	}

	
	#slider .videoBG video, .thinkupslider-sc .videoBG video {
		top: -25% !important;
	}
}

@media only screen and (max-width: 685px) {
	
	#slider .featured-title,
	.thinkupslider-sc .featured-title {
		margin-bottom: 15px !important;
	}
	#slider .featured-excerpt,
	.thinkupslider-sc .featured-excerpt {
		display: none !important;
	}
}

@media only screen and (max-width: 568px) {	
	
	#slider,
	.thinkupslider-sc {
		text-align: center  !important;
	}
	#slider .featured-title span,
	.thinkupslider-sc .featured-title span {
		font-size: 20px  !important;
	}
	#slider .featured-video,
	.thinkupslider-sc .featured-video {
		display: none  !important;
	}
	#slider .featured-link,
	.thinkupslider-sc .featured-link {
		margin-top: 0 !important;
	}	
}
*/

/**************************************************/
/**************************************************/



/*slideshow
.my-settings{
	height:700px;
	background-position:top!important;
	background-repeat:no-repeat!important;
	background-size:cover!important;
}

@media only screen and (min-width: 0) and (max-width: 412px) {
	.my-settings{		
		height:200px;
	}	
	
	.stack-top {
	  position: absolute;
	  left: 10px;
	  top: 40%;
	}	
	
	div.caption div.title{
		font-size:2rem;
		line-height:1.8rem;
	}
	div.caption div.commento{
		margin-top:5px;
		font-size:1.4rem;
		line-height:1.3rem;
	}
	div.caption div.btn{
		margin-top:5px;
	}
	div.caption div.btn a{		
		padding:4px 8px;
		font-size:75%!important;
	}
	
}
@media only screen and (min-width: 413px) and (max-width: 800px) {
	.my-settings{		
		height:394px;
	}	
	
	.stack-top {
	  position: absolute;
	  left: 10px;
	  top: 20%;
	}		
	
	div.caption div.title{
		font-size:2.8rem;
		line-height:2.4rem;
	}
	div.caption div.commento{
		margin-top:10px;
		font-size:2.8rem;
		line-height:2.4rem;
	}
	div.caption div.btn{
		margin-top:10px;
	}
	div.caption div.btn a{		
		padding:7px 12px;
		font-size:90%!important;
	}	
}
@media only screen and (min-width: 801px) and (max-width: 1024px) {
	.my-settings{		
		height:551px;
	}
}
*/


/*****************************************/
.hero {
  height: 65vh;
  position: relative;
  background-color: #fff;
  overflow: hidden;
  font-family: Manrope,sans-serif;
  font-style: normal;
}
/*
.hero {
  height: 50vh;
  position: relative;
  background-color: #fff;
  overflow: hidden;
  font-family: Manrope,sans-serif;
  font-style: normal;
}
*/

/***************************************************/
/******* video **********/
/***************************************************/

.hero.video {
  margin-top: 55px;
}

/* sopra 992px l'immagine viene nascosta*/ 
@media (min-width: 992px) {
  .video .hero__background-image img {
    display:none!important;
  }   
}

/*sotto 992px il video viene nascosto*/
@media (max-width: 992px) {
  .video .hero__background-image iframe {
    display:none!important;
  }   
}

@media (min-width: 576px) {
  .hero {
    /*height: 85vh;*/
	height: 78vh;
  }
}

@media (min-width: 992px) {
  .hero--page-first-level .hero__background-image, .hero--page-zero-level .hero__background-image {
    height: 100%;
  }
}

.hero--page-first-level .hero__background-image, .hero--page-zero-level .hero__background-image {
  height: 80%;
}

.hero--page .hero__background-image {
  width: 100%;
  object-fit: cover;
}

iframe {
  border: 0;
}

.hero__overlay {
	position: absolute;
	top: 50%;	
}

/*
.hero.video .hero__overlay {
  background: linear-gradient(to top, #fff 2.74%, rgba(255, 255, 255, 0) 60.44%);
}
*/

@media (min-width: 992px) {
  .hero--page-first-level .hero__overlay, .hero--page-zero-level .hero__overlay {
    background: linear-gradient(to top, #fff 2.74%, rgba(255, 255, 255, 0) 70.44%);
  }
}

.hero--page-first-level .hero__overlay, .hero--page-zero-level .hero__overlay {
  background: linear-gradient(to top, #fff 35.85%, rgba(255, 255, 255, 0) 83.48%);
}

.hero--page .hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
/*
@media (max-width: 379px) {
  .hero--page-zero-level .hero__overlay__content {
	flex-direction: row;
    position: relative;
    width: 100%;
    padding-right: unset;
	position: relative;
	bottom: 280px;
  }
}
*/

@media (min-width: 325px) {
  .hero--page-zero-level .hero__overlay__content {
	flex-direction: row;
    position: relative;
    /*width: 65vw;*/
	width: 100%;
    padding-right: unset;
	position: relative;
	/*bottom: 180px;*/
  }
}

@media (min-width: 325px) {
  .hero__overlay .myslide{
	/*bottom: 20px;*/
  }
}

@media (min-width: 992px) {
  .hero--page-zero-level .hero__overlay__content {    
	top:0;
  }
}

@media (min-width: 1200px) {
  .hero--page-zero-level .hero__overlay__content {
    top:-120px;
  }
}

@media (min-width: 1400px) {
  .hero--page-zero-level .hero__overlay__content {
    top:-120px;
  }
}

.hero--page .hero__overlay__content {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 94px;
  background: rgba(0,0,0,0);
}

/*
.ToastBase_module_toast__a4511d95.TopCenterActionItems_module_topCenterActionItems__cde6f652 {
  opacity: 0;
}
*/

h1 i, h2 i, h3 i, h4 i, h5 i, h6 i, .h1 i, .h2 i, .h3 i, .h4 i, .h5 i, .h6 i {
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0,0,0,0);
  background-clip: text;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.bg-special, .header .header__nav .navbar .navbar-nav .nav-item .dropdown-menu .explore .explore__title em, h1 i, h2 i, h3 i, h4 i, h5 i, h6 i, .h1 i, .h2 i, .h3 i, .h4 i, .h5 i, .h6 i {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-special-rgb), var(--bs-bg-opacity)) !important;
}

.bg-special, .header .header__nav .navbar .navbar-nav .nav-item .dropdown-menu .explore .explore__title em, h1 i, h2 i, h3 i, h4 i, h5 i, h6 i, .h1 i, .h2 i, .h3 i, .h4 i, .h5 i, .h6 i, .btn-special, .badge-special, .alert-primary {
  background-image: linear-gradient(72deg, #2942db 6.74%, #67b3ff 82.36%);
}

.hero--page .hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.hero__overlay__content .title, .hero--page-zero-level .hero__overlay__content .title {
  color: #102c53;
  font-weight: 700;
  line-height: 112.9%;
  letter-spacing: -0.8px;
}

.hero__overlay__content h1.title{
	font-family:Manrope,sans-serif;
	font-size:5.4em;
}

h2.title a{
	color: #102c53;
}

.paragraph{
	margin-top:60px;
}

.paragraph p {
  margin-bottom: 1.225em;
}

.paragraph p.text-bold{
	font-size:18px;
	font-weight:700;
	color:#102C53;
}

.paragraph p.text-comment{
	font-size:18px;
	font-weight:500;
	color:#102C53;
}

@media (max-width: 500px) {
	#slider{
		margin: 0 auto;
		/*border:1px solid red;*/
	}	
	#slider .rslides, #slider .rslides li { height: 500px!important; max-height: 500px!important; }
	#slider .rslides img{ height: 100%; max-height: 500px!important; }	
}

@media (max-width: 768px) {
	.hero__overlay__content .title{		
		font-size:32px!important;
	}
	
	.paragraph p.text-bold{
		font-size:18px;
		line-height:22px;
		font-weight:700;
		color:#102C53;
	}
	
	.paragraph p.text-comment{
		font-size:18px;
		line-height:22px;
		font-weight:500;
		color:#102C53;
	}
	#slider .rslides, #slider .rslides li { height: 800px; max-height: 800px; }
	#slider .rslides img{ height: 100%; max-height: 800px; }		
}

@media (max-width: 992px) {	

	.hero--page-zero-level .hero__overlay__content .title {
		width: 100%;
		font-size: 62px;
	}
	.paragraph p.text-bold{
		font-size:18px;
		line-height:22px;
		font-weight:700;
		color:#102C53;
	}	
	.paragraph p.text-comment{
		font-size:18px;
		line-height:22px;
		font-weight:500;
		color:#102C53;
	}
	#slider .rslides, #slider .rslides li { height: 650px; max-height: 650px; }
	#slider .rslides img{ height: 100%; max-height: 650px; }
}

@media (min-width: 992px) {
	.slide-paragraph{
		padding-top:180px;
	}
}

/*
@media (max-width: 768px) {
    .hero__overlay__content {
        padding: 10px;
        text-align: center;
    }

    .hero__overlay__content h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }

    .hero__overlay__content .paragraph {
        font-size: 1rem;
        padding: 10px;
    }

    .btn-polimi-esteso {
        width: 100%;
        display: block;
        text-align: center;
        font-size: 0.9rem;
        padding: 10px;
    }

    .rslides-inner {
        max-width: 100%;
        overflow: hidden;
    }

    .hero__background-image {
        aspect-ratio: 16 / 9;
        width: 100%;
        height: auto;
    }

    .hero img, .hero iframe {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}
*/

/*
@media (min-width: 992px) {
	.hero__overlay__content{
		position: absolute;
		top: 0px;
	}	
}
*/

/*
@media (max-width: 1400px) {
	.hero__overlay__content{
		position: absolute;
		top: 0px;
	}
}
*/

/*
@media (max-width: 1112px) {
	h1.title{
		font-family: Manrope,sans-serif;
		font-size:3.4em;"
	}	
	.hero__overlay__content{
		top: 90px;
	}		
	.hero__overlay__content [class*="col-"] {		
		padding: 0 15px;
	}
	.paragraph{
		margin-top:20px;
	}
	hero__overlay__content{
		top:10px;
	}
}
*/

.pre-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
  padding-left: 14px;
  border-left: 1px solid #73A2D1;
  /*color: #73A2D1;*/
  color:#2942db;
  letter-spacing: unset;
}

/****************************************************/

@media (min-width: 992px) {
  .hero--page-second-level {
    height: 570px;
    margin-top: unset;
  }
}

.hero--page .hero__background-image{
    width:100%;
    object-fit:cover
}
.hero--page .hero__background-image-fallback{
    height:100%;
    width:auto;
    object-fit:cover
}
.hero--page .hero__overlay{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    display:flex;
    flex-direction:column;
    justify-content:end
}
.hero--page .hero__overlay__content{
    width:100%;
    height:fit-content;
    display:flex;
    flex-direction:column;
    gap:12px;
    padding-left:12px;
    padding-right:12px;
    padding-bottom:12px;
    background:rgba(0,0,0,0)
}
.hero--page .hero__overlay__content>*{
    margin:0
}
.hero--page-first-level .hero__background-image,.hero--page-zero-level .hero__background-image{
    height:80%
}
.hero--page-first-level .hero__background-image-fallback,.hero--page-zero-level .hero__background-image-fallback{
    height:80%;
    width:auto;
    object-fit:cover;
    transform:translateX(-25%)
}
.hero--page-first-level .hero__overlay,.hero--page-zero-level .hero__overlay{
    background:linear-gradient(to top, #fff 35.85%, rgba(255, 255, 255, 0) 83.48%)
}
.hero--page-first-level .hero__overlay__content .pre-title,.hero--page-zero-level .hero__overlay__content .pre-title{
    color:#2942db;
    line-height:160%;
    padding-left:0;
    border-left:none
}
.hero--page-first-level .hero__overlay__content .title,.hero--page-zero-level .hero__overlay__content .title{
    color:#102c53;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.8px
}
.hero--page-first-level .hero__overlay__content .paragraph,.hero--page-zero-level .hero__overlay__content .paragraph{
    color:#102c53;
    font-size:14px
}
.hero--page-first-level.hero--long-text .title,.hero--page-zero-level.hero--long-text .title{
    font-size:24px;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.48px
}
@media(min-width: 992px){
    .hero--page-first-level .hero__background-image,.hero--page-zero-level .hero__background-image{
        height:100%
    }
    .hero--page-first-level .hero__background-image-fallback,.hero--page-zero-level .hero__background-image-fallback{
        height:100%;
        width:auto;
        object-fit:cover;
        transform:unset
    }
    .hero--page-first-level .hero__overlay,.hero--page-zero-level .hero__overlay{
        background:linear-gradient(to top, #fff 2.74%, rgba(255, 255, 255, 0) 70.44%)
    }
    .hero--page-first-level .hero__overlay__content .pre-title,.hero--page-zero-level .hero__overlay__content .pre-title{
        line-height:90%
    }
    .hero--page-first-level .hero__overlay__content .title,.hero--page-zero-level .hero__overlay__content .title{
        font-size:62px;
        font-weight:700;
        line-height:112.9%;
        letter-spacing:-1.08px;
        width:75%
    }
    .hero--page-first-level .hero__overlay__content .paragraph,.hero--page-zero-level .hero__overlay__content .paragraph{
        font-size:18px;
        width:75%
    }
    .hero--page-first-level .hero__overlay__content h2.title,.hero--page-zero-level .hero__overlay__content h2.title{
        font-size:62px
    }
    .hero--page-first-level .hero__overlay__content h3.title,.hero--page-zero-level .hero__overlay__content h3.title{
        font-size:40px
    }
    .hero--page-first-level .hero__overlay__content h4.title,.hero--page-zero-level .hero__overlay__content h4.title{
        font-size:32px
    }
    .hero--page-first-level.hero--long-text .title,.hero--page-zero-level.hero--long-text .title{
        font-size:62px;
        letter-spacing:-0.8px;
        width:75%
    }
    .hero--page-first-level.hero--long-text .paragraph,.hero--page-zero-level.hero--long-text .paragraph{
        width:75%
    }
}

.hero--page-second-level .hero__overlay__content .pre-title {
  color: #102c53;
  line-height: 160%;
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  padding-left: 0;
  border-left: none;
}

.hero--page-second-level .hero__background-image{
    width:100%;
    height:100%
}
.hero--page-second-level .hero__background-image>img{
    width:100%;
    height:100%;
    object-fit:cover
}
.hero--page-second-level .hero__overlay{
    background:linear-gradient(to top, #fff 25.74%, rgba(255, 255, 255, 0))
}
.hero--page-second-level .hero__overlay__content .pre-title{
    color:#102c53;
    line-height:160%;
    text-decoration:none;
    display:flex;
    gap:8px;
    align-items:center;
    width:fit-content;
    padding-left:0;
    border-left:none
}
.hero--page-second-level .hero__overlay__content .pre-title::before{
    font-family:"icomoon";
    speak:none;
    font-style:normal;
    font-weight:normal;
    font-variant:normal;
    text-transform:none;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:8px;
    width:16px;
    height:16px;
    color:#2942db
}
.hero--page-second-level .hero__overlay__content .title{
    color:#102c53;
    font-size:40px;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.8px
}
.hero--page-second-level .hero__overlay__content .paragraph{
    color:#102c53;
    font-size:14px
}
.hero--page-second-level .hero__overlay__content>*{
    margin:0
}
.hero--page-second-level.hero--long-text .title{
    font-size:24px;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.48px
}
@media(min-width: 992px){
    .hero--page-second-level{
        height:570px;
        margin-top:unset
    }
    .hero--page-second-level .hero__overlay{
        background:linear-gradient(to right, rgba(255, 255, 255, 0.9) -8%, rgba(255, 255, 255, 0.75) 35%, rgba(255, 255, 255, 0) 55%);
        justify-content:center
    }
    .hero--page-second-level .hero__overlay__content{
        padding-right:40%;
        padding-bottom:0;
        padding-top:10%;
        gap:0
    }
}
@media(min-width: 992px)and (min-width: 1920px){
    .hero--page-second-level .hero__overlay__content{
        padding-right:0%
    }
}
@media(min-width: 992px){
    .hero--page-second-level .hero__overlay__content .pre-title{
        line-height:90%;
        margin-bottom:15px
    }
    .hero--page-second-level .hero__overlay__content .title, .title a{
        font-size:62px;
        font-weight:700;
        line-height:112.9%;
        letter-spacing:-1.24px;
        margin-bottom:24px
    }
    .hero--page-second-level .hero__overlay__content .paragraph{
        font-size:18px
    }
    .hero--page-second-level .hero__overlay__content h2.title{
        font-size:62px
    }
    .hero--page-second-level .hero__overlay__content h3.title{
        font-size:40px
    }
    .hero--page-second-level .hero__overlay__content h4.title{
        font-size:32px
    }
    .hero--page-second-level.hero--long-text .title{
        font-size:62px;
        letter-spacing:-0.8px
    }
}

@media (min-width: 992px) {
  .hero--page-second-level .hero__overlay {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) -8%, rgba(255, 255, 255, 0.75) 35%, rgba(255, 255, 255, 0) 55%);
    justify-content: center;
  }
}

.hero--page-third-level{
    height:311px
}
.hero--page-third-level .hero__background-image{
    width:100%;
    height:100%
}
.hero--page-third-level .hero__background-image>img{
    background-color:#102c53;
    width:100%;
    height:100%;
    object-fit:cover
}
.hero--page-third-level .hero__overlay{
    background:rgba(0,0,0,0)
}
.hero--page-third-level .hero__overlay__content .pre-title{
    color:#fff;
    line-height:160%;
    text-decoration:none;
    display:flex;
    gap:8px;
    align-items:center;
    width:fit-content;
    padding-left:0;
    border-left:none
}
.hero--page-third-level .hero__overlay__content .pre-title::before{
    font-family:"icomoon";
    speak:none;
    font-style:normal;
    font-weight:normal;
    font-variant:normal;
    text-transform:none;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:8px;
    width:16px;
    height:16px;
    color:#67b3ff
}
.hero--page-third-level .hero__overlay__content .title{
    color:#fff;
    font-size:40px;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.8px
}
.hero--page-third-level .hero__overlay__content .paragraph{
    color:#fff;
    font-size:14px
}
.hero--page-third-level .hero__overlay__content>*{
    margin:0
}
.hero--page-third-level.hero--long-text .title{
    font-size:24px;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.48px
}
@media(min-width: 992px){
    .hero--page-third-level{
        height:570px;
        margin-top:unset
    }
    .hero--page-third-level .hero__overlay{
        background:rgba(0,0,0,0);
        justify-content:center
    }
    .hero--page-third-level .hero__overlay__content{
        padding-bottom:0;
        padding-top:10%;
        gap:0
    }
    .hero--page-third-level .hero__overlay__content .pre-title{
        line-height:90%;
        margin-bottom:15px
    }
    .hero--page-third-level .hero__overlay__content .title{
        font-size:62px;
        font-weight:700;
        line-height:112.9%;
        letter-spacing:-1.24px;
        margin-bottom:24px
    }
    .hero--page-third-level .hero__overlay__content .paragraph{
        font-size:18px
    }
    .hero--page-third-level .hero__overlay__content h2.title{
        font-size:62px
    }
    .hero--page-third-level .hero__overlay__content h3.title{
        font-size:40px
    }
    .hero--page-third-level .hero__overlay__content h4.title{
        font-size:32px
    }
    .hero--page-third-level.hero--long-text .title{
        font-size:62px;
        letter-spacing:-0.8px
    }
}
.hero--page-fourth-level{
    height:311px
}
.hero--page-fourth-level .hero__background-image{
    width:100%;
    height:100%
}
.hero--page-fourth-level .hero__background-image>img{
    background-color:#e7eef3;
    width:100%;
    height:100%;
    object-fit:cover
}
.hero--page-fourth-level .hero__overlay{
    background:rgba(0,0,0,0)
}
.hero--page-fourth-level .hero__overlay__content .pre-title{
    color:#fff;
    line-height:160%;
    text-decoration:none;
    display:flex;
    gap:8px;
    align-items:center;
    width:fit-content;
    padding-left:0;
    border-left:none
}
.hero--page-fourth-level .hero__overlay__content .pre-title::before{
    font-family:"icomoon";
    speak:none;
    font-style:normal;
    font-weight:normal;
    font-variant:normal;
    text-transform:none;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:8px;
    width:16px;
    height:16px;
    color:#2942db
}
.hero--page-fourth-level .hero__overlay__content .pre-title{
    color:#102c53
}
.hero--page-fourth-level .hero__overlay__content .title{
    color:#102c53;
    font-size:40px;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.8px
}
.hero--page-fourth-level .hero__overlay__content .paragraph{
    color:#102c53;
    font-size:14px
}
.hero--page-fourth-level .hero__overlay__content>*{
    margin:0
}
.hero--page-fourth-level.hero--long-text .title{
    font-size:24px;
    font-weight:700;
    line-height:112.9%;
    letter-spacing:-0.48px
}
@media(min-width: 992px){
    .hero--page-fourth-level{
        height:570px;
        margin-top:unset
    }
    .hero--page-fourth-level .hero__overlay{
        background:rgba(0,0,0,0);
        justify-content:center
    }
    .hero--page-fourth-level .hero__overlay__content{
        padding-bottom:0;
        padding-top:10%;
        gap:0
    }
    .hero--page-fourth-level .hero__overlay__content .pre-title{
        line-height:90%;
        margin-bottom:15px
    }
    .hero--page-fourth-level .hero__overlay__content .title{
        font-size:62px;
        font-weight:700;
        line-height:112.9%;
        letter-spacing:-1.24px;
        margin-bottom:24px
    }
    .hero--page-fourth-level .hero__overlay__content .paragraph{
        font-size:18px
    }
    .hero--page-fourth-level .hero__overlay__content h2.title{
        font-size:62px
    }
    .hero--page-fourth-level .hero__overlay__content h3.title{
        font-size:40px
    }
    .hero--page-fourth-level .hero__overlay__content h4.title{
        font-size:32px
    }
    .hero--page-fourth-level.hero--long-text .title{
        font-size:62px;
        letter-spacing:-0.8px
    }
}
@media(min-width: 992px){
    .pagelevel-0 .hero--page-first-level .hero__overlay__content{
        flex-direction:row;
        position:relative;
        width:95vw;
        padding-right:unset
    }
    .pagelevel-0 .hero--page-first-level .hero__overlay__content .pre-title{
        position:absolute;
        top:8px;
        left:51.5vw
    }
    .pagelevel-0 .hero--page-first-level .hero__overlay__content .title{
        width:45vw;
        font-size:82px
    }
    .pagelevel-0 .hero--page-first-level .hero__overlay__content .paragraph{
        width:30vw;
        margin-top:36px;
        margin-left:5vw
    }
}
@media(min-width: 1744px){
    .pagelevel-0 .hero--page-first-level .hero__overlay__content .pre-title{
        left:49.5vw
    }
}
@media(min-width: 992px){
    .hero--page-zero-level .hero__overlay__content{
        flex-direction:row;
        position:relative;
        width:95vw;
        padding-right:unset;
    }
    .hero--page-zero-level .hero__overlay__content .pre-title{
        position:absolute;
        top:8px;
        left:51.5vw;
    }
    .hero--page-zero-level .hero__overlay__content .title{
        width:45vw;
        font-size:62px;
    }
    .hero--page-zero-level .hero__overlay__content .paragraph{
        width:30vw;
        margin-top:9px;
        margin-left:5vw;
    }
}
@media(min-width: 1744px){
    .hero--page-zero-level .hero__overlay__content .pre-title{
        left:49.5vw;
    }
    .hero--page-zero-level .hero__overlay__content .title{
        /*width:45vw;*/
        font-size:82px;
    }	
}
/*******************************************/

/**********************************/
/*********MEDIA QUERY *************/
/**********************************/
@media only screen and (min-width: 0) and (max-width: 710px) {
	.h-left{
		width:100%;
	}
	
	.h-right{
		/*width:100%;*/
	}
}

/*
@media only screen and (min-width: 321px) and (max-width: 639px) {
	.h-left{
		width:50%;
		max-width:50%;
	}
	
	.h-right{
		width:50%;
		max-width:50%;
	}
}
*/
.dont-break-out {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    /*-ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;*/
}

.laboratori-container {
    display: flex;
    gap: 20px;
    width: 100%;
    padding: 20px;
    justify-content: space-between;
}

.laboratori-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0px;
    flex: 1;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.laboratori-card p{
	text-align:left;	
}


.laboratori-card:hover {
    /*transform: scale(1.01);*/
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
}

@media (max-width: 992px) {
    .laboratori-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .laboratori-card {
        width: 48%;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .laboratori-card {
        width: 100%;
        margin: 10px 0;
    }
}

/***************************************/
.myhome-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1320px;
  padding: 10px;
  margin: 0 auto;
}

.myhome-card {
  flex: 1 1 calc(20% - 20px); /* 5 schede uguali con gap incluso */
  box-sizing: border-box;
  background-color: #f9f9f9;
  border:none;
  box-shadow:0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  /*overflow: hidden;*/
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.myhome-card a{
	display:block;
}

.myhome-card-img {
  width: 100%;
  height: auto;
}

.myhome-card-title {
  font-size: 1.3em;
  margin: 15px 0;
  color: #102C53;
}

.myhome-card-text {
  font-size: 1em;
  padding: 0 15px 15px;
  color: #102C53;
}

@media (max-width: 992px) {
  .myhome-card {
    flex: 1 1 calc(50% - 20px); /* Due schede per riga */
  }
}

@media (max-width: 600px) {
  .myhome-card {
    flex: 1 1 100%; /* Una scheda per riga */
  }
}
/*************************************/

/*
.laboratori-cards {	
	display: flex;
	flex-flow: row wrap;	
}

.laboratori-cards a{	
	text-decoration:none;
	display:block;
}

.laboratori-content {	}

.laboratori-wrap:hover {	
	background:#F5F5F5;
}

.laboratori-card-left {
    display: flex;
    flex: 0 0 33.33%;	
}

.laboratori-card-center {
    display: flex;
	flex: 0 0 33.33%;	
}

.laboratori-card-right {
    display: flex;
	flex: 0 0 33.33%;	
}

.laboratori-wrap{
	margin: 10px auto;
	box-shadow: 1px 1px 4px #ccc;
	max-width: 480px;
	
}

.laboratori-content{
	margin:0 auto;
}
*/

/*
.laboratori-card-left {	
	margin:0 auto;	
}
.laboratori-card-center {	
	margin:0 auto;	
}
.laboratori-card-right {	
	margin:0 auto;	
}
*/

/*
@media only screen and (min-width: 0) and (max-width: 810px) {
	.laboratori-card-left {		
		flex:0 0 100%;
	}
	.laboratori-card-center {	
		flex:0 0 100%;
	}
	.laboratori-card-right {		
		flex:0 0 100%;
	}	
	
	.laboratori-wrap{
		max-width: 100%;
	}
	
}

@media only screen and (min-width: 811px) and (max-width: 1500px) {
	.laboratori-card-left {
       flex: 0 0 50%;
	}
	.laboratori-card-center {
       flex: 0 0 50%;
	}
	.laboratori-card-right {		
		flex: 0 0 100%;
	}
	
}
*/


.home-cards {	
	display: flex;
	flex-flow: row wrap;	
}

.home-card-left {
    display: flex;
    flex: 0 0 80%;
}

/*
.home-card-center {
    display: flex;
	flex: 0 0 38.6%;
}
*/

.home-card-right {
    display: flex;
	flex: 0 0 20%;
}

.home-card-left .home-content-left {	
	/*margin:10px 0;*/
	/*box-shadow:1px 1px 4px #bbb;*/
}

/*
.home-card-center .home-content-center {	
	margin:10px;
	box-shadow:1px 1px 4px #bbb;
}
*/
.home-card-right .home-content-right {	
	/*margin:10px 0;	*/
}

@media only screen and (min-width: 0) and (max-width: 520px) {
	.home-card-left {		
		flex:0 0 100%;
	}
	/*.home-card-center {	
		flex:0 0 100%;
	}*/
	.home-card-right {
		/*display:none;*/
		flex:0 0 100%;
	}	
}

@media only screen and (min-width: 521px) and (max-width: 1279px) {
	.home-card-left {
       flex: 0 0 100%;
	}
	/*.home-card-center {
       flex: 0 0 50%;
	}*/
	.home-card-right {
		/*display:none;*/
		flex: 0 0 100%;
	}
}


.cards {	
	display: flex;
	flex-flow: row wrap;	
}

.card {
    display: flex;
    /*flex: 0 0 33.333%;*/
	flex: 0 0 25%;
}

.card .content {
	/*min-width: 300px;*/
    padding:10px;
	margin:8px;
	border:1px solid #eee;
	border-radius:6px;
	/*background: linear-gradient(135deg, rgba(226,226,226,1) 0%, rgba(209,209,209,1) 0%, rgba(219,219,219,1) 0%, rgba(252,252,252,1) 94%, rgba(254,254,254,1) 100%);*/
	background: rgba(200,200,200,0.1);
}

.card .content:hover{
    background: rgba(200,200,200,0.2);
	box-shadow:1px 1px 6px #ccc;
	transition: 0.3s;
}

@media only screen and (min-width: 0) and (max-width: 500px) {
	.card {
       flex: 0 0 100%;
	}
}
@media only screen and (min-width: 501px) and (max-width: 900px) {
	.card {
       flex: 0 0 50%;
	}	
}
@media only screen and (min-width: 901px) and (max-width: 1024px) {
	.card {
       flex: 0 0 33.333%;
	}	
}

table.photo { 
    width: 100%;
	margin:10px 0;
} 
table.photo th,table.photo td {
	border: 1px solid #ddd; 
	padding:10px;
    text-align: center;
} 

table.photo thead { 
    background-color: #00417E;color:#fff; 
} 

table.photo tbody tr:nth-child(odd) {
	background: rgba(106,154,186,0.1);
}

.article-feature-image{
	float: left;
	margin: 0 30px 10px 0;
}

.article-feature-image img {
    width:100%;    
    height:auto;
}

#menu-page{
	margin: 0 15px;
	padding: 0 0 40px 0;
	/*list-style:none;*/
}

#menu-page li{        
    padding:2px;
}

#menu-page li a{        
    font-size:1.2em;
	font-weight:500;
	color:#0F2C53;
}

#menu-page li a:hover{    
	font-weight:500;
	color:#2F71C9;
	text-decoration:underline;
}

.polimi-container{
	margin:0 auto;
} 

/**********************************/
/*********MEDIA QUERY *************/
/**********************************/

/* Small Devices (sm Tablets, 576px and up) */
@media (min-width: 576px) { 
    .polimi-container{
		max-width:540px;
	}   
}

/* Medium Devices (md Desktops, 768px and up) */
@media (min-width: 768px) { 
    .polimi-container{
		max-width:720px;
	}    
}

/* Large Devices (lg Desktops, 992px and up) */
@media (min-width: 992px) { 
    .polimi-container{
		max-width:960px;
	}  
}

/* Extra Large Devices (xl Large Desktops, 1200px and up) */
@media (min-width: 1200px) { 
    .polimi-container{
		max-width:1140px;
	}     
}

/* Extra Extra Large Devices (xxl Large Desktops, 1400px and up) */
@media (min-width: 1400px) { 
    .polimi-container{
		max-width:1320px;
	}      
}

@media only screen and (min-width: 0) and (max-width: 320px) {
	[class*="col-"] {
		width: 100%;
		/*border:1px solid green;*/
	}
	
    .grid_wrap {
        flex: 0 0 100%;
    }
	
    .grid_wrap_piccolo {
        flex: 0 0 100%;
    }		
	
	.title {
        font-size: .95em
    }

    .commento {
        font-size: .9em
    }

    .caption {
        /*width: 92%;*/
        line-height: 90%;
        padding: .4em .8em
    }
}

@media only screen and (min-width: 321px) and (max-width: 450px) {

	[class*="col-"] {
		width: 100%;
		/*border:1px solid red;*/
	} 

    .grid_wrap {
        flex: 0 0 100%;
    }
	
    .grid_wrap_piccolo {
        flex: 0 0 50%;
    }	
	
    .title {
        font-size: .95em
    }

    .commento {
        font-size: .9em
    }

    .caption {
        /*width: 96%;*/
        line-height: 90%;
        padding: .4em .8em
    }
 
}

@media (max-width: 992px) {
	[class*="col-"] {
		width: 100%;
		/*border:1px solid red;*/
	} 
}

@media only screen and (min-width: 451px) and (max-width: 1093px) {
    .grid_wrap {
        flex: 0 0 50%;
    }
	
    .grid_wrap_piccolo {
        flex: 0 0 50%;
    }	
	
    .title {
        font-size: .95em
    }

    .commento {
        font-size: .9em
    }

    .caption {
        /*width: 96%;*/
        line-height: 90%;
        padding: .4em .8em
    }
}

/*
@media only screen and (min-width: 1094px) and (max-width: 1092px){    

	[class*="col-"] {
		width: 100%;		
	} 

    .grid_wrap_piccolo {
        flex: 0 0 100%;
    }		
}
*/

#no-more-tables table td{
	padding:1.5em;
}

 @media only screen and (max-width: 767px) { 
     /* Forza la tabella a non comportarsi come una normale tabella */ 
 	#no-more-tables table,  
 	#no-more-tables thead,  
 	#no-more-tables tbody, 
 	#no-more-tables th,  
 	#no-more-tables td,  
 	#no-more-tables tr {  
 		display: block; 
 	} 
 	/* Nasconde le intestazioni della tabella */ 
 	#no-more-tables thead tr {  
 		position: absolute; 
 		top:-9999px; 
 		left:-9999px; 
 	}   

 	#no-more-tables tr { border: 1px solid #ddd; }   

 	#no-more-tables td {  
 		/* Inserisce il comportamento come una riga */ 
 		border: none; 
 		border-bottom: 1px solid #eee;
 		position: relative; 
 		padding-left: 40%;  
 		white-space: normal; 
 		text-align:left; 
 	}   

 	#no-more-tables td:before { 
 		/* Inserisce il comportamento come un'intestazione di tabella */ 
 		/*position: absolute; 
 		/* I valori top/left agiscono come padding */ 
 		top: 0; 
 		left: 6px; 
 		width: 45%;  
 		padding-right: 10px; 
 		/*white-space: nowrap; */
 		text-align:left; 
 		font-weight: bold;	
 	}   

 	/* Aggiunge l'etichetta ai dati della tabella */ 
 	#no-more-tables td:before { 
	    content: attr(data-title);
  	} 
 } 


/* container */
.columns-3 {
    display:flex;
	flex-wrap: wrap;
}

/* Optional */
.home-left {
	/*margin:10px;*/
	padding:10px;	
}

.home-center {
	/*margin:10px;*/
	padding:10px;   
}

.home-right {
	/*margin:10px;*/
	padding:10px;    
}

/* Full width on smaller screens */
.columns-3 > * {
	width: 100%;
}

@media (min-width: 992px) {
	.home-left {
		width:37.5%;
	}	
	.home-center {
		width:37.5%;
	}
	.home-right {		
		width:25%;
	}	
}

/* container */
.columns-2 {
    display:flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

/* Full width on smaller screens */
.columns-2 > * {
	width: 100%;
}

@media (min-width: 992px) {
	.columns-2 > * {
		width:calc(100% / 2);
	}	
}

.wp-block-button a{
	/*font-family:Yanone Kaffeesatz;*/
	background:#0F2C53;
	color:#fff;
	border:1px solid #fff;
}

.wp-block-button:hover a{
	background:#2F71C9;	
}

.entry-header{
	margin-top:30px;
	margin-bottom:5px;
}

/* ----------------------------------------------
 * Generated by Animista on 2023-6-27 12:59:48
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
.rotate-center {
	-webkit-animation: rotate-center 0.6s ease-in-out both;
	        animation: rotate-center 0.6s ease-in-out both;
}
/**
 * ----------------------------------------
 * animation rotate-center
 * ----------------------------------------
 */
@-webkit-keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

/*This makes sure that our animation only runs if the user has not enabled the "reduce motion" setting on their operating system.*/
@media (prefers-reduced-motion: no-preference) {
	.scale-in-left {
		-webkit-animation: scale-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
				animation: scale-in-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	}
}
/* ----------------------------------------------
 * Generated by Animista on 2023-6-29 14:22:49
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-in-left
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-left {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
}
@keyframes scale-in-left {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    opacity: 1;
  }
}

/*This makes sure that our animation only runs if the user has not enabled the "reduce motion" setting on their operating system.*/
@media (prefers-reduced-motion: no-preference) {
	.slide-in-left {
		-webkit-animation: slide-in-left 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
				animation: slide-in-left 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	}
}
/* ----------------------------------------------
 * Generated by Animista on 2023-7-3 12:11:20
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-left
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

/*This makes sure that our animation only runs if the user has not enabled the "reduce motion" setting on their operating system.*/
@media (prefers-reduced-motion: no-preference) {
	.slide-in-right {
		-webkit-animation: slide-in-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
				animation: slide-in-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	}
}
/* ----------------------------------------------
 * Generated by Animista on 2023-7-3 12:12:27
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-right
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}



/* ===================== */
/* ACCESSIBILITÀ – WCAG 2.1 A/AA */
/* Aggiunto manualmente il 2025-07-29 per migliorare leggibilità, focus e interattività keyboard-friendly */
/* ===================== */

/* Migliora leggibilità generale */
body {
  line-height: 1.6 !important; /* aumenta la spaziatura tra righe */
  word-spacing: 0.16em;
  letter-spacing: 0.03em;
}

/* Titoli e testo leggibile */
p, li {
  line-height: 1.6 !important; /* migliora leggibilità */
}

/* Focus visibile solo per utenti tastiera */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}

#slider .rslides_nav a:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}

/* Accessibilità WCAG 1.4.1 - Link evidenti anche senza colore */
.contentArea a:not(.btn-polimi-esteso):not(.mega-menu-link),
.card-evento-giorno h3 {
  /*text-decoration: underline;
  text-decoration-color: #005FCC;
  text-underline-offset: 3px;*/
}

.cookie-link {
  text-decoration: underline;
  color: #005FCC;
  font-weight: 500;
}

.cookie-link:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}

.btn-polimi-esteso:hover,
.btn-polimi-esteso:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3;
}

/* Accessibilità slider: link visibili, focus chiaro, testo scalabile */
.myrslides_nav {
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 600;
  color: #109CDE;
  /*margin: 0.5em;*/
}

.myrslides_nav:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}

/* Accessibilità slider: link visibili, focus chiaro, testo scalabile */
.rslides_nav {
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 600;
  color: #109CDE;
}

.rslides_nav:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3;
}

/*
.rslides_tabs a {
  background-color: #109CDE;
  color: white;
  font-weight: bold;
  padding: 0.4em 0.8em;
  font-size: 1rem; 
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin: 0.2em;
}

.rslides_tabs a:hover {
  background-color: #003f8a;
}
*/

.rslides_tabs a {
  background-color: #005FCC;    /* Sfondo visibile */
  color: white;                 /* Testo con contrasto forte */
  font-size: 1rem;              /* Dimensione relativa */
  font-weight: bold;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin: 0.2em;
}

.rslides_tabs a:hover {
  background-color: #003f8a;
}

.rslides_tabs a:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}

/*Klaro*/
.cm-powered-by a {
  color: #109CDE; /* colore ad alto contrasto */
  text-decoration: underline!important; /* evidenzia il link anche senza colore */
  font-weight: 500;
}

/* Focus visibile per tastiera */
.cm-powered-by a:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}

.logo-container a:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}

button:focus{
	outline: 3px solid #109CDE!important;
	outline-offset: -6px!important;
	border-radius:6px;
}

/*
.user-is-tabbing a:focus,
.user-is-tabbing button:focus,
.user-is-tabbing input:focus,
.user-is-tabbing textarea:focus {
  outline: 3px solid #109CDE;
  outline-offset: 3px;
}
*/

/* Visibilità focus per tutti gli elementi interattivi 
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid #005FCC !important;  
  outline-offset: 4px !important;
}
*/

/* Assicura che i link abbiano contrasto e comportamento accessibile 
a {
  text-decoration: underline;
  transition: all 0.2s ease;
}
*/

/* Hover e focus visibili 
a:hover,
button:hover {
  background-color: #e6f0ff;
  color: #003f8a;
}
*/

/* Bottoni e link con touch target sufficiente (min 48x48px) */
button,
a.button,
input[type="submit"] {
  min-width: 48px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 4px;
  cursor: pointer;
}

/* Skip link per utenti screen reader/tastiera (da usare nel template) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 1em;
  background: #000;
  color: #fff;
}

/* Immagini decorative: forzatura visiva per <img alt=""> */
img[alt=""] {
  display: block;
}

/* Rimozione effetti indesiderati da title ridondanti (se presenti) */
img[title], a[title] {
  text-decoration: none;
}

.context-notice{
	display:none!important;
}

/*
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
*/

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

span.visually-hidden {
	display:inline;
}

.klaro .cookie-modal a, .klaro .context-notice a, .klaro .cookie-notice a {
  color: #025a40!important;
  text-decoration: underline!important;
}

a.mega-menu-link:empty {
  display: none!important;
}




