* {
	outline:none;
	}

body  {
	background: #fff;
	margin: 0; 
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #wrapper selector */
	color: #000000;
}

#wrapper { 
  min-width:790px;
  max-width:1000px;
  /*this next expression prevents the css from validating*/
  width:expression(document.body.clientWidth < 790? "790px" : document.body.clientWidth > 1000? "1000px" : "auto");

	background: #FFFFFF;
	text-align: left; /* this overrides the text-align: center on the body element. */
  background:#fff url(../images/nav-bg.gif) repeat-y top right;
  margin:0;
}  
  
#branding-wrapper { 
  background:url(../images/branding-top-left.jpg) no-repeat top left; 
  }
  
#top { 
	background: #DDDDDD; 
  height:60px;
  background:url(../images/branding-top-right.gif) no-repeat top right;
} 


/* Tips for #photos:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the "#photos p" rule.
*/
#photos {
	float: left; 
	width: 160px; /* since this element is floated, a width must be given */
	padding: 15px 0; /* top and bottom padding create visual space within this div */
  border-right:dashed 1px silver;
}
#nav-bar {
  color:#fff;
	float: right; 
	width: 182px; /* since this element is floated, a width must be given */
}

/* Tips for #content:
1. If you give this #content div a font-size value different than the #photos div, the margins of the #content div will be based on its font-size and the width of the #photos div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between #content and #photos is created with the left margin on the #content div.  No matter how much content the #photos div contains, the column space will remain. You can remove this left margin if you want the #content div's text to fill the #photos space when the content in #photos ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #content div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give #content "hasLayout." This avoids several IE-specific bugs that may occur.
*/
#content {
 	margin: 0 182px 0 160px; /*was 150px left margin*/
	padding: 0 2em 2em 2em; 
	min-height:350px;
	height:auto !important;
	height:350px;

} 
#footer { 
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
  background:#363 url(../images/branding-bottom-right.gif) no-repeat right;
} 
#footer 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;
}

/* Miscellaneous classes for reuse */
.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;
}


/*-----TEXT-----*/  
body {
	font-size:small;
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	}
p {
	font-size: 90%; 
	letter-spacing: 0px; 
	word-spacing: 0px; 
	font-style: normal; 
	text-align: justify; 
	font-weight: normal;
	}

h1 {
	font-size:130%;
	color:#600;
	font-variant:small-caps;
	/*background:url(../images/arrow-fwd.gif) no-repeat left;*/
	/*text-indent:18px;*/
	margin-bottom:10px;
	line-height:110%;
}

h2 {
	font-size:110%;
	font-variant:small-caps;
	color:#333;
	margin-bottom:.2em;
}

h3 {
	font-size: 90%; 
	font-weight:bold;
	}
a {
	color:#363;
	font-weight:bold;
	text-decoration:none;
}

#footer p {
	color:#ccc;
	padding:6px 0px;
	font-size:75%;
	}	
	
#content ul {
	font-size:90%;
	font-style: normal;
	text-transform: none;
	color: #600;
	text-decoration: none;
	text-indent: 5px;
	line-height:140%;
	list-style-type: square;
	margin:5px 0px 5px 20px;
}

#content ul .common li {
	list-style-type: square;
	}
a:hover {
	color:#999;
	}
	
.read-more {
	float:right;
	text-align:left;
	margin:0;
	padding:0 20px 0 0;
	background:url(../images/arrow-fwd-double.gif) no-repeat right top;
	}
.back {
	float:right;
	text-align:left;
	text-indent:20px;
	background:url(../images/arrow-back-double.gif) no-repeat left top;
}
.alert {
	font-weight:bold;
	color:#369;
	}
.note {
	font-style: normal;
	color:#369;
	}	
.referer {
	font-weight:bold;
	margin-top:-.7em;
	margin-bottom:.5em;
	}

/*-----NAV SYSTEM-----*/
#nav-bar {
	margin-left: 0px;
	}
#nav-bar ul {
	font-size:11px;
	margin: 0;
	padding: 0;
	list-style-type: none;
	}
#nav-bar a {
	display: block;
	padding: 4px 10px;
	width: 162px;
	color: #fff;
	background-color: #333;
	text-decoration: none;
	font-weight:bold;
	line-height:150%;
}
#nav-bar ul li {
	border-bottom:1px solid #000;
}	

#nav-bar ul li a:hover {
	background:#fff;
	color:#000;
	}
/*current-section is being handled by the array below it	
#nav-bar .current-section a:link, #nav-bar .current-section a:visited, #nav-bar .current-section a:hover {
	background:#fff;
	color:#000;
	}*/

/*Highlights the section*/	
#nav-bar .current-section a,
#courses #nav-bar .courses a,
#pro-massage-training #nav-bar .courses a,
#apprenticeship #nav-bar .courses a,
#short-courses #nav-bar .courses a,
#benefits #nav-bar .courses a,
#advanced #nav-bar .courses a,
#massage-training-portugal #nav-bar .portugal-section a,
#portugal-training-schedule #nav-bar .portugal-section a,
#individual-sessions #nav-bar .individual-sessions a,
#massage-training-testimonials #nav-bar .massage-training-testimonials a,
#links #nav-bar .links a,
#contact #nav-bar .contact a

 {
	background:#fff;
	color:#000;
	}
	
#nav-bar ul ul a {
	/*font-family:arial, helvetica, sans-serif;*/
	color:#ccc !important;
	background:#000 !important;
	font-size:100%;
	margin-left:8px;
	text-indent:12px;
	padding:1px 0 0 0!important;
	font-weight:normal !important;
	}
#nav-bar ul ul li a:hover {
	color:#fff !important;
	background:url(../images/arrow-fwd.gif) no-repeat left !important;
	}
#nav-bar .courses ul, #nav-bar .portugal-section ul {
	display:none;
	}
.courses-section #nav-bar .courses ul, .portugal-section #nav-bar .portugal-section ul {
	display:block;
	}

/*Highlights and makes an arrow for the sub-section (working together with the php code in nav.php)*/
#nav-bar .current-page a
 {
	color:#fff !important;
	background:url(../images/arrow-fwd.gif) no-repeat left !important;	
	}
	
/*-----LEFT SIDE IMAGES-----*/
#photos a, #photos img {
	display:block;
	/*background:url(../images/arrow-back.gif) no-repeat top right;*/
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}

#photos img {
	  border:solid 1px black;
	  }

