/* Standard elements */
#mecatran-imap-wrapper, #mecatran-imap-wrapper select, #mecatran-imap-wrapper input, #mecatran-imap-wrapper textarea, #mecatran-imap-wrapper button, #mecatran-imap-wrapper .ui-widget {
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	font-size: 12pt;
	color: #333333;
}

#mecatran-imap-wrapper pre, #mecatran-imap-wrapper code {
	font-family: monospace;
}

#mecatran-imap-wrapper h1, #mecatran-imap-wrapper h2, #mecatran-imap-wrapper h3, #mecatran-imap-wrapper h4, #mecatran-imap-wrapper h5, #mecatran-imap-wrapper h6 {
	font-weight: bold;
	margin-bottom: 0.25em;
}

#mecatran-imap-wrapper h1 {
	font-size: 140%;
}

#mecatran-imap-wrapper h2 {
	font-size: 130%;
}

#mecatran-imap-wrapper h3 {
	font-size: 120%;
}

#mecatran-imap-wrapper h4 {
	font-size: 110%;
	color: #555555;
}

#mecatran-imap-wrapper a, #mecatran-imap-wrapper a:VISITED {
	cursor: pointer;
	color: #0077EE;
	text-decoration: none;
}

#mecatran-imap-wrapper a:ACTIVE {
	outline: none;
	color: #0077EE;
}

#mecatran-imap-wrapper a:HOVER {
	outline: none;
	color: #00CCFF;
}

#mecatran-imap-wrapper ul, #mecatran-imap-wrapper ol {
	margin-left: 1.6em;
	margin-bottom: 0.7em;
}

#mecatran-imap-wrapper ol {
	list-style-type: circle;
}

#mecatran-imap-wrapper li {
	margin-bottom: 0.5em
}

#mecatran-imap-wrapper p {
	margin: 0.4em;
}

#mecatran-imap-wrapper input:invalid, #mecatran-imap-wrapper textarea:invalid {
	border-radius: 1px;
	box-shadow: 0px 0px 5px #CC0000;
}

#mecatran-imap-wrapper .loading {
	margin: 1.5em;
	font-size: 140%;
	padding-top: 60px;
	background-image: url("../img/loading.gif");
	background-repeat: no-repeat;
	background-position: center top;
	page-break-inside: avoid;
}

#mecatran-imap-wrapper a.icon {
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left 2px center;
	padding: 0.1em;
	padding-left: 18px;
	min-height: 20px;
	border-radius: 0.2em;
}

#mecatran-imap-wrapper a.icon:HOVER {
	color: #0077EE;
	background-color: #dddddd;
}

#mecatran-imap-wrapper a.smallicon {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left 2px center;
	border-radius: 4px;
}

#mecatran-imap-wrapper a.smallicon:HOVER {
	background-color: #dddddd;
}

#mecatran-imap-wrapper a.clear {
	background-image: url("../img/clear.svg");
}

#mecatran-imap-wrapper a.refresh {
	background-image: url("../img/refresh.svg");
}

#mecatran-imap-wrapper a.download {
	background-image: url("../img/download.svg");
}

#mecatran-imap-wrapper a.back {
	background-image: url("../img/back.svg");
}

#mecatran-imap-wrapper a.map {
	background-image: url("../img/map.svg");
}

/* jQueryUI elements */
#mecatran-imap-wrapper .ui-autocomplete {
	font-size: 80%;
}

ul.ui-autocomplete li.route-suggestionresult span.route-code {
	display: inline-block;
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	padding: 0.2em;
	padding-left: 0.2em;
	padding-right: 0.2em;
	min-width: 3em;
	min-height: 1em;
	font-weight: bold;
}

ul.ui-autocomplete li.route-suggestionresult span.route-name {
	display: inline-block;
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	padding: 0.2em;
	padding-left: 0.2em;
	padding-right: 0.2em;
}

/* Custom common elements */
#mecatran-imap-wrapper .tip {
	padding-left: 0.4em;
	margin: 0.2em;
	font-weight: 300;
	font-size: 80%;
	color: #555;
	line-height: 1.2em;
}

/* Panel / map layout */
#mecatran-imap-wrapper {
	height: 100%;
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

#mecatran-imap-wrapper #aria-top {
	position: absolute;
	top: 0;
	left: 0;
	padding-left: 320px;
	padding-right: 0.2em;
	background: #ffffffaa;
	font-size: 10pt;
	border: 1px #ccc solid;
	z-index: 1;
}

@media screen and (max-width: 800px) {
    #mecatran-imap-wrapper #aria-top {
        display: none !important;
    }
}

#mecatran-imap-wrapper #panel {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 300px;
	background-color: transparent;
	z-index: 100;
}

#mecatran-imap-wrapper.horizmenu #panel {
	top: auto;
	bottom: 0;
	height: 30%;
	width: 100%;
}

#mecatran-imap-wrapper #panel.panel-collapsed {
	left: -280px;
}

#mecatran-imap-wrapper.horizmenu #panel.panel-collapsed {
	left: 0;
	bottom: -28%;
}

#mecatran-imap-wrapper #panel #system-menu {
	position: absolute;
	top: 40px;
	left: 300px;
	width: 30px;
	z-index: -1;
}

#mecatran-imap-wrapper.horizmenu #panel #system-menu {
	width: auto;
	left: 60px;
	top: -30px;
	height: 30px;
}

#mecatran-imap-wrapper #panel #system-menu a {
	display: inline-block;
	height: 30px;
	width: 25px;
	margin-top: 8px;
	background-color: white;
	border-radius: 0 10px 10px 0;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 20px 20px;
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.5);
}

#mecatran-imap-wrapper.horizmenu #panel #system-menu a {
	border-radius: 10px 10px 0 0;
	height: 30px;
	width: 35px;
	margin-top: 0;
	margin-right: 8px;
}

#mecatran-imap-wrapper #panel #system-menu a#show-hide {
	background-image: url("../img/hide.svg");
}

#mecatran-imap-wrapper.horizmenu #panel #system-menu a#show-hide {
	background-image: url("../img/hide-horiz.svg");
}

#mecatran-imap-wrapper #panel.panel-collapsed #system-menu a#show-hide {
	background-image: url("../img/show.svg");
}

#mecatran-imap-wrapper.horizmenu #panel.panel-collapsed #system-menu a#show-hide {
	background-image: url("../img/show-horiz.svg");
}

#mecatran-imap-wrapper #panel #system-menu a#help {
	background-image: url("../img/help.svg");
}

#mecatran-imap-wrapper #panel #menu {
	position: absolute;
	bottom: 40px;
	left: 300px;
	width: 60px;
	z-index: -1;
}

#mecatran-imap-wrapper.horizmenu #panel #menu {
	width: auto;
	left: 160px;
	top: -60px;
	height: 60px;
}

#mecatran-imap-wrapper #panel #menu a {
	display: inline-block;
	min-height: 18px;
	width: 50px;
	margin-top: 8px;
	padding-top: 36px;
	padding-right: 0.4em;
	box-sizing: border-box;
	overflow: hidden;
	background-color: rgba(120, 127, 127, 0.5);
	border-radius: 0 10px 10px 0;
	background-repeat: no-repeat;
	background-position: right 10px top 5px;
	background-size: 32px 32px;
	font-size: 8pt;
	color: #888;
	text-decoration: none;
	text-align: center;
}

#mecatran-imap-wrapper #panel #menu a:HOVER {
	width: 60px;
}

#mecatran-imap-wrapper #panel #menu a.selected {
	width: 60px;
	background-color: white;
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.5);
}

#mecatran-imap-wrapper.horizmenu #panel #menu a {
	bottom: 0;
	border-radius: 10px 10px 0 0;
	height: 50px;
	width: 70px;
	margin-top: 10px;
	margin-right: 0.4em;
}

#mecatran-imap-wrapper.horizmenu #panel #menu a:HOVER {
	width: 70px;
	height: 60px;
	margin-top: 0;
}

#mecatran-imap-wrapper.horizmenu #panel #menu a.selected {
	width: 70px;
	height: 60px;
	margin-top: 0;
}

#mecatran-imap-wrapper #panel #menu a#route-link {
	background-image: url("../img/routes.svg");
}

#mecatran-imap-wrapper #panel #menu a#addr-link {
	background-image: url("../img/target.svg");
}

#mecatran-imap-wrapper #panel #menu a#cities-link {
	background-image: url("../img/city.svg");
}

#mecatran-imap-wrapper #panel #menu a#farezones-link {
	background-image: url("../img/zone_fare.svg");
}

#mecatran-imap-wrapper #panel #menu a#flexzones-link {
	background-image: url("../img/zone_flex.svg");
}

#mecatran-imap-wrapper #panel #menu a#epcizones-link {
	background-image: url("../img/zone_epci.svg");
}

#mecatran-imap-wrapper #panel #menu a#bassinzones-link {
	background-image: url("../img/zone_bassin.svg");
}

#mecatran-imap-wrapper #panel #menu a#blobareas-link {
	background-image: url("../img/zone.svg");
}

#mecatran-imap-wrapper #panel #menu a#pois-link {
	background-image: url("../img/place.svg");
}

#mecatran-imap-wrapper #panel #menu a#schools-link {
	background-image: url("../img/school-gray.svg");
}

#mecatran-imap-wrapper #panel #menu a#stops-link {
	background-image: url("../img/stop.svg");
}

#mecatran-imap-wrapper #panel #menu a#tripsearch-link {
	background-image: url("../img/trip.svg");
}

#mecatran-imap-wrapper #panel #views {
	width: 100%;
	height: 100%;
	overflow: hidden;
	box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.5);
	background-color: white;
	z-index: 1;
}

#mecatran-imap-wrapper #panel #views #logo {
	position: absolute;
	z-index: 2;
	cursor: pointer;
}

#mecatran-imap-wrapper #panel #views div.view {
	position: absolute;
	padding-top: 20px;
	top: 100px;
	bottom: 0px;
	width: 300px;
	overflow-y: auto;
}

#mecatran-imap-wrapper.horizmenu #panel #views #views-container {
	padding-left: 100px;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

#mecatran-imap-wrapper.horizmenu #panel #views div.view {
	position: initial;
	padding-top: 1em;
	box-sizing: border-box;
	top: 0px;
	left: 0px;
	min-height: 100%;
	height: 100%;
	width: auto;
	overflow-x: scroll;
	column-width: 20em;
    column-gap: 1em;
    column-rule: 1px dashed #ccc;
}

#mecatran-imap-wrapper.horizmenu #panel #views div.view li {
	margin-top: 3px;
}

#mecatran-imap-wrapper #map {
	background-color: #cccccc;
	margin-left: 300px;
	min-height: 100%;
	height: 100%;
}

#mecatran-imap-wrapper.horizmenu #map {
	margin-left: 0;
	min-height: 70%;
	height: 70%;
}

#mecatran-imap-wrapper #map.panel-collapsed {
	margin-left: 20px;
}

#mecatran-imap-wrapper.horizmenu #map.panel-collapsed {
	margin-left: 0;
	height: 98%;
}

/* Route panel */
#mecatran-imap-wrapper .view.route-view input.route-filter {
	margin: 0.6em;
	margin-right: 0;
	width: 80%;
}

#mecatran-imap-wrapper .view.route-view ul.route-list {
	margin: 0;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li {
	list-style-type: none;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-code {
	display: inline-block;
	padding: 0.2em;
	min-height: 1.2em;
	min-width: 3.5em;
	margin-left: 0.4em;
	margin-bottom: 0.4em;
	font-weight: bold;
	font-size: 120%;
	cursor: pointer;
	vertical-align: bottom;
	position: relative;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-code.logo {
	padding: 0;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-code span.route-alert-badge {
    position: absolute;
    font-size: 10pt;
    font-weight: bold;
    right: -0.3em;
    top: -0.3em;
    text-align: center;
    border-radius: 1em;
    padding: 0;
    padding-left: 0.3em;
    padding-right: 0.3em;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-code span.route-alert-badge.alert-level-1 {
    color: white;
	background-color: #4e6298;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-code span.route-alert-badge.alert-level-2 {
    color: black;
	background-color: #ff9b00;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-code span.route-alert-badge.alert-level-3 {
    color: white;
	background-color: #dd0000;
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-code img {
	height: 1.6em;
	vertical-align: bottom;
} 

#mecatran-imap-wrapper .view.route-view ul.route-list li.selected {
	box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.8);
}

#mecatran-imap-wrapper .view.route-view ul.route-list li.route-group {
	display: block;
	font-size: 120%;
	font-weight: bold;
	margin-bottom: 0.2em;
	margin-top: 0.4em;
	margin-left: 2em;
	page-break-after: avoid;
	-webkit-column-break-after: avoid;
}

/* Address panel */
#mecatran-imap-wrapper .view.addr-view input {
	margin: 0.6em;
	margin-right: 0;
	width: 80%;
}

/* Stop search panel */
#mecatran-imap-wrapper .view.stops-view input {
	margin: 0.6em;
	margin-right: 0;
	width: 80%;
}

/* Trip search panel */
#mecatran-imap-wrapper .view.tripsearch-view {
	margin-left: 0.4em;
	margin-right: 0.4em;
}

#mecatran-imap-wrapper .view.tripsearch-view ul {
	margin: 0;
}

#mecatran-imap-wrapper .view.tripsearch-view ul li {
	cursor: pointer;
	list-style-type: none;
	font-size: 80%;
	display: inline-block;
	vertical-align: middle;
	width: 95%;
	border: 1px solid #EEE;
	border-radius: 0.2em;
	background: #EEC;
	padding-left: 0.2em;
	margin: 0;
	margin-top: 0.1em;
	margin-bottom: 0.1em;
}

#mecatran-imap-wrapper .view.tripsearch-view ul li:HOVER {
	background: #FFE;
}

#mecatran-imap-wrapper .view.tripsearch-view ul li .content {
	display: inline-block;
	width: 90%;
}

#mecatran-imap-wrapper .view.tripsearch-view ul li .element-id {
	font-weight: bold;
	margin-left: 0.2em;
}

#mecatran-imap-wrapper .view.tripsearch-view ul li .element-color {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.1em;
	border: 1px solid #EEE;
}

#mecatran-imap-wrapper .view.tripsearch-view ul li a.clear {
	float: right;
	border-left: 1px solid #EEE;
}

#mecatran-imap-wrapper .view.tripsearch-view #carrierSelect {
	width: 90%;
}

#mecatran-imap-wrapper .view.tripsearch-view #resultPanel a.icon {
	display: inline-block;
	margin: 0.1em;
}

/* Generic areas panel (cities, fare zone...) */
#mecatran-imap-wrapper .view.areas-view input {
	margin: 0.6em;
}

#mecatran-imap-wrapper .view.areas-view input[type=text] {
	margin-right: 0;
	width: 80%;
}

#mecatran-imap-wrapper .view.areas-view ul {
	margin: 0;
}

#mecatran-imap-wrapper .view.areas-view ul li {
	cursor: pointer;
	font-weight: bold;
	list-style-type: none;
	width: 90%;
	padding: 0.2em;
	padding-left: 0.4em;
	margin-left: 0.4em;
	border-radius: 0.4em;
	break-inside: avoid;
}

#mecatran-imap-wrapper .view.areas-view ul li:HOVER {
	box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
}

/* POIs panel */
#mecatran-imap-wrapper .view.pois-view .poi-input {
	margin: 0.6em;
	margin-right: 0;
	width: 80%;
}

#mecatran-imap-wrapper .view.pois-view ul.pois-list {
	margin: 0;
}

#mecatran-imap-wrapper .view.pois-view ul.pois-list li {
	cursor: pointer;
	font-weight: bold;
	list-style-type: none;
	width: 90%;
	padding: 0.2em;
	padding-left: 0.4em;
	margin-left: 0.4em;
	border-radius: 0.4em;
	break-inside: avoid;
}

#mecatran-imap-wrapper .view.pois-view ul.pois-list li:HOVER {
	box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
}

#mecatran-imap-wrapper .view.pois-view input[type='checkbox'], #mecatran-imap-wrapper .pois-view input[type='radio'] {
	display: none;
}

#mecatran-imap-wrapper .view.pois-view input[type='checkbox']+label, #mecatran-imap-wrapper .pois-view input[type='radio']+label {
	display: block;
	min-height: 24px;
	padding-left: 32px;
	margin-bottom: 4px;
	margin-left: 8px;
	background-repeat: no-repeat;
	background-size: 24px 24px;
}

#mecatran-imap-wrapper .view.pois-view input.tourism+label {
	background-image: url("../img/tourism_inactive.svg");
}

#mecatran-imap-wrapper .view.pois-view input.tourism:checked+label {
	background-image: url("../img/tourism.svg");
}

#mecatran-imap-wrapper .view.pois-view input.school+label {
	background-image: url("../img/school_inactive.svg");
}

#mecatran-imap-wrapper .view.pois-view input.school:checked+label {
	background-image: url("../img/school.svg");
}

#mecatran-imap-wrapper .view.pois-view input.ticketoffice+label {
	background-image: url("../img/ticketoffice_inactive.svg");
}

#mecatran-imap-wrapper .view.pois-view input.ticketoffice:checked+label {
	background-image: url("../img/ticketoffice.svg");
}

#mecatran-imap-wrapper .view.pois-view input.pn+label {
	background-image: url("../img/pn_inactive.svg");
}

#mecatran-imap-wrapper .view.pois-view input.pn:checked+label {
	background-image: url("../img/pn.svg");
}

#mecatran-imap-wrapper .view.pois-view input.carpooling+label {
	background-image: url("../img/carpooling_inactive.svg");
}

#mecatran-imap-wrapper .view.pois-view input.carpooling:checked+label {
	background-image: url("../img/carpooling.svg");
}

/* Blob area panel */
#mecatran-imap-wrapper .view.blobareas-view input,
#mecatran-imap-wrapper .view.blobareas-view select {
	margin: 0.6em;
	margin-right: 0;
	width: 80%;
}

/* Info window */
#mecatran-imap-wrapper div.generictip {
	font-size: 12pt;
}

#mecatran-imap-wrapper div.generictip ul {
	margin-left: 0.2em;
}

#mecatran-imap-wrapper div.generictip ul li {
	list-style-type: none;
}

#mecatran-imap-wrapper div.generictip .info-click-stop {
	font-size: 80%;
	font-style: italic;
	padding-left: 24px;
	background-image: url("../img/station.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.generictip .route-code {
	display: inline-block;
	font-weight: bold;
	font-size: 120%;
	padding: 0.2em;
	min-width: 3em;
	min-height: 1em;
	border: 1px solid #888;
}

#mecatran-imap-wrapper div.generictip .route-code.logo {
	padding: 0;
	border: none;
}

#mecatran-imap-wrapper div.generictip .route-code img {
	height: 1.4em;
	vertical-align: bottom;
}

#mecatran-imap-wrapper div.generictip .route-ondemand {
	padding-left: 16px;
	min-height: 16px;
	background-image: url("../img/phone.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.generictip .route-warning {
	display: inline-block;
	font-weight: bold;
	font-size: 80%;
	margin-left: 1em;
	color: #a00000;
	padding-left: 24px;
	min-height: 16px;
	background-image: url("../img/warn.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.generictip .route-dates, #mecatran-imap-wrapper div.generictip .route-dates-inline {
	font-size: 80%;
	font-weight: normal;
	margin-left: 1em;
	padding-left: 24px;
	min-height: 16px;
	background-image: url("../img/calendar.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.generictip .route-dates {
	display: block;
}

#mecatran-imap-wrapper div.generictip .route-dates-inline {
	display: inline-block;
}

#mecatran-imap-wrapper div.generictip .route-description {
	font-size: 80%;
	margin-left: 0.4em;
}

#mecatran-imap-wrapper div.generictip #dateInput {
	/* Hack for jQueryUI date picker not showing */
	position: relative;
	z-index: 1000;
}

#mecatran-imap-wrapper div.generictip .trip-time {
	display: inline-block;
	padding-left: 18px;
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
	background-image: url("../img/clock.svg");
}

#mecatran-imap-wrapper div.generictip .trip-logo {
	padding-left: 18px;
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
	background-image: url("../img/trip.svg");
}

#mecatran-imap-wrapper div.generictip .alerts-count {
	display: inline-block;
	border-radius: 1em;
	background-color: #eee;
	font-weight: bold;
	color: black;
	margin-left: 0.4em;
	padding: 2px;
	padding-right: 4px;
	padding-left: 20px;
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: 2px center;
}

#mecatran-imap-wrapper div.generictip .alerts-count:hover {
	color: white;
	background-color: #555;
}

#mecatran-imap-wrapper div.generictip .alerts-count.alert-level-1 {
	background-image: url("../img/info.svg");
}

#mecatran-imap-wrapper div.generictip .alerts-count.alert-level-2 {
	background-image: url("../img/warn.svg");
}

#mecatran-imap-wrapper div.generictip .alerts-count.alert-level-3 {
	background-image: url("../img/error.svg");
}
	
#mecatran-imap-wrapper div.stoptip h1 {
	padding-left: 32px;
	min-height: 24px;
	background-image: url("../img/station.svg");
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.stoptip.substoptip h1 {
	background-image: url("../img/stop.svg");
}

#mecatran-imap-wrapper div.stoptip h1 span.wheelchair_1, #mecatran-imap-wrapper div.stoptip h1 span.wheelchair_2 {
	display: inline-block;
	vertical-align: bottom;
	height: 24px;
	width: 32px;
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.stoptip h1 span.wheelchair_1 {
	background-image: url("../img/wheelchair_ok.svg");
}

#mecatran-imap-wrapper div.stoptip h1 span.wheelchair_2 {
	background-image: url("../img/wheelchair_no.svg");
}

#mecatran-imap-wrapper div.stoptip ul.substoplist li {
	background-image: url("../img/stop.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
}

#mecatran-imap-wrapper div.stoptip ul.substoplist.station li {
	background-image: url("../img/station.svg");
}

#mecatran-imap-wrapper div.stoptip h1 .city {
	font-weight: 300;
	font-size: 80%;
}

#mecatran-imap-wrapper div.stoptip .stopcount {
	padding-left: 24px;
	min-height: 16px;
	background-image: url("../img/stop.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.stoptip .stopcount.station {
	background-image: url("../img/station.svg");
}

#mecatran-imap-wrapper div.stoptip ul.headsign-list .route-code {
	font-size: 80%;
}

#mecatran-imap-wrapper div.stoptip .departure-time {
	font-weight: bold;
	display: inline-block;
}

#mecatran-imap-wrapper div.stoptip .departure-trip {
	font-weight: normal;
	font-size: 80%;
}

#mecatran-imap-wrapper div.stoptip .departure-time span.realtime {
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	background-image: url("../img/realtime2.png");
	background-size: 0.8em;
	background-repeat: no-repeat;
	background-position: center left;
	animation-delay: 0s;
	animation-direction: alternate;
	animation-duration: 0.8s;
	animation-fill-mode: none;
	animation-iteration-count: infinite;
	animation-name: glow;
	animation-play-state: running;
	animation-timing-function: ease-in-out;
}

@keyframes glow {
  0% {
    filter: opacity(25%) brightness(125%) hue-rotate(-30deg);
  }
  100% {
    filter: opacity(100%) brightness(75%) hue-rotate(0);
  }
}

#mecatran-imap-wrapper div.stoptip .departure-ondemand {
	padding-left: 16px;
	min-height: 16px;
	background-image: url("../img/phone.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.stoptip .departure-headsign {
	font-weight: 300;
}

#mecatran-imap-wrapper div.alertstip h1 {
	padding-left: 32px;
	min-height: 24px;
	background-repeat: no-repeat;
	background-position: left center;
	background-image: url("../img/alert.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.alertstip ul.alertlist li.alert {
	padding-left: 20px;
	background-repeat: no-repeat;
	background-position: left 2px; 
	background-size: 18px 18px;
}

#mecatran-imap-wrapper div.alertstip ul.alertlist li.alert.alert-level-1 {
	background-image: url("../img/info.svg");
}

#mecatran-imap-wrapper div.alertstip ul.alertlist li.alert.alert-level-2 {
	background-image: url("../img/warn.svg");
}

#mecatran-imap-wrapper div.alertstip ul.alertlist li.alert.alert-level-3 {
	background-image: url("../img/error.svg");
}

#mecatran-imap-wrapper div.alertstip ul.alertlist li.alert span.alert-title {
	display: block;
	font-weight: bold;
}

#mecatran-imap-wrapper div.alertstip ul.alertlist li.alert span.alert-dates {
	display: block;
	font-style: italic;
}

#mecatran-imap-wrapper div.alertstip ul.alertlist li.alert span.alert-description {
	display: block;
	white-space: pre-wrap;
}

#mecatran-imap-wrapper div.zonetip h1 {
	padding-left: 32px;
	min-height: 24px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.cities h1 {
	background-image: url("../img/city.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.farezones h1 {
	background-image: url("../img/zone_fare.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.flexzones h1 {
	background-image: url("../img/zone_flex.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.epcizones h1 {
	background-image: url("../img/zone_epci.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.bassinzones h1 {
	background-image: url("../img/zone_bassin.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.address h1 {
	background-image: url("../img/target.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.poi h1 {
	background-image: url("../img/place.svg");
	background-size: 24px 24px;
}

#mecatran-imap-wrapper div.poi.tourism h1 {
	background-image: url("../img/tourism.svg");
}

#mecatran-imap-wrapper div.poi.ticketoffice h1 {
	background-image: url("../img/ticketoffice.svg");
}

#mecatran-imap-wrapper div.poi.school h1 {
	background-image: url("../img/school.svg");
}

#mecatran-imap-wrapper div.poi img.poi-preview {
	float: left;
	max-width: 200px;
	margin: 0.4em;
	margin-right: 1em;
	padding: 0.4em;
	background-color: white;
	box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
	padding: 0.4em;
}

#mecatran-imap-wrapper div.poi .textcontent {
	float: left;
}

#mecatran-imap-wrapper div.zonetip ul.stoplist li {
	padding-left: 24px;
	min-height: 16px;
	background-image: url("../img/stop.svg");
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: left center;
}

#mecatran-imap-wrapper div.zonetip ul.stoplist li.alt1 {
	background-image: url("../img/stop_alt1.svg");
}

#mecatran-imap-wrapper div.zonetip ul.stoplist li.alt2 {
	background-image: url("../img/stop_alt2.svg");
}

#mecatran-imap-wrapper div.zonetip ul.stoplist li.alt3 {
	background-image: url("../img/stop_alt3.svg");
}

#mecatran-imap-wrapper div.zonetip ul.stoplist li.alt4 {
	background-image: url("../img/stop_alt4.svg");
}

#mecatran-imap-wrapper div.zonetip ul.stoplist li .routelist {
	font-weight: bold;
	font-size: 60%;
}

/* --- help --- */
div.mecatran-imap-help {
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-size: 10pt;
}

div.mecatran-imap-help .para-icon {
	padding-left: 38px;
	background-size: 32px 32px;
	min-height: 32px;
	background-repeat: no-repeat;
	background-position: left top;
	border-bottom: 1px solid #888;
}

div.mecatran-imap-help .routes-tab {
	background-image: url("../img/routes.svg");
}

div.mecatran-imap-help .address-tab {
	background-image: url("../img/target.svg");
}

div.mecatran-imap-help .city-tab {
	background-image: url("../img/city.svg");
}

div.mecatran-imap-help .place-tab {
	background-image: url("../img/place.svg");
}

div.mecatran-imap-help .school-tab {
	background-image: url("../img/school-gray.svg");
}

div.mecatran-imap-help .stops-tab {
	background-image: url("../img/stop.svg");
}

div.mecatran-imap-help .hide-tab {
	background-image: url("../img/hide.svg");
}

div.mecatran-imap-help .gmarker {
	background-image: url("../img/gmarker.svg");
}

div.mecatran-imap-help .station {
	background-image: url("../img/station.svg");
}

div.mecatran-imap-help .route-zone {
	background-image: url("../img/route-zone.svg");
}

div.mecatran-imap-help .route-line {
	background-image: url("../img/route-line.svg");
}

div.mecatran-imap-help .realtime {
	background-image: url("../img/realtime2.png");
}

/* --- Large scrollbar --- */

#mecatran-imap-wrapper.bigscrollbar ::-webkit-scrollbar {
    width: 30px;
    height: 30px;
}

#mecatran-imap-wrapper.bigscrollbar ::-webkit-scrollbar-button {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
}

#mecatran-imap-wrapper.bigscrollbar ::-webkit-scrollbar-button:horizontal:decrement {
    background-image: url('../img/left.svg');
}

#mecatran-imap-wrapper.bigscrollbar ::-webkit-scrollbar-button:horizontal:increment {
    background-image: url('../img/right.svg');
}

#mecatran-imap-wrapper.bigscrollbar ::-webkit-scrollbar-button:vertical:decrement {
    background-image: url('../img/up.svg');
}

#mecatran-imap-wrapper.bigscrollbar ::-webkit-scrollbar-button:vertical:increment {
    background-image: url('../img/down.svg');
}
 
#mecatran-imap-wrapper.bigscrollbar ::-webkit-scrollbar-track {
    background-color: #FFFFFF;
}
 
#mecatran-imap-wrapper.horizmenu ::-webkit-scrollbar-thumb {
	border: 10px solid #FFFFFF;
    background-color: #0077AA;
}
