/* ========================== */
/*  Neptun Wasserpreis 2010   */
/*  Content Styles            */
/* ========================== */


/* === Standard Elements =================================================== */

/* --- Headers / Text ------------------------------------------------------ */

h1, 
h2, 
h3, 
h4 {
  color: #0064a2;
  font-weight: bold;
  margin: 1em 0 0.5em;
}

h1 {
  font-size: 1.5em;
  margin-top: 0;
}

h2 {
  color: #DA801A;
  font-size: 1.3em;
}

h3 {
  font-size: 1.1em;
}

h4 {
  font-size: 1em;
}

p {
  margin: 0.5em 0;
}

/* --- Links --------------------------------------------------------------- */

a {
  color: #0064a2;
  text-decoration: underline;
}

a:hover,
a:focus,
a:active {
  background-color: #0064a2;
  color: #fff;
  text-decoration: none;
}

a.pdf,
a.word,
a.xls {
  background-repeat: no-repeat;
  background-position: 2px 50%;
  padding: 2px 1px 2px 22px;
}

a.pdf  { background-image: url("/images/ui/icon_file_pdf.gif"); }
a.word { background-image: url("/images/ui/icon_file_doc.gif"); }
a.xls  { background-image: url("/images/ui/icon_file_xls.gif"); }

p.more {
  background: url("/images/ui/bg_more.gif") no-repeat 0 50%;
  padding: 10px 0 10px 45px;
}

a.roundbutton {
  background-repeat: no-repeat;
  background-position: 0 0;
  display: block;
  height: 118px;
  margin: 0 auto;
  text-indent: -999em;
  width: 118px;
}
a.roundbutton:hover,
a.roundbutton:focus,
a.roundbutton:active {
  background-color: transparent;
  color: #0064a2;
}
a#einreichen { background-image: url(/images/ui/button_einreichen.png); }
a#mitstimmen { background-image: url(/images/ui/button_mitstimmen.png); }
a#ergebnisse { background-image: url(/images/ui/button_ergebnisse.png); }
a#empty { background-image: url(/images/ui/button_empty.png); }
a#einreichen:hover,
a#einreichen:focus,
a#einreichen:active { background-image: url(/images/ui/button_einreichen_hover.png); }
a#mitstimmen:hover,
a#mitstimmen:focus,
a#mitstimmen:active { background-image: url(/images/ui/button_mitstimmen_hover.png); }
a#ergebnisse:hover,
a#ergebnisse:focus,
a#ergebnisse:active { background-image: url(/images/ui/button_ergebnisse_hover.png); }
a#empty:hover,
a#empty:focus,
a#empty:active { background-image: url(/images/ui/button_empty_hover.png); }


/* --- Lists --------------------------------------------------------------- */

#content ul {
  list-style-type: square;
  list-style-image: url('/images/ui/arrow_blue.gif');
  margin: 0 0 1em 2em;
}

#content ol {
  list-style-type: decimal;
  margin: 0 0 1em 2em;
}


/* --- Images -------------------------------------------------------------- */

#content img.bildLinks {
  float: left;
  margin: 0 0.5em 0.5em 0;
}

#content img.bildRechts {
  float: right;
  margin: 0 0 0.5em 0.5em;
}

/* === Category Teasers ==================================================== */

#content #catteaser ul {
  list-style: none none;
  margin-left: 0;
}

#catteaser ul li {
  float: left;
}

#catteaser a {
  border: 2px solid #fff;
  display: block;
  margin-right: 0.5em;
  text-decoration: none;
  width: 140px;
}

#catteaser a img {
  display: block;
}

#catteaser .last a {
  margin-right: 0;
}

#catteaser a:hover,
#catteaser a:focus,
#catteaser a:active {
  background-color: transparent;
  border-color: #0064a2;
  color: #0064a2;
}

/* === Diashow ============================================================= */
  
#content p.diashowStart {
  text-align: right;
}

#content div#diashow img {
  border: 0;
  margin: 0 auto;
  padding: 0;
}

/* --- Edit Mode --- */

#content div#diashow.diashowEdit div.diaImage {
  border-bottom: 1px solid #0099ff;
  padding: 1em 0;
  margin: 1em 0;
}

/* --- Index Mode --- */

#content div#diashow.diashowIndex div.diaImage {
  float: left;
  border: 1px solid #ccc;
  margin: 3px;
}

#content div#diashow.diashowIndex div.diaImage a {
  display: block;
  height: 100px;
  padding: 3px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100px;
}

#content div#diashow.diashowIndex div.diaImage a img {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  margin: auto;
}


#content div#diashow.diashowIndex div.diaImage a:hover,
#content div#diashow.diashowIndex div.diaImage a:focus,
#content div#diashow.diashowIndex div.diaImage a:active {
  background-color: #0099ff;
  text-decoration: none;
}

/* --- View Mode --- */

#content div#diashow.diashowView div.diaImage a, 
#content div#diashow.diashowView div.diaImage span {
  border: 1px solid #ccc;
  display: block;
  padding: 3px;
  text-align: center;
  text-decoration: none;
}

#content div#diashow.diashowView div.diaImage a:hover,
#content div#diashow.diashowView div.diaImage a:focus,
#content div#diashow.diashowView div.diaImage a:active {
  background-color: #fff;
  border-color: #0099ff;
}

/* --- Diashow Controls --- */

#content div.diashowControls {
  background-color: #eee;
  margin: 1em 0;
  padding: 0.3em 0;
}

#content div.diashowControls p {
  font-size: 0.9em;
  margin: 0;
  text-align: center;
}

#content div.diashowControls p a, 
#content div.diashowControls p span {
  background-color: #fff;
  display: -moz-inline-box;
  display: inline-block;
  margin: 0 0.05em;
  padding: 0.1em 0.4em;
  text-decoration: none;
  vertical-align: middle;
}

#content div.diashowControls p a {
  border: 1px solid #ddd;
  color: #000;
}

#content div.diashowControls p span {
  border: 1px solid #ddd;
  color: #999;
}

#content div.diashowControls p a:hover, 
#content div.diashowControls p a:focus, 
#content div.diashowControls p a:active {
  border: 1px solid #eb690a;
}


/* === VOTING ============================================================== */

#voting #contribs {
  float: right;
  width: 100%;
}

#voting button {
  margin: 1em 0;
}

#voting label.done {
  color: #666;
  text-decoration: line-through;
}

#voting .row {
  clear: left;
  padding-bottom: 1em;
}

#voting .contrib {
  background-color: #dfdfdf;
  float: left;
  margin-right: 1em;
  padding: 0.3em 0.3em 3em 0.3em;
  position: relative;
  width: 252px;
}

#voting .checked {
  background-color: #b2e0ff;
}

#voting .image h3 {
  background-position: top right;
  background-repeat: no-repeat;
  background-image: url('/images/ui/mime-image-32.png');
}
#voting .video h3 {
  background-position: top right;
  background-repeat: no-repeat;
  background-image: url('/images/ui/mime-video-32.png');
}
#voting .text h3 {
  background-position: top right;
  background-repeat: no-repeat;
  background-image: url('/images/ui/mime-text-32.png');
}

#voting .contrib h3 {
  background-color: #fff;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.5em;
  padding: 0.35em 30px 0.35em 0.2em;
}

#voting .contrib a.thumb {
  border: 1px solid #dfdfdf;
  display: block;
}

#voting .contrib a.thumb:hover,
#voting .contrib a.thumb:focus,
#voting .contrib a.thumb:active {
  background-color: #dfdfdf;
  border-color: #0064a2;
}

#voting .contrib div.details {
}

#voting .contrib p.teaser {
}

#voting .contrib input.vote {
  vertical-align: middle;
}

#voting .contrib a img {
  display: block;
  margin-right: 1em;
}

#voting .contrib p.controls {
  background-color: #fff;
  padding: 0.2em 0.5em;
  margin-bottom: 0.5em;
  margin-right: 0.5em;
  position: absolute;
  bottom: 0;
  right: 0;
}

#voting div.input,
#voting div.button {
  margin-bottom: 0.5em;
}

#voting div.input label {
  display: block;
  float: left;
  margin-right: 0.5em;
  text-align: right;
  width: 10em;
}

#voting div.input input,
#voting div.input textarea {
  border: 1px solid #ddd;
  width: 20em;
}

#voting div.input input:hover,
#voting div.input input:focus, 
#voting div.input textarea:hover,
#voting div.input textarea:focus, 
#voting div.button button:hover,
#voting div.button button:focus {
  border-color: #0099ff;
}

#voting div.input textarea {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 1.05em;
}

#voting div.button button.indent {
  margin-left: 10em;
}


#voting em {
  background-color: #c00;
  color: #fff;
  font-style: normal;
  padding: 0 0.2em;
}

p.icon {
  background-position: 0 50%;
  background-repeat: no-repeat;
  padding-bottom: 5px;
  padding-left: 30px;
  padding-top: 5px;
}

p.error { background-image: url('/images/ui/icon-error.gif'); }
p.warning { background-image: url('/images/ui/icon-warning.gif'); }
p.info { background-image: url('/images/ui/icon-info.gif'); }
p.question { background-image: url('/images/ui/icon-question.gif'); }


/* === Submission Forms ==================================================== */

form.submission fieldset {
  border-top: 1px solid #aaa;
  margin: 1em 0;
}
form.submission fieldset legend {
  display: block;
  font-weight: bold;
  padding-right: 1em;
}

form.submission p.hint {
  color: #666;
  font-size: 0.9em;
}

form.submission div.input,
form.submission div.file,
form.submission div.option {
  margin: 0.5em 0;
}
form.submission div.option {
  position: relative;
}
form.submission div.options {
  margin: 0.2em 0;
  position: relative;
}

form.submission div.tooltip {
  color: #666;
}

form.submission div.input label {
  display: block;
  color: #555;
}
form.submission div.file label {
  color: #555;
  margin-right: 0.5em;
}
form.submission div.option label,
form.submission div.options label {
  color: #555;
  margin-left: 2em;
}
form.submission label span {
  color: #DA801A;
  margin-left: 0.2em;
}

form.submission div.input input,
form.submission div.file input {
  background-color: #eee;
  border: 1px solid #aaa;
  font-size: 1em;
}
form.submission div.input input {
  padding: 0.3em;
  width: 30em;
}
form.submission div.input textarea {
  background-color: #eee;
  border: 1px solid #aaa;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1em;
  height: 5em;
  padding: 0.3em;
  width: 30em;
}
form.submission div.input select {
  background-color: #eee;
  border: 1px solid #aaa;
  padding: 0.3em;
  width: 30em;
}
form.submission div.option input,
form.submission div.options input {
  position: absolute;
  left: 0;
  top: 0;
}
form.submission div.option input.checkbox,
form.submission div.options input.checkbox {
  background-color: #eee;
  border: 1px solid #aaa;
}

form.submission div.button {
  margin-top: 1.5em;
}
form.submission div.button button {
  background-color: #eee;
  border: 2px outset #aaa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  padding: 0.3em 0.5em;
  text-align: left;
}
form.submission div.button button .hint {
  font-size: 0.8em;
  font-weight: normal;
  margin-left: 1em;
}

form.submission div.error label {
  color: #c00;
  font-weight: bold;
}
form.submission div.error input {
  border-color: #c00;
}
div.errors {
  border: 3px solid #c00;
  padding: 0.5em;
}
div.errors h3 {
  color: #c00;
  margin-top: 0;
}
div.errors ul {
  margin-bottom: 0;
}

form.submission div.input input:hover,
form.submission div.input input:focus,
form.submission div.input input:active,
form.submission div.input textarea:hover,
form.submission div.input textarea:focus,
form.submission div.input textarea:active,
form.submission div.input select:hover,
form.submission div.input select:focus,
form.submission div.input select:active,
form.submission div.option input.checkbox:hover,
form.submission div.option input.checkbox:focus,
form.submission div.option input.checkbox:active,
form.submission div.options input.checkbox:hover,
form.submission div.options input.checkbox:focus,
form.submission div.options input.checkbox:active,
form.submission div.button button:hover,
form.submission div.button button:focus,
form.submission div.button button:active {
  background-color: #fff;
  border-color: #0064a2;
}
form.submission div.button button:hover,
form.submission div.button button:focus,
form.submission div.button button:active {
  border-style: inset;
}
form.submission div.button button.disabled {
  background-color: #eee;
  color: #666;
  border-color: #aaa;
  border-style: inset;
}

form.submission div.twocols .left {
  float: left;
  margin-right: 1em;
}
form.submission div.twocols .left input {
  width: 6em;
}
form.submission div.twocols .right {
  float: left;
}
form.submission div.twocols .right input {
  width: 22.3em;
}

form.left {
  float: left;
  margin-right: 1em;
}

form.submission div.secondary button {
  font-weight: normal;
  font-size: 1em;
}


/* --- Uploadify --- */

.uploadifyQueueItem {
    font: 11px Verdana, Geneva, sans-serif;
    border: 2px solid #E5E5E5;
    background-color: #F5F5F5;
    margin-top: 5px;
    padding: 10px;
    width: 350px;
}
.uploadifyError {
    border: 2px solid #FBCBBC !important;
    background-color: #FDE5DD !important;
}
.uploadifyQueueItem .cancel {
    float: right;
}
.uploadifyProgress {
    background-color: #FFFFFF;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #C5C5C5;
    border-bottom: 1px solid #C5C5C5;
    margin-top: 10px;
    width: 100%;
}
.uploadifyProgressBar {
    background-color: #0099FF;
    width: 1px;
    height: 3px;
}

/* --- Submissions List ---------------------------------------------------- */

table {
  margin: 1em 0;
  width: 100%;
}

table thead tr th {
  background-color: #b2c7df;
  font-weight: bold;
  padding: 0.3em;
  text-align: left;
}

table tbody tr td,
table tbody tr th {
  padding: 0.3em;
  text-align: left;
}

table tbody tr.even td,
table tbody tr.even th {
  background-color: #ddd;
}

table tbody tr.nouploads td,
table tbody tr.nouploads th {
  background-color: #c00;
  color: #fff;
}
table tbody tr.nouploads a {
  color: #fff;
}

table tbody tr th {
  font-weight: bold;
  text-align: left;
}

#submissions_list tbody td ul {
  list-style: none;
  margin: 0;
}

p.right {
  float: right;
}
