﻿/*
CSS for RoSPA Adnaced Drivers - Bedford Group's Website
*/
body {
  font-family: Verdana, Helvetica, Arial, sans-serif;
/*  background-image: url(????????.jpg); */
  backgroung-repeat: no-repeat;
  line-height: 125%;
  padding: 0;
  margin: 0;

}

h1, h2, h3, h4, h5, h6, {
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

h1 {
  font-size:        x-large;
  padding-top:      0.5em;
  padding-bottom:   0.2em;
  padding-left:     0.1em;
  margin:           0;
/*  color      : blue; */
}

h2 {
  font-size: 130%;
/*  color      : blue; */
}

h2, h3{
  padding-top: 15px;
}

h4, h5, h6 {
  padding-top: 2px;
}

h5, h6 {
  text-decoration: underline;
  padding-left: 1em;
}

.whereiam {
  font-size: xx-small;
  color: navy;
}

.cat {
background-color: yellow;
}

.container{
clear:left;
  margin:auto; 
  width:740px;
}

.brclear {
  clear: both; font-size: 1px; margin: 0px; line-height: 0; height: 0px;
}
.brspace {
  font-size: 1px; margin: 0px; line-height: 0; height: 0px;
}

.clearing {
  clear: both;
}

.small {
  font-size: small;
}

.xsmall {
  font-size: x-small;
}

.xxsmall p {
  color: navy;
  font-size: xx-small;
}

hr {
  position:         center;
  color:            #0000ff;
}

#bullet ul {
    list-style: none;
    padding-left: 10;
}


/* solid bullet point */

#bullet li{
    font-size: small;
    list-style-type: disc;
}

#navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ccff66;
}

#navigation li {
    float: left;
}

#navigation li {
    font-size: small;
    list-style-type: none;
    display: inline;
    border-right: 1px solid #bbb;
}

#navigation li a {
    display: block;
    color: black;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
  font-weight: bold;
}

/* Change the link color to #111 (black) on hover */
#navigation li a:hover {
    background-color: lightblue;
}

#navigation .active {
    background-color: #4CAF50;
}

#navigation li:last-child {
    border-right: none;
}

p {
  font-size: small;
  color: black;
}

em {
  text-transform: uppercase;
}

blockquote.fun {
  font-style: italic;
}



/*
This section contains the details for tables
*/

table.committee {
  border-collapse: collapse;
  position: relative;
  top: 3px;
  left: 100px;
  border-width: 2px;   
  border-style: solid;   
  border-color: green; 
  width: 50%; 
}

table.events {
  border-collapse: collapse;
  position: relative;
  top: 3px;
  left: 40px;
  border-width: 2px;   
  border-style: solid;   
  border-color: red;
  width: 90%;
}

table.events, table.committee tr:nth-child(even) {
  background-color: #f2f2f2;
} 

table.events, table.committee td {
  padding: 4px;
}

table.events th {
  text-align: left;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 2px;
  padding-right: 2px;
}

table.events td, th {
  font-size: small;
  vertical-align: top;
  border-bottom-color: red;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  text-align: left;
}

table.committee td, th {
  font-size: small;
  vertical-align: top;
  border-bottom-color: green;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  text-align: left;
}

table.events caption {
  color: #000066;   
  font-size: small;   
  font-weight: bold;   
  text-align: left;
  padding-bottom: 5px;
}

/*
This section deals with the position of items on the screen.
It uses absolute positioning - fixed x and y coordinates measured from the
top-left corner of the browser's content display.
*/

#bodycontent, #tablecontent, #header {
  position: absolute;
}


#bodycontent {
  top: 9em;
  left: 10px;  
  right: 30px;
}

#tablecontent {
  top: 6.5em;
  left: 170px;  
  right: 30px;
}

#header {
  width: 100%;
  left: 160px;  
  right: 30px;
}

#ruler {
  width:            100%;
  text-align:       center;
}

#footer p {
   font-style:       Verdana;
   color:            blue;
   font-size:        xx-small;

   padding-left: 25em;
}

.gototop p {
  color:      navy;
  font-size:  x-small;
  padding-left: 25em;
}

/* not yet required */

#header {
  border-top: 1px;
  background-color: white;
}

img.feature {
  float: right;
  margin: 10px;
}

#tagline p {
  font-style: italic;
  font-family: Georgia, Times, serif;
  background-color: #bed8f3;
  border-top: 3px solid red;
  border-bottom: 3px solid red;
  padding-top: .2em;
  padding-bottom: .2em;
  padding-left: .8em;
  margin: 0;
  width: 500px;
}
