/**
* CSS Document for Train Bookkeeping Template
* Last updated 27 February 2023 by Justin Herrin
**/

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5em;
	height: 100vh;
	width: 100%;
	text-align: center;
	background: #000;
	color: #2c2c2c;
	overflow-x: hidden; /* hide that mobile menu */
}
body.mobile-menu-open {
	overflow: hidden;
}

a,
a:link,
a:visited {
	color: #DF5806;
	transition: all .3s ease-in-out;
	text-decoration: none;
}
a:hover,
a:focus {
	color: #1d1d1d;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', sans-serif;
	color: #1d1d1d;
	line-height: 1.2em;
	margin-bottom: 1em;
}
h1 {
	font-size: 40px;
}
h2 {
	font-size: 32px;
}
h3 {
	font-size: 24px;
}
h1 a, h2 a, h3 a {
	color: inherit !important;
	font-weight: inherit !important;
}

p+h2, p+h3, p+h4, p+h5, p+h6 {
	margin-top: 2em;
}

ol+h2, ol+h3, ol+h4, ol+h5, ol+h6, ol+ol, ol+p, p+ol, p+ul,
ul+h2, ul+h3, ul+h4, ul+h5, ul+h6, ul+p, ul+ul, p+p {
	margin-top: 1.5em;
}

strong, .bold {
	font-weight: 500;
}

.button,
a.button:link,
a.button:visited {
	color: #fff;
	background-color: #DF5806;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	padding: 8px 25px;
	border-radius: 14px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	outline: none;
	border: none;
	appearance: none;
}
.button:hover,
a.button:hover,
a.button:focus,
a.button:active {
	color: #1d1d1d;
}




/*** Main Body Wrapper Styles ***/
#wrapper {
	max-width: 1920px;
	margin: 0 auto;
	min-height: 100vh;
	background: #fff;
	display: flex;
	flex-direction: column;
	text-align: left;
	position: relative;
}


/*** Header Styles ***/
header {
	position: relative;
	background: #fff;
	padding: 15px 20px;
}
header .header-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
header .logo {
	max-width: 120px;
	flex: 1 1 auto;
}
header .logo a {
	display: block;
}
header .logo a::before {
	display: none !important;
}
header .logo img {
	display: inherit;
}

@media (min-width: 800px) {
	header {
		padding: 20px 50px;
	}
	header .header-inner {
		position: relative;
	}
	header .logo {
		max-width: 270px;
		position: absolute;
		transform: translate(-50%, 0);
		top: 0px;
		left: 50%;
		padding: 0;
		z-index: 1;
	}
	header .logo::after {
		border-left: 25px solid transparent;
		border-right: 25px solid transparent;
		border-top: 35px solid #fff;
		content: "";
		height: 0;
		position: absolute;
		width: 100%;
		left: 50%;
		bottom: -14px;
		transform: translate(-50%, 0);
		z-index: -1;
	}
}


/*** Menu Trigger Button Styles ***/
.menu-trigger {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	cursor: pointer;
	opacity: 1;
	transition: all 0.5s ease-in-out;
}
.menu-trigger.active {
	opacity: 0;
}
.menu-trigger .menu-button {}
.menu-trigger .menu-button .menu-button__bar {
	height: 3px;
	background-color: #000;
	border-radius: 3px;
	margin: 5px;
	width: 30px;
}
@media (min-width: 800px) {
	.menu-trigger {
		display: none;
	}
}


/*** Menu Close Button Styles ***/
.menu-close {
	position: absolute;
	top: 50px;
	right: 50px;
	cursor: pointer;
	width: 30px;
	height: 30px;
}
.menu-close .menu-close__bar {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 3px;
	background-color: #1d1d1d;
	border-radius: 3px;
	width: 30px;
}
.menu-close .menu-close__bar:first-child {
	transform:rotate(45deg);
}
.menu-close .menu-close__bar:last-child {
	transform:rotate(-45deg);
}

@media (min-width: 800px) {
	.menu-close {
		display: none;
	}
}


/*** Main Menu Styles ***/
.main-menu {
	position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  transition: all .6s ease-in-out;
  background: #FFF8DC;
  padding: 50px;
}
.main-menu.active {
	right: 0;
}
.main-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.main-menu ul li {
	padding: 5px 20px;
	margin: 0 0 20px 0;
}
.main-menu ul li > a:link,
.main-menu ul li > a:visited {
	color: #1d1d1d;
	font-weight: 700;
	transition: all 0.3s ease-in-out;
}
.main-menu ul li > a:hover,
.main-menu ul li > a:focus {
	color: #ad0909;
}

@media (min-width: 800px) {
	.main-menu {
		position: relative;
	  top: unset;
	  right: unset;
	  background: none;
	  padding: 0;
		z-index: 10;
		height: unset;
	}
	.main-menu ul {
		flex-direction: row;
		justify-content: space-between;
	}
	.main-menu ul li {
		padding: 5px 5px;
		margin: 0 5px 0 0;
	}
	.main-menu ul li:nth-child(4) {
		margin-right: auto;
	}
	.main-menu ul li:last-child {
		margin: 0;
	}
	.main-menu ul li > a {
		font-size: 12px;
		text-transform: uppercase;
		font-weight: 300 !important;
	}
}

@media (min-width: 1000px) {
	.main-menu ul li > a {
		font-size: 14px;
	}
	.main-menu ul li {
		padding: 5px 10px;
		margin: 0 20px 0 0;
	}
}


/*** Hero Image Bar Styles ***/
.hero {
	background-image: url("../images/tunnel-light-thin.png");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
	color: #f2c33f;
	line-height: normal;
	font-size: 20px;
}
.hero .hero-title {
	font-size: 28px;
}
.hero-homepage {
	background-image: url("../images/tunnel-light-homepage.png");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
	color: #f2c33f;
	line-height: normal;
	font-size: 20px;
}
.hero-homepage .hero-title {
	font-size: 48px;
}


/*** Orange Connect Bar Styles ***/
#connect-bar {
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
	background: #DF5806;
	color: #fff;
	font-size: 20px;
}
#connect-bar > div {
	display: flex;
	flex-direction: column;
	align-items: center;
}
#connect-bar a,
#connect-bar a:link,
#connect-bar a:visited {
	color: #fff;
}
#connect-bar a:hover,
#connect-bar a:focus {
	color: #1d1d1d;
}
.connect-bar--left {
	margin-bottom: 20px;
}
@media (min-width: 800px) {
	#connect-bar {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	#connect-bar > div {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.connect-bar--left {
		margin-bottom: 0;
	}
}

.connect-social {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.connect-social ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}
.connect-social ul li {
	margin: 0 0 0 15px;
	font-size: 26px;
}



/*** Main Content Elements ***/
.content-wrapper {
	padding: 0;
	margin: 0;
}
.content-wrapper a {
	font-weight: 500;
}
.content-wrapper ul {
	margin-left: 46px;
}
.content-wrapper ol {
	margin-left: 46px;
	list-style-type: decimal-leading-zero;
}
.content-wrapper ul li,
.content-wrapper ol li {
	margin-bottom: 18px;
}
.content-wrapper ul li:last-child,
.content-wrapper ol li:last-child {
	margin-bottom: 0;
}
.has-sidebar > .component-wrapper {
	margin: 0 0 50px 0;
}
.sidebar-wrapper .moduletable {
	margin-bottom: 50px;
}

@media (min-width: 800px) {
	.content-wrapper {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
	}
	.component-wrapper {
		width: 100%;
	}
	.has-sidebar > .component-wrapper {
		width: calc(75% - 50px);
		margin: 0 50px 0 0;
	}
	.sidebar-wrapper {
		width: 25%;
	}
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}
.thin-container {
	max-width: 900px;
	margin: 0 auto;
}


/*** Footer Styles ***/
footer {
	background: #260101;
	color: #fff;
	font-size: 14px;
	text-align: center;
}
footer a,
footer a:link,
footer a:visited {
	color: #fff;
}
footer a:hover,
footer a:focus {
	color: #fff;
	text-decoration: underline;
}

#footer-menu {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	list-style: none;
}
/* Hide the "Home" menu item from the footer menu */
#footer-menu li.item-101 {
	display:none;
}
#footer-menu li {
	position: relative;
	width: 100%;
}
#footer-menu li a {
	display: block;
	padding: 8px;
}

@media (min-width: 800px) {
	footer {
		padding: 50px;
	}
	#footer-menu {
		flex-direction: row;
	}
	#footer-menu li {
		width: auto;
	}
	#footer-menu li::after {
		content: "|";
		color: #fff;
		padding: 0 20px;
		display: inline-block;
	}
	#footer-menu li:last-child::after {
		display: none;
	}
	#footer-menu li a {
		display: inline;
		padding: 4px;
	}
}


/*** Helpers ***/
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}

.red {
	color: #ad0909;
}
.muted {
	color: #ccc;
}

.padding-all {
	padding: 20px;
}
.padding-top {
	padding-top: 20px;
}
.padding-right {
	padding-right: 20px;
}
.padding-bottom {
	padding-bottom: 20px;
}
.padding-left {
	padding-left: 20px;
}
.padding-sides {
	padding-left: 20px;
	padding-right: 20px;
}
.no-padding {
	padding: 0;
}
.no-margin {
	margin: 0;
}
.margin-all {
	margin: 20px;
}
.margin-bottom {
	margin-bottom: 20px;
}
.margin-top {
	margin-top: 20px;
}
.margin-sides {
	margin-left: 20px;
	margin-right: 20px;
}

@media (min-width: 800px) {
	.padding-all {
		padding: 50px;
	}
	.padding-top {
		padding-top: 50px;
	}
	.padding-right {
		padding-right: 50px;
	}
	.padding-bottom {
		padding-bottom: 50px;
	}
	.padding-left {
		padding-left: 50px;
	}
	.padding-sides {
		padding-left: 50px;
		padding-right: 50px;
	}
	.margin-all {
		margin: 50px;
	}
	.margin-bottom {
		margin-bottom: 50px;
	}
	.margin-top {
		margin-top: 50px;
	}
	.margin-sides {
		margin-left: 50px;
		margin-right: 50px;
	}
}

.pull-right {
	float: right;
}

.blog-item+.blog-item {
	margin-top: 64px;
}

.alert {
	position: relative;
	padding: .75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: .25rem;
}
.alert-danger {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}
.alert-success {
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}
.alert-info {
	color: #004085;
	background-color: #cce5ff;
	border-color: #b8daff;
}



/*** Offline Styles ***/
#offline-wrapper {
	max-width: 500px;
	margin: 50px auto;
	background: #fff;
	padding: 30px;
}
#offline-wrapper fieldset {
	border: 0;
	margin-top: 20px;
	text-align: left;
}



/*** Homepage-specific Styles ***/
.homepage-features-wrapper {
	background: #bf0404;
	color: #fff;
}
.homepage-features {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}
.homepage-features .feature {
	background: #DF5806;
	padding: 15px;
	border-radius: 3px;
	margin: 15px 0;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}
.homepage-features .feature-icon {
	font-size: 48px;
	padding: 30px 15px;
}
.homepage-features .feature-content h3 {
	color: #fff;
}
.homepage-features .feature-content a:link,
.homepage-features .feature-content a:visited {
	color: #f2c33f;
	font-weight: 500;
}
.homepage-features .feature-content a:focus,
.homepage-features .feature-content a:hover {
	color: #1d1d1d;
}

@media (min-width: 800px) {
	.homepage-features {
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.homepage-features .feature {
		width: calc(50% - 15px);
	}
}


/* Homepage Testimonials */
.homepage-testimonials {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.homepage-testimonials .testimonial {
	margin: 15px 0;
}
.homepage-testimonials .testimonial .testimonial-quote {
	position: relative;
	background: #260101;
	padding: 30px 40px;
	color: #fff;
	font-size: 1.5em;
	font-style: italic;
	line-height: 1.5em;
	border-radius: 3px;
}
.homepage-testimonials .testimonial:nth-child(even) .testimonial-quote {
	border-top: 4px solid #f2c33f;
}
.homepage-testimonials .testimonial:nth-child(odd) .testimonial-quote {
	border-top: 4px solid #bf0404;
}
.homepage-testimonials .testimonial .testimonial-quote::after {
	content: "";
	position: absolute;
	bottom: -16px;
	left: 50px;
	border-width: 16px 0 0 16px;
	border-style: solid;
	border-color: #260101 transparent;
	display: block;
	width: 0;
}
.homepage-testimonials .testimonial .testimonial-info {
	margin-top: 40px;
	text-align: center;
}
@media (min-width: 800px) {
	.homepage-testimonials {
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.homepage-testimonials .testimonial {
		width: calc(50% - 15px);
	}
}





/* Pagination styles */
.pagination {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 14px;
}
.pagination ul.pagination {
	list-style: none;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}
.pagination ul.pagination li a {
	border: 1px solid #dedede;
	line-height: 1.25;
	position: relative;
	display: block;
	padding: .5rem .75rem;
	font-weight: 700;
	margin-left: -1px;
	transition: all 0.3s ease-in-out;
}
.pagination ul.pagination li a::before {
	display: none;
}
.pagination ul.pagination li a:hover,
.pagination ul.pagination li.active a {
	background-color: #e9e6da;
	color: #000;
}
.pagination ul.pagination li.disabled > span {
	color: #999;
	pointer-events: none;
	cursor: auto;
}

@media (min-width: 800px) {
	.pagination {
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
	}
	.pagination ul.pagination {
		margin: 0;
	}
}




/*** Form Elements Styles ***/
input:not([type=checkbox]):not([type=radio]),
select,
textarea {
	-webkit-appearance: none;
	box-sizing: border-box;
	border: 2px solid #e6e6e6;
	font-size: inherit;
	font-family: inherit;
	line-height: inherit;
	width: 100%;
	padding: 15px;
	border-radius: 5px;
	outline: none;
	transition: all .35s ease-in-out;
	min-height: 40px;
	box-shadow: none;
}
select {
	background-image: linear-gradient(45deg, transparent 50%, #ccc 50%), linear-gradient(135deg, #ccc 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(1em + 4px), calc(100% - 15px) calc(1em + 4px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}
input:not([type=checkbox]):not([type=radio]):hover,
select:hover,
textarea:hover,
input:not([type=checkbox]):not([type=radio]):focus,
select:focus,
textarea:focus {
	border-color: #383838;
}
button {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}


/*** Webform Styles ***/
.bfQuickMode {

}
.bfQuickMode .form-label {
	font-weight: 500;
	display: block;
	margin: 30px 0 10px 0;
}
