/*
 * Basic layout stuff based on Google Blueprint CSS
 */

body {
  background: #E4EFF4 url(/stylesheets/local/blueprint/images/body_background.gif) top left repeat;

  font-size: small;
  color: #000000;
}
* html body {
  font-size: xx-small;
  f\ont-size: x-small;
}

h3 {
  font-size: 1.5em;
  font-weight: normal;
}
h4, h5, h6 {
  font-size: 1.0em;
  font-weight: bold;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted;
}
a:hover {
  border-bottom: 1px solid;
}

p + p {
  text-indent: 0px;
  margin-top: -0.8em;
}

fieldset {
  padding-left: 0px;
  width: 90% !important;

  border: none;
}
fieldset p {
  padding-bottom: 5px;

  line-height: 1.0em;
}
fieldset label {
  display: block;
  padding-bottom: 5px;
}
fieldset label.nowrap {
  display: inline;
  padding-right: 5px;
}
fieldset label small {
  display: block;
  padding-top: 2px;
  padding-bottom: 2px;

  color: #606060;
  font-weight: normal;
}
fieldset legend {
  width: 90%;
  padding: 0px 0px 8px 0px;

  font-weight: normal;
  border-bottom: 1px dotted #909090;
}

table {
  table-layout: auto;
  border-collapse: collapse;
  border-spacing: 0px;
  empty-cells: show;
  caption-side: top;
}

td {
  padding: 5px 10px 5px 0px;
  vertical-align: top;
}

th {
  padding: 2px 10px 10px 0px;
  vertical-align: top;
  text-align: left;
}

input.short {
  width: 147px;
}

input.tiny {
  width: 73px;
}

textarea {
  height: 150px;
}

#toolbar {
  text-align: right;
}
#toolbar ul {
  padding: 5px 4px 0px 8px;
  margin-right: 0px;

  color: #505050;
  list-style-type: none;
}
#toolbar ul li {
  display: inline;
  padding: 0px 5px;

  border-right: 1px solid;
}
#toolbar ul li.last {
  padding-right: 0px;

  border-right: none;
}
#toolbar ul li a {
  font-size: inherit;
}

#header-frame {
}

#header-wrapper {
  clear: both;
  margin: 0px;
  padding: 0px;

  border-left: 5px solid #CDE5F1;
  border-right: 5px solid #CDE5F1;
}

#header {
  padding: 3px 8px 1px 8px;
  min-height: 90px;

  background: #FFFFFF url(/stylesheets/local/blueprint/images/header_background.png) bottom left no-repeat;
  border-bottom: none;
  color: #FFFFFF;
}
#header h1 {
  padding-top: 5px;
  padding-bottom: 20px;

  color: #FFFFFF;
  font-size: 250%;
}
#header #logo {
  position: absolute;
  float: left;
}
#header div.main {
  padding-left: 80px;
}
#header a {
  color: #FFFFFF;
}
#header h1 a {
  text-decoration: none;
}
#header h1 small {
  display: block;
  font-size: 30%;
}

#navigation {
  margin: 0px;
  padding: 0px;

  background: #008200;
  color: #FFFFFF;
}
#navigation a {
  color: #FFDB00;
}
#navigation ul {
  margin: 0px;
  padding: 0px;

  list-style-type: none;
}
#navigation ul li {
  display: inline;
  padding: 4px 8px;
  margin: 0px;

  line-height: 1.5em;
  border-right: 1px solid;
}
#navigation ul li.first {
  margin-left: 5px;
}
#navigation ul li.last {
  border-right: none;
}
#navigation ul li.selected {
}
#navigation ul li.selected a {
  text-decoration: none;
}

#help-wrapper {
  position: relative;
  top: 0px;
  left: 0px;
}

#help {
  position: absolute;
  display: none;
  right: 0px;
  top: -1px;
  width: 40%;
  padding: 8px;
  height: 500px;
  z-index: 1000;

  background: #FFFFFF url(/stylesheets/local/blueprint/images/sidebar_background.png) top left repeat-x;
  border: 1px solid #CDE5F1;
  border-right: 5px solid #CDE5F1;
  overflow-x: hidden;
  overflow-y: auto; 
}

#help-handle {
  position: absolute;
  display: none;
  right: 0px;
  top: -1px;
  width: 40%;
  padding: 8px;
  z-index: 1001;
}
#help-handle img {
  position: absolute;
  left: -20px;
  top: -15px;
  width: 32px;
}

#help-content {
}

#content-frame {
}

#content-wrapper {
  clear: both;
  margin: 0px;
  padding: 0px;

  background: #FFFFFF; /* url(/stylesheets/local/blueprint/images/content_background.png) top left repeat-x; */
  border: 5px solid #CDE5F1;
  border-top: none;
}

#content {
  padding: 8px;
  height: 500px;
  overflow-x: hidden; 
  overflow-y: auto;
}

#maincontent {
  padding: 8px;
  min-height: 400px;
}
#maincontent fieldset {
  width: 52%;
}
#maincontent.span-15 fieldset {
  width: 90%;
}

#sidebar {
  margin-top: 5px;
  padding: 15px 10px 0px 10px;
  min-height: 400px;

  background: #FFFFFF url(/stylesheets/local/blueprint/images/sidebar_background.png) top left repeat-x;
  border: 6px solid #FFFFFF;
  -moz-border-radius: 12px;
  -khtml-border-radius: 12px;
}

#sidebar h3 {
  font-size: 1.0em;
  font-weight: bold;
}

#footer-wrapper {
  clear: both;
  margin: 0px;
}

#footer {
  padding: 5px 8px 0px 0px;

  color: #505050;
}
#footer a {
  color: #505050;
}

#teaser {
  float: right;
  width: 40%;
  margin-left: 15px;
  padding: 10px;

  font-size: 130%;
}

#breadcrumb {
  float: right;
  margin-left: 0px;
  padding-left: 0px;

  color: #000000;
}
#breadcrumb ul {
  margin: 0px;
  padding: 0px;

  font-weight: normal;
  list-style: none;
}
#breadcrumb li {
  display: inline;
  padding: 0px 10px 5px 0px;
  margin: 0px;

  font-weight: normal;
  text-decoration: none;
}
#breadcrumb li a, #breadcrumb li a:hover {
  border: none;
}
#breadcrumb li.last {
  padding-right: 0px;
}

#resultlist th {
  padding: 4px 5px;
}
#resultlist th.page {
  text-align: right;
}
#resultlist td big, #resultlist td small {
  display: block;
}

.drawer {  
  background: #FFFFFF url(/stylesheets/local/blueprint/images/sidebar_background.png) 50% left repeat-x;
  border: 6px solid #FFFFFF;
  -moz-border-radius: 12px;
  -khtml-border-radius: 12px;
  padding: 8px;
}

.button {
  width: 180px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 4px 6px;

  border: 4px solid #7AC6DD;
  background: #F9F3DD url(/stylesheets/local/blueprint/images/icon_background.png) 0px 30% no-repeat;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  font-size: 10pt;
  color: #1F58CB;
}
.button:hover {
  text-decoration: underline;
}
.button a {
  display: block;

  color: #1F58CB;
  text-decoration: none;
  border: none;
}
.button a:hover {
  border: none;
}
.button a span {
  display: block;
  float: left;
  height: 16px;
  margin-top: 2px;
  padding: 0px;
  padding-right: 28px;
}

.button-disabled {
  opacity: 0.5;
}
.button-disabled:hover {
  text-decoration: none;
}

.icon {
  width: 5.3em;
  margin: 0px 0px 10px 0px;
  padding: 0px;

  text-align: center;
} 
.icon big {
  display: block;
  margin: 0px;
  padding: 0px 5px 0px 5px;

  font-size: 120%;
  font-weight: normal;
}
.icon big img {
  width: 38px;
}
.icon small {
  display: block;
  margin: 0px;
  padding: 0px;

  font-size: 100%;
}
.icon span {
  display: block;
  width: auto;
  height: 1.5em;
  margin: 0px;
  padding: 0px 5px 0px 5px;

  font-style: normal;
}
.icon span.empty {
  height: 5px;
}
.icon a, .icon a:hover {
  border: none;
}

.icon16 {
  width: 2.7em;
  margin: 0px;
}
.icon16 big img {
  width: 16px;
  height: 16px;
}
.icon16 small {
  font-size: 40%;
}

.icon24 {
  width: 3.4em;
  margin: 0px;
}
.icon24 big img {
  width: 24px;
  height: 24px;
}
.icon24 small {
  font-size: 40%;
}

.icon32 {
  width: 4.2em;
  margin: 0px;
}
.icon32 big img {
  width: 32px;
  height: 32px;
}
.icon32 small {
  font-size: 70%;
}

.icon48 {
  width: 6.0em;
}
.icon48 big img {
  width: 48px;
  height: 48px;
}
.icon48 small {
  font-size: 100%;
}

.icon64 {
  width: 7.5em;
}
.icon64 big img {
  width: 64px;
  height: 64px;
}
.icon64 small {
  font-size: 120%;
}

.icon128 {
  width: 14em;
}
.icon128 big img {
  width: 128px;
  height: 128px;
}
.icon128 small {
  font-size: 155%;
}

.box {
  margin: 5px 10px 5px 0px;
  padding: 5px;

  background: #F9F3DD url(/stylesheets/local/blueprint/images/icon_background.png) 0px -3px no-repeat;
  border: 7px solid #7AC6DD;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  color: #1F58CB;
}
.box a {
  color: #1F58CB;
  border: none;
}
.box:hover {
  background: #FEDBA2;
  color: #1F58CB;
}
.box a:hover {
  border: none;
}

.box-disabled {
  opacity: 0.5;
}
.box-disabled:hover {
  background: #F9F3DD url(/stylesheets/local/blueprint/images/icon_background.png) -3px -3px no-repeat;
  border-color: #7AC6DD;
}

.highlight-box {
  background: #FF1010;
  border-color: #BB0000;
  color: #FFFFFF;
}
.highlight-box a {
  color: #FFFFFF;
}
.highlight-box:hover {
  background: #FF0000;
  color: #FFFFFF;
}

.teaser-box {
  background: #FFF3DD;
  color: #000000;
  padding: 10px;
}
.teaser-box a {
  background: #FFF3DD;
  color: #000000;
}
.teaser-box:hover {
  background: #FFF3DD;
  color: #000000;
}
.teaser-box h2 {
  font-size: 180%;
}

.teaser-box img {
  padding-right: 25px;
}
.teaser-box ul {
  list-style: circle;
}

.list tr td {
  padding: 5px;
  padding-bottom: 0.8em !important;
}

.list td div {
  padding: 5px;
  margin: 0px;
}

.list td div.message-notice {
  background: #D0FFD0;
}
.list td div.message-warning {
  background: #FFFF80;
}
.list td div.message-error {
  background: #FFC2B9;
}

.icon-list {
}
.icon-list tr td:first-child {
  padding: 0px;
  padding-top: 2px;
  width: 30px;
}

.commented-list tr td:last-child {
  width: 60%;
  color: #606060;
}
.commented-list tr td:last-child a {
  color: #606060;
}

a.small-link {
  font-size: 80%;
  text-decoration: none;
  border-bottom: 1px dotted;
  color: inherit;
}
a.small-link:hover {
  border-bottom: 1px solid;
}

a.add-link:before {
  content: " + ";
}

a.delete-link:before {
  content: " x ";
}

.large {
  line-height: 1.5em;
}

.paperclip a {
  display: block;
  text-decoration: none;
  border: none;
}
.paperclip a:hover {
  text-decoration: none;
  border: none;
  padding: 0px;
}

.paperclip {
  display: block;
  float: left;
  margin-right: 10px;

  border: 1px solid #E0E0E0;
  background: #FFFFFF;
}
.paperclip span {
  display: block;
  padding: 0px;

  border: 1px solid #E0E0E0;
  vertical-align: baseline;
  text-align: center;
}
.paperclip img {
  display: block;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

.paperclip-icon {
  max-width: 34px;
  max-height: 34px;
  padding: 1px;
}

.paperclip-thumb {
  max-width: 134px;
  max-height: 134px;
  padding: 3px;
}

.paperclip-small {
  max-width: 168px;
  max-height: 168px;
  padding: 4px;
}

.paperclip-medium {
  max-width: 266px;
  max-height: 266px;
  padding: 5px;
}

.paperclip-large {
  max-width: 100%;
  max-height: 1040px;
  padding: 8px;
}

/*
 * Additional markup
 */

#flash-messages {
}

.error {
  padding-top: 10px;
  padding-left: 60px;
  min-height: 46px;

  background: url(/stylesheets/local/blueprint/icons/error48.png) 3px 8px no-repeat;
  border: none;
  border-bottom: 1px solid #F0F0F0;
  font-size: 120%;
}

.notice {
  padding-left: 60px;
  min-height: 46px;

  background: url(/stylesheets/local/blueprint/icons/warning48.png) 5px 8px no-repeat;
  border: none;
  border-bottom: 1px solid #F0F0F0;
  font-size: 120%;
}
.notice a {
  color: inherit;
}

.success {
  padding-left: 60px;
  min-height: 46px;

  background: url(/stylesheets/local/blueprint/icons/info48.png) 5px 8px no-repeat;
  border: none;
  border-bottom: 1px solid #F0F0F0;
  font-size: 120%;
}
.success a {
  color: inherit;
}

.widget-player {
  width: 690px;
  height: 500px;

  background: #FFFFFF url(/stylesheets/local/blueprint/images/progress.png) 50% 50% no-repeat;
}

.help-links {
  padding-bottom: 15px;
}

.newsfeed img {
  border: 1px solid #E0E0E0;
  max-width: 30%;
  margin-left: 20px;
  margin-bottom: 10px;
  float: right !important;
}

.stats {
  clear: both;
  padding: 0px;
  padding-top: 50px;

  background: none;
  text-align: left;
}
.stats p, .stats th, .stats td {
  padding: 5px;
}

/* 
 * Standard Rails stuff used in validation helpers...
 */

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}
.fieldWithErrors input, .fieldWithErrors textarea {
  margin: 2px;
  padding: 2px;
}

#errorExplanation {
}

#errorExplanation h2 {
}

#errorExplanation p {
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

hr.space {
  background: none;
}

.paginator a {
  border: 1px solid gray;
  padding: 4px 4px;
}
.paginator a:hover {
  background: #E5E5E5;
}

label.nobr {
  display: inline;
}

table.searchbar td {
  padding: 0px 5px 0px 0px;
  vertical-align: baseline;
}
table.searchbar td.selected strong {
  font-size: 130%;
}

ul.checkboxlist {
  padding: 0px;
  margin-left: 0px;

  list-style-type: none;
}
ul.checkboxlist li {
  padding-left: 0px;
}

.websnapr, .websnapr:hover {
  border: none;
  text-decoration: none;
}

.websnapr img {
  border: 1px solid #F0F0F0;
}

.search-input {
  vertical-align: top;
}
.search-input input {
  vertical-align: top;
  margin-top: 5px !important;
}
.search-input input[type="image"] {
  margin-top: 0px !important;
  vertical-align: top;
  width: 40px;
}

#noproxy-sticker {
  position: absolute;
  left: 0px;
  top: 50px;
}
#noproxy-sticker a {
  text-decoration: none;
  border: none;
}

#teaser-sticker {
  position: absolute;
  left: 0px;
  top: 50px;
}
#teaser-sticker a {
  text-decoration: none;
  border: none;
}

/* Additions for jQuery autocomplete plugin */

.ac_results {
  padding: 0px;
  border: 1px solid WindowFrame;
  background-color: Window;
  overflow: hidden;
}

.ac_results ul {
  width: 100%;
  list-style-position: outside;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ac_results iframe {
  display:none;/*sorry for IE5*/
  display/**/:block;/*sorry for IE5*/
  position:absolute;
  top:0;
  left:0;
  z-index:-1;
  filter:mask();
  width:3000px;
  height:3000px;
}

.ac_results li {
  margin: 0px;
  padding: 2px 5px;
  cursor: pointer;
  display: block;
  width: 100%;
  font: menu;
  font-size: 12px;
  overflow: hidden;
  text-align: left;
}

.ac_loading {
  background: Window url('/stylesheets/local/blueprint/indicator.gif') right center no-repeat;
}

.ac_over {
  background-color: Highlight;
  color: HighlightText;
}

.picture-detail { 
  margin: 0px;
  padding: 0px;
}
.picture-detail .picture-pager {
  clear: both;
  position: relative;
  top: -60px;
}
.picture-detail .picture-pager a {
  display: none;
}
.picture-detail:hover .picture-pager a {
  display: inline;
}
