/*
 * Common styles for all pages that uses the main template (main.xhtml)
 */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * mainPage - area containing page
 *
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
#mainPage {
	width: 840px; 
	position: relative;
	margin-top: 0px;
    margin-right: auto;
	margin-left: auto;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * mainMessages - message area on top of page
 *
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
#mainMessages {
	position: absolute;
    top: 0px;
    left: 50%;
    width: 500px;
    margin-left: -250px;
    z-index: 1000;
}

.mainMessagesInfo {
    background-color: yellow;
    margin: 2px;
}

.mainMessagesError {
    background-color: red;
    margin: 2px;
    font-weight: bold;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * mainHeader - common header for all pages
 *
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
#mainHeader {
	width:840px;
	float: left;
	margin-top: 20px;
}

#mainHeaderLogo {
	float: left;
}

#mainHeaderMenu {
	float: right;
	width: 360px;
}

/* login/logout menu */
#mainHeaderMenuTop {
	text-align: right;
	font-size: 10px;
}

/* page links */
#mainHeaderMenuBottom {
    font-family: Helvetica; 
    font-weight: bold;
    font-size: 14px;
    position: relative; 
    top: 56px;
}

/* menu item container */
.menuItem {
    padding-right: 10px
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * mainContent - area for page content
 *
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
#mainContent {
	float: left;
}

#mainContentHeader { /* defined in page specific files */ }

#mainContentBody { /* defined in page specific files */ }

#mainContentFooter { /* defined in page specific files */ }

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * mainFooter - common footer for all pages
 *
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
#mainFooter {
	width: 840px;
	margin-top: 20px;
    float: left;
	text-align: center;
}

.editMenu {
    text-align: right;
}
