/* this formatting is for ALL web pages on johndavid.org */
/* NO COLOUR settings here!!! */
/* Colour settings only in the css files for each section */
/* NO SUBPAGE formatting here!!! */
/* Subpage formatting in sub.css */

/* --------------------------------------------------------- */
/* general settings */
/* --------------------------------------------------------- */

body {
    margin: 20px;
}

body, td {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
}


/* Links */

a         { text-decoration: none; }
a:visited { text-decoration: none; }
a:active  { text-decoration: none; }
a:hover   { text-decoration: none; }

/* paragraph spacing */

p {
    margin-bottom: 20px;
}

/* form elements */

input, select {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin: 2px;
}


/* floating helpers */
/* --------------------------------------------------------- */

/* float elements left or right and add apt spacing */

.left {
    float: left;
    margin: 3px 10px 5px 0;
/* margin values meaning: top right bottom left */
}

.right {
    float: right;
    margin: 3px 0 5px 10px;
/* margin values meaning: top right bottom left */
}

/* horizontal line and clearing */

hr.clear, ul.clear li {
	clear: both;
}

/* headlines */
/* --------------------------------------------------------- */

/* headline font and alignment */

h1, h2, h3, h4, h5 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-align: center;
}

h1.left, h2.left, h3.left, h4.left, h5.left {
    text-align: left;
	float: none;
}	

/* headline font size and margins */
h1 {
    font-size: 24px;
    margin-bottom: 10px;
}
	
h1.big {
    font-size: 40px;
    margin-bottom: 50px;
}

h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    margin: 15px 0 30px 0;
}

h4 {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 15px;
    text-align: left;
}

h5 {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 15px;
}



/* list formatting */
/* --------------------------------------------------------- */

/* CAUTION images in ul lists have a preset spacing */
ul li img {
	margin: 5px;
}

/* ul with more space */

ul.spacy li {
	margin-bottom: 10px;
}

/* ul without bullets */

ul.hidden {
	list-style-type: none;
}

/* ul within another ul gets some space above and below */

ul li ul {
	margin: 10px 0 20px 0;
/* margin values meaning: top right bottom left */
}

/* table with a pic and some text next to it */
/* often used as listing with pics */

table.detail td.content table.picntext td {
	vertical-align: middle;
	padding: 0;
}

table.detail td.content table.picntext td img {
	margin: 0;
}

/* classes */

.small {
    font-size: 11px;
  }
.plus {
    font-size: 14px;
  }
.big {
    font-size: 16px;
  }

