/***** Body and main container *****/

body          { font: 85%/1.6em Georgia, "Times New Roman", Times, serif; background-color: #fff; text-align: center; margin-top: 0; margin-bottom: 0 }

#wrap              { color: #1a284d; background-color: #fff; text-align: left; margin: 0 auto; width: 940px; clear: both }

#header         { color: #fff; background-image: url(images/ANS_logo_nostrap.gif); background-repeat: no-repeat; background-position: left 0; height: 150px }
#header2          { color: #fff; background-image: url(images/ANS_logo_nostrap_small.gif); background-repeat: no-repeat; background-position: left 0; height: 90px }
/***** Navbar *****/

div#navbar     { font-size: 0.9em; font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; background-image: url(images/nav_back2.gif); background-repeat: no-repeat; text-align: center; margin-top: 10px; padding: 5px 0 3px; height: 25px; border-top: 1px solid #9392cd; border-bottom: 1px solid #9392cd }



#navbar ul li a:link, #navbar ul li a:visited   { color: #393160; text-decoration: none; display: inline; margin-right: 0; padding: 3px 18px 3px 12px; border: none }



#navbar ul li a:hover, #navbar ul li a.current     { color: #707196; text-decoration: none }



#navbar ul li {
margin: 0px;
padding: 0px;
list-style-type: none;
display: inline;
}



#navbar ul {
margin: 0px;
padding: 0px;
}




/***** Main Content *****/
.news { color: #246; font-size: 1em; background-color: #fdff92; padding: 5px; width: 140px; border-color: #ff0;
border: #ff0 solid; }

#content     { color: #fff; line-height: 1.7em; text-align: justify; margin: 5px 10px 10px 180px; padding: 0; width: 390px }
.courses_background { background-color: #8470d3 }
news_section { top: 400px; width: 160px; float: left }
#rightinfo         { line-height: 1.7em; background-color: #000; text-align: center; width: 160px; float: right }
#rightinfopurple { line-height: 1.7em; background-color: #9400ba; text-align: center; width: 160px; float: right }
#scrolltext { width: 380px; height: 400px; overflow: scroll }
#leftinfo          { font-family: Verdana, Helvetica, Arial, sans-serif; background-color: #9400ba; width: 160px; float: left }

#lefthome     { font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 1.8em; background-color: #000; padding-top: 35px; padding-left: 10px; width: 200px }

#homeinfo         { line-height: 1.8em; text-align: left; padding-top: 15px; padding-right: 15px; padding-left: 15px; width: 300px; float: left }

#home_content  { color: #778d9d; font-size: 1.1em; font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 2.6em; background-color: #fff; text-align: center; padding: 30px; width: 460px; height: 300px }
#contact { 
color: #fff; 
font-size: 0.8em; 
padding-top: 20px; 
width: 200px; 
float: right }
#adverts { width: 180px; float: right; border-bottom: 1px dotted #9392cd }
#centrewrap  { margin-left: 330px; width: 420px }
#picturebox360  { padding: 5px; width: 370px; outline: solid 1px #9392cd }
#picturebox360-dark  { color: #faf0e1; background-color: #4d4e68; padding: 5px; width: 360px; outline: solid 1px #9392cd }
/***** Footer *****/

#footer   { color: #707196; font-size: 95%; text-align: center; margin: 0 auto; padding: 8px 0; clear: both; border-top: 1px solid #9091a9 }

#footer p {
padding:0;
margin:0;
}

#footer a {
color:#808080;
background-color:inherit;
text-decoration:none;
}

#footer a:hover {
text-decoration:underline;
}

/***** Various tags *****/

a     { color: #49358f; text-decoration: none }

a:hover   { color: #737289; text-decoration: underline }

a img {
border:0;
}

p   {
}


/***** Various classes *****/
.right_text    { color: #6c8093; font-size: 0.8em; line-height: 1.5em; text-align: left; padding: 5px; width: 250px }

.boxtext     { color: #4d4e68; font-size: 95% }
.boxtext_line_dark     { color: #faf0e1; font-size: 95%; border-bottom: 2px solid #9091a9 }
.boxtext_noline     { color: #faf0e1; font-size: 95%;}
.image_block { text-align: center; width: 200px; border-right: 1px solid #e5d9cc; border-left: 1px solid #e5d9cc }
.picture { text-align: center; margin-top: 20px; width: 500px }
.picture_heading  { color: #8a91a1; font-size: 160%; font-family: Georgia, "Times New Roman", Times, serif; font-weight: normal; line-height: 160% }
.page_heading {
	color: #8a91a1;
	font-size: 2.5em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	line-height: 1em;
}
.picture_caption  { color: #aaa6cf; font-size: 0.8em; font-style: italic; line-height: 1.5em; text-align: center; padding-top: 8px }
.right_sectionhead    { font-weight: bold; text-align: center; padding-top: 2px; padding-bottom: 2px; width: 260px; border-bottom: 1px dotted #a4b7c4 }
.heading1  { font-size: 130%; line-height: 130%; border-bottom: 1px dotted #9392cd }
.heading2 {
	font-size: 110%;
	border-bottom: 1px dotted #9392cd;
	text-align: center;
}
.event    { color: #f3ff9c; font-weight: bold; background-color: #770096; padding-left: 5px }
.intro_large  { font-size: 130%; line-height: 150%;}

.nextevent   { color: #fcffe7; font-size: 0.8em; font-weight: bold; background-image: url(images/redback.gif); background-repeat: no-repeat; padding-right: 4px; padding-bottom: 1px; padding-left: 2px }

.nexteventinfo   { color: #fcffe7; font-size: 0.8em; padding-right: 3px; padding-bottom: 3px; padding-left: 5px; vertical-align: top }

.events { padding-bottom: 6px; border-bottom: thin dotted #fa2400 }

.eventtype { color: #7fffd4; font-size: 0.8em; font-weight: bold; text-align: right }


/***** Gallery *****/




/* gallery-specific styles */

/* gallery container */
.gallery    { background-color: #4d0061; text-align: left; margin-left: 160px; padding: 0.5em; width: 580px }

.gallery a {
	text-decoration: none;
}
.gallery a img  { vertical-align: middle }

/* outer container for each image/caption pair */
.gallery p {
	display: inline;
}

/* For the <a> container, the best default display value is inline-table, but browser support isn't very good. Opera versions 6 and earlier totally mangle anything except display:table-cell, so that is set by default and the preferred display values are at the end of this stylesheet, within hacks that hide them from those Opera versions. No other browsers tested seemed to have any trouble with setting the different display values within a single rule. */

/* inner container for each image/caption pair */
.gallery a  { display: table-cell; margin: 0.5em; padding: 5px; width: 160px; min-width: 110px; vertical-align: top; border: solid 1px #4c5059 }


/* image container, sets height so image can be vertically centered and the caption starts in the same vertical position regardless of image height, except WinIE does not apply line-height to images. oh well, most other browsers do... */
.gallery span  { line-height: 170px; text-align: center; display: block; height: 170px; vertical-align: middle }

/* caption container, sets height (for 2 lines) so each outlined image/caption pair is the same height (except in WinIE) */
.gallery i  { color: #9ba2b1; font-size: 0.8em; font-style: normal; line-height: 120%; text-align: center; display: block; padding: 5px 5px 0; height: 2.5em }

/* Owen hack, hides from WinIE, Opera versions 6- & some KHTML */
head:first-child+body .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */
}

/* star-html hack to show <a> rule(s) just to IE (Win and Mac) */
* html .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */
}
/* image is not clickable in WinIE with display:block :( \*/
* html .gallery span {
	display: inline;
}
* html .gallery a:hover i {
	cursor: hand; /* otherwise cursor doesn't change over block <i> */
} /* end WinIE hacks */

/* end hacks */
