@media print
{
    #menu-top, #menu, #sidebar, .cleaner {
        display: none;
        } 
}

@media screen 
{
    .hide {
        display: none;
        }
        
    body {
        font-family: sans-serif;
        color: #252;
        text-align: center;
        margin: 1em;
        padding: 0; 
        background-color: #390;
margin-top: 15px;
background-position: center;
background-image: url(img/main-width.png);
background-repeat: repeat-y;
        }
	
    #content {
        border: 1px solid #663;
        text-align: left;
        margin: 0px auto;
        width: 778px;
        _width: 780px;
        background: url('img/bkgr.gif') 30% 0% repeat-y;
        }                            

    a {
        color: #393;
        }
    a:hover {
        color: #3c3;
        text-decoration: underline;
        }
    
    #header-box {
        margin: 0; padding:0;
        }
        
    /* First page */
    #header-firstpg {
        background: url('img/headerB.jpg') #063;
		height: 144px;
		color: #fd0;
    }
    #header-firstpg h1 {
		color: #fd0;
		margin-right: 40px;
		margin-top: 0px;
		padding-top: 50px;
		font-size: 30px;
		letter-spacing: 1px;
		text-align: right;
		font-style: italic; 
    }
    #main-firstpg {
		background: url('img/ball2.jpg') #063;
		width:778px;
		height:526px;
		
        font-size: 0.8em;
        background-color: #09c;
        }
    #main-firstpg-top {
		color: #fff;
		padding: 0.1em 1em 1em 8em;
		text-align: left;
		font-style: italic; 
	}
    #main-firstpg-top h2 {
		font-size: 1.4em;
		word-spacing: 0.4em;
		line-height: 40px;
	}
    #main-firstpg-top a {
		color: #fff;
		text-decoration: none;
	}
    #main-firstpg-top a:hover {
        color: #fd0;
        text-decoration: underline;
    }
	
    #main-firstpg-top img {
		_margin-top: 20px;
		_margin-bottom: 3px;
	}
    #main-firstpg-bottom img 
    {
        margin: 0;
        vertical-align: bottom;
	}


    #header {
        background: url('img/headerY.jpg') #063;
		height: 135px;
		color: #fd0;
    }
    #header h1 {
		color: #fd0;
		margin: 0;
		padding-top: 45px;
		padding-right: 25px;
		font-size: 20px;
		text-align: right;
		letter-spacing: 1px;
    }      
      
    #menu-top {
		text-align: right;
		margin-top: 15px;
		margin-right: 27px;
        color: #fff;
        font-size: 11px;
        font-weight: bold;
		letter-spacing: 1px;
        }	
    #menu-top a {
        color: #fd0;
        text-decoration: none;
        }
    #menu-top a:hover {
        color: #fff;
        text-decoration: underline;
        }
    #menu {
		text-align: right;
		margin-top: 15px;
		margin-right: 27px;
        color: #666;
        font-size: 11px;
        font-weight: bold;
        }	
    #menu a {
        color: #060;
        text-decoration: none;
        }
    #menu a:hover {
        color: #090;
        text-decoration: underline;
        /*background-color: #fff;*/
        /*margin: 3px 0 3px 0;*/
        }
       
    #main-box {

        /*width: 570px;*/
        margin: 0; padding:0;
        }
    #main {
        margin:0; padding: 2em;
        font-size: 80%;
        background-color: #ffc;
background-image: url(img/main-height.png);
background-repeat: repeat-x;
        }
    #main h2 {
        font-size: 130%;
        color: #060;
        }
    #main h3 {
        font-size: 110%;
        color: #060;
        }
    #main h4 {
        font-size: 110%;
        font-style: italic;
        color: #380;
        }
    #main h5 {
        font-size: 100%;
        }
		
	.menu {
	}	

    .submenu {
        color: #666;
        font-size: 11px;
        font-weight: bold;
		margin-bottom: 3em;
        }	
    .submenu a {
        color: #060;
        text-decoration: none;
        }
    .submenu a:hover {
        color: #090;
        text-decoration: underline;
        }

    .submenu-right {
		border: 0px solid #999;
        color: #090;
        font-size: 11px;
        font-weight: bold;
        float: right;
        margin: 10px 0px 10px 10px;
        }	
    .submenu-right a {
        background-color: #6c0;
        color: #030;
        text-decoration: none;
        }
    .submenu-right a:hover {
        color: #6c0;
        background-color: #030;
        text-decoration: underline;
        }

		
    #sidebar {
        margin: 0 0 0 570px; padding:0;
        }    
        
    #sidebar-content {
        margin:0; padding: 0.5em 1em;
        font-size: 0.8em;
        }    
    #sidebar-content h3 {
	}
    #sidebar-content dl dt {
        font-weight: bold;
        margin: 1em 0em 0em 0em;
        }
    #sidebar-content dl dd {
        margin: 0.5em 0em 0.5em 0em;
        font-size: 85%;
        }
        
        
    #footer-box {
        margin: 0; padding:0;
    }
    #footer {
        padding: 0.1em;
		color: #063;
        background-color: #fd0;
        border-top: 1px solid #663;
        font-size: 0.7em;
        text-align: center;
        }
		
	table {
        font-family: sans-serif;
		border: 1px solid #ddc;
		font-size: 90%;
	}
	table td {
		vertical-align: top;
		padding: 0.5em;
		border-top: 1px solid #ddc;
		border-right: 1px solid #ddc;
		border-collapse: collapse;
	}
	table td ul, table td ul {
		padding: 0;
		margin-top: 0;
		margin-bottom: 1em;
	}
	
	dl dt {
		font-weight: bold;
	}
	
	dl dd {
		margin-bottom: 1em;
	}
	
	.align-right {
		text-align: right;
	}
	.align-justify {
		text-align: justify;
	}
	
	.image {
        background: white;
        border: 1px solid #ccc;
	}
	
	.photo, .photo-left, .photo-right 
	{
	    display: inline;
        /*margin: 10px 10px 10px 10px;*/
        /*padding: 15px 5px 5px 15px;*/
        text-align: center;
        background: white;
        border: 1px solid #fff;
        font-size: 80%;
    }
    .photo-left {
        float: left;
        border: 1px solid #999;
        margin: 10px 10px 10px 0px;
    }
    .photo-right {
        float: right;
        border: 1px solid #999;
        margin: 10px 0px 10px 10px;
    }
    .photo-descr {
        margin: 0;
    }

	.photo img {
		/*        background-color: #fff;*/
        border: 1px solid #ccc;
		/*        padding: 7px;*/
	}


    .cleaner {
        clear: both;
        }
        
    .orange {
        color: #c60;
    }
    
    .simple, .simple tr, .simple tr td 
    {
    	border-style: none;
    }
    .simple tr td ul
    {
    	padding-left: 2em;
    	padding-right:2em;
    	border-style: none;
    }
	
}