/* style.css for SAAO Intranet site                         */
/* Created by Arfon Smith, modified by Michelle Bassett     */
/* Merged with style files for SAAO and SALT Internet sites */
/* by Anne Charles, 15 February 2006                        */

body {
	margin:0px;
	font-family:foundry, verdana, arial, helvetica, sans-serif;
	color:#333;
	background-color:#E2E6EB;
}

#page{
	width: 800px;
	margin-top: 0px;
	clear: both;
}

/* 'clear' put a blank line in the template */
div.clear {
	clear: both;
	height:14px;
}

/* Positioning for the "Normal" column */
#page-normal{
	width: 790px;
	padding-left: 5px;
}

/* This ensures that all images do not have borders */
img{
	border: 0px;
}

#breadcrumbs{
	float: left;
	color: #505662;
	font-size: 12px;
	font-weight: lighter;
        margin-top: 3px;
        margin-left: 5px;
}

#login{
	float: right;
	color: #505662;
	font-size: 12px;
	font-weight: lighter;
        margin-top: 3px;
        margin-right: 5px;
}

#searchbox {
        float: right;
        margin-top: 3px;
}

#footer{
	width: 800px;
	text-align: center;
	font-size: 9px;
	font-weight: lighter;
	padding-top: 24px;
	color: #64748B;
	clear: both;
}

p.lastupdate{
        width: 780px;
        text-align: right;
        font-size: 9px;
        font-weight: lighter;
        padding-top: 24px;
        color: #64748B;
        clear: both;
}

/* text styles*/
p, li, td, th {
        font-size: 14px;
}

ul, li, ol, dd {
	text-align: left;
}

p.indent, div.indent {
        margin-left: 20px;
}

p.align-left, div.align-left, td.align-left, th.align-left {
	text-align: left; 
}
p.align-center, div.align-center, td.align-center, th.align-center { 
	text-align: center; 
}
p.align-right, div.align-right, td.align-right, th.align-right { 
	text-align: right; 
}

p.smaller, div.smaller, li.smaller, span.smaller, td.smaller, th.smaller {
        font-size: 10px;
}
p.small, div.small, li.small, span.small, td.small, th.small {
        font-size: 12px;
}
p.big, div.big, li.big, span.big, td.big, th.big {
        font-size: 16px;
}
p.bigger, div.bigger, li.bigger, span.bigger, td.bigger, th.bigger {
        font-size: 18px;
}

table.no_borders {
	border: 0px;
}
table.center {
        margin: auto;
}
table.padding2 {
}
table.padding2 th {
        padding: 2px;
}
table.padding2 td {
        padding: 2px;
}
table.padding10 {
}
table.padding10 th {
        padding: 10px;
}
table.padding10 td {
        padding: 10px;
}

table.line {
        border: 1px solid #333333; 
        border-collapse: collapse;
}
table.line th {
        border: 1px solid #333333; 
        border-collapse: collapse;
}
table.line td {
        border: 1px solid #333333; 
        border-collapse: collapse;
}
table.blue {
        background-color: #B0B0FF;
}
table.blue th {
        background-color: #EDEBF1;
}
table.blue td {
        background-color: #EDEBF1;
}

table.pink {
        background-color: #FFAAAA;
}
table.pink th {
        background-color: #FFEEEE;
}
table.pink td {
        background-color: #FFEEEE;
}

table.embossed {
        margin-top: 14px;
        margin-bottom: 14px;
        border-width: 1px 1px 1px 1px;
        border-spacing: 2px;
        border-style: outset outset outset outset;
        border-color: gray gray gray gray;
        border-collapse: separate;
}

table.embossed th {
        border-width: 1px 1px 1px 1px;
        padding: 1px 1px 1px 1px;
        border-style: inset inset inset inset;
        border-color: gray gray gray gray;
        -moz-border-radius: 0px 0px 0px 0px;
}

table.embossed td {
        border-width: 1px 1px 1px 1px;
        padding: 1px 1px 1px 1px;
        border-style: inset inset inset inset;
        border-color: gray gray gray gray;
        -moz-border-radius: 0px 0px 0px 0px;
}

table.contenttable {
        margin-top: 14px;
        margin-bottom: 14px;
        border-width: 1px 1px 1px 1px;
        border-spacing: 2px;
        border-style: outset outset outset outset;
        border-color: gray gray gray gray;
        border-collapse: separate;
        background-color: rgb(250, 240, 230);
}

table.contenttable th {
        border-width: 1px 1px 1px 1px;
        padding: 1px 1px 1px 1px;
        border-style: inset inset inset inset;
        border-color: gray gray gray gray;
        background-color: white;
        -moz-border-radius: 0px 0px 0px 0px;
}

table.contenttable td {
        border-width: 1px 1px 1px 1px;
        padding: 1px 1px 1px 1px;
        border-style: inset inset inset inset;
        border-color: gray gray gray gray;
        background-color: white;
        -moz-border-radius: 0px 0px 0px 0px;
}


/* Image caption text */
.csc-caption {
	font-size: 10px;
	text-align: center;
}

.csc-textpic-caption {
	font-size: 10px;
	text-align: center;
}

p.news-single-imgcaption {
        width: 240px;
}


/* Page content headings */
/* The browsers seem to interpret margin spec here as a page margin,
   not as a margin for the div */
div.csc-header{
	clear: both;
}

/* I got rid of an additional spacer image and a line break by setting */
/* lib.stdheader.stdWrap.space to 0|0 (from 0|5) in the TypoScript template. */
/* I don't see any other way than this to get rid of the second line break. */
/* ACC, 18 April 2006 */
div.csc-header br {
	display: none;
}

/* First page content heading */
h1.csc-firstHeader{
	font-size: 20px;
	text-align: center;
	padding-top: 15px;
}

/* Page content headings */
/* padding needs to be specified here because it doesn't work for div's */
h1{
	font-size: 18px;
	color: #64748B;
	font-weight: bold;
	padding-top: 10px;
}

h2 {
	font-size: 18px;
	color: #64748B;
	font-weight: normal;
}

h3 {
	font-size: 16px;
	color: #64748B;
	font-weight: bold;
}

h4 {
	font-size: 16px;
	color: #64748B;
	font-weight: normal;
}

h5 {
	font-size: 14px;
	color: #64748B;
	font-weight: bold;
}

h6 {
	font-size: 14px;
	font-weight: normal;
	color: #64748B;
}

/* 
		Horizontal, top-2-bottom menu
*/

/*		------	Basic style	------		*/
/* The width is 798px for the SAAO and SALT external sites,
   but 800px for the SAAO Intranet.
   The reason must have something to do with the html templates.
   Hopefully, as I merge the templates, this will be able to
   be set to the same value. ACC, 15 Feb 2006
*/
#menu {
	display: block;
	position: relative;
	top: 0;
	left: 0;
	float: left;
}

#menu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
}

#menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
	position: relative;
}

#menu a {
	display: block;
}

#menu li li {
	width: 100%;
}

/* fix the position for 2nd level submenus. first make sure no horizontal scrollbars are visible on initial page load... */
#menu li li ul {
	top: 0;
	left: 0;
}

/* ...and then place it where it should be when shown */
#menu li li:hover ul {
	left: 100%;
}

/* initialy hide all sub menus */
#menu li ul {
	display: none;
	position: absolute;
	z-index: 10;
}

/* display them on hover */
#menu li:hover>ul {
	display: block;
}

/* this is needed if you want to style #menu div - force containment of floated LIs inside of main UL */
#menuList:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}

/*		------   Make-up	--------			*/

#menu {
	background: #D1D1D6;
/*	border-left: 1px solid #64748B;
	border-right: 1px solid #64748B;
	border-bottom: 1px solid #64748B;
*/
	font-size: 11px;
	color: #FFFFFF;
}

/* Padding - Top Right Bottom Left */
#menu a {
	text-decoration: none;
	text-align: center;
	color: #49596B;
	padding: 5px 8px 5px 9px;
	font-size: 12px;
}

#menu li:hover>a {
	color: #FFFFFF;
	background: #64748B;
}

/* First level of drop-down menu */
#menu li ul {
	color: #FFFFFF;
	background-color: #64748B;
	border: 1px solid #FFFFFF;
	width: 130px;
}

/* Second level of drop-down menu */
#menu li li ul {
	width: 120px;
}

#menu li ul a {
	text-align: left;
}

#menu li li {
	background: none;
	border-bottom: 1px dotted #FFFFFF;
}

#menu li li a {
	font-size: 12px;
	font-weight: normal;
	color: white;
	text-align: left;
	text-transform: none;
	background: none;
	padding: 5px 0px 4px 5px;
}

/* Changes colour of roll-over */
#menu li li:hover>a {
	color: #FDB52A;
	background: #253449;
}


/* END MENU STYLES / FUNCTION */

