﻿/* =========================
   PANEL / STRUTTURA GENERALE
   ========================= */

.panel-100 {
	max-width: 100%;
	width: 100%;
	color: #ffffff;
}

.panel-100 .panel-heading {
	text-transform: none;
	text-align: left;
	color: #ffffff;
	padding: 35px 20px;
	margin-top: 0;
	min-height: 220px;
}

.panel-73 {
	max-width: 730px;
	width: 100%;
	color: #ffffff;
}

.panel-73 .panel-heading {
	text-transform: none;
	text-align: center;
	color: #ffffff;
	padding: 25px 20px;
	margin-top: 0;
}

.corpo .panel-100 .heading-h4 {
	color: #ffffff;
	margin-bottom: 30px;
	line-height: 20px;
}

.contenitore-mappa {
	max-width: 638px;
	margin: 0 auto;
}

.contenitore-mappa img,
.img-infog-priv-banking-container img {
	max-width: 100%;
	width: auto;
	height: auto;
}

.testi-mappa.corpo {
	margin-bottom: 0;
}

.contenitore-testi-mappa {
	min-height: 220px;
	margin-bottom: 92px;
}

.morg-contenitore,
.img-infog-priv-banking-container {
	margin: 50px auto;
}

/* =========================
   INFOG PRIV BANKING
   ========================= */

.infog-priv-banking {
	margin: 50px auto 200px;
}

.infog-priv-banking ul {
	text-align: center;
}

.infog-priv-banking ul li {
	width: 23%;
	margin-right: 1%;
	height: 70px;
	background-color: #a12136;
	display: inline-table;
	vertical-align: middle;
	position: relative; /* FONDAMENTALE per il popup */
}

.infog-priv-banking ul li:last-child {
	margin-right: 0;
}

/* Bottone (prima era <a>) */
.infog-priv-banking .popover-trigger {
	text-transform: uppercase;
	font-size: 14px;
	color: #ffffff;
	line-height: 16px;
	margin: 0;
	width: 100%;
	height: 100%;
	background: none;
	border: 0;
	cursor: pointer;
	display: table-cell;
	vertical-align: middle;
}

/* =========================
   POPOVER CUSTOM
   ========================= */

.infog-priv-banking .mps-pop {
	display: none;
	position: absolute;
	left: 50%;
	top: calc(100% + 12px);
	transform: translateX(-50%);
	z-index: 9999;

	max-width: 420px; 
        width: max-content;  
        min-width: 320px;   
        line-height: 1.45;
	padding: 16px 18px;
	background-color: #a12136;
	color: #ffffff;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* Freccia */
.infog-priv-banking .mps-pop::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #a12136;
}

/* Stato aperto */
.infog-priv-banking .mps-pop.is-open {
	display: block;
}

/* =========================
   ALTRE SEZIONI (INVARIATE)
   ========================= */

.bottone-infog-morg {
	width: 260px;
	height: 155px;
	border: 1px solid #a11f3b;
	display: table;
	color: #a11f3b;
	text-transform: uppercase;
	font-size: 19px;
	font-weight: bold;
	margin-bottom: 15px;
	cursor: pointer;
}

.bottone-infog-morg.active {
	color: #ffffff;
	background-color: #a11f3b;
}

.bottone-infog-morg div,
.freccia-infog-morg div {
	display: table-cell;
	height: 100%;
	width: 100%;
	text-align: center;
	vertical-align: middle;
}

.freccia-infog-morg {
	display: table;
	visibility: hidden;
	width: 14px;
	height: 155px;
	margin-bottom: 15px;
}

.freccia-infog-morg.active {
	visibility: visible;
}

.freccia-infog-morg p {
	background: url("/includes/mpspb/v25/img/arrow-dx-morg.png") center center no-repeat;
	margin-bottom: 10px;
}

.testo-infog-morg {
	display: none;
	padding: 50px 30px;
	min-height: 495px;
}

.testo-infog-morg.active {
	display: block;
}

.testo-infog-morg .img-morg {
	text-align: center;
}

.testo-infog-morg .img-morg p {
	margin-bottom: 50px;
}

.img-internal-accordion-morg {
	text-align: center;
	margin: 15px 0;
}

.img-internal-accordion-morg img {
	max-width: 100%;
}

.colonne-priv-banking .icone-rosso {
	width: auto !important;
	margin-bottom: 15px !important;
}

.colonne-priv-banking.patrimonio-colonne {
	width: 100%;
}

.colonne-priv-banking.patrimonio-colonne .panel {
	min-height: 0;
}

.row.colonne-priv-banking.patrimonio-colonne [class*="col-"]:after {
	content: "";
}

.priv-banking-14-upper {
	font-size: 14px;
	text-transform: uppercase;
}

.img-infog-priv-banking-container {
	text-align: center;
}

.img-infog-priv-banking-container p:first-child {
	margin-bottom: 25px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media all and (max-width: 991px) {
	.morg-contenitore {
		margin: 30px auto;
	}

	.bottone-infog-morg {
		width: 180px;
		height: 125px;
		margin-bottom: 10px;
	}

	.freccia-infog-morg {
		width: 100%;
		height: 125px;
		margin-bottom: 10px;
	}

	.testo-infog-morg {
		min-height: 395px;
		padding: 15px;
	}
}

@media all and (max-width: 690px) {
	.infog-priv-banking ul li {
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}

	.infog-priv-banking .mps-pop {
		max-width: 95%;
		width: 95%;
	}
}

/* =========================
   VISIBILITÀ
   ========================= */

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
	display: none !important;
}

@media (max-width: 767px) {
	.hidden-xs {
		display: none !important;
	}
	.visible-xs {
		display: block !important;
	}
	.img-internal-accordion-morg img {
		width: 208px;
	}
}

.img-morg img {
	width: 208px;
}