/*@import url("../type/droidsans/stylesheet.css");*/
@import url("buttons.css");

body {
    margin: 0; padding: 0;
    background-color: #545454;
    color: black;
}

/* fonts: */
body, tr, td, input, button,
input, button, option, select, div#foot,
h1, h2, h3, h4, h5, h6 {
    font-family: "Droid Sans", Arial, "Liberation Sans", sans-serif;
}

body, tr, td, input, button {
    font-size: 15px;
}

/* rst doctree */
.blogish_post_body,.document {
	font-size: 16px;
	margin: 0px 5px;
}

.document h1 {
	font-size: 2em;
}

.section h1 {
	font-size: 1.5em;
}

.section h2 {
	font-size: 1.17em;
}

.section h3, .section h4 {
	font-size: 1em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Ubuntu, Arial, sans-serif;
/*  font-style: italic; */
}

pre, textarea, tt, code, kbd, samp {
    font-family: "Inconsolata", monospace;
}

h1, h2, h3, h4, h5, h6, .shadow1 {
    text-shadow: 0 1px 0 rgba(255,255,255,.9);
}

select option {
    text-shadow: none;
}

a img { border: none; }

form .errorlist {
    color: #bf0000;
    margin: 0;
    padding: 0;
}
form p.error {
    color: #bf0000;
    background: #ffd0d0;
    margin: 0 1px !important;
    padding: 1px 2px !important;
}

acronym {
    border-bottom: 1px dotted;
}

form.tabbed label {
    position: relative;
    float: left;
    width: 10em;
    text-align: right;
    padding-top: 3px;
    padding-right: 5px;
}
form.tabbed input {
    float: left;
    width: 8em;
    position: relative;
}
form.tabbed p {
    clear: both;
    margin: 0px;
    padding: 0px;
}
form.tabbed p button[type="submit"] {
    margin-left: 10em;
}
form.tabbed textarea {
    width: 65%;
}
form.tabbed br {
    clear: both;
}

form.topped p {
    margin: 0px;
    padding: 0px;
}
form.topped label {
    position: relative;
    text-align: left;
    font-size: 80%;
    display: block;
}
form.topped input {
    position: relative;
    width: 98.5%;
}
form.topped textarea {
    width: 98.5%;
}
form.topped .errorlist {
    font-size: 80%;
    float: left;
    padding-right: 2px;
}

h2,h3,h4 {
    margin-bottom: 2px;
    margin-top: 4px;
}
h2 {
    margin-top: 12px;
}

/* layout */
div#top {
    background: url(top-bg.jpg) no-repeat left top;
/*  border-bottom: 3px solid #92b7e0; */
    position: relative;
}
div#topinner {
    margin: 0 auto;
    position: relative;
}

div#contents {
    background: #efefef url(pat.png);
    padding-bottom: 10px;
    min-height: 300px;
}
div#content {
    margin: 0px auto;
    padding: 10px 0px;
}
body.wide div#content {
    padding: 15px 0px;
}

div#foot {
    background-color: #545454;
    font-size: 14px;
    background: url(foot-bg.png) repeat-x top left;
	padding: 20px 0;
}

div#foot,
div#foot a {
    color: #ccc;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, .7);
}

div#foot > div {
    margin: 0px auto;
    padding: 14px 0px;
}

div#message {
    text-align: center;
    color: #bf0000;
}
div#message.error {
    font-weight: bold;
}
body.wide div#content,
body.wide div#top div#topinner,
body.wide div#foot > div {
    width: auto;
    margin: 0 10px;
}
body.wide div#top {
    background-position: -680px top;
}

/* CRM */
body.crm p {
    margin: 0px;
    padding-left: 1em;
}

span.diff-rem {
    color: rgb(204, 0, 0);
    text-decoration: line-through;
}
span.diff-add {
    color: rgb(0, 136, 0);
}

form#search input,
form#search label,
form#search select,
form#search button {
    vertical-align: middle;
}
.twtr-widget * {
    text-shadow: none !important;
}
#rcmseditbtn {
 position:fixed;
 bottom: 5px;
 right: 5px;
 display: block;
 padding: 2px 10px;
 border: 1px solid gray;
 background: white;
 border-radius: 4px;
}
pre.code, pre.literal-block, div.highlight pre, table.highlighttable {
    overflow: auto;
/*    font-size: 90%; */
/*    margin-left: 20px; */
    position: relative;
    color: #657b83;
    background: #eee8d5 no-repeat right 3px;
    border-radius: 4px;
    padding: 8px;
}
code {
	display: inline-block;
    color: #657b83;
    background: #eee8d5 no-repeat right 3px;
    border-radius: 4px;
	padding: 2px 4px;
}
table.highlighttable * {
    padding: 0;
}
table.highlighttable pre {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

div#topinner {
    min-height: 46px;
    padding-top: 5px;
}

a#logo {
    float: left;
    margin-left: -5px;
    margin-bottom: -5px;
}

.address {
	float: left;
}
.address *:first-child {
	margin-top: 0px;
}
.qraddress {
	padding: 0 0 20px 20px;
	float: right;
}

#links {
	text-align: right;
}

@media screen and (min-width: 940px) {

    div#topinner,
    div#content,
    div#foot > div {
        width: 940px;
    }

    div#foot div#footlinks {
        float: left;
		text-align: left;
    }
    div#foot {
        text-align: right;
    }
}

@media screen and (max-width: 939px) {

    div#topinner {
        margin-left: 10px;
        margin-right: 10px;
    }
    div#content,
    div#foot > div {
        padding-left: 10px;
        padding-right: 10px;
    }

    div#foot div#footlinks {
        margin-bottom: 10px;
    }
    div#foot {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
	.address, .qraddress {
		float: none;
		padding: 0;
	}
}
