/**********************************/
/* remove unwanted browser styling */
/**********************************/

body, p, h1, h2, h3, h4, ul, ol, li{
	margin: 0;
	padding: 0;
	font-weight: normal;
}

/**********************************/
/* general styling */
/**********************************/

@font-face {
    font-family: Baskerville;
    src: url('/American-Railway-Supply-Building/NewBaskervilleStd-Italic.otf');
    font-weight: 600;
}

@font-face {
    font-family: Avenir;
    src: url('/American-Railway-Supply-Building/AvenirLTStd-Medium.otf');
    font-weight: 100;
}

body {
	font-family: Baskerville, Georgia, serif;
	background-image: url('/American-Railway-Supply-Building/images/background.jpg');
	background-repeat: repeat;
	color: black;
}

#wrapper {
	position: relative;
	top: 60px;
	margin-left: auto;
	margin-right: auto;
	width: 960px;
	text-align: center;
}

.darktext {
	color: rgb(105,105,105);
}

.bodytext {
	color: rgb(137,137,137);
	font-style: italic;
	font-size: 12pt;
	line-height: 30px;
}

.titletext {
	color: rgb(137,137,137);
	font-style: italic;
	font-size: 16pt;
}

.shortlinebreak {
	position: relative;
	background-color: rgb(212,212,212);
	height: 1px;
	margin-left: auto;
	margin-right: auto;
	width: 140px;
	margin-top: 50px;
	margin-bottom: 50px;
}

a:hover {
	color: inherit;
	text-decoration: inherit;
}

a:link {
	color: inherit;
	text-decoration: inherit;
}

a:visited {
	color: inherit;
	text-decoration: inherit;
}

/**********************************/
/* images */
/**********************************/

#ironimage {
	position: absolute;
	top: 25px;
	left: 50%;
	margin-left: -35px;
	width: 70px;
}

#logoimage {
	position: relative;
	top: 120px;
	margin-bottom: 110px;
	width: 700px;
}

#mainimage {
	position: relative;
	margin-top: 50px;
}

#mapimage {
	position: relative;
	margin-top: 30px;
}

/**********************************/
/* top info */
/**********************************/

#topinfo {
	position: absolute;
	top: -40px;
	width: 960px;
	margin-bottom: 40px;
	text-align: left;
}

#topleft {
	right: 50%;
	margin-right: -60px;
	width: 350px;
	white-space: nowrap;
}

#topright {
	left: 50%;
	margin-left: 57px;
	width: 350px;
	white-space: nowrap;
}

.toptext {
	position: absolute;
	top: 55px;
	color: rgb(125,125,125);
	font-style: italic;
	font-size: 12pt;
	line-height: 20px;
}

/**********************************/
/* menu */
/**********************************/

#menu {
	position: relative;
	font-family: Avenir, helvetica, sans-serif;
	font-size: 15px;
	letter-spacing: 4px;
	top: 0px;
	left: 50%;
	margin-left: -392px;
	margin-bottom: 50px;
	width: 784px;
	height: 50px;
	z-index: 100;
}

.menuitem {
	margin-left: 25px;
	margin-right: 25px;
	color: rgb(137,137,137);
	padding-left: 3px;
}

.menuitem:hover {
	text-decoration: none;
	border-bottom: 2px solid rgb(137,137,137);
	cursor: pointer;
}

.menulinebreak {
	margin-left: 0px;
	height: 1px;
	width: 784px;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: rgb(212,212,212);
}

#about a {
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}

#contact a {
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}

#map a {
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}

.embellishmentline {
	margin-left: 50px;
	margin-bottom: 2px;
}

.embellishmentlineleft {
	margin-right: 50px;
	margin-bottom: 2px;
	-moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/**********************************/
/* about */
/**********************************/


#aboutbody {
	position: relative;
	width: 650px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

/**********************************/
/* contact */
/**********************************/

#contactbody {
	position: relative;
	width: 223px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

/**********************************/
/* map */
/**********************************/

#mapbutton {
	border: solid 1px rgba(0,0,0,1);
	width: 230px;
	height: 15px;
	padding: 15px;
	padding-top: 23px;
	display: inline-block;
	font-size: 14px;
	line-height: 8px;
	color: white;
	text-align: center;
	background-color: black;
	font-style: italic;
	margin-top: 30px;
	margin-bottom: 30px;
}

/**********************************/
/* footer */
/**********************************/

#footer {
	position: relative;
	margin-top: 100px;
	margin-bottom: 100px;
}


/**********************************/
/* different sizes */
/**********************************/

@media screen and (max-width: 960px) {
	body {
//		background-image: none;
//		background-color: red;
	}
	#wrapper {
		width: 768px;
	}
	#topinfo {
		width: 768px;
	}
	#logoimage {
		width: 650px;
	}
	#mainimage {
		width: 680px;
	}
	#mapimage {
		width: 680px;
	}
	#menu {
		margin-left: -340px;
		width: 680px;
	}
	.menulinebreak {
		width: 680px;
	}
	figure {
		width: 680px;
	}
}

@media screen and (max-width: 768px) {
	body {
//		background-image: none;
//		background-color: orange;
	}
	#wrapper {
		width: 550px;
	}
	#topinfo {
		width: 550px;
	}
	#topright {
		font-size: 10pt;
	}
	#topleft {
		font-size: 10pt;
		margin-right: -100px;
	}
	#mainimage {
		width: 500px;
	}
	#logoimage {
		width: 500px;
	}
	#mapimage {
		width: 500px;
	}
	#menu {
		margin-left: -250px;
		width: 500px;
	}
	.menulinebreak {
		width: 500px;
	}
	#aboutbody {
		width: 500px;
	}
}

@media screen and (max-width: 550px) {
	body {
//		background-image: none;
//		background-color: yellow;
	}
	#wrapper {
		width: 320px;
	}
	#topinfo {
		width: 320px;
		visibility: hidden;
	}
	#mainimage {
		width: 270px;
		margin-top: 20px;
	}
	#logoimage {
		width: 270px;
		top: 0px;
		margin-bottom: 10px;
	}
	.embellishmentline {
//		visibility: hidden;
		width: 50px;
		margin-left: 20px;
	}
	.embellishmentlineleft {
//		visibility: hidden;
		width: 50px;
		margin-right: 20px;
	}
	#mapimage {
		width: 270px;
	}
	#menu {
		margin-left: -135px;
		margin-bottom: 50px;
		width: 270px;
		font-size: 13px;
		letter-spacing: 2px;
	}
	.menuitem {
		margin-left: 13px;
		margin-right: 13px;
	}
	.menulinebreak {
		width: 270px;
	}
	.shortlinebreak {
	margin-top: 30px;
	margin-bottom: 30px;
	}
	#aboutbody {
		width: 270px;
	}
	#footer {
		margin-top: 50px;
	}
}

//@media screen and (max-width: 320px) {
//	body {
//		background-image: none;
//		background-color: green;
//	}
//}




