html{
    height: 100%;
}
body{
    height: 100%;
    margin: 0px;
    background-color: #EEEEEE;
}

/* the main container */
#main{
    background-color: #FFFFFF;
    width: 100%;
}

/* the main table */
#mtable{
    height: 100%;
    width: 100%;
}
#mtable #mtleft{
    width: 212px;
    background-color: #E5CA94;
    vertical-align: top;
    border-right: 3px solid #FFFFFF;
}
#mtable #mtright{
    vertical-align: top;
    position: relative;
    background-color: #FFFFFF;
}

/* the logo */
#logo{
    height: 60px;
    border-bottom: 3px solid #FFFFFF;
}

/* the picture under the logo */
#subpic{
    border-bottom: 3px solid #FFFFFF;
}

/* the left navigation */
#leftnav{
    text-align: center;
    padding: 15px;
}
#leftnav .button{
    margin: 15px;
}

/* the top banner */
#banner{
    border-bottom: 3px solid #FFFFFF;
    background-color: #4F92CE;
}

/* the top navigation */
#topnav{
    height: 125px;
    background-color: #D3948F;
    border-bottom: 3px solid #FFFFFF;
}
#topnav td.buttontd{
    width: 20%;
    height: 125px;
    border-right: 3px solid #FFFFFF;
    vertical-align: top;
}
#topnav .button{
    position: relative;
    width: 100%;
    height: 100%;
    background-position: bottom center;
}
#topnav .button .name{
    position: absolute;
    left: 0px;
    top:0px;
    width: 100%;
    text-align: center;
    background-color: #D3948F;
    border-bottom: 3px solid #FFFFFF;
}
#topnav .button .link{
    position: absolute;
    left: 0px;
    top:0px;
    width: 100%;
}

/* the title block */
#title{
    height: 34px;
    line-height: 34px;
    color: #000000;
    background-color: #E5CA94;
    font-weight: bold;
    text-align: center;
}

/* the web page content */
#content{
    margin: 20px;
}

/* the print logo */
#plogo{
    width: 100%;
    text-align: center;
}

/* the screen style */
@media screen{

    /* the main container */
    #main{
        height: 100%;
    }

    /* the title block */
    #title{
        font-size: 10pt;
        border-bottom: 3px solid #FFFFFF;
    }

    /* the print logo */
    #plogo{
        display: none;
    }

}

/* the print style */
@media print{

    /* the main container */
    #main{
        width: 100%;
        height: auto;
    }

    /* the main table */
    #mtable{
        width: 100%;
        border-right: none;
    }
    #mtable #mtleft{
        display: none;
    }
    #mtable #mtright{
        width: 100%;
    }

    /* the top banner */
    #banner{
        display: none;
    }

    /* the top navigation */
    #topnav{
        display: none;
    }

    /* the title block */
    #title{
        font-size: 18pt;
        width: 100%;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    
    /* the web page content */
    #content{
        margin: 0px;
    }

    /* the print logo */
    #plogo{
        display: block;
    }

}

