/************************************/
/* CSS Style for www.mathshop.co.uk */
/************************************/


/* Define some colours
 
 sidebar - 
   headerbg: #dee7ec
   borders: #ccc

*/

* {
  padding: 0;
  margin: 0;
}

html {
}

img {
  display: block;
}

body {
  background-color: #fff;
  background-image: url('../images/hatching_dark.png');
  font-size: 100%;
  font-family: Verdana, Arial, Sans-Serif;
}

a img {
  border: none;
}

/* sets width and centers page */
div.main {
  position: relative;
  padding: 0;
  margin: 0 auto 0 auto;
  width: 900px;
  height: auto;
}

/* Adds padding for background gradients */
div.container {
  height: auto;
  padding: 0px 50px 0px 50px;
  background-image: url('../images/sideshadow_800.png');
}

div.header {
  padding: 0;
  text-align: center;
  padding: 5px 0 0px 0;
  height: 220px;
  width: 800px;
  background-color: #fff;
/*  background-image: url('../images/mathshop_banner_plain_800.png'); */
  background-image: url('../images/stonehenge_banner_light_offset.png');
  background-position: 0 5px;
  background-repeat: no-repeat;
}

div.central {
  padding-top: 5px;
  padding-bottom: 0px;
}

div.miniflex {
  border-top: 1px #ccc solid;
  padding-top: 10px;
  background: url('../images/gradient_vert_down.png') top repeat-x;
  width: 800px;
  text-align: center;
  margin-bottom: 10px;
}

.miniflex ul {
  margin: 0;
  padding: 0 10px 0.1em 10px;
  border-bottom: 1px solid #0052A0;

}

.miniflex li {
  margin: 0; 
  padding: 0;
  display: inline;
  list-style: none;
}

.miniflex a:link, .miniflex a:visited {
  font-size: 0.875em;
  line-height: 1.75em;
  font-weight: bold;
  margin: 0 10px 0 10px;
  text-decoration: none;
  color: #0052A0;
}

.miniflex a.active:link, .miniflex a.active:visited, .miniflex a:hover {
  border-bottom: 4px solid #0052A0;
  padding-bottom: 2px;
  color: #0052A0;
}

div.content {
  color: #444;
  font-family: Georgia; Times New Roman; Serif;
  margin: 10px;
  float: left;
  width: 780px; 
}

div.leftcol {
	float: left;
  width: 50%;
	padding-right: 0px;
	margin: 0.5em 0 0.5em 0;
}

div.rightcol {
	float: right;
  width: 50%;
	padding-right: 0px;
	margin: 0.5em 0 0.5em 0;
}

.leftcol p {
	text-align: left !important;
}

.rightcol h2, .rightcol p {
	text-align: right !important;
}

div.threecol {
	float: left;
	text-align: left;
	width: 31%;
	margin: 0;
	margin-top: 10px;
	padding: 1%;
}

#threecolmid {
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.threecol h2 {
	text-align: center;
}

.threecol p {
	text-align: left !important;
}

.content a {
  color: #035;
  text-decoration: underline;
}

.content a:hover {
  text-decoration: none;
}

.content h1, .content h2 {
  color: #0052A0;
  font-family: Verdana, Arial, Sans-Serif;
}

.content h1 {
  font-size: 1.375em; /* 22pt */
  font-variant: small-caps;
  margin-bottom: 0.5em;
}

.content h2 {
  font-size: 0.875em; /* 14 pt */
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

.content p {
  font-size: 0.875em;
  line-height: 1.25em; /* 20pt */
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  text-align: justify;
}

.content ul {
  font-size: 0.875em;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 1.5em;
  list-style-position: inside;
  list-style: square;
}

.content li {
  margin: 0.4em;
}

.content table {
  margin-left: 0.5em;
  margin-bottom: 0.5em;
  font-family: Georgia; Times New Roman; Serif;
  font-size: 0.875em;
  color: #444;
}

.content table td {
  padding: 0.2em;	
}

.content table td.label {
  vertical-align: top;
  text-align: right;
}

div#vertline {
  padding: 0;
  width: 10px;
  margin: 0;
  position: absolute;
  left: 350px;
  top: 300px; 
  height: 30px;
  border-right: 1px solid #0052A0;
}

div.subflex {
  margin: 0 auto 0 auto;
  font-family: Verdana, Arial, Sans-Serif;
  padding-top: 10px;
  width: 60%;
  text-align: center;
  margin-bottom: 10px;
}

.subflex ul {
  margin: 0;
  padding: 0.1em 10px 0 10px;
  border-top: 1px solid #0052A0;

}

.subflex li {
  margin: 0;
  padding: 0;
  display: inline;
  list-style: none;
}

.subflex a:link, .subflex a:visited {
  font-size: 1em;
  line-height: 2em;
  font-weight: bold;
  margin: 0 10px 0 10px;
  text-decoration: none;
  color: #0052A0;
}

.subflex a.active:link, .subflex a.active:visited, .subflex a:hover {
  border-top: 4px solid #0052A0;
  padding-top: 0.15em;
  color: #0052A0;
}

table.summary {
  margin: 1em auto;
  width: 100%;
}

.summary td.title {
  white-space: nowrap;
  text-align: right;
  vertical-align: top;
  font-weight: 600;
}

div.imageright {
  float: right;
  text-align: center;
  padding: 5px;
  margin: 0.3em 0.5em 0.3em 0.8em;
}

div.imageleft {
  float: left;
  text-align: center;
  padding: 5px;
  margin: 0.3em 0.8em 0.3em 0.5em;
}

div.imagecenter {
  clear: both;
  margin: 1em 0 1em 0;
  text-align: center;
}

div.imageright img, div.imageleft img, div.imagecenter img{
  padding: 5px;
  background-color: #eee;
  border: 1px solid #888;
}

.imagecenter div.imgcontainer {
	display: inline;
	text-align: center;
	background-color: #529;
    width: 100;
    height: 140;
	margin: 0;
	padding: 0;	
}

div.imagecenter img {
 display: inline;
 margin: 0 0.2em 0 0.2em;
/*  margin: 0 auto 0 auto; */
}

span.caption {
  font-family: Verdana, Arial, Sans-Serif;
  color: #444;
  font-size: 0.57em; /* 0.57 * 14 = 8pt */
}

div.prop {
  float: right;
  height: 400px;
  width: 0px;	
}

div.clearfloats {
  clear: both;
  width: 100%;
  height: 0px;
}

div.footer {
  border-top: 1px #ccc solid;
  padding: 5px;
  margin-top: 5px;
  height: auto;
  background-image: url('../images/gradient_vert_down.png');
  background-repeat: repeat-x;
  font-size: 0.625em;
  color: #777;
  text-align: center;
}

.footer a {
  color: #479;
  text-decoration: underline;
}

div.bottomborder {
  position: relative;
  width: 900px;
  margin: 0px 0 0px 0;
  height: 50px;
  background-image: url('../images/bottomborder_800.png');
  background-repeat: no-repeat;
}

div.topborder {
  width: 900px;
  margin: 0px 0 0px 0;
  height: 35px;
  background-image: url('../images/topborder_800.png');
  background-repeat: no-repeat;
  background-position: bottom;
}

div.address {
  background-color: #ec8;
  font-family: Verdana, Arial, Sans-Serif;
  border: 1px dashed #888;
  margin: 5px;
  padding: 5px;
}

iframe.googlemap {
  display: block;
  margin: 0 auto 0 auto;
  padding: 5px;
  background-color: #eee;
  border: 1px solid #888;
}

form#inforequest {
  width: 100%;
  font-size: 0.8em;
  margin: 1em auto 0 auto;
}

#inforequest span.req {
  color: #f00;
  display: none;
}

#inforequest .hidden {
  display: none;
}

#inforequest .lineinput {
  margin: 5px 5px 5px 0;
}

#inforequest .label {
  font-family: Georgia; Times New Roman; Serif;
  color: #444;
  float: left;
  width: 100px;
  text-align: right;
  margin-right: 5px;
}

#inforequest .lineinput .text {
  width: 350px;
}

#inforequest #messagebox {
  position: relative;
  float: left;
  width: 600px;
  padding: 0px;
}

#inforequest #messagebox textarea {
  width: 100%;
  height: 20em;
  float: left;
  padding: 0;
}

#inforequest div#reqlabel {
  float: left;
  display: none;
}

#inforequest div#buttons {
  display: inline;
  float: right;
  margin: 5px;
  padding: 0px;
}
 
input.button {
  overflow: visible;
  border: 1px solid #688;
  background-color: #fff;
  padding: 2px;
  margin: 0;
  vertical-align: middle;
  font-family: Verdana, Arial, Sans-Serif;
}

input.button:default, input.button:focus {
  border: 1px solid #233;
  background-color: #ecf0f0;
}

input.button:hover {
  border: 1px solid #455;
}

