/**
 * Full-width responsive YouTube
 * @see http://avexdesigns.com/responsive-youtube-embed/
 */
.video-container {
  height: 0; 
  overflow: hidden;
  padding-bottom: 56.25%;
  padding-top: 30px; 
  position: relative;
}
.video-container iframe,
.video-container object,
.video-container embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.gm-style {
  font-family: 'Millar', 'Arial', Sans-Serif;
}

/**
 * General
 */
html { 
  font-size: 62.5%; 
}
body { 
  color: #6a6a6a;
  font-size: 1.6px; font-size: 1.6rem; 
  font-family: 'Verdana', 'Arial', Sans-Serif;
  line-height: 20px; line-height: 2.0rem;
}
h1, h2, h3, h4, h5, h6 {
  color: #6a6a6a;
  font-size: 15px; font-size: 1.5rem;
  font-family: 'Millar-Bold', 'Arial', Sans-Serif;
  line-height: 20px; line-height: 2.0rem;
}
h2 {
  color: #028485;
  font-size: 24px; font-size: 2.4rem;
  line-height: 24px; line-height: 2.4rem;
}
h3 {
  color: #6a6a6a;
  font-size: 15px; font-size: 1.5rem;
  font-family: 'Verdana', 'Arial', Sans-Serif;
  line-height: 20px; line-height: 2.0rem;
}
p {
  margin: 1em 0;
}
p a, p a:hover, p a:active, p a:visited {
  color: #18524f;
  text-decoration: underline;
}
hr {
  border-top: 1px solid #6a6a6a;
}
blockquote {
  font-size: 12px; font-size: 1.2rem;
  font-style: italic;
  line-height: 20px; line-height: 2.0rem;
  margin: 1em 0;
  border-color: #b2dfde;
}
blockquote p {
  margin: 0;
}
blockquote p + p {
  margin-top: 1em;
}
legend {
  border-bottom: none;
}

/**
 * Bootstrap
 */
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active {
  background-color: #000000;
  border-color: #000000;
  border-radius: 0;
  color: #ffffff;
  outline: none;
  letter-spacing: 1px; letter-spacing: 0.1rem;
  font-family: 'Millar', 'Arial', Sans-Serif;
  font-weight: normal;
}


/**
 * Header
 */
#thameslinkmap-header {
  background: #bed362 url('../images/icons/bg-header.png') left top repeat-x;
  min-height: 124px;
  position: relative;
}
#thameslinkmap-header-logo {
  background: url('../images/icons/logo-masthead.png') center center no-repeat;
  display: block;
  height: 60px;
  width: 188px;
  margin: 35px 0 0 20px;
}
#thameslinkmap-header-nav {
  margin: 0 20px 0 0;
}
#thameslinkmap-header-nav li {
  padding: 0;
  margin: 0;
}
#thameslinkmap-header-nav li a {
  display: block;
  background-color: #eeeeee;
  padding: 8px 12px;
  margin: 0 0 0 1px;
  color: #000000;
}
#thameslinkmap-main-site-link {
  bottom: 19px;
  color: #000;
  position: absolute;
  right: 40px;
}
#thameslinkmap-main-site-link a {
  color: #000;
  display: inline-block;
  font-size: 12px; font-size: 1.2rem;
  text-decoration: underline;
}

/**
 * Google Map
 */
#thameslink-map-canvas {
  height: 400px;
}
#thameslink-map-infowindow {
  box-shadow: 0 0 12px 0 #888888;
}
#thameslink-map-infowindow {
  background-color: #fff;
  max-width: 442px;
  padding: 20px;
}
#thameslink-map-infowindow .highlighted {
  font-family: 'Millar-Bold', 'Arial', Sans-Serif;
}
#thameslink-map-infowindow h2 {
  color: #028485;
  font-size: 26px; font-size: 2.6rem;
  line-height: 30px; line-height: 3.0rem;
  margin: 0 0 20px;
  padding: 0;
}
#thameslinkmap-infowindow-body {
  overflow: hidden;
}
#thameslinkmap-infowindow-body p {
  color: #000000;
  font-size: 12px; font-size: 1.2rem;
  line-height: 18px; line-height: 1.8rem;
  margin: 0;
  padding: 0;
}
#thameslinkmap-infowindow-body p, #thameslinkmap-infowindow-body img {
  margin-bottom: 20px;
}
#thameslinkmap-infowindow-image {
  float: left;
}
#thameslinkmap-infowindow-image img {
  margin: 0 10px 10px 0;
  width: 98px;
  height: 98px;
}
#thameslinkmap-infowindow-button {
  margin-top: 10px;
}
#thameslinkmap-infowindow-button .btn {
  font-size: 18px; font-size: 1.8rem;
  margin-top: 10px;
  padding: 7px 0;
}
#thameslinkmap-infowindow-statuses {
  font-family: 'Millar-Bold', 'Arial', Sans-Serif;
  font-size: 12px; font-size: 1.2rem;
  overflow: hidden;
}
.thameslink-infowindow-status {
  float: left;
  width: 32%;
  margin: 0 1%;
  padding: 0;
  padding-top: 0.3em;
  text-align: center;
}
.thameslink-infowindow-planned {
  margin-left: 0;
  border-top: 5px solid rgba(251, 197, 22, 0.5);
}
.thameslink-infowindow-planned.highlighted {
  border-color: rgba(251, 197, 22, 1.0);
}
.thameslink-infowindow-progress {
  border-top: 5px solid rgba(107, 195, 204, 0.5);
}
.thameslink-infowindow-progress.highlighted {
  border-color: rgba(107, 195, 204, 1.0);
}
.thameslink-infowindow-complete {
  margin-right: 0;
  border-top: 5px solid rgba(190, 211, 97, 0.5);
}
.thameslink-infowindow-complete.highlighted {
  border-color: rgba(190, 211, 97, 1.0);
}
#thameslinkmap-infowindow-arrow {
  height: 30px;
  background: url('../images/infobox/arrow.png') center bottom no-repeat;
}


/**
 * Archive Header
 */
#thameslink-map-archive-header {
  background-color: #028485;
  color: #ffffff;
  padding: 20px;
}


/**
 * Archive Actions
 */
#thameslink-map-actions {
  height: 89px;
  font-family: 'Millar-Bold', 'Arial', Sans-Serif;
  /* background-color: #f4fbfb; */
}
#thameslink-map-actions label, #thameslink-map-actions dd {
  color: #000;
  font-weight: normal;
  font-size: 12px; font-size: 1.2rem;
}


/**
 * Archive Geolocate
 */
#thameslink-map-geolocate-container {
  background-color: #98cece;
  height: 100%;
}
#thameslink-map-geolocate-container form {
  margin: 10px 20px;
}
.btn-loader.loading {
  background: #000 url(../images/ajax-loader.gif) center center no-repeat;
  background-size: 64px auto;
  text-indent: -99999em;
}


/**
 * Archive Search
 */
#thameslink-map-search-container {
  background-color: #c0e6ea;
  height: 100%;
}
#thameslink-map-search-container form {
  margin: 10px 20px;
}


/**
 * Archive key
 */
#thameslink-map-key-container {
  background-color: #f4fbfb;
  min-height: 100%;
}
.thameslink-map-key dl {
  margin: 10px 0;
}
.thameslink-map-key img {
  width: 36px;
  height: auto;
}


/**
 * Banner
 */
.thameslinkmap-banner {
  background-color: #028485;
  margin-bottom: 30px;
}
.thameslinkmap-banner h1 {
  color: #ffffff;
  font-size: 36px; font-size: 3.6rem;
  line-height: 40px; line-height: 4.0rem;
  padding: 0;
  margin: 20px 20px 15px 20px;
}
.thameslinkmap-banner p {
  color: #ffffff;
  font-size: 16px; font-size: 1.6rem;
  font-family: 'Millar', 'Arial', Sans-Serif;
  line-height: 20px; line-height: 2.0rem;
  padding: 0;
  margin: 0 20px 20px 20px;
}
#thameslink-map-intro {
  margin-bottom: 0;
}


/**
 * Banner: Single
 */
#thameslink-map-archive-header {
  margin-bottom: 0;
}


/**
 * Key facts
 */
#thameslinkmap-single-key-facts {
  color: #028485;
  font-family: 'Millar', 'Arial', Sans-Serif;
}
#thameslinkmap-single-key-facts h2 {
  border-bottom: 2px solid #00b5c4;
  color: #028485;
  font-size: 20px; font-size: 2.0rem;
  line-height: 20px; line-height: 2.0rem;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 0.5em;
}
#thameslinkmap-single-key-facts ul li {
  color: #028485;
  font-size: 18px; font-size: 1.8rem;
  line-height: 26px; line-height: 2.6rem;
  margin-bottom: 10px;
}
#thameslinkmap-single-body img {
  max-width: 100%;
  height: auto;
}


/**
 * Google Map
 */
#thameslinkmap-single-canvas {
  height: 300px;
}
#thameslinkmap-single-back-to-map {
  margin-top: 0.5em;
  margin-bottom: 2em;
}


/**
 * Masthead nav
 */
#thameslink-map-masthead {
  padding-top: 10px; padding-top: 1rem;
}
#thameslink-map-masthead li {
  font-size: 12px; font-size: 1.2rem;
  margin: 0;
  padding: 0;
}
#thameslink-map-masthead a {
  color: #028485;
  text-decoration: underline;
}
#thameslink-map-masthead a[href^=tel] {
  color: #fff;
  text-decoration: none;
}
#thameslink-map-masthead li {
  margin: 0;
  padding: 0;
}
#thameslink-map-masthead li:after {
  color: #028485;
  margin: 0 0.5em 0 1em;
}
#thameslink-map-masthead li:last-child:after {
  content: none;
}
#thameslink-map-breadcrumbs li { 
  font-size: 12px; font-size: 1.2rem; 
}
#thameslink-map-breadcrumbs li:after {
  content: '>';
}
#thameslink-map-view-nav li { 
  font-size: 1.2px; font-size: 1.2rem;
}
#thameslink-map-view-nav li:after {
  content: '/';
}


/**
 * List entries
 */
.thameslinkmap-list-entry {
  border-bottom: 2px solid #c7e9ec;
  padding-top: 0;
  padding-bottom: 30px;
}
.thameslinkmap-list-entry:last-child {
  margin-bottom: 30px;
}
.thameslinkmap-list-entry h2 {
  color: #028485;
  font-size: 26px; font-size: 2.6rem;
  line-height: 30px; line-height: 3.0rem;
  margin: 30px 0 0;
  padding: 0;
}
.thameslinkmap-list-entry p {
  margin: 30px 0 0;
  padding: 0;
}
.thameslinkmap-list-entry p:empty {
  display: none;
}
.thameslinkmap-list-entry .btn {
  margin: 30px 0 0;
}


/**
 * Share
 */
#thameslinkmap-share {
  margin: 30px 0;
}
#thameslinkmap-share h2 {
  border-top: 2px solid #00b5c4;
  color: #00b5c4;
  font-size: 20px; font-size: 2.0rem;
  line-height: 20px; line-height: 2.0rem;
  padding-top: 8px;
  padding-bottom: 30px;
  margin: 0;
}
.list-inline {
  margin-left: 0;
}
.thameslinkmap-share-btn {
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  height: 35px;
  margin: 0 5px 0 0;
  padding: 0;
  width: 35px;
}
#thameslinkmap-share-facebook {
  background-image: url('../images/icons/share-facebook.png');
}
#thameslinkmap-share-twitter {
  background-image: url('../images/icons/share-twitter.png');
}
#thameslinkmap-share-instagram {
  background-image: url('../images/icons/share-instagram.png');
}
#thameslinkmap-share-pinterest {
  background-image: url('../images/icons/share-pinterest.png');
}


/**
 * Widgets (all)
 */
.widget {
  margin: 30px 0;
  padding: 20px;
}
.widget h2 {
  color: black;
  font-size: 20px; font-size: 2.0rem;
  margin: 0 0 15px;
  padding: 0;
}
.widget ul {
  margin: 0;
  padding: 0;
}
.widget label {
  color: black;
  font-weight: normal;
}
.widget input[type=submit] {
  margin-top: 10px;
}


/**
 * Widget: Downloads
 */
#thameslinkmap-file-list-wrap {
  background-color: #b2dfde;
}
#thameslinkmap-file-list-wrap ul {
  list-style: none;
  margin: 23px 0 0;
  padding: 0;
}
#thameslinkmap-file-list-wrap li {
  background: url('../images/icons/download.png') right top no-repeat;
  background-size: auto 26px; background-size: auto 2.6rem;
  font-size: 14px; font-size: 1.4rem;
  line-height: 23px; line-height: 2.3rem;
  list-style: none;
  margin: 1em 0 0;
  min-height: 2.6rem;
  padding: 0 46px 0 0;
}
#thameslinkmap-file-list-wrap ul a {
  color: #000000;
  display: block;
  text-decoration: underline;
}


/**
 * Widget: Instagram
 */

#thameslinkmap-instagram {
  padding: 0;
}
#thameslinkmap-instagram .row {
  margin-top: -30px;
}
#thameslinkmap-instagram h2 {
  color: #028485;
}
#thameslinkmap-instagram .post {
  margin-top: 30px;
}
#thameslinkmap-instagram img {
  width: 100%;
  height: auto;
}


/**
 * Widget: Email alerts
 */
#email-updates-widget {
  background-color: #bed362;
}
#email-updates-widget ul {
  margin: 0;
  padding: 0 0 0 1.7em;
}
#email-updates-widget .checkbox-group-label {
  border-bottom: none;
  color: #4d4d4d;
  font-size: 12px; font-size: 1.2rem;
  margin: 0 0 1em 0;
  padding: 0;
}


/**
 * Widget: Text Alerts;
 */
#text-alert-widget {
  background-color: #b2dfde;
}


/**
 * Widget: Text Alerts;
 */
#any-queries-widget {
  background-color: #a42243;
}
#any-queries-widget h2 {
  color: #ffffff;
}
#any-queries-widget p.tel {
  color: #ffffff;
  speak-numeral: digits;
  text-decoration: none;
}


/**
 * Widget: Any Queries?
 */
#any-queries-widget img {
  margin: 0 0 15px 15px;
}
#any-queries-widget h2 {
  font-family: 'Millar', 'Arial', Sans-Serif;
  line-height: 30px; line-height: 3.0rem;
  margin: 25px 0 0;
}
#any-queries-widget p {
  font-family: 'Millar', 'Arial', Sans-Serif;
  font-size: 36px; font-size: 3.6rem;
  line-height: 36px; line-height: 3.6rem;
  margin: 25px 0 0;
  padding: 0;
}


/**
 * Widget: Twitter
 */
#thameslinkmap-twitter {
  background-color: #444444;
}
/*
#thameslinkmap-sidebar-footer {
  box-sizing: border-box;
}
*/
#thameslinkmap-sidebar-footer a, #thameslinkmap-sidebar-footer a:hover, #thameslinkmap-sidebar-footer a:active, #thameslinkmap-sidebar-footer a:visited {
  color: #bed361
}
#thameslinkmap-sidebar-footer h2 {
  color: #fff;
  font-weight: normal;
  margin: 0;
  padding: 20px 20px 0;
}
#thameslinkmap-sidebar-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: auto;
}
#thameslinkmap-sidebar-footer li {
  font-size: 14px; font-size: 1.4rem;
  float: left;
  line-height: 20px; line-height: 2.0rem;
  width: 33.3%;
}
.wdtf-user-card {
  display: none;
}
.tweet_wrap {
  padding: 20px;
}
.tweet_data {
  color: #ffffff;
}
.stats-favorites, .tweets-intent-data {
  display: none;
}


/**
 * Footer
 */
#thameslinkmap-footer-links ul {
  margin: 0;
  padding: 10px 0 30px;
}
#thameslinkmap-footer-links li {
  font-size: 12px; font-size: 1.2rem;
  line-height: 20px; line-height: 2.0rem;
  margin: 0;
  padding: 0;
}
#thameslinkmap-footer-links li:before {
  color: #999999;
  content: '|';
}
#thameslinkmap-footer-links li:first-child:before {
  content: '';
}
#thameslinkmap-footer-links li a {
  margin: 0 0.75em;
  color: #999999;
}
#thameslinkmap-footer-links li:last-child a {
  margin-right: 0;
}


/**
 * Form errors
 */
div.mce_inline_error {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442; 
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
input.mce_inline_error {
  margin-bottom: 10px;
}


/**
 * Maps overlay
 */
/*
.gm-style-iw {
  width: auto!important;
  height: auto!important;
}
.gm-style-iw > div {
  max-width: none !important;
}
*/


/**
 * Wordpress Image Captions
 */
.wp-caption-text {
  background-color: #fff;
  color: #028485;
  font-style: italic;
  margin-top: 5px;
}


.alert-success.response {
  padding: 10px;
  border-radius: 4px;
}

/**
 * mobile
 */
@media (max-width: 767px) {

  /**
   * navbar
   */
  .navbar {
    margin-bottom: 0;
  }
  #thameslinkmap-header-logo {
    margin-left: 0;
  }
  .tweet_wrap {
    padding-bottom: 0;
  }
  #thameslinkmap-sidebar-footer ul {
    padding-bottom: 30px;
  }
  #thameslinkmap-sidebar-footer li {
    width: 100%;
  }
  #thameslinkmap-footer-links li:before {
    content: '';
  }
  #thameslinkmap-footer-links {
    text-align: center;
  }

}

/**
 * Use rems for accessibility
 * @see http://snook.ca/archives/html_and_css/font-size-with-rem
 * @see https://offroadcode.com/prototypes/rem-calculator/
 */
h2 { font-size: 2.4rem; }
h3 { font-size: 1.5rem; }
blockquote { font-size: 1.2rem; }
#thameslinkmap-header-nav a { font-size: 1.2rem; }
.btn { font-size: 1.4rem; }
.form-control { font-size: 1.4rem; }
.thameslinkmap-list-entry p { font-size: 1.2rem; }
.wp-caption-text { font-size: 1.2rem; }
#thameslinkmap-single-body p { font-size: 1.2rem; }
#thameslink-map-masthead li { font-size: 1.2rem; }
#thameslinkmap-single-back-to-map { font-size: 1.2rem; }
.widget label { font-size: 1.2rem; }
#email-updates-widget label { font-size: 1.2rem; }



@media only speech {
  #any-queries-widget p {
    speak-numeral: digits;
  }
}
