/*!
Theme Name: tenf
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tenf
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

tenf is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

:root {
	--route-color: #000000;
	--route-color-faded: #00000055;
}

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

.tenf-hidden {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover, a:focus, a:active {
	color: midnightblue;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li:focus-within > ul {
	left: 100%;
}

.main-navigation ul ul a {
  width: 200px;
  color: #545454;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li:focus-within > ul {
	left: auto;
  background: white;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

div.menu-toggle {
  border: none;
  background: none;
  font-size: 2.2em;
  outline: none;
  padding: 10px;
  margin-right: 20px;
}

div.menu-toggle:hover, div.menu-toggle:active {
  color: #ee2e4e;
  /*outline: 1px dashed gray;*/
  cursor: pointer;
}

li.close-menu {
  position: absolute;
  top: 42px;
  right: 24px;
  text-align: center;
}

body.admin-bar ul#primary-menu .close-menu {
  margin-top: 46px;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 721px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.tenf-main {
	max-width: 1040px;
	margin: auto;
	width: 100%;
}
.tenf-container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
.tenf-image {
    width: 100%;
    padding-bottom: 66%;
    background-size: cover;
    background-position: center center;
}
.tenf-image-square-ish {
	padding-bottom: 90%;
}
.tenf-image-square {
	padding-bottom: 100%;
}

.column-1 {
    width: 8.33%;
}
.column-2 {
    width: 16.66%;
}
.column-3 {
	width: 25%;
}
.column-4 {
	width: 33%;
}
.column-5 {
    width: 41.6%;
}
.column-6 {
	width: 50%;
}
.column-7 {
    width: 58.3%;
}
.column-8 {
	width: 66%;
}
.column-9 {
	width: 75%;
}
.column-10 {
	width: 83.33%;
}
.column-11 {
	width: 91.66%;
}
.column-12 {
    width: 100%;
}

.tenf-button {
	display: inline-block;
	padding: 10px 20px;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	background: #a30234;
	font-family: Montserrat, Sans-Serif;
  border: #a30234 2px solid;
	transition: all 0.1s;
}

.tenf-button:hover {
  color: #a30234;
  background: #FFFFFF;
}

.tenf-button:visited {
	color: white;
}

/* Typography */

h1, h2, h3, h4, h5 {
	font-family: Coustard, serif;
	font-weight: 400;
}


h3, h4, h5 {
	font-family: Montserrat, sans-serif;
}

h2 {
	font-size: 1.7rem;
}

h3 {
	font-size: 1.6rem;
}

body, p {
	font-family: Montserrat;
	font-weight: 400;
}

.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}

/* Header & Nav */

header {
	background-size: cover;
}

nav {
	background-color: #545454;
	color: white;
}

div.container {
	max-width: 1080px;
	margin: auto;
	display: flex;
}

.site-branding img {
  object-fit: cover;
  width: 240px;
  margin: 20px 0 0 10px;
}

.main-navigation a {
	color: white;
	padding: 12px 24px;
	font-weight: bold;
	display: inline-block;
	position: relative;
}

div.menu ul {
  display: flex;
  width: 100%;
}

div.menu-nav-menu-container {
  margin: auto;
}

header div.container {
  justify-content: space-between;
}

.header-icons span, .header-icons a {
  width: 48px;
  margin-left: 10px;
  font-size: 2.5rem;
  display: flex;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.header-icons {
  display: flex;
  align-items: center;
  position: relative;
  margin-right: 10px;
}

/* Single Page */

div.page {
	background-color: #037a3a;
	padding-top: 80px;
	position: relative;
}

/* Replaced in favour of inner-shadow-bottom & inner-shadow-top */
/* div.page:after {
	content: '';
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	box-shadow: 0px 0px 46px 0px #00000073 inset;
	top: 0;
	left: 0;
	pointer-events: none;
} */

div.page > div.container {
	background-color: white;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
}

div.page-wrapper {
	width: 100%;
	padding: 40px 40px 25px 40px;
}

.page-header {
  width: 100%;
  padding-bottom: 28.75%;
  background-size: cover;
  background-position: center center;
}

.page-title {
	background-size: cover;
	box-shadow: 0px 10px 10px #00000054;
	background-position: center;
}

.page-title h1 {
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  font-size: 3.0rem;
  text-shadow: 0 0 6px #000;
}

.page-title.page-title-alternate h1 {
	color: #231f20;
	text-shadow: 0 0 6px #fff;
}

.page-title.page-title-alternate {
	box-shadow: none;
}

.page-title img {
	max-height: 64px;
	margin: 0 12px;
	max-width: 150px;
}

.bg-primary {
	background-color: #1378bc;
}

.bg-secondary {
	background-color: #898989;
}

.text-primary {
	color: #1378bc;
}

.text-secondary {
	color: #898989;
}

/* Single Route Page */

/* single route schedule grids */

.table-notes {
	font-size: 1.0rem;
}

h3.table-heading {
	color: black;
	margin-bottom: 0;
	font-family: Coustard, serif;
	font-size: 1.4rem;
}

.schedule-grid-container-full {
	grid-column-start: 1;
	grid-column-end: span 2;
}

.schedule-grid-container {
	overflow-x: hidden;
}

.schedule-grid {
	font-size: 1.0rem;
	min-width: 100%;
	width: 100%;
	text-align: center;
	font-weight: 500;
	color: #111;
	margin: 0;
}

.schedule-grid:not(.schedule-grid-floating) {
	overflow-x: auto;
}

.inner-table-container {
	overflow-x: auto;
	position: relative;
}

.table-container + .table-container {
	/*margin-top: 20px;*/
}

.schedule-grid-floating {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 4;
	pointer-events: none;
}

.schedule-grid-floating .schedule-cell:not(.left-cell) {
    visibility: hidden;
}

.fixed-table-container + .inner-table-container .schedule-grid .schedule-cell.left-cell {
	opacity: 0;
}

.fixed-table-container {
	position: relative;
}

.inner-table-container {
	margin: 0 0 4px 0;
}

.table-title {
    text-align: center;
    text-transform: uppercase;
    color: white;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.2;
    padding: 7px;
	background-color: #333;;
    background-color: var(--route-color);
}

.table-footer {
    text-align: center;
    text-transform: uppercase;
    color: white;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.2;
    padding: 7px;
    background-color: #888;
    margin-top: 4px;
}

.schedule-cell {
	background-color: #efefef;
	padding: 4px;
	align-items: center;
	line-height: 1.2;
}

.schedule-cell.header-cell {
	color: white;
	background-color: #333;
	background-color: var(--route-color);
	font-weight: 700;
	font-size: 0.85rem;
}

/* times as grid */

.times-as-grid .schedule-cell {
	border-top: 2px solid #aaa;
	border-left: 2px solid #aaa;
}

.times-as-grid .schedule-cell.top-cell {
	border-top: none;
}

.times-as-grid .schedule-cell.left-cell {
	border-left: none;
}

/* two columns */

.schedule-grid.two-columns .header-cell {
	margin-bottom: 4px;
	border-left: 2px solid white;
	font-size: 1rem;
}

.schedule-grid.two-columns .schedule-cell.header-cell {
	border-top: none;
	border-left: 2px solid white;;
}

.schedule-grid.two-columns .schedule-cell {
	border-left: 2px solid #aaa;
	border-top: 2px solid #aaa;
}

.schedule-grid.two-columns .top-cell {
	border-top: none;
}

.schedule-grid.two-columns .header-cell.left-cell {
	border-left: none;
}

.schedule-grid.two-columns .left-cell {
	border-left: none;
}

.schedule-grid.two-columns .schedule-cell:not(.left-cell):not(.header-cell) {
	text-align: left;
}

/* .full-grid-locations-on-top */

.full-grid-locations-on-top .schedule-cell.header-cell {
	border-top: none;
	border-left: 2px solid white;;
}

.full-grid-locations-on-top .schedule-cell.left-cell:not(.header-cell) {
  background-color: #606060;
  color: white;
}

.full-grid-locations-on-top .schedule-cell {
	border-left: 2px solid #aaa;
	border-top: 2px solid #aaa;
}

.full-grid-locations-on-top .top-cell {
	border-top: none;
}

.full-grid-locations-on-top .header-cell.left-cell {
	border-left: none;
}

.full-grid-locations-on-top .left-cell {
	border-left: none;
}

/* .full-grid-locations-on-left */

.full-grid-locations-on-left .schedule-cell.header-cell {
	border-top: none;
	border-left: 2px solid white;;
}

.full-grid-locations-on-left .header-cell {
  background-color: #606060;
}

.full-grid-locations-on-left .schedule-cell.left-cell:not(.header-cell) {
	background-color: #333;
  background-color: var(--route-color);
  border-top: 2px solid white;
  color: white;
}

.full-grid-locations-on-left .schedule-cell {
	border-left: 2px solid #aaa;
	border-top: 2px solid #aaa;
}

.full-grid-locations-on-left .top-cell {
	border-top: none;
}

.full-grid-locations-on-left .header-cell.left-cell {
	border-left: none;
}

.full-grid-locations-on-left .left-cell {
	border-left: none;
}

.full-grid-locations-on-left .left-cell + .schedule-cell {
	border-left: 2px solid white;
}

/* color rows */

.colored-rows .schedule-cell.empty-cell.header-cell {
	visibility: hidden;
  }

  .colored-rows .header-cell:not(.left-cell) {
	border-left: 2px solid white;
  }


  .colored-rows .schedule-cell.top-cell {
	border-top: 2px solid #aaa;
  }

  .colored-rows .schedule-cell.top-cell:not( ~ .header-cell) {
	border-top: none;
  }

  .colored-rows .schedule-cell:not(.left-cell):not(.header-cell) {
	border-left: 2px solid #aaa;
  }

  .colored-rows .schedule-cell:not(.header-cell) {
	background-color: white;
  }

  .colored-rows .schedule-cell.even-row {
	  background-color: rgba(51, 51, 51, 0.3);
	background-color: var(--route-color-faded);
  }

  .colored-rows .header-cell {
	font-size: 1rem;
  }

/* end single route schedule grids */

.schedule-dashed-line {
	border-bottom: 6px dashed #dddddd;
	opacity: 1;
}

/* single route v2 */

label > .schedule-header {
	cursor: pointer;
}

.page-wrapper.route-schedule {
	padding: 0px 40px 10px 40px;
}

div.schedule.page {
	padding-top: 50px;
}

.expander-checkbox:checked ~ .schedule-content {
	margin-bottom: 0;
}

.schedule-content {
	display: grid;
	width: 100%;
	grid-template-columns: 1fr 1fr;
	column-gap: 35px;
	padding-bottom: 20px;
	opacity: 100%;
	margin: 0;
	visibility: visible;
}

.page-wrapper .expander-label {
	position: absolute;
	display: inline-block;
	top: 0;
	right: 10px;
	margin: 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: transform 0.2s;
	cursor: pointer;
}

.expander-checkbox {
	position: absolute;
	opacity: 0;
}

.expander-checkbox:focus + label {
  outline: 1px dashed gray;
}

.page-wrapper .expander-label .bar + .bar {
	transform: translate(-50%, -50%);
}

.page-wrapper .expander-label .bar {
	transform: translate(-50%, -50%);
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 5px;
	border-radius: 5px;
	background-color: #888;
	transition: transform 0.1s;
}

.page-wrapper label:hover ~ .expander-label .bar {
	background-color: #444;
}

.page-wrapper .expander-label:hover .bar {
	background-color: #444;
}

.expander-checkbox:checked ~ .expander-label .bar + .bar {
	transform: translate(-50%, -50%) rotate(90deg);
}

.expander-section {
	max-height: 3700px;
	transition: max-height 0.3s, opacity 0.3s, visibility 0.1s ease;
	opacity: 100%;
	visibility: visible;
	overflow-y: hidden;
}

.schedule-subheading p {
	margin-bottom: 0;
}

.expander-checkbox:checked ~ .expander-section {
	max-height: 0px;
	opacity: 0%;
	visibility: hidden;
}
.expander-checkbox:checked ~ .expander-section iframe, .expander-checkbox:checked ~ .expander-section a  {
	display: none;
}

.schedule-content > div {
	margin-top: 30px;
}

.schedule-notes p {
	margin-top: 0;
	margin-bottom: 0;
}

.schedule-content .schedule-notes p:last-child {
	margin-bottom: -8px;
}

.schedule-grid-container-half ~ .schedule-notes,
.schedule-grid-container-full + .schedule-notes {
	grid-column: span 2;
}

.schedule-image {
	grid-column-start: 1;
	grid-column-end: 3;
	padding-bottom: 0;
	display: grid;
}

.schedule-image.schedule-image-half-width {
	grid-column-end: 2;
}

.schedule-additional-image img {
	height: 100%;
	object-fit: cover;
	display: grid;
}

/* end single route v2 */

span.route-number {
	text-shadow: none;

	font-family: 'Montserrat';
	font-weight: 700;
	min-width: 2.6ch;
	border-radius: 0.3ch;
	height: 2.6ch;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-title .route-number {
	margin-right: 25px;
}

div.schedule {
	background-color: #1378bc;
}

div.schedule:last-child:after {
    display: none;
}

div.schedule-header h1 {
  width: 100%;
  font-weight: 400;
  color: #fb153a;
  font-size: 2.0rem;
  max-width: calc(100% - 40px); /* 40px for the expander close button */
}

div.schedule-header p {
	max-width: 640px;
	margin-top: 0px;
	margin-bottom: 24px;
	font-weight: 500;
	color: black;
}

div.schedule .tenf-button {
	width: 100%;
	text-align: center;
	border: none;
	color: white;
	margin-bottom: 8px;
}

div.schedule-details {
	padding-bottom: 8px;
	/* border-bottom: 6px dashed #dddddd; */
}

.schedule-location iframe {
	border: 1px solid black;
	width: 100% !important;
	height: 100% !important;
	min-height: 400px;
	max-height: 550px;
	width: 100% !important;
}

img.schedule-map {
  width: 100%;
  display: block;
  height: auto;
  object-fit: fill;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  border: 1px solid #ddd;
}

.tenf-container.schedule-details {
  margin-top: 32px;
}

table.schedule-timetable {
	background: #f0f0f0;
	color: #606060;
  border-spacing: 0;
}

table.schedule-timetable th {
	color: white;
	font-weight: bold;
	text-align: left;
}

table.schedule-timetable tr:nth-child(even) > td:last-child {
	background: #ddd;
}

table.schedule-timetable td, table.schedule-timetable th {
  padding: 8px 16px;
}

table.schedule-timetable td:last-child {
  border-left: 4px solid #ddd;
}

table.schedule-timetable td:first-child {
	color: #090909;
}

div.schedule-note p {
  margin: 8px 0 22px 0;
}

/* Posts archive page */

.inner-wrapper {
	width: 100%;
}

.posts-archive-title {
	display: flex;
	justify-content: center;
	align-items: center;
}

.tenf-post-preview .column-7 {
  padding: 0 20px;
}

.tenf-post-preview {
  margin: 40px 0;
  width: 100%;
}


.tenf-post-preview .tenf-image {
	height: 100%;
}

.post-layer:nth-child(even) .tenf-container {
  flex-direction: row-reverse;
}

.post-layer:nth-child(even) .column-7 {
  padding-left: 0;
}

.tenf-post-preview .tenf-button {
  margin: 10px 0;
}

.route-layer:last-child {
	border-bottom: none !important;
	padding-bottom: 32px;
}

.news-pagination.container .navigation.pagination {
	background-color: white;
	color: #404040;
	margin: auto;
	padding: 10px 0 30px 0;
}

.news-pagination.container .navigation.pagination a:visited {
	color: royalblue;
}

.news-pagination.container .navigation.pagination .prev,
.news-pagination.container .navigation.pagination .next {
    display: none;
}

.news-pagination.container {
	font-size: 1.3rem;
}

/* Single Post */

/* Single post now uses most of the Single Page structure */

.post-title {
	line-height: 1.2;
}

.post-header {
  display: flex;
  height: 400px;
  background-color: #009e58;
  background-size: cover;
  background-position: center center;
}

.post-header .container h1 {
  background-color: #1f1d1d;
  color: white;
  padding: 20px 40px;
  box-shadow: 4px 4px 10px #00000080;
}

/* Schedule Lightbox */

button.fancybox-button.fancybox-close-small {
  background: black;
  border-radius: 50%;
  right: -48px;
}

/* FOOTER */

.footer-icons {
    float: right;
    width: 100%;
}

.footer-icons img {
    flex-wrap: none;
    width: 42px;
}
.footer-icons img:last-child {
    margin-right: 7px;
}

.footer-icons a {
    text-decoration: none;
}

footer {
	background-color: #1d1d1d;
	padding: 40px 0;
	color: white;
}

.site-footer {
	background-size: cover;
}

.site-info {
	margin: 0 10px;
}

.site-info img {
	max-width: 110px;
}

footer .tenf-container {
	padding: 0 10px 10px 10px;
}

.fine-print {
	font-size: 0.75em;
}

.fine-print a {
	color: white;
}

.fine-print p {
  font-weight: 600;
  color: #dedede;
}

.footer-address p {
	margin: 4px 0;
	font-weight: 500;
	margin-bottom: 15px;
}

.footer-email {
	display: flex;
  	align-items: center;
  	justify-content: center;
}

.footer-email a {
	color: #fb153a;
	text-decoration: none;
	font-weight: 600;
}

/* Search Form */

.nav-search {
  position: absolute;
  right: 116px;
  width: 480px;
  font-size: 0.875rem;
  display: none;
  margin-top: 9px;
}

form.search-form {
  display: flex;
  margin-bottom: 0 10px 10px 10px;
  font-family: 'Montserrat';
}

.search-form label {
  width: 100%;
}

input.search-field {
  width: 100%;
  font-size: 1.25em;
  padding: 6px 16px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

button.search-submit {
  font-size: 1.25em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
}

button.search-submit:hover {
  background-color: #009e58;
  border-color: #009e58;
  color: white;
}

/* Single Page - With Sidebar */

div.page.page-with-sidebar > div.container {
	padding: 0;
	overflow: hidden;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
  max-width: 33%;
  width: 33%;
  background-color: #08502a;
  color: white;
}

.page-sidebar .tenf-image {
	margin-bottom: 10px;
}

.page-sidebar .sidebar-text {
	padding: 10px;
}

.sidebar-text h2 {
	font-weight: 700;
}

.sidebar-text {
	margin: 10px;
}

.page-sidebar + .page-wrapper {
	width: 66.9%;
}

.page-sidebar li {
  text-indent: 0;
  list-style: none;
}

.page-sidebar .textwidget, .page-sidebar .custom-html-widget {
  padding: 0px 40px;
}

.page-sidebar h1, .page-sidebar h2, .page-sidebar h3, .page-sidebar h4, .page-sidebar h5 {
  font-family: 'Montserrat';
  margin: 0;
}

.page-wrapper {
	color: #626365;
	font-size: 1.2em;
	position: relative;
}

.page-wrapper h2 {
  color: #fb1136;
  border-bottom: 6px #dedcdd dashed;
  padding-bottom: 16px;
}

.page ul {
  margin: 0;
  padding-left: 24px;
}

.page-wrapper li {
	margin-bottom: 8px;
}

/* Coupon */

div.container {
  display: flex;
  flex-direction: row;
}

.coupon-block {
 	display: block;
  width: calc(50% - 40px);
  margin: 20px 20px 40px 20px;
  text-align: center;
  position: relative;
  color: #070707;
  background-position: bottom;
  background-size: 100% auto !important;
  background-repeat: no-repeat;
  text-decoration: none;
}

.coupon-block p {
	font-weight: 500;
}

.coupon-block h2 {
	font-family: Montserrat;
}

.coupon-block-overlay {
  content: '';
  display: block;
  position: absolute;
  height: calc( 100% + 12px );
  width: calc( 100% + 12px );
  top: -6px;
  left: -6px;
  background: linear-gradient( to bottom, #FFFFFF, rgba( 255, 255, 255, 0 ) );
  z-index: 1;
}
.coupon-block .tenf-button {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX( -50% );
}

div.coupon-block-container {
  padding: 32px;
  z-index: 2;
  position: relative;
  height: 100%;
}

.route-block {
	height: 100%;
}

.route-block .tenf-image {
	padding-bottom: calc(100% - 64px);
	position: relative;
	z-index: -10;
  }

.route-block h1 {
  background: red;
  color: white;
  margin: 0;
  position: absolute;
  width: 100%;
  padding: 8px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4em;
}

.route-block a {
	text-decoration: none;
}

.route-block:hover h1 {
    text-decoration: underline;
    color: white;
    cursor: pointer;
}

/* fixed height route block begin */

.route-block {
    position: relative;
    /*padding-bottom: calc(66% + 49px);*/
}

.route-block a:nth-of-type(2) {
    position: absolute;
    z-index: 1;
	bottom: 0;
	width: 100%;
    left: 0;
}

.route-block a:nth-of-type(1) {
    position: absolute;
    z-index: 2;
    top: 0;
    width: 100%;
    left: 0;
}

/* fixed height route block end */

.route-layer:nth-child(even) {
  background: linear-gradient(90deg, #e4e4e4, #b4b4b4);
  border-top: 6px dashed #fff;
  border-bottom: 6px dashed #fff;
}

div.route-layer:nth-child(even) .coupon-block-overlay {
  background: linear-gradient( to bottom, #c8c8c8, rgba( 200, 200, 200, 0 ) );
}

div.route-layer:nth-child(even) .coupon-block {
  border-color: #808080;
}

span.tenf-button, a.tenf-button {
  background-color: #929292;
  border: #929292 2px solid;
  font-weight: 500;
}

span.tenf-button:hover, a.tenf-button:hover {
  background-color: #ffffff;
  border-color: #545454;
  color: #545454;
}

.route-block span.route-number {
  padding: 0 10px;
}

.plan-your-trip-wrapper {
	background-size: cover;
	background-position: center center;
	padding: 24px 0;
  box-shadow: -8px 0 16px rgba(0,0,0,0.5);
}

.plan-your-trip-wrapper h2 {
	text-align: center;
}

.plan-your-trip-wrapper .wp-block-tenf-plan {
	width: 100%;
	color: #121212;
}

/* wordpress blocks */

.wp-block-columns.tenf-no-margin {
	margin: 0;
}

.wp-block-columns.tenf-no-margin .wp-block-column {
	margin: 0;
}

/* front page template */

.routes-heading {
	margin-top:  55px;
	display: flex;
	justify-content: center;
}

.wavy-line-container {
	overflow: hidden;
	margin: 0 10px;
}

.routes-heading img {
	min-width: 400px;
	min-height: 100px;
	overflow: hidden;
}

.routes-heading .wavy-line-container:last-of-type img {
	float: right;
}

.routes-heading h1 {
	margin: auto 10px;
	color: #555455;
  font-size: 2.25rem;
  text-align: center;
}

.routes-heading h1 i {
	display: none;
    color: red;
    margin-left: 10px;
}

.front-page-content {
	margin: auto;
}

.tenf-front-page-bottom-section {
	display: flex;
	flex-wrap: wrap;
}

.tenf-plan-form-container {
	max-width: 510px;
	width: 100%;
	float: right;
}

.wp-block-tenf-plan .button-container.button-position-right {
	justify-content: flex-end;
}

/* front page slider */

.tenf-front-page-slider-buttons {
    position: absolute;
    top: 416px;
    left: 0;
    z-index: 5;
    margin-bottom: 7px;
    margin-left: 10px;
    text-shadow: 0 0 4px #000000AA;
}
.tenf-front-page-slider-button  {
    margin-right: 17px;
    color: #fff;
    font-size: 20px;
	padding: 10px;
}

.tenf-front-page-slider-button:hover {
    color: #fb1136;
	cursor: pointer;
}

.tenf-front-page-slider-section {
    position: relative;
}

.tenf-front-page-slider-section {
	display: flex;
}

 .tenf-slider-image {
	height: 450px;
	width: 100%;
	object-fit: cover;
}

.tenf-front-page-slider .slick-slide {
	pointer-events: none;
}

.tenf-front-page-slider .slick-active {
	pointer-events: all;
}

.tenf-news-slide a {
	pointer-events: none;
}
.tenf-news-slide.slick-active a {
	pointer-events: all;
}

.tenf-front-page-slider-right-box-top-overlay {
	position: absolute;
	pointer-events: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: top center;
  }

.tenf-front-page-slider-right-box-bottom-overlay {
	position: absolute;
	pointer-events: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: bottom center;
}

.tenf-front-page-slider-right-box {
	width: 35%;
	position: relative;
	background: #1f1d1d;
}

.tenf-front-page-slider {
	overflow: hidden;
	width: 65%;
}

.tenf-front-page-slider-text-container {
	display: flex;
	text-align: center;
	align-items: center;
	color: white;
	font-size: 1.3rem;
	z-index: 2;
	padding: 0 30px;
	height: 100%;
	max-width: 378px;
	width: 35vw;
}

.tenf-front-page-slider-text-container p {
	font-weight: 500;
	text-shadow: 1px 1px 2px #000, 3px 3px 6px #1f1d1d;
	z-index: 60;
}

.tenf-front-page-slider ul.slick-dots {
	bottom: 7px;
}

.tenf-front-page-slider.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.tenf-front-page-slider .slick-dots li button:before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  opacity: 1.0;
}
.tenf-front-page-slider .slick-dots li button:hover:before, .tenf-front-page-slider .slick-dots li button:focus:before {
	background: #ff7d7e;
}

.tenf-front-page-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  background: #ec0002;
}

/* news slider */

.tenf-news-slider {
	width: calc(100% + 320px);
  margin-left: -160px;
}

.tenf-news-slide {
	padding: 20px;
}

.tenf-news-slide a {
	text-decoration: none;
}

.tenf-news-slide-container {
  background-color: #037b33;
  color: white;
  overflow: hidden;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

.tenf-news-slide:focus {
  outline: none;
}

.tenf-news-slide h2 {
  font-size: 1.2em;
  text-align: center;
  padding: 0 32px;
  font-weight: 600;
  color: white;
  font-family: Montserrat;
}

.tenf-news-slide.slick-current + .tenf-news-slide.slick-active .tenf-news-slide-container {
    background-color: #003519;
}

.tenf-news-slider-wrapper {
	position: relative;
	overflow: hidden;
	padding-bottom: 32px;
}

button.tenf-news-button:focus {
  outline: none;
}

button.tenf-news-button:hover, button.tenf-news-button:active {
  color: white;
  background: gray;
}

button.tenf-news-button {
	top: calc(50% - 31px);
	position: absolute;
	border-radius: 0;
	padding: 16px 20px;
	font-size: 1.25rem;
	border: 4px solid gray;
	background: white;
	color: gray;
	box-shadow: 0 0 0 5px white;
	z-index: 1;
}

button#tenfNewsNextButton {
	right: calc(33% - 94px);
}

button#tenfNewsPrevButton {
	left: calc(33% - 94px);
}

.wp-block-tenf-banner.banner-background-color-red.banner-full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

body {
  width: 100%;
  overflow-x: hidden;
}

a.tenf-button.tenf-button-green {
  background-color: #03793a;
  border: 2px solid #03793a;
}

a.tenf-button.tenf-button-green:hover {
  color: #03793a;
  background: white;
}

a.tenf-button.tenf-button-red {
  background-color: #fb1136;
  border: 2px solid #fb1136;
}

a.tenf-button.tenf-button-red:hover {
  color: #fb1136;
  background: white
}

/********************************* BLOCKS **********************************

 If these styles change, be sure to also change the block editor style in
  the blocks folder :)

/***************************************************************************/
/* Banner block */

.wp-block-tenf-banner.banner-background-color-red {
    background-color: #fb1136;
}

.wp-block-tenf-banner.banner-background-color-green {
    background-color: #037b32;
}

.wp-block-tenf-banner.banner-background-color-grey {
    background-color: #545454;
}

.wp-block-tenf-banner {
    width: 100%;
    color: white;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 1.3rem !important;
    padding: 18px;
}

.wp-block-tenf-banner a {
    color:  white !important;
    text-decoration: none;
}

.wp-block-tenf-banner p {
  margin: 0;
}

/* Trip planner block */

#trillium_planner_header,
#trillium_planner_footer,
label[for=saddr],
label[for=daddr],
label[for=ftime],
label[for=fdate],
label[for=ttype] {
  display: none;
}

.tt-form-row input[type=date],
.tt-form-row input[type=time],
.tt-form-row input[type=text] {
  color: black;
  width: 100%;
  padding: 15px;
  font-family: Montserrat;
  font-weight: 600;
  border: none;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: white;
  font-size: 16px !important;
}

.tt-form-row:nth-of-type(2) {
	display: block;
  	display: grid;
  column-gap: 15px;
  grid-template-columns: auto 1fr;

}
.form-group.dep {
  grid-column: 1;

}
.form-group.time,
.form-group.date {
  grid-column: 2;
}
.pac-container.hdpi {
  border-top: none;
}

.radio-option {
	display: block;
	display: grid;
	grid-template-columns: 1fr auto;
}

.radio-option input[type=radio] {
	margin: 5px 0 0 10px;
}

.moover-plan-width-normal .tt-form-row:nth-of-type(1) {

	display: grid;
	grid-template-columns: auto auto;
	column-gap: 15px;
  }

  .moover-plan-width-normal .tt-form-row:nth-of-type(2) {
	display: grid;
	grid-template-columns: auto 1fr 1fr;
	column-gap: 15px;
  }

  .moover-plan-width-normal .tt-form-row input[type=text] {
	border: 1px solid #999;

  }

  .moover-plan-width-normal .form-group.time,
  .moover-plan-width-normal .form-group.date {
	grid-column: initial;
  }
  .moover-plan-width-normal .form-group {
	display: block;
  }

.moover-plan-bg-blue {
	background-color: #11387a;
}

.moover-plan-bg-cow {
	background-color: #888;
}

.wp-block-tenf-plan {
	width: 50%;
	color: white;
	padding: 10px 30px 50px 30px;
	margin-top: 0 !important;
}

.wp-block-tenf-plan i {
	color: #fb1136;
	font-size: 2rem;
	padding: 0;
	margin-right: 10px;
}

.wp-block-tenf-plan .bottom-form-section {
	display: grid;
	grid-template-columns: auto 1fr;
}

.wp-block-tenf-plan .radio-section p {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 500;
	margin-right: 10px;
}

.wp-block-tenf-plan .tenf-radio-option input {
	margin: 0 10px;
}

.wp-block-tenf-plan .tenf-radio-option input:hover {
	cursor: pointer;
}

.wp-block h1, .wp-block h2 {
	font-family: 'Coustard';
}

.wp-block-tenf-plan .top-form-section {
	display: grid;
	grid-template-columns: auto 12px auto;
}

.wp-block-tenf-plan.moover-plan-width-half .top-form-section .plan-form-input {
	grid-column-start: 1;
	grid-column-end: 4;
}

.wp-block-tenf-plan.moover-plan-width-normal .top-form-section .plan-form-input {
	grid-column-start: 1;
	grid-column-end: 2;
}

.wp-block-tenf-plan.moover-plan-width-normal .top-form-section .plan-form-input:last-of-type {
	grid-column-start: 3;
	grid-column-end: 4;
}

.wp-block-tenf-plan .time-date-section {
	display: grid;
	grid-template-columns: auto 12px auto;
}

.wp-block-tenf-plan.moover-plan-width-half .time-date-section .plan-form-input {
	grid-column-start: 1;
	grid-column-end: 4;
}

.wp-block-tenf-plan.moover-plan-width-normal .time-date-section .plan-form-input {
	grid-column-start: 1;
	grid-column-end: 2;
}

.wp-block-tenf-plan.moover-plan-width-normal .time-date-section .plan-form-input:last-of-type {
	grid-column-start: 3;
	grid-column-end: 4;
}

.wp-block-tenf-plan .plan-form-input {
	font-family: Montserrat ;
	color: #000;
	opacity: 1;
	background: white;
	margin-bottom: 15px;
	padding: 10px 20px;
	height: 3.5rem;
	border-radius: 7px;
	font-weight: 600;
}

.button-container {
	display: flex;
	justify-content: flex-end;
}

.form-group {
	display: flex;
	justify-content: flex-end;
}

#trillium_planner button[type=submit],
.wp-block-tenf-plan .submit-button {
	border: none;
	border-radius: 0;
	font-family: Montserrat;
	color: white;
	background-color: #fb1136;
	border: 2px solid #fb1136;
	display: inline-block;
	padding: 10px 40px;
	text-transform: uppercase;
	font-size: 1rem;
	transition: all 0.15s;
}

#trillium_planner button[type=submit]:hover,
.wp-block-tenf-plan .submit-button:hover {
	cursor: pointer;
	color:  #fb1136;
	background-color: white;
	border: 2px solid #fb1136;
}

  /* .wp-block-tenf-learn-more */

.wp-block-tenf-learn-more .coupon-block {
	width:100%;
	margin-left: 0;
}

.wp-block-tenf-learn-more .tenf-button-block {
	width:100%;
	margin-left: 0;
}

.wp-block-tenf-learn-more .tenf-button {
	background-color: #888;
	border: 2px solid #BBB;
}

.wp-block-tenf-learn-more .tenf-button:hover {
	color: #BBB;
	background: #fff;
}

/*  route heading block  */

.wp-block-tenf-route-heading {
	margin-top: 20px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
  }

  .tenf-route-heading-left-line {
	background-image: url(/wp-content/themes/tenf-master/blocks/assets/wavy-dashed-line-1.svg);
	background-repeat: no-repeat ;
	background-position: center;
  }

  .tenf-route-heading-right-line {
	background-image: url(/wp-content/themes/tenf-master/blocks/assets/wavy-dashed-line-with-map-pin.svg);
	background-repeat: no-repeat ;
	background-position: center;
  }

  /* Resources block */

  .resources-list-block {
	  width: 50%;
  }

  .resource-item {
    padding: 10px 20px;
  /*   border: 1px solid red; */
	background-color: black;
    color: white;
    font-weight: 600;
  }

  .resource-item:nth-child(even) {
    background-color: white;
    border-top: 3px dashed #000;
    border-bottom: 3px dashed #000;
  }

  .resource-item:last-child {
    background-color: white;
    border-bottom: none;
  }

  .resource-item img {
    width: 45px;
    height: 45px;
    margin-right: 10px;
  }

  .resource-item a {
    display: flex;
    align-items: center;
	text-decoration: none;
	max-width: 520px;
    color: #424244;
  }

  .resource-item:nth-child(odd) a {
  	color: white;
  }

  .resource-item:first-child {
	display: flex;
    align-items: center;
  }

/* shadow stuff */

.inner-shadow-top,
.inner-shadow-bottom {
  position: relative;
}

.inner-shadow-top:before {
  position: absolute;
  display: block;
  z-index: 100;
  content: '';
  height: 53px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
  pointer-events: none;
  top: 0;
  left: 0;
}

.inner-shadow-bottom:after {
  position: absolute;
  display: block;
  z-index: 100;
  content: '';
  bottom: 0;
  left: 0;
  height: 35px;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
  z-index: 4;
  pointer-events: none;
}

/*  really not ideal stuff for /support-us page */

.page-with-image-text-pairs .container {
    flex-wrap: wrap;
}

.paired-container {
	font-size: 1.2rem;
    width: 100%;
    display: flex;
}

.tenf-paired-text {
	margin: 0 40px;
	border-top: 1px solid #ccc;
	overflow: hidden;
	margin-bottom: 30px;
	padding-top: 20px;
	min-height: 270px;
	width: 66.66%;
}

.paired-container .tenf-paired-text:first-child {
	display: none;
}

.tenf-paired-image-container {
	width: 33%;
}

.tenf-paired-image-container:nth-of-type(1) {
	border-top-left-radius: 10px;
}

.paired-container .tenf-paired-image-container {
	background-color: #08502a;
}

.tenf-paired-text.no-border {
    border-top: none !important;
}

.paired-container .tenf-paired-image-container:first-of-type .tenf-paired-image {
	border-top-left-radius: 10px;
}

  /* end support us page */

.mobile-menu {
	display: none;
}

.hide-mobile {
}

.hide-desktop {
	display: none;
	visibility: hidden;
}

/* shiftnav menu */

a:hover, a:focus {
	text-decoration: underline;
}
a:hover > h2, a:focus > h2 {
	text-decoration: underline;
}

.tenf-extra-content {
    display: flex;
    align-items: center;
}

.tenf-extra-content a {
    color: red;
    text-decoration: none;
    font-weight: 700;
}

.tenf-extra-content a:hover {
    text-decoration: underline;
}

/* Maps Image Update (Sept 29, 2021) */

.maps-container {
  display: grid;
  width: 100%;
  grid-column-gap: 35px;
}

.schedule-location {
  width: 100%;
  /*margin-bottom: 1rem;*/
}

@media only screen and (min-width: 737px) {
  .schedule-grid-container-full ~ .maps-container {
    grid-column-end: span 2;
    grid-template-columns: 1fr 1fr;
  }

  .maps-container {
    display: grid;
    width: 100%;
    grid-column-gap: 35px;
  }

  .schedule-grid-container-full ~ .maps-container.multi-maps-odd .schedule-location:first-of-type {
    grid-column-end: span 2;
  }
}

/* End Maps Image Update */

/* routes archive update oct 4 2021 */

.container.route-tax-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 40px 0;
}

.container.route-tax-heading h1 {
  margin: 0;
}

@media only screen and (max-width: 600px) {
  .container.route-tax-heading h1 ~ h1{
    margin-left: 0.5ch;
  }
}

/* System map update Oct 6 2021 */

.tenf-system-map img.schedule-map {
  border-radius: 0;
  display: block;
}

@media only screen and (min-width: 737px) {
  .tenf-system-maps-odd .schedule-location:first-of-type {
    grid-column-end: span 2;
  }
}

/* Nav updates, Oct 16 2021 */

.tenf-nav-item-container {
  position: relative;
}

.tenf-nav-children-container {
  background-color: white;
  flex-direction: column;
  justify-content: stretch;
  display: none;
}

.main-navigation .tenf-nav-children-container a {
  color: #545454;
  text-decoration: none;
}

.tenf-nav-item-container a:hover {
  cursor: pointer;
}

.main-navigation a.nav-parent-only {
  text-decoration: none;
}

.tenf-nav-item-container:hover > .tenf-nav-children-container,
input.tenf-nav-checkbox:checked ~ .tenf-nav-children-container {
  display: flex;
}

.tenf-nav-item a {
  padding: 9px 0;
  text-decoration: none;
}

.tenf-nav-item a:first-of-type {
  padding-left: 20px;
}

.tenf-nav-item a:last-of-type {
  padding-right: 20px;
  width: 100%;
}

.tenf-nav-item.mobile-menu {
  display: none;
}

.tenf-nav-item {
  display: flex;
  align-items: center;
}

.nav-route-numbers {
  color: white;
  display: flex;
  justify-content: flex-end;
}

.nav-route-number {
  font-weight: 700;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5px;
  padding-left: 0.5px;
  min-width: 1.9rem;
  height: 1.9rem;
  border-radius: 10%;
  margin-right: 0.4rem;
}

.main-navigation a.a-nav-number:hover {
  text-decoration: none !important;
}

.tenf-nav-menu {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

@media only screen and (min-width:  721px) {

	.tenf-nav-children-container {
		position: absolute;
		z-index: 10000;
		min-width: 180px;
		box-shadow: 0 0 7px rgba(0, 0, 0, 0.6);
		}

	.tenf-nav-item-container-0:hover > label .tenf-nav-item,
	input.depth-0.tenf-nav-checkbox:checked ~ label .tenf-nav-item,
	.tenf-nav-item-container-0 .tenf-nav-item:hover {
	  background-color: #333333;
	}

	.tenf-nav-item-container-1:hover > label .tenf-nav-item,
	.tenf-nav-item-container-2:hover > label .tenf-nav-item,
	input.depth-1.tenf-nav-checkbox:checked ~ label .tenf-nav-item,
	input.depth-2.tenf-nav-checkbox:checked ~ label .tenf-nav-item,
	.tenf-nav-item-container-1 .tenf-nav-item:hover,
	.tenf-nav-item-container-2 .tenf-nav-item:hover {
	  background-color: #ddeeff;
	}

	.tenf-nav-children-container.depth-2 {
	  max-width: 250px;
	}

	.tenf-nav-children-container.depth-1,
	.tenf-nav-children-container.depth-2 {
	  right: 0;
	  top: 0;
	  transform: translate(100%, 0);
	  width: 350px;
	}

	.depth-0 .tenf-nav-has-children a:last-of-type:after {
	  content: '\f105';
	  font-family: 'FontAwesome';
	  display: block;
	  position: absolute;
	  top: 50%;
	  right: 13px;
	  transform: translate(0, -50%);
	}

}
@media only screen and (max-width: 1000px) {
	.depth-1 .tenf-nav-has-children a:last-of-type:after {
		display: none;
	}

	.tenf-nav-children-container.depth-2 {
		display: none !important;
	}

}

#nav-search-icon {
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

.nav-route-number:empty {
  height: 10px;
  border-radius: 5px;
  margin: 10px 6px 10px 0;
}

.tenf-route-anchor {
  position: absolute;
  top: -5vh;
}

/* Route rework - Flexible content - Nov 10, 2021 */

.flexible-content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flexible-content-full {
  width: 100%;
}

.flexible-content-left,
.flexible-content-right {
  width: calc(50% - 17.5px);
}

.flexible-content-full {
  padding-bottom: 20px;
}

.tenf-fc-embed.schedule-location:only-child {
  height: 100%;
}

.flexible-content-left,
.flexible-content-right {
  margin-bottom: 20px;
}

.flexible-content > div > div + div {
  margin-top: 1.3em;
}

.flexible-content-full iframe {
  height: min(80vh, 500px) !important;
  min-height: min(80vh, 400px) !important;
}

/* End Route rework - Flexible content - Nov 10, 2021 */

/* Menu updates, Nov 11, 2021 */
@media only screen and (min-width: 721px) {
	.tenf-nav-children-container.depth-1.split-children-container {
	  width: 600px;
	  flex-wrap: wrap;
	  max-height: 440px;
	}

	.tenf-nav-children-container.depth-1.split-children-container > * {
	  width: 50%;
	}

	.tenf-nav-children-container.depth-1.split-children-container:before {
	  content: '';
	  position: absolute;
	  border-left: 1px solid #ddd;
	  left: 50%;
	  height: calc(100% - 20px);
	  top: 10px;
	}

	.tenf-nav-children-container {
	  font-size: 0.9rem;
	}

	.tenf-nav-item-container.tenf-nav-item-container-1 {
	  position: static;
	}
}

/* End Menu updates, Nov 11, 2021 */

/* Sustainability page, Jan 7, 2022 */

.heading-without-margin {
  margin: 0 0 2rem 0;
}

.has-pin:before {
  content: '\f3c5';
  font-family: 'Font Awesome 5 Free';
  color: #fb1136;
  font-size: 1.5rem;
  margin-right: 0.4ch;
}

/* end Sustainability page, Jan 7, 2022 */

.moover-calculator {
  border: 2px solid green;
  border-radius: 1em;
  padding: 1em 1em 0.5em 1em;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2em;
}

.moover-calculator * {
  margin: 0;
}

.moover-calculator h2 {
  border: none;
  color: green;
  text-align: center;
}


.moover-calculator select,
.moover-calculator input {
  background: white;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: none;
  text-align: right;
  border-radius: 0.5rem;
  padding: 0.75em;
}

.moover-calculator select {
  padding-right: 3em;
  background-color: white;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgOC43IDcuNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgOC43IDcuNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiM5Njk2OTY7fQo8L3N0eWxlPgo8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjQuMyw0IDMuMiwyLjkgMi45LDMuMiA0LjMsNC42IDUuNywzLjIgNS40LDIuOSAiLz4KPC9zdmc+);
  background-position: 100% 50%;
  background-repeat: no-repeat;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}

.moover-calculator select option:selected {
  height: 100%;
}

.moover-calculator .calculator-field,
.moover-calculator .calculator-result {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.moover-calculator .calculator-field .calculator-warning {
  text-align: center;
  width: 100%;
  padding-left: 60%;
  color: red;
  font-size: 0.9rem;
}


.moover-calculator .calculator-field > *,
.moover-calculator .calculator-result > * {
  width: 40%;
}

.moover-calculator .calculator-field > label,
.moover-calculator .calculator-result > .calculator-result-label {
  width: 60%;
  padding-right: 1em;
}

.moover-calculator .calculator-disclaimer {
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

.moover-calculator .calculator-result-value {
  color: green;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.75em;
  min-height: 3rem;
  text-align: right;
}

.moover-calculator .calculator-result-value:empty {
  border: 1px solid #eee;
}

.moover-calculator .calculator-result-value#yearly-car {
  /*color: #fb1136;*/
}

.moover-calculator .calculator-field input.warning {
  border-color: #fb1136;
}

.sidebar-text a,
.sidebar-text a:visited {
  color: white;
}

.tenf-slider-image.tenf-slider-image-contain {
  object-fit: contain;
}

.tenf-front-page-video {
  position: relative;
  width: 100%;
  height: min(50vw, 55vh);
}

.tenf-front-page-video .tenf-volume-controls {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  margin: 1em;
  color: white;
}

.tenf-front-page-video .tenf-volume-controls i {
  color: white;
  opacity: 0.75;
  font-size: 2em;
	text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.5);
}

.tenf-front-page-video .tenf-volume-controls i:hover {
  opacity: 1;
  cursor: pointer;
}

.tenf-front-page-video video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
