html>body{background:#f0f0f0 url(../images/back.jpg) 50% 100% repeat-x;}
html body{text-align:center;margin:0;background:url(../images/backt.png) 50% 100% repeat-x, -webkit-gradient(linear, 0 0, 0 100%, from(#f0f0f0), to(#fff)) no-repeat;background:url(../images/backt.png) 50% 100% repeat-x, -moz-linear-gradient(top, #f0f0f0, #fff) no-repeat;}

html body,button{font:12px/1em Arial,Helvetica,sans-serif;}

/* INTERESTING SIZES */
#container,#head,#menu,#foot{width:980px;}
#bl,#br{width:978px;}
#body{width:960px;}

/* BACKGROUNDS */
#menu ul,#ml,#mr,#logo a,#foot,#footmenu,#copy,#menu a,#showcase .sbutton,#showcase .sbutton span,#menu li{background:url(../images/horiz.png) 0 0 no-repeat;}
#bl,#br,#tag{background:url(../images/vert.1.png) 0 0 repeat-y;}
#showcase .pic,#contacts-photo{background:url(../images/photos.jpg) 0 0 no-repeat;}
#contacts,#contacts .legend,#contacts .bottom{background:url(../images/formback.png) 0 0 no-repeat;}

/* COMMON */
a{text-decoration:none;color:#d65156;}
a:hover{text-decoration:underline;}
a img{border:0;}
form{margin:0;padding:0;}

#container{text-align:left;margin:2.1em auto 0;padding-bottom:15px;}

#head{height:47px;margin:17px 0 0;position:relative;padding-top:51px;}
#logo,#logo a{display:block;width:179px;height:102px;}
#logo,#tag{margin:0;padding:0;position:absolute;} 
#logo{top:7px;left:13px;z-index:1;}
#tag{width:657px;height:32px;top:0;right:75px;background-position:-22px 0px;background-repeat:no-repeat;}
#tag span,#logo span{display:none;}
#menu,#menu ul,#menu li{height:47px;}
#menu{position:relative;}
#menu ul,#menu li,#menu a{display:block;list-style:none;padding:0;margin:0;}
#menu ul{background-position:0 -259px;background-repeat:repeat-x;margin:0 12px;width:737px;overflow:hidden;padding-left:219px;}
#ml,#mr{height:47px;width:12px;position:absolute;top:0;}
#ml{background-position:0 -165px;left:0;}
#mr{background-position:100% -212px;right:0;}
#menu a{height:21px;}
#menu li{margin:10px 40px 0 0;float:left;height:27px;background-position:1000px 1000px;}
#menu li.active{background-position:50% -723px;}
#menu span{display:none;}
#menu #mpresent{width:118px;background-position:0 -102px;}
#menu #mpublish{width:72px;background-position:0 -123px;}
#menu #mbuy{width:73px;background-position:-72px -123px;}
#menu #mseller{width:63px;background-position:-145px -123px;}
#menu #mback{width:210px;background-position:0 -144px;}

#bl,#br{background-repeat:repeat-y;}
#bl{background-position:-2px 0;margin:0 1px 0 1px;}
#br{background-position:958px 0;}
#body{background:#fff;position:relative;margin:0 9px;padding:12px 0 1px;}

#showcase ul,#showcase{width:826px;}
#showcase ul,#showcase li{list-style:none;display:block;margin:0;padding:0;}
#showcase ul{overflow:hidden;margin-bottom:40px;}
#showcase{margin:5px auto;}
#showcase li{float:left;width:222px;margin-left:80px;}
#showcase p{text-align:justify;font-size:1.2em;line-height:1.2em;padding:0 5px;}
#showcase li.first{margin-left:0;}
#showcase .pic{margin:0 0 10px;padding:0;height:152px;display:block;}
#showcase .pic span{display:none;}
#scharity .pic{background-position:0 -152px;}
#svisibility .pic{background-position:0 -304px;}

#showcase .sbutton,#showcase .sbutton span{height:51px;line-height:51px;width:398px;display:block;cursor:pointer;}
#showcase .sbutton{background-position:0 -519px;background-repeat:repeat-x;font-size:1.5em;font-weight:bold;color:#fff;text-align:center;display:inline-block;margin:0 5px;}
#showcase .sblue .l{background-position:0 -417px;}
#showcase .sblue .r{background-position:100% -468px;}
#showcase .sgreen{background-position:0 -672px;}
#showcase .sgreen .l{background-position:0 -570px;}
#showcase .sgreen .r{background-position:100% -621px;}

.rounded{position:relative;-webkit-border-radius:6px;-moz-border-radius:6px;}
.rounded .tr,.rounded .tl,.rounded .br,.rounded .bl{display:none;}

.redbox{width:900px;margin:30px auto;}
.redbox h3{color:#f66;font-weight:bold;font-style:italic;font-size:1.5em;margin:0 0 4px 10px;padding:0;}
.redbox .rounded{background:#fff5f5;border:1px solid #db565c;padding:0 12px;padding-bottom:12px;}

.works,.works li{display:block;padding:0;margin:0;list-style:none;overflow:hidden;}
.works{margin-right:-10px;}
.works li{float:left;width:211px;margin:12px 10px 0 0;}
.works .cover,.works .details{float:left;line-height:1.2em;}
.works .cover{margin-right:7px;}
.works .details{max-width:114px;}
.works a{color:#f33;text-decoration:underline;}
.works a.title{text-decoration:none;font-weight:bold;}

fieldset.stdform .stdrow{width:100%;overflow:hidden;margin:5px 0;vertical-align:middle;}
fieldset.stdform .stdrow input,fieldset.stdform .stdrow textarea,fieldset.stdform .stdrow select,fieldset.stdform .stdrow label{float:left;margin:0;}
fieldset.stdform .stdrow label{width:28%;margin-right:2%;text-align:right;font-size:1.2em;color:#c33;font-weight:bold;position:relative;line-height:28px;}
fieldset.stdform .stdrow input,fieldset.stdform .stdrow textarea,fieldset.stdform .stdrow select{width:66%;}
fieldset.stdform label .hint{font-size:0.77em;color:#666;font-weight:normal;position:absolute;top:100%;right:0;line-height:1.2em;}
fieldset.stdform .stdrow input.small{width:10%;}
fieldset.stdform .stdrow select{width:35%;}
fieldset.stdform .stdrow textarea{height:176px;}

fieldset.styledform input,fieldset.styledform textarea,fieldset.styledform select{line-height:22px;height:22px;outline:0;padding:2px;border:1px solid #d5b9ba;font:1em/22px 'Lucida Grande',Arial,Helvetica,sans-serif;background:#fff;}
fieldset.styledform input{vertical-align:middle;}
fieldset.styledform input:focus,fieldset.styledform textarea:focus,fieldset.styledform select:focus{border-color:red;}
fieldset.styledform button{border:1px solid #e9575d;padding:2px 10px;-webkit-border-radius:8px;-moz-border-radius:8px;text-align:center;width:auto;color:#fff;text-decoration:none;background:#eb666c;background:-webkit-gradient(linear, left top, left bottom, from(#eb666c), to(#d65156));background:-moz-linear-gradient(top, #eb666c, #d65156);font-size:1.1em;text-shadow:0 1px 0px #fff;cursor:default;font-weight:bold;}
fieldset.styledform button:active{background:#d65156;background: -webkit-gradient(linear, left top, left bottom, from(#d65156), to(#c13c41));background:-moz-linear-gradient(top, #d65156, #c13c41);}

#contacts{position:relative;left:-1px;border:0;margin:0 0 60px 0;padding:0;overflow:hidden;display:block;}
#contacts,#contacts .bottom{width:693px;}
#contacts{background-position:-693px 0;background-repeat:repeat-y;}
#contacts .bottom{background-position:-1386px 100%;min-height:416px;height:auto !important;height:416px;padding:0 15px 38px 81px;width:597px;margin-top:5px;}
#contacts .legend{font-size:2.5em;line-height:1em;color:#f66;margin:0;padding:0;display:block;height:51px;border:0;overflow:hidden;width:693px;position:relative;}
#contacts .legend span{margin:10px 0 8px 89px;display:block;}
#contacts .submit{background:transparent;border:none;padding:0;margin:0;width:158px;height:20px;line-height:20px;position:absolute;right:25px;bottom:2px;cursor:pointer;text-align:center;color:#fff;font-weight:bold;font-size:1em;}
#contacts .submit:focus{color:#000;}
#contacts p{color:#600;font-style:italic;text-align:justify;margin:7px;line-height:1.2em;}
#contacts p.response{text-align:center;font-size:1.2em;padding-top:2em;}
#contacts-photo{position:absolute;bottom:-5px;right:7px;width:249px;height:367px;background-position:0 -457px;z-index:1;}

#map{height:502px;overflow:hidden;margin-left:10px;margin-top:10px;width:950px;}
#nearest,#canvas{float:left;margin:0 10px 0 0;position:relative;height:500px;}
#nearest,#nearest fieldset,#distribute{width:210px;}
#nearest fieldset{border:0;padding:0;margin:0;text-align:center;font-size:1.2em;line-height:1.1em;}
#nearest input{width:204px;margin:5px 0;}
#nearest ol{padding:0 0 0 25px;margin:10px 0 0;}
#nearest li{margin:10px 0;line-height:1.2em;}
#nearest ol .name{font-weight:bold;}
#srccancel{font-size:0.85em;text-align:center;margin-top:5px;display:none;}
#canvas{border:1px solid #000;width:718px;}
#distribute{position:absolute;left:0;bottom:0;text-align:center;line-height:1.2em;padding-top:5px;border-top:1px solid #ccc;}

#foot,#copy{height:38px;line-height:34px;}
#foot,#foot a{color:#fff;}
#foot{background-position:0 -306px;position:relative;}
#footmenu{height:35px;line-height:28px;width:950px;padding-left:8px;border-top:3px solid #fff;margin:0 11px;background-position:0 -382px;background-repeat:repeat-x;font-weight:bold;}
#copy{background-position:100% -344px;position:absolute;right:0;top:0;text-align:right;padding-right:19px;}
