
body {
	background: url("/images/bodybg.gif");
	color: #000000;
	margin: 0px;
	padding: 0px;
	border: 0px;
	text-align: center;
	font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif;
}

img	{
	border: 0px;
}

#wrapper	{
	background: #fff url("/images/sidebg.png") repeat-y;
	margin: 0px auto;
	padding: 0px;
	width: 980px;
	padding-bottom: 0px;
}

#header	{
	background: #fff url("/images/header.jpg");
	border: 0px;
	padding: 0px;
	text-align: left;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 0px;
	margin-bottom: 0px;
	width: 960px;
	height: 120px;
}

#header .hdr1 {
	font-size: 32px;
	font-family: tahoma;
	color: white;
	position: relative;
        top: 20px;
        left: 350px;
	width: 200px;
}

#header .lang {
	font-size: 8px;
	font-family: tahoma;
	color: white;
	position: relative;
        top: 1px;
        left: 600px;
	width: 200px;
	margin: 0px;
	padding: 0px;
	align: 0px;
}



#header h1 {
	font-size: 20px;
	font-family: tahoma;
	color: white;
	position: relative;
        top: 40px;
        left: 100px;
	width: 700px;
}

#maincontent {
	padding-left: 20px;
	padding-right: 20px;
	text-align: left;
	line-height: 150%;
	width: 950px;
}

#sflogo {
	padding-left: 0px;
	padding-right: 13px;
	padding-bottom: 3px;
	padding-top: 0px;
	text-align: right;
}

#download {
	text-align: center;
	margin-right:1.5em;
	margin-left:1em;
	margin-top:0.4em;
	margin-bottom: 1em;
	padding: 4px;
	background: #FFFDE7;
	border: 1px dotted #898989;
	float: right;
	width: 176px;
}

#download:hover {
	background: #FCFCDA;
}

#whitebox {
	text-align: center;
	margin-right:1.5em;
	margin-left:1em;
	margin-top:0em;
	margin-bottom: 0.3em;
	padding: 4px;
	background: #FFFFFF;
	border: 1px dotted #898989;
	float: right;
	clear: right;
	width: 176px;
}

/* menu stuff */

#menu {
	margin-left: 10px;
	margin-bottom: 10px;
	float:left;
	width: 960px;
	height: 29px;
	background:#000000 url("/images/menubg.jpg") repeat-x bottom;
	font-size:10px;
	line-height:normal;
	display: block;
}

#menu ul {
	margin:0px;
	padding:0px 0px 0px;
	list-style:none;
}

#menu ul li {
	display: block;
	float: left;
	text-align: center;
}

#menu ul li a {
	display: block;
}

#menu a {
	float:left;
	padding:7px 13px 8px 13px;
	text-decoration: none;
	color: #FFFFFF
}

#menu a:hover {
	color:#CBCBCB;
	background-image: url("/images/menubg2.jpg");
}

/* Bottom menu stuff */

#bottommenu {
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 0px;
	padding-top: 2px;
	float:center;
	width: 960px;
	height: 18px;
	background: #000000;	
	font-size:10px;
	line-height:normal;
	color: white;
	display: block;
	overflow: hidden;
}

#bottommenu h3 {
	padding:0px;
	margin:1px;
	font-size: 11px;
	color: #FFFFFF;
}

#bottommenu a {
	color: #F07522;
}



#resources a:link, #resources a:visited {
	border-right: 1px solid #ccc;
}

#menubar ul li a:hover {
	color: #000;
	background: #ffffcc;
}

#menubar a:active {
	background: #c60;
	color: #fff;
}

/* typography - main content */

#maincontent h1	{
	margin-top: 0px;
	font-size: 18px;          
}

#maincontent h2	{
	margin-top: 15px; 
	font-size: 17px;            
}

#maincontent {
	font-size: 12px;               
}

#screenshots {
	text-align: center;
}

/* typography - download box */

#download h1 {
	padding:0px;
	margin:0px;
	font-size: 12px; 
	color: #41AC36;   
}

#download h2 {
	padding:0px;
	margin:1px;
	color: #898989;
	font-size: 9px;
}

#download h3 {
	padding:0px;
	margin:1px;
	font-size: 9px;
	color: #3883A6;
}

#download a:link, a:visited {
	color: #3883A6;
}

/* typography - mac/universal logo box */

#whitebox h2 {
	padding:0px;
	margin: 1px;
	color: #898989;
	font-size: 9px;
}

#bottomwrapper    {
   background: url("/images/bottomwrapper.png") no-repeat;
   margin: 0px auto;
   padding: 0px;
   width: 980px;
   padding-bottom: 20px;
}

/* hyperlink formatting */
	
a:link, a:visited {
	font-weight : bold; 
	text-decoration : none;
	color: #c30;
}

a:hover {
	font-weight : bold; 
	text-decoration : underline;
	color: #999;
}

a:active {
	font-weight : bold; 
	text-decoration : none;
	color: #526968;
}

#maincontent ul {
  margin-left: 5px;
}


#maincontent li {
  margin-left: 0px;
}


.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.8); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content, .overlay-content a, .overlay-content a:hover{
    color: #8181ff;
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    font-size: 40pt;
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* Position the close button (top right corner) */
.overlay .closebtn {
     color: #c1c1ff;
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

