/* CSS reset */
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}

html, body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  background: white;
  color: #999;
}

strong {
  color: #666;
  font-weight: bold;
}

p {
  margin: 0 0 1em 0;
}

ul, ol {
  padding: 0;
}

a, a img {
  border: 0;
}

a {
  color: #999;
}

a:active {
  color: #336699;
}

/* layout */
#header {
  margin-top: 45px;
  margin-left: 150px;
  width: 750px;
  height: 100px;
  margin-bottom: 45px;
}

#header #moto {
  margin-top: 15px;
}

#navbar {
  height: 20px;
  padding-left: 150px;
}

#content {
  margin-top: 5px;
}

/* end layout */

/* section styles */
#header #moto {
  color: #ccc;
  font-weight: bold;
}

#header #moto em {
  color: #999;
  font-weight: bold;
}

#navbar {
  background: url("images/shaded.png") center left repeat-x;
}

#navbar .links li {
  float: left;
  list-style-type: none;
  font-size: 16px;
  height: 20px;
  padding: 0 27px;
  background: white;
  border-left: 2px solid #e3e3e3;
}

#navbar .links li h1 {
  float: left;
  list-style-type: none;
  font-size: 16px;
  height: 20px;
  padding: 0;
  margin: 0;
  background: white;
}

#navbar .links li.first {
  border: 0;
}

#navbar .links li a {
  text-decoration: none;
  font-weight: bold;
}

#navbar .links li.active {
  color: #336699;
}
/* end section styles */

/* about page style */
div.about {
  width: 860px;
  height: 450px;
  background: url("images/about-background.png") left top no-repeat;
  margin-left: 50px;
  position: relative;
}

#content div.block {
  overflow: hidden;
  color: white;
  font-size: 12px;
  line-height: 1.5em;
}

#content div.block a {
  color: white;
}

#content div.block h1, #content div.block h2 {
  color: white;
  margin: 10px 0 2px;
  font-size: 20px;
  font-weight: bold;
}

#content #block-1 {
  position: absolute;
  top: 75px;
  left: 462px;
  width: 380px;
  height: 90px;
}

#content #block-2 {
  position: absolute;
  top: 215px;
  left: 25px;
  width: 330px;
  height: 85px;
}

#content #block-3 {
  position: absolute;
  top: 240px;
  left: 580px;
  width: 250px;
  height: 85px;
}

/* end about page style */

/* projects page style */
div.contacts,
div.consulting,
div.projects {
  padding-top: 50px;
  margin-left: 150px;
}

.project h2 {
  color: #336699;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px;
}

.project {
  clear: left;
  padding-left: 180px;
  width: 600px;
  margin-bottom: 20px;
  overflow: auto;
}

.project img {
  float: left;
  margin-left: -170px;
}

.project .description {
  margin-bottom: 15px;
}

.project-links {
  overflow: hidden;
}

.consulting a,
.project-links a {
  color: #2476a4;
  text-decoration: none;
  font-weight: bold;
}

.contact-btn,
.project-links .btn {
  float: left;
  margin: 0;
  padding: 0 0 0 30px;
  height: 25px;
  background: url("images/button.png") left center no-repeat;
}

.contact-btn div,
.project-links .btn div {
  padding: 3px 10px 0 0;
  margin: 0;
  height: 22px;
  background: url("images/button.png") right center no-repeat;
}

/* end projects page style */

/* contacts page */
#content .hidden {
  display: none;
}

.contacts h1,
.contacts h2 {
  font-size: 20px;
  font-weight: bold;
  color: #336699;
  margin: 0 0 10px;
}

.contacts form {
  font-size: 12px;
}

.contacts form td {
  padding: 2px 3px;
}

td.title,
.contacts form td span {
  color: #336699;
}

.contacts form input.input_button {
  padding: 2px 5px;
  border: 1px solid #336699;
  background: white;
  color: #336699;
}

table.pagedivision td.div {
  width: 350px;
  vertical-align: top;
  padding: 0 5px;
}

table.pagedivision td.div.first {
  border-right: 1px solid #ccc;
}
/* end contacts page */

/* consulting page */
.consulting {
  color: #666666;
  margin-bottom: 50px;
  background: transparent url("images/consulting-bg.png") left top repeat-y;
}

.consulting h2 {
  font-size: 24px;
  font-weight: bold;
  color: #336699;
  margin: 0 0 10px;
}

.consulting h3 {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  margin: 0;
}

#consulting-container {
  width: 370px;
  position: relative;
  padding-right: 50px;
  float: left;
}

#consulting-sidebar {
  width: 285px;
  float: left;
  padding: 0 20px;
}

#consulting-sidebar h2 {
  color: #4d4d4d;
  font-size: 20px;
  margin: 0;
  text-align: center;
}

#consulting-sidebar h3 {
  color: #2476a4;
  margin: 0;
  display: inline;
  font-size: 14px;
  font-weight: bold;
}

#consulting-sidebar h4 {
  color: #333333;
  margin: 0;
  display: inline;
  font-size: 12px;
  font-weight: bold;
}

#consulting-sidebar .sidebar-top {
  padding-left: 30px;
  background: url("images/sidebar-thingy.png") center left no-repeat;
  margin-bottom: 10px;
}

#consulting-sidebar div {
    margin-bottom: 10px;
}

#consulting-sidebar .sidebar-top div {
  padding-right: 30px;
  background: url("images/sidebar-thingy.png") center right no-repeat;
}

.consulting ul {
  padding-left: 20px;
  list-style-position: outside;
  list-style-type: none;
  list-style-image: url("images/list-thingy.png")
}

.consulting li {
  margin: 5px 0;
}

