.price #main {

        background: url(../images/mainbgprice.jpg) repeat-y center top;
}
.vacancy #main {

        background: url(../images/mainbgvacancy.jpg) repeat-y center top;
}
.about #main {

        background: url(../images/mainbgabout.jpg) repeat-y center top;
}
.news #main {

        background: url(../images/mainbgnews.jpg) repeat-y center top;
}

.services #main {
        background: url(../images/mainbgservices.jpg) repeat-y center top;
}

.contacts #main {
        background: url(../images/mainbgcontacts.jpg) repeat-y center top;
}

#mainin {
        background: url(none);
}

#mainin {
        width:1000px;
}

* html #mainin {
        width:999px;
}

#maintop {
        background: url(../images/innertop.jpg) no-repeat left top;
}
#mainbot {
        background: url(none);
        padding-bottom: 20px;
}
#head {
        height: 214px;
        overflow: hidden;
        position: relative;
}
.price #headin {
        background: url(../images/pricehead.jpg) no-repeat 507px bottom;
        height: 214px;
}
.vacancy #headin {
        background: url(../images/vacancyhead.jpg) no-repeat 556px bottom;
        height: 214px;
}
.about  #headin {
        background: url(../images/abouthead.jpg) no-repeat 474px bottom;
        height: 214px;
}
.news  #headin {
        background: url(../images/newshead.jpg) no-repeat 577px bottom;
        height: 214px;
}

.services  #headin {
        background: url(../images/serviceshead.jpg) no-repeat 279px bottom;
        height: 214px;
}
.contacts  #headin {
        background: url(../images/contactshead.jpg) no-repeat 554px bottom;
        height: 214px;
}


#logo {
        position: absolute;
        right: 0px;
        bottom: 0px;
        height: 214px;
        background: no-repeat right bottom;
}
#logo img {
        position: absolute;
        right: 0px;
        bottom: 0px;
        display: inline;
}
#dots {
        height: 21px;
        background: #868686;
        padding-right: 7px;
        padding-left: 7px;
}
#dotsin {
        height: 21px;
        background: url(../images/dots.jpg) repeat-x center center;
}

#content {
        padding-top: 0px;
        padding-left: 24px;
        color: #000000;
        padding-right: 1px;
}
* html #content {
        padding-right: 0px;
}
*:first-child+html #content{
        padding-right: 0px;
}



.price #content h1 {
        border-bottom: 1px solid #fff12c;
}
.vacancy #content h1 {
        border-bottom: 1px solid #93a245;
}
.about #content h1 {
        border-bottom: 1px solid #17b2ec;
}
.services #content h1 {
        border-bottom: 1px solid #ca0088;
}
.contacts #content h1 {
        border-bottom: 1px solid #868686;
}


#left {
        width: 779px;
        padding-top: 15px;
}
#left .images {
        text-align: justify;
        overflow: hidden;
}
#left .images ul {
        margin: 0px;
        padding: 0px;
        list-style: none inside;
}
#left .images ul li {
        width: 33%;
        display: block;
        float: left;
        text-align: left;
}

#left .images img {
        display: inline;
        border: 7px solid #FFFFFF;
}

#left  table {
        margin: 15px 0px;
        padding: 0px;
        border: 1px solid #000000;
        width: 100%;
        font-size: 1.4em;
}
#left table td, #left table th {
        border: 1px solid #000000;
        padding: 5px 13px;
        vertical-align: bottom;
}
.price #left table th, .price #left table tr.dopheader td {
        font-weight: bolder;
        background: #ecf3ab;
}

.vacancy #left table th, .vacancy #left table tr.dopheader td {
        font-weight: bolder;
        background: #b1c38f;
}

.price #left table tr.var td {
        background: #f1f3d6;
}

.vacancy #left table tr.var td {
        background: #ced4bc;
}
#sidemenu {
        padding-bottom: 25px;
}


#sidemenu   a, #sidemenu   a:visited, #sidemenu   a:focus {
        display: block;
        width: 174px;
        height: 25px;
        overflow: hidden;
        text-decoration: none;
}
#sidemenu   li   a   span {
        visibility: hidden;
}
#sidemenu ul li ul {
        padding-top: 10px;
        padding-bottom: 5px;
}
#sidemenu li ul li {
        padding-left: 5px;
        font-size: 1.5em;
        padding-bottom: 5px;
        font-weight:bolder;
}

#sidemenu  li  ul  li  a, #sidemenu li ul li a:visited, #sidemenu li ul li a:focus {
        background: url(none);
        color: #000000;
        margin: 0px;
        padding: 0px;
        display: inline;
        text-decoration: underline;
}
#sidemenu li ul li a:hover {
        text-decoration: none;
}


/*For different second-level items sidemenu*/

#sidemenu  li.about  ul  li {
        color: #03abea;
}

#sidemenu  li.about  ul  li  a, #sidemenu li.about ul li a:visited, #sidemenu li.about ul li a:focus {
        color: #03abea;
}

#sidemenu  li.about  ul  li.about2 {
        color: #74D1E8;
        font-size: 1em;
        padding-left: 10px;
}

#sidemenu  li.about  ul  li.about2  a, #sidemenu li.about ul li.about2 a:visited, #sidemenu li.about ul li.about2 a:focus {
        color: #74D1E8;
}

#sidemenu  li.services  ul  li {
        color: #cd108f;
}

#sidemenu  li.services  ul  li  a, #sidemenu li.services ul li a:visited, #sidemenu li.services ul li a:focus {
        color: #cd108f;
}
#sidemenu  li.services  ul  li.services2 {
        color: #D254A9;
        font-size: 1em;
        padding-left: 10px;
}

#sidemenu  li.services  ul  li.services2  a, #sidemenu li.services ul li.services2 a:visited, #sidemenu li.services ul li.services2 a:focus {
        color: #D254A9;
}

#sidemenu  li.price  ul  li.price2 {
        color: #4A443F;
        font-size: 1em;
        padding-left: 10px;
}

#sidemenu  li.price  ul  li.price2  a, #sidemenu li.price ul li.price2 a:visited, #sidemenu li.price ul li.price2 a:focus {
        color: #4A443F;
}


/*For different first-level items sidemenu*/
li.about a {
        background: url(../images/abouthoz.png) no-repeat center center;
}
.price li.price a {
        background: url(../images/priceact.png) no-repeat center center;
}
.vacancy li.vacancy a {
        background: url(../images/vacancyact.png) no-repeat center center;
}
.about li.about a {
        background: url(../images/aboutact.png) no-repeat center center;
}
.news li.news a {
        background: url(../images/newsact.png) no-repeat center center;
}
.services li.services a {
        background: url(../images/servicesact.png) no-repeat center center;
}
.contacts li.contacts a {
        background: url(../images/contactsact.png) no-repeat center center;
}

#content  p.dopinfo {
        margin: 0px;
        padding: 15px 0px 0px;
        font-weight: bolder;
}
#left a, #left a:visited, #left a:focus {
        font-weight: bolder;
        text-decoration: underline;
        color: #000000;
}
#left a:hover {
        text-decoration: none;
}
#left .anonce {
        padding-bottom: 45px;
}


.news #left a, .news #left a:visited, .news #left a:focus {
        font-weight: bolder;
        text-decoration: underline;
        color: #f99049;
}
.news #left a:hover {
        text-decoration: none;
}

.news #left a.more, .news #left a.more:visited, .news #left a.more:focus {
        display:block;
        font-size:1.4em;
        text-decoration: underline;
        color:#000000;
        font-weight: normal;
}
.news #left a.more:hover {
        text-decoration: none;
}


.contactinfo {
        padding-left: 60px;
        padding-top: 30px;
}
#content  h3 {
        font-weight: bolder;
        font-size: 1.6em;
        padding-bottom: 5px;
}
.contacts #content  h3 {
        padding-bottom: 5px;
        padding-top: 15px;
}
#left form {
        text-align: right;
        float: left;
        width: 100%;
}
#left form h3 {
        text-align: left;
        padding-bottom: 15px;
}
#left form dt {
        clear: both;
        display: block;
        float: left;
        width: 210px;
        padding-bottom: 15px;
}
#left form dd {
        padding-left: 15px;
        padding-bottom: 15px;
}
#left form input, #left form textarea {
        background: #FFFFFF;
        border: 1px solid #93a245;
        width: 550px;
}
#left form label {
        vertical-align: middle;
        font-size: 1.6em;
}
#left form .captcha dt {
        width: 420px;
        text-align: left;
        display: block;
}
#left  form .captcha dd {
        padding-top: 5px;
        background: url(../images/captchadot.png) no-repeat 420px 15px;
}
#left  form  .captcha img {
        display: inline;
        vertical-align: middle;
}
#left form .captcha input {
        width: 115px;
}
#left form .submitform input {
        background: #93a245;
        text-align: center;
        width: 115px;
        color: #FFFFFF;
        cursor: pointer;
}
#left ul {
        list-style: disc outside;
        font-size: 1.6em;
        padding-left: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
}
#left li {
        padding-bottom: 10px;
}
#left .message {
        text-align: center;
        font-weight: bolder;
        color: #f99049;
}
#left .message strong {
        color: #000000;
}
#left .message h4 {
        font-size: 2.2em;
        padding-bottom: 25px;
}



#right {
        float: right;
        width: 174px;
}
#footer {
        text-align: left;
        color: #000000;
        margin-right: auto;
        margin-left: auto;
        padding-left: 29px;
        width: 971px;
}
#footerin {
        width: 759px;
        padding-top: 25px;
}

.vacancy #footerin {
        border-top: 1px solid #FF0000;
}
.price #footerin {
        border-top: 1px solid #fff12c;
}
.about #footerin {
        border-top: 1px solid #17b2ec;
}

.news #footerin {
        border-top: 1px solid #fd7f2b;
}
.services #footerin {
        border-top: 1px solid #ca0088;
}
.contacts #footerin {
        border-top: 1px solid #868686;
}
