/*
  * Thanks for your interest in the source code!
  * Designed and handcoded by Andy Gale http://www.andy-gale.com
  */


/* Global definitions */

body { 
	font: small/18px "Lucida Grande", "Trebuchet MS", "Bitstream Vera Sans", Verdana, Helvetica, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    background-image: url(../images/header.gif);
    background-repeat: repeat-x;
    text-align: justify;
    }


/* Layout structure */

#contain {

    }

#header { 
    height: 110px;
    }

#content { 
    padding: 10px;
    clear: both;
    background-color: #fff;
    }

#menu { 
    margin: 0 auto;
    width: 960px;
    z-index: 99;
    }

#fixedcontent {
    margin: 0 auto;
    width: 960px;
    }

#maincontent {
    float: left;
    width: 600px;
}

#sidebar {
    width: 300px;
    float: right;
}
    
#footer {  
    height: 60px;
    /* Temporary styles for layout win */
    background-color: #eee;
    border-top: 1px solid #a0a0a0;
    background-image: url(../images/footer.gif);
    }


/* Site furniture */

h2 { 
    color: #669933;
    font-size: 1.8em;
    margin-bottom: 0;
}

h3 { 
    color: #669933;
    font-size: 1.6em;
    margin-bottom: 0;
}

a { 
    color: #998832;
}

#fixedheader {
    margin: 0 auto;
    width: 960px;
}

#header h1 { 
    width: 591px;
    height: 59px;
    overflow: hidden;
    position: relative;
    top: 30px;
    left: 0;
    font-size: 0.1em;
    margin: 0;
    padding: 0;
}

#header h1 span { 
    background-image: url(../images/logo.gif);
    background-repeat: no-repeat;
    display: block;
    width: 591px;
    height: 59px;
    overflow: hidden;
    position: relative;
    top: 0;
    left: 0;    
}


div.clear { 
    clear: both;
}   

div.iiicol {
    float: left;
    width: 25%;
}

div.sidebarbox {
    border: 2px solid #669933;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-topleft: 8px;
    -webkit-border-top-right-radius: 8px;
    -webkit-border-top-left-radius: 8px;
    margin-top: 20px;
    width: 350px;
}

div.sidebarbox a {

}

div.sidebarbox h3 { 
    background-color: #669933;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 5px 10px;
    color: #fff;
    font-size: 1.2em;
}

div.sidebarbox div.sidebarcontent {
    margin: 0 auto;
    width: 90%;
}

div.sidebarbox a img { 
   /* border: 2px solid #998832;*/

}

div.sidebarbox span.caption { 
    font-size: 0.9em;
    font-style: italic;
    text-align: right;
    display: block;
}

a img { 
    border: none;
}

#menu ul { 
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu ul li { 
    display: inline;
}

#menu ul li a { 
    display: block;
    padding: 5px 20px 5px 20px;
    float: left;
    background-color: #fff;
    margin-left: 5px;
    margin-right: 10px;
    border-left: 1px solid #a0a0a0;
    border-top: 1px solid #a0a0a0;
    border-right: 1px solid #a0a0a0;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-topleft: 8px;
    -webkit-border-top-right-radius: 8px;
    -webkit-border-top-left-radius: 8px;
    font-weight: bold;
    font-size: 1.2em;
    background-color: #eee;
    text-decoration: none;
}

#menu ul li a:hover { 
    text-decoration: underline;
}

#menu ul li a.cur { 
    background-color: #fff;
}

#footer ul { 
    margin: 0;
    padding: 0;
    list-style: none;
}

#footercontent {
    margin: 0 auto;
    width: 960px;
}

#footer ul li { 
    display: inline;
}

#footer ul li a { 
    display: block;
    padding: 5px 10px 5px 5px;
    float: left;
    color: #000000;
}

#footer span { 
    float: right;
    display: block;
    margin-top: 40px;
    font-size: 0.9em;
}


div.example {
    padding: 4px;
    margin-top: 10px;
}

div.promocode {
    font-family: monospace;
}


#listoflinksexample {
    height: 200px;
    overflow: scroll;
    width: 500px;
    margin-top: 8px;
    border: solid 1px #a0a0a0;
}


.codeexampletabs ul { 
    margin: 0;
    padding: 0;
    list-style: none;
}

.codeexampletabs ul li { 
    display: inline;
}

.codeexampletabs ul li a { 
    display: block;
    padding: 2px 10px 2px 10px;
    float: left;
    color: #fff;
    margin-left: 5px;
    margin-right: 5px;
    border-left: 1px solid #aadd77;
    border-top: 1px solid #aadd77;
    border-right: 1px solid #aadd77;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-topleft: 4px;
    -webkit-border-top-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    font-weight: bold;
    font-size: 1.1em;
    background-color: #aadd77;
    text-decoration: none;
}


.codeexampletabs ul li a.cur { 
    border-left: 1px solid #669933;
    border-top: 1px solid #669933;
    border-right: 1px solid #669933;
    background-color: #669933;
    color: #fff;
}

.codeexampletabscontent {
    padding: 4px;
    float: left;
    border: 1px solid #a0a0a0;
    margin-left: 5px;
    width: 800px;
}

div.codeexampletabscontent div.code {
    display: none;
    font-family: monospace;
    text-align: left;
    padding: 4px;
}

div.clear { 
    clear: both;
}

#dropdown { 

}

.singleground {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 900px;
}

.singleground li { 
    padding-bottom: 5px;
    font-family: monospace;
    font-size: 0.85em;
}

#skycont {
    width: 180px;
    float: right;
}

#skycont div.codeexampletabs {
    width: 160px;
}

#skycont div.codeexampletabscontent {
    width: 160px;
}

#dropdown.codeexampletabscontent {
    width: auto;
    clear: left;
}

#banners.codeexampletabscontent {
    width: auto;
    clear: left;
}

#skyscraper.codeexampletabscontent {
    width: auto;
    clear: left;
    padding-right: 20px;
}