@charset "utf-8";
body  {
	/* don't use a font size of 100.0% cos else it makes the font six differnt dizes in
	relationship to the image in diff browsers */
	font: 24px Arial, Helvetica, sans-serif;
	background: #edf6fa;
	margin: 0; 
	padding: 0;
	text-align: center; 
	color: #666;
	/*border: 3px solid blue;*/
}
/* highlight the current page on Nav by identifying the body section */
body#home a#homenav,
body#services a#servnav,
body#webdev a#webdevnav,
body#contact a#contactnav {
	color: #fff;
	/*background: #d9121b;*/
	background: #fc1516;
}
/* div, h1, h2, h3, h4, h5, p{
	border: 1px dashed #ccc;
}*/
/* This is everything */
#wrapper {
	width: 32.5em;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #edf6fa;
	
	margin: 0 auto; /*the auto margins (in conjunction with a width) center the page */
	text-align: left;
	/* border: medium dashed #C09;*/
	/* border: 3px solid blue;*/
	/* border: 3px solid pink*/
} 
/* This is header and main contents area */
#upper-wrapper {
	background-image: url(../images/Bina_bg_90op.jpg);
	background-repeat: no-repeat;
	/* you need this border to be invisible to enable the image to start at the TOP of the window */
	 border-top: 0.1px solid #edf6fa;
	height: 24.375em;
}


#header {
	/*background: #f9ad8a; #0b73b0; #4ba4f3 #218ad1*/
	 text-align: center;
	background-color: #edf6fa;
	margin-top: 0.55em;
	/* border: medium dashed blue;
	/* padding: 0 10px 0 20px;  this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	
} 
#header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	color: #4487bb;
	font-size: 1.8em;
	line-height: 1.5em;
	
}
.redletter {
	color: #fc1516;
	font-size: 0.725em;
	font-family: "arial black", "sans serif";
	
}

.invisiblespace {
	background-color: #edf6fa;
	color: #edf6fa;
}
/* the Header link is picking up default info, so clear it all */
#header a:link,
#header a:visited, 
#header a:hover, 
#header a:active {
	text-decoration: none;	
	border-bottom:none;
}

#navigation {
	float: left;
	
}

#navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: left;
	width: 3.75em;
}
#navigation ul li {
	background-color: #4487bb;
	/* this margin would be the space between the buttons */
	margin: 0px;
	/* have to respecify width cos in IE it won't color-fill the li otherwise 
	width: 4.75em;*/
	border-right: 2px solid #dcf0fa;
	border-bottom: 1px solid #dcf0fa;
	font-size: 0.65em;
}

/* define the links of the navigation */
#navigation ul a:link,
#navigation ul a:visited {
	display: block;
	padding: 0.87em 0.87em;
	text-decoration: none;
	color: #dcf0fa;
	border-bottom: none;
	
}
#navigation ul a:hover, 
#navigation ul a:active {
	color: #FFF;
	background-color: #fc1516;
	border-bottom: none;
}
#MainContents-wrapper {
	float: right;
	/* size the box you need one dim cos you're floating.  Specify height below*/
	width: 26em;
	
}
#MainContentsOpaq_bg {
	/* IEBug.  Left margin not setting to 0, so float right and indent from there (to force Layout) */
	max-height: 34em;
	margin-top: 2em;
	margin-right: 2.75em;
	/*background-color: #edf6fa;*/
	background-color: #fff;
	filter:alpha(opacity=90);
	/* CSS3 standard */
  	opacity:0.9;
	/* Moz less translucent cos it won't give white background to gallery images which is distracting on scrolling */
	-moz-opacity:0.9;
	-khtml-opacity:0.9;
	/*border: 2px solid #555;*/
}
#MainContentsText {/* set the size of the text box, in relation to the box created above */
	position: relative;
	left: 0px;
	top: 0px;
	color: #444444;
	padding: 0.87em;
	font-size: 0.465em; /* x 24 is 11.16pt for basic text  */
	max-height: 34em;
	line-height: 120%;
	overflow: auto;
}
#MainContentsText h3{
	font-size: 1.5em;
	color: #666;
	/* ie doesn't acknowledge the inherited margin, so pad a little on the top: */
	padding-top: 1em;
	
}
#MainContentsText h4{
	font-size: 1.24em;
	color: #666;
	
}
#MainContentsText h5{
	/* clear left to clear image box 'above' */
	clear: left;
	font-size: 1em;
	line-height: 100%;
	margin-bottom: 0.5em;
	color: #333;
}
#MainContentsText ul {
	list-style-position: inside;
	margin: 0;
	padding: 0;
}
.image_float {
	float:left;
	/* the images are sized at 120px x 60px */
	width:10em;
	height:5em;
	background-color: #fff;
	
	border: 1px solid #999;
	margin: 0.5em 1em 0.5em 0;
}
#MainContentsText p{
	font-size: 1em;
	line-height: 120%;
	padding: 0;
	
}
.addressblock p{
	padding: 0;
	margin: 0;
}



/* regular links in main contents */
a:link,
a:visited {
	color: #666666;
	text-decoration: none;
	border-bottom: 1px dotted #999;
	
}
a:hover,
a:active {
	color: #39729a;
	text-decoration: none;
	border-bottom: 1px solid #4487bb;
	
}
#footer-wrapper {
	
	padding: 0; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background: #edf6fa;
	/* put a top border on to 'lay' down over the nav above*/
	
	
	border-top: 1px solid #edf6fa;
	
} 
#footer-wrapper p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	color: #666;
	font-size: 0.43em;
	line-height: 1.63em;
	text-align: right;
}
#footer-wrapper a:link,
#footer-wrapper a:visited {
	color: #666666;
	text-decoration: none;
	border-bottom: none;
	
}
#footer-wrapper a:hover,
#footer-wrapper a:active {
	color: #444444;
	text-decoration: underline;
	border-bottom: none
	
}


/*binalogic link*/
#footer-wrapper a.binalogic:link, #footer-wrapper a.binalogic:visited{
	color: #666666;
	text-decoration: none;
}
#footer-wrapper a.binalogic:hover, #footer-wrapper a.binalogic:active {
	color: #fc1516;
	color: #222;
	text-decoration: none;
	
}

.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

abbr, acronym, .help {
  border-bottom: 1px dotted #333;
  cursor: help;
  }


