.visually-hidden.skip-link.focusable:active, 
.visually-hidden.focusable.focusable:focus-within,
.visually-hidden.skip-link.focusable:active {
	position: absolute !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  border: 2px solid red !important;
  z-index: 100;
  color: white;
  background-color: black;
}

/* CSS - HEADER DI PAGINA */

#top-bar.lang-open {
  z-index: 100000;
}
#block-mapo-languageswitcher > a.language-link {
  display: block;
  text-align: right;
  color: white;
  margin: 10px 0;
  font-size: 12px;
  padding: 4px 16px;
  background-image: url( "/sites/default/files/icons/caret-down-fill.svg" );
  background-position: right center;
  background-repeat: no-repeat;
}
#block-mapo-languageswitcher ul.links {
	list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #F3F3F3;
  color: #000;
  padding: 0;
  display: none;
  box-shadow: 0 0 30px #666;
  border-radius: 8px;
  overflow: hidden;
}
#block-mapo-languageswitcher ul.links > li > a {
  display: block;
  padding: 16px;
  border-bottom: 1px solid #E5E5E5;
}
#block-mapo-languageswitcher ul.links > li > a:hover,
#block-mapo-languageswitcher ul.links > li > a.is-active {
  color: #527483;
}
/*
#block-mapo-languageswitcher ul.links > li > a:hover {
  color: white;
  background-color: #23293b;
}
*/

body.header.user-logged-in article{
	position:unset;
}

body:not(.user-logged-in),body{
	visibility:hidden;
	opacity:0;
	transition: 0.05s;
}
/*
body.page-node-type-home main > div.row.g-0,
body.header main > div.row.g-0{ visibility:visible;opacity:1}*/

body.header.user-logged-in .dialog-off-canvas-main-canvas {
	position:relative;
}

body.header .top-header {
	/*position: absolute;
	top: 0px;
	left:0px;*/
	/*z-index: -1;*/
/*	height: 560px; 
	width: 100%; */
}

/* se l'immagine di header non è presente mette uno sfondo grigio */
body.header .top-header .layout__region.backg{
	position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 580px;
    background-color: gray;
    z-index: -1;
	
}

body.header .top-header img {
	position: absolute;
	top: 0px;
	left:0px;
	z-index: -2;
	height: 580px; 
	width: 100%; 
	overflow: hidden; 
	object-fit:cover;

}

body.header .top-header:after{
	content: "";
	height:240px;
	width:100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%);
	position:absolute;
	top:0;
	left:0;
	z-index:-1;
}



/* TITOLO PAGINA */
/*body:not(.header) #block-mapo-page-title{
	max-width:1440px;
	margin: 0 auto 64px;
}*/

body.header #block-mapo-page-title{
	left: 50%;
  transform: translate(-50%);
	position:absolute;
	top:440px;
	width: 100%;
  padding-left: 15px !important;
  padding-right: 15px !important;
}


body:not(.header) #block-mapo-page-title h1{
	color: var(--colors-primary-navy);
font-feature-settings: 'liga' off, 'clig' off;

/* dt/headlines/H1 */
font-family: "Rethink Sans";
font-size: clamp(47px,5vw,64px);
font-style: normal;
font-weight: 500;
line-height: 1; /* 100% */
letter-spacing: -0.64px;
}

body.header #block-mapo-page-title h1{
	display:block;
	max-width: 1410px;
margin: 0 auto;
color: var(--colors-white, #FFF);
font-feature-settings: 'liga' off, 'clig' off;

font-family: "Rethink Sans";
font-size: clamp(47px,5vw,64px);
font-style: normal;
font-weight: 500;
line-height: 1; 
letter-spacing: -0.64px;

}
/*
body:not(.header) #block-mapo-breadcrumbs{
	max-width:1440px;
	margin: 0 auto;
}*/

body.header #block-mapo-breadcrumbs{
		left: 50%;
  transform: translate(-50%);
	position:absolute;
	top:410px;
  width: 100%;
  padding-left: 15px !important;
  padding-right: 15px !important;
  
}

body:not(.header)  nav.breadcrumb{
margin-bottom:0px;
}
body.header #block-mapo-breadcrumbs nav.breadcrumb{
max-width: 1410px;
margin: 0 auto;
}

body:not(.header)  #block-mapo-breadcrumbs nav.breadcrumb li,
body:not(.header)  #block-mapo-breadcrumbs nav.breadcrumb li a{
	color: var(--neutral-dark-sand, #8A8680);
font-feature-settings: 'liga' off, 'clig' off;

/* dt/text/text-xsmall-medium */
font-family: "Rethink Sans";
font-size: 11px;
font-style: normal;
font-weight: 500;
line-height: 12px; /* 109.091% */
text-decoration:none;
}


body.header #block-mapo-breadcrumbs nav.breadcrumb li, 
body.header #block-mapo-breadcrumbs nav.breadcrumb a{
color: var(--colors-white, #FFF);
font-feature-settings: 'liga' off, 'clig' off;

font-family: "Rethink Sans";
font-size: 11px;
font-style: normal;
font-weight: 400;
line-height: 12px; /* 109.091% */
}

body.header #block-mapo-breadcrumbs nav.breadcrumb li:before{
	color:white;
}
