html, * html body { height: 100% }
body { min-height: 100% }

html, body {
  margin: 0; border: 0; padding: 0;
  background-color: white;
}
body {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 100%;
  position: relative;
}

a { color: #D91F1A }
a:hover { text-decoration: none }

hr {
  color: white;
  border-top: solid #e5e5e5;
  border-width: 1px 0 0;
}


#top, #content, #footer {
  font-size: .7em;
  color: #7c7c7c;
}


#top {
  width: 742px;
  margin: 0 auto;
}
#top .logo {
  width: 722px;
  margin: 0px 0px -10px 10px;
  border-top: 3px solid #6b5ee6;
}
#top .logo h1 {
  font-size: 1.4em;
  line-height: 60px;
  margin: 0 0 0 17px;
}
#top .logo a {
  color: #6b5ee6;
  text-decoration: none;
}
#top .logo a span, #top .logo a em {
  color: #ff5002;
  font-style: normal;
}

#top .image img {
  display: block;
  margin: 0 auto;
  border-top: 3px solid #6b5ee6;
}

#top .menu {
  margin: 1px 10px 0;
  border-bottom: 3px solid #6b5ee6;
  background: url(i/optimization-top-menu-bg.png) bottom;
  font-size: 1.1em;
}
#top .menu ul {
  list-style-type: none;
  margin: 0; padding: 0;
  height: 35px; line-height: 35px;
  background: url(i/optimization-top-menu-bg-corner-right.png) no-repeat right bottom;
}
#top .menu ul li.first {
  background: url(i/optimization-top-menu-bg-corner-left.png) no-repeat left bottom;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-right: 1px solid #6b5ee6;
}
#top .menu ul li.last {
  float: left;
  padding: 0 17px;
  border-right: 0px solid #6b5ee6;
}
#top .menu ul li {
  float: left;
  padding: 0 17px;
  border-right: 1px solid #6b5ee6;
}
#top .menu ul li a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
#top .menu ul li a:hover {
  text-decoration: underline;
}


#content {
  width: 722px;
  margin: 10px auto 0;
  padding-bottom: 10px;
}

#content:after {
  content: '';
  display: block; height: 0;
  clear: both;
}

#content #main {
  float: left;
  width: 522px;
  border-left: 1px solid #e5e5e5;
  padding: 0 0 0 17px;
  text-align: justify;
  font-size: 1.1em;
  line-height: 1.3em;
}

#content #main h1 {
  border-left: 2px solid #e5e5e5;
  font-weight: bold;
  font-size: 1.5em;
  color: #D91F1A;
  padding: .5em 0 .9em 14px;
  margin: 0 0 -3px -17px;
}

#content #main h2 {
  font-weight: bold;
  font-size: 1.1em;
  color: #D91F1A;
  padding: .5em 0 .0em 14px;
  margin: 0 0 -5px -15px;
}
#content #main h4 {
  font-size: 1.1em;
  margin-bottom: .5em;
}
#content #main h5 {
  font-size: 1em;
  margin-bottom: .5em;
}

#content #main p {
  margin: 1em 0;
}

#content #sidebar {
  float: left;
  width: 180px;
  border-right: 1px solid #e5e5e5;
}
#content #sidebar a { color: #7c7c7c }
#content #sidebar .label {
  font-size: 1.1em;
  font-weight: bold;
  color: #D91F1A;
  display: block;
  padding: .9em 0 .9em 14px;
  border-left: 2px solid #e5e5e5;
  margin: 0 0 12px;
}
#content #sidebar div.block {
  padding-bottom: 9px;
  border-left: 1px solid #e5e5e5;
  margin-top: 18px;
}
#content #sidebar div.block.menu {
  margin-top: 0;
}
#content #sidebar div.menu ul {
  list-style-type: none;
  margin: 0 10px; padding: 0;
}
#content #sidebar div.menu ul li {
  line-height: 23px;
  padding-left: 21px;
  background: url(i/optimization-sidebar-menu-bullet.png) no-repeat 3px 50%;
  border-top: 1px solid #e5e5e5;
}
#content #sidebar div.menu ul li.first {
  border: none;
}

#content #sidebar div.search form {
  width: 150px; height: 18px;
  margin: 0 auto; padding: 5px;
  background-color: #F5F5F5;
  overflow: hidden;
}
#content #sidebar div.search form input {
  float: left;
}
#content #sidebar div.search form input.text {
  width: 125px; height: 16px;
  padding: 0; margin-right: 5px;
  border: 1px solid #e5e5e5;
}



#footer {
  clear: both;
  border-top: 3px solid #e5e5e5;
  background-color: #F5F5F5;
  width: 100%;
}
#footer .content {
  width: 688px;
  min-height: 60px;
  margin: 0 auto;
  border-top: 1px solid white;
  padding: 0 17px;
}
#footer a {
  font-weight: bold;
}
#footer .content p {
  margin: 22px 0;
}
#footer .content p.copyrights {
  float: left;
}
#footer .content p.creator {
  float: right;
}


/* page: Links
----------------------------------------------------------------------------- */

#content #main dl.links {
  margin: 1em 0;
}
#content #main dl.links dt {
  font-weight: bold;
}
#content #main dl.links dd {
  margin: .5em 1em 1.2em;
}


/* page: Contact
----------------------------------------------------------------------------- */

#content #main form.contact {
  margin: 1em 0;
}
#content #main form.contact fieldset {
  margin: 0; border: 0; padding: 0;
}
#content #main form.contact fieldset div {
  margin: 0 0 .7em;
  text-align: left;
}
#content #main form.contact fieldset div * {
  width: 300px;
}
#content #main form.contact label {
  display: block;
  margin-bottom: .2em;
}
#content #main form.contact div {
  width: 300px;
  text-align: right;
  margin-top: 5px;
}


/* ads
----------------------------------------------------------------------------- */

div.ad_t0 {
  border-top: 1px solid #E5E5E5;
}
div.ad_t1 {
  margin-left: 15px;
}
div.ad_t2 {
  padding-top: -1em;
  margin-bottom: 0em;
}
div.ad_t3 {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1em;
  margin-top: 1em;
}
div.ad_t4 {
  border-top: 1px solid #E5E5E5;
  padding-top: 1em;
  margin-bottom: 1em;
}