/* Cascading Style Sheet for Chapman Ridge */

/* Site defaults */
html {
  height: 100%;
}

body {
  margin-top:0px;
  background:white;
  color:black;
  font-family: Ariel, Helvetica, sans-serif;
}

table {
  font-family: sans-serif;
  font-weight: normal;
  padding-top: 10px;
  padding-left: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
  border-collapse:collapse;
}

th {
    font-weight:bold;
    padding: 3px;
}

td {
    padding:3px;
    text-align:right;
}

table.small {
  font-size: small;
}

table.small tr:nth-child(even) {
  background: #ccccff;
}

p {
    font-family: sans-serif;
}

/* Multiple-line paragraphs like pool status comments */
p.textcomment {
    white-space: pre-wrap;
}

/* Multiple-line table cells */
td.textcomment {
    white-space: pre-wrap;
    text-align: left;
}

p.footer {
  color: gray;
}

a:link {
    color:#1111dd;
}

a:visited {
    color:#1111dd;
}

/* Page Banner */
#titlebar {
  font-family:sans-serif;
  font-size:large;
  color:#dddddd;
  background:#222288;
  height:55px;
  background-image: linear-gradient(to bottom, #000033 0%, #111177 15%, #111188 85%, #222255 100%);
  background-image: -webkit-linear-gradient(to bottom, rgb(0,0,0) 0%, rgb(20,92,9) 10%, rgb(20,92,9) 90%, rgb(255,255,255) 100%);
  margin-bottom:0px;
  margin-left: -10px;
  width: auto;
}

/* Photo Background - desktop only */
@media only screen and (min-width: 600px) {
    body.photobg {
      background-image: url('/static/images/mulberry.png');
      background-repeat: no-repeat;
      background-size: cover;
    }
}
/* Push content down by fixed height of page banner */
div.titlepush {
   margin-bottom: 55px;
}

#maintitle {
  position:absolute;
  top:-5px;
  left:10px;
  font-family:sans-serif;
  font-size:small;
  font-weight:bold;
  color:#dddddd;
  float:left;
}

@media (min-width: 600px) {
  #maintitle {
    position:absolute;
    top:-5px;
    left:10px;
    font-family:sans-serif;
    font-size:large;
    font-weight:bold;
    color:#dddddd;
    float:left;
  }
}

#subtitle {
  display:none;
}

@media (min-width: 600px) {
    #subtitle {
      position:absolute;
      top:15px;
      left:10px;
      font-family:sans-serif;
      font-size:medium;
      font-weight:normal;
      color:#bbbbbb;
      float:left;
      display:inline;
    }
}

#subtitle {
  position:absolute;
  top:15px;
  left:10px;
  font-family:sans-serif;
  font-size:medium;
  font-weight:normal;
  color:#bbbbbb;
  float:left;
}

#auth {
  font-family:sans-serif;
  font-size:medium;
  font-weight:normal;
  color:#bbbbbb;
  float:right;
  padding-right:10px;
}

#auth a:link, #auth a:visited {
  color:yellow;
}

#auth a:active {
  color:orange;
}

/* Messages */
div.message {
  font-family:sans-serif;
  font-size:medium;
  color:black;
  background:yellow;
  text-align:center;
  border-style:ridge;
  border-color:black;
}

/* Dashboard */
div.dashboard {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-width: 450px;
  -moz-column-width: 450px;
  -webkit-column-width: 350px;
}

/* Profile summary */
dl.profile_summary dt {
  font-weight: bold;
}

dl.profile_summary dd {
  font-size: small;
  font-weight: normal;
  padding-bottom: 10px;
}

dl.profile_summary td {
  text-align: left;
}

dl.profile_summary td.label {
  font-weight: bold;
}

dl.profile_summary span.public {
  border: 1px solid black;
  border-radius: 2px;
  background: white;
  font-size: x-small;
  font-weight: bold;
  padding:1px;
  margin: 2px;
}

dl.profile_summary span.private {
  border: 1px solid green;
  border-radius: 2px;
  background: #ccc;
  font-size: x-small;
  padding:1px;
  margin: 2px;
}

dl.profile_summary span.emergency {
  border: 1px solid white;
  color: white;
  background: red;
  font-weight: bold;
  font-size: x-small;
  padding:1px;
  margin: 2px;
}
  
/* Display of registration codes */
p.regcode {
  font-family: "Courier New", Monospace, serif;
  color:black;
  font-size: large;
  font-weight: bold;
}

p.about {
  background:#22aa22;
  border: 4px blue ridge;
  position: absolute;
  top:125px;
  left:50%;
  width:75%;
  center;
  min-width:250px;
  max-width:650px;
  transform: translate(-50%, 0);
  margin-left: auto;
  padding:15px;
  border-radius: 5px;
  color: white;
}

p#files {
  background:#444488;
  border: 4px blue ridge;
  position: relative;
  padding:15px;
  max-width:300px;
}

p#functions {
  background:#22ddff;
  border: 4px blue ridge;
  float:right;
  padding:15px
}


#login p.error {
  color: red;
}

/* Register */
form#register {
  font-family: sans-serif;
  padding-top: 10px;
  padding-left: 10px;
  padding-bottom: 10px;
  background:#8af;
  border:3px;
  border-radius:5px;
}

form#register td.data {
  text-align:left;
}

form#register td.data span.errors {
  color:red;
}


#dashboard_employee p {
  background: blue;
}

div.employee_table table caption {
  background: #8888ff;
}

div.employee_table table tbody {
  background: #8888ff;
}

table.navigation {
  color: blue;
  background: #dddddd;
  margin-bottom: 20px;
}

/* "6D" certificates */
#certificate {
  background: #ffffcc;
  border: 4px black ridge;
  padding: 10px;
  width: 6.5in;
  margin: 0.5in;
}

#notary_block {
  margin: 0.5in;
  width: 6.5in;
  padding: 10px;
}

#certificate table.signature_block {
  border-collapse:separate;
  font-family: serif;
  font-size: medium;
}

#certificate table.signature_block td {
  background: #ffffcc;
  border: none;
  text-align: left;
  vertical-align: top;
}

#certificate table.signature_block tr:first-child td {
  border-bottom: 2px black solid;
}

#certificate table.signature_block tr:first-child td:first-child {
  min-width: 4.5in;
}

#certificate table.signature_block tr:first-child td.spacer {
  min-width: 0.25in;
  border-bottom:none;
}

@media print
.noprint, .noprint * {
  display:none;
}

/* Sections */
section
{
	page-break-inside: avoid;
	-moz-page-break-inside: avoid;
	-webkit-page-break-inside: avoid;
	background-color: #eeeeee;
	border-radius: 5px;
	padding: 5px;
	margin: 10px;
    font-size: small;
    text-align: left;
}


section h1 {
  font-size: medium;
  font-weight: bold;
  text-align: left;
  margin-top: 0px;
  margin-bottom: 5px;
  color: #06c;
  background-color: #eeddff;
}

section.pool_status h2 {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

section.pool_status p.updated {
  font-size: x-small;
  margin-top: 0px;
}

p.pickup_status {
  font-size: x-small;
}

/* Table types */
table.attrs td {
   text-align: left;
   padding-top: 2px;
   padding-bottom: 2px;
}

table.attrs td:first-child {
    text-align: right;
}

table.report {
    font-size: small;
}

table.report caption {
    background-color: blue;
    color: white;
}

/* Registration Mailer */

div.registration_mailer {
  background: #dd2;
}

div.registration_mailer section {
  border-radius: 4px;
  background: white;
}
div.registration_mailer h1 {
  font-size: x-large;
  color: blue;
}

/* Logout button after Django 4.1 */
#logout-form {
  display: inline;
}

/* SVG icons */
img.small-icon {
  max-height: 24px;
  display: inline-block;
  vertical-align: middle;
}
