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

body {
	margin: 0px; padding: 0px;
	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: 13px;
}

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

pre, textarea {
	font-family: "Droid Sans Mono", monospace;
}

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

#top #links {
	text-shadow: 0px 1px 0px rgba(255,255,255,.9);
}

select option {
	text-shadow: none;
}

a img { border: none; }

form .errorlist {
	color: #bf0000;
	margin: 0px;
	padding: 0px;
}
form p.error {
	color: #bf0000;
	background: #ffd0d0;
	margin: 0px 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; */
	text-align: center;
	position: relative;
}
div#topinner {
	margin: 0px auto;
	position: relative;
}
div#top a#logo {
	position: absolute;
	top: 5px;
	left: -10px;
}
div#top div#links {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 0;
	text-align: right;
}
div#links a {
	color: white;
	text-shadow: 0 -1px black;
	display: inline-block;
	height: 21px;
    padding: 0 14px;
    line-height: 23px;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	/*margin-left: 2px;*/
    border: 1px solid #244857;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: -moz-linear-gradient(
        #5d94ac 0%,
        #297291 70%
    );
    /*background: #297291;*/
    box-shadow: inset 0 2px 2px rgba(255,255,255,.3);
}
div#links a:hover,
div#links a:visited:hover,
div#links a.selected {
	color: black;
    text-shadow: 0 1px white;
    background: #edf4f7;
    border-color: white;
    box-shadow: inset 0 2px 2px rgba(0,0,0,.2);
}
div#contents {
	background: #ebf2f5 url(noisebg.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: 11px;
	background: url(foot-bg.png) repeat-x top left;
}

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: 0px 15px;
}
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;
 top: 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;
}
table.highlighttable * {
    padding: 0;
}
table.highlighttable pre {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}
@media screen and (min-width: 600px) {
    div#topinner {
        height: 50px;
    }
}
@media screen and (max-width: 599px) {
    div#topinner {
        height: 66px;
    }
}

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

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

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

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

    div#topinner,
    div#content,
    div#foot > div {
        padding-left: 10px;
        padding-right: 10px;
    }
    div#top a#logo {
        left: 0;
    }
    div#top div#links {
        right: 10px;
    }
    
    div#foot div#footlinks {
        margin-bottom: 10px;
    }
    div#foot {
        text-align: center;
    }
}



