/*********************************************************
                ABOUT: layout.css
**********************************************************/

/* This stylesheet is used to structure and style the physical page layout
 of webpages into specific blocks (e.g. header, footer, content-columns, etc.)
 graphic.css is used to assign styles to all other graphic elements 
 except for menus which is handled by menu.css
 
The high-level page layout for the ICA-AtoM application is: 
                                                           
    ------------------------------------------------
    |   body (html body)                           | 
    |----------------------------------------------|
    |  body-banner-top                             |
    |----------------------------------------------|
    |  -----------------------------------------   |
    |  | body-page                             |   |
    |  |                                       |   |
    |  |  ---------------------------------    |   |      
    |  |  |            header             |    |   |
    |  |  ---------------------------------    |   |
    |  |                                       |   |
    |  |  ---------------------------------    |   |      
    |  |  | main                          |    |   |
    |  |  |                               |    |   |    
    |  |  |  ---------   ---------------  |    |   |
    |  |  |  |context|   |  content    |  |    |   |
    |  |  |  |column |   |  two-column |  |    |   |
    |  |  |  ---------   ---------------  |    |   |
    |  |  |                               |    |   |
    |  |  |  ---------------------------  |    |   |         
    |  |  |  |        content          |  |    |   |
    |  |  |  |       one-column        |  |    |   |
    |  |  |  |                         |  |    |   |         
    |  |  |  ---------------------------  |    |   |
    |  |  ---------------------------------    |   | 
    |  |                                       |   |
    |  |  ---------------------------------    |   |
    |  |  |              footer           |    |   |
    |  |  ---------------------------------    |   | 
    |  -----------------------------------------   |
    |----------------------------------------------|
    |  body-banner-bottom                          |
    |----------------------------------------------|
    |______________________________________________|
    
        

/*********************************************************
                      BODY
**********************************************************/

body 	{
/*ensure that IEv5 will center align the body-page block*/
text-align: center;
margin: 0;
padding: 0;
background-color: #ffffff;
} 

#body-banner-top {
width: 100%; 
height: 10px;
}

#body-banner-bottom{
width: 100%; 
height: 10px; 
text-align: right;
}

#body-page {

/*relative width (minimum width not included because it is too buggy cross-browser) 

width: 95%;  */

width: 770px;

/*use auto width on left and right margins to center align the body content*/
margin: 0 auto 0 auto;

/*realign content to the left to offset the body centering hack used for IEv5 in the 'body' element above*/
text-align: left;

background-color: #ffffff;
}

/*********************************************************
               HEADER
**********************************************************/

#header {
background-color: #ffffff;
padding: 0;
text-align: left;
border: 0;
margin: 0;
}

#header-top {
background-color: #ffffff;
padding: 5px 0 10px 0;
text-align: right;
border: 0;
margin: 0;
}

#header-middle {
clear: both;
border-bottom: 0;
padding: 0;
margin: 0;
}

#header-bottom {
clear: both;
background-color: #ffffff;
border: 0;
padding: 0;
margin: 10px 0 0 0;
}

/*********************************************************
             MAIN
**********************************************************/

#main {
clear: both;
margin: 20px 0 10px 0;
padding: 0;
border: 0;
} 

/* to switch the context-column left/right swap the values for
#context-column float and the #content-two-column padding */

#context-column {
float: right;
width: 220px;
background-color: #ffffff;
padding: 0;
margin: 0;
border: 0;

}  

.context-column-box {
width: 220px;
padding: 2px;
margin: 0 0 20px 0; 
clear: both;

background-color: #ffffff;
border: 2px solid #cccccc;
}    

#content-two-column
{
margin: 0;
padding: 0 10px 0 0;
border: 0;
overflow: hidden;
background-color: #ffffff;
 
}  

#content-one-column
{
margin: 0 0 10px 0;
padding: 0;
border: 0;
overflow: hidden;

background-color: #ffffff;
} 

.content-column-box {
border: 0;
padding: 0;
margin: 0 0 10px 0; 
clear: both;

background-color: #ffffff;
}


/*********************************************************
              FOOTER
**********************************************************/

#footer {
clear:both;
margin: 20px auto 0 auto;
}

#footer-top {
clear: both; 
border: 0;
height: 0px;
background: #ffffff; 
margin: 0;
}

#footer-bottom {
background: #ffffff;
text-align: right; 
margin-top: 20px;
}

#footer-bottom a:hover {
background-color: #000000;
}

