/* 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 */
.StopTimetablePeriod {
  border: 1px solid #2972e1;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 1px;
}
.StopTimetablePeriodHeader {
  background-color: #2972e1;
  color: white;
  cursor: pointer;
  cursor: hand;
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
  -o-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.StopTimetablePeriodHeaderImage {
  display: inline-block;
  float: right;
  height: 16px;
  width: 16px;
}
.StopTimetablePeriodHeader.StopTimetablePeriodHeaderContentVisible {
  background-color: #f9f7f0;
  color: #2972e1;
  cursor: default;
}
.StopTimetablePeriodHeaderContentHidden {
  cursor: pointer;
  cursor: hand;
}
.StopTimetablePeriodHeaderContentHidden .StopTimetablePeriodHeaderImage {
  background-image: url("../Shared/Images/ExpandWhite.png");
  background-repeat: no-repeat;
  background-position: -2px -2px;
}
.StopTimetablePeriodContent {
  padding: 0 10px 10px;
}
.PeriodHour {
  background-color: #2972e1;
  color: white;
  font-weight: bold;
  height: 30px;
  text-align: center;
  width: 50px;
}
.PeriodHour.TimeMode24 {
  width: 34px;
}
.PeriodHourText {
  white-space: nowrap;
  width: 50px;
}
.PeriodHour.TimeMode24 .PeriodHourText {
  width: 34px;
}
.PeriodPassingTime {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  cursor: hand;
  height: 32px;
  min-width: 75px;
  padding: 2px;
  text-align: center;
  vertical-align: middle;
}
#PagePopupPartialView .PeriodPassingTime {
  cursor: default;
}
.PeriodPassingTime.EmptyPeriodPassingTime {
  cursor: default;
}
.PeriodPassingTimeTextWrapper {
  background-color: #f9f7f0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  height: 100%;
  overflow: hidden;
  padding: 0 5px;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}
.PeriodPassingTimeText,
.PeriodPredictedTimeText {
  display: table-cell;
  height: 28px;
  text-align: left;
  vertical-align: middle;
  width: 19px;
}
/* Site-spec : Cancelled trip passing times between parenthesis.
.PeriodPredictedTimeText.Cancelled,
.PeriodPassingTimeText.Cancelled
{
text-decoration: line-through;
}
*/

.PeriodPredictedTimeText.Cancelled::before,
.PeriodPassingTimeText.Cancelled::before {
  content: "(";
}
.PeriodPredictedTimeText.Cancelled::after,
.PeriodPassingTimeText.Cancelled::after {
  content: ")";
}
.PeriodPassingTimeNote {
  display: table-cell;
  padding-left: 2px;
  padding-right: 2px;
}
.PeriodPassingTimeNote.EmptyNote {
  height: 28px;
  width: 28px;
}
.StopTimetablePeriodPassingTimes {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}
.StopTimetablePeriodPassingTimes tr td.PeriodPassingTime.SelectedPeriodPassingTime {
  background-color: #fa7d21;
  cursor: default;
}
.StopTimetablePeriodPassingTimes th,
.StopTimetablePeriodPassingTimes td {
  border: 1px solid #e0deda;
  border-collapse: collapse;
}
/* Passing times alternate styles. */

.StopTimetablePeriodPassingTimes tr:nth-child(even) .PeriodPassingTime {
  background-color: white;
}
.StopTimetablePeriodPassingTimes tr:nth-child(odd) .PeriodPassingTime {
  background-color: #edeae3;
}
.StopTimetablePeriodPassingTimes tr:nth-child(even) .PeriodPassingTimeTextWrapper {
  background-color: white;
}
.StopTimetablePeriodPassingTimes tr:nth-child(odd) .PeriodPassingTimeTextWrapper {
  background-color: #edeae3;
}
@media screen and (min-width: 801px) {
  #PagePopupPartialView .StopTimetablePeriodContent {
    height: 200px;
    overflow: auto;
  }
}
@media screen and (min-width: 801px) and (max-width: 1400px) {
  .StopTimetablePeriodContent {
    height: 200px;
    overflow: auto;
  }
}
