* {
  padding: 0;
  margin: 0;
}

body {
  background: #ccc url(../images/bg.gif);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5em;
  color: #666;
}

a {
  text-decoration: none;
  color: #fff;
  outline: none;
}

a img {
  border: none;
}

ul {
  list-style: none;
}

h1, h2 {
  font-family: Georgia, Times, "Times New Roman", serif;
}

h2 {
  font-weight: normal;
  font-size: 24px;
  padding: 30px 0 15px;
  color: #333;
}

#wrapper {
  width: 915px;
  margin: 0 auto 60px;
}

#nav {
  width: 180px;
  height: 600px;
  padding-top: 195px;
  padding-left: 35px;
  position: relative;
  left: 18px;
  top: 65px;
  float: left;
  background: url(../images/horyou.png) left top no-repeat;
}

#nav ul {
  padding: 20px 38px 0 43px;
}

#nav ul li a {
  display: block;
  height: 21px;
  margin-bottom: 10px;
  line-height: 1em;
  padding-top: 4px;
  background: #000;
  text-align: center;
  background: url(../images/button.png) left -130px no-repeat;
}

#nav ul li a:hover {
  background: url(../images/button.png) left -155px no-repeat;
}

#nav ul li a.short {
   margin-left: 28px;
   background: url(../images/button.png) left -70px no-repeat; 
}

#nav ul li a.short:hover {
  background: url(../images/button.png) left -95px no-repeat;
}

#footer {
  clear: both;
  padding: 25px 0 0 230px;
  font-size: 12px;
  color: #999;
  height: 30px;
  background: url(../images/bottom.png) right top no-repeat;
}

#main {
  width: 640px;
  float: right;
  background: #fff;
  padding: 30px;
}

#header, #portfolio, #about {
  border-bottom: 1px solid #ddd;
  padding: 0 0 30px;
}

#header h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
}

#header p {
  font-size: 24px;
    color: #444;
  line-height: 1.2em;
}

#header p#contact {
  margin-top: -30px;
  margin-bottom: 50px;
  height: 30px;
}

#header p#contact a {
   background: #f33 url(../images/button.png) left top no-repeat;
   display: block;
   float: right;
   width: 105px;
   height: 30px;
   text-align: center;
   color: #fff;
   font-size: 16px;
   text-decoration: none;
}

#header p#contact a:hover {
   background: url(../images/button.png) left -31px no-repeat;
}

#header p span, #header p a {
   color: #55988a; 
}

#header p a {
  text-decoration: underline;
}

#portfolio{
  float: left;
  padding: 0;
}

#portfolio a.preview {
  position: relative;
  display: block;
}

#portfolio a.preview span.hover_overlay {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 292px;
  height: 143px;
  display: block;
  text-align: center;
  font-size: 30px;
  background: #111;
  padding-top: 100px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity='0');
}

#portfolio .odd {
  width: 300px;
  float: left;
  margin-right: 30px;
  margin-bottom: 40px;
}

#portfolio .even {
   width: 300px;
   float: left;
     margin-bottom: 40px;
}

#portfolio p {
  line-height: 1.3em;
}

#portfolio p.service_performed {
  font-size: 11px;
  margin-bottom: 5px;
  line-height: 1.5em;
}

#portfolio p.service_performed span {
  color: #333;
  font-weight: bold;
}

#portfolio p.visit_button a {
  font-size: 11px;
  padding: 1px 10px;
  height: 20px;
  width: 60px;
  display: block;
  background: url(../images/button.png) left -190px no-repeat;
}

#portfolio p.visit_button a:hover {
 background: url(../images/button.png) left -213px no-repeat;
}

#portfolio p.view_screenshots a {
  font-size: 11px;
  padding: 1px 10px;
  height: 20px;
  width: 100px;
  display: block;
  background: url(../images/button.png) left -240px no-repeat;
}

#portfolio p.view_screenshots a:hover {
 background: url(../images/button.png) left -265px no-repeat;
}

#about {
  clear: left;
  height: 270px;
}

#about div {
  width: 300px;
  margin-right: 33px;
  float: left;
}

#about #map {
  margin: 0;
  width: 300px;
}

#about div p {
  line-height: 1.4em;
  margin-bottom: 20px;
}

#service {
   width: 300px;
   margin-right: 30px;
   float: left;
}

#service ul li {
    padding: 5px 0 5px 28px;
    border-bottom: 1px dotted #ddd;
    background: url(../images/tick.png) 3px 7px no-repeat;
}

#testimonials p.author {
    font-size: 11px;
    text-align: right;
    margin: 2px 0 13px;
    color: #55988a;
}

p#back_to_top {
    height: 45px;
}

p#back_to_top a {
    display: block;
    float: right;
    position: relative;
    top: 60px;
    width: 25px;
    height: 25px;
    padding: 10px;
    background: url(../images/button.png) left -290px no-repeat;
}

p#back_to_top a:hover {
    background: url(../images/button.png) -50px -290px no-repeat;
}








