@import url("PrintShared.css");
@import url("Interactive.css");



body  {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	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 #container selector */

	/*font-family: Verdana, Arial, Helvetica, Geneva, sans-serif;  */
	/*font-size: 70%;*/

}

/* hide accessibility links from visual browsers */
#access
{
	position: absolute;
	left: -999px;
	width: 990px;
}

#browserSupport
{
	display:none;
	speak:none;
}	

#container
{
	min-width: 950px; /* This stops the layout (especially the primary navigation) from being impractically narrow */

}	

	
/* Header styles */
#header
{

  clear: both;
  float: left;
  width: 100%;

	
  
 
}

#header img
{
	display:block;
}

#header #banner_wrap /* The strip at the very top of the page */
{
	background: url(Yellow/circles.jpg) repeat-x bottom left;
	background-color: #ffd648; /* yellow */

	width: 100%; 	/* 2 */
	height: 87px; 	/* 2 */
	
}	

#header #qglogo
{
	float:left;
}

#header #tools
{
	float: right;
	width: 550px;

}

#header #tools #links
{
	
	height: 25px;
	padding-right: 250px;
	background: url(Yellow/tbar.jpg) right no-repeat;
}

#header #tools #search
{
	float:right;
	margin-top: 10px;
}	

/*  The next 2 rules ensure that the Search form in the top right 
    is consistent between static and ASP.NET pages, and also
    that it's wide so that people's login names won't push things
    out of position. */
#header #tools #search #searchbox
{
    width: 157px;

}

#header #tools #search #ctl00_SearchTextBox
{
    width: 157px;
    margin-left: 4px;
}

#header #tools #search form
{
    margin-top: 0;
    padding-top: 0;
}
	
#header #tools a
{
	color: #555;
	text-decoration: none;
}

#header #tools a:hover
{
	color: White;
}

/* General tag styles - the appearance for normal tags (e.g. hyperlinks, headings) are set here. */

h1
{
	font-size: 150%;
	color: #dc9c01; /* Golden colour as used by College */
}

h2
{
	font-size: 130%;
	color: #dc9c01; /* Golden colour as used by College */
}	
h2 li
{
	font-size:100%;
	color: #dc9c01; /* Golden colour as used by College */
	list-style: none;
}

h3
{
	font-size: 110%;
	color: #dc9c01; /* Golden colour as used by College */
}

h6
{
	color: #6699FF; /* pale blue */
	font-size: small;
	margin-bottom: 4px;
	border-bottom: solid 1px #6699FF;
}	
	
a:hover
{
	text-decoration: underline;	
}

a:visited
{
	color: #cc6633; /* dark orange  */
}	

a
{
	color: #cc6633; /* dark orange  */
	text-decoration: none;
}

table, th, td
{ 
	font-size: 100%; 
	font-family: Verdana, Arial, Helvetica, Geneva, sans-serif; 
}


table tr td.label{width:30%;}
table tr td.data{width:70;}

th
{
	background-color:#efe8ce; /* pale yellow to continue Interactive's yellow gradient */
	font-weight: bold;
}


.Grid th
{
	border-left: 1px solid #C1DAD7;
}

.Grid td
{
	border: solid 1px #999999;
}
	
.Grid tr.alt
{
	background-color: #FFF8DC; /* Cornsilk */
}

#LoggedInGreeting
{
    color: #999999;
    margin-bottom: 4px;
}	

#content ul li
{
	padding: 2px 10px 2px 10px;
}	

/* Arrowed UL lists, such as Quick Links in the leftmost column */
div.sf2
{
	padding-left: 1em;
	padding-right: 1em;
}
	
div.sf2 ul
{
	margin: 0px;
	padding: 0px;
	list-style: none;

}

div.sf2 li
{
	padding: 5px 5px 0px 15px;
	background: url(../images/arrow.jpg) no-repeat;
}	

div.sf2 li a:hover
{
	text-decoration: underline;
}

div.sf2 li a:visited
{
	color: Gray;
}	


div.sf2 li a 
{
	color: Gray;
	text-decoration: none;
}

/** Right hand side. e.g. Online Services, My Profile etc area **/

.sf1 div.information
{
    color: #777777;
    padding: 3px 3px 0px 9px;
    margin: 0;
}

.sf1 ul
{
	margin: 1em;
	padding: 0; /* Without setting padding to 0, Firefox gives too much padding on the left */
}	

.sf1 li.login 
{
	list-style: none;
	padding: 7px 5px 7px 24px;
	background: url(../images/login.gif) no-repeat;
}

.sf1 li.print 
{
	list-style: none;
	padding: 7px 5px 7px 24px;
	background: url(../images/print.gif) no-repeat;
}	
.sf1 li.rightMenu {
	margin:0;
	list-style:none;
	padding:0px 5px 0px 0px;
}
.sf1 li.service {
	margin:0;
	list-style:square;
	list-style-position:inside;
	padding:0px 5px 0px 0px;
}



/* Tips for this Hybrid layout
1. Since the side columns em-based sizing is based on the user's default font size, you will want to be sure that background graphics in the columns take that into account. Built correctly, this is more accessible for those that need larger font sizes, since the width of the columns remains proportionate. If this is undesirable with your design, simply change the width to a pixel size and be sure to change the margins on the #content div accordingly.
2. Since the sizing of side columns in this layout are based on the 100% font size in the body element, if you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the column widths will downsize proportionately. You may want to increase their widths, and the size of the #content div's side margins, to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #content is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
4. The #container div is not necessary for this layout at the 100% width. You may want to use it to create faux columns or limit the width of the layout.
5. It is not neccessary to have the 100% width on the #container div since, by nature, a div takes up 100% of the available space. It is here so that if you want to decrease the size of the overall container - perhaps leaving a bit of margin on each side - this will already be available for adjustment.
*/
#container { 
	width: 100%;
	background: #FFFFFF;
	/*margin: 0 auto;  the auto margins (in conjunction with a width) center the page if needed */
	text-align: left; /* this overrides the text-align: center on the body element. */
}  

/* Tips for sidebar1:
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 "#sidebar1 p" rule.
*/
#sidebar1 {
	
	float: left; 
	width: 20em; /* since this element is floated, a width must be given */
}

#sidebar2 {
	float: right; 
	width: 20em; /* 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 #sidebar1 div, the margins of the #content div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the content and sidebar1 is created with the left margin on the content div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #content div's text to fill the #sidebar1 space when the content in #sidebar1 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 the content "hasLayout." This avoids several IE-specific bugs that may occur.
*/
#content {
 	margin: 0 20em 0 20em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */ 
	padding: 0 2em 0 2em; /* padding here creates white space "inside the box." */
} 

#footer {
  clear: both;
  float: left;
  width: 100%;
	
  	border-bottom: 1px solid #ccc;
	margin-top: 20px;
}
#footer p {

	margin: 5px;
	text-align: center;
	
}

#footer a:hover
{
	color: #cc6633; /* dark orange colour */
}

#footer a:visited
{
	color: #666;
}	

#footer a
{
	color: #666;
}	

/* Miscellaneous classes for reuse */
.btn:hover
{
	background-image: url(../images/btn_over.png);
	border: 1px solid #555555;
}

.btn
{
	background-image: url(../images/btn.png);
	background-repeat: repeat-x;
	background-position: bottom right;
	height: 25px;
	padding-left: 4px;
	padding-right: 4px;
    border: 1px solid #9999BB;
    cursor: hand;	
}



#search .btn
{
    height: 19px;
}



/* can be used for little notice boxes for important messages */
.notice
{
	text-align: left;
	margin: 4px;
	display: block;
    padding: 4px;
    color: Red;
    font-weight: bold;
    background-color: #FFFFCC; /* pale butter yellow */
    border: 1px solid Black;
    
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=135);
	zoom: 1; /* this is just to give the object "layout", so the filter can apply */
    
} 

.notice table
{
	color:Black;
	font-weight:normal;
}

.notice table tr.bold
{
	font-weight:bold;
}

.noshadow
{
	filter: none;
}   

table.formal
{
width: 100%;
}    

/* Used by site search page */
table.formal td
{
    border: 1px solid #BABABA;
}

table.formal tr.alt td
{
    background-color: #FAFAFA;
}

table.formal tr td h2
{
    
}

table.formal tr td em
{
}

/* Used in various places, e.g. site search page */
.hide
{
    display: none;
}

.subtle
{
	color: #777777;
}







.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:30px;
    font-size: 1px;
    line-height: 0px;

}

/** One-off styles **/
/* Used on Registration Search results details view */
.detailsView
{
    width: 80%;
}

.detailsView td
{
    padding: 2px;
}

.detailsViewHeader
{
	text-align: right;
	font-weight: bolder;
	width: 50%;
}

/** Boxes for file downloads and publications **/
.MainContainer, .MainContainerBig{
	border: 1px solid Purple;
	background-color:#DFD6E9; /* pale purple */
	padding:3px; 
	width:500px; /* was 750px;  */
	height:auto;
	overflow: visible;
}
.InfoContainer{
	width: 50%; 


}	

.thumbnail a:hover img
{
	border-color: Red;
}

.thumbnail{
		width:71px;
		}
	
.thumbnail a img{

	border: 1px solid Purple; 
 

	}	
	
	
.download{
	height:104px; 
	width:152px; 
	float:right;
	
}
	
.download a img{
	width:152px; 
	
}

.info_top{
	border: 1px solid Purple;
	width:138px; 
	height:29px;
	}
.info_middle{
	border: 1px solid Purple; 
	border-top: 0;
	padding:0px; 
	width:138px; 
	height:30px;
}

.DescriptionContainer, .DescriptionContainerBig{

	width: 45%;
	float:right; 
	padding-left:5px;
	}

.TextContainer, .TextContainerBig{
	width: 100%;
	float:right; 
}

.FooterContainer{
	padding-top: 12px;
	width:100%; 
	clear: both;
	color: Gray;
	}			
.info_pos{
	width:100px; 
	height:20px; 
	float:right; 
	display:inline; 
	padding-top:6px;
	}
/* font styles */
a.PubTitle:hover{
	text-decoration:underline;
}

a.PubTitle:visited{
	color:Purple;  
	font-size: larger; 
	font-weight: bold;
}

a.PubTitle{
	color:Purple;  
	font-size: larger; 
	font-weight: bold;
}


/** Home page Login Form **/
#LoginForm, #LoginForm a{
	color: Purple;
	}
	
#LoginForm h3{
	margin-bottom: 7px;
	color: #666666;
}
	
#LoginForm input.imageButton{
	margin-right: 50px;
}	


/** Coloured boxes which have a h3 title and a UL of document links, e.g. /forms.html **/

.LinkSection {
	padding: 1em;
	border: solid 1px black;
	background-color:#FFFFCC;
}

.LinkSection h3
{
	margin-top: 5px;
}	

.LinkSection .LinkSubSection ul
{
	margin-bottom: 1em;
}	



/***LEFT HAND NAVIGATION (nav2xc) **/
#leftnav
{
	background-color: #ffd648; /* Golden yellow, as used by College nav2xc menu */
	padding: 1em;
}	


#leftnav ul
{
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#leftnav li
{
	padding: 7px 2px 4px 15px;
	border-bottom: 1px solid #dc9c01;
	background: url(../images/arrowb.jpg) no-repeat;
	color: #555555; /* mid grey - will end up applying to non-link menu items */
}	

#leftnav li a:hover
{
	text-decoration: underline;
}

#leftnav li a:visited
{
	color: #CC0000;
}	


#leftnav li a 
{
	color: #CC0000;
	text-decoration: none;

}
/* 
The .NET UL menu (And possibly /Menus/NewsMenu.ashx) has items which are just placeholders and have no page (no link).
The .NET control SimpleSiteMenu.cs will automatically give non-link <li> tags this class
*/
#leftnav li.menuItemNoLink 
{
    background: url(../images/arrowbd-nonlink.jpg) no-repeat;
}    


#leftnav ul ul li
{
	background-image: none;
	margin-left: 34px;
	padding-left: 0;
	color: #CC0000; /* this is needed to make sure the bullet points are the right color */
	list-style: square;
	border-bottom: none;
}


/** END LEFT HAND NAVIGATION **/

/**MAIN HORIZONTAL NAVIGATION tabs**/ 
.basictab { 
    height: 28px;
	margin: 0px;
	background: #ebebeb;
} 
* html .basictab { /*IE6 FIX - gap between horizontal menu & page*/ 
	margin-bottom: -1.5em; } 	
	
.basictab li{ 
	display: inline; 
	margin: 0; 
	
} 

.basictab li a:visited{ 
	color:#555; 
} 
.basictab li a
{ 
	float: left;	
	padding: 2px 8px 2px 8px; 
	
	border-right: 1px solid #fff; 
	color:#555; 
	
	font-style:normal;
	font-size:10px; 
	text-decoration: none; 
	
	text-align: center;
	
	height: 24px; /* GM 2009-06-04 Ensures highlight is full height even for single line links */
} 


.basictab li a:hover{ 
	background-color: #BBB5A5;
	color:#fff;} 
.basictab li a:active{ 
	color:#000; } 

/*for the single line menu items*/ 
.basictab li.last a{ 
	border-right: 1px solid #fff; 
	background-color: #ebebeb; 
	color:#555; 
	 } 
.basictab li.last a:visited{ 
} 
.basictab li.last a:hover{ 
	background-color: #BBB5A5;
	color: #fff; } 
.basictab li.last a:active{ 
	color:#fff; } 

/*first tab inverted tab colours style*/ 
.basictab li.selected a{ 
	background-color: #ffd648;  /*ffcc33*/
	color:#333; } 
.basictab li.selected a:visited{ 
} 
.basictab li.selected a:hover{ 
	cursor: default;} 
.basictab li.selected a:active{ 
	color:#fff; } 

/*first tab inverted tab colours style*/ 
.basictab li.selectedlast a{ 
background-color: #ffd648;  
color:#333; 
border-right: 1px solid #fff; 
padding: 8px 8px 8px 8px; } 
.basictab li.selectedlast a:visited{ 
} 
.basictab li.selectedlast a:hover{ 
	cursor: default;} 
.basictab li.selectedlast a:active{ 
	color:#fff;} 
/**navigation ends**/ 


@media print
{

	#header
	{
	display: none;
	}
	
	#footer
	{
	float:left;
	text-align:left;
	}
	
	#sidebar1
	{
	display: none;
	}
	
	#sidebar2
	{
	display: none;
	}
	
	#content
	{

	width: 100%;
	}
}
