body {
        margin: 0;
        padding: 0;
        background: #fff;
        font-family: Arial, sans-serif;
        font-size: 0.8em;
        }

img {
        border: 0;
        }

hr {
        display: none;
        }

/*-------------------------*/



#header {
        width: 100%;
        height: 142px;
        background: #495678 url(img/header.jpg) no-repeat;
        }

#main .bnr {
        display: block;
        margin: 20px 0 20px 10px;
        width: 200px;
        height: auto;
        float: right;
        /*background: #000033;*/
        font-size: x-small;
        }

.centerbnr {
        display: table;
        margin: auto;
        text-align: center;
        }

/*Главное меню сайта
=======================================*/
#menu {
        height: auto;
        background: #000033;
        }

#health #menu { background: #85C226; }
#beauty #menu { background: #901D78; }
#consultation #menu { background: #DA251C; }
#contacts #menu { background: #E77843; }

#menu ul {
        margin: 0;
        padding: 0;
        width: 100%;
        }

#menu ul li {
        margin: 0;
        padding: 0;
        display: inline;
        width: 19.92%;
        float: left;
        }

#menu ul li a {
        display: block;
        width: 100%;
        height: 2em;
        color: #fff;
        font-family: Arial, sans-serif;
        font-weight: bold;
        line-height: 2em;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        }

a#menuhome { background: #495678; }
a#menuhealth { background: #85C226;}
a#menubeauty { background: #901D78;}
a#menuconsultation { background: #DA251C;}
a#menucontacts { background: #E77843; }

#menu ul li a:hover {
        color: #495678;
        background: #EFEFEF;
        }

#menu #title {
        color: #fff;
        font: 700 1.2em Arial, sans-serif;
        line-height: 3em;
        text-align: center;
        text-transform: uppercase;
        }

#date {
        padding: 0.5em 1em;
        font-family: Arial, sans-serif;
        font-size: smaller;
        font-weight: bold;
         clear: left;
        }

/*-------------------------*/
/*-------------------------*/

#content {
        margin: 0;
        padding: 1em;
        }

#newsblock {
        /*margin-right: 2em;*/
        padding-right: 1em;
        width: 18%;
        border-right: 1px #495678 dashed;
        float: left;
        }

#maintext {
        padding-left: 23%;
        }

.block {
        height: auto !important;
        height: 80px;
        min-height: 80px;
        }

div.separator {
        background: #495678;
        height: 3px;
        clear: right;
        }

.block img {
        margin: 0 3px 3px 0;
        width: 80px;
        height: 80px;
        float: left;
        }

h1 {
        padding-left: 23px;
        background: url(img/h1_bg.gif) left no-repeat;
        font-size: 1.5em;
        }

h1:first-child {
        margin-top: 0;
        }

h4 {
        padding: 0.5em;
        width: 10em;
        background: /*#29166F*/ url(img/h4_bg.jpg) left bottom no-repeat;
        color: #29166F;
        font-family: Arial, sans-serif;
        text-align: center;
        text-transform: uppercase;
        }

h4:first-child {
        margin-top: 0;
        }

h5 {
        margin-top: 1em;
        margin-bottom: 0;
        padding: 0;
        /*color: #E02418;*/
        font-size: small;
        }

h2 {
        margin-bottom: 0.4em;
        font-size: 1.2em;
        }

#content p {
        margin-top: 0.5em;
        margin-bottom: 1em;
        text-align: justify;
        }
#content p.comm {
        margin-top: -0.5em;
        font-size: smaller;
        text-align: justify;
        }
#content p.error {
        color: red;
        font-weight: bold;
        text-align: center;
        }

#content p.result {
        font-weight: bold;
        text-align: center;
        }

#content p.synopsis {
        min-height: 90px;
        }

#content a {
        color: #333;
        text-decoration: none;
        }

#content a.outgoing, #content a[href^="http://"] {
      background: url(img/outgoinglink.gif) no-repeat center right;
      padding-right: 12px;
      margin-right: 2px;
}

#content a:hover {
        color: #ff0000;
        }

#content ul {
        margin: 0;
        padding: 1.2em;
        }

#content ul li {
        margin-bottom: 0.3em;
        list-style: square;
        }

#content .imgblock {
        display: table;
        margin: auto;
        }

#content p img {
        /*display: table;*/
        margin: 0 5px 5px 0;
        float: left;
        }

form {
        display: table;
        margin: auto;
        width: 50%;
        }

fieldset {
        padding: 1em;
        border: 1px #495678 solid;
        }

form label, form legend {
        font-size: smaller;
        }

form input, form textarea {
        width: 100%;
        border: 1px #495678 solid;
        }

form textarea {
        height: 8em;
        }

form input#submit {
        color: #fff;
        font-weight: bold;
        background: #495678;
        border: 0;
        }

/*-------------------------*/

#footer {
        margin-top: 5em;
        padding: 1em 2em 2em 1em;
        height: 4em;
        border-top: 1px #495678 solid;
        background: #fff;
        clear: both;
        }

#footer p {
        color: #495678;
        font-size: x-small;
        font-family: Arial, sans-serif;
        text-align: right;
        }

#footer a {
        color: #495678;
        }

#footer p a:hover {
        color: #000;
        }
