@CHARSET "UTF-8";

body {
	font-size: 0.9em;
	font-family: trebuchet ms, sans-serif;
	background-color: rgb(223, 223, 223);
}

#page {
	width: 1000px;
	margin: auto;
	padding: 10px;
}

#page #header {
	height: 64px;
	border-left: 1px solid rgb(153, 153, 153);
	border-right: 1px solid rgb(153, 153, 153);
	border-top: 1px solid rgb(153, 153, 153);
	background-color: rgb(255, 238, 207);
	background-repeat: no-repeat;
	background-image: url("../images/header.jpg");
}

#page #header h1 {
	margin: 0;
	margin-left: 140px;
	margin-top: 10px;
	color: rgb(142, 105, 76);
	font-size: 2em;
	font-weight: 100;
	font-family: trebuchet ms, sans-serif;
}

#page #header h2 {
	margin: 0;
	margin-left: 140px;
	margin-top: 2px;
	color: #000;
	font-size: 0.9em;
	font-weight: bold;
	font-family: trebuchet ms, sans-serif;
}

/** START: Google AdSense ad **/
#header .google-adsense {
  float: right;
  height: 50px;
  margin-top: 7px; /* (64-50)/2 */
  margin-right: 7px; /* ^^^ */
}
/** END: Google AdSense ad **/


/* Body Text Heading Fonts */


h3 {
margin-right: 1em;
margin-top: 0em;
font-size: 2em;
font-weight: 100;
color: rgb(142, 105, 76);
text-decoration:underline

}



h4 {
margin-right: 1em;
margin-top: 0em;
font-size: 1.4em;
font-weight: 100;
color: rgb(186, 123, 72);
text-decoration:underline

}


h5 {
margin-right: 1em;
font-size: 0.9em;
font-weight: 100;
color: rgb(186, 123, 72);
text-decoration:underline

}

h6 {
margin-right: 1em;
font-size: 0.9em;
font-weight: 100;
color: rgb(186, 123, 72);
text-decoration:italics

}

/** Navigation Menu **/
/* Reset */
.nav,
.nav a,
.nav ul,
.nav li,
.nav div,
.nav form,
.nav input {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

.nav a { text-decoration: none; }

.nav li { list-style: none; }

/* Menu Container */
.nav {
	display: flex;
	position: relative;
	cursor: default;
	z-index: 500;
}

/* Menu List */
.nav > li {
	display: block;
	flex-grow: 1;
	text-align: center;
}

/* Menu Links */
.nav > li > a {
	position: relative;
	display: block;
	z-index: 510;
	height: 34px;
	padding: 0 20px;
	line-height: 34px;
	
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #fcfcfc;
	text-shadow: 0 0 1px rgba(0,0,0,.35);

	background: #372f2b;
	border-left: 1px solid #4b4441;
	border-right: 1px solid #312a27;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.nav > li:hover > a { background: #4b4441; }

.nav > li:first-child > a {

}

/* Search Form */
.nav > li.nav-search > form {
	position: relative;
	width: inherit;
	height: 54px;
	z-index: 510;
	border-left: 1px solid #4b4441;
}

.nav > li.nav-search input[type="text"] {
	display: block;
	float: left;
	width: 1px;
	height: 24px;
	padding: 15px 0;
	line-height: 24px;

	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #999999;
	text-shadow: 0 0 1px rgba(0,0,0,.35);

	background: #372f2b;

	-webkit-transition: all .3s ease 1s;
	-moz-transition: all .3s ease 1s;
	-o-transition: all .3s ease 1s;
	-ms-transition: all .3s ease 1s;
	transition: all .3s ease 1s;
}

.nav > li.nav-search input[type="text"]:focus { color: #fcfcfc; }

.nav > li.nav-search input[type="text"]:focus,
.nav > li.nav-search:hover input[type="text"] {
	width: 110px;
	padding: 15px 20px;

	-webkit-transition: all .3s ease .1s;
	-moz-transition: all .3s ease .1s;
	-o-transition: all .3s ease .1s;
	-ms-transition: all .3s ease .1s;
	transition: all .3s ease .1s;
}

.nav > li.nav-search input[type="submit"] {
	display: block;
	float: left;
	width: 20px;
	height: 54px;
	padding: 0 25px;
	cursor: pointer;

	background: #372f2b url(../img/search-icon.png) no-repeat center center;

	border-radius: 0 3px 3px 0;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-ms-transition: all .3s ease;
	transition: all .3s ease;
}

.nav > li.nav-search input[type="submit"]:hover { background-color: #4b4441; }

/* Menu Dropdown */
.nav > li > div {
	position: absolute;
	display: block;
	width: 100%;
	top: 50px;
	left: 0;

	opacity: 0;
	visibility: hidden;
	overflow: hidden;

	background: #f9f9f9;
	border-radius: 0 0 3px 3px;

	-webkit-transition: all .3s ease .15s;
	-moz-transition: all .3s ease .15s;
	-o-transition: all .3s ease .15s;
	-ms-transition: all .3s ease .15s;
	transition: all .3s ease .15s;
}

.nav > li:hover > div {
	opacity: 1;
	visibility: visible;
	overflow: visible;
}

/* Menu Content Styles */
.nav .nav-column {
	float: left;
	width: 20%;
	padding: 2.5%;
}

.nav .nav-column mh3 {
	margin: 20px 0 10px 0;
	line-height: 18px;
	
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 14px;
	color: #372f2b;
	text-transform: uppercase;
}

.nav .nav-column mh3.orange { color: #ff722b; }

.nav .nav-column li a {
	display: block;
	line-height: 26px;
	
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
	color: #888888;
}

.nav .nav-column li a:hover { color: #115CCB; } /* Hover color for menu labels */

/** Finish Navigation Menu **/

#page #content {
	margin: 0;
	padding: 10px;
	border-left: 1px solid rgb(153, 153, 153);
	border-right: 1px solid rgb(153, 153, 153);
	border-bottom: 1px solid rgb(153, 153, 153);
	background-color: #fff;
	background-repeat: repeat-x;
	background-image: url("../images/navigation-shadow.gif");
}

#page #content img {
	border: none;	
}

#page #content #sidebar {
	float: right;
	width: 180px;
}

#page #content #sidebar #donate h1 {
	margin: 0;
	margin-top: 5px;
	font-size: 12pt;
}

#page #content #sidebar #donate p {
	margin: 0;
	margin-top: 5px;
	margin-bottom: 5px;
	color: #666;
	font-size: 9pt;	
	line-height: 12pt;
}

#page #content #sidebar #donate form {
	text-align: center;
}

#page #footer {
	margin: 0;
	margin-top: 10px;	
}

#page #footer p#copyright {
	margin: 0;
	color: #999;
	font-size: 9pt;
	text-align: center;
}

#page #footer p#host {
	margin: 0;
	margin-top: 3px;
	color: #aaa;
	font-size: 8.5pt;
	text-align: center;
}

#page #footer p#host a.service {

	color: #aaa;

	text-decoration: none;
}

#page #footer p#host a.provider {
	color: rgb(124, 159, 255);
	text-decoration: none;
}

#page #footer p#host a:hover {
	text-decoration: underline
}

/*--------------------------------------------------------
 * RATINGS
 *--------------------------------------------------------*/
 
div.rating {
}

div.rating ul {
	width: 80px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

div.rating p {
	margin: 0;
	padding: 0;
	font-size: 0.695em;
	text-align: center;	
}

div.rating ul li {
	float: left;
	width: 16px; 
	height: 16px;
	background-image: url("../images/rating.gif"); 
	background-position: 0px 0px;
}

div.rating ul li.current-rating {
	background-position: 0px 32px;
}

div.rating ul li.user-rating {
	background-position: 0px 16px;
}

/*--------------------------------------------------------
 * FORM
 *--------------------------------------------------------*/

form dl dt {
	clear: both;
	float: left;
	width: 6em;
	font-size: 0.85em;
	font-weight: bold;
	line-height: 1.75em;	
}

form dl dd {
	float: left;
	margin: 0;
	margin-bottom: 1em;	
	line-height: 1.75em;	
}

form dl dd input#email {
	width: 15em;	
}

form dl dd input#subject {
	width: 30em;
}
 
form dl dd textarea#message {
	width: 30em;
	height: 15em;
}

form dl dd ul.errors {
	margin-left: 2em;
	color: red;	
	font-size: 0.75em;
}

ul.flash-messages li.success {
	padding: 0.25em;
	border: 1px solid rgb(0, 175, 0);
	background-color: rgb(0, 225, 0);
	list-style-type: none;
}

ul.flash-messages li.error {
	padding: 0.25em;
	border: 1px solid rgb(175, 0, 0);
	background-color: rgb(225, 0, 0);
	list-style-type: none;
}


/* Bullets */


ul.bullet {
  list-style-type:square;
  padding-left: 20px;
}

/* Open Rails Parameter Table */

table.para_table {
  font-size:12px;
  color:#333333;
  width:100%;
  border-width: 1px;
  border-color: #000000;
  border-collapse: collapse;
  }
  
table.para_table th {
  font-size:14px;
  background-color:#D99594;
  border-width: 1px;
  padding: 5px;
  border-style: solid;
  border-color: #000000;
  text-align:center;
  }
  
table.para_table tr {
  background-color:#ffffff;
  }
  
table.para_table td {
  font-size:12px;
  border-width: 1px;
  padding: 5px;
  border-style: solid;
  border-color: #000000;
  }

table.para_table tr:hover {
  background-color:#ffff99;
  }
  
/* Open Rails Parameter Table - Divider row */
table.para_table_subhead {
  font-size:14px;
  font-weight: bold;
  background-color:#F2DBDB;
  border-width: 1px;
  padding: 5px;
  border-style: solid;
  border-color: #000000;
  text-align:center;
  }

/* Information Table - Multiple Rows */

table.info_mult {
	border-width: 1px;
	border-style: solid;
	border-color: black;
	width:90%;
	border-collapse:collapse;
	background-color: white;
	}
	
table.info_mult th {
	border-width: 2px;
	padding: 2px;
	border-style: solid;
	border-color: black;
	background-color: rgb(226, 226, 226);
	}
	
table.info_mult td {
	border-width: 1px;
	padding: 2px;
	border-style: solid;
	border-color: grey;
	background-color: white;
	}

table.info_mult tr:hover {
  background-color:#ffff99;
  }

/* Information Table - Single Row */

table.info {
	border-width: 2px;
	border-style: solid;
	border-color: black;
	border-collapse:collapse;
	background-color: white;
	}
table.info th {
	border-width: 2px;
	padding: 0em 1em;
	border-style: solid;
	border-color: black;
	border-collapse:collapse;
	background-color: rgb(226, 226, 226);
	}
	
table.info td {
	border-width: 1px;
	padding: 0em 1em;
	border-style: solid;
	border-color: grey;
	border-collapse:collapse;
	background-color: white;
	}


/* Special styles for text inclusions */

highlight#para{
  color: #86CCAF;
  font-weight: bold;
  font-style: italic;
}

highlight#feature{
  color: #E263E9;
  font-weight: bold;
  font-style: italic;
}

highlight#file{
  color: #94D939;
  font-weight: bold;
  font-style: italic;
}

highlight#key{
  color: #FF9EAE;
  font-weight: bold;
  font-style: italic;
}

highlight#advanced{
  color: #D786E0;
  font-weight: bold;
  font-style: italic;
}
	
highlight#hud{
  color: #D648E6;
  font-weight: bold;
  font-style: italic;
}

highlight#path{
  color: #E935B9;
  font-weight: bold;
  font-style: italic;
}



/* FAQs */

p#faq_q{
color: blue;
}

p#faq_a{
color: red;
}


/* ------------------------------------------------

Physics parameters - font colours

---------------------------------------------------*/

font#chg {

color: rgb(244, 26, 41);

}

font#sam {

color: rgb(20, 171, 17);

}


font#exp {

color: rgb(31, 26, 244);

}

/* ------------------------------------------------

Special font colour formats

---------------------------------------------------*/

font#orange {

color: rgb(242, 135, 28);

}

font#red {

color: rgb(253, 63, 63);

}

font#green {

color: rgb(40, 160, 16);

}

font#pink {

color: rgb(253, 160, 151);

}

font#blue {

color: rgb(75, 72, 234);

}

font#mauve {

color: rgb(231, 39, 241);

}

/* ------------------------------------------------

Formula formats

---------------------------------------------------*/

.formula {	
padding-left: 40px;
}

/*-----------------------------------------------------------

     Banner Adds
     
  ----------------------------------------------------------*/     

.body {
	position: relative;	
}

.banner-ad--left,
.banner-ad--right,
.banner-ad--narrowskyleft,
.banner-ad--narrowskyright {
	display: none;
}
		

/* smallest screen size use no banner adds  */


@media (max-width: 1200px) {
	
	.banner-ad-group {
		width: 1000px;
		margin: auto;
	}	
	
}


/* Test  */


@media (min-width: 1201px) and (max-width: 1615px){
	
	.banner-ad {
		position: absolute;
		top: 18px;
	}
	
	.banner-ad--narrowskyleft,
	.banner-ad--narrowskyright {
		display: block;
	}

	.banner-ad--narrowskyleft {
		left: 8px;
	}
	
	.banner-ad--narrowskyright {
		right: 8px;
	}

}


/* Max Screen resolution - use largest banner adds */		
@media (min-width: 1616px) {

	.banner-ad {
		position: absolute;
		top: 18px;
	}
	
	.banner-ad--left,
	.banner-ad--right {
		display: block;
	}
	
	.banner-ad--left {
		left: 8px;
	}
	
	.banner-ad--right {
		right: 8px;
	}
	
	
/*--------------------------------------------------------
 * BOX
 *--------------------------------------------------------*/
 
.file-box-file {
    background-color:  rgb(222, 222, 222);
    width: 600px;
    padding: 10px;
    border: 3px solid  rgb(0, 0, 0);
    margin: 5px;
} 

.file-box-wagon {
    background-color:  rgb(206, 245, 250);
    width: 800px;
    padding: 10px;
    border: 2px solid  rgb(11, 6, 250);
    margin: 5px;
} 

.file-box-wagon-inside {
    background-color:  rgb(206, 245, 250);
    width: 565px;
    padding: 10px;
    border: 2px solid  rgb(11, 6, 250);
    margin: 5px;
} 

.file-box-steam {
    background-color:  rgb(250, 225, 148);
    width: 800px;
    padding: 10px;
    border: 2px solid  rgb(242, 184, 0);
    margin: 5px;
}    
    
.file-box-steam-inside {
    background-color:  rgb(250, 225, 148);
    width: 565px;
    padding: 10px;
    border: 2px solid  rgb(242, 184, 0);
    margin: 5px;    
} 	

.file-box-diesel-inside {
    background-color:  rgb(107, 253, 162);
    width: 565px;
    padding: 10px;
    border: 2px solid  rgb(8, 184, 45);
    margin: 5px;    
} 

.file-box-diesel {
    background-color:  rgb(107, 253, 162);
    width: 800px;
    padding: 10px;
    border: 2px solid  rgb(8, 184, 45);
    margin: 5px;
}  
	
div.center {
  text-align: center;
  margin-top: 20px;
}
	
/*--------------------------------------------------------
 * ENG and WAG Group format classes
 *--------------------------------------------------------*/

details {
 margin-left:50px;
}

details[open] summary {
color:darkblue;
}

summary {
	margin-left:-25px;
}

summary:hover {
	background: #d4d1ec;
 	cursor:pointer;
}
 