@page
{
    height: 297mm;
    width: 210mm; 
    
}

/*Print Darstellung*/
@media print
{
     html, body {
        height: 99%;    
    }

    /* do not show the following controls for printing */
    div#leftcontent, /* left column (navigation menu) */
    /*div#headercontent,  Header */
    .logout,
    .logon,    
    /*select,  DropDownList */
     a.LinkAsButton,/* Cancel Buttons */
    input[type="button"],input[type="submit"],  /*mainly Buttons */
    input[type="hidden"],
    input#btnlogout,
    div#FooterText, /*footer text*/
    div#Footer, /*footer*/
    div#navbar,
    div#footer,
    div.loginwrapper,
    
    .noPrint /* all other controls, which should not be printed */
    {
        display: none;
    }
    
    a:href,select,input[type="text"],input[type="radio"],input[type="checkbox"],input[type="password"]
    {
        background-color:White;
        color: Black;
        display: inline;
        border-color: gray;
    }
    /* a.LinkAsButton
    {
        background: url(/content/images/cancelbg.jpg) no-repeat top left;
        background-color: Black;
        color: White;
        display: inline;
        border-color: Gray;
    }   
    input[type="button"],input[type="submit"]
    {
        background-color: #949596;
        color: Black;
        display: inline;
        border-color: Gray;
    }*/ 
    
    /* show the following controls printer-friendly */
    .printLabelInsteadDropDownList,
    .printLabelInsteadTextBox
    {
        background-color: White;
        color: Black;
        display: inline;
        text-decoration: none;
    }
    
    #right-content-outer
    {
        width: 100%;
        border-left: none;
        clear:left;
        float: none;
        overflow: visible;
        page-break-before:avoid;
        display:block;
        
    }
    
    #headercontent
    {
        border:none;
        float: none;
        page-break-before:avoid;
        page-break-after:avoid;
        
        
    }
    #main-content,  div#maincontent
    {
    	clear:both;
    	float: left;
    	page-break-before:avoid;
    	page-break-after:avoid;
    	overflow: visible;
    	page-break-inside:auto;
        height:auto;
        min-height:0;
        padding-bottom:0px;
        margin-bottom:0px;
    }
    div#leftcontent
    {
    	clear:both;
    	float: none;
    }
    #maincontentwrapper {
         min-height:0;
    }
    #header
    {
        margin: auto;
    }

}
