/* ZERO OUT GLOBAL ELEMENTS --------------------------------- */
/* --------------------------------------------------------- */

body, h1, h2, h3, h4, p, li, ul {
  margin: 0px; /* Removes default margin that some browsers add. */
  padding: 0px; /* Removes default padding that some browsers add. */
}

/* SET THE BODY STYLES ------------------------------------- */
/* --------------------------------------------------------- */

body {
  font: 14px Georgia, "Times New Roman", Times, serif; /* Sets the default size of the text to 100% of the user's default. Also sets the default font families for text throughout the page. */
  color: #000000; /* Sets the default color of the text. */
  background: #C1C2DB; /* Sets the background image to tile across the x axis of the page. Also sets the background color in case images are turned off or are unavailable. */
  text-align: center; /* Centers the page in various versions of WinIE5. */
}
/* STYLE THE MAIN WRAPPER DIV ------------------------------- */
/* --------------------------------------------------------- */

#wrapper {
	text-align: left; /* Resets the text alignment to left to override what was set for versions of WinIE5. */
	margin: 0px auto; /* Centers the content of the page within the window in all but versions of WinIE5. */
	width: 810px; /* Sets the overall width of the layout. */
	background-image: url(../img/bg.jpg);
	background-repeat: repeat-y;
}

/* STYLE THE HEADER DIV ------------------------------------ */
/* --------------------------------------------------------- */

#header {
  background: url(../img/testa.jpg) no-repeat center top; /* Sets a centered, non-repeating background image on the header div of the layout. */
  height: 273px; /* Sets the height of the header to the same height as the background image. */
}

#header h1 {
	padding-left: 415px; /* Sets large left padding on the h1 element so that the logo image within moves to the right of the clouds in the header background image. */
}

#header span {
	position: absolute; /* Takes the span (that holds the text for the H1 text) out of the document flow so that it can be positioned in an exact place on (or off) the page. */
	left: -3000px; /* Puts the text within the h1 way off screen so that visual users to not see it. */
}

/* STYLE THE NAVIGATION DIV ---------------------------------*/
/* --------------------------------------------------------- */

.QS_menulist {
	width: 710px; /* Sets the width of the nav DIV to 641 pixels. */
	background: no-repeat;/* Adds a non repeating background image to the nav DIV. */
	height: 45px; /* Sets the height of the DIV to the height of the background image. */
	margin-left: 50px;
	
}
.QS_menulist ul {
	list-style-type: none; /* Removes default list bullets. */
	font-size: 18px;  /* Sets the font size to 100% of the user's browser preference, */
	text-align: left; /* Centers items in nav list. */
	padding-top: 13px;
	font-family: Georgia, "Times New Roman", Times, serif;
}
.QS_menulist li {
	display: inline; /* Changes list items from block to inline elements so that links flow side by side. */
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #BFC1DA;
}

.QS_menulist li a:link, .QS_menulist li a:visited {
  color: #000000; /* Sets color of unvisited and visited links to  white. */
  text-decoration: none; /* Removes default underline on links. */
  padding: 5px; /* Adds 5 pixels of padding around the links. */
  margin-right: 7px; /* Adds space to the right of each list item. */
  margin-left: 7px; /* Adds space to the left of each list item. */

}
.QS_menulist li a:hover, .QS_menulist li a:active, .QS_menulist li a:focus {
  color: #C1C3DC; /* Changes text color of links to blue on hover, activation, and focus. */
}
.QS_menulist li a#sel {
  color: #C1C3DC; 
}
#topcurva {
	background-image: url(../img/topcurva.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	height: 29px;
	width: 760px;
	margin-left: 25px;
}
/* STYLE THE INNER WRAPPER THAT HOLDS THE COLUMNS ---------- */
/* --------------------------------------------------------- */

#innerwrapper {
	background: url(../img/bgmain2.jpg) repeat-y left top; /* Adds a background image to the column container that repeats on the y axix as long as there is content in either column. */
	float: left; /* Floating all columns and their container helps avoid IE bugs.*/
	width: 760px; /* Sets the width of the column container to 641 pixels, the total width of the layout. */
	padding: 0px;
	margin-left: 0px;/* IE 6.0 */
	margin-left: 25px!important;
	display: inline;
}

/* STYLE THE CONTENT COLUMN --------------------------------- */
/* --------------------------------------------------------- */

#content {
	float: left; /* Floats the content DIV to the left of the layout. */
	width: 525px;
	padding-left: 25px;
	
}
#content ul {
	padding-left: 30px;
	list-style-image: url(../img/dotSG.jpg);
	list-style-type: none;
}
#content li {
	padding-top: 5px;
	padding-bottom: 5px;
}

#content h2 {
	padding-top: 5px; /* Adds 5 pixels of padding to the top of the h2 element. */
	padding-right: 5px; /* Adds 5 pixels of padding to the right of the h2 element. */
	padding-bottom: 5px; /* Adds 5 pixels of padding to the bottom of the h2 element. */
}

#content span {
	position: absolute; /* Takes the span (that holds the text for the H2 text) out of the document flow so that it can be positioned in an exact place on (or off) the page. */
	left: -3000px; /* Puts the text within the h1 way off screen so that visual users to not see it. */
} 


#content p {
  font-size: 85%;  /* Sets the font size to 85% of the user's browser preference, */
  margin-top: 5px; /* Places 5 pixels of margin above content paragraphs. */
  margin-right: 10px; /* Places 10 pixels of space between the right edge of the content paragraphs and the right edge of the container. */
  margin-left: 20px; /* Places 20 pixels of space between the left edge of the content paragraphs and the left edge of the container. */
  line-height: 1.4; /* Opens up the spacing (leading) between lines of text. */
}
#content #cimg {
	border: medium solid #FFFFFF;
	padding: 1px;
}


#sidebar {
	float: left; /* Floats the sidebar to the left within its container. */
	width: 196px;
	padding-left: 10px;
}

#sidebar h2 {
	font-size: 100%;  /* Sets the font size to 100% of the user's browser preference, */
	font-weight: normal; /* Removes the default bolding that the browser puts on heading text. */
	margin-top: 20px; /* Adds 20 pixels of top margin so that the baseline of the  sidebar h2 text starts at the baseline of the Welcome image. */
	margin-right: 10px; /* Adds some space on the right of the h2 to make sure it doesn't touch the edge of the container. */
	margin-left: 4px; /* Adds some space on the left of the h2 to make sure it doesn't touch the left edge of the container. */
}

#sidebar p {
	font-size: 80%;  /* Sets the font size to 80% of the user's browser preference, */
	margin-top: 10px; /* Adds top margin to the paragraph text so that the baseline of the first line is even with the first line of text in the first content paragraph. */
	margin-right: 10px; /* Adds some space on the right of the h2 to make sure it doesn't touch the edge of the container. */
	margin-left: 4px; /* Adds some space on the left of the h2 to make sure it doesn't touch the left edge of the container.*/
}
#footer {
	background: url(../img/footer.jpg) no-repeat left top; /* Places a non repeating background image on the footer, and positions it at the top center of the DIV. */
	height: 103px; /* Sets a height that equals the height of the background image. */
	margin-left: 25px;
}
#footer p {
  font-size: 70%;  /* Sets the font size to 70% of the user's browser preference, */
  text-align: center; /* Aligns footer paragraph text in the center of the DIV. */
  padding-top: 60px; /* Pads the footer paragraph text so that it starts in the soft, rounded, green rectangle. */
}

/* CLASSES FOR IMAGES AND CLEARING FLOATS -------- */
/* --------------------------------------------------------- */

.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 */
	font-size: 1px; /* Sets the font size to 1 pixel */
	line-height: 0px; /* Sets line-height to 0 -font and line-height, even if not explicitly on the page, might add diemnsion to the clearing element rather than make it larely invisible */
	clear: both; /* Keeps floated divs from draping over objects beneath them. */
	height: 0px; /* Makes sure the clearing element has no height */
}

.lftflt {
	float: left; /* Moves the image to the left side of its container and allows text to flow around its right side. */
	margin-right: 8px; /* Adds 8 pixels of space to the right of the image so that it does not touch the text */
	border: medium solid #FFFFFF;
}
.firma{
	text-align: right;
	font-style: italic;
}
div.line hr{ /* take out the troublemaking HR */
display:none;
}
div.line { /* DIV that wraps and replaces the HR */
background: transparent url(../img/hr.jpg) no-repeat center center;
height: 30px;
}
