* {
   font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
   color:#4D495F;
}

html, body {
   margin:0px;
   padding:0px;
   height:100%;
}

body {
   text-align:center;
   background:#fff;
   font-size:12px;
}

table, textarea {
   font-size:12px;
}

form {
   display:inline;
}

a {
   text-decoration:underline;
}

a:hover {
   text-decoration:none;
}

#page {
   margin:0px auto;
   width:819px;
   height:100%;
   background:url(../img/bg.jpg);
}

#head {
   padding-top:56px;
}

#foot {
   padding-top:20px;
   padding-bottom:56px;
}

#content {
	height:auto;
   background:#F6F6F6;
   text-align:left;
}

#t { background:url(../img/ct.jpg) top center repeat-x; }
#b { background:url(../img/cb.jpg) bottom center repeat-x; }
#l { background:url(../img/px.gif) center left repeat-y; }
#r { background:url(../img/px.gif) center right repeat-y; }
#lt { background:url(../img/clt.jpg) top left no-repeat; }
#rt { background:url(../img/crt.jpg) top right no-repeat; }
#rb { background:url(../img/crb.jpg) bottom right no-repeat; }
#lb { background:url(../img/clb.jpg) bottom left no-repeat; padding:35px 65px; }

#foot a {
   color:#000;
   text-decoration:none;
}

#foot a:hover {
   text-decoration:underline;
}

#text {
   text-indent:20px;
   margin:10px 0px;
}

.head,
.head2 {
   margin-bottom:20px;
}

.head2 {
   margin-top:20px;
}

.photo {
   padding:1px;
   border:1px solid #807A7A;
}

.clear {
   clear:both;
}

/* about us */

#skills {
   width:100%;
   border-collapse:collapse;
}

#skills td {
   border:1px solid #807A7A;
   padding:5px;
}

.personality {
   width:50%;
   margin-bottom:20px;
   float:left;
}

.personality img {
   float:left;
   margin-right:10px;
}

.personality ul {
   list-style:none;
   margin:0px 0px 20px 0px;
}

a.more {
   display:block;
   float:left;
   background:url(../img/arr.jpg) center right no-repeat;
   padding-right:7px;
}

/* services */

#services {
   width:100%;
}

#services caption {
   padding:10px;
}

#services td {
   vertical-align:top;
}

#services ul {
   list-style:none;
   padding:0px;
   margin:0px 0px 20px 0px;
}

/* portfolio */

#portfolio img,
#portfolio_details img {
   margin:0px 20px 20px 0px;
   padding:1px;
   border:1px solid #807A7A;
}

#portfolio_details img {
   margin:0px 30px 30px 0px;
   float:left;
}

#sale_text {
	text-align:center;
	font-size:10px;
}

#category {
   text-align:center;
}

#pages {
   padding:20px 60px;
   background:url(../img/pages/pages.jpg) center left no-repeat;
}


/* contacts */

.contacts {
   width:50%;
   float:left;
}

.contacts label {
   display:block;
   font-weight:bold;
}

.contacts .inp {
   border:1px solid #4D495F;
   width:185px;
}

.contacts textarea {
   border:1px solid #4D495F;
   width:250px;
   height:80px;
}

.contacts .but {
   border:1px solid #716F7C;
   background:#A5A5A7;
   color:#fff;
   width:80px;
}

/* messages */

#messages {
   list-style:url(../img/arr.jpg);
   border:1px dashed #4D495F;
   padding:10px 0px 10px 30px;
   margin:0px;
}

.mesg0 {
   color:#060;
}

.mesg1 {
   color:#f00;
}
