/*general body - used by main portal document */ 
body{
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Trebuchet MS',Verdana,sans-serif;
	font-size:.8em;
	background: #ebebe6;
}

/*PART 1 - MAIN LAYOUT BLOCKS*/
/*outer wrapper for portal content (decorative - child is #portalContainer )*/
#portalOuterContainer{

}

/*inner wrapper for portal content (decorative - children are #header #container and #footer )*/
#portalContainer{
	width: 992px;
	margin-top: 15px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;

}

/*wrapper masthead  and site navigation 
 two possible states - logged in headerMax, not logged in - headerMin*/
#headerMax,#headerMin{
	width: 98%;
	margin: 0px auto;
}
#headerMax {
}
#headerMin{
}

/*accessibility links wrapper */
#skipNav{
}

/*wrapper for site content (includes as children #toolMenuWrap,#content and #footer)*/
#container{
	width: 98%;
	clear:both;
	margin: 10px auto;
	padding: 0;
	background-image: url("images/content_bg.gif");
	background-repeat: repeat-y;
	background-color: white;
}

/*wrapper for #toolMenu - children are #worsiteLogo,#toolMenu*/
#toolMenuWrap{
	float: left;
	color: #000;
	text-align: right;
	padding:0;
}

/*wrapper for site content (portlets) -  children can be #col1 or #col1of2 and #col2of2 depending in the number of columns*/
#content {
	margin-top: 0;
	margin-left: 170px;
	padding: 15px 25px 25px;
	background: white;
}
#content:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/*margin tweak for IE to avoid float drop*/
* html #content{ height: 1%}

/*wrapper for footer blocks*/
#footer{
	color: #000;
	font-size: x-small;
	margin:0;
	padding: 14px 0 0 0;
	width: auto;
	clear: both;
	top: 0;
	/* border-top: 1px solid #09c; */
	background-image: url("images/content_bottom2.gif");
	background-repeat: no-repeat;
	background-color: #ebebe6;
	/*
	background-position: 163px 0; */
	text-align: center;
}
* html #footer{ height: 1%}

/*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 */

#siteNavWrapper{
	margin: 0;
	/* background: url("images/banner_kids.jpg") bottom left no-repeat white; */
}

/*wrapper for mast head elements - children are 3 blocks - #mastLogo,#mastBanner,#mastLogin*/
#headerMin #mastHead{
	clear: both;
	background: url("images/courses_bar.gif") bottom left no-repeat;
	margin: 0;
	height: 55px;
}
#headerMax #mastHead{
	clear: both;
	background: none;
	padding-bottom: 0; 
	margin: 0;
}
/*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{
	display:none;
}

/*the portal outputs an image that can be treated here or hidden with display:none*/
#mastLogo img{
	display:none;
}

/*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{
	display: none;
}

/*container wrapping,depending on Sakai settings:1) a login form,2) a login link for CAS,3) a logout link*/
#headerMin #mastLogin{
	text-align: left;
	padding-top: 10px;`
	vertical-align: middle;
	background: url("images/pageheader.jpg") top left no-repeat;
	background-position: 0px 2px;
	height: 20px;
}
#headerMax #mastLogin{
	text-align: left;
	padding-top: 10px;
	vertical-align: middle;
	background: #fff url(images/pageheader.jpg) top left no-repeat;
	background-position: 0px 2px;
	height: 18px;
}

/*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{
	margin-top: 0;
	color: #fff;
	font-weight: bolder;
	text-decoration: none;
	padding-right: 25px;
	font-family: verdana ;
	font-size: 12px;
}

#headerMin #mastLogin a, #headerMin#mastLogin a:visited{
	color:#000
}
#headerMax #mastLogin a, #headerMax #mastLogin a:visited{
	color:#fff;
	font-weight: normal;
	font-size: 12px;
}

#mastLogin a:hover{
	text-decoration: underline;
}

/*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{
	position: relative;
	top: 19px;
	left: 574px;
	width: 395px;
}

#eid{
	border: 1px solid #aaa;
	margin-left: 2px;
	margin-right: 15px;
	width: 7em;
}

#pw{
	border: 1px solid #aaa;
	margin-left: 2px;
	width: 7em;
}

#loginForm label{
	color: white;
	padding-right: 2px;
}

#loginForm input {
	font-size: 10px;
}

#submit{
}

#submit:hover {
	color: #e22;
}

/*block for login/logout links */
#loginLinks {
	position: relative;
	top: 22px;
	left: 910px;
	width: 80px;
	color: #77b2e0;
}

/*main CAS link*/
#loginLink1{
	color: #77b2e0;
}

/*secondary CAS link*/
#loginLink2{
	color: #77b2e0;
}

/*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{
	width: 100%;
	padding: 0;
	margin: 0;
	clear:both;
}

/*wrapper for the site links and site <select> blocks - children are #siteNav and #tabNav */
#siteNav{
	margin: 0;
	padding:0;
}

/*wrapper for the site link list   - the #siteLinkList child)*/
#linkNav{
	padding: 0 10px 0 30px;
	background: url("images/courses_bar.gif") top left no-repeat #9B0000;
	margin: 0;
}
/*wrapper for the site <select> that is displayed when more than x sites are in the link list*/
#selectNav{
	position:relative;
	top: -23px;
	right:68px;
	float:right;
}
/*the <select> contextually defined*/
#selectNav select{
	display:inline;
	font-size: .9em;
	margin: 0 3px;
	padding: 0;
}

/*a ul - the li below are outer wrappers for the links to sites */
#siteLinkList{
	list-style: none;
	margin: 0;	
	padding: 0;
	height: 27px;
	vertical-align: middle;
}

/* star hack to give the div 'layout' in IE */
* html #siteLinkList {
	height: 1%;
}

#siteLinkList:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}

/*list elements - children are <span> and <a>*/
#siteLinkList li{
	/* display: inline; */
	/*line-height: 2.3em; */
	padding: 0;
	margin: 0;
	display:inline;
	float: left;
}

/*span shim for fine grained manipulation of link display (decorative)*/
#siteLinkList li span{
	margin: 0;
	padding:0;
}

/*links to other sites*/
#siteLinkList a,#siteLinkList a:link,#siteLinkList a:visited{
	color: #fff;
	padding: 0 8px;
	height: 27px;
	line-height: 27px;
	font-size: 12px;
	text-decoration: none;
	margin:0;
	display: block;
	_display: inline-block;
	width: auto;
}

/*the current sites' link*/
#siteLinkList .selectedTab a,
	#siteLinkList .selectedTab a:link,
	#siteLinkList .selectedTab a:visited,
	#siteLinkList .selectedTab a:hover{
	color: white;
	text-decoration: none;
	background: url("images/nav_back.gif");
	/* height: 100%; */
	margin: 0;
	/* line-height: 27px; */
	/* padding: 6px 10px 6px 10px; */
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
}

/*hover state for links to other sites*/
#siteLinkList a:hover{
	color: #fff;
	text-decoration: none;
}

.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 ul {
	width: 170px;
	margin: 13px 0 0 0;
	padding: 0;
	list-style-type: none;
}

#toolMenu ul li {	
	font-size: 12px;
	font-family: verdana,arial,sans-serif;
	font-weight: normal;
	text-align: right;
	line-height: 0;
}
	
#toolMenu ul li a {
	display: block;
	color: #000;
	font-weight: bold;
	text-decoration: none;
	background-image: url("images/bg.nav.gif");
	padding-top: 8px;
	background-position: top right;
	line-height: 1em;
}

#toolMenu ul li a:hover {text-decoration: underline;}

#toolMenu ul li a span {
	display: block;
	padding: 0 16px 8px;
	background-image: url("images/bg.nav.gif");
	background-position: bottom right;
	}

#toolMenu ul li.selectedTool, #toolMenu ul li.selectedTool a, #toolMenu ul li.selectedTool a span {
	background-position: top left;
}

#tabBottom {
	display: none;
}

/*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 a:link,#toolMenu li a{
	display: block;
	text-decoration: none;
	color: #442a73;
	padding: 2px 0px 2px 4px;

}
#toolMenu li a:hover{
	text-decoration: none;
	font-weight: bold;
}

#toolMenu li a.selected{
	text-decoration: none;
	color: #442a73;
	cursor: text;
	background: white;
}

#toolMenu li a.selected:hover{
	text-decoration: none;
	color: #000;
	cursor: text;
}
*/

/*PART 6 - SITE AFFILIATION,SITE TYPE/STATUS AND PRESENCE - children of #toolMenuWrap	*/
/*site logo wrapper*/
#worksiteLogo{
	width: 9.7em;
	height: auto;
	overflow: hidden;
	display: block;
}

/*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{
	width: 170px;
	margin-top: .5em;
}

/*wrapper for title of iframe ("Users present")*/
#presenceTitle{
	font-size: .7em;
	text-align: right;
	margin-right: .5em;
}

/*of presence iframe*/
#presenceIframe{
	height: 100px;
	margin: .3em;
	width: 160px;
}

/*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{
	background-color: white;
}

/*.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%;
	/* border-bottom: 2px solid #09c; */
}

#col1 .portletMainWrap{
	width: 99%;
}

#col1of2 .portletTitleWrap,#col2of2 .portletTitleWrap{
	width: 98.5%;
	/* border-bottom: 2px solid #09c; */
}

#col1of2 .portletMainWrap,#col2of2 .portletMainWrap{
	width: 98.5%;
	margin-bottom: .5em;
}

.portletTitle{
	width: 100%;
	height:100%;
	overflow:hidden;
	border-bottom:1px solid #ddd;
	background-color: #FAF2F2;

}

.portletTitle .title img{
	margin: 0 0 0px 0;
	vertical-align: baseline;
	width: 18px;
	border:none;
	height: 16px;
}

.portletTitle .title{
	padding: 2px 4px 3px 5px;
	height: 1.75em;
	float: left;
	color: #000;
}

.portletTitle .title h2{
	display: inline;
	margin: 0;
	padding: 0;
	color: #000;
	font-weight: lighter;
	font-size: 16px;
	font-weight: bold;
	
}

.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: 10px 4px 0px 2px;
	text-align: right;
	height: 1em;
	vertical-align: bottom;
}

.portletTitle .action img{
	margin: 0;
	border:none;
	vertical-align: text-bottom;
	display: none;
	/* width: 16px !important; */
}

.portletTitle .action a{

}

.portletTitle .action a:hover{

}



/*iframes for portlet title and portlet content*/
/*gone for 2.3
.portletTitleIframe{
	margin: 0;
	height: 1.8em;
	width: 100%;
}
*/
.portletMainIframe{
	text-align: left;
	margin-bottom: .5em;
	height: auto;
	border: none;
}

/*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-top: .5em;
	padding-bottom: .5em;
	background: #ebebe6;
	margin-top: 0;
	display: none;
}

/*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: #aaa;
	text-decoration: underline;
	margin: 1em;
}

/*a second wrapper - server info,build,etc*/
#footerInfo{
	font-size: xx-small;
	text-align: center;
	clear: both;
	padding-bottom: 1em;
	/*background: none;*/
	background: #ebebe6;
}

#footerInfo a {
	color: #44286f;
	text-decoration: none;
}

#footerInfo img{
	margin-top: .5em;
	margin-bottom: .5em;
}

/*a third wrapper - reserved for copyright blurbs*/
.sakaiCopyrightInfo{
	color: #44286f;
	background: #ebebe6;
	display: none;
}

/*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;

}

