/*==============================================================================
  Style sheet for my "website designer & programmer" common features
 (c) Andy Rushton
==============================================================================*/

/*------------------------------------------------------------------------------
   Use new features for modern browsers
------------------------------------------------------------------------------*/

/* Use the new font-face feature - works on Firefox, Opera - cannot get it working on IE (using eot) and Chrome */
@font-face
{
  font-family: 'Abbey';
  src: url('abbey.ttf') format('truetype');
}

/* Put a drop shadow on the headings */
div#header h1
{ 
  text-shadow: 4px 4px 5px rgba(0,0,0,0.5);
}

/* Put a drop shadow and round corners on the text and menu boxes */
div#text, div#menu
{ 
  box-shadow: 3px 3px 8px rgba(0,0,0,0.5);
  -moz-box-shadow: 3px 3px 8px rgba(0,0,0,0.5);
  -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

/*------------------------------------------------------------------------------
  Font Selections
------------------------------------------------------------------------------*/

h1
{ 
  font-family: Abbey, "Tahoma Bold", Helvetica, sans-serif;
  font-weight: bold;
  font-size: 48px;
}

h2
{ 
  font-family: "Tahoma Bold", Helvetica, sans-serif;
  font-weight: bold;
  font-size: large;
}

h3
{ 
  font-family: "Tahoma Bold", Helvetica, sans-serif;
  font-weight: bold;
  font-size: medium;
}

p, ul, dl, textarea, input, label, button
{ 
  font-family: Georgia, "Times New Roman", Times, serif;
}

/*------------------------------------------------------------------------------
  Top-level layout elements
------------------------------------------------------------------------------*/

html
{ 
  background-image: url(sand.png);
  background-repeat: repeat;
  background-color: #ebd4ac;
  color: #6b4b00;
}

body
{ 
  margin: 0;
  padding: 0;
  border-width: 0;
}

div#wrapper
{
  position: relative;
  width: 900px;
  padding: 0 10px 10px 0;
  margin: 0 auto;
  border-width: 0;
}

/*------------------------------------------------------------------------------
  Header
------------------------------------------------------------------------------*/

/* The maze logo is placed in the header DIV as the background image.
   This DIV is sized to contain all the rest of the header title */

div#header
{ 
  width: 900px;
  height: 350px;

  margin: 0;
  padding: 0;
  border-width: 0;

  background-image: url(logo-400x400-gold.gif);
  background-repeat: no-repeat;
  background-position: 0px -75px;
}

/* replace the GIF logo with a PNG one with partial transparency on non-IE browsers */

div#wrapper>div#header
{ 
  background-image: url(logo-400x400-gold.png);
}

/*------------------------------------------------------------------------------
  Title
------------------------------------------------------------------------------*/

div#header h1
{ 
  position: relative;
  top: 100px;
  left: 245px;
  width: 640px;
  margin: 0;
  padding: 0;
}

div#header h1#first
{ 
  top: 40px;
  padding: 69px 0 0 0;
  background-image: url(andyrushton.gif);
  background-repeat: no-repeat;
  background-position: 0 0;
}

div#header>h1#first
{ 
  background-image: url(andyrushton.png);
}

span.fir
{ 
  display: none;
}

/*------------------------------------------------------------------------------
  Text box
------------------------------------------------------------------------------*/

div#text
{ 
  float: right;
  width: 640px;

  padding: 10px 15px 10px 15px;
  margin: -125px 0px 20px 0px;

  background-image: url(sand-wash.png);
  background-repeat: repeat;
  background-position: 0 0;
  background-color: #e6dac1;
}

/*------------------------------------------------------------------------------
  Menu

  Menu is a list which is converted into a button set with background images
------------------------------------------------------------------------------*/

div#menu
{ 
  float: left;
  width: 200px;
  margin: -125px 0 0 10px;
  padding: 0;

  font-family: "Tahoma Bold", "Helvetica", sans-serif;
  font-weight: bold;
  font-size: medium;
  text-align: left;

  background-image: url(sand-wash.png);
  background-repeat: repeat;
  background-position: 0 0;
  background-color: #e6dac1;
}

ul.buttons
{
  margin: 0;
  padding: 10px;
  list-style-type: none;
}

ul.buttons li
{ 
  margin: 0px;
  padding: 3px 0px;
}

ul.buttons ul
{
  margin: 0;
  padding: 0 0 0 20px;
}

/*------------------------------------------------------------------------------
  Common parts of text
------------------------------------------------------------------------------*/

h1
{ 
  text-align: left;
  clear: both;
}

h2
{ 
  text-align: left;
  margin: 1em 0px 0.5em 0px;
  clear: both;
}

h3
{ 
  text-align: left;
  margin: 1em 0px 0.5em 0px;
  clear: both;
}

p
{ 
  color: #000000;
  text-align: left;
  line-height: 125%;
  margin: 0.5em 0px 0.5em 0px;
}

ul
{
  color: #000000;
  text-align: left;
  line-height: 125%;
}

dl
{
  color: #000000;
  text-align: left;
}

/*------------------------------------------------------------------------------
  Links
------------------------------------------------------------------------------*/

a
{
  text-decoration: underline;
}

li a
{
  text-decoration: none;
}

a:link, a:visited
{ 
  color: #6b4b00;
  padding: 1px;
}

a:active, a:hover
{ 
  color: #7d2000;
  padding: 0px;
  border: 1px solid #7d2000;
}

a:link.pressed, a:visited.pressed
{ 
  padding: 0px;
  border: 1px solid #7d2000;
}

/*------------------------------------------------------------------------------
  Icons to other websites embedded in the text
------------------------------------------------------------------------------*/

.icon
{ 
  float: left;
  margin: 0px 10px 0px 0px;
}

.icon a
{ 
  text-decoration: none;
}

.icon img
{ 
  margin: 0px;
  padding: 0px;
  border: 0px;
}

/*------------------------------------------------------------------------------
  Images with links with no borders
------------------------------------------------------------------------------*/

.image
{
  text-align: center;
}

.image a
{ 
  text-decoration: none;
}

.image img
{ 
  margin: 0px;
  padding: 0px;
  border: 0px;
}

/*------------------------------------------------------------------------------
   The email form on the contact page
------------------------------------------------------------------------------*/

p.email
{
  margin-left: 2em;
  font-size: larger;
}

p.form_line
{
  margin-top: 0px;
  margin-bottom: 0px;
  width: 600px;
  padding: 0;
  text-align: right;
}

p.form_line input
{
  width: 480px;
}

p.form_box
{
  margin-top: 0px;
  margin-bottom: 0px;
  width: 600px;
  padding: 5px 0 5px 0;
  text-align: center;
}

p.form_box textinput
{
  width: 600px;
}

p.form_button
{
  text-align: left;
}

textarea, input
{
  padding: 3px;
}

/*----------------------------------------------------------------------------*/
