/* ... общие настройки, лучше не менять ... */
body {
    margin: 5px;
}

body, html {
    height: 100%;
}

/* ... настройки таблиц ... */
table.all, input.all, textarea.all {
    width: 100%;
}

table.all, tr.all {
    height: 100%;
}

td {
    vertical-align: top;
}

/* ----------------------------------------- */
/* ... ссылки ... */
a.current, a.current:hover {
    cursor: default;
}

/* ----------------------------------------- */
/* ... формы ... */
form {
    margin: 10px 0;
    padding: 0;
}

input {
    margin: 0;
}

iframe, input, textarea {
    border: solid 1px;
}

input.file {
    border: none;
    _border: 1px solid;
}

input, textarea {
    padding-left: 3px;
    padding-right: 3px;
}

input.radio {
    border: none;
    background: none;
}

/* ----------------------------------------- */
/* ... таблицы в ричэдите и названия полей ... */
table.reTable td, td.label {
    padding: 2px 5px 2px 0;
    vertical-align: top;
}

table.reCellBordered td {
    padding: 5px;
    vertical-align: top;
}

img.reImageLeft {
    margin-right: 10px;
}

img.reImageRight {
    margin-left: 10px;
}

table.reCellBordered img.reImageLeft, table.reCellBordered img.reImageRight {
    margin: 0;
}

table.reTable P, table.reTable h2, table.reTable h3, table.reTable h4, table.reTable h5, table.reTable h6 {
    margin: 5px 0 !important;
    padding: 0 !important;
}

td.label {
    white-space: nowrap;
}

/* ----------------------------------------- */
/* ... горизонтальный разделитель ... */
hr {
    clear: both;
    margin: 0 0 10px 0;
    height: 1px;
    width: 100%;
    border: 0px solid;
    _background: none;
    _border: none;
}

/* ----------------------------------------- */
/* ... строка навигации ... */
/* ----------------------------------------- */
/* ... вывод сообщений ... */
P.alert {
    padding: 5px 0 5px 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* ----------------------------------------- */
/* ... блок навигации по страницам ... */
p.pages {
    padding-top: 5px;
    margin-top: 20px;
    border-top: solid 1px;
    border-top: solid 1px;
}

p.pages a {
    padding-left: 3px;
    padding-right: 2px;
}

/* ----------------------------------------- */
/* ... списки ... */
/*ul{margin:10px 0;padding:0;}
ul ul{
    margin-left:25px;
    _margin-left:5px;
}
ol{margin-top:0;margin-bottom:15px;}
    ul li, ol li{margin:4px 0px 5px 0;padding:0px;}
    ul li{list-style:none;padding-left:20px;background:url(../../img/design/bullet.1.gif) no-repeat 0 4px;}
        ul li p, ol li p{padding:0;margin:0;}
            ul ul li{background-image:url(../../img/design/bullet.2.gif);}
            ul ul ul li{background-image:url(../../img/design/bullet.3.gif);}*/
/* ----------------------------------------- */
/* ... пнг ... */
img.png {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}

div.png {
    display: inline;
    filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.firstChild.src+"')");
    width: expression(this.firstChild.width);
    height: expression(this.firstChild.height);
}

/* ----------------------------------------- */
/* ... текстовый блок ... */
div.text {
    margin: 0 0 20px 0;
    padding: 0;
	font-size: 14pt;
}

div.all {
    margin: 0 0 0 0;
    padding: 0;
    border: 1px solid red;
}

/* ----------------------------------------- */
/* ... распорочка ... */
div.blank {
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
}

/* ----------------------------------------- */
/* ... картинки с нижним выравниванием ... */
img.bottom {
    vertical-align: text-bottom !important;
}

/* ----------------------------------------- */
/*=================== НАСТРОЙКИ САЙТА ============================*/
body {
    background: #FFFFFF;
    color: #000000;

}

body.page {
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    color: #000000;

}

p, h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0px 0px 15px 0px;
}

body, td, th, input, select, textarea, h1, h2, h3, h4, h5, h6 {
    font-family: Arial, Tahoma, Verdana, sans-serif;
}

body, td {
    font-size: 16px;

	
}

/* ... ссылки ... */
a {
    color: #7D7D7D;
    text-decoration: underline;
}

a:hover, a.current, a.current:hover {
    color: #087398;
    text-decoration: underline;
}

/* ----------------------------------------- */
/* ... мелкий шрифт ... */
.small, .small td, small {
    font-size: 14px;
    font-weight: normal;
}

p.small {
    margin: 3px 5px;
	font-size: 13px;
}

/* ----------------------------------------- */
/* ... формы ... */
iframe, textarea, input {
    border-color: #808080;
}

textarea, input, select {
    color: #000000;
    background: #FFFFFF;
    font-size: 11px;
}

input.submit {
    font-weight: bold;
    color: #ffffff;
    background: #0f78e4;
    font-size: 10px;
    height: 18px;
    letter-spacing: 1px;
    border: none;
    padding-left: 10px;
    padding-right: 10px;
    _padding-left: 2px;
    _padding-right: 1px;
    margin: 0 0 0px 0px !important;
}

.grey {
    color: #808080 !important;
}

/* ... обязательное поле + ошибка заполнения ... */
.require {
    color: #920000 !important;
}

.errorfield {
    border: 1px solid #920000 !important;
}

.nowrap {
    white-space: nowrap;
}

/* ----------------------------------------- */
/* ... таблицы в ричэдите ... */
table.reTable, table.reTable td {
    border-color: #087398;
}

/* ----------------------------------------- */
/* ... названия полей ... */
.label, table.reTable .label {
    color: #808080;
    font-size: 11px;
}

td.label, table.reTable td.label {
    /*vertical-align:middle !important;	*/
}

div.add_fields {
    margin-bottom: 15px;
}

p.add_field {
    margin-bottom: 3px;
}

div.division {
    margin-bottom: 0px !important;
    color: #656565;
}

div.division p {
    color: #656565;
    font-size: 11px;
    margin-bottom: 5px;
}

/* ----------------------------------------- */
/* ... раскраска таблиц ... */
tr.color_0 td {
    background: #fff; /*border-width:0;*/
}

tr.color_1 td { /*border-width:0;*/
}

tr.color_2 td {
    background: #fff9de;

}

/* ----------------------------------------- */
/* ... горизонтальный разделитель ... */
hr {
    background-color: #D1D1D1;
    border-color: #D1D1D1;
    _background: none;
    _border: none;
    _color: #D1D1D1;
}

/* ----------------------------------------- */
/* ... строка навигации ... */
p.navigation {
    font-size: 10px;
    color: #808080;
    line-height: 25px;
}

p.navigation a {
    text-decoration: underline;
}

p.navigation a:hover {
    text-decoration: underline;
}

/* ----------------------------------------- */
/* ... вывод сообщений ... */
P.alert {
    background: #920000;
    color: #FFFFFF;
    border: none;
}

/* ----------------------------------------- */
/* ... блок навигации по страницам ... */
p.pages {
    clear: both;
    font-size: 10px;
    line-height: 13px;
    border-color: #D1D1D1;
    color: #7D7D7D;
}

p.pages a.number, p.pages a.numbercurrent {
    text-decoration: none;
    padding: 0 6px;
}

p.pages a.number:hover, p.pages a.numbercurrent:hover {
    text-decoration: none;
}

p.pages a.numbercurrent, p.pages a.numbercurrent:hover {
    font-weight: bold !important;
    color: #ffffff;
    background: #950000;
}

/* ----------------------------------------- */
/* ... 6 уровней заголовков ... */
h1 {
    font-size: 13pt;
    font-weight: bold;
    color: #087398;
    margin: 0 0px 15px 0px;
    line-height: 19px;
    padding-bottom: 3px;
    border-bottom: 2px solid #087398;
}

h2 {
    padding: 0 5px;
    font-size: 12pt;
    font-weight: bold;
    color: #087398;
    /*margin:20px 0;*/

}

h3 {
    font-size: 12pt;
    font-weight: normal;
    color: #b88445;
    margin: 0 0px 10px 0px;
}

h4 {
    font-size: 11pt;
    font-weight: normal;
    color: #087398;
    margin: 0 0px 2px 0px;
}

h4 a {
    color: #950000;
}

h4 a:hover {
    color: #656565;
}

h5 {
    font-size: 11px;
    font-weight: normal;
    color: #b88445;
    margin: 0px 10px 0 0px;
}

h5.news {
    margin-bottom: 0;
}

h6 {
    font-size: 11px;
    font-weight: bold;
    color: #b88445;
    margin: 10px 0px 10px 0px;
    text-transform: uppercase;
}

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

table.page { /*width:100%;*/
    min-width: 990px;
    width: expression(document.body.clientWidth < 990? "990px": "100%" );
}

/* ====================================== */

/* ====================================== */
/* bottomRow */

/* ====================================== */
/* ... Контакты и прочие формы ... */
table.form {
    width: 400px;
}

table.form .text_field {
    width: 100%;
}

table.form .select_field {
    width: 300px;
}

table.form .file_field {
    width: 300px;
}

/* ====================================== */

div.note {
    font-size: 10px;
    margin: 5px 0 5px 10px;
    color: #aaaaaa;
}

/* ====================================== */
/* ... фотогалерея ... */
div.photo {
    float: left;
    margin: 0 10px 10px 0;
}

div.photo p {
    text-align: center;
}

/* ====================================== */

body.page {
    text-align: center;
}

div#maindiv {
    text-align: left;
    width: 921px;
    margin: 30px auto;
    min-height: 80%;
    /* height: 80%; */
}

.left {
    float: left;
    width: 314px;

}

.right {
    float: left;
    width: 608px;

}

div.header {
    height: 205px;
    background: url(../../img/design/header.gif) repeat-x top;
    position: relative;
}

a#on_main_link {
    position: absolute;
    left: 18px;
    top: 53px;
}

div.menu {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0px;
    right: 0;
    display: block;
    height: 205px;
    width: 608px;
    background: url(../../img/design/menu_bg.jpg) no-repeat 0 15px;
}

ul.menu {
    display: block;
    border: 3px solid #fff;
    border-right: none;
    background-color: #b88445;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 85px;
    right: 0;
    display: block;
    list-style: none;
    padding-right: 10px;
}

ul.menu li {
    float: left;
    height: 30px;
}

ul.menu li a, ul.menu li a:hover {
    float: left;
    line-height: 30px;
    margin: 0 8px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    line-height: 30px;
}

ul.menu li a:hover {
    color: #014d67;
}

div.footer {
    margin: 0 30px;
    height: 78px;
    background: url(../../img/design/footer.gif) repeat-x top;
}

div.catalog {
    width: 314px;
    float: left;
    margin-left: -317px;
}

div.content {
    padding-left: 317px;

}

ul.catalog {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 280px;
}

ul.catalog li {
    border-bottom: 2px solid #087398;
    padding: 5px 0;
    padding-left: 38px;
}

ul.catalog li a {
    display: block;
    text-decoration: none;
    font-size: 12px;
    color: #000;
    padding-left: 20px;
    background: url(../../img/design/arrow.gif) no-repeat 0 4px;
    font-weight: bold;
}

ul.catalog li a:hover, ul.catalog li a.active {
    color: #087398;
    text-decoration: none;
}

ul.catalog li ul.catalog {
    width: 240px;

}

ul.catalog li ul.catalog li {
    border: none;
    padding-left: 20px;
}

#thisform {

    width: 600px !important;
}

a#copy {
    padding-top: 40px;
    float: right;
    display: block;
    color: #b88445;
    margin-right: 30px;
    text-decoration: none;
}

a#copy img {
    position: relative;
    top: 2px;
}

/* ----------------------------------------- */
/* ... баннер слева от католога ... */

.banner {
    margin-top: 17px;
}


table.table_bordered {
    table-layout: auto !important;
    font-size: 14px !important;
    width: 100% !important;
}