/*----------------------------------------------------------------------*/
/*                 Midland and Western Region Dressage                  */
/*                                                                      */
/*                         The general rules                            */
/*----------------------------------------------------------------------*/

body
{
  margin-top: 8px;
  padding: 0px;
  background: #6699FF;
  font-size: 100%;
}

#header div {background: url(shared_images/bl1.gif) 0 100% no-repeat;}
#header div div {background: url(shared_images/br1.gif) 100% 100% no-repeat;}
#header div div div {background: url(shared_images/tl1.gif) 0 0 no-repeat;}
#header div div div div {background: url(shared_images/tr1.gif) 100% 0 no-repeat; padding:0px}

.bl2 {background:  url(shared_images/bl2.gif) 0 100% no-repeat #80BBFF; margin-bottom: 10px;}
.br2 {background:  url(shared_images/br2.gif) 100% 100% no-repeat; padding-bottom:10px; padding-top:10px;}
.tl2 {background:  url(shared_images/tl2.gif) 0 0 no-repeat #5F89FF;}
.tr2 {background:  url(shared_images/tr2.gif) 100% 0 no-repeat; padding-left: 10px; padding-right: 10px;}

.bl3 {background:  url(shared_images/bl3.gif) 0 100% no-repeat #BBDDFF; margin-bottom: 10px;}
.br3 {background:  url(shared_images/br3.gif) 100% 100% no-repeat; padding: 1px 10px;}
.tl3 {background:  url(shared_images/tl2.gif) 0 0 no-repeat #4774EF;}
.tr3 {background:  url(shared_images/tr2.gif) 100% 0 no-repeat; padding-left: 10px; padding-right: 10px;}

.bl4 {background:  url(shared_images/bl2.gif) 0 100% no-repeat #A7D0A6;}
.br4 {background:  url(shared_images/br2.gif) 100% 100% no-repeat;}
.tl4 {background:  url(shared_images/tl2.gif) 0 0 no-repeat;}
.tr4 {background:  url(shared_images/tr2.gif) 100% 0 no-repeat; padding:0px;}

/*----------------------------------------------------------------------*/
/*                                                                      */
/*                          The banner part                             */
/*                                                                      */
/*----------------------------------------------------------------------*/

#header
{
  margin-top: 0px;
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
  background:  url(shared_images/bannerrepeat.gif) bottom repeat-x #3863D8;
}

#header .headertext
{
  background: url(shared_images/logo2.gif) 5% 2px no-repeat;
  padding: 0px 0px 0px 16%;
  margin: 0px;
}

#header h1
{
  margin: 0px 0px 4px 0px;
  padding: 4px;
  font-size: 2em;
  color: #FFFFFF;
}

#header h2
{
  margin: 0px;
  padding: 0px 0px 8px 0px;
  font-size: 1.5em;
  color: #FFFFFF;
}

/*----------------------------------------------------------------------*/
/*                                                                      */
/*                           The menu part                              */
/*                                                                      */
/*----------------------------------------------------------------------*/

#menu
{
  width: 15%;
  text-align: center;
  float: left;
  margin-bottom: 10px;
}

#menu .heading
{
  background:  url(shared_images/t2repeat.gif) top repeat-x #5F89FF;
  font-weight: bold;
  color: #F8F8FF;
  padding: 4px 20px;
  font-size: 12pt;
}

#menu .subheading
{
  background:  url(shared_images/t2repeat.gif) top repeat-x #5F89FF;
  font-weight: bold;
  color: #F8F8FF;
  padding: 4px 20px;
  font-size: 10pt;
}

#menu a
{
  display: block;
  color: #000000;
  font-weight: bold;
  background: #80BBFF;
  text-decoration: none;
  border-top: 2px #80BBFF solid;
}

#menu a:hover, #menu .here
{
  display: block;
  color: #000000;
  font-weight: bold;
  background: #BBDDFF;
  text-decoration: none;
  border-top: 2px #80BBFF solid;
}

#submenu a, #submenu a:hover, #submenu .here
{
  font-size: 10pt;
}

/*----------------------------------------------------------------------*/
/*                                                                      */
/*                       The advertising part                           */
/*                                                                      */
/*----------------------------------------------------------------------*/







/*----------------------------------------------------------------------*/
/*                                                                      */
/*                        The main central part                         */
/*                                                                      */
/*----------------------------------------------------------------------*/

#main
{
  color: #000000;
  width: 84%;
  float: left;
  margin-bottom: 10px;
  margin-left: 1%;
}

#main .heading
{
  background: url(shared_images/t2repeat.gif) top repeat-x #4774EF;
  color: #F8F8FF;
  padding: 4px 20px;
  font-weight: bold;
  font-size: 13pt;
}

#main .content
{
  color: #000000;
  background: #BBDDFF;
  padding: 0px 20px;
  margin-bottom: 10px;
}

#main .contentcentred
{
  text-align: center;
  color: #000000;
  background: #BBDDFF;
  padding: 0px 20px;
  margin-bottom: 10px;
}

#main h1
{
  color: #AAD5FF;
  font-size: 16pt;
  font-weight: bold;
}

#main h2
{
  color: #3463E1;
  font-size: 16pt;
  font-weight: bold;
}

#main h3
{
  color: #3463E1;
  font-size: 14pt;
  font-weight: bold;
}

#main .nb
{
  color: #FF0000;
  font-style: italic;
}

#main .smallheading
{
  color: #3463E1;
  font-weight: bold;
}

#main .important
{
  color: #FF0000;
  font-weight: bold;
  font-style: italic;
}

#main .reallyimportant
{
  color: #FF0000;
  font-weight: bold;
  font-style: italic;
  border: 1px solid #FF0000;
  padding: 4px 10px;
}

#main .subtext
{
  color: #000000;
  font-size: 12pt;
  font-weight: normal;
  font-style: italic;
}

#main .tel
{
  white-space: nowrap;
}

#main .centred
{
  text-align: center;
}

hr
{
  border: 1px solid #4774EF;
}

#main a
{
  color: #3463E1;
  text-decoration: underline;
}

#main a:hover, #main a.here
{
  color: #FFFFFF;
  background: #3463E1;
  text-decoration: none;
}

#main a img, #main a img:hover
{
  border: none;
}

#main a.popup
{
  color: #3463E1;
  text-decoration: underline;
  padding-right: 19px;
  background: url(shared_images/popup.gif) 100% 0% no-repeat;
}

#main a.popup:hover
{
  color: #FFFFFF;
  text-decoration: none;
  padding-right: 19px;
  background: url(shared_images/popup.gif) 100% 0% no-repeat #3463E1;
}

#main a:hover span.nb
{
  color: #FFCC00;
}

.shift6, .shift7, .shift8, .shift10, .shift12, .shift14, .shift16, .shift18, .shift20
{
  display: block;
  float: left;
}

.shift6
{ width: 6em }

.shift7
{ width: 7em }

.shift8
{ width: 8em }

.shift10
{ width: 10em }

.shift12
{ width: 12em }

.shift14
{ width: 14em }

.shift16
{ width: 16em }

.shift18
{ width: 18em }

.shift20
{ width: 20em }

/*----------------------------------------------------------------------*/
/*                                                                      */
/*                          The image gallery                           */
/*                                                                      */
/*----------------------------------------------------------------------*/

#main .content .galleryimages
{
  width: 700px;
  clear: both;
  margin: 0px auto;
  padding: 0px;
  text-align: center;
  overflow: auto;
}

#main .content .galleryimages div.leftphoto, #main .content .galleryimages div.rightphoto
{
  width: 330px;
  margin: 0px;
  padding: 0px 0px 20px 0px;
  outline: none;
  -moz-outline: none;
}

#main .content .galleryimages div.lastphoto
{
  width: 380px;
  margin: 0px auto;
  padding: 0px 0px 10px 0px;
}

#main .content .galleryimages div.leftphoto
{
  float: left;
}

#main .content .galleryimages div.rightphoto
{
  float: right;
}

#main .content .galleryimages div.leftphoto img
{
  margin: 0px 0px 0px 0px;
}

#main .content .galleryimages div.rightphoto img
{
  margin: 0px 0px 0px 0px;
}

#main .content .thumbnailimages
{
  clear: both;
  margin: 0px auto;
  padding: 0px 0px 10px 0px;
  text-align: center;
  overflow: auto;
}

#main .content .thumbnailbox
{
  float: left;
  display: block;
  width: 148px;
  min-height: 140px;
  text-align: center;
  padding: 1px;
  margin: 20px 0px 0px 0px;
  overflow: auto;
}

/*----------------------------------------------------------------------*/
/*                                                                      */
/*                            The tables                                */
/*                                                                      */
/*----------------------------------------------------------------------*/

#main .box1, #main .box2
{
  border-collapse: collapse;
  margin-bottom: 16px;
}

#main .box1 td, #main .box2 td
{
  color: #000000;
  background: #FFFFFF;
  border: 1px solid #000000;
  padding: 2px 10px;
}

#main .box1 td.boxheading, #main .box2 td.boxheading
{
  color: #FFFFFF;
  background:  url(shared_images/t2repeat.gif) top repeat-x #5F89FF;    /*#008000;*/
  font-weight: bold;
}

#main .box2 td.boxheading
{
  text-align: center;
}

#main .box1 td.boxheading a, #main .box2 td.boxheading a
{
  color: #4774EF;
  font-weight: bold;
  text-decoration: underline;
}

#main .box1 td.boxheading a:hover, #main .box2 td.boxheading a:hover
{
  color: #FFFFFF;
  background: transparent;
  font-weight: bold;
  text-decoration: underline;
}

#main .box1 td.boxhighlightsmall, #main .box2 td.boxhighlightsmall, #main .box2 tr.boxhighlightsmall td
{
  font-weight: bold;
  color: #000000;
  background: #80BBFF;
}

#main .box2 td.boxhighlightsmall, #main .box2 tr.boxhighlightsmall td
{
  text-align: center;
}

#main .box1 td.dead, #main .box2 td.dead
{
  color: #333333;
  background-color: #999999;
}


#main .box2 td.noedge
{
  border: 0px none;
  height: 20px;
  background: #BBDDFF;
}

#main .box2 td.bigbreak
{
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
}

#main .linksbox
{
  width: 100%;
  border: 0px;
  margin-top: 32px;
}

#main .linksbox td
{
  width: 25%;
  text-align: center;
  vertical-align: top;
}

#main .linksbox td a img
{
  border: 0px;
}

/*----------------------------------------------------------------------*/
/*                                                                      */
/*                         The footer part                              */
/*                                                                      */
/*----------------------------------------------------------------------*/

#footer
{
  color: #000000;
  width: 100%;
  clear: both;
  text-align: center;
  margin-bottom: 10px;
}

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

#snow
{
  z-index: 100;
  position: absolute;
  width: 100%; /* fix for IE */
  top: 0px;
  left: 0px;
  right: 0px;
  height: 135px;
  overflow: hidden;
}

#snow object
{
  width: 1600px;
  height: 135px;
  background: transparent;
}
