/*
	Theme Name: nickcerioni
	Theme URI: nickcerioni
	Description: nickcerioni
	Version: 1
	Author: NEUE MILANO
	Author URI: neuemilano.com
	Tags: Blank, HTML5, CSS3
*/



 @font-face {
   font-family: 'UniversNextPro';
   src: url('fonts/UniversNextProHeavy.ttf') format('opentype');
   font-weight: normal;
   font-style: normal;
  }


/*------------------------------------*\
    MAIN
\*------------------------------------*/
:root {
    --nero: #000000;
    --beige:#F9F3E8;
	--verde:#243438;
}

:where(figure) {
    margin: 0px!important;
}


/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */

  

html, body{
	margin:0px;
	padding:0px;
	height: 100%;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
  }


body {
	font-family: 'UniversNextPro';
    font-weight: 700;
    font-style: normal;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	background:#000;
	margin:0px; padding:0px;
}

body p, body ul li, #info h2{
	margin-top: 0px;
    padding-top: 0px; 
	font-size: 15px;
    line-height: 19px;
	font-weight: 400;
}

body.overlay-open .grid,
body.overlay-open .items,
body.overlay-open .home_grid {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

body #menu ul li {
    padding-bottom: 0px;
}

body#homepage:not(.show_intro.intro--on){
	-ms-scroll-chaining: none;
	overscroll-behavior: none;
	
  }

  body#homepage .container {
	-ms-scroll-chaining: none;
		overscroll-behavior: none;
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
   flex-direction: column;
  /* scroll-snap-type: y mandatory;*/
  overflow-y: scroll;
  height: 100vh;
}



  body#homepage .panel {
  scroll-snap-align: start;
  height: 100vh;
  pointer-events: none;
}


.panel {
  background-attachment: scroll;
}

.panel.is-current {
  background-attachment: fixed;
}

#fixed-panel-bg {
  display: none;
}



#menu_cat_proj,
#menu_title_proj {
  display: flex;
  flex-direction: column;
}

#popup_info {
     opacity: 0; 
    /* display: none; */
    position: absolute;
    z-index: 10;
	pointer-events: none;
	color: rgba(255, 255, 255, 0.70);
	mix-blend-mode: overlay;
	height: 100dvh;
}

#popup_info,
	#popup_info p,
	#popup_info a{
		font-size: 42.589px;
		font-style: normal;
		color: rgba(255, 255, 255, 0.70);
		font-weight: 700;
		font-family: 'UniversNextPro';
		line-height: 90%; /* 38.33px */
		letter-spacing: -1.704px;
		text-decoration: none;
	}

div#popup_info p {
    padding: 20px;
	margin: 0px;
}

	.close_popup{
	  position: absolute;
      bottom: 20px;
      right: 20px;
	  cursor: pointer;
	}

	#popup_info a:hover,
	.close_popup:hover{
	color: rgba(255, 255, 255, 1);
	}

body.open_popup div#popup_info {
    opacity: 1;
    pointer-events: all;
}

.entry {
  opacity: 0.3;
  transform: translateY(-6px);
  transition: all 0.25s ease;
}

.entry:first-child {
  opacity: 1;
}

#info h2{
	padding-bottom: 15px;
}


.panel.video_container {
  position: relative;
  overflow: hidden;
}

.panel.video_container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.panel.video_container .top-bar {
  position: relative;
  z-index: 1;
}



/* video: sempre absolute, il sticky del panel fa il lavoro */
.panel.video_container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.panel.video_container.is-current{
	position: sticky;
  top: 0;
}



body.open_popup #home_slider{
	filter: blur(20px);

}



body.open_popup .main_menu,
body.open_popup #main_top-bar,
body.open_popup .grid_proj{    
	opacity: 0!important;
}

body.open_popup .container{
	overflow-y: hidden!important;
}


div#home_slider .panel {
    background-position:bottom;
    background-size: cover;
	cursor: pointer;
}




/* ---- Top-bar globale: colonne che crescono ---- */
#menu_cat_proj,
#menu_title_proj {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

/* ---- Ogni riga stackata ---- */
.stk-item {
  display: block;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  }

.stk-item.stk-visible {
  opacity: 1;
}

.stk-item {
  display: block;
  opacity: 0;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.18);
}



.panel .top-bar .panel-item--hidden {
  opacity: 0!important;
  pointer-events: none;
}



body.show_intro #content, .show_intro #bottom-bar{
	opacity: 1;
	transition:all 1s ease-in-out;
}



.no-scroll, .show_intro.intro--on{
	overflow: hidden;
    overflow-y: hidden !important;
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

body.intro--on .top-bar, body.intro--on #bottom-bar,
body.intro--on ul.main_menu{
    opacity: 0 !important;
}

body.intro--on #intro_top-bar{
    opacity: 1 !important;
}

#intro_top-bar{
	right: inherit;
    left: 20px;
    width: 100%;
	justify-content: flex-start;
	mix-blend-mode: overlay;
}



@keyframes fadeInCenter {
	from {
	  opacity: 0;
	 }
	to {
	  opacity: 1;
		}
  }

  @keyframes fadeOutCenter {
	from {
	  opacity: 1;
	 }
	to {
	  opacity: 0;
		}
  }



body.intro--on .top-bar, body.intro--on #bottom-bar,
body.intro--on ul.main_menu{
    opacity: 0 !important;
}

body.show_intro.intro--on{
	overflow: hidden;
    overflow-y: hidden !important;
    height: 100dvh;
	pointer-events: none;
    max-height: 100dvh;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
	  position: fixed;
  overflow: hidden;
  inset: 0;
  width: 100%;
  height: 100%;
}


body.show_intro.intro--on #content{
	opacity: 0;
    pointer-events: none;
}

body.show_intro #intro{
	opacity: 0;
	background:#000;
	height:100dvh;
	width: 100vw;
	z-index: 4;
	pointer-events: none;	
}

.show_intro.intro--on #intro{
	opacity: 1;
	height:100%;
		pointer-events:all

}

.box_flexbox.box_v_align{
	flex-direction: column;
	justify-content: center !important;
}

.box_v_align {
    text-align: center;
}

#intro .box_flexbox {
    height: 0dvh;
}

body#homepage:not(.show_intro.intro--on) #intro_top-bar{
opacity: 0;
}



body.show_intro.intro--on #intro,
.box_v_align{
	opacity: 1;
	height: 100dvh;
}


#intro{
	position:absolute;
	left:0px;
	transition:all 0.5s ease-in-out;
	top:0px
}



.intro_text h2 {
    text-align: center;
    width: 100%;
}




@keyframes fadeInOut {
    0% { opacity: 0; }
    40% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.fade-animation {
    animation: fadeInOut 4s ease-in-out forwards;
}

.container {
  width: 100%;
  height: 100vh; /* per evitare problemi di altezza */
  display: flex;
  overflow: hidden; /* evita problemi con lo scroll */
}


  .panel {
	  width: 100vw;
	height: 100dvh;
	min-width: 100vw;
	flex: 0 0 auto; /* Importante per evitare problemi di ridimensionamento */
	display: flex;
	justify-content: flex-start;
	align-items: center;
	position: relative;
	box-sizing: border-box;
  }

  .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal {
    mix-blend-mode: multiply;
}
  
.proj_tit {
    text-align: left;
    text-transform: uppercase;
	padding: 0px 20px;
}

body:not(.show_intro) #content,
body:not(.show_intro) #bottom-bar {
	opacity: 0;
	animation: fadeIn 1.5s ease-in-out forwards;
  }
  
  


  
  @keyframes fadeIn {
	from {
	  opacity: 0;
	}
	to {
	  opacity: 1;
	}
  }
  

 #homepage.page  {
	overflow-x: hidden;
	overflow-y: scroll;
  }


  body#homepage.open_project {
    overflow: hidden;
}

body.open_popup {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

 ul.main_menu {
    position: fixed;
    z-index: 30;
    top: 20px;
    left: 20px;
	
}




#content{
	padding: 0px;
  }

   .top-bar,  #bottom-bar {
    position: fixed;
}

#home_slider .top-bar{
	position: absolute;
}


.top-bar #menu_cat_proj,
.top-bar #menu_title_proj,
.panel .top-bar div{
    width: 50%;
}

.top-bar,
.top-bar a,
ul li.menu-item a{
	color: #fff;
	text-decoration: none;
}


.top-bar {
	 right: 20px;
    top: 20px;
    justify-content: flex-start;
    width: 66%;
}

#landing .box-flexbox { 
	padding: 0; 
	margin: 0; 
	display: -webkit-box; 
	display: -moz-box; 
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex; 
	flex-flow: column wrap;
	flex-direction:column;
	justify-content: space-between;
	align-items: stretch;
}

#landing a, 
#landing p, #bottom-bar p, #bottom-bar a{
	font-size: 14px; 
	line-height: 21px;
	padding: 0px;
	font-weight: 500;
	margin: 0px;
}

ul.main_menu {
	margin:0px;
	padding:0px;
}

ul.main_menu li{
	list-style: none;
}



ul.main_menu li:not(.current-menu-item) a:hover {
    opacity: 1;
}

#landing h1, #landing h2, .top-bar a,
#bottom-bar h1, body#single #bottom-bar p,
.proj_tit, ul.main_menu, div#projTitle, #projCity,
.intro_text h2, .box_v_align h1, .box_v_align h2,
ul.main_menu li,
.top-bar, #enter{
	font-size: 39.365px;
font-style: normal;
font-weight: 700;
line-height: 100%; 
letter-spacing: -1.575px;
	margin: 0px;
    padding: 0px;
}


ul.main_menu li:not(.current-menu-item) a,
#menu_cat_proj .stk-item,
#menu_title_proj .stk-item {
	opacity: 0.6;
}

#menu_cat_proj .stk-item.stk-current,
#menu_title_proj .stk-item.stk-current {
  opacity: 1;
  color: white;
}


.upp{ text-transform:uppercase}

div.top-bar, #bottom-bar {
	position: fixed; 
	z-index: 3; 
   
} 

#bottom-bar{bottom:0px;
	  padding: 20px;
	align-items: flex-end;}

video{
	width: 100%;
    right: 0px;
    position: absolute;
    object-fit: cover;
    height: 100%;
}
  

  @keyframes fadein{
0% { opacity:0; }
66% { opacity:0; }
100% { opacity:1; }
}

@-webkit-keyframes fadein{
0% { opacity:0; }
66% { opacity:0; }
100% { opacity:1; }
}
 
  @media screen and (max-width: 1290px){
	video {
		width:100%;
		height: 100%;
	}
  }


  


h1,h2,h3{
	padding: 0px;
	margin: 0px;
}

.otgs-development-site-front-end,
#home_video_mob,
.mob{
	display:none!important
}




#manifesto .owl-carousel .owl-stage {
    display: flex;
    align-items: flex-start;
    height: 100%;
}

	
#main_top-bar {
  position: fixed;
  width:66%;
      z-index: 9999;
  pointer-events: none;
      align-items: flex-start;
}

body:not(.intro--on) ul.main_menu li,
body:not(.intro--on) .panel:first-child .menu_cat_proj,
body:not(.intro--on) .panel:first-child .menu_title_proj,
body.intro--on #intro_nome, body.intro--on #intro_ruolo,
body.intro--on #enter,
body:not(.intro--on) #menu_title_proj,
body:not(.intro--on) #menu_cat_proj{
  opacity: 0;
  animation: menuAppear 0.1s forwards;
}


body.intro--on #intro_nome{ animation-delay: 0.8s;}
body.intro--on #intro_ruolo{animation-delay: 1s;}
body.intro--on #enter{ animation-delay: 1.6s;}

body:not(.intro--on) ul.main_menu li:nth-child(1) { animation-delay: 0.8s; }
body:not(.intro--on) ul.main_menu li:nth-child(2) { animation-delay: 1s; }
body:not(.intro--on) ul.main_menu li:nth-child(3) { animation-delay: 1.2s; }
body:not(.intro--on) ul.main_menu li:nth-child(4) { animation-delay: 1.4s; }
body:not(.intro--on) ul.main_menu li:nth-child(5) { animation-delay: 1.6s; }


body:not(.intro--on) .panel:first-child .menu_cat_proj,
body:not(.intro--on) #menu_cat_proj { animation-delay: 1.8s; }
body:not(.intro--on) .panel:first-child .menu_title_proj,
body:not(.intro--on) #menu_title_proj { animation-delay: 2s; }



@keyframes menuAppear {
  to { opacity: 1; }
}

.top-bar.panel-bar--hidden .menu_cat_proj, .top-bar.panel-bar--hidden .menu_title_proj {
    opacity: 0;
}

.stack-cat,
.stack-title {
  display: flex;
  flex-direction: column;
}

.stack-cat .entry,
.stack-title .entry {
  opacity: 0.3;
  transform: translateY(0);
}

.stack-title .entry.active,
.stack-cat .entry.active {
  opacity: 1;
}

/* profondità */
.stack-title .entry:nth-child(2),
.stack-cat .entry:nth-child(2) { opacity: 0.6; }

.stack-title .entry:nth-child(3),
.stack-cat .entry:nth-child(3) { opacity: 0.4; }



.overlay.hidden {
    display: none;
}

.overlay img {
    max-height: 75vh;
    max-width: 90vw;
    object-fit: contain;
    display: block;
	 position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}


/*** COOKIE BANNER ***/
#moove_gdpr_cookie_info_bar {
    min-height: 40px !important;
	z-index: 5!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice p{
	font-size:15px;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton
{ text-transform: uppercase;}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
    padding: 4px 20px !important;
    width: 100%;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content {
    justify-content: space-between;
	padding-left: 0 !important;
    padding-right: 0 !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    font-size: 13px;
    line-height: 20px;
    color: #000;
    font-weight: 500;
    padding: 0 0;
    margin: 0;
    letter-spacing: -0.39px;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.moove-gdpr-infobar-reject-btn, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.moove-gdpr-infobar-reject-btn {
    background-color: transparent;
    box-shadow: none;
    color: #DBDBDB;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
    border-top: 0 !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.focus-g, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:focus, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.focus-g, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:focus, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover {
    color: #000;
    background-color: transparent;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.moove-gdpr-infobar-reject-btn:hover, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.moove-gdpr-infobar-reject-btn:hover {
    background-color: transparent;
    color: #000;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice p a {
    font-size: 13px;
    line-height: 15px;
    font-weight: 500;
    letter-spacing: -0.39px;
	text-decoration: none!important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-allow-all{
	order: 2;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-reject-btn{
	order: 1;
	margin-right: 15px !important;
}
#moove_gdpr_cookie_info_bar {
    min-height: initial;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    background-color: transparent !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content {
    padding-left: 0;
    padding-right: 0;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    padding: 8px 0px !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder {
    display: flex;
	float: right;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    order: 2;
	color: #000 !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.moove-gdpr-infobar-reject-btn {
    order: 1;
    color: #acacac !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice p,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton{
font-weight: 300!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice p:after{
	margin-left: 9px;
	margin-top: 3px;
    position: absolute;
    background-image: url(img/freccia.svg);
    height: 11px;
    width: 12px;
    background-size: contain;
    content: "";
    display: inline-block;
	filter: invert(1);
	background-repeat: no-repeat;
}

.difference{
	color: #ffffff;
    background: transparent;
 	line-height: normal;
    mix-blend-mode: difference;
}

.difference a{
	color: #ffffff;
	text-decoration: none;
}

.visibleMob{
	display: none!important;
}

.visibleDesk{
	display: block;
}



.videoloop{
	width:100%!important;
}
#videoloop, .proj_videoloop{
	display: block;
}
#videoloopmob{
	display: none;
}

#archive #content {
padding: 20px;
 padding-top: 240px;
}

.grid{
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

/* tablet grande */
@media (max-width: 1200px){
    .grid{
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* tablet */
@media (max-width: 992px){
    .grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* mobile */
@media (max-width: 768px){
    .grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* celle */
.item{
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	cursor: pointer;
}

.item img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}


/* #info section#content,
#manifesto section#content {
    flex-direction: row-reverse;
	align-items: flex-start;
} */

#info_proj{
	width: 100%;
    max-width: 190px;
	align-self: flex-start;
}


#info_proj div:last-child {
    border: none;
}

#info_proj p, #info_proj a{ 
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 19px;
	display: block;
}

#info_proj a:last-child {
    padding-bottom: 15px;
}
#info_proj p.pressnolink{
	margin-bottom: 0;
}
#info_proj p.pressnolink:last-child {
    padding-bottom: 15px;
}


.accordion_mobile .accordion__item .accordion__content{
    font-style:normal
  }

  .accordion_mobile .accordion__item{
    padding:0px!important
  }

  .bio_img {
    padding-bottom: 120%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

a{
	color:#000;
	text-decoration: underline;
}

#info_proj span{
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
}

.abac-project img{
	filter: grayscale(1);
}


#flex_proj{
	height: 100vh;
	align-content: center;
}

.project_overlay #flex_proj {
    padding: 0px 20px;
}


#close_proj, #open_btn{
	background-image: url(img/close-proj.svg);
    height: 19px;
    width: 20px;
    background-size: contain;
    content: "";
    display: inline-block;
    filter: invert(1);
    background-repeat: no-repeat;
}
.popup.close #open_btn, .popup_nl.close #open_btn{
	transform: rotate(45deg);
}

#open_btn{
	transition: all 0.3s ease-in-out;
	transform: rotate(0deg);
    filter: none;
    border: 0px !important;
    width: 19px !important;
    position: absolute;
    right: 20px;
}

a.btn{
	text-decoration: none;
}

a.btn:after{
	margin-left: 12px;
    margin-top: 10px;
    position: absolute;
    background-image: url(img/btn_freccia.svg);
    height: 18px;
    width: 18px;
    background-size: contain;
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
}

.manifesto h2{
	color: #000;
font-size: 30px;
font-style: normal;
font-weight: 500;
line-height: 34px; 
}

.manifesto.box_flexbox{
	flex-direction: column;
    gap: 40px;
	align-items: flex-start;
	padding-bottom: 40px;
}

.info.box_flexbox{
	flex-direction: row;
	gap: 60px;
	align-items: flex-start;
	justify-content: flex-start;
}

.manifesto.box_flexbox .text{
	flex-direction: row;
	flex: 1;
	width: 100%;
	align-items: flex-start;
}
.manifesto.box_flexbox .text p{
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 19px; /* 126.667% */
margin-bottom: 10px;
}

.manifesto.box_flexbox .text figcaption{
color: #000;
/* ABAC - Small */
font-size: 11px;
font-style: normal;
font-weight: 400;
line-height: 21px; /* 190.909% */
}

.manifesto.box_flexbox .text > div {
   width:33.3%
}

.manifesto.box_flexbox .text #slider{
	width:100%
}

.sep {
    width: 100%;
    height: 1px;
    background: #000;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}

.displaynone{
	display: none !important;
}

.flex_col{
	align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
   flex-direction: column;
   display: -webkit-box;
   display: -moz-box;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   
}

.listing_info ul {
    padding: 0px;
	margin: 0px;
}

.listing_info ul li{
 list-style: none;
 padding: 0px;
 padding-bottom: 10px;
}

.box_flexbox{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-flow: wrap;
    flex-wrap: wrap;
	align-items: center;
	align-items: flex-start;
}

img {
	max-width:100%;
	vertical-align:bottom;
}


a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

#homepage video, #landing video {
    width: 100%;
    right: 0px;
    position: absolute;
    object-fit: cover;
	height: 100%;
    animation: videoUnblur 1s 1.4s forwards;
    filter: blur(20px);
}

@keyframes videoUnblur {
  to { filter: blur(0px); }
}
body#homepage #enter {
    pointer-events: all;
	mix-blend-mode: overlay;
}

#intro{
	background-color: #000;
}

  body.intro--on #video_intro,
  #page_video_bg{
	 animation: fadeInCenter 1.3s ease-out forwards;
   } 
   
    body.intro--on #video_intro{
	  animation-delay: 0.3s;
	}


    #intro_nome{
    animation-delay: 0.9s;
   } 

      #intro_ruolo{
    animation-delay: 1.2s;
   } 

    #intro_nome, #intro_ruolo, body.intro--on #video_intro,
	#page_video_bg{
	opacity: 0;
	}
	
#page_video_bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: #000;
}

#page_video_bg video,
#page_video_bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

#page_video_bg video,
#page_video_bg img {
  filter: blur(20px);
  transform: translate(-50%, -50%) scale(1.1);
}

div#enter {
    opacity: 0;
    position: absolute;
    z-index: 900;
    width: 100px;
    height: auto;
    bottom: 10px;
    text-align: center;
    opacity: 0;
	color: #fff;
    cursor: pointer;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/*------------------------------------*\
    PROGETTO
\*------------------------------------*/
#slider.slider_progetto{
	width: 65%;
	 align-self: flex-start;
 }

 #slider.slider_progetto.owl-carousel .owl-stage-outer{
	width:100%;
 }

#slider.slider_progetto .item {
    height: 100%;
    width: auto;
    display: block;
}

#slider.slider_progetto .item.text {
    padding:40px;
	background: white;
}

#slider.slider_progetto .item.text p {
    font-size: 22px;
    text-align: center;
    line-height: 26px;
	display: grid;
    place-items: center; /* Centra sia orizzontalmente che verticalmente */
    height: 100%;
	font-size: 1.6vw;
    line-height: 2vw;
}


#slider.slider_progetto.owl-carousel .owl-item {
    align-content: stretch;
    align-self: stretch;
	padding-left: 2px;
    background: #000;
}

#slider.slider_progetto .item.video {
	display: flex;
	margin: auto;
	width: 100%;
	text-align: center;
	align-items: center;
	
}

#slider.slider_progetto .owl-item .item.video video {
    /* max-height: 50px; */
	width: 100%;
    height: auto;
    max-height: 75vh;
	object-fit: contain;
}


.owl-carousel .owl-item img {
    width: auto!important;
	height: 100%;
	margin: auto!important;
}

.owl-carousel .owl-item .item.orizzontale,
.item.orizzontale  {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider_progetto.owl-carousel .owl-item img,
.slider_progetto.owl-carousel .owl-stage-outer{
	max-height: 75vh;
}


#slider.slider_progetto.owl-carousel .owl-stage {
	display: flex;
	align-items: flex-start;
	height: 100%;
}

#slider.slider_progetto .owl-item.active.center {
    padding-left: 2px !important;
    margin-left: 2px !important;
}

body.open_project div.top-bar {
    z-index: 4;
}

.overflow-hidden {
	overflow: hidden;
	height: 100%;
	}

/* .project_overlay inizialmente fuori dalla viewport a destra */
.project_overlay {
	position: fixed;
	top:110vh;
	right: 0; /* Completamente a destra */
	width: 100vw;
	height: 100vh;
	background-color: white; /* Opacità nera */
	z-index: 4;
	transition: top 1s ease-in-out; /* Transizione sul right */
}


#control_slider, .owl-nav{
	width: 70%;
	width:100%;
	height: 100%;
	position: absolute;
	z-index: 2;
	top: 0px;
	left: 0px;
	overflow: hidden;
	}

	
	.owl-carousel .owl-nav button span .custom-counter {
		font-size: 14px;
		color:#000;
		width: 60px;
		position: absolute;
		filter: invert(1);
		
	}
    .owl-carousel .owl-nav button.owl-prev span .custom-counter {
		padding-left: 14px;
		margin-top: -5px;
	}
    .owl-carousel .owl-nav button.owl-next span .custom-counter {
		padding-right: 14px;
		margin-top: -4px;
	}

	.owl-carousel .owl-nav button {
		border: none !important;
		outline: none !important;
	}

	
.owl-carousel .owl-nav button span {
    font-size: 20px;
    background-image: url(img/abac-control.svg);
    height: 9px;
    width: 12px;
    background-size: contain;
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    filter: invert(1);
    color: transparent;
    position: absolute;
}


.owl-carousel .owl-nav button.owl-prev.disabled span,
.owl-carousel .owl-nav button.owl-next.disabled span {
    opacity: 0.4 !important;
}

.owl-carousel .owl-nav button.owl-next span,
.owl-carousel .owl-nav button.owl-next span .custom-counter{
	transform: rotate(180deg);
}

.owl-prev, .owl-next {
	top: 0;
	height: 100%; /* Altezza uguale al container */
	width: 50%; /* Larghezza metà del container */
	border: none;
	z-index: 10; /* Assicura che siano sopra le immagini */
	left:0px
}

 button.owl-next  {
		right: 0px;
		left: inherit;

}	



.owl-nav{
	filter: invert(1) !important;
    mix-blend-mode: difference;
}
.owl-carousel .owl-nav .owl-next{
    cursor: none !important;
}
.owl-carousel .owl-nav .owl-prev {
    cursor: none !important;
}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:769px) {
	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder {
		padding-left: 10px !important;
	}
}




@media only screen and (max-width:780px) {
#homepage.page .top-bar #menu_cat_proj, #homepage.page .top-bar #menu_title_proj, .panel .top-bar div {
    width: 100%;
}

.panel.is-current {
  position: sticky;
  top: 0;
  background-attachment: scroll; /* non serve più fixed */
}

#homepage.page #main_top-bar {
top: 160px;
}

#archive #menu_title_proj {
padding-top: 6px;
}

#homepage #menu_title_proj{
	padding-top:30px;
}

#archive #content {
	padding: 16px;
	padding-top:140px;
}

#archive #main_top-bar{
	width: 100%;
	left: 16px;
	top: 160px;
}

#archive .item {
height: 110px;
}

#archive .top-bar #menu_cat_proj, #archive .top-bar #menu_title_proj {
	width: 100%;
}

.overlay img {
	max-width: calc(100% - 32px);
	top: 220px;
	left: initial;
	transform: none;
}

#popup_info, #popup_info p, #popup_info a, 
.top-bar a, #bottom-bar h1, body#single #bottom-bar p, 
.proj_tit, ul.main_menu, div#projTitle, #projCity, .intro_text h2, .box_v_align h1, 
.box_v_align h2, ul.main_menu li, .top-bar, #enter{
	font-size: 25px;
	line-height: 98%;
letter-spacing: -1.5px;
}

	#bottom-bar {
		padding: 15px;
	}


	#bottom-bar.box_flexbox div:nth-child(even) {
		text-align: right;
	}

	.manifesto.box_flexbox{
		max-width: 100%;
	}
	
	

	header{
		padding: 0px;
		z-index: 20;
		width: 100%;
		top: 0px;
	}
	

	#info main #content {
		padding-bottom: 50px!important;
		}

	ul.main_menu{
		top: 15px;
		left: 15px;
	}

	div.top-bar{
		position: fixed
	}
	#videoloop{
		display: none;
	}
	#videoloopmob{
		display: block;
	}

	.visibleDesk{
		display: none!important;
	}

    

	a.btn:after {
		margin-left: 10px;
		margin-top: 6px;
	}


	.project_overlay .project_overlay_inner .project_overlay_content{
		padding-top: 140px!important;
		padding-bottom: 50px;
		overflow-y: auto;
        max-height: 100vh;
        touch-action: auto;
        -webkit-overflow-scrolling: touch;
	}

	#landing #bottom-bar div {
		width: 50%;
		}

	.visibleMob{
		display: block!important;
	}

	  #close_proj{
		 filter: invert(1)!important;
		mix-blend-mode: difference;
	}

	.project_overlay #flex_proj{
		padding: 0px 15px;
		padding-bottom: 80px;
	}




#glossary .accordion__item .accordion__content{
	display:block!important;
}

#glossary .accordion__arrow{
	display: none !important;
}



#manifesto .owl-carousel .owl-item img,
#manifesto .owl-carousel .owl-stage-outer{
	height:auto;
	width: 100%;
}


.manifesto .image_box {
    padding-top: 30px;
}

.accordion__item:first-child {
    padding-top: 0px !important;
    /* padding-bottom: 0px !important; */
}

#homepage.page .top-bar{
	width: 100%;
}

#homepage.page .top-bar {
   left: 15px;
  
	right: inherit;
}

.main_top-bar{
	  top: 170px;
	 left: 15px;}

	body#homepage .container {
		width: 100%;

		flex-direction:column;
	}
	

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton{
		margin-top: 0px!important;
		margin-bottom: 0px!important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice {
		padding-left: 0px!important;
		margin-bottom: 0px!important;
		padding-top: 12px!important;
		float:left;
	}

	#moove_gdpr_cookie_info_bar {
		min-height: 30px !important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice p{
		font-size:11px;
		line-height: 13px;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton{
		margin:0px!important;
		font-size:11px!important
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.moove-gdpr-infobar-reject-btn{
		margin-right: 15px!important;
	}
	
	 ul.main_menu, #landing h1, #landing h2, .top-bar a, #bottom-bar h1, body#single #bottom-bar p, .proj_tit, div#projTitle, #projCity,
	#info_proj h2, .manifesto h2, .scrollable_box .bio h2, #glossary h2, .intro_text h2, .box_v_align h1, .box_v_align h2,
	.popup h2, .popup_nl h2, .ul.main_menu li, #enter {
		font-size: 25px!important;
		line-height: 25px!important;
	}
	.manifesto h2{
		padding-right: 25px;
	}

	.intro_text h2 {
		text-align:center;
		padding: 15px !important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
		padding: 0px 15px !important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice p:after {
		height: 8px;
		width: 10px;
	}

	div#glossary {
		padding: 15px;
		width: 100%;
	}
	
	#info_abac{
		width:100%;
	}

	.scrollable_box h2,  #glossary h2 {
		text-transform: uppercase;
		font-weight: 700 !important;
	}

	#landing a, #landing p, #bottom-bar p, #bottom-bar a{
		font-size: 11px;
		line-height: 12px;
	}

	#open_btn{
		display: inline-block !important;
	}

	.project_overlay{
		overflow: scroll;
	}
	
	.tit_box {
		position: fixed;
		top: 50%;
		transform: translateY(-50%);
		font-size: 2rem;
		font-weight: bold;
		overflow: hidden;
		text-align: left;
		line-height: 50px;
	}

	.tit_box p {
		display: inline-block;
		position: relative;
		text-transform: uppercase;
		padding: 0px 15px;
		margin: 0px;
	}
	

	/* Nasconde il testo nelle sezioni */
	.panel .p_tit {
		display: none;
	}

	#flex_proj{
		padding: 0px;
	}
	.item.orizzontale{
		width: 100%;
		padding-bottom: 65%;
	}

	.project_overlay #close_proj {
		filter: none;
		position: absolute;
		right:15px;
		top:15px;
	}


	.ml-mobileButton-horizontal {
		margin-bottom: 0px !important;
	}
	
	.ml-mobileButton-horizontal button{
		background: none !important;
	}
	
	
#info .scrollable_box:before, #info .scrollable_box:after, #info #info_abac:before, #glossary:before {
    height: 110px;}

	#glossary:before {
		height: 0px;}

#info .scrollable_box:before{
	height: 15px;
    border-bottom: thin solid #000;
    margin-bottom: 15px;
}

#glossary .accordion__item .accordion__title {
   pointer-events: none;
}


	#single #info_proj, .project_overlay div#info_proj,
	#glossary{
		background:white;
		padding-top: 0px;
		float: none;
		max-width: 100%;
		padding: 15px;
		position: fixed;
        left: 0px;
		z-index: 10;
		padding-bottom: 5px;
	}


		input::placeholder {
			color: #000!important
		  }

		  input:-ms-input-placeholder { /* Internet Explorer 10-11 */
			color: #000!important
		 }
	 
		 input::-ms-input-placeholder { /* Microsoft Edge */
			color: #000!important
		 }

	#single h2, .project_overlay div#info_proj h2, #glossary h2 {
		padding-bottom: 35px;
	}
	
	


	.open_popup div#bg_popup {
		opacity: 1;
		background: rgba(0, 0, 0, 0.50);
		z-index: 2;
		height: 100%;
	}

	div#bg_popup {
		height: 0px;
		left: 0px;
		position: fixed;
		width: 100vw;
		top: 0px;
		z-index: 2;
		transition: all 0.5s ease-in-out;
		opacity: 0;
	}
	
	#manifesto div#bg_popup{
		z-index: 0;
	}

	.owl-carousel .owl-nav button span .custom-counter{
		display: none;
	}

	.owl-carousel .owl-nav button.owl-prev span{ 
		position: absolute;
		left: 15px;
	}

	.owl-carousel .owl-nav button.owl-next span{ 
		position: absolute;
		right: 15px;
	}


	.owl-carousel .owl-nav button.owl-prev span,
	.owl-carousel .owl-nav button.owl-next span {
		background-image: url(img/freccia.svg);
		background-position: center;
		background-repeat: no-repeat;
	}
	
	.owl-carousel .owl-nav button.owl-prev span {
		transform: rotate(180deg);
	}
	
	.owl-carousel .owl-nav button.owl-next span {
		transform: rotate(0deg);
	}

	.open_popup .top-bar.difference {
		mix-blend-mode: normal;
		filter: invert(1);
	}
		
	.detail_proj{
		display: none;
	}

	/* .open_project .popup.close {
		transform: translateY(85%);
	}*/

	.project_overlay div#info_proj h2 {
		padding-right: 20px;
	}

	.open_project .popup.close{
		transform: translateY(calc(100% - 55px));
	}

	.open_project.big .popup.close{
		transform: translateY(calc(100% - 82px));
	}

	.popup.close, .popup_nl.close {
		position: fixed;
		transform: translateY(100%);
		bottom:0;
		right: 0; 
		width: 100vw;
		z-index: 4;
	}
	
	.popup, .popup_nl{
		bottom:0; 
		transform: translateY(0);
		transition: all 1s ease-in-out; 
	}


	.manifesto.box_flexbox .text,
	.info.box_flexbox{
		flex-direction:column;
		gap: 50px;
	}


  

	#flex_proj {
		height: auto;
		padding-top: 140px;
		padding-bottom: 50px;
	}
	
	.panel {
		height: 95vh;
	}



	.open_project .project_overlay #close_proj {
		position: fixed !important;
		z-index: 2;
	}

	.open_project.open_popup .project_overlay #close_proj{
	filter: none !important;
}
	


	.open_project #content {
		position: relative;
	}


	

	
		body.instagram-browser .tit_box {
			position: fixed;
			top: 300px;
			transform: none;
		}
		
		body.instagram-browser .panel{
			height: 650px;
		}

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:var(--verde);
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:var(--verde);
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:var(--verde);
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}