/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/*# sourceMappingURL=normalize.min.css.map */

:root {
  --mdc-theme-primary : #CD5D58;
  --mdc-theme-secondary : #1EA59A;
  --mdc-theme-background: #fff;
  --mdc-theme-surface: #fff;
  --mdc-theme-error: #cc0000; /*b00020;*/
  --mdc-theme-on-primary: #fff;
  --mdc-theme-on-secondary: #fff;
  --mdc-theme-on-surface: #000;
  --mdc-theme-on-error: #fff;
  --mdc-theme-text-primary-on-background: rgba(0, 0, 0, 0.87);
  --mdc-theme-text-secondary-on-background: rgba(0, 0, 0, 0.54);
  --mdc-theme-text-hint-on-background: rgba(0, 0, 0, 0.38);
  --mdc-theme-text-disabled-on-background: rgba(0, 0, 0, 0.38);
  --mdc-theme-text-icon-on-background: rgba(0, 0, 0, 0.38);
  --mdc-theme-text-primary-on-light: rgba(0, 0, 0, 0.87);
  --mdc-theme-text-secondary-on-light: rgba(0, 0, 0, 0.54);
  --mdc-theme-text-hint-on-light: rgba(0, 0, 0, 0.38);
  --mdc-theme-text-disabled-on-light: rgba(0, 0, 0, 0.38);
  --mdc-theme-text-icon-on-light: rgba(0, 0, 0, 0.38);
  --mdc-theme-text-primary-on-dark: white;
  --mdc-theme-text-secondary-on-dark: rgba(255, 255, 255, 0.7);
  --mdc-theme-text-hint-on-dark: rgba(255, 255, 255, 0.5);
  --mdc-theme-text-disabled-on-dark: rgba(255, 255, 255, 0.5);
  --mdc-theme-text-icon-on-dark: rgba(255, 255, 255, 0.5);

  /* typrography */
  --gn-font-xxxlg : 2.488rem; /*(39.81px)	h1 */
  --gn-font-xxlg : 2.074rem; /* (33.18px) h2 */
  --gn-font-xlg : 1.728rem; /* (27.65px) h3*/
  --gn-font-lg: 1.44rem; /* (23.04px) h4 */
  --gn-font-m : 1.2rem; /* (19.20px)	 h5 */
  --gn-font : 1rem; /* (16.00px)	h6 */
  --gn-font-sm : 0.833rem; /* (13.33px) */
  --gn-font-xsm : 0.694rem; /* (11.11px) */
  --gn-font-xxsm : 0.579rem; /* (9.26px) */
  --gn-font-xxxsm : 0.482em; /*(7.72px)*/

  --gn-bus-route-626 : #f1aaaf; /* PINK*/
  --gn-bus-route-627 : #21ab9d; /* TEAL - C=76 M=9 Y=46 K=0 #21ab9d */
  --gn-bus-route-628 : #db625f; /* RED - c9m75y59k1 #db625f */
  --gn-bus-route-629 : #00AEEF; /* BLUE/AQUA C=100 M=0 Y=0 K=0 #z */
  --gn-bus-route-632 : #46494c; /* DARK GREY C=63 M=53 Y=49 K=46. #46494c */
  --gn-bus-route-064 : #838BC5; /* PURPLE c51m43y0k0  #838BC5 */
  --gn-bus-route-065 : #eab966; /* YELLOW c6m27y69k1  */
}



html {scroll-behavior: smooth;}
html.ready #main-content:before {background: url("../assets/jpg/bg-image.jpg") no-repeat 50% 50%; background-size: cover;content: '';width: 100%;height: 100%;position: absolute;top: 0;left: 0;height: 100%;z-index: 1;}
html.ready:before,
html.ready:after,
html.map-ready #main-content:before {display: none;}



:not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated::before, :not(.mdc-list--non-interactive)>:not(.mdc-list-item--disabled).mdc-list-item--activated::after {
  background-color:var(--mdc-theme-secondary);
}
.mdc-drawer .mdc-list-item--activated .mdc-list-item__graphic,
.mdc-drawer .mdc-list-item--activated { color: var(--mdc-theme-secondary);}

/* MDC */
.mdc-top-app-bar {background: transparent;}
.mdc-top-app-bar .mdc-top-app-bar__action-item,
.mdc-top-app-bar .mdc-top-app-bar__navigation-icon,
.mdc-top-app-bar__title { color: var(--mdc-theme-text-primary-on-background);}

.mdc-divider { width:1rem; height: 100%; position: relative;}
.mdc-divider::before {content: "";width: 1px; background-color: var(--mdc-theme-text-hint-on-light); height: 2rem; margin-left: 0.5rem; margin-top: 0.75rem;display: block;}


.mdc-top-app-bar__search-card { margin-left: -3rem; padding: 2px 1rem 2px 3rem; /*height: calc(100% - 4px);*/}
.mdc-top-app-bar__search-card button { margin-top: 4px; color: var(--mdc-theme-text-icon-on-background);}

.mdc-text-field.mdc-text-field--no-label input {border-bottom-color: transparent !important;}

#main-content {height: 100vh; width: 100%;}
#main-content header,
#main-content section { position: relative; z-index: 1;}
#main-content-bar {max-width: 25rem;}
#main-content > section {}
#main-content-bar > .mdc-card {margin: 0 0.75rem 1rem 0.75rem; /*padding-left: 0.75rem;*/}
#main-content-bar {}

/* Utilities */
.flex { display: flex;}
.align-right {text-align: right;}

/* Google Maps */
#map {
  position: absolute;overflow: hidden; height: 100vh; width: 100%; top: 0; left: 0;
}
/* Bottom Nav */
#bottom-nav {
  position: absolute; left: 0; bottom: 0; width: 100%;
  align-items: center; flex-direction: column;
}
#bottom-nav button:first-child {z-index: 1; background-color: var(--mdc-theme-primary); bottom: 1rem;}
#bottom-nav.toggle > div {
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    max-width: 26rem; margin: auto;
}
#bottom-nav.toggle button {
  position: absolute; /*left: calc(50% - 1.75rem);*/ left: 50%; margin-left: -1.75rem;bottom: 1rem;
  transition: margin-left .3s, bottom .3s, transform .3s, opacity .3s; will-change: margin,bottom,transform,opacity;
}
/* TODO: Fix blur on scale */
#bottom-nav.toggle button,
#bottom-nav.toggle button * {overflow: hidden; backface-visibility: hidden;transform: translateZ(0); -webkit-font-smoothing: subpixel-antialiased;}

#bottom-nav.toggle button.js-active {z-index: 2; -webkit-perspective: 1000; transform: scale(1.2);}
#bottom-nav.toggle > button:first-child {bottom: 2rem !important;}
#bottom-nav.js-toggle-off > button.js-active:first-child { background-color: var(--mdc-theme-secondary); transform: scale(1.7); }
#bottom-nav.js-toggle-off > button.js-active:first-child img {height: 70%; margin-left:-1px;}
#bottom-nav.js-toggle-off > button:first-child span {display: none;}
#bottom-nav.js-toggle-on > button:first-child img {display: none;}
#bottom-nav.js-toggle-off > button:not(.js-active) {opacity: 0;}
#bottom-nav.js-toggle-on .js-active { }
#bottom-nav.js-toggle-off {}
#bottom-nav.js-toggle-on .js-load-car { margin-left: calc(-5.5rem - 1.75em);bottom: 1rem; }
#bottom-nav.js-toggle-on .js-load-bus {margin-left:calc(-4.5rem - 1.75em);bottom: calc(4.5rem + 1rem);}
#bottom-nav.js-toggle-on .js-load-scooter {margin-left: -1.75em);bottom: calc(6rem + 1rem);}
#bottom-nav.js-toggle-on .js-load-bike {margin-left: calc(4.5rem - 1.75em); bottom:calc(4.5rem + 1rem);}
#bottom-nav.js-toggle-on .js-load-walk {margin-left: calc(5.5rem - 1.75em);bottom: 1rem;}


/*
 * Cards
 */



  #main-content-bar .mdc-card {overflow: hidden; margin-top: 0.5rem;}
  .mdc-card .mdc-list-item__graphic  {margin-right: 1.5rem;}
  .mdc-card .mdc-list-item__graphic.material-icons img {padding-left: 1px;}
  .mdc-card .mdc-list-item {padding: 0 14px;}

  .gn-information-group .mdc-list-item__text { font-size: var(--gn-font-sm); /*line-height: 1em;*/ font-weight: 500;}
  .gn-information-group .mdc-list-item__secondary-text { font-size: var(--gn-font-xsm);}
  .gn-information-group .tag-subtitle:empty {display: none;}
  .gn-information-group__information-hint .tag-subtitle::before {height: 0.5rem;}


  #travel-selection-tab {background-color: var(--mdc-theme-secondary);}
  #travel-selection-tab button {color: var(--mdc-theme-text-secondary-on-background);}
  #travel-selection-tab .mdc-tab--active .mdc-tab__icon {color: var(--mdc-theme-text-primary-on-dark);}
  #travel-selection-tab .mdc-tab-indicator .mdc-tab-indicator__content--underline {border-color: var(--mdc-theme-text-secondary-on-dark);}

  .gn-content-group .mdc-list-item.mdc-list-item__primary {height: 4.5rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__header {height: 4rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__header.js-bus-routes {height: 5rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__secondary.mdc-list-item__secondary-text--translink { height: 2rem; padding-bottom: 0.5rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__secondary {height: 3rem;}
  .gn-content-group .mdc-list-item > .mdc-typography--overline {
    display: inline-block; margin-left: -4px;margin-right: 8px;width: calc(3rem - 4px); min-width: 0; font-size: var(--gn-font-xxsm) !important; font-weight: bold;text-align: right;
    letter-spacing: 0; margin-top: 1em;
  }
  .gn-content-group .mdc-list-item > .mdc-typography--overline + .mdc-tab-scroller {width: calc(100% - 3rem);}
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__graphic {font-size: var(--gn-font-xxxlg); color: var(--mdc-theme-text-primary-on-background);}
  /*.gn-content-group .mdc-list-item.mdc-list-item__header > .mdc-list-item__text:first-child {width: calc(3rem + 14px);min-width: 0;margin-left: -14px; background-color: red;}
  .gn-content-group .mdc-list-item.mdc-list-item__header > .mdc-list-item__text:first-child > .mdc-list-item__secondary-text {font-size: var(--gn-font-xxxsm); margin-right:1rem;}*/
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text {min-width: 4.25rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text span { line-height: 1em; }
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text span sub {margin-left: 2px; bottom: 0;}
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text span:before,
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text span:after  {height: var(--gn-font);}

  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text:not(.mdc-list-item__meta) .mdc-list-item__primary-text,
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text:not(.mdc-list-item__meta) .mdc-list-item__secondary-text,
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text:not(.mdc-list-item__meta) .mdc-list-item__tertiary-text { margin-right: 0.5rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text .mdc-list-item__primary-text {font-size: var(--gn-font);}
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text .mdc-list-item__secondary-text,
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text .mdc-list-item__tertiary-text { font-size: var(--gn-font-xsm); text-transform: uppercase; font-weight: 500;}
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text .mdc-list-item__secondary-text {position: relative;}
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__text .mdc-list-item__secondary-text i.material-icons { position: absolute; right: 0;}
  .gn-content-group .mdc-list-item.mdc-list-item__header + .mdc-list-item__header { align-items: flex-start;}
  .gn-content-group .mdc-list-item.mdc-list-item__header + .mdc-list-item__header .mdc-list-item__primary-text {
    font-size: var(--gn-font-lg);
  }
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__primary-text:before,
  .gn-content-group .mdc-list-item.mdc-list-item__header .mdc-list-item__primary-text:after { height: var(--gn-font-m) !important;}
  .gn-content-group .mdc-list-item.mdc-list-item__header + .mdc-list-item__header .mdc-list-item__primary-text:before,
  .gn-content-group .mdc-list-item.mdc-list-item__header + .mdc-list-item__header .mdc-list-item__primary-text:after { height: var(--gn-font-xxlg); padding-top: 6px; padding-bottom: 6px;}
  .gn-content-group .mdc-list-item.mdc-list-item__header + .mdc-list-item__header .mdc-list-item__primary-text span {font-size: var(--gn-font-xlg);}


  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__graphic {margin-right: 1rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text {min-width: 4.25rem; }
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text span { line-height: 1em; }
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text span sub {margin-left: 2px; bottom: 0;}
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text span:before {height: var(--gn-font);}
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text .mdc-list-item__primary-text,
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text .mdc-list-item__secondary-text,
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text .mdc-list-item__tertiary-text { margin-right: 1rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text .mdc-list-item__primary-text {font-size: var(--gn-font);}
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text .mdc-list-item__secondary-text,
  .gn-content-group .mdc-list-item.mdc-list-item__primary .mdc-list-item__text .mdc-list-item__tertiary-text { font-size: var(--gn-font-xsm); text-transform: uppercase; font-weight: 500;}

  .gn-content-group .mdc-list-item.mdc-list-item__secondary .mdc-list-item__graphic {margin-right: 1rem;}
  .gn-content-group .mdc-list-item.mdc-list-item__secondary .mdc-list-item__text span:before {height: var(--gn-font-xxxsm);}
  .gn-content-group .mdc-list-item.mdc-list-item__secondary .mdc-list-item__text {font-size: var(--gn-font-xsm);}
  .gn-content-group .mdc-list-item.mdc-list-item__secondary .mdc-list-item__secondary-text { font-size: var(--gn-font-xsm);}

  .tag-time-to-refresh:before {content:attr(data-value);}

  /* Congestion Group */
  /*.gn-congestion-group .mdc-list-item.gn-congestion-group__information-table .mdc-list-item__text {min-width: 4.25rem; }*/
  /*.gn-content-group > ul {padding-top: 0; padding-bottom: 0;}*/
  .gn-congestion-group__information-table[hidden] + .mdc-list-divider {display: none;}
  .tag-directions-duration-delay {color: var(--mdc-theme-error);}

  /* Bus Times Group */
  .gn-content-group.gn-bus-time-table-group {}

  .gn-bus-time-table-group .js-insert-bus-stop:not([hidden]) {margin-top: -1rem;}
  .gn-bus-time-table-group {max-height: calc(100vh - 20rem); transition: max-height .3s; overflow: auto;}
  .gn-bus-time-table-group.js-minimise {
    max-height: 3.5rem;
    overflow: hidden;
  }
  .gn-bus-time-table-group:not(.js-minimise) .icon-expand_more {display: none;}
  .gn-bus-time-table-group.js-minimise .icon-expand_less { display: none;}

  .gn-bus-time-table-group .js-show-bus-route,
  .gn-bus-time-table-group .js-show-bus-route .material-icons  {color: var(--mdc-theme-primary);}
  .gn-bus-time-table-group .js-show-bus-route {font-weight: bold;}
  .gn-bus-time-table-group .js-show-bus-route .material-icons {vertical-align: bottom;margin-top: 0.5rem;}

  .gn-bus-label  {
    background-color: #6D7278; color: #FFFFFF; font-family: Montserrat,sans-serif; font-weight: 800; border-radius: 4px; line-height: 1em; text-align: center; display: inline-block;
    /*padding: 4px;*/
  }
  .mdc-list-item__header .gn-bus-label {border-top-right-radius: 0;}
  .mdc-list-item__primary .gn-bus-label {border-top-left-radius: 0;}
  /*html:not([data-debug]) .tag-travel-type {opacity: 0;}*/
  .tag-travel-type {opacity: 0;}
  .tag-travel-type[data-value="free"] {opacity: 1; }
  .mdc-list-item__header .tag-travel-type[data-value="free"] {text-align: right;}
  .tag-travel-type[data-value="free"] span {background-color: #F7B500; color: white !important; display: inline-block; padding:0 4px; line-height: 1.2em !important; margin-bottom: -0.2em; font-weight: 700;}
  .gn-bus-label:before {content: attr(data-route); padding-left: 0.25em; padding-right: 0.25em; line-height: 1.5em;}
  .gn-bus-label[data-route="626"] {background-color: var(--gn-bus-route-626);}
  .gn-bus-label[data-route="627"] {background-color: var(--gn-bus-route-627);}
  .gn-bus-label[data-route="628"] {background-color: var(--gn-bus-route-628);}
  .gn-bus-label[data-route="629"] {background-color: var(--gn-bus-route-629);}
  .gn-bus-label[data-route="632"] {background-color: var(--gn-bus-route-632);}
  .gn-bus-label[data-route="064"] {background-color: var(--gn-bus-route-064);}
  .gn-bus-label[data-route="065"] {background-color: var(--gn-bus-route-065);}


  .tag-time-to-arrival {color: var(--mdc-theme-text-primary-on-background);}
  .tag-stop-name {/*font-size: var(--gn-font-m) !important; line-height: 1em !important;*/}
  .tag-next-bus {/*font-size: var(--gn-font-xlg); padding: 8px;*/}
  .tag-travel-delayed { opacity: 0;}
  .tag-travel-delayed[data-value="true"] {opacity: 1; background: red;color: white;height: 2em;line-height: 2em;padding: 0 4px;border-radius: 4px;display: inline-block;margin-top: 8px;}
  .tag-travel-delayed[data-value="true"]::before {height: 0;}
  .js-insert-bus-routes .tag-departure-time[data-value="true"],
  .tag-text-to-arrival[data-value="false"],
  .tag-text-to-arrival[data-value="false"] + span span { color: var(--mdc-theme-error);}

  .tag-departure-time sup { display: block; text-transform: uppercase;margin-top: -1rem;font-size: 0.8rem;line-height: 0;margin: -1.4rem 0 0 0 !important;}

  .js-insert-bus-routes:empty:before {content: "Looking for the next available buses ..."; font-size: 0.7em; margin-top: 0.8em;}
  .js-insert-bus-routes[data-value="0"]:empty:before {content: "There are no buses schedule for arrival at this time"; }
  .js-translink-timetable-link {text-decoration: none; color: var(--mdc-theme-secondary); font-weight: bold;}
  .js-translink-timetable-link i.material-icons { vertical-align: sub; font-size: 1rem;}


  .gn-content-group ul:first-child[hidden] + ul {margin-top: -1rem;}
  .gn-content-group ul:first-child:not([hidden]) + ul {display: none;}



    /* Google Maps - autocomplete
   */
  .pac-container {width: 23.5rem !important; max-width: calc(100% - 3rem); left: 0.75rem !important; padding: 0 1rem 0.5rem 0;}
  .pac-item { height: 3rem; line-height: 3rem; width: 100%;}
  .pac-item .pac-icon {margin-left: 0.75rem;margin-right: 2rem; margin-top: 0.9rem;}
  .mdc-icon-button--directions.js-active {color: #0054A2 !important;}

  /* Destination Search tabBab
   */
   #travel-destination-search .mdc-text-field button:first-child {margin-right: -2px;}
   #travel-destination-search {padding:4px 0 4px 4px;}
/*
 *  Media Queries
 */
@media (max-width: 599px) {
  #main-content-bar > .mdc-card {margin-left: 4px; margin-right: 4px;}
  .mdc-top-app-bar__row { margin-top: 6px;}

}
