/* Start of CMSMS style sheet 'egag' */
/* ===== GLOBAL RESET ===== */

* {
  vertical-align: baseline;
  font-weight: inherit;
  font-family: inherit;
  font-style: inherit;
  font-size: 100%;
  border: 0 none;
  outline: 0;
  padding: 0;
  margin: 0;
}

html, body {
  height: 100%;
}

/* ===== LAYOUT ===== */

.break {
  display: block;
  clear: both;
  height: 1px;
  overflow: hidden;
}

div#shell {
  background-color: #F8F3EB;
  background-image: url("images/container_bg.png");
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -44px auto;  /* the bottom margin is the negative value of the footer's height */
}

div#content {
  border-top: 4px solid #C4BFB8;
}
.ie div#content {
  padding-top: 20px;
}

div#content div#container {
  width: 850px;
  margin: 15px auto;
  padding-bottom: 15px;
}

div#content div#major {
  width: 70%;
  float: right;
}

div#content div#minor {
  float: left;
  width: 27%;
}

div#content div#major img {
  border: 2px solid #EBE5DA;
}

div#nav {
  width: auto;
  padding: 10px 10px 10px 0;
  margin:0 auto;
  background-color: #f0eae1;
}

div#box {
  width: auto;
  padding: 10px;
  margin:0 auto;
  background-color: #FFF9EF;
}

/* hide sidebar where its not needed */

body.home div#content div#minor
{
  display: none;
}

body.home div#content div#major
{
  width: auto;
  float: none;
}

body.home div#sponsor {
margin: 5px 0 5px 0;
}

body.home div#sponsor img {
border: none !important;
}

div#content div#minor a.home {
  display: none;
}

/* ===== HEADER ===== */

div#header {
  background: url("uploads/images/headerbg02.png") repeat-x;
  height: 112px;
}

div#header div.container {
  width: 850px;
  margin: 0 auto 0 auto;
}

#logo {
  background: url("images/egag_logo_web_216.gif") no-repeat 0 -108px;
  margin: 2px 0 2px -12px;
  float: left;
  width: 117px;
  height: 108px;
  display: block;
}

#logo:hover {
  background-position: 0 0;
}

#logo span {
  display: none;
}

.ie6 div#header a.logo {
  background-image: url("images/egag_logo_web_140.gif");
  background-repeat: no-repeat;
}

/*.ie6 div#header a.logo img {
  visibility: hidden;
  margin-left: 0;
}*/

div#header_right {
  display: inline;
  float: left;
  width: 450px;
  height: 20px;
  margin-top: 41px;

  color: #F7F395 !important;
}

/* ===== CALENDAR===== */
table.calendar {
  border: 1px solid #C4BFB8;
}

.calendar-month {
  color: #29231E;
  margin-bottom: .5em;
  font-size: 125%;
}

.calendar-list {
  background-color: #FAF6F0;
  padding: 3px;
}

.calendar-event {
  background-color: #FAF6F0;
}

/* ===== FOOTER ===== */

div#push, div#footer {
  height: 22px;
  clear: both;
}

div#footer {
  background-color: #C4BFB8;
  color: #5E5B58;

  border-top: 2px solid #FFFFFF;
  padding: 10px;
  font-size: 10px;
}
div#footer a {
  color: #5E5B58;
  text-decoration: underline;
}

div#footer ul {
  width: 850px;
  margin: 0 auto 0 auto;
}
div#footer ul ul {
  width: auto;
  margin: 0;
}
div#footer ul li {
  display: inline;
  background: none;
  margin: 0;
  padding: 0;
}
div#footer ul ul li {
  padding: 0 8px 0 5px;
  border-right: 1px solid #AAA59E;
}
div#footer ul ul li.last {
  border: none;
}

div#footer li#legal ul {
  float: left;
}
div#footer li#utils ul {
  float: right;
}

div#footer li#poweredBy {
  border: none;
}


/* ===== TYPOGRAPHY ===== */

body {
  font-family: Geneva, Arial, sans-serif;
  font-size: 13px;
  color: #5D5751;
  line-height: 150%;
}

.grey {
color: #F8F3EB;
}

.black {
color: #29231E;
}

.green {
color: #A1BD31;
}

h1, h2, h3, h4, h5, h6, .expand-title {
  color: #29231E;
  margin-bottom: .75em;
}
h1 { font-size: 250%; margin-bottom: .5em; }
h2 { font-size: 150%; }
h3, .expand-title { font-size: 125%; }
h4 { font-size: 100%; }
h5 { font-size: 100%; }
h6 { font-size: 100%; }
.ie6 h1, .ie7 h1, .safari h1 {
  font-size: 125%;
}

.expand-title {
background: url("images/arrow_next.gif") right 4px no-repeat;
color:#6F8E18;
padding-right:18px;
}

#name {
margin-top:18px;
}

p {
  margin-bottom: 1.5em;
}

dl {
  margin-bottom: 1.5em;
}

/*a:link    { color: #CC3300; text-decoration: none; }
a:visited { color: #B9957A; text-decoration: none; }
a:hover   { color: #A1BD31; text-decoration: none; }
a:active  { color: #B28D85; }
a:active, a:focus, button:active, button, button * { outline: none; }*/

a:link    { color: #6F8E18; text-decoration: none; }
a:visited { color: #91A74D; text-decoration: none; }
a:hover   { color: #991133; text-decoration: none; }
a:active  { color: #730a31; }
a:active, a:focus, button:active, button, button * { outline: none; }


/* ===== BASIC CONTENT ===== */

strong {
  font-weight: bold;
}

ul {
  list-style-type: none;
  margin-left: 1em;
}

ul li {
  background: url("images/bullet.gif") left 4px no-repeat;
  padding-left: 19px;
}

ul li.thumb {
   list-style-type: none !important;
   background: none;
}

ul#primary-nav li.menuparent {
  background: url("images/bullet.gif") left 4px no-repeat;
  margin-left: 2px !importnt;
}

ul#primary-nav li.menuactive {
  background: url("images/arrow_next.gif") left 4px no-repeat;
}

a.menuactive  {
 color: #991133;
 font-weight: bold
}

ol {
  color: #000000;
  margin-bottom: 1.5em;
  margin-left: 2.5em;
}
ol li span {
  color: #5D5751;
}

img.illustration {
  max-width: 250px;
  float: right;
  margin: 0 0 1em 1em;
  border: 2px solid #FFFFFF;
}

.ie img.illustration {
  width: 250px;
}

dl {
}

dl dt {
  background-image: url("images/panel_important_background.gif");
  border: 2px solid #FFFFFF;
  color: #000000;
  padding: 2px 7px 2px 7px;
}
dl dd {
  border: 2px solid #FFFFFF;
  border-top: none;
  background-color: #FFFFFF;
  font-size: 95%;
  line-height: 135%;
  padding: 7px;
  margin-bottom: 7px;
}

table {
  background-color: #FBF9F5;
  margin-bottom: 1.5em;  
}
table td {
  background-color: #FAF6F0;
  padding: 2px 5px 2px 5px;
  color: #847E78;
}
table th {
  background-color: #FFFFFF;
  padding: 2px 5px 2px 5px;
}
table thead th {
  color: #FFFFFF;
  background-image: url("images/panel_header.gif");
}

table.grid, table.grid th, table.grid td {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
}

hr {
  clear: both;
  border-top: 1px dotted #908B84;
  border-bottom: 1px solid #F8F3EB;
  margin: 20px 0 20px 0;
}

code {
  font-family: "Courier New", Courier, monospace;
}


/* relational links under content */

div.left49 {

 width: 49%; /* 50% for both left and right might lead to rounding error on some browser */

}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/* ===== PANELS ===== */

div.panel {
  margin-bottom: 1.5em;
  background-color: #F8F3EB;
  height: auto;
}

div.panel h3 {
  background-image: url("images/panel_header.gif");
  background-position: top right;
  background-repeat: no-repeat;
  background-color: #991133;
  margin: 0;
  font-size: 100%;
  height: 24px;
  color: #FFFFFF;
}

div.panel h3 span {
  display: block;
  color: #ffffff;
  background-image: url("images/panel_header_corner.gif");
  background-position: top left;
  background-repeat: no-repeat;
  padding: 4px 4px 4px 11px;
}

body.home div.contents {
  padding: 10px;
  border: 1px solid #5D5751;
  min-height: 210px;
  background-color: #fff;
  margin-bottom: 1em;
}

div.contents {
  padding: 10px;
  border: 1px solid #5D5751;
  height: auto;
}

div.panel div.contents p {
  margin-bottom: .5em;
}

div.contents h3 {
  background-color: #C4BFB8;
  color: #5D5751;
height:auto;
clear:both;
  padding: 2px;
margin-bottom:6px;
}

div.panel div.contents img {
  border: 2px solid #C4BFB8 !important;
}

div.panel div.contents a.plain {
  color: #29231E;
}

div.panel div.contents h3 a:hover {
  text-decoration: underline;
}

div.panel div.contents hr{
  clear: both;
  border-top: 1px dotted #908B84;
  border-bottom: 1px solid #F8F3EB;
  margin: 6px 0 6px 0;
}

div#preview {
  width: auto;
  float: right;
  min-height: 348px;
  margin-left: 10px;
/*border: 2px solid #5D5751;*/
}


img.floatleft {
  float: left;
  margin-right: 4px;
}

img.floatright {
  float: right;
  margin-left: 4px;
}

div#previewbooks {width: 248px; float: right;}
div#previewbooks img.logos {border: none; padding-bottom: 10px;  float: right;margin-left: 4px;}

/* ===== FORMS ===== */

form {
  margin: 0;
  padding: 0;
}

.fieldWithErrors {
  display: inline !important;
  clear: none !important;
}

form fieldset {
  border-top: 2px dotted #C4BFB8;
  border-left: 1px solid #F8F3EB;
  background-color: #F8F3EB;
  padding: 15px 0 20px 0;
}

fieldset.noLegend {
  border: none;
}

form legend {
  color: #29231E;
  font-size: 125%;
  margin: 0 10px 0 10px;
  background-color: #F8F3EB;
  padding: 0 3px 0 3px;
}

.ie7 legend {
  margin-bottom: 10px;
}

form label {
  color: #4A443E;
  float: left;
  width: 100px;
  padding: 3px 10px;
  text-align: right;
  text-transform: capitalize;
}

label .big {
  width: 175px;
}

form div {
  margin-bottom: .5em;
  padding: 0;
  display: block;
  clear: left;
}

form em {
  font-size: 90%;
}

form input, textarea, select {
  width: 300px;
  border-top: 1px solid #C4BFB8;
  border-left: 1px solid #C4BFB8;
  border-bottom: 1px solid #E1DFDB;
  border-right: 1px solid #E1DFDB;
  padding: 3px 3px 3px 10px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  margin-left: 18px;
}

input.big {
  width: 425px;
}

form select {
  width: auto;
}

form input[disabled='disabled'] {
  background-color: #F8F3EB;
}


/* ===== S-IFR TEXT REPLACEMENT ===== */

.sIFR-flash {
  visibility: visible !important;
  margin: 0;
}

.sIFR-replaced {
  visibility: visible !important;
}

span.sIFR-alternate {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  display: block;
  overflow: hidden;
}


/* ===== HOME PAGE SPECIFIC ===== */

body.home div#preview {
  width: auto;
  float: right;
  height: auto;
  margin-right: 10px;
  margin-bottom: 10px;
  /*border: 2px solid #5D5751;*/
}

body.home div#featureSummary {
  width: 50%;
  height: auto;
}
body.home div#featureSummary h3 {
  margin-bottom: 8px;
}
body.home div#featureSummary ul {
  margin-bottom: 10px;
}

body.home div#featureOverview {
margin: 0 auto;
}

body.home div#featureOverview div.panel {
  color: #29231E;
  font-size: 12px;
  line-height: 130%;
  width: 200px;
  float: left;
  margin: 0 6px 1.75em 5px;
}

body.home div#featureOverview div.contents {
  padding: 9px 9px 12px 9px;
  min-height: 24px;
}

body.home div#featureOverview div.panel p {
margin-bottom: 0.5em;
}

body.home div#featureOverview div.panel i {
font-style:italic;
}

body.home div#featureOverview div.panel img {
  border: 1px solid #C4BFB8;
  margin: 5px auto;
}

#map {
  border: 2px solid #FFFFFF;
  height: auto;
  margin: 0 auto;
  width: 425px;
}
/* End of 'egag' */

