/* font: proxima-nova 100, 300, 400, 700 */

html {
    font-size: 18px;
    font-family: "proxima-nova", sans-serif;
}
body {
    margin: 0 auto;
}
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-weight: 300;
}
header {
    position: relative;
    /*
    box-shadow: 0px 1px 2px rgba(0, 0, 0, .3); */
}
ul {
    padding: 0;
    margin: 0;
}

/*
    Component styles
*/

.bg > p {
    padding: 15px;
}
.bg--success {
    background-color: #dff0d8;
}
.bg--info {
    background-color: #d9edf7
}
.bg--warning {
    background-color: #fcf8e3;
}
.bg--danger {
    background-color: #f2dede;
}

.callout {
    margin-bottom: 15px;
    padding: 12px 10px;
}
.callout--success {
    border-left: 3px solid #4CAF50;
}
.callout--error {
    border-left: 3px solid #F44336;
}
.callout--alert {
    border-left: 3px solid rgba(243, 156, 18, 0.7);
}
.callout__header {

    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}
.callout--success .callout__header {
    color: #2ecc71;
}
.callout--error .callout__header {
    color: #F44336;
}
.callout--alert .callout__header {
    color: #D79D41;
}
.callout__body {
    display: block;
    line-height: 23px;
    padding: 0;
    margin: 5px 0 0;
}
.callout-service-alert {
    margin-left: 12px;
    margin-right: 9px; /* 12 - width of border */
}
@media (min-width: 768px) {
    .callout-service-alert {
        margin-left: 0;
        margin-right: 0;
    }
}

.snackbar {
    background-color: #323232;
    border-radius: 2px;
    bottom: 16px;
    left: 30%;
    max-height: 0;
    opacity: 0;
    font-size: 16px;
    position: fixed;
    width: 40%;
    transition: all .3s ease-out;
}
.snackbar.is-active {
    opacity: 1;
    max-height: 100px;
}
@media only screen and (max-width: 767px) {
    .snackbar {
        border-radius: 0;
        bottom: 0;
        left: 0;
        width: 100%;
    }
}
.snackbar > span {
    display: inline-block;
    padding: 20px;
}
.snackbar__text-left {
    color: #eee;

}
.snackbar__text-right {
    float: right;
    color: #4CAF50;
    cursor: pointer;
}




.button {
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 120px;
    height: 32px;
    line-height: 32px;
    border-radius: 2px;
    font-size: 0.9em;
    background-color: #fff;
    color: #646464;
}
.button.blue {
    background-color: #4285f4;
    color: #fff;
}
.button.green {
    background-color: #4285f4;
    color: #fff;
}
.button.raised {
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
}
.button:focus {
    outline: none;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
}

.button.raised:active {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
    transition-delay: 0s;
}
.button .center {
    text-align: center;
}
.button--border {
    border: 1px solid #eee;
}

.button > paper-ripple {
  border-radius: 2px;
  overflow: hidden;
}

.label-blue {
  color: #4285f4; 
}

.dialog {
  position: relative;
  display: none;
  width: 300px;
  height: 240px;
  vertical-align: top;
  background-color: #fff;
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), -5px 0 15px 0 rgba(0, 0, 0, 0.1);
  z-index: 80;
}

.dialog {
  box-sizing: border-box;
  padding: 16px;
}

.dialog.is-active {
    display: inline-block;
}

.dialog-bg {
    display: none;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.dialog.is-active  ~ .dialog-bg {
    background-color: rgba(0, 0, 0, .3);
    display: block;
    z-index: 70;
}

.dialog > .content {
  height: 170px;
  font-size: 0.9em;
}

.dialog > .content > .title {
  font-size: 1.3em;
}

.dialog > .button {
  width: 90px;
  float: right;
}

.dialog--sv-img {
    height: 640px;
    width: 640px;
}


.menu {
    background-color: #fefefe;
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
    position: absolute;
    right: 8px;
    top: 8px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    width: 0;

    transition: max-height .3s ease-in, max-width .3s ease-out;
}

.menu.menu-in {
    color: #fefefe;
    width: 225px;
    max-height: 700px;
    display: block;
    opacity: 1;
    -webkit-animation: menu-in .3s ease-in-out;
    animation: menu-in .3s ease-in-out;
}
@-webkit-keyframes menu-in {
    0% {
        width: 0;
        max-height: 0;
    }
    80% {
        width: 225px;
        max-height: 100px;
    }
    100% {
        color: #555 !important;
        max-height: 600px;
    }
}
@keyframes menu-in {
    0% {
        width: 0;
        max-height: 0;
    }
    80% {
        width: 225px;
        max-height: 100px;
    }
    100% {
        color: #555 !important;
        max-height: 600px;
    }
}

.menu.menu-out {
    -webkit-animation: menu-out .3s;
    -moz-animation: menu-out .3s;
    animation: menu-out .3s;
}
@-webkit-keyframes menu-out {
    0% {
        opacity:1;
    }
  100% {
      opacity:0;
      -webkit-transform: translateY(-10px);
      transform: translateY(-10px); }
}
@-moz-keyframes menu-out {
    0% {
        opacity:1;
    }
    100% {
        opacity:0;
        -moz-transform: translateY(-10px);
        transform: translateY(-10px); }
}
@keyframes menu-out {
    0% {
        opacity:1;
    }
  100% {
      opacity:0;
      -webkit-transform: translateY(-10px);
      transform: translateY(-10px); }
}

.menu-list {
    margin: 8px 0;
    font-size: 20px;
}
.menu-list a {
    color: #555;
    display: block;
    padding: 8px 16px;
    white-space: nowrap;
}





.fieldset { 
  position:relative; 
  margin-bottom:45px; 
}
input,
.text-area {
    background-color: #fefefe;
    color: #555;
    font-size: 18px;
    font-family: "proxima-nova", sans-serif;
    font-weight: 400;
    padding: 10px 0 6px 0;
    display: block;
    width: 300px;
    border: none;
    border-bottom: 1px solid #BDBDBD;
    border-radius: 0;
}
.text-area {
    color: #222;
    font-size: 18px;
    min-height: 24px;
}
input:focus,
.text-area:focus {
    outline:none;
}
.input-sm {
    max-width: 100%;
}

/* LABEL */
.md-label                {
  color:#999; 
  font-size:18px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left: 12px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

/* active state */
input:focus ~ .md-label,
input.active ~ .md-label,
.text-area:focus ~ .md-label,
.text-area.active ~ .md-label {
  top: -12px;
  left: 0;
  font-size: 14px;
  color: #0B486B;
}

/*
input:focus ~ .phone-label:after,
input.active ~ .phone-label:after {
    content: "555-123-1234";
    margin-left: 8px;
}
*/
.submit-button {
    margin: 5px 0;
}


/* BOTTOM BARS */
.bar {
    position:relative;
    display:block;
    width:300px;
}
.bar:before,
.bar:after {
  content:'';
  height:1px;
  width:0;
  bottom:0; 
  position:absolute;
  background:#0B486B; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}
.is-invalid .bar:before,
.is-invalid .bar:after {
    background:#F3493D;
}
.bar-sm {
    width: 175px;
}


/* active state */
input:focus ~ .bar:before,
input:focus ~ .bar:after,
.text-area:focus ~ .bar:before,
.text-area:focus ~ .bar:after {
  width:50%;
}

/* HIGHLIGHTER */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
input:focus ~ .highlight,
.text-area:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from { background:#0B486B; }
  to    { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
    from { background:#0B486B; }
  to    { width:0; background:transparent; }
}
@keyframes inputHighlighter {
    from { background:#0B486B; }
  to    { width:0; background:transparent; }
}


.is-invalid .bar:before,
.is-invalid .bar:after {
    background: #EF5350;
}



/*
    Shared styles
*/
.back-button {
    fill: #fefefe;
    padding-top: 18px;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 45px;
    text-align: center;
}

.hero-prompt {
    font-size: 28px;
    font-weight: 300;
    text-shadow: 0 0 3px rgba(0,0,0,.3)
}

.fixed-center {
  margin: auto;
  position: fixed !important;
  top: 0; left: 0; bottom: 0; right: 0;
}


.secondary-title {
    font-size: 1.2em;
    font-weight: 400;
    padding: 18px 0 0;
    height: 45px;
    text-align: center;
    background-color: #594F4F;
    color: #fefefe;
}
.secondary-header {
    position: relative;
}
.secondary-header h2 {
    color: #707070;
    margin: -.2em 0 .2em;
    padding-left: 10px;
    text-align: center;
    white-space: nowrap;
}
.nav-secondary {
    background-color: #594F4F;
    border-top: 1px solid #e8e8e8;
}
.nav-secondary li {
    float: left;
    text-align: center;
    width: 33%
}
.nav-secondary li:nth-child(1) {
    border-right: 1px solid #e8e8e8;
}
.nav-secondary li:nth-child(2) {
    border-right: 1px solid #e8e8e8;
}
.nav-secondary a {
    color: #fff;
    display: block;
    padding: .2em 0;
    text-decoration: none;
}
.list-secondary li {
    white-space: nowrap;
}
.list-secondary li:nth-child(odd) {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.list-secondary li:nth-child(even) {
    background-color: #F0F0F0;
}
.left-icon {
    background-color: #9DE0AD;
    border-bottom: 1px solid #999;
    box-shadow: 2px 0px 3px rgba(0, 0, 0, 0.30);
    height: 60px;
    color: #444;
    width: 49px;
    line-height: 61px;
    top: 0;
    left: 0;
    text-align: center;
    position: absolute;
    font-size: 22px;
}
.left-icon.first {
    top: -1px;
}
.left-text {
    padding-left: 52px;
    padding-right: 16px;
}
.list-data {
    list-style-type: none;
    margin: 0;
}
.list-data li > a,
.list-data li > span {
    color: #222;
    display: inline-block;
    text-decoration: none;
    padding: 18px 0;
    position: relative;
}
.item-favorite > .favorite-target {
    display: inline-block;
    text-align: center;
    width: 10%;
}
.favorite-target[data-active="1"] .fa-star {
    opacity: 1;
}
.favorite-target > i {
    color: #888;
    font-size: 1.5em;
    line-height: 0;
    position: absolute;
    left: 15px;
    top: 31px;
    transition: opacity .3s ease-in-out;
}
.favorite-target .fa-star {
    opacity: 0;
}
.item-large span {
    display: block;
    line-height: 38px;
}
.secondary-hero {
    padding: 5px 11px;
    border-bottom: 2px solid #594F4F;
}
.secondary-hero a {
    text-decoration: none;
}
.secondary-hero h2,
.secondary-hero h3 {
    color: #4c4c4c;
    font-size: 1em;
    font-weight: 400;
    margin: -.2em 0 .4em;
    white-space: nowrap;
}
.secondary-label {
    color: #594F4F;
    display: block;
    font-size: .9em;
    font-weight: 700;
}

/*
    Index styles
*/
.header-main {
    padding: 4px 0 0;
    background-color: #3B8686;
}
.header-main--solo {
    box-shadow: 0 2px 3px rgba(0, 0, 0, .17);
}
.main-title {
    color: #fefefe;
    display: inline-block;
    font-size: 1.8em;
    font-weight: 500;
}
.main-subtitle {
    background-color: #594F4F;
    border-top: 1px solid #e8e8e8;
    color: #fff;
    font-size: 1.2em;
}
.list-nav-main {
    color: #444;
}
.list-nav-main li {
    border: 1px solid #e4e4e4;
    border-top: none;
    transition: all .3s linear;
}
.list-nav-main li:hover {
    background-color: #eee;
}
.list-nav-main li:hover .list-main-icon {
    fill: #435E63;
}
.list-nav-main span {
    font-size: 1.8em;
    font-weight: 300;
    margin-left: 5px;
}
.list-main-icon {
    fill: #888;
    display: inline;
    margin: 0 8px;
    height: 100px;
    vertical-align: sub;
}
.list-main-icon[mc-icon="bus"] {
}
.list-main-icon[mc-icon="map"] {
    font-size: 1.2em;
}
.list-main-icon[mc-icon="cog"] {
}
.list-main-icon[mc-icon="feedback"] {
}

/*
    Routes styles
*/

/*
    Stops styles
*/

.direction-sort li {
    display: inline-block;
    float: left;
    text-align: center;
    width: 33%;
}
.direction-sort li:nth-child(2) {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.direction-sort a {
    color: #222;
    display: block;
    padding: 10px 0;
    text-decoration: none;
}

/*
    Time styles
*/

.time-header h3 {
    margin-left: 10px;
}
.time-next-bus {
    color: #4c4c4c;
    font-size: 3.5em;
    font-weight: 100;
    letter-spacing: -5px;
    margin: -0.2em -4px 0;
    display: inline-block;
}
.time-next-bus small {
    font-size: 50%;
    letter-spacing: 0em;
}
.time-refresh {
    display: inline-block;
    fill: #bbb;
    margin-left: 10px;
}

/*
    Map styles
*/



/* iw: info window */

.iw-stop-name {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px 0 2px;
}
.iw-times {
    font-size: 1.2em;
    border: 1px solid #ccc;
    margin: .5em auto 10px;
}
.iw-times li {
    padding: .25em 10px;
}
.iw-times li:nth-child(odd) {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.iw-times li:nth-child(even) {
    background-color: #F0F0F0;
}
.iw-times li:first-child {
    border-top: none;
}
.iw-times li:last-child {
    border-bottom: none;
}
.iw-next-mins {
}
.iw-next-clock {
    float: right;
}

/*
    Feedback styles
*/

.feedback-form {
    margin: 25px 0;
    padding-top: 20px;
}



@media only screen and (max-width: 767px) {

    .list-secondary li {
        overflow-x: scroll;
    }
    .secondary-header h2 {
        overflow-x: scroll;
    }
}