/* common */
*{padding:0;margin:0;}
img{border:0; margin:0;}
p{padding:0 0 15px 0; line-height: 1.5;}
.clear{clear:both;}

html{ font-family: Arial, Helvetica, sans-serif; font-size: 62.5%; height: 100%;}

body { background-color: #fff; font-size: 1.2em; color: #5D5D5D; height: 100%;}

a { color: #218251; text-decoration: none; }
a:hover { text-decoration: underline; }

.bigger, big{font-size: 1.2em; color: #3c3c3c;}

#wrapper{  
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 0 -40px 0;  
  background: url(images/header-bg.gif) repeat-x;
}

#topwrap { width: 920px; margin: 0 auto; }
  #topleft { width: 261px; float: left; padding: 0px 0 0 0; }
    #logo { padding: 0 0 0 20px; margin: 0; height: 115px; }
  #topmiddle { width: 386px; float: left; padding: 30px 0 0 0; }
    #slogan { padding: 40px 0 0 0; }
  #topright { width: 270px; float: left; padding: 30px 0 0 0; }
    #phone-number { padding: 30px 0 0 20px; }
  
    
#headerbg { width: 100%; height: 234px; background-image: url(images/header_bg.gif); background-repeat: repeat-x; }
#headerwrap { width: 920px; margin: 0 auto; }
  #headerleft { width: 261px; height: 234px; float: left; }
    #mainmenu { padding: 30px 0 0 20px; color: #fff; }
      #mainmenu li { margin: 0; list-style: none none; }
  #mainmenu li a { height: 26px; display: block; text-decoration: none; }
  #mainmenu li a span{visibility: hidden;}
  
  #mainmenu #home, #mainmenu #home a{background: url(images/b-home.gif) no-repeat; height: 26px;}
  #mainmenu #about-us, #mainmenu #about-us a{background: url(images/b-about-us.gif) no-repeat; height: 26px;}
  #mainmenu #fence-construction-service, #mainmenu #fence-construction-service a{background: url(images/b-services.gif) no-repeat;  height: 29px;}
  #mainmenu #before-and-after, #mainmenu #before-and-after a{background: url(images/b-before-and-after.gif) no-repeat; height: 26px;}
  #mainmenu #testimonials, #mainmenu #testimonials a{background: url(images/b-testimonials.gif) no-repeat; height: 29px;}
  #mainmenu #contact-us, #mainmenu #contact-us a{background: url(images/b-contact-us.gif) no-repeat; height: 27px;}
  
  #mainmenu #home a:hover, #mainmenu #home a.active {background: url(images/b-home-on.gif) no-repeat;}
  #mainmenu #about-us a:hover, #mainmenu #about-us a.active {background: url(images/b-about-us-on.gif) no-repeat;}
  #mainmenu #fence-construction-service a:hover, #mainmenu #fence-construction-service a.active {background: url(images/b-services-on.gif) no-repeat;}
  #mainmenu #before-and-after a:hover, #mainmenu #before-and-after a.active {background: url(images/b-before-and-after-on.gif) no-repeat;}
  #mainmenu #testimonials a:hover, #mainmenu #testimonials a.active {background: url(images/b-testimonials-on.gif) no-repeat;}
  #mainmenu #contact-us a:hover, #mainmenu #contact-us a.active {background: url(images/b-contact-us-on.gif) no-repeat;}
  
  
  #headermiddle { width: 386px; height: 234px; float: left; }
  #headerright { width: 270px; height: 234px; float: left; background-image: url(images/header_part.gif); background-repeat: no-repeat; }
    #box1 { margin: 35px 0 0 25px; color: #f4f4f4; }
      #box1 h3 { font-weight: bold; font-size: 1.4em; color: #49a778; font-family: georgia, serif; padding: 5px 0 15px 0; }
      #box1 p { padding: 0 0 25px 0; }
     
      #box1 a { font-size: 12px; font-weight: bold; color: #49a778; }
#mainwrap { width: 910px; margin: 0 auto; padding: 0; }
  #left-content { width: 237px; float:left; padding: 0 0 0 20px;}
    #sidemenu { width: 220px; padding: 80px 0 0 0; }
      #sidemenutitle { padding: 0 0 10px 0; color: #464646; font-weight: bold; font-size: 1.2em;}
      #sidemenu ul li { list-style: none; }
      #sidemenu ul li a { color: #464646; text-decoration: none; font-weight: bold; }
      #sidemenu ul li a:hover { color: #fff; background-color: #218251; font-weight: bold; }
      #sidemenu li{ padding: 7px 5px 7px 25px; background: url(images/sidemenu-arrow.gif) no-repeat 0 10px; }
      
       #box2 { padding: 35px 40px 0 0; }
      #box2 h3 { font-weight: normal; font-size: 1.4em; color: #484848; font-family: georgia, serif; padding: 5px 0 5px 0; }
      #box2 p { padding: 0 0 10px 0; }
      #box2 ul {list-style: none; padding: 0 0 20px 0;}
      #box2 ul li{border-bottom: 1px solid #218251; padding: 10px 0;}
      #box2 a { font-weight: bold; color: #218251; }
      
    #box3 { padding: 35px 40px 40px 0; }
      #box3 h3 { font-weight: normal; font-size: 1.4em; color: #484848; font-family: georgia, serif; padding: 5px 0 15px 0; }
      #box3 p { padding: 0 5px 10px 0; }
      #box3 em{color: #5c402f; font-weight: bold; }
      #box3 .small{font-size: 0.9em; }
    #sign-button { padding: 30px 0 0 20px; }
  #content { padding: 0 20px 40px 0; float: left; width: 600px; }
    #content h1 { font-weight: bold; font-size: 1.7em; color: #5D5D5D; font-family: georgia, serif; margin: 40px 0 15px 0; }
    #content .title{font-family: Georgia, serif; font-size: 1.4em; font-weight: normal; display: block; margin: -5px 0 0 0;}
    #content p { padding: 0 0 15px 0; line-height: 1.5; }
    #content ul { padding: 0 0 15px 15px; line-height: 1.5;  }
    #content a { color: #218251; text-decoration: none; }
    #content a:hover { text-decoration: underline; }

    #contact{background: url(images/contact-bubble.gif) no-repeat right top; padding: 30px 20px 0 0; margin: 30px 0 0 25px; width: 220px;}
    #contact .bigger{padding: 0 50px 0 0; line-height: 1.2; }
    

.before{width: 175px; float: left; margin: -10px 0 20px 0;}
.after{width: 175px; float: right; margin: -10px 0 20px 0;}
.before img, .after img{padding: 3px; border: 1px solid #218251;}

#footer{width: 100%; background: url(images/footer.gif) repeat-x; height: 59px; clear: both; }
#footerwrap { width: 920px; margin: 0 auto; font-size: 0.9em; color: #7E7E79;height: 59px; background: url(images/footer-bg.gif) no-repeat right top;}
  .push {height: 20px; padding: 0; margin: 0; clear: both; }
  #footerwrap p {padding: 0 0 0 25px; text-align: left;}
  #footer a { color: #218251; text-decoration: none; }
  #footer a:hover { text-decoration: underline; }




/************* contact form ***************************/
form{
	width: 350px;
	margin: 15px 0 40px 0;
	clear: left;
}

#form-left{
	width: 170px;
	float: left;
}

#form-right{
	width: 170px;
	float: right;
}

.formfield, #messagediv label{
	padding: 0 0 10px 0;
}

input, select, textarea{
	border: solid 1px #aa9181;
	background: url(images/contact-input-back.gif) repeat-x left bottom;
	width: 160px;
}

textarea{
	width: 340px;
	background: url(images/contact-textarea-back.gif) repeat-x left bottom;
}

#submitdiv input{
	float: right;
	margin: 0 10px 0 0;
	background: #9CA62C;
	color: white;
	font-weight: bold;
}

#errormsg{
	width: 260px;
	padding: 10px 10px 10px 70px;
	background: url(images/problem.jpg) no-repeat 10px 10px;
	color: red;
	border: solid 1px red;
	clear: left;
	height: 60px;
}
