* {
margin:0;
padding:0;
}

html, body {
background-color:#202020;
background-image:url(img/back.gif);
background-repeat:no-repeat;
background-position: 50% 50%;
font-size:12px;
font-family:Arial;
text-align:center;
color:#999999;
height: 100%;
padding: 0;
margin: 0; 
}

div#logo {
width: 512px;
height: 110px;
background: transparent url(img/logo.gif) no-repeat;
overflow: hidden;
text-indent: -9999px;
margin-top: -130px;
margin-left: 135px;
margin-bottom: 20px;
}


DIV.wrapper
{
position: absolute;
left: 50%;
top: 35%;
width: 780px;
height: 100px;
background: #eee;
margin-left: -390px; /* half of width */
margin-top: -250px;  /* half of height */
}

span.link {
font-size: 16px;
}
span.link a {
font-size: 12px;
margin-left: 4px; 
margin-right: 4px;
}
span.link a:hover {
text-decoration: none;
border-bottom: 1px dashed #444;
}

DIV.page
{
position: absolute;
left: 50%;
top: 50%;
width: 780px;
height: 500px;
margin-left: -390px; /* half of width */
margin-top: -250px;  /* half of height */
}

#header {
height:35px;
width:750px;
padding-top:15px;
padding-left:15px;
padding-right:15px;
}

#header .left {
float:left;
width:350px;
height:35px;
display:block;
text-align:left;
}

#header .right {
float:right;
width:400px;
height:35px;
display:block;
text-align:right;
}

h1, h1 a, h1 a:hover {
font-size:24px;
font-weight:bold;
color:#FFFFFF;
text-decoration:none;
}

h1 a span {
font-weight:normal;
color:#7b7b7b;
text-decoration:none;
padding-left:2px;
}

#header h1 {
width: 233px;
height: 20px;
text-indent: -9999px;
overflow: hidden;
background: url('img/smlogo.gif') no-repeat;
color:#7b7b7b;
}

#header h2 span { display: none; }

#header h2 {
filter:alpha(opacity=70);
opacity: 0.7;
-moz-opacity:0.7;
width: 273px;
height: 20px;
float: right;
text-indent: -9999px;
overflow: hidden;
background: url('img/works.gif') 0 1px no-repeat;
}

#header h2 span#cnum {
font-family: Times;
color: #535353;
display: block;
font-size: 12px;
font-weight: bold;
line-height: 18px;
margin: 0;
padding: 0;
}



#portfoliowrap {
clear:both;
padding-left:15px;
}

#portfolio {
width:715px;
height:425px;
overflow:hidden; 
position: relative;
float:left;
}

a.portfolioarrow {
width:35px;
float:right;
height:280px;
background: transparent url(img/portfolioarrow.jpg) top left no-repeat;
}

a.portfolioarrow:hover {
background: transparent url(img/portfolioarrow.jpg) top right no-repeat;
}

.box {
width:715px;
height:435px;
float:left;
left:750px;
position:absolute;
margin-right:35px;
}

.box .top {
height:285px;
}

.box .top .left {
width:475px;
padding-right:10px;
float:left;
}

.box .top .right {
width:230px;
float:right;
}

.box .top img {
border:2px solid #555555;
}

.box .top img.big:hover {
border:2px solid #8b8b8b;
}

img.big {widht: 471px; height: 276px;}

.box .top .right .top {
padding-bottom:9px;
height:135px;
}

.box .top .right .bottom {
height:135px;
padding-left:1px;
}

.box .bottom {
height:135px;
text-align:left;
}

h2 {
color:#FFFFFF;
font-weight:normal;
font-size:20px;
padding-bottom:5px;
padding-top:2px;
}

h2 span {
color:#676767;
padding-left:3px;
}

p {
line-height:20px;
width:500px;
padding-bottom:8px;
}

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

a:hover {
color:#999999;
text-decoration:underline;
}

a.contact {
background:url(img/contact.jpg) top left no-repeat;
width:90px;
height:32px;
float:right;
margin-top:-7px;
z-index:100;
}

a.contact:hover {
background:url(img/contact.jpg) bottom left no-repeat;
}

a.exit {
background:url(img/exit.jpg) top right no-repeat;
float:right;
width:25px;
height:25px;
}

a.exit:hover {
background:url(img/exit.jpg) bottom right no-repeat;
}

div#phone {
overflow: hidden;
text-indent: -9999px;
width: 200px;
text-align: center;
height: 25px;
margin: 0 auto;
background:url(img/phone.png) 50% 50% no-repeat;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='img/phone.png');
}

#contactback {
z-index:1000;
background-image:url(img/contactback.jpg);
filter:alpha(opacity=91);
opacity: 0.91;
-moz-opacity:0.91;
position: absolute;
left: 50%;
top: 50%;
width: 780px;
height: 500px;
margin-left: -390px; /* half of width */
margin-top: -250px;  /* half of height */
display:none;
}

#contacttop {
z-index:1001;
background-image:url(img/contacttop.jpg);
filter:alpha(opacity=100);
opacity: 1;
-moz-opacity:1;
position: absolute;
left: 50%;
top: 50%;
width: 468px;
height: 300px;
margin-left: -234px; /* half of width */
margin-top: -150px;  /* half of height */
text-align:left;
}

#contacttop p {
color: #ccc;
width:420px;
text-align:left;
line-height:18px;
padding-left:10px;
padding-bottom:0px;
}

#contacttop h2.chead {
padding-top:0px;
padding-left:0px;
background:url(img/contact.png) 0% 0% no-repeat;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src='img/contact.png');
overflow: hidden;
text-indent: -9999px;
height: 30px;
}
#contacttop h3 {
color: #aaa;
width:420px;
text-align:center;
line-height:18px;
padding-left:55px;
padding-bottom:0px;
font-size: 16px;
font-weight: normal;
}

#contactform {
font-size:12px;
color:#FFFFFF;
padding-left:10px;
}

#contactform .line {
clear:both;
padding-top:5px;
padding-bottom:5px;
}

.input {
background-color:#DDDDDD;
border:1px solid #666666;
width:300px;
padding:4px;
height:14px;
}

.error {
float: left;
padding: 4px;
display: none;
}

.textarea {
background-color:#DDDDDD;
border:1px solid #666666;
float:left;
width:300px;
padding:4px;
}

.input:focus, .textarea:focus { border-color: #202020; background: #fff; }

#submit_btn, #success_message {
background-color:#333333;
border:1px solid #666666;
color:#FFFFFF;
width:100px;
font-family:Arial;
font-size:12px;
padding:4px;
margin-top:5px;
float:right;
margin-right:92px;
}

#success_message {
text-align: center;
padding: 17px;
padding-top: 8px;
width: 250px;
margin-left: 87px;
margin-top: 70px;
float: left;
}
#success_message h2 { margin: 0; padding: 0; text-align: center;}
#success_message h2, #success_message p { width: auto; padding:0; margin-top: 7px; text-align: center;}

#submit_btn:hover, #message h2:hover {
background-color:#333333;
color:#CCCCCC;
}

.input_caption {
float:left;
width:100px;
text-align:right;
padding-top:5px;
padding-bottom:5px;
padding-right:6px;
}

.build {
clear: both; text-align: center; padding: 10px;
color: #555;
filter:alpha(opacity=60);
opacity: 0.6;
-moz-opacity:0.6;
}