/* general note: hash before name indicates it is an id selector */

body {
	font-family: arial, helvetica, sans-serif;
	color: #000000;
	background-color: #FFFFFF;
	/* 2019-03-21 below line added otherwise get vertical jump as scroll vertically when bottom docking navbar kicks in */
	margin-bottom: 0px;
}

/* global link styles */
/* order of definitions is important */

a:link { color: #AB3EFF }
a:visited { color: #007FFF }

/* see also hover property on summary element later; should match this */
a:hover {
	color: #000000;
	background-color: #FF8888;
}

/* 2014-12-09 glossary terms (which have no href attribute so :link will not work)
2022-01-09 also used for suggested corrections eg applying a correct email address on contact form by jscript
2022-12-15 deprecated for glossary terms- use details element instead
*/
a.glossaryTerm {
	color: #AB3EFF;
	border-bottom: 1px dashed #AB3EFF;
	text-decoration: none;
	cursor: pointer;
}

/* added 2022-12-15 */
details.glossarydetails {
	display: inline;
}

/* added 2022-12-15 */
summary.glossarysummary {
	display: inline;
	cursor: pointer;
	color: #AB3EFF;
	border-bottom: 1px dashed #AB3EFF;
	text-decoration: none;
}
summary:hover {
	color: #000000;
	background-color: #FF8888
}

/* 2019-01-24 normally browser might solid underline a dfn but we don't want that as we use the above a.glossaryTerm with dashed underline instead */
dfn {
	text-decoration: none;
}

/* 2014-01-08 inline imgs that are links eg Timebus logo on navbar */
a.nohover {
	text-decoration: none;
}
a.nohover:hover {
	background-color: transparent;
}

a:active { color: #7FFFFF }

/* 2019-01-24 saves having to use a p element just for spacing between sections if do this */
section {
	margin-top: 15px;
	margin-bottom: 15px;
}

h1 {
	text-align: center;
	margin-top: 6px;
	margin-bottom: 19px;
}

h2 { text-align: left; }

h2.centred {
	text-align: center;
	margin-top: 0px;
	margin-bottom: 10px;
}

h3.centred { text-align: center }

table.centred-table { margin-left: auto; margin-right: auto }

/* used by cntact.htm 2016-12-14 */
td.padded {
	padding: 10px;
	border: none;
}

/* itinerary in Timebus Tourer page */
ol.options {
	list-style-type: lower-alpha;
	margin-left: 6ex;
}

/* 2022-04-18 breadcrumbs */
ol.breadcrumbs {
	list-style-type: none;
	padding: 10px 16px;
	background-color: lightgray;
}
ol.breadcrumbs li {
	display: inline-block;
}
ol.breadcrumbs li+li:before {
	padding: 8px;
	color: black;
	content: "\27A4";
}

/* 2019-01-24 used in glossary list of definitions on hiring-faq page. set padding-left the same as for ul element else list bullets won't line up when used on same page */
dl {
	padding-left: 35px;
}
dt {
	display: list-item;
}

/* 2019-01-24 set this here to be the same as that for element dl. Firefox default is 40px */
ul {
	padding-left: 35px;
}

/* used for displaying results of form selections 2016-12-13 */
ul.nomargin {
	margin-top: 0px;
	margin-bottom: 0px;
}

/* red triangle list markers first used 2015-03-25 on booking info page */
ul.triangles {
	list-style-image: url(../graphics/arrowr.png);
}

/* bead chain list first used 2015-04-06 on venue links page */
ul.chain {
	list-style-image: url(../links/horiz.gif);
}
li.chained {
	margin-top: 30px;
	margin-bottom: 30px;
	margin-left: 120px;
	padding-left: 30px;
}

/* used on routemaster/travel-hire.inc.htm 2019-01-27. NB all the properties below are needed in case the text goes onto a second line */
ul.nobullets {
	list-style-type: none; /* built in bullets will be replaced by defined filled circle chars later */
	padding-left: 20px;
}
li.multicollist {
	margin-bottom: 3px;
	padding-left: 1.3em;
	text-indent: -1.3em;
}
li.multicollist:before {
	content:'\25CF'; /* unicode for a filled circle */
	margin-right: 10px;
}
@media only screen and (min-width: 700px) {
	li.multicollist {
		width: 280px;
		display: inline-block;
		margin-right: 10px;
		vertical-align: top;
	}
}

/* green bottom left corner on Green RM Express vehicles page */
p.greencorner {
	text-align: left;
	border-width: thick;
	border-color: green;
	border-style: none none solid solid;
}

/* phrase near main logo on home page */
p.subtitle {
	text-align: center;
	font-style: italic;
	font-size: large;
}

/* 2017-01-24 heading in floating message aside div */
p.messageheading {
	font-weight: bold;
	font-size: large;
	margin-top: 0px;
	margin-bottom: 11px;
}

/* itinerary in Timebus Tourer page */
p.itinerary {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 6ex;
	text-indent: -6ex;
}

p.copyright {
	font-style: italic;
	font-size: small;
	color: #707070;
}

/* text that may flow around images has a zero height wide prefix to prevent too narrow a column */
p.nottoonarrow {
	margin-top: 0px; /* added 2020-04-02 needed so first para next to a topleft or topright floated image aligns at top */
}
.nottoonarrow:before {
	content: ' ';
	display: table;
	width: 10em;
}

/* links pages for vert centred logo, inline with descriptive text */
.midalign {
	border-style: none;
	vertical-align: middle;
	padding: 3px;
}

div.copyright {
	font-style: italic;
	font-size: small;
	color: #707070;
}

div.centered { text-align: center }

div.large { font-size: large }

div.smaller { font-size: smaller }

/* text to left or right of zig-zagging photos like gallery area */
div.photocaption {
	margin: 0px 0px 100px 0px;
}

/* 2019-02-19 note this style is duplicated inline in eg baf-result-en.htm */
div.formresults {
	padding: 8px;
	margin: 10px;
	border-width: thin;
	border-color: black;
	border-style: solid solid solid solid;
	min-width: 270px;
}

/* 2019-02-19 note this style is duplicated inline in eg baf-result-en.htm */
p.formresultsheading {
	text-align: center;
	margin-top: 2px;
	margin-bottom: 6px;
	font-size: large;
	color: navy;
}

/* 2019-02-19 note this style is duplicated inline in eg baf-result-en.htm */
div.dotteddivider {
	margin-top: 10px;
	border-top: thin dotted red;
}

/* 2019-02-19 note this style is duplicated inline in eg baf-result-en.htm */
div.questionedcontainer {
	clear: both;
	margin-top: 10px;
	margin-left: 10px;
/* 	width: 100%; */
	border-style: none;
	padding: 0px;
}

div.questioned {
	width: 250px;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 5px;
	/*padding-top: 5px; */
}

/* 2019-02-19 note this style is duplicated inline in eg baf-result-en.htm */
div.answered {
	width: 95%;
	display: inline-block;
	background-color: #DDDDDD;
	padding: 6px;
}
@media only screen and (min-width: 810px) {
	div.answered {
		width: 500px;
	}
}

/* RHS ads and messages, distinguished from main page content */
div.message {
	background-color: #FFEFD5;
	padding: 10px;
	margin: 0px 2px 10px 10px;
	border-width: thin;
	border-color: red;
	border-style: solid solid solid solid;
	float: right;
	width: 25%;
	color: #800000;
}
@media only screen and (max-width: 500px) {
div.message {
	margin-left: auto;
	margin-right: auto;
	float: none;
	width: 75%;
}
}

/* souvenir tickets sandwiched caption */
div.sandwichtile {
	padding: 6px;
	margin: 3px 15px 6px 15px;
	border-style: solid;
	border-width: 1px;
	border-color: red;
	border-radius: 16px;
	background-color: #E0E0E0;
	width: 150px;
	/* height: 220px; */
	display: inline-block;
	/* below line required by Safari only else go haphazard */
	vertical-align: top;
}

/* change language icons 2014-12-11 */
div.flags {
	float: right;
}

/* 2 col layout used on ideas index and tourer.htm */
div.box1 {
	background-color: #FFEFD5;
	padding: 10px;
	border-width: thin;
	border-color: red;
	border-style: solid solid solid solid;
	float: left;
	width: 45%;
	color: #800000;
	margin-right: 10px;
	margin-bottom: 10px;
}

div.box2 {
	background-color: #FFEFD5;
	padding: 10px;
	border-width: thin;
	border-color: red;
	border-style: solid solid solid solid;
	float: left;
	width: 45%;
	color: #800000;
	margin-bottom: 10px;
}

@media only screen and (max-width: 550px) {
div.box1 {
	width: 90%;
}
div.box2 {
	width: 90%;
}
}

/* deprecated old horizontal footer navbar, was interim measure */
div.navfoot {
	text-align: center;
	padding: 15px 5px 15px 5px;
	background-color: #FFEFD5;
}

/* 2014-01-07 things displayed only on narrow screens, or browsers that don't support media queries */
/* used on top navigation link only as of 2014-01-28 */
/* 2019-03-21 changed from 600px to 650px. Same value as used on bottomdocker div in navbar.css */
div.narrowonly {
	display: block;
}
@media only screen and (min-width: 650px) {
div.narrowonly {
	display: none;
}
}

/* link categories AND links on link pages, and brochure thumbnails. Used in conjunction with another div giving size */
div.walltile {
	padding: 6px;
	margin: 3px 3px 6px 3px;
	border-style: solid;
	border-width: 1px;
	border-color: red;
	border-radius: 15px;
	background-color: #E0E0E0;
	text-align: center;
	overflow: hidden;
	display: inline-block;
	/* below line required by Safari only else go haphazard */
	vertical-align: top;
}

/* link categories, used in conjunction with walltile */
div.squaretile {
	width: 150px;
	height: 150px;
}

/* 2015-02 links in link pages, used in conjunction with walltile */
div.widetile {
	width: 290px;
	height: 130px;
}

/* 2016-11-04 brochure thumbnails and captions, used in conjunction with walltile */
div.hightile {
	width: 140px;
	height: 220px;
}

/* 2014-04-02 used on booking-info index page for PDF help */
div.boxed-text {
	font-size: smaller;
	background-color: #E0E0E0;
	padding: 10px;
	margin: 10px;
	border-width: thin;
	border-color: black;
	border-style: solid solid solid solid;
	float: none;
	width: 90%;
	color: #800000;
}

/* 2020-05-20 used on RISC OS StrongED page */
div.bitmapbox {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 14px;
	margin-right: 12px;
	text-align: center;
}

/* used eg on Timebus Tourer page */
span.red {
	color: red;
	font-weight: bold;
}

/* bus motos on vehicle thumbnail pages from 2013-09-12 */
span.buscaption {
	font-style: italic;
	color: #501000;
}

/* 2014-12-02 glossary definitions. Note there is jscript (glossary-engine.js) which sets the display property to none on loading the body element of pages using the old system for glossary terms.
*/
span.definition {
	font-style: italic;
}

/* 2015-03-01 used for example on valid HTML image */
img.borderless {
	border-style: none;
}

/* 2015-03-01 used for example on some banners in links area */
img.width100pc {
	width: 100%;
}

/* top left inline image */
img.topleft {
	border-style: none;
	float: left;
	margin-right: 15px;
	margin-bottom: 10px;
}

/* top right inline image */
img.topright {
	border-style: none;
	float: right;
	margin-left: 15px;
	margin-bottom: 10px;
}

/* right, also up and down pointing triangle arrows with hyperlinks */
img.arrowr {
	vertical-align: middle;
	border-style: none;
	margin-right: 3px;
}

/* 2014-01-08 home page main photo, and banners under */
img.vspaced {
	border-style: none;
	margin-top: 15px;
	margin-bottom: 15px;
}

/* 2014-01-23 2 images side by side. RCL */
img.pair {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	width: 90%;
}
@media only screen and (min-width: 600px) {
	img.pair {
		width: 45%;
		/* max-width must be set in the HTML to true 1:1 width */
	}
}

/*  2017-01-24 credit card logos lontour.htm and hire.htm */
img.samesizefilmroll {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
}

/* 2014-01-15 187px true height, constant height thumbnail groups RMS/L */
img.vgroup187px {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 187px;
}
@media only screen and (max-width: 400px) {
img.vgroup187px {
	/* want to fit 2 across in 320 wide iphone inc margin */
	height: 107px;
}
}

/* 2014-01-15 227px true height, constant height thumbnail groups SRM */
img.vgroup227px {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 227px;
}
@media only screen and (max-width: 400px) {
img.vgroup227px {
	/* want to fit 2 across in 320 wide iphone inc margin */
	height: 107px;
}
}

/* 2014-01-17 210px true height, constant height thumbnail groups RME */
img.vgroup210px {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 210px;
}
@media only screen and (max-width: 400px) {
img.vgroup210px {
	/* want to fit 2 across in 320 wide iphone inc margin */
	height: 107px;
}
}

/* 2014-01-17 180px true height, constant height thumbnail groups RM 479 */
img.vgroup180px {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 180px;
}
@media only screen and (max-width: 400px) {
img.vgroup180px {
	/* want to fit 2 across in 320 wide iphone inc margin */
	height: 107px;
}
}

/* 2014-01-17 250px true height, constant height thumbnail groups RF */
img.vgroup250px {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 250px;
}
@media only screen and (max-width: 400px) {
img.vgroup250px {
	/* want to fit 2 across in 320 wide iphone inc margin */
	height: 107px;
}
}

/* 2014-01-23 200px true height, constant height thumbnail groups RCL */
img.vgroup200px {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 200px;
}
@media only screen and (max-width: 400px) {
img.vgroup200px {
	/* want to fit 2 across in 320 wide iphone inc margin */
	height: 107px;
}
}

/* 2014-12-02 290px true height, constant height thumbnail groups pers. signs */
img.vgroup290px {
	border-style: none;
	margin-right: 6px;
	margin-bottom: 6px;
	height: 290px;
}
@media only screen and (min-width: 401px) and (max-width: 800px) {
img.vgroup290px {
	/* want to fit 3 across inc margin */
	height: 200px;
}
}
@media only screen and (max-width: 400px) {
img.vgroup290px {
	/* want to fit 2 across in 320 wide iphone inc margin */
	height: 150px;
}
}

/* uncommented temporarily only for printing web site on RISC OS without web specific parts, as Netsurf does not support media queries yet */
/* .webonly { display: none; } */

/* 2016-12-21 general rules for printed pages */
@media print {
	header, footer, nav, .webonly {
		display: none;
	}
	a:link, a:visited {
		color: #000000;
		text-decoration: none;
	}
	img, ul, article {
		page-break-inside: avoid;
	}
}
