/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */


/*
GENERICI
*/
/* tutte le pagine (e il footer) inizialmente non sono visibili, verranno mostrate dal metodo drawPage() */
.svarPages,
footer.page-footer {
  display: none;
}
.hidden {
  display: none !important;
}


/*
FONT
*/
* {
 font-family:Lato,sans-serif; /* sto font è stato caricato nell'index.html con il tag: <link href="https://fonts.googleapis.com/css?family=Lato:300,400,900&display=swap" rel="stylesheet"> */
}



/*
ICONS FONT material design ufficiali di gugol.
se le voglio aggiornare, aprire questo link e copiarsi il blocco css che propongono al momento
*/
/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../font/MaterialIcons-Regular.woff2) format('woff2');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}




/*
COLORI
*/
:root {
  --mainColorSolid: rgb(0,40,87); /* Oriocenter corporate blue */
  --altColorSolid: rgb(239,108,0); /* yellow */
}




/*
INIT UI BLOCKER
*/
#initUiBlocker {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: var(--altColorSolid);
}
#initUiBlocker #initUiBlockerLogo {
  position: absolute;
  width: 300px;
  left: calc(50% - 150px);
  top: 30%;
}
#initUiBlocker #initUiBlockerWaiter {
  position: absolute;
  width: 60px;
  height: 60px;
  left: calc(50% - 30px);
  top: 50%;
}
#initUiBlocker #initUiBlockerErrorMsg {
  display: none; /* compare runtime */
  position: absolute;
  width: 90%;
  top: 50%;
  left: 5%;
  color: white;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
}



/*
LOGO
*/
.brand-logo {
  width: 200px;
  height: 64px;
  background-image: url(../images/logo-oriocenter.svg);
  background-size: 200px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}






/*
NAV E PANELS
*/
nav ul a,
nav .brand-logo,
.sidenav-trigger
{
  color: var(--mainColorSolid);
}
nav[role='navigation'] {
  background-color: rgba(255,255,255,0.5);
  z-index: 1000;
  -webkit-box-shadow: none;
  box-shadow: none;
}
nav[role='navigation'] .material-icons {
  margin-right: 10px !important;
}
nav[role='navigation'] .sidenav {
  background-color: rgba(255,255,255,0.85);
  /*
  max-width: 50%;
  height: 50%;
  */
  padding: 0px;
}
nav[role='navigation'] #nav-mobile.sidenav {
  height: auto;
}
nav[role='navigation'] .sidenav > li {
  background-color: rgba(255,255,255,1);
}
.sidenav-overlay {
  pointer-events: none;
}
#nav-mobile li,
#shopsPanel li,
#categoriesPanel li {
  background-color: transparent;
}
#shopsPanel li.panelShopItem a,
#categoriesPanel li.panelCategoryItem a {
  height: auto;
  line-height: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
#shopsPanel li.panelShopItem span.panelItemTitle,
#categoriesPanel li.panelCategoryItem span.panelItemTitle {
  color: var(--mainColorSolid);
}
#shopsPanel li.panelShopItem span.panelItemSubtitle,
#categoriesPanel li.panelCategoryItem span.panelItemSubtitle,
#shopsPanel li.panelShopItem span.panelItemSubtitleBis,
#categoriesPanel li.panelCategoryItem span.panelItemSubtitleBis {
  font-size: 12px;
  font-weight: bold;
}
#shopsPanel li.panelShopItem div.panelItemImg,
#categoriesPanel li.panelCategoryItem div.panelItemImg {
  float: left;
  width: 60px;
  height: 40px;
  margin-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 40px;
}



/*
MODAL SEARCH BOX
*/
#modalSearchBox {
  overflow: visible;
  background-color: rgba(255,255,255,0.5);
}
#modalSearchBox .modal-content {
  padding: 10px 20px 0px 15px !important;
}
#modalSearchBox .modal-content label[for='autocomplete-input'] {
  color: var(--mainColorSolid);
  margin-left: 32px !important;
}
#modalSearchBox .modal-content input#autocomplete-input {
  background-color: rgba(255,255,255,1);
  border-bottom: 1px solid var(--mainColorSolid);
  height: 30px;
  margin-top: 5px;
  padding-left: 5px;
  margin-left: 38px;
  width: calc(100% - 75px);
}
#modalSearchBox .modal-content input#autocomplete-input:focus {
  box-shadow: 0 1px 0 0 var(--mainColorSolid);
}
#modalSearchBox .modal-content .prefix,
#modalSearchBox .modal-content .prefix:focus {
  color: var(--mainColorSolid);
}
#modalSearchBox ul.autocomplete-content.dropdown-content {
  bottom: 43px !important;
  top: auto !important;
  background-color: rgba(255,255,255,0.95);
}
#modalSearchBox ul.autocomplete-content.dropdown-content li img {
  border-radius: 0px;
  width: auto;
  height: 40px;
  margin: 12px 16px 12px 10px;
}
#modalSearchBox ul.autocomplete-content.dropdown-content li > span {
  padding: 12px 16px 12px 16px;
  line-height: 20px;
  color: var(--mainColorSolid);
}
#modalSearchBox ul.autocomplete-content.dropdown-content li > span span.highlight {
  color: var(--altColorSolid);
  font-weight: bold;
}
/*questo è l'overlay che compare solo quando apro il searchbox (che è un modal)*/
.sidenav-overlay,
.modal-overlay {
  opacity: 0 !important;
}
#modalSearchBox #searchResetBtn {
  color: var(--mainColorSolid);
  position: absolute;
  top: 34px;
  right: 15px;
  cursor: pointer;
}



/*
PAGE MAP
*/
#svarPage_map {
  position: absolute;
  top: 0px;
  left: 0px;
}
#svarPage_map #searchBoxBtn,
#svarPage_map #shopsPanelBtn,
#svarPage_map #categoriesPanelBtn {
  position: absolute;
  right: 23px;
  bottom: 23px;
  background-color: var(--altColorSolid);
}
#svarPage_map #categoriesPanelBtn {
  right: 78px;
  background-color: var(--mainColorSolid);
}
#svarPage_map #shopsPanelBtn {
  right: 133px;
  background-color: var(--mainColorSolid);
}
#svarPage_map .mapMenuBtn {
  right: 188px;
}
#svarPage_map .mapMenuBtn.direction-left ul {
  top: 32%;
  right: 45px;
  height: 100% !important;
}
#svarPage_map .mapMenuBtn.direction-top ul {
  width: 40px;
  /* questi li setto runtime, in base al numero di floors disponibili
  height: 220px;
  */
  bottom: 45px !important;
}
#svarPage_map .mapMenuBtn .showFloorBtn,
#svarPage_map .mapMenuBtn #zoomAllBtn,
#svarPage_map .mapMenuBtn #autoRotateStartBtn,
#svarPage_map .mapMenuBtn #autoRotateStopBtn,
#svarPage_map .mapMenuBtn #mapMenuFabBtn {
  background-color: var(--mainColorSolid);
}

#svarPage_map #mapTitle {
  display: none;
  position: absolute;
  top: 64px;
  width: 100%;
  padding: 0px 20px;
  text-align: center;
}
#svarPage_map #mapTitle #mapTitleLabel {
  color: var(--mainColorSolid);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: bold;
}
#svarPage_map #mapTitle #mapTitleContent {
  color: var(--altColorSolid);
  text-transform: uppercase;
  font-size: 20px;
  line-height: 20px;
  padding: 0px 15px;
  text-shadow: 0px 0px 1px white;
}
#svarPage_map #mapTitle #mapTitleCloseBtn {
  color: var(--mainColorSolid);
  cursor: pointer;
  position: relative;
  top: 7px;
}
#svarPage_map #mapTitle #mapTitleCloseBtn i {
  line-height: 0px;
}


#floorLabels,
#unitLabels {
  position: absolute;
}
.floorLabel,
.unitLabel {
  position: absolute;
  /*
  background-color: yellow;
  */
  background-color: rgba(255,255,255,0.5);
  border-radius: 5px;
  padding: 0px 3px;
  margin-left: 23px; /* questo è uguale al margin right del FAB */
  margin-bottom: 3px;
  border-radius: 3px;
  color: var(--mainColorSolid);
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
  text-align: center;
}
.floorLabel {
  pointer-events: none;
}
.unitLabel {
  margin-left: 0px;
  font-size: 9px;
  font-weight: bold;
  cursor: pointer;
}
.unitLabelImg {
  display: block;
  max-width: 50px;
  max-height: 50px;
  margin: 0 auto;
}
@media only screen and (max-width : 400px) {
  .floorLabel {
    margin-left: 5px;
    font-size: 12px;
  }
}



/*
PAGE HELP
*/
.infopage_big_icon
{
  color: var(--altColorSolid);
}
#start-button
{
  background-color: var(--altColorSolid);
}
p {
  line-height: 2rem;
}
.parallax-container {
  min-height: 380px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
}
.parallax-container .section {
  width: 100%;
}
@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
}
@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }
}
.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}







/*
FOOTER
*/

footer.page-footer {
  margin: 0;
  background-color: var(--mainColorSolid);
}
