/* This typographic markup is applied sitewide */

body {
margin-left: 20em;
margin-right: 8em;
font-size: 100%; 
line-height: 1.125em; 
font-family: verdana, sans-serif;
}

/* These specialised pieces of structural markup*/
/* apply only to the index page */

#index_body {
width: 100%; 
margin-left: 0px;
margin-right: 0px;
}

#index_navphoto {
position: absolute; 
width: 31%;
left: 0px;
top: 0px;
border: 0px;
padding: 0px;
}

#index_photo {
width: 100%;
padding-bottom: 10px
}

#index_text {
position: absolute;
left: 32.5%;
right: 8em;
top: 25px;
border: 0px;
}

#index_headlinegif{
margin-top: 0px;
margin-bottom: 0px;
text-align: left;
}

/* These specialised pieces of typographic*/
/* markup apply only to the index page */

#index_navbar{
display: block;
margin-bottom: 0px;
margin-right: 0px;
text-decoration: none;
}

.index_navbar-item {
display: block; 
margin-bottom: 0px;
margin-right: 0px;
padding: 1px;
font-size: 1em;
line-height: 1.4em;
font-family: verdana, arial, sans-serif;
text-decoration: none;
text-align: right;
color: #666666; 
}

a.index_navbar-item:hover { color: #660066; }

p.index-display {
font-size: 2.1em; line-height: 1em; font-family: georgia, times, serif; font-style: italic; margin-top: 5px; padding-top: 0px; padding-bottom: 20px; color: #990000; text-align: left;
}

p.index-text { font-family: georgia, times, serif; font-style: italic; font-size: 1.1em; line-height: 1.3em; color: #333333; }

ul.index-text { font-family: verdana, sans-serif; font-style: roman; font-size: 0.9em; line-height: 1.7em; color: #333333; }

p.index-hello {font-size: 1.6em; font-family: georgia, times, serif; font-style: italic; padding-top: 10px; padding-bottom: 5px;  color: #333333; }

p.index-contrasting { font-family: georgia, times, serif; font-style: italic; font-size: 1.3em; line-height: 1.3em; color: #666666; }

p.index-contrasting2 { font-family: georgia, times, serif; font-style: italic; font-size: 1.3em; line-height: 1.3em; color: #ffaa00; }

p.index-text a, p.index-contrasting a { color: #663366; text-decoration: none;}

p.index-text a:hover, p.index-contrasting a:hover { color: #660066;}

p.index-skype { font-size: 0.9em; letter-spacing: 0.1em; color: #333333;}


/* These pieces of structural and typographic markup */
/* apply to the navbars on subsidiary pages */

div.navbar-bg {
position: absolute; 
left: 3em;
padding: 10px;
border: none;
background-color: rgba(255,255,255,0.9);
}

.invisible {
display: none;
}

.navbar-item {
display: block; 
margin-bottom: 0px;
margin-right: 10px;
padding: 1px;
font-size: 0.85em;
font-family: verdana, arial, sans-serif;
text-decoration: none;
color: #666666;
text-align: right;
}

.navbar-contact {
display: block; 
font-size: 0.6em;
line-height: 1.2em;
font-family: verdana, arial, sans-serif;
text-decoration: none;
color: #666666;
text-align: right;
}

a.navbar-item:hover, a.navbar-contact:hover { color: #660066; }


/* These pieces of structural apply to the images on subsidiary pages */

img.bg-float {float:left; bgcolor: #ffffff; border-style: solid; border-width: 10px; border-left-width: 10px; border-right-width: 30px; border-color: rgba(255,255,255,0.9);  width: 40%; height: 40%;
}

img.bg-ccrightfloat {float: right; padding: 0px 0px 10px 10px;}

/* These pieces of typographic markup apply to subsidiary pages */

.bg-head{
background-color: rgba(255,255,255,0.9);
padding: 10px 10px 10px 10px;
font-size: 0.8em; line-height: 1.125em; font-weight: bold; letter-spacing: 0.1em; text-align: center; color: #908577; 
}

.bi-text{
background-color: rgba(255,255,255,0.9);
padding: 10px 10px 10px 10px;
font-size: 1em; line-height: 1.3em; text-align: justify; color: #555555; font-weight: bold; 
}

.bg-text{
background-color: rgba(255,255,255,0.9);
padding: 10px 10px 10px 10px;
font-size: 0.9em; line-height: 1.4em; text-align: justify; color: #666666; 
}

dl.bg-text{
padding: 10px 20px 10px 0px; font-size: 1em; line-height: 1.4em; text-align: justify; color: #666666; 
}

ul.bg-text{
padding: 10px 20px 10px 35px; font-size: 1em; line-height: 1.4em; text-align: justify; color: #666666; 
}

dl.bg-text dt.bg-text, dl.bg-text dd.bg-text, ul.bg-text li.bg-text{
font-size: 0.9em; line-height: 1.4em; text-align: justify; background-color: rgba(255,255,255,0);
}

.bg-subhead{
background-color: rgba(255,255,255,0.9);
padding: 10px 10px 10px 10px;
font-size: 0.9em; line-height: 1.125em; color: #660000; 
}

.bg-contrasting{
background-color: rgba(255,255,255,0.9);
padding: 10px 10px 10px 10px;
font-family: georgia, times, serif; font-style: italic; font-size: 1em; line-height: 1.3em; text-align: justify; color: #666666;
}

.bg-cite{
background-color: rgba(255,255,255,0.9);
padding: 10px 20px 10px 30px;
font-size: 0.8em; line-height: 1.4em; text-align: justify; color: #555555; 
}

.bg-inlinecite{
font-size: 0.8em; line-height: 1.4em; text-align: justify; color: #555555; 
}

.bg-list{
font-size: 0.8em; line-height: 1.4em; color: #555555; 
}

.cc-emph{ color: #660000; }

p.download { background: #cc99cc; padding: 6px 6px 6px 6px; font-size: 0.65em; line-height: 1.10em; font-weight: bold; letter-spacing: 0.1em; text-align: left; color: #ffffff;}

.download_blurb { font-size: 1.0em; line-height: 1.3em; font-weight: normal; letter-spacing: 0em; color: #000000;  }

span.download_blurb a, .bg-cite a, .bg-inlinecite a { color: #cc0033; }

p.bg-skype { background-color: rgba(255,255,255,0.9);
padding: 10px 20px 10px 10px;
font-size: 0.9em; letter-spacing: 0.1em; color: #333333;}


/* This dropcap code is modelled after Safalra's */
/* on http://www.safalra.com/ */

.dropcap{
display: block;
float: left;
margin-top: -0.3em; 
margin-left: -0.3em;
margin-right: 0.35em;
height: 3.75em;
}

.dropcap span{
font-size: 5.1em;
line-height: 1.0em;
font-family: times, times new roman, serif;
color: #999288;
}

.dropcap + span{
margin-left  : -0.45em;
}

/* This specialized code controls background images on subsidiary pages */

img.bgtree, img.bgsnow, img.bgworks, img.bgclocks, img.bgroad, img.bgdance, img.bgrowers, img.bgcaterpillar, img.bgwhyyour, img.bgfit, img.bgshort, img.bgpathless, img.bgrelex {
/* Set rules to fill background */
min-height: 100%;
min-width: 1024px;
	
/* Set up proportionate scaling */
width: 100%;
height: auto;
	
/* Set up positioning */
position: fixed;
top: 0;
left: 0;

/* Send to back */
z-index: -1;
}

@media screen and (max-width: 1024px) { 
img.bgtree, img.bgsnow, img.bgworks, img.bgclocks, img.bgroad, img.bgdance, img.bgrowers, img.bgcaterpillar, img.bgwhyyour, img.bgfit, img.bgshort, img.bgpathless, img.bgrelex {
left: 50%;
margin-left: -512px;   /* 50% */
}
}
