* {margin:0; padding: 0;}
body {
    font: .71em/2 Verdana, Helvetica, Arial, sans-serif;
    color: #000;
    text-align:center;
    background:#FFF;
    /* Need to specify both of the following for some reason. */
    margin:0;
    padding:0;
}
#page {
    background:transparent url(http://glench.com/img/design/newlogo.gif) no-repeat left top;
    border-right:5px dotted #f2f2f2;
    width:700px;
    text-align: left;
    padding: 5px 20px 0 20px;
    margin: 0 auto;
    _padding-left:200px; /* IE not understanding child selectors */
    position: relative;
}
#page #logo {display:block; position:absolute; top:0; left:-186px; width:180px; height:130px;}

#page > * {margin-left: 190px;}
a:link {color: #333}
a:visited {color: #666}
p {margin:12px 0;}
h1, h2, h3, h4, h5, h6 {margin:3px 0;} 
h1 {
    background:transparent url(http://glench.com/img/design/4diamond.gif) no-repeat left center;
    font: 1.8em/1 "Trebuchet MS", Helvetica, Arial, sans-serif;
    padding-left: 25px;
}
h3, h4 {font-size:1em; margin-top:3px;}
dl dt {
    font-weight:bold;
    margin-top:5px;
    border-top: 1px solid #e6e6e6;
    padding-top: 5px;
}
dl dt:first-child {border-top: 0;}
dl dd {margin:0 0 5px 2em;}
ul {
    list-style: url(http://glench.com/img/design/list.gif);
    padding-left:2em;
}
blockquote {
    border-left:1px dotted #ccc;
    margin:0 20px;
    padding-left:2em;
}
a img {margin:15px 0; border:1px solid #CCC;}
pre {font-size:1.4em; margin-bottom:10px; overflow: auto;}
#footer {
    background: #f2f2f2;
    border: 1px solid #e6e6e6;
    padding: 5px 10px;
    margin-top: 20px;
    color:#888;
    font: 1em/1.8 Arial, Helvetica, Verdana, sans-serif;
    clear:both;
}
#footer a {color:#888}

/* Fancy jquery gallery */
.browsher {background-color:#eee; text-align:center; margin:15px 0;}
.browsher h3.error {color:#f00; font-size:150%;}
.browsher img {border:1px solid #ccc; margin:15px 0;}
.browsher-controls a, .browsher-controls span { display:inline-block; width:20%; font-size: 175%; }
.browsher-controls a:hover, .browsher-controls a:active {background:#ccc;}
ul.browse {list-style:none; margin-left:0; padding:0;}

/* Google site search */
.gsc-control-cse {
    font-family: Verdana, sans-serif;
    border-color: #FFFFFF;
    background-color: #FFFFFF;
}
input.gsc-input {
    border-color: #CCC;
    padding: 3px;
}
.gsc-tabHeader.gsc-tabhInactive {
    border-color: #777777;
    background-color: #777777;
}
.gsc-tabHeader.gsc-tabhActive {
    border-color: #333333;
    background-color: #333333;
}
.gsc-tabsArea {
    border-color: #333333;
}
.gsc-webResult.gsc-result,
.gsc-results .gsc-imageResult {
    border-color: #FFFFFF;
    background-color: #FFFFFF;
}
.gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result.gsc-promotion:hover,
.gsc-imageResult:hover {
    border-color: #EEE;
    background-color: #FFFFFF;
}
.gs-webResult.gs-result a.gs-title:link,
.gs-webResult.gs-result a.gs-title:link b,
.gs-imageResult a.gs-title:link,
.gs-imageResult a.gs-title:link b {
    color: #444444;
}
.gs-webResult.gs-result a.gs-title:visited,
.gs-webResult.gs-result a.gs-title:visited b,
.gs-imageResult a.gs-title:visited,
.gs-imageResult a.gs-title:visited b {
    color: #444444;
}
.gs-webResult.gs-result a.gs-title:hover,
.gs-webResult.gs-result a.gs-title:hover b,
.gs-imageResult a.gs-title:hover,
.gs-imageResult a.gs-title:hover b {
    color: #444444;
}
.gs-webResult.gs-result a.gs-title:active,
.gs-webResult.gs-result a.gs-title:active b,
.gs-imageResult a.gs-title:active,
.gs-imageResult a.gs-title:active b {
    color: #777777;
}
.gsc-cursor-page {
    color: #444444;
}
a.gsc-trailing-more-results:link {
    color: #444444;
}
.gs-webResult .gs-snippet,
.gs-imageResult .gs-snippet,
.gs-fileFormatType {
    color: #333333;
}
.gs-webResult div.gs-visibleUrl,
.gs-imageResult div.gs-visibleUrl {
    color: #000000;
}
.gs-webResult div.gs-visibleUrl-short {
    color: #000000;
}
.gs-webResult div.gs-visibleUrl-short {
    display: none;
}
.gs-webResult div.gs-visibleUrl-long {
    display: block;
}
.gs-promotion div.gs-visibleUrl-short {
    display: none;
}
.gs-promotion div.gs-visibleUrl-long {
    display: block;
}
.gsc-cursor-box {
    border-color: #FFFFFF;
}
.gsc-results .gsc-cursor-box .gsc-cursor-page {
    border-color: #777777;
    background-color: #FFFFFF;
    color: #444444;
}
.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    background-color: #F2F2F2;
    border: 1px solid #e6e6e6;
    padding: 1px 4px;
}
.gsc-webResult.gsc-result.gsc-promotion {
    border-color: #CCCCCC;
    background-color: #E6E6E6;
}
.gs-promotion a.gs-title:link,
.gs-promotion a.gs-title:link *,
.gs-promotion .gs-snippet a:link {
    color: #0000CC;
}
.gs-promotion a.gs-title:visited,
.gs-promotion a.gs-title:visited *,
.gs-promotion .gs-snippet a:visited {
    color: #0000CC;
}
.gs-promotion a.gs-title:hover,
.gs-promotion a.gs-title:hover *,
.gs-promotion .gs-snippet a:hover {
    color: #444444;
}
.gs-promotion a.gs-title:active,
.gs-promotion a.gs-title:active *,
.gs-promotion .gs-snippet a:active {
    color: #00CC00;
}
.gs-promotion .gs-snippet,
.gs-promotion .gs-title .gs-promotion-title-right,
.gs-promotion .gs-title .gs-promotion-title-right *  {
    color: #333333;
}
.gs-promotion .gs-visibleUrl,
.gs-promotion .gs-visibleUrl-short {
    color: #00CC00;
}

