/********************************************************************/
/* COMMON ELEMENTS */

body {
	background: #edeeef;
    font-family: Helvetica, sans-serif;	
}

p, li {
    font-size: 11pt;
    line-height: 150%;
    font-weight: lighter;
}

h2 {
    margin-bottom: 0.6em;
    margin-top: 0.8em;
    font-size: 13pt;
    color: #444;
}

h3 {
    margin-bottom: 0.8em;
    margin-top: 1.3em;
    font-size: 12pt;
    color: #444;
    font-style: italic;
}

h2 a, h3 a {
    text-decoration: none;
    color: #444;
}

h2 a:hover, h3 a:hover {
    color: #889;
}

p {
    margin-bottom: 0.9em;
}


h1 {
    font-size: 13pt;
    font-weight: normal;
    background-image: -moz-linear-gradient(top, white, #f1f2f3);
    background-image: -o-linear-gradient(top, white, #f1f2f3);
    background-image: -webkit-linear-gradient(top, white, #f1f2f3);
    font-family: tahoma, helvetica, sans-serif;
    box-shadow: 0 0 6px #ccc; 
    -moz-box-shadow: 0 0 6px #ccc; 
    -webkit-box-shadow: 0 0 6px #ccc; 
    padding: 10px 5px 10px 13px;
    color: #49668D;
    margin-bottom: 0.7em;
    margin-top: 1em;
    margin-left: -5px;
    margin-right: 0;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

pre {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    background: #f2f2f2;
}

.sql {
    font-size: 11pt;
    font-weight: normal;
}

.bash {
    font-size: 11pt;
    font-weight: normal;
}

img.left {
    float: left;
    margin: 0;
    margin-right: 15px;    
}
img.right {
    float: right;
    margin: 5px;
    margin-right: 0; 
}

hr {
    color: #ddd;
    background-color: #ddd;
    height: 3px;
}

p.readmore {
    text-align: right;
    margin-top: 0;
    padding-top: 0;
}

p.readmore a {
    font-size: 90%;
    text-decoration: none;
}

code {
    background: #ddf;
    font-family: courier;
}

.archive-date {
    font-size: 100%;
    color: #aaa;
}

.archive-entry {
    font-size: 90%;
}
    


/********************************************************************/
/* LAYOUT */

#container {
	background: white;
	position: relative;
	z-index: 1;

	padding-top: 15px;
	padding-left: 45px;
	padding-right: 40px;
	padding-bottom: 20px;
	width: 800px;
	margin: 0 auto;

	border: 1px solid #dfdfdf;
	box-shadow: 0 0 60px rgba(0,0,0,0.15);    
}

#sidebar_left {
    width: 480px;
    float: left;
    margin-right: 20px;
    margin-bottom: 40px;
}

#sidebar_right {
    width: 280px;
    float: left;
    margin-left: 19px;
    margin-bottom: 40px;
}

#column_left {
    width: 380px;
    float: left;
    margin-right: 20px;
    margin-bottom: 40px;
}

#column_right {
    width: 380px;
    float: left;
    margin-left: 19px;
    margin-bottom: 40px;
}

/********************************************************************/
/* HEADER */

#header {
    margin-bottom: 30px;
}

#header h1 {
    background: none;
    border: none;
    box-shadow: none;
    margin:0;
    padding:0;
    line-height: 0;
    height: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#header h1 a {
    background: url(../images/postgis-logo.png) 0 0 no-repeat;
	z-index: -1;
    display: block;
    overflow: hidden;
    width: 263px;
    height: 0px;
    padding-top: 995px;
    text-decoration: none;
    text-indent: 9999px;
    position: absolute;
    left: 38px;
    top: 20px;
}

#header h2 {
    display: block;
    text-align: right;
    font-size: 12pt;
    color: #555;
    font-weight: lighter;
    margin-top: 48px;
    padding-top: 0px;
}

#header p.osgeo {
    margin: 0;
    padding: 0;
    display: block;
    text-align: right;
}

#header ul.nav {
    padding: 0;
	z-index: 3;
    list-style: none;
    overflow: hidden;
    display: block;
    height: 45px;
    width: 658px;
    margin-left: 140px;
    margin-top: 20px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0 0 8px #ddd;
    -moz-box-shadow: 0 0 8px #ddd;
    -webkit-box-shadow: 0 0 8px #ddd;
    background-image: -webkit-linear-gradient(top, white, #e7e8e9);
    background-image: -moz-linear-gradient(top, white, #e7e8e9);
    background-image: -o-linear-gradient(top, white, #e7e8e9);
    border: #ddd 1px solid;
    
}

#header ul li {
    display: list-item;
}

#header ul li a {
    font-size: 11pt;
    color: #555;
    font-weight: lighter;
    text-decoration: none;
    float: left;
    padding: 0 18px;
    border-right: 1px solid #ddd;
    text-shadow: 1px 1px 0 white;
    line-height: 45px;
}

#header ul li a.last {
    float: right;
    border-right: none;
}

#header ul li a.last img {
    vertical-align: middle;
    padding-right: 10px;
    padding-left: 0px;
    padding-bottom: 8px;
}


/********************************************************************/
/* POSTS */

a.post-title {
    text-decoration: none;
    color: #49668D;
}

a:hover.post-title {
    text-decoration: none;
    color: #888;
}

p.post-meta {
    text-align: right;
    font-size: 9pt;
/*    font-weight: bold; */
    color: #888;
    margin-bottom: 4px;
}

p.post-meta a {
    color: #88f;
    text-decoration: none;
}

/********************************************************************/
/* FOOTER */

#footer {
    clear: both;
    background: #49668D;
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 0px;
    margin-left: -45px;
    margin-right: -40px;
    margin-bottom: -40px;
    color: white;
}

#footer h1 {
    color: white;
    font-size: 12pt;

    text-align: center;
    vertical-align: middle;
    line-height: inherit;

    padding: 0;
    display: inline;
    width: inherit;
    height: inherit;
    background: none;
    border: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#footer ul li a {
    color: white;
    text-decoration: none;
}

#navigation {
    color: white;
    text-align: center;
    padding-bottom: 20px;
    font-size: 11pt;
}

div.map {
    float: left;
    margin-right: 40px;
}

p.clear {
    clear: both;
}

