/* Contains the styles for the main menu. */

/* Contains the common CSS constants for the whole application. */
/*#region Common colors*/
/*#endregion Common colors*/
/*#region Shadow colors*/
/*#endregion Shadow colors*/
/*#region Text*/
/* Dark color for text in the application */
/*#endregion Text*/
/*#region Content constants*/
/*#endregion*/
/*#region Z-indexes*/
/* Has to be higher than map canvas. */
/* Has to be higher than expanded map place holder. */
/* Has to be higher than expand map button. */
/* The layouts z indexes are for internal purposes only.
                                They are not for styling. */
/*#endregion Z-indexes*/
/*#region Global time picker constants*/
/*#endregion Global time picker constants*/
/* Contains mixins for the application. Mixins are methods that simplify the reuse of a block of CSS
   code with parameters. */
/* The cursor is shown as a pointer over the element */
/*#region Large devices main menu*/
.LDMenuItem {
  background-color: #e0deda;
  box-shadow: -3px 0 4px -4px #888888 inset;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #2972e1;
  cursor: pointer;
  cursor: hand;
  font-size: 12px;
  font-weight: bold;
  height: 100px;
  overflow: hidden;
  -o-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
}
.LDMenuItem.ActiveMenuItem {
  background-color: #f9f7f0;
  cursor: default;
}
.MenuItem[tabindex="0"]:focus {
  outline-width: 2px;
}
.MenuItemImage {
  background-repeat: no-repeat;
  height: 32px;
  margin-left: auto;
  margin-right: auto;
  width: 32px;
}
.PaddingBetweenMenuItem {
  background-color: #9e9b96;
  display: block;
  height: 1px;
  width: 100%;
}
.MenuItemVerticalAlign {
  width: 57px;
}
.MenuItemIcon {
  display: table-cell;
  height: 70px;
  padding-bottom: 15px;
  padding-left: 22px;
  padding-top: 15px;
  vertical-align: middle;
  width: 56px;
}
.MenuItemText {
  text-align: center;
}
.MenuItemArrow {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: table-cell;
  height: 100px;
  overflow: visible;
  vertical-align: middle;
  width: 22px;
}
.ActiveMenuItem .MenuItemArrow .ArrowLeft {
  background-color: #f9f7f0;
  background-image: url("Images/ArrowLeft.png");
  background-repeat: no-repeat;
  height: 22px;
  margin-left: 6px;
  position: absolute;
  vertical-align: middle;
  width: 18px;
}
/*#endregion Large devices main menu*/

/*#region Small devices main menu*/

#SDMainMenuTitle {
  height: 40px;
  line-height: 40px;
}
#SDMainMenuButton {
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  cursor: hand;
  display: inline-block;
  height: 40px;
  position: absolute;
  right: 15px;
  vertical-align: middle;
  width: 32px;
}
.SDMainMenuOpen #SDMainMenuButton {
  background-image: url("Images/CloseSDMainMenu.png");
}
.SDMainMenuClosed #SDMainMenuButton {
  background-image: url("Images/OpenSDMainMenu.png");
}
.SDMainMenuOpen #SDMainMenuActiveText {
  display: none;
}
.SDMainMenuClosed .SDMenuItem {
  display: none;
}
#SDMainMenuActiveText {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  height: 100%;
  padding-left: 15px;
  vertical-align: middle;
}
.SDMenuItem {
  background-color: #1f55a7;
  border-top: 1px solid #19407a;
  background-position: 10px center;
  background-repeat: no-repeat;
  -moz-background-size: 27px 27px;
  -o-background-size: 27px 27px;
  -webkit-background-size: 27px 27px;
  background-size: 27px 27px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  cursor: hand;
  display: inline-block;
  font-size: 18px;
  height: 40px;
  line-height: 40px;
  padding-left: 47px;
  text-align: left;
  -o-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  vertical-align: middle;
  width: 100%;
}
.ActiveMenuItem.SDMenuItem {
  border: solid 1px white;
  cursor: default;
}
/*#endregion Small devices main menu*/

@media screen and (max-width: 800px) {
  #SDMainMenu {
    background-color: #1f55a7;
    color: white;
    display: inline-block;
    font-size: 0px;
    -o-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: 100%;
  }
  .SDMainMenuOpen {
    border-bottom: 1px solid #1f55a7;
  }
  #LDMainMenu {
    display: none;
  }
  .AlertsMenuItem.SDMenuItem {
    background-image: url("Images/IconAlertsWhite.png");
  }
  .NextPassingTimesMenuItem.SDMenuItem {
    background-image: url("Images/IconNextRidesWhite.png");
  }
  .RouteTimetableMenuItem.SDMenuItem {
    background-image: url("Images/IconRouteSchedulesWhite.png");
  }
  .StopTimetableMenuItem.SDMenuItem {
    background-image: url("Images/IconStopSchedulesWhite.png");
  }
  .TravelPlansMenuItem.SDMenuItem {
    background-image: url("Images/IconTravelPlansWhite.png");
  }
}
@media screen and (min-width: 801px) {
  #SDMainMenu {
    display: none;
  }
  #LDMainMenu {
    background-color: #e0deda;
    border-right: 1px solid #9e9b96;
    box-shadow: -3px 0 4px -4px #888888 inset;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: table-cell;
    max-width: 101px;
    position: relative;
    width: 101px;
  }
  .AlertsMenuItem.LDMenuItem .MenuItemImage {
    background-image: url("Images/IconAlerts.png");
  }
  .NextPassingTimesMenuItem.LDMenuItem .MenuItemImage {
    background-image: url("Images/IconNextRides.png");
  }
  .RouteTimetableMenuItem.LDMenuItem .MenuItemImage {
    background-image: url("Images/IconRouteSchedules.png");
  }
  .StopTimetableMenuItem.LDMenuItem .MenuItemImage {
    background-image: url("Images/IconStopSchedules.png");
  }
  .TravelPlansMenuItem.LDMenuItem .MenuItemImage {
    background-image: url("Images/IconTravelPlans.png");
  }
}
/* Sticky is not supported natively on Android and doesn't work with our
   current structure on Safari.
   Therefore we use sticky on large devices only. (desktops) */

@media screen and (min-width: 1401px) {
  #StickyLDMainMenu {
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
}
