body {
    padding: 0;
    margin: 0;
    color: #3F3F3F;
    background-color: #F8F8F8;
}

body, h1, h2, h3, input, select {
    font-family: Verdana, Arial, sans-serif;
}
h1, h2, h3 {
    margin: 0;
    line-height: 120%;
}

p {
    margin: 0 0 1.5em 0;
}
img {
    border: 0;
}

strong {
    font-weight: bold;
    font-style: normal;
}
em {
    font-weight: normal;
    font-style: italic;
}

body {
    font-size: 83%;
    line-height: 100%;
}

div#footerblock {
    font-size: 89%;
}

p#skiplinks {
    display: none;
}

div#headerblock {
    height: 50px;
    overflow: visible;
     z-index:1;
}

div#originator {
  padding: 30px 0 4px 0;
  color: #3F3F3F;
  font-weight: bold;
}

/* topnav... */
div#topnavblock {
  border-bottom: 1px solid #0D6429;
  border-top: 1px solid #0D6429;
  height: 24px;
  background: url(../templates/images/bmg_bg_topnav.gif);
  background-repeat: repeat/x;
  background-color: #60a019;
}
/* IE Win needs this to show background-color \*/
* html body div#topnavblock {
    height: 1%;
}
/* End Hack */

/* Layout boxes */
#wrapper {
    width: 100%;
text-align:center;
}
div.tx-imagegallery-pi1 {
text-align:center;
}
div#contentblock {
  display: block;
  width: auto;
    text-align:center;

}
div#content {
    margin: 1.8em 20px;
    line-height: 120%;
}

/* footer... */
div#footerblock {
    line-height: 160%;
    /*background-image: url("../images/nav_back.gif");
    background-repeat: repeat-y;*/
}

div#footerblock a,
div#footerblock a:visited {
    color: #0D6429;
    white-space: nowrap;
}

div#footerblock a:hover,
div#footerblock a:focus,
div#footerblock a:active {
    color: #000000;
}

div#footerfunctions,
div#footertopofpage {
    padding-top: 2em;
}

div.csc-textpic-imagewrap img {
  border: 1px solid #63A14B !important;
  margin-bottom: 1.2em;
  text-align: center;
  display: inline-block;

}

div.csc-textpic-caption {
  font-size: 101%;
  padding: 4px;
  line-height: 125%;
  margin-bottom: 1.2em;
}
div.divider {
    height: 1px;
    margin: 1em 0;
    clear: left;
  /*background-color: #60A019; */
}


.hide {
    position: absolute;
    left: -1000em;
    width: 500em;
    line-height: 0px;
}

.clearer {
    height: 0px;
    clear: left;
    overflow: hidden;
    font-size: 0px;
    line-height: 0px;
}


.page_divider {
    height: 1px;
    margin: 1em 0;
    clear: left;
    }

div.image_gallery_backLink {
display: block;
float: left;
  background: url(../templates/images/bmg_diaschowbutton.png);
  background-repeat: no-repeat;
  height: 35px;
  width: 120px;
  padding: 4px 0px 0px 0px;
}

div.image_gallery_nextLink {
display: block;
float: right;
  background: url(../templates/images/bmg_diaschowbutton.png);
  background-repeat: no-repeat;
  height: 35px;
  width: 120px;
  padding: 4px 0px 0px 0px;
}
a.image_gallery {
color: #fff;
font-weight:bold;
  padding-left: 6px;
    text-decoration: none;
}
a.image_gallery:hover,
a.image_gallery:focus {
    color: #fff;
    text-decoration: underline;
}
#wrapper {
text-align: center;
width: auto;

}
#topnavblock {
margin: 0;
}

div.tx-imagegallery-pi1 div.csc-textpic-imagewrap div.csc-textpic-image { float: none; }
