/* base.css
 * base stylesheet for the City Beach church of Christ web site
 */

body {
  font-family: sans-serif;
  margin:0pt;
  padding:0pt;
  margin-left:1cm;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body, legend {
    background-color: white;
    color: black;
}

@media screen {
  body, legend {
    background-color: #cde;
    color: black;
  }
}

h1 {
  font-family: serif;
  margin-top:2pt;
  text-align:center;
}

a:link { color: #408; }
a:visited { color: #709; }
a:active { color: #808; position:relative; left:-1pt;}
a:hover { color: #C60; text-decoration: underline;}

h1 a:visited {
  text-decoration:none;
}

p#slogan {
  font-weight: bold;
  text-align: center;
}
h1 + p#slogan {
  display: block;
  margin-top:-1.5em;
  margin-bottom:1.5em;
}

p#quote, p.quote {
  font-style: italic;
  text-align: center;
  margin:0em 5em;
}

p.caption {
  font-style: italic;
  font-size: smaller;
  clear: both;
  margin-top:0px;
  margin-right:0pt;
}

p.back {
  font-size: smaller;
  margin-left:-1cm;
  margin-bottom:0pt;
}

p.back img {
 width: 21px;
 height: 21px;
 border-style: none;
 vertical-align:middle;
}
@media print {
 .back { display:none; }
}

p.modified {
 text-align: right;
 font-size:smaller;
 font-style: italic;
 margin-right:2pt;
 margin-top:-1em;
}
p.modified:before {
 content: "This page was last modified "
}

@media print {
  .screenonly {
    display: none;
  }
}

table.news, .newsname, .newssize, .newsdate {
  background-color: #def;
  padding:2pt;
  padding-left:6pt;
  padding-right:6pt;
  margin-left:auto;
  margin-right: auto;
}
td.newsname {
  text-align:left;
  width:16em;
}
td.newsdate {
  width:8em;
  text-align:center;
}
td.newssize {
  text-align:right;
}

th.newsname, th.newssize, th.newsdate {
  border-style:inset;
  text-align:center;
}

table.news {
 border: 2pt;
}

/* links on the links page */

p.link {
  margin-left:1cm;
  display:list-item;
  list-style-image: url(/link.gif);
  list-style-position:outside;
}


.sitenote, .nb {
  font-size: smaller;
/*  clear: both;
*/
}
.sitenote {
  font-style: italic;
}
.nb {
  font-style: normal;
}



/* checked above; unchecked below 18/1/05 */



td.thumbs {
 text-align: center;
 width:16.2%;
}
img.thumbs {
 width:120px;
}
.photo {
/* width:100%;
*/
  text-align: center;
}

.event {
 background-color:white;

}

/* address book styles */

table.a_longaddress {
 width:100%;
 color:black;
 background-color:white;
 border-collapse:separate;
 border-spacing:1px;
 border-style:groove;
 empty-cells:show;
 font-size:11pt;
 page-break-inside:avoid;
}
td.a_displayname, td.a_homephone {
 font-size:13pt;
 font-weight:bold;
 font-family:sans-serif;
}
td.a_displayname {
 border-bottom: groove 2px;
}
td.a_homephone {
 text-align:right;
}
td.a_silent {
 font-family:serif;
}
td.a_longaddress,td.a_longnames, td.a_ptree, .a_list {
 padding-left:1cm;
 font-family:serif;
}
table.a_longnames, table.a_ptree {
 width:100%;
 border-collapse:separate;
 page-break-inside:avoid;
}

.a_name, .a_email, .a_mobile, .a_birthday, .a_namenote, .a_photo {
  border-bottom: groove 2px;
}
.a_photo {
  text-align:center;
}

.a_namenote, .a_note {
 font-size:smaller;
 font-family:serif;
 vertical-align:top;
}

.a_timestamp {
 font-size:small;
 font-style:italic;
 text-align:right;
}

table.a_shortaddress, table.a_tree, table.a_incorrect_tree {
 width:100%;
 color:black;
 background-color:white;
 font-size:9pt;
 font-family:sans-serif;
 border-collapse:collapse;
 border-style: solid;
 border-width: 2pt;
 border-color:black;
}

tr.a_shortaddress {
}
.a_shortdisplayname, .a_shortnames, .a_address, .a_suburb, .a_postcode, .a_shortphone, .a_tree {
 border-style: solid;
 border-width: 1pt;
 border-color:black;
}
.a_incorrect_tree {
 color:red;
 background-color:white;
 text-decoration:line-through;
 border-style: solid;
 border-width: 1pt;
 border-color:black;
}
.a_postcode, .a_shortphone {
 text-align:center;
}

.a_ptreeapp, .a_ptreephone, .a_ptreeparent {
 padding-left:0.2cm;
 border-bottom: groove 2px;
 border-left: groove 2px;
}

.a_photosheet {
  text-align:center;
  vertical-align:bottom;

 border-style: solid;
 border-width: 1pt;
 border-color:black;
}

/* document listing styles */
p.docdetails,p.docdetails br  {
  font-size: 70%;
  line-height: 0.8;

}
div.doc h1, div.doc h2, div.doc h3, div.doc h4, div.doc h5, div.doc h6{
 margin-bottom:0pt;
 margin-top:0pt;
 color: black;
}
div.doc br {
  display: block;
  margin: 0.5em 0;
}
div.doc p+p {
  margin: 0 0;
  padding: 0 0;
}
div.doc div.doc {
  padding:0 1em 1em 0.5cm;
  border-left: 3px silver dotted;
  margin: 0 0 0 0.5cm;
}
div.doc table {
  text-align: center;
  display:inline;
}
div.doc td {
  width: 150px;
}
.docerror {
  color:#ffa500;
  background-color:black;
}
img.pagetag {

}

@media screen {
h1 {
  color: #006;
}

h1 a:visited {
  color: #006;
}
h1 a:hover {
 color: #840;
}

.nb, .nbscreenonly {
  color: #446;
}

.news, .newsname, .newssize, .newsdate {
  background-color: #cce;
  padding:2pt;
  padding-left:6pt;
  padding-right:6pt;
}
td.newsname {
  text-align:left;
  width:16em;
}
td.newsdate {
  width:12em;
  text-align:center;
}
td.newssize {
  text-align:right;
}

th.newsname, th.newssize, th.newsdate {
  border-style:inset;
  text-align:center;
}

table.news {
 border: 2pt;
}

table.thumbs {
 width:85%;
}

.printonly {
  display:none;
}

/*
 * end of media section 
 */
}
