
/******************************
stili specifici per Home
******************************/
#Body {
	margin-left: 0px !important;
    width: 100%;
    max-width: 100%;
}
@media (min-width: 576px){
	#Body .container {
		max-width: 100%;
	}
}
@media (min-width: 768px){
	#Body .container {
		max-width: 100%;
	}
}
@media (min-width: 992px){
	#Body .container {
		max-width: 960px;
	}
}
@media (min-width: 1200px){
	#Body .container {
		max-width: 1240px;
	}
}
.container .row div[class*="col"],
content { 
	display:flex;
}
.container .row div[class*="col"] div[id*="dnn_Row"] { 
	width:100%;
}
content {
	background-color: #fcefea;
}
content .row {
	padding-top:30px;
	padding-bottom:30px;	
}
@media (min-width: 1200px) {
	.Home.New .container {
		max-width: 1240px;
	}
}

.Home.New .headerRed{
	background-color: #ae0f0a;
	min-height: 35px;
	display: flex;
	align-items: center
}
.HeaderPane,
.contactPane {
	width:fit-content;
	float: right;	
}
.Home.New .headerDiv {
  border-top: unset;
  border-bottom: unset;
  padding: unset;
  margin: unset;
  clear: both;
  margin-top: -20px;
  padding-bottom:10px;
}
.Home.New p,
.Home.New li {
	font-size:14px !important;
	font-family: "merriweather_sansbook",sans-serif;
}
    .bordoIcone {
    border-right: unset;
    margin-right: 0px;
    padding-right: 25px;
    line-height: 13px;
    max-width: 30px;
    }
    .bordoIcone img {
    max-width: 30px;
    height: auto;
    }
	#contactPane p {
		margin-bottom:0px;
	}
	.HeaderPaneContact {
	font-family: "merriweatherregular";
    font-size: 15px;
    font-weight: normal;
    display: block;
    color: #FFF !important;
	padding-top:4px;
    padding-right: 25px;
    float: right;
	}
	.link_ricerca {
		margin-right: 0px;
    padding-right: 25px;
	}
.Home.New .headerRed .loginLinks {
    border-top:0px;
	border-bottom:0px;
	margin-top: 0px;
	margin-right:0px;
	margin-left: 0px;
	border-left: 0px;
	display: flex;
    align-items: center;
}
.Home.New .headerRed .loginLinks .language {
	margin-top:0px;	
	margin-left:0px;
}
.Home.New .headerRed .loginLinks .language a{
	font-family: 'merriweather_sansbook';
	text-transform:uppercase;
	font-size:13px;
	color:#FFFFFF;
	float: right;
}
.Home.New .headerRed .loginLinks .language a:last-child:after{
	/*content:'/';*/

}
.Home.New .headerRed .loginLinks .language .LanguageTrue{
	font-weight:bold;
}
.Home.New .headerRed .loginLinks .language .LanguageFalse{

}
.Home.New .headerRed .loginLinks .language .language-object a:last-child span{
	/*border-right: 1px solid #FFFFFF;
	padding-right: 26px;*/
  border-right: #FFF solid 1px;
    margin-right: 10px;
    padding-right: 10px;
}

#dnn_BannerPane .DnnModule {
    float: unset;
    margin-left: unset;
    width: unset;
}
.dnnEditState #dnn_Row1Pane_SyncPanel.DnnAjaxPanel {
	max-width: 100%;
}
#dnn_Row5Pane1 .standard,
#dnn_Row5Pane2 .standard {margin-bottom:0px;}

#dnn_Row2Pane1,
#dnn_Row3Pane1 {
	padding: 40px 10px 0px 40px !important;
}
#EmbedVideo {
	height: 100%;
}
.containerEmbedVideo,
#VideoGallery {
	position: relative;
	padding-bottom: 50%;  /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
	margin-top: 0px;
	margin-bottom: 25px;
}
.containerEmbedVideo iframe,
#dnn_ctr38590_ViewEasyDNNGallery_ctl00_dlVideos,
#dnn_ctr38619_ViewEasyDNNGallery_ctl00_dlVideos {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#dnn_ctr38590_ViewEasyDNNGallery_ctl00_repVideoList,
#dnn_ctr38619_ViewEasyDNNGallery_ctl00_repVideoList {
	bottom: -150px;
    position: absolute;
}
.Home.New .boxShadow {
	position: relative;
    display: flex;
}
.Home.New .boxShadow .overlay{
	    position: absolute;
    background-color: rgb(0 0 0 / 50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}
.Home.New .boxShadow .text{
    position: absolute;
    height: 100%;
    width: 100%;
    color: #FFF;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
	padding:40px;
}
.Home.New .boxShadow .text p{
	font-size:23px !important;
	text-align:center;
}
.Home.New .boxShadow .text i{
	font-size:17px !important;
}
.Home.New .boxShadow a {
	position:absolute;
	height:100%;
	width:100%;
	z-index:100;
}


.navDiv {
	flex-direction:column;
	position:relative;
	width:100%;
}
.HorizontalMenuContainer{
	display:flex;
	flex-direction:row;
	margin-left:auto;
}

.HorizontalMenu {
	display:flex;
	align-items:center;
}
#dnnMenu .topLevel li {
    float: left;
    margin: 0 8px;
    list-style-type: none;
    position: relative;
}
#dnnMenu .topLevel li a,
.upperLogin {
    font-family: "merriweatherregular";
	font-size:14px;
	font-weight:normal;
	display: block;
	color: #ae0f0a;
}
.upperLogin	{
	text-transform:uppercase;
	font-family: "merriweather_sansbook",sans-serif;
	font-weight: 600;
	font-size:11px;
	border: 1px solid #ae0f0a;
	border-radius:15px;
	padding: 5px 15px;
	cursor:pointer;
	transition: transform 0.5s;
    width: fit-content;
	height:fit-content;
	margin-left:auto;
	text-align:center;
}
#loginButton.bg-red {
	background-color:#ae0f0a;
	color:#FFF;
	transition: transform 0.5s;
}
.AreaRiservataBox .editProfileFM,
.AreaRiservataBox .logoutFM {
    padding-left: 60px;
    text-transform: uppercase;
    background: no-repeat;
    background-size: contain;
    font-size: 15px;
    height: 50px;
    display: flex;
    align-items: center;
}
.AreaRiservataBox .editProfileFM:hover,
.AreaRiservataBox .logoutFM:hover {
	color:#333333;
}
.AreaRiservataBox .editProfileFM {
	background-image: url("/portals/19/images/account.svg");
}
.AreaRiservataBox .logoutFM {
	background-image: url("/portals/19/images/logout.svg");
}
.AreaRiservataBox {
	position: absolute;
    top: 40px;
    right: 0px;
    z-index: 9000;
    background-color: #FFF;
    max-width: 300px;
	padding:20px;
	box-shadow: 0px 10px 20px #00000029;
	width: 280px;
}
.AreaRiservataBox.close{
	display:none;
}
.AreaRiservataBox.open{
	display:block;
}
.AreaRiservataBox h3 {
	font-size:13px;
	text-transform:uppercase;
}
.AreaRiservataBox .dnnFormLabel,
.AreaRiservataBox .dnnBoxLabel {
	font-size:14px;
}

.navDiv .topLevel {
	    margin-left: auto;
    display: flex;
    flex-direction: row;
}
/****** login ******/
.dnnLogin .dnnSecondaryAction {display:none;}
.dnnLogin .mark,
.dnnLogin mark {
    background-color: unset;
}
.dnnForm .dnnFormItem:nth-child(3) {
	margin-top:20px;
}
.LoginPanel .dnnLoginActions {
    margin-top: 40px;
}
.dnnLogin .dnnLoginActions .dnnSecondaryAction {display:block;}
.dnnLogin .dnnLoginActions #dnn_ctr10340_Login_Login_DNN_registerLink:after,
.dnnLogin .dnnLoginActions #dnn_ctr27358_Login_Login_DNN_registerLink:after {
	content:"Non sei ancora registrato?";
	position: absolute;
    left: 0px;
    top: 30px;
    color: #333333;
	text-transform: initial;
	font-size:13px;
}
.dnnLogin .dnnLoginActions #dnn_ctr27358_Login_Login_DNN_registerLink:after {
	content:"Not registered yet?";
}
.dnnLogin .dnnLoginActions #dnn_ctr10340_Login_Login_DNN_liPassword,
.dnnLogin .dnnLoginActions #dnn_ctr27358_Login_Login_DNN_liPassword {
    position: absolute;
    left: 0px;
    top: -95px;
    text-align: left;
}
.dnnLogin .dnnLoginActions #dnn_ctr10340_Login_Login_DNN_liPassword a,
.dnnLogin .dnnLoginActions #dnn_ctr27358_Login_Login_DNN_liPassword a{
	text-align:left;
}
.dnnLogin .dnnLoginActions #dnn_ctr10340_Login_Login_DNN_registerLink,
.dnnLogin .dnnLoginActions #dnn_ctr27358_Login_Login_DNN_registerLink {
    margin: 0px !important;
    color: #FFFFFF !important;
    text-transform: uppercase;
    border: 0px !important;
    background: #ae0f0a !important;
    border-color: #ae0f0a !important;
    font-family: 'merriweather_sansbold';
    font-weight: normal;
    font-size: 11px;
    line-height: 34px !important;
    height: 34px;
    border-radius: 15px;
    text-align: center;
	padding: 0px 24px !important;
    box-shadow: 0px 0px 0px 0px !important;
    text-shadow: 0px 0px 0px !important;
	width:fit-content;
}
/********* footer bottom **********/
.footerGrey {background-color:#f2ece9;}
.footerRed {background-color:#ae0f0a;}






.linkSocialFM {
	display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
	z-index:10;
}
.linkSocialFM p {margin-bottom:0px;}
.linkSocialFM img {max-height: 50px;}

.footerRed ul{
	display:table;
	padding-left:0px;
	padding-right:0px;
	margin:auto;
	padding-top: 14px;
	padding-bottom: 14px;
}
.footerRed ul li{
	float:left;
	list-style:none;
	border-left: 1px solid #FFFFFF;
}
.footerRed ul li:first-child {
  border-left: 0px;
}
#Body .footerRed ul li a{
	color:#FFFFFF;
	text-transform:uppercase;
	padding-left:18px;
	padding-right:18px;
	font-family: 'merriweather_sansregular';
	font-size:12px;
}
.footerRed ul li:first-child a {
	border-left: 0px;
}
.footerGrey .imageFooter {
    position: absolute;
    right: 0px;
    bottom: 0px;
    max-width: 100%;
	z-index:1;
}
#dnn_Row3Pane2 .standard{margin-bottom:0px;}
/*---------carosello--------------*/

#Body .dnnPrimaryAction.bg_lightblue {
    background: #015a75 !important;
    border-color: #015a75 !important;
}
#Body .contenitore_conclusi_eventi.home .contenitore_singolo .titolo,
#Body .contenitore_conclusi_eventi.home .contenitore_singolo .titolo a,
#Body .contenitore_conclusi_eventi.home .link_top a {
	color: #015a75;
}

#Body .contenitore_prossimi_eventi .labelFM {display:block;}
#Body .contenitore_prossimi_eventi .link_top .testo_dx {display:none;}
#Body .contenitore_prossimi_eventi.home .contenitore_singolo,
#Body .contenitore_conclusi_eventi.home .contenitore_singolo {height:350px;}
#Body .contenitore_prossimi_eventi .TypeOfItem_0 .dnnPrimaryAction.bg_blue {/*evento #015a75 */
background: #015a75 !important;
border-color: #015a75 !important;
}
#Body .contenitore_prossimi_eventi .TypeOfItem_0 .titolo,
#Body .contenitore_prossimi_eventi .TypeOfItem_0 .titolo a,
#Body .contenitore_prossimi_eventi .TypeOfItem_0 .labelFM,
#dnn_ctr38584_View_LinkButtonShowNextEvents {
	color:#015a75;
}

#Body .contenitore_prossimi_eventi .TypeOfItem_2 .labelFM {
	color: #005a75;
}
#Body .contenitore_prossimi_eventi .TypeOfItem_0 .labelFM {
	background-image:url('/portals/19/images/icon_event_1.svg');
	background-repeat:no-repeat;
}
#Body .contenitore_prossimi_eventi .TypeOfItem_1 .labelFM {
	background-image:url('/portals/19/images/fad.svg');
	background-repeat:no-repeat;
}
#Body .contenitore_prossimi_eventi .TypeOfItem_2 .labelFM {
	background-image:url('/portals/19/images/webinar.svg');
	background-repeat:no-repeat;
}
#Body .contenitore_prossimi_eventi .titolo a {
	display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    width: 100%;
    overflow: hidden;
}
#Body .contenitore_prossimi_eventi .TypeOfItem_1 .dnnPrimaryAction.bg_blue {/*fad #308ca8  */
background: #308ca8  !important;
border-color: #308ca8  !important;
}
#Body .contenitore_prossimi_eventi .TypeOfItem_1 .titolo,
#Body .contenitore_prossimi_eventi .TypeOfItem_1 .titolo a,
#Body .contenitore_prossimi_eventi .TypeOfItem_1 .labelFM,
#dnn_ctr38602_View_LinkButtonShowNextEvents {
	color:#308ca8 ;
}
#Body .contenitore_prossimi_eventi .TypeOfItem_0 .labelFM,
#Body .contenitore_prossimi_eventi .TypeOfItem_1 .labelFM,
#Body .contenitore_prossimi_eventi .TypeOfItem_2 .labelFM {
text-transform: uppercase;
font-size: 14px;
font-weight: 600;
background-color: #f7f7f7;
width: fit-content;
padding: 3px 8px 3px 30px;
}
/*---fad---*/
#dnn_ctr38602_View_CarouselEventContainer.contenitore_prossimi_eventi.event .jcarousel-control-next {
    background-image: url(/portals/19/Skins/Fondazione/images/right_arrow_fad.png);
}
#dnn_ctr38602_View_CarouselEventContainer.contenitore_prossimi_eventi.event .jcarousel-control-prev {
    background-image: url(/portals/19/Skins/Fondazione/images/left_arrow_fad.png);
}

#Body .contenitore_prossimi_eventi .TypeOfItem_3 {}
/*------------footer mobile-------------*/
.footerRed ul.nomobile {
  	display: table;
}
.footerRed ul.mobile {
  	display: none;
}
.mobile {display:none;}
.nomobile {display:block;}
@media only screen and (max-width: 768px) {
	.mobile {display:block;}
	.nomobile {display:none;}
	.footerRed ul.mobile {
		display: grid;
	}
	.footerRed ul.nomobile {
		display: none;
	}
}

@media only screen and (max-width: 992px) {
	.mobileButtons li a#mobileMenuBtn {
		margin-top:5px;
		width:50px;
	}
	.mobileButtons {
		display: flex;
		margin: 0px 0px 10px auto;
		float: unset;
		position: absolute;
		right: 0px;
		top: 10px;
		z-index:9999;
	}
	.HorizontalMenu{
		margin: 50px 0px 0px 0px;
		position: absolute;
		z-index: 999;
		background-color: #FFF;
		width: 250px;
		right: -60px;
		text-align: center;
		box-shadow: 0px 10px 20px #00000029;
	}
	#dnnMenu {
		background: unset;
		display: none;
		float: unset;
		position: unset;
		right: unset;
		top: unset;
		width: unset;
		height: unset;
		z-index: unset;
		min-height: unset;
		width:100%;
		margin-left:0px;
	}
	#dnnMenu .topLevel li a {
		line-height: 1.9em;
	}
	.divMenu {
		display: flex;
		flex-direction: row;
		margin-left: auto;
		margin-bottom:10px;
		padding-top:15px;
	}
	.divMenu .navDiv {
		width:fit-content;
		justify-content: center;
		position: absolute;
		right: 70px;
	}
	#dnnMenu .topLevel {
		display:flex;
		flex-direction:column;
	    align-items: center;
	}
	#dnnMenu .topLevel li {
		
	}
	#dnnMenu .topLevel li a {
		text-align: right;
		line-height: 1.9em;
		padding: 11px 12px;
	}
	.Home.New footer li{
		font-size: 14px !important;
		font-family: "merriweather_sansbook",sans-serif;
		text-align: center;
		line-height: 1.9em;
		border-left: unset !important;
	}
}
@media only screen and (max-width: 768px) {
	.Home.New .headerDiv {
		margin-top:0px;
	}
	.link_ricerca,
	.HeaderPaneContact {
		padding-right:5px;
	}
}
@media only screen and (max-width: 400px) {
	.upperLogin {max-width: 95px;}
	.mobileButtons {right: 0px;top: -5px;}
	.HorizontalMenu	{width: 200px;right: -60px;}
	.AreaRiservataBox{top:55px;margin-right:-60px;}
	.divMenu .navDiv {right: 65px; top: -8px;}
}