body {
	font:normal 0.9em Helvetica, Arial, sans-serif;
	margin: 0;
	padding:0;
	color: black;
	text-align:center;
}

p {
  text-align:left;
}


h1 {
 font-family: Helvetica, Arial, sans-serif;
 font-weight: bold;
 font-size: 2.0em;
 color:black;
 margin-bottom: 30px;
 text-align: center;
}


h2 {
 font-family: Helvetica, Arial, sans-serif;
 font-weight: bold;
 font-size: 1.6em;
 color:#555;
 margin-top: 35px;
 margin-bottom: 10px;
 text-align: center;
}

h3 {
 font-family: Helvetica, Arial, sans-serif;
 font-weight: bold;
 font-size: 1.2em;
 color:black;
 margin: 0px;
 text-align: left;
}

h4 {
 font-family: Helvetica, Arial, sans-serif;
 font-weight: bold;
 font-size: 0.9em;
 margin:0;
 padding:0;
 margin-bottom: 3px;
 text-align: left;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
	color: #000;
}

a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #f00;
}

table {
	font:normal 0.75em Helvetica, Arial, sans-serif;
	margin: 0;
	padding:0;
	color: black;
	text-align:left;
}

img {
  border:0px;
}

iframe {
  margin:0;
  padding:0;
  width: 520px;
  height: 350px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  float: none;
}

fieldset {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid #ccc;
  background: #f8f8f8;
  width:500px;
}

legend {
  font-weight: bold;
  font-size: 0.9em;
}

label {
  float: left;
  width:190px;
  font-size: 0.9em;
  /*background-color: yellow;*/
}

input#company_name,
input#province,
input#zipcode,
input#sales_manager,
input#keyword,
input#sales_manager,
input#pic_description,
input#product_1,
input#product_2,
input#product_3,
input#product_4,
input#other,
input#phone,
input#fax,
input#mobile,
input#website,
input#email,
input#securitycode
 {
  width: 270px;
  border: 1px solid gray;
}

input[type="text"] {
  width: 270px;
  border: 1px solid gray;
}

input[type="file"] {
  width: 270px;
  border: 1px solid gray;
}

textarea {
  width: 270px;
  height: 100px;
  border: 1px solid gray;
}

.required {
  font-size: 0.75em;
  color: #760000;
}

.moredetails {
  font-style: normal;
  font-size: 0.75em;
  color: #666;
}

p.small {
  font-style: normal;
  font-weight: bold;
  text-align: left;
  font-size: 0.85em;
  color: #333;
}

p.disclaimer {
  font-style: normal;
  text-align: left;
  font-size: 0.80em;
  color: black;
  margin-top: 5px;
  margin-bottom:15px;
  line-height: 1.2em;
}

li.small {
  text-align: left;
  font-size: 0.95em;
}



/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
	background: #fff url(http://www.buyby.us/img/page_bg.gif) top repeat-x;
	background-color: white;
}

#container {
  margin-top: 0;
	width:520px;
	background: url(http://www.buyby.us/img/buybyus.gif) top center no-repeat;
	margin:0 auto;
	text-align:center;
}

#title_container{
	width:520px;
	padding-top:12px;
	text-align:center;
}

#title{
	font:normal 11px Helvetica, Arial, sans-serif;
	letter-spacing: 5px;
	text-transform:uppercase;
	color:#555;
	padding-left: 5px;
}

#title_container h1{
  text-align: center;
  margin:0;
  padding:0 auto;
	width:300px;
	height:40px;
	text-indent: -2000px;
}


#top_menu {
	margin:0 auto;
	text-align:center;
	width:520px;
	margin-top:12px;
}

ul#mainlevel-nav
{
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-weight: bold;
}

ul#mainlevel-nav li
{
	background-image: none;
	padding-left: 0px;
	padding-right: 0px;
	margin: 0;
	font-size: 14px;
	line-height: 18px;
	font-weight: bold;
	white-space: nowrap;	
	display: inline;
	text-align: center;
}

ul#mainlevel-nav li a
{
	display: inline;
	text-align: center;
	padding-left: 8px;
	padding-right: 8px;
	padding-bottom:0;
	text-decoration: none;
	font-weight: bold;
	color: black;
}
ul#mainlevel-nav li a:hover
{
	color: red;
}

a.iframelink:link {
  padding-left:14px;
  background: url(http://www.buyby.us/img/nocheck.gif) left center no-repeat;
	text-decoration: none;
	font-weight: normal;
	color: #000;
}

a.iframelink:hover {
  padding-left:14px;
  background: url(http://www.buyby.us/img/nocheck.gif) left center no-repeat;
	text-decoration: none;
	font-weight: normal;
	color: #f00;
}

a.iframelink:visited {
  padding-left:14px;
  background: url(http://www.buyby.us/img/check.gif) left center no-repeat;
	text-decoration: none;
	font-weight: normal;
	color: #666;
}

#infotext {
  font-size: 0.8em;
  line-height: 1.2em;
  text-align: center;
  color:#555;
}

#footer, #footer p {
  margin-top:25px;
  font-size: 0.85em;
  line-height: 1.2em;   
  text-align: center;
  color:#555;
}

#detailframe {
  margin: 5px;
  font-size: 1.0em;
  line-height: 1.2em;
  text-align: left;
  color:black;
}

#info {
  font-size: 1.0em;
  font-weight: bold;
  color:black;
  text-align: center;
  margin-bottom: 30px;
}

#error {
  font-size: 1.0em;
  font-weight: bold;
  color:red;
  text-align: center;
  margin-bottom: 30px;
}

#success {
  font-size: 1.0em;
  font-weight: bold;
  color:green;
  text-align: center;
  margin-bottom: 30px;
}

#disclaimer {
  font-size: 0.9em;
  font-weight: normal;
  color:#555;
  text-align: center;
  margin-bottom: 30px;
}

#companyborder {
	width: 520px;
	padding-left: 10px;
	border: 1px solid #ccc;
	float:left;
	background: #f8f8f8;
	text-align: left;
	margin-bottom: 25px;
}

#leftstuff {
	width: 300px;
	float: left;
	margin-top: 10px;
	/*background-color: yellow;*/
}

#rightstuff {
  width:200px;
  float:right;
  font-size: 12px;
  margin-top: 10px;
  /*background-color: red;*/
}


#pic {
  margin:0;
  padding:0;
  width:300px;
  float:right;
  color:gray;
  margin-bottom: 5px;
}

#picdescr {
  margin:0;
  padding:0;
  width:300px;
  float:right;
  color:gray;
  font-size: 12px;
  padding-bottom: 20px;
}
