/*****MOBILE
************************************************************/


@media (max-width: 690px) {




/*** iOS Safari only **************/
@supports (-webkit-touch-callout: none) {

  
  
/** hack full height para apanhar a barra de pesquisa em baixo ***/
  .fullheight {
    height: calc(100svh + 100px) !important;
  }
#hero-slider {
   height: calc(100svh + 100px) !important;
}
  .imagewrapper.fixed img, .videoWrapper.fixed video {
    object-fit: cover;
    height: calc(100svh + 100px);
     min-height: calc(100svh + 100px);
  }
  
  .stickylogo {
     top: calc(35svh + 100px);
   }

  #hero-slider {
  height: calc(100svh + 100px);
  }


  .stickyBot {
    top: calc(100svh - 70px);
   }
  


  /*** END SAFARI IOS TWEEKS ***/
}

 


  
  
  body {
  line-height: 160% !important;
   /*background-color: var(--whitebg);*/
}  

   html {
     font-size:14px;
    /*background-color: var(--whitebg);*/
   }


:root {  
  
  /** sizes ***/
 	--smallsize: 0.75rem;
	--basesize: 1rem;
   --smallmediumsize: 1.35rem;
   --mediumsize: 1.5rem;
   --bigsize: 2rem;
  --extrabigsize: 4rem;

  
  /** paddings ***/
  --sidesmallpadding: 20px;
  --sidepadding:20px;
  --sideextrapadding: 20px;
  --verticalsmallpadding: 30px;
  --verticalpadding: 60px;
  --verticalextrapadding : 60px;

  /*** head height ***/
  --headheight: 60px;

  

}
  
  

.mobileonly {
  display: revert !important;
}
.desktoponly {
  display:none !important;
}
  
  
 /*
------------------------------------------------------------------------------------------------------
:::::::: GENERAL
------------------------------------------------------------------------------------------------------
*/ 
  
.row.invertonmobile {
  flex-direction: column-reverse;
}  
  

  
.noleftpaddingonmobile {
    padding-left:0 !important;
}
.norightpaddingonmobile {
    padding-right:0 !important;
} 
.notoppaddingonmobile {
    padding-top:0 !important;
}    
 .nobottompaddingonmobile {
    padding-bottom:0 !important;
}   
  
  
  
.legenda {
  margin-top: 10px;

}
  

.sticky {
  position: relative !important;
}
  .sticky.top {
  top:0;
}


/**** STICKY BOT ****/
  .stickyBot {
  top: calc(100svh - 70px);
   /* bottom: calc(70px + env(safe-area-inset-bottom, 0px));*/
}
  
  /*** SCROLL DOWN ON BANNER ****/
 /* .scrolldown {
    position: absolute;
    z-index: 9;
    top: calc(100svh - 100px);
  }*/
  


  /*
------------------------------------------------------------------------------------------------------
:::::::: STICKY LOGO
------------------------------------------------------------------------------------------------------
*/    
 .underlogo {
 margin-top: 10px;
    font-weight: ;
    font-size: 11px;
    letter-spacing: 2px;
}
  
  /*
------------------------------------------------------------------------------------------------------
:::::::: heights
------------------------------------------------------------------------------------------------------
*/  
.fullheight {
    position: relative;
    height: 100svh;
    overflow: hidden;
  }
.fullheight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
  .onethirdheight {
  height: 200px !important;
    min-height: 200px;
}

.halfheight {
  height: 350px !important;
  min-height: 350px;
}
.twothirdsheight{
  height: 350px !important;
  min-height: 350px;
}

 /*** for banners with text ****/ 
.bannerwrapper .bannerunder .imagewrapper.twothirdsheight{
  height: 450px;
  min-height: 450px;
}




  
    
  /*
------------------------------------------------------------------------------------------------------
:::::::: TEXTS AND TITLES
------------------------------------------------------------------------------------------------------
*/ 

  .basesize.uppercase {
    font-size: 0.85rem !important;
    line-height: 160% !important;
  }

  
  
/*
------------------------------------------------------------------------------------------------------
:::::::: HEAD
------------------------------------------------------------------------------------------------------
*/
  #head {
  position: fixed;
  top: 0;
  
  /*transition: var(--transition2);*/

}

  
#head.hide-header {
 /*top: calc(var(--headheight)*-1) !important;*/
  top: 0;
}
  #head.show-header {
 top: 0;
}

  
#head .logo {
  height: var(--headheight);
  width: 100px;
  display: flex;
  align-items: center;

}  
#head .logo a {
  opacity: 1 !important;
  width: 100%;
 /* display: flex;*/
}

 
  
/*
----------------------------------------------
:::::::: MOBILE MENU -- BURGER
----------------------------------------------
*/
#header .headwrapper.mobileonly {
  display: flex !important;
}
  
  #header  .navmobile {
  height: var(--headheight);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 15px;
}
  
  #header .navmobile .burgermenu {
    margin-left: 0;
    margin-right: 0;
  }
  
  #header .navmobile .burgermenu a, #header .navmobile .burgermenu button {
    opacity: 1 !important;
    padding: 0;
    background-color: transparent;
    border: 0;
  }
  #header .navmobile .burgermenu .burgericon {
    width: 40px;
    height: 40px;
    border: 0px solid var(--whitebg);
    border-radius: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /*transition: var(--transition2);*/
  }

#header .navmobile .burgermenu a:hover .burgericon, #header .navmobile .burgermenu button:hover .burgericon {
  opacity:0.8;
}
  #header .navmobile .burgermenu .burgericon span {
    font-size: 40px;
    font-weight: 100;
    color: var(--whitetext) !important;
  }



/*** when header is solid ***/
  #header.is-solid .navmobile .burgermenu .burgericon span{
    color: var(--blackbg) !important;
  }
/*** when header is solid + dark ***/
  #header.is-solid.is-dark .navmobile .burgermenu .burgericon span{
    color: var(--whitetext) !important;
  }






  




/*
------------------------------------------------------------------------------------------------------
:::::::: WRAP BODY
------------------------------------------------------------------------------------------------------
*/  

  #wrap_body {
    margin-bottom: 0 !important;
    /*margin-top: var(--headheight);*/
  }
  
/*
------------------------------------------------------------------------------------------------------
:::::::: FOOTER
------------------------------------------------------------------------------------------------------
*/  
  #footer .footerlinks a {
  color: var(--whitetext) !important;
  line-height: 160%;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 5px;
}
  #footer .footerlogo {
  width: 100px;
  margin: 0 auto 30px;
}
  
 /*
------------------------------------------------------------------------------------------------------
:::::::: IMAGES AND BANNERS
------------------------------------------------------------------------------------------------------
*/  

/*** turn fixed into relative ***/
/*.imagewrapper.fixed img, .videoWrapper.fixed video {
    position: relative !important;
   }*/
  .row.imagebundle {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /*** targets only col ***/
/* .row.imagebundle > [class*="col"] {
    padding-left: 0 !important;
    transform: none !important;
    padding-right: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }*/
/*** targets all divs inside ****/
  .row.imagebundle > * {
    padding-left: 0 !important;
    transform: none !important;
    padding-right: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  



  
  
    /*
------------------------------------------------------------------------------------------------------
:::::::: ENGAGE BOX
------------------------------------------------------------------------------------------------------
*/  
 



  
  
    
/*
------------------------------------------------------------------------------------------------------
:::::::: CONVERT FORMS
------------------------------------------------------------------------------------------------------
*/   
   
  .loadform {
    width: 100%;
    margin-left: 0px !important;
    margin-bottom: 25px;
  }
   
/*
------------------------------------------------------------------------------------------------------
:::::::: GRID AND SCROLLERS
--------------------------------------------------------
*/   

  /**** display grid items in column 100vw ***/
 
.grid.col2, .grid.col3, .grid.col4, .grid.col5 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 0;
  row-gap: 20px;
}


 /*** turning grid into scroller --- for class scrolleronmobile and scroller  ***/

  .scrolleronmobile, .scroller {
    display: flex !important;
    overflow-x: auto;
    padding-bottom: 15px;
    column-gap: 20px !important;
  }
  .scrolleronmobile .item, .scroller .item {
    width: 75svw !important;
    min-width: 75svw !important;
  }

  #sketchbook.scroller {
    display: flex !important;
    overflow-x: auto;
    padding-bottom: 0 !important;
    column-gap: 0 !important;
  } 
 #sketchbook .item {
    width: 100svw !important;
    min-width: 100svw !important;
  }


 /*
------------------------------------------------------------------------------------------------------
:::::::: GALLERY
--------------------------------------------------------
*/ 


  /*** lightbox ***/
.igui-lightbox-items li {
  padding: 20px !important;
}
.ig-lightbox-button-right::after, .ig-lightbox-button-left::after { 
  color: #fff;
  background-color: transparent;
}
.igui-lightbox-toolbar .igui-close::after {
  height: 56px; 
  font-size: 40px;
  width: 70px !important;
  font-weight: 200;
}
.ig-lightbox-button::after {
  height: 70px;
  font-size: 30px;
  width: 70px !important;
  font-weight: 200;
}

  


 /*
------------------------------------------------------------------------------------------------------
:::::::: VIDEO JS - Player
--------------------------------------------------------
*/ 

.video-js .vjs-big-play-button {
  width: 60px !important;
  height: 60px !important;
  top: calc(50% - 20px) !important;
  left: calc(50% - -15px) !important;
}
.video-js .vjs-big-play-button .vjs-icon-placeholder::before {
  content: "\f101";
  padding: 8px;
  width: 60px;
  height: 60px;
  font-size: 20px;
}


/*
------------------------------------------------------------------------------------------------------
:::::::: IMAGE MAP & TOOLTIPS
--------------------------------------------------------
*/ 

.plot-hit {
  fill: transparent;
  stroke: var(--bronzetext);
  stroke-width: 3;
  pointer-events: stroke;
  opacity: 0;
}

/*
------------------------------------------------------------------------------------------------------
:::::::: MATERPLAN INFO
--------------------------------------------------------
*/ 
  .masterplan-info .list {
    margin-top: 0;
  }

  .masterplan-legenda {
  padding-bottom: 0 !important;
}
  .masterplan-info {
    padding-top: 10px !important;
    text-align: center;
    margin-bottom: 20px;
  }

#residencesMapping .legenda .smallsize {
  margin-top: 0px !important;
  padding-top: 10px !important;
}

  
/*
------------------------------------------------------------------------------------------------------
:::::::: PERSPECTIVES
--------------------------------------------------------
*/ 

  
.newspage .imagewrapper img {
  padding-left:0 !important;
  padding-right:0 !important;
}
.perspectives-listing .blog-item {
  padding-left: 0px;
   padding-right: 0px;
}
.perspectives-listing .blog-item .item-image {
  height: 60svh;
}
.perspectives .hm-article-nav {
  background-color: var(--creambg);
  padding: var(--verticalsmallpadding) var(--sidepadding) var(--verticalextrapadding) var(--sidepadding);
  display: flex;
  border-top: 1px solid var(--greyborder);
  flex-direction: column;
  align-items: stretch;
}



/*
------------------------------------------------------------------------------------------------------
:::::::: CURATION
--------------------------------------------------------
*/ 
.curationlogoblock {
  /*padding: 30px 0 30px 0 !important;*/
}
  /*
.curationlogoblock.logoblock1 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
  .curationlogoblock.logoblock2 {

  padding-bottom: 0 !important;
}*/
  
  .logoP {
  width: 170px;
  display: flex;
  align-content: center;
  align-items: center;
  height: auto;
}


  
  
  /************** END ******************/
}