/***************************/
/* RESET MARGINS & PADDING */
/***************************/

h2 {
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}

/**********/
/* LAYOUT */
/**********/
p {
  font-weight: normal;
  line-height: 160%;
  margin: 10px 0;
}


/*******************/
/* SIDEBAR REGIONS */
/*******************/

#sidebar-first {
  float: left;
}



/**********/
/* BLOCKS */
/**********/

div.block {
  position: relative;
}

div.block-region {
  background-color: #FFFF66;
  color: #000;
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
  margin-top: 4px;
  padding: 3px;
  text-align: center;
}

div.block .title {
}

div.block .submitted {                               /* byline styles in blocks */
}

div.block .submitted a:link {
}

div.block .submitted a:visited,
div.block .submitted a:hover,
div.block .submitted a:active {
}

div.block-wrapper {                    /* spacing between blocks */
  margin: 10px 0;
}

div.block div.content {
}

#user-login-form .item-list ul li,
div.terms ul li {
  list-style-type: none;
  margin: 2px 0 0 16px;
}


#header-middle h2.block-title,
#header-last h2.block-title {
  color: #51748C;
  font-size: 1.833em;
  margin: 0;
  padding: 0;
}

#preface-wrapper h2.block-title {
  background-color: transparent;
  color: #94CE18;
  font-size: 1em;
  padding: 0;
}

#preface-wrapper .block .content {
  margin: 10px 0 0;
}

body.layout-first-main-last #sidebar-first .block-wrapper,
body.layout-first-main-last #sidebar-last .block-wrapper {
  margin: 0 0 10px;
}

/* rounded blocks styles -= layout-first-main-last & layout-first-main blocks */
#sidebar-first h2.block-title,
#sidebar-last h2.block-title,
#postscript-wrapper h2.block-title {
  background-color: #94CE18;
  color: #fff;
  padding: 8px 8px 6px 46px;
  text-align: right;
  text-shadow: #545454 1px 1px; 
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
}

#sidebar-first div.block div.content,
#sidebar-last div.block div.content,
#postscript-wrapper div.block div.content {
  background: transparent url('images/block-gradient.png') no-repeat center bottom;
  border-bottom: 3px solid #F1F5F7;
  padding: 10px 10px 8px;
  -moz-border-radius-bottomleft: 6px;
  -moz-border-radius-bottomright: 6px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px; 
}

/* non-rounded blocks styles = prefaces & layout-main-last blocks */
#preface-wrapper div.block div.content,
body.layout-main-last #sidebar-last div.block div.content {
  border: none;
}

body.layout-main-last #sidebar-last div.block-wrapper {
  margin: 0 0 30px;
}

#preface-wrapper div.block div.content,
body.layout-main-last #sidebar-last div.block div.content,
#footer div.block div.content {
  background: none;
  border-bottom: none;
  margin: 0;
  padding: 0;
}

body.layout-main-last #sidebar-last div.block div.content {
  padding: 6px;
}

body.layout-main-last #sidebar-last h2.block-title {
  border-bottom: 1px solid #D6DDB9 ;
  background-color: transparent;
  color: #666;
  padding: 0;
  text-align: left;
  text-shadow: none;
  width: 400px;
}

#footer h2.block-title {
  background: transparent;
  color: #666;
}

#sidebar-first #block-search-0 .form-item label,
#sidebar-last #block-search-0 .form-item label {
  display: none;
}


/*****************************************/
/* ROUNDED CORNERS FOR BLOCKS (optional) */
/*****************************************/

div.rounded-block {
  margin-top: -1px;                               /* use negative margin to overlap stacked blocks */
}

p.rounded-topspace {
  margin-top: -14px;                                  /* removes unwanted space */
}

p.rounded-bottomspace {
  margin-bottom: -10px;                               /* removes unwanted space */
}

div.rounded-block-top-left, 
div.rounded-block-top-right, 
div.rounded-block-bottom-left, 
div.rounded-block-bottom-right { 
  background: transparent url('images/rounded-block.png') no-repeat;                         /* combined rounded corner image */
  font-size: 2px;                                 /* IE div correction */
  height: 11px;                                   /* height of an image corner */
}

body.layout-main-last #sidebar-last div.rounded-block-top-left, 
body.layout-main-last #sidebar-last div.rounded-block-top-right, 
body.layout-main-last #sidebar-last div.rounded-block-bottom-left, 
body.layout-main-last #sidebar-last div.rounded-block-bottom-right { 
  background: none;
  font-size: inherit;
  height: auto;
}

div.rounded-block-top-left, 
div.rounded-block-bottom-left { 
  margin-right: 11px;                             /* width of an image corner */
}

div.rounded-block-top-right {                        /* anchor image in top right */
  background-position: 100% 0;
}

div.rounded-block-top-right,
div.rounded-block-bottom-right { 
  margin-left: 11px;                              /* width of an image corner */
  margin-top: -11px;                              /* height of an image corner */
}

body.layout-main-last #sidebar-last div.rounded-block-top-right,
body.layout-main-last #sidebar-last div.rounded-block-bottom-right { 
  margin: 0;
}

div.rounded-block-bottom-left  { 
  background-position: 0 -11px;                   /* negative height of an image corner */
}

div.rounded-block-bottom-right { 
  background-position: 100% -11px;                /* negative height of an image corner */
}

div.rounded-outside,
div.rounded-inside {
  background: transparent url('images/rounded-block-inner.png') repeat-y right;
  padding-right: 8px;
}

body.layout-main-last #sidebar-last div.rounded-outside,
body.layout-main-last #sidebar-last div.rounded-inside {
  background: none;
  margin: 0;
  padding: 0;
}

div.rounded-inside {
  background-position: left;
  padding: 0 0 0 8px;
}






