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, linear-gradient(to bottom, #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;}
.contactform,.contactform .legend,.contactform .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:53px;}
#logo,#tag{margin:0;padding:0;position:absolute;}
#logo{top:31px;left:13px;z-index:1;}
#tag{width:657px;height:32px;top:0;right:75px;background-position:-22px 0;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;}
#body h2,#body h3{color:#c33;font-weight:bold;}
#body h2{font-size:1.4em;}
#body h3{font-size:1.2em;}

#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;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{float:left;margin-right:5px;color:#f33;text-decoration:underline;}
.works a.title{text-decoration:none;font-weight:bold;}
.works img{width:79px;height:112px;border:1px solid #999;}

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,fieldset.stdform .stdrow .checkbox,fieldset.stdform .stdrow .group{float:left;margin:0;}
fieldset.stdform .stdrow label,fieldset.stdform .stdrow .checkbox{width:28%;margin-right:2%;text-align:right;font-size:1.2em;position:relative;line-height:28px;}
fieldset.stdform .stdrow label{color:#c33;font-weight:bold;}
fieldset.stdform .stdrow input,fieldset.stdform .stdrow textarea,fieldset.stdform .stdrow select,fieldset.stdform .stdrow .group{width:66%;}
fieldset.stdform label .hint,fieldset.stdform .stdrow .group .hint{color:#666;font-weight:normal;}
fieldset.stdform label .hint{font-size:0.77em;position:absolute;top:100%;right:0;line-height:1.2;}
fieldset.stdform .stdrow .group .hint{margin-top:0.25em;}
fieldset.stdform .stdrow input.small{width:10%;}
fieldset.stdform .stdrow .checkbox input,fieldset.stdform .stdrow .group input{width:auto;float:none;}
fieldset.stdform .stdrow .checkbox+label{width:66%;text-align:left;margin-right:0;}
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 select{height:26px;}
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;border-radius:8px;text-align:center;width:auto;color:#fff;text-decoration:none;background:#eb666c;background:linear-gradient(to bottom, #eb666c, #d65156);font-size:1.1em;text-shadow:0 1px 0 #fff;cursor:default;font-weight:bold;}
fieldset.styledform button:active{background:#d65156;background:linear-gradient(to bottom, #d65156, #c13c41);}

.contactform{position:relative;left:-1px;border:0;margin:0 0 60px 0;padding:0;overflow:hidden;display:block;}
.contactform,.contactform .bottom{width:693px;}
.contactform{background-position:-693px 0;background-repeat:repeat-y;}
.contactform .bottom{background-position:-1386px 100%;min-height:416px;height:auto !important;height:416px;padding:0 15px 38px 81px;width:597px;margin-top:5px;}
.contactform .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;}
.contactform .legend span{margin:10px 0 8px 89px;display:block;}
.contactform .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;}
.contactform .submit:focus{color:#000;}
.contactform p,.contactform li{color:#600;font-style:italic;text-align:justify;line-height:1.2em;}
.contactform p{margin:7px;}
.contactform 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;}

#publish p,#publish ul{font-weight:bold;color:#600;font-size:1.2em;line-height:1.2;}
#publish ul ul{font-size:1em;}

#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;}
