﻿.navigation {
	line-height: 40px;
  margin-bottom: 20px;
}

.navigation::after {
	content: '';
	display: block;
	clear: both;
}

.navigation > div {
	float: right;
	position: relative;
}

.navigation > div > label {
	display: inline-block;
	vertical-align: middle;

	font-family: Roboto, sans-serif;
	font-weight: 300;
	font-size: 13px;
	color: #767676;
}

.navigation label b { font-weight: bold; }

.dropdown {
	width: 150px;
	vertical-align: middle;
	margin-left: 10px;
}

.stations {
	border-top: 1px solid #b2b2b1;
	height: 80px;
	line-height: 80px;

	position: relative;
}

.stations > div {
	margin: 0px 100px;
}

.stations::after {
	content: '';
	display: block;
	clear: both;
}

.stations > a {
	position: absolute;
	display: inline-block;
	width: 30px;
	height: 30px;

	top: 50%;
	margin-top: -15px;

	background: no-repeat center center;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	-ms-background-size: contain;
	-o-background-size: contain;
	background-size: contain;

	opacity: 0.75;

	-webkit-transition: opacity 150ms ease-in-out;
	-moz-transition: opacity 150ms ease-in-out;
	-ms-transition: opacity 150ms ease-in-out;
	-o-transition: opacity 150ms ease-in-out;
	transition: opacity 150ms ease-in-out;
}

.station_picker .selected span::before
, .station_picker .selected span::after
, .station_picker::before
, .station_picker::after {
	content: '';
	position: absolute;
	width: 80px;
	top: 0px;
	bottom: 1px;
	z-index: 1;
}

.station_picker .selected span::after {
	right: -80px;
	
	background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#00ffffff', GradientType = 1);
}

.station_picker .selected span::before {
	left: -80px;

	background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#00ffffff', endColorstr = '#ffffff', GradientType = 1);
}

.station_picker::before
, .station_picker::after { width: 40px; }

.station_picker::after {
	right: 0px;
	
	background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#00ffffff', endColorstr = '#ffffff', GradientType = 1);
}

.station_picker::before {
	left: 0px;

	background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#00ffffff', GradientType = 1);
}

.stations a:hover { opacity: 1; }

.stations > a img {
    position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 100%;
	-webkit-object-fit: contain;
	   -moz-object-fit: contain;
	    -ms-object-fit: contain;
	     -o-object-fit: contain;
	        object-fit: contain;
	-webkit-pointer-events: none;
	   -moz-pointer-events: none;
	    -ms-pointer-events: none;
	     -o-pointer-events: none;
	        pointer-events: none;
}

.first { left: 0px }
.prev { left: 30px; }
.next { right: 30px; }
.last { right: 0px; }

.first.off, .prev.off
, .last.off, .next.off {
	opacity: 0.0 !important;
	cursor: default;
	
	-webkit-pointer-events: none;
	-moz-pointer-events: none;
	-ms-pointer-events: none;
	-o-pointer-events: none;
	pointer-events: none;
}

.next, .last {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.station_picker {
	position: relative;
	height: 80px;
	overflow: hidden;
}

.station_picker .selected {
	font-size: 40px;
	color: #b4252d;
	z-index: 10;
}

body.rosette .station_picker .selected { color: #ab1d3f; }

.station_picker .selected span { background-color: rgba(255, 255, 255, 0.75); }

.station_picker nav {
	font-size: 0px;
	white-space: nowrap;
	width: 100%;
}

.station_picker a {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 20%;
	height: 54px;
	line-height: 54px;
	text-align: center;
	font-family: Roboto,sans-serif;
	font-size: 24px;
	font-weight: 300;
	color: #969495;

	-webkit-transition: font-size 150ms ease-in-out, color 150ms ease-in-out;
	-moz-transition: font-size 150ms ease-in-out, color 150ms ease-in-out;
	-ms-transition: font-size 150ms ease-in-out, color 150ms ease-in-out;
	-o-transition: font-size 150ms ease-in-out, color 150ms ease-in-out;
	transition: font-size 150ms ease-in-out, color 150ms ease-in-out;
}

body.rosette .station_picker a {
	font-family: 'Libre Baskerville';
	font-style: italic;
}

.station_picker a span {
	display: inline-block;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0px);
	
	-webkit-transition: background-color 150ms ease-in-out;
	-moz-transition: background-color 150ms ease-in-out;
	-ms-transition: background-color 150ms ease-in-out;
	-o-transition: background-color 150ms ease-in-out;
	transition: background-color 150ms ease-in-out;
}

#carousel {
	font-size: 0px;
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
}

#carousel > div > ul:not(.selected):not(.transitioning) { visibility: hidden; }

#carousel > div > ul {
	display: inline-block;
	vertical-align: top;
	white-space: normal;
	width: 100%;
}

#carousel li { 
	padding: 45px 25px;
	border-top: 1px solid #b2b2b1;
}

#carousel li.no_results {
	display: none;
	font-size: 20px;
	border-top: 0px;
}

#carousel .no_results li.no_results { display: block; }

#carousel li::after {
	content: '';
	display: block;
	clear: both;
}

#carousel h1 {
	font-family: Roboto, sans-serif;
	font-weight: 300;
	font-size: 30px;
}

body.rosette #carousel h1 { font-family: 'Libre Baskerville', serif; }

#carousel a:hover { color: #b4252d; }
body.rosette #carousel a:hover { color: #ab1d3f; }

#carousel h1 em {
	font-family: Roboto,sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 24px;
	color: #b4252d;

	margin-left: 25px;
}

body.rosette #carousel h1 em {
	color: #ab1d3f;
	font-size: 22px;
	font-family: 'Libre Baskerville', serif;
}

#carousel p {
	margin: 10px 180px 0px 0px;
	font-family: Roboto, sans-serif;
	font-weight: 300;
	font-size: 17px;
}

#carousel .smart_choices {
	float: right;
	margin: -2px;
	max-width: 177px;
}

#carousel .smart_choices img {
	display: inline-block;

	width: 40px;
	margin: 2px;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

@media only screen and (max-width: 768px) {
	.stations {
		height: 120px;
		line-height: 120px;
	}

	.stations > a {
    width: 40px;
    height: 40px;
}

	.station_picker { height: 120px; }
	.station_picker a { height: 108px; }
	.station_picker a span {
		left: 0px;
		top: 50%;
		-webkit-transform: translate(0px, -50%, 0px);
		-moz-transform: translate(0px, -50%);
		-ms-transform: translate(0px, -50%);
		-o-transform: translate(0px, -50%);
		transform: translate(0px, -50%);
		width: 100%;
		white-space: normal;
	}

	.prev { left: 40px; }
	.next { right: 40px; }
}

@media only screen and (max-width: 680px) {
	.navigation > div > label {
		font-size: 15px;
		height: 40px;
		line-height: 40px;
		margin-right: 15px;
	}

	.dropdown {
		height: 40px;
		line-height: 38px;
		background-color: #fff;
		font-size: 20px;
		font-weight: normal;
		width: 200px;
	}

	.dropdown label { padding-left: 10px; }

	.dropdown label span:last-child { height: 40px; }

	.dropdown label span:first-child {
		height: 38px;
		width: 38px;
	}

	.dropdown label span:first-child::before { border-bottom: 8px solid #b1adac; }
	.dropdown label span:first-child::after { border-top: 8px solid #b1adac; }

	.dropdown label span:first-child::before
	, .dropdown label span:first-child::after {
		margin: 7px auto;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
	}

	.dropdown_menu li {
		height: 40px;
		line-height: 40px;
		font-size: 20px;
		font-weight: 300;
	}
}

@media only screen and (max-width: 640px) {
	main .title { margin-bottom: 20px; }

	#carousel h1 { font-size: 27px; }
	#carousel p { font-size: 14px; }
	#carousel li { padding: 25px; }
	#carousel h1 em {
		font-size: 20px;
		margin-left: 15px;
	}
}

@media only print {
	.navigation { display: none; }
	.stations {
		border: 0px;
		margin-top: -70px;
	}

	.stations a:not(.selected) { opacity: 0.0; }

	#carousel li {
		border-top: 1px solid #b2b2b1;
		padding: 20px;

		page-break-inside: avoid;
	}

	#carousel ul:not(.selected) { display: none; }
}