/*general body - used by main portal document */ 
body{
	width: 100%;
	padding: 0;
	font-family: arial,helvetica,verdana,sans-serif;
	font-size:.8em;
	margin: 0;
	background: #eee;
}

/*PART 1 - MAIN LAYOUT BLOCKS*/
/*outer wrapper for portal content (decorative - child is #portalContainer )*/
#portalOuterContainer {
    background-color: #EEE;
}

/*inner wrapper for portal content (decorative - children are #header #container and #footer )*/
#portalContainer {}

/*wrapper masthead  and site navigation 
 two possible states - logged in headerMax, not logged in - headerMin*/
#headerMax,#headerMin{
	margin: 0;
	height: 100px;
	background: #004B97 url(images/tab_bg.gif) bottom left repeat-x;}
	/*overflow:hidden;*/
}

/*accessibility links wrapper */
#skipNav{
}

/*wrapper for site content (includes as children #toolMenuWrap,#content and #footer)*/
#container{
	/*width: 98%;*/
	clear:both;
	margin: 0 auto;
	padding-top: 10px;
}

/*wrapper for #toolMenu - children are #worsiteLogo,#toolMenu*/
#toolMenuWrap{
	float: left;
	width: 160px;
	color: #000;
	padding: 0 0 0 10px;
}
/*
#toolMenuWrap:hover{
	border-right:2px solid #09c;
	}*/
/*depending on site type - different hover effects for the tool menu parent block
site types are a local setting - adjust 
.workspace #toolMenuWrap:hover{
	border-right:2px solid #aaa;
}
.course #toolMenuWrap:hover{
	border-right:2px solid #FC6;
}
.project #toolMenuWrap:hover{
	border-right:2px solid #9CF;
}*/


/*wrapper for site content (portlets) -  children can be #col1 or #col1of2 and #col2of2 depending in the number of columns*/
#content{
	padding: 0;
	margin-top: .5em;
	margin-left: 170px;
}
/*margin tweak for IE to avoid float drop*/
* html #content{margin-left:170px;}
/*wrapper for footer blocks*/
#footer{
	color: #000;
	font-size: x-small;
	margin: 0px;
	padding: 0;
	width: auto;
	clear: both;
	top: 0;
	text-align: center;
}

/*PART 2 - HEADER IFRAME SETTINGS*/	
/*iframe sizes for different states*/
/*gone for 2.3
.sitenav-log{
	user not logged in
	height: 90px;
	width: 100%;
	border-bottom:1px solid #09c
}

.sitenav-max{
	user logged in 
	height: 7.8em;
	max-height:140px;
	min-height:100px;
	width: 100%;
}

* html .sitenav-max{
	user logged in - iframe height tweak for IE
	height: 8em;
	}
.sitenav-min{
	no logos or banners
	height: 2em;
	width: 100%;
}*/

/*PART 3 - HEADER BLOCKS (BRANDING,LOGIN)*/
/*depending on site type - different border-bottoms for the site menu parent block
site types are a local setting - adjust 
.workspace .siteNavWrap{
	border-bottom:3px solid #aaa;
}
.course .siteNavWrap{
	border-bottom:3px solid #fc6;
}
.project .siteNavWrap{
	border-bottom:3px solid #9cf;
}*/
#siteNavWrapper{
	margin: 0;
}



/*wrapper for mast head elements - children are 3 blocks - #mastLogo,#mastBanner,#mastLogin*/
#mastHead{
	clear: both;
	height: 65px;
	color: #FFF;
	background-color: #036;
}

/*container wrapping branding images - portal outputs one /library/skin/<skin name>/images/logo_inst.gif
that can be used or hidden,can also use a background:url(images/<image name>.<ext>) in this block,or both superimposing them*/
#mastLogo{
	float: left;
	width: auto;
}

/*the portal outputs an image that can be treated here or hidden with display:none*/
#mastLogo img{
	margin: 15px 0 0 10px;
}

/*another container wrapping branding images - portal outputs one /library/skin/<skin name>/images/banner_inst.gif
that can be used or hidden,can also use a background:url(images/<image name>.<ext>) in this block,or both superimposing them*/
#mastBanner{
	width: auto;
	vertical-align: top;
	float: left;
}

/*the portal outputs an image that can be treated here or hidden with display:none*/
#mastBanner img{
	margin: 1em .5em;
}

/*container wrapping,depending on Sakai settings:1) a login form,2) a login link for CAS,3) a logout link*/
#mastLogin{
    color: #FFF;
	float: right;
	text-align: right;
	padding-right: 15px;
	vertical-align: top;
}

/*the anchor for the login link for CAS above can be an image - treated here*/
#mastLogin img{
	margin-top: 0;
	border: 0;
}

/*login links for CAS,logout link*/
#mastLogin a,#mastLogin a:visited{
	color: #FFF;
	margin-top: 0;
}

#mastLogin a:hover{
	color: #7DBEFF;
	text-decoration: none;
}

/*login form elements - in order,form,userid field,password field,login button - first 2 have labels associated with them,gettable as #loginForm label{
}

#loginForm is the form for login - contains children #eid #pw #submit*/
#loginForm{
	margin: 1em 0;
}

#eid{
	border: 1px solid #aaa;
	padding: 0 2px;
	margin-left: .5em;
	width: 7em;
}

#pw{
	border: 1px solid #aaa;
	padding: 0 2px;
	margin-left: .5em;
	width: 7em;
}

#loginForm label{
	color: #FFF;
	padding: 0 .5em
}

#submit{
}

#submit:hover{
	color: #09c;
}

/*block for login/logout links */
#loginLinks{
	margin: 1em 0 2em 0;
}

/*main CAS link*/
#loginLink1{
}

/*secondary CAS link*/
#loginLink2{
}

/*PART 4 - SITE NAVIGATION - children of #siteNavBlock*/
/*outer wrapper for the site navigation blocks - it is a class,not an id because it can be overloaded with other values having to do with site type
so for example <div class="tabHolder workspace"> so that different site types can be treated differently via inheritance - children are #siteNavWrap and #navBottom*/
.siteNavWrap{
	/*background: #004B97 url(images/tab_bg.gif) top left repeat-x;*/
	min-height: 35px;
	_height: 35px;
	padding: 0;
	margin: 0;
	clear:both;
}

/*wrapper for the site links and site <select> blocks - children are #siteNav and #tabNav */
#siteNav{
	width:100%;
}

/*wrapper for the site link list   - the #siteLinkList child)*/
#linkNav{
    padding-left: 10px;
	float:left
}
/*wrapper for the site <select> that is displayed when more than x sites are in the link list*/
#selectNav{
	padding: 10px .4em 0 .2em;
	text-align: right;
	vertical-align: middle;
	float:left;
}

/*the <select> contextually defined*/
#selectNav select{
	display:inline;
	font-size: .8em;
	margin: 0 3px;
	padding: 0;
}

#selectNav select option{
	background: #fff;
}

/*a ul - the li below are outer wrappers for the links to sites */
#siteLinkList{
/*	white-space: nowrap;
	line-height:2em;*/
	list-style: none;
	font-size: .9em;
	margin: 0;	
	padding: 0;
	width: auto;
	
}

/*list elements - children are <span> and <a>*/
#siteLinkList li{
	display: block;
	/*line-height: 2em;*/
	height: 35px;
	background: url('images/tab_spacer.gif') top right no-repeat;
	float: left;
}
#siteLinkList li.selectedTab {
    background: url('images/r_tab.gif') top right no-repeat;
}

/*span shim for fine grained manipulation of link display (decorative)*/
#siteLinkList li a span {
    display: block;
    padding: 10px 10px 0 10px;
}

/*the current sites' link*/
#siteLinkList .selectedTab a,
	#siteLinkList .selectedTab a:link,
	#siteLinkList .selectedTab a:visited,
	#siteLinkList .selectedTab a:hover{
	color: #036;
	cursor: text;
	font-weight: bold;
	text-decoration: none;
	background: url('images/l_tab.gif') top left no-repeat;
}

/*links to other sites*/
#siteLinkList a,#siteLinkList a:link,#siteLinkList a:visited{
	display: block;
	height: 35px;
	color: #fff;
	padding: 0;
	text-decoration: none;
	float: left;
}

/*hover state for links to other sites*/
#siteLinkList a:hover{
	color: #7DBEFF;
}

.fixTabsIE{
	visibility: hidden;
	display: none;
	border-width: 0;
}

/*block in case need to display any decorative element above or below the .tabHolder block*/
#navBottom{
	display: none;
}

/*PART 5 - SITE TOOL LINKS  - children of #toolMenuWrap	*/
/*wrapper for ul that lists the links to tools*/
#toolMenu{
	width: 150px;
	padding: 0;
	margin: 0;
	color: #fff;
}

#toolMenu ul{
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #004E9B;
}

#toolMenu li{
	margin: 0;
	padding: 0;
}

/*span shim for fine grained manipulation of link display (decorative)
also hide if are going to be using icon links (as background of <a> nad <li>
*/

#toolMenu li span{
/*comment this line for a return to sanity
display:none*/
}
#toolMenu li.selectedTool {
    color: #000;
    background-color: #fff;
    border: 1px solid #6C0;
}

#toolMenu li.selectedTool span {
    display: block;
    padding: 5px .5em 4px .5em;
}

#toolMenu li a:link,#toolMenu li a{
	display: block;
	width: auto;
	height: 100%;
	color: #fff;
	text-decoration: none;
	padding: 5px .5em 4px .5em;
	/*background: #0065CA url('images/toolnav_bg.gif') top left repeat-x;*/
	background-color: #0065CA;
	border-bottom: 1px solid #004E9B;
	border-left: 1px solid #004E9B;
	border-right: 1px solid #004E9B;
	/*border-style: solid;
	border-color: #0065CA #004E9B #004E9B #0065CA;*/
}
#toolMenu li a:hover{
    color: #fff;
	text-decoration: underline;
}

#toolMenu li a.selected{
	text-decoration: none;
	color: #fff;
	cursor: text;
}

#toolMenu li a.selected:hover{
	text-decoration: none;
	color: #fff;
	cursor: text;
}

/*PART 6 - SITE AFFILIATION,SITE TYPE/STATUS AND PRESENCE - children of #toolMenuWrap	*/
/*site logo wrapper*/
#worksiteLogo{
	margin: 0;
	padding: 0;
	line-height: 0;
	overflow: hidden;
}

/*site logo image - Sakai may output,depending on installation,an image here based in site affiliation. Site owner may also point to a url - overriding the Sakai provided image*/
#worksiteLogo img{
	display: block;
	margin: .5em auto;
}

/*wrapper for the string that Sakai will output based on site type (ie. project,course) this is open ended and institution specific*/
#siteType{
	display: none;
}

/*wrapper for the string that Sakai will output based on site status when status is "Unpublished"*/
#siteStatus {
	text-transform: capitalize;
	text-align: left;
	background: url(images/warn.gif) .2em center no-repeat #fff;
	border: 1px solid  #aaa;
	clear: both;
	color: #aaa;	
	font-size: 	small;
	margin: 5px 2px 15px 2px;
	padding: 3px 3px 3px 2em;
}

/*wrapper for all elements of presence display */
#presenceWrapper{
	margin-top: .5em;
	width: 150px;
	background-color: #fff;
	border: 1px solid #999;
}

/*wrapper for title of iframe ("Users present")*/
#presenceTitle{
	font-size: .7em;
	text-align: right;
	margin-right: .5em;
}

/*of presence iframe*/
#presenceIframe{
	height: 100px;
	width: 100%;
}

/*PART 7 - PORTLETS - children of #content*/
/*a page may display portlets in one column or two columns - the next three id selectors address the three possiblities - sole child of column is the .portlet */
#col1{
	padding-right: .5em;
}

#col1of2{
	width: 49%;
	float: left;
	margin: 0;
}

#col2of2{
	width: 50%;
	float: right;
}

/*wrapper class for portlets - decorative -  contains two wrapper block children:.portletTitleWrap and  .portletMainWrap*/
.portlet {
    margin-bottom: 15px;
}

#col1 .portlet {
	width: 99%;
}

#col1of2 .portlet, #col2of2 .portlet {
	width: 98.5%;
}

/*.portletTitleWrap are wrappers for the tool title documents,
below they are contextually defined depending on the column as an example,as you may want to adjust the widths accordingly*/ 
#col1 .portletTitleWrap{
	/*width: 99%;*/
	background: #004E9B url('images/l_corner.gif') top left no-repeat;
}

#col1 .portletMainWrap{
	/*width: 99%;*/
	background-color: #FFF;
	border: 1px solid #6c0;
}

#col1of2 .portletTitleWrap,#col2of2 .portletTitleWrap{
	/*width: 98.5%;*/
	background: #004E9B url('images/l_corner.gif') top left no-repeat;
}

#col1of2 .portletMainWrap,#col2of2 .portletMainWrap{
	/*width: 98.5%;*/
	background-color: #FFF;
	border: 1px solid #6c0;
}

.portletTitle{
	width: 100%;
	height:100%;
	overflow:hidden;
	background: url('images/r_corner.gif') top right no-repeat;
}

.portletTitle .title img{
	margin: 0;
	vertical-align: text-bottom;
	width: 18px;
	border:none;
	height: 16px;
}

.portletTitle .title{
	padding: 3px 4px 6px 6px;
	height: 1em;
	float: left;
	color: #FFF;
}

.portletTitle .title h2{
	display: inline;
	margin: 0;
	padding: 0;
	color: #FFF;
	font-weight: bold;
	font-size: .9em;
}

.portletTitle .title a {
	background: url(images/reload.gif) center left no-repeat;
}

.portletTitle .title a:hover{
	background: url(images/reload_h.gif) center left no-repeat;
}

.portletTitle .action{
	padding: 2px 6px 6px 2px;
	text-align: right;
	vertical-align: middle;
}

.portletTitle .action img{
	margin: 0;
	border:none;
	vertical-align: text-bottom;
	width: 16px !important;
}

.portletTitle .action a{
	background: url(images/help.gif) center right no-repeat;
}

.portletTitle .action a:hover{
	background: url(images/help_h.gif) center right no-repeat;
}

.portletTitle .action a#jsr-edit{
        padding:2px;
        background: url(images/page_edit.gif) center right no-repeat;
}
        
.portletTitle .action a#jsr-edit:hover{
        background: url(images/page_edit.gif) center right no-repeat;
}       

/*iframes for portlet title and portlet content*/
/*gone for 2.3
.portletTitleIframe{
	margin: 0;
	height: 1.8em;
	width: 100%;
}
*/
.portletMainIframe{
	text-align: left;
	width: 100%;
	height: auto;
	border: none;
}
#col2of2 .portletMainIframe {
    width: 99.9%;
    _width: 100%;
}

/*PART 8 - FOOTER BLOCKS - descendants of #footer TODO - unpack the 3 descendants and make them all children*/
/*wrapper for links going to external sites - links are output as a series  separated via pipes (TODO:make a list already)*/
.footerExtNav{
	padding: 2px 0 10px 0;
}

/*the links displayed inside the wrapper above*/
.footerExtNav a,.footerExtNav A:link,.footerExtNav A:visited {
	color: #000;
	text-decoration: none;
	margin: 1em;
}

.footerExtNav a:hover {
	color: #666;
	text-decoration: underline;
	margin: 1em;
}

/*a second wrapper - server info,build,etc*/
#footerInfo {
	/*font-size: xx-small;*/
	margin: 0 auto;
	width: 144px;
	height: 32px;
	text-align: center;
	clear: both;
	background: url('images/logo_credits.gif') top left no-repeat;
}

#footerInfo a {
    display: none;
}
/*
#footerInfo img{
	margin-top: .5em;
	margin-bottom: .5em;
}
*/

/*a third wrapper - reserved for copyright blurbs*/
.sakaiCopyrightInfo {
    padding: 10px 0;
}

/*PART 8 - CONVENIENCE*/
/*used to hide various blocks from sighted users that are in the source to help with accessibility*/
.skip{
	display: inline;
	position: absolute;
	top: -999px;
	left: -999px;
	height: 0;

}
