﻿html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, /* удалены table, td и th. Так надо. ) */
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; 
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: Calibri, sans-serif; color: #222; }

/* Для body прописать размер, шрифт и межстрочное расстояние через  font-size: 12px; line-height:1.3; font-family: ... . Не использовать font: 12px/1.3 Arial ... */
body                  { color:#000000; font-size: 12px; line-height:1.4; font-family: Calibri, Arial, "Helvetica Neue", Helvetica, "Nimbus Sans L", sans-serif; border:0; background: #ffffff;}
table td, table th  { color:#000000; font-size: 12px; line-height:1.4; font-family: Calibri, Arial, "Helvetica Neue", Helvetica, "Nimbus Sans L", sans-serif; border: inherit solid #a4a4a4; }

nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }



/* НЕСТАНДАРТНЫЕ ШРИФТЫ */
/* @font-face прописывать в  client.content.css */
@font-face {
    font-family: 'Droid Serif';
    src: url('../fonts/droid_serif_italic-webfont.eot');
    src: url('../fonts/droid_serif_italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/droid_serif_italic-webfont.woff2') format('woff2'),
         url('../fonts/droid_serif_italic-webfont.woff') format('woff'),
         url('../fonts/droid_serif_italic-webfont.ttf') format('truetype'),
         url('../fonts/droid_serif_italic-webfont.svg#droid_serifitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}
/* НЕСТАНДАРТНЫЕ ШРИФТЫ */

/* ЗАГОЛОВКИ */
/* .p_h1, .p_h2, .p_h3, .p_h4, .p_h5, .p_h6 - аналоги h1, h2, h3, h4 , h5, h6. Нужны для наших оптимизаторов сайта.*/
h1, .p_h1 {margin:0 0 12px; padding:0px; color:#7b7562; font-style: italic; font-weight: bold; font-size:30px; line-height:1.2; font-family: Calibri, Georgia, "Century Schoolbook L", Serif;}
h2, .p_h2 {margin:0 0 10px; padding:0px; color:#7b7562; font-style: italic; font-weight: bold; font-size:20px; line-height:1.2; font-family: Calibri, Georgia, "Century Schoolbook L", Serif;}
h3, .p_h3 {margin:0 0 10px; padding:0px; color:#7b7562; font-style: italic; font-weight: bold; font-size:19px; line-height:1.2; font-family: Calibri, Georgia, "Century Schoolbook L", Serif;}
h4, .p_h4 {margin:0 0 6px;  padding:0px; color:#7b7562; font-style: italic; font-weight: bold; font-size:16px; line-height:1.2; font-family: Calibri, Georgia, "Century Schoolbook L", Serif;}
h5, .p_h5 {margin:0 0 6px;  padding:0px; color:#7b7562; font-style: italic; font-weight: bold; font-size:14px; line-height:1.2; font-family: Calibri, Georgia, "Century Schoolbook L", Serif;}
h6, .p_h6 {margin:0 0 6px;  padding:0px; color:#7b7562; font-style: italic; font-weight: bold; font-size:13px; line-height:1.2; font-family: Calibri, Georgia, "Century Schoolbook L", Serif;}
h1 a, .p_h1 a, h2 a, .p_h2 a, h3 a, .p_h3 a, h4 a, .p_h4 a, h5 a, .p_h5 a, h6 a, .p_h6 a {text-decoration:none;}
/* ЗАГОЛОВКИ */

/* КАРТИНКИ И ГРАФИКА */
img { width: auto; max-width: 100%; height: auto; border:0; color: #5f757e; border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
a img { vertical-align: top; border:0; color: #5f757e;}
a:hover img { opacity: 0.7;}
@media \0screen { img { width: auto; } }  /* для ie 8 */
img.img_left  {  float: left; margin-right: 35px; }
img.img_right  {  float: right; margin-left: 35px; }

svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
/* КАРТИНКИ И ГРАФИКА */

/* ССЫЛКИ */
a { color:#5f757e; text-decoration: underline; outline: none; }
a:hover {text-decoration: none; color: #88a5b1;}
/* ССЫЛКИ */

/* АБЗАЦ, СПИСКИ И РАЗДЕЛИТЕЛЬ */
p { margin: 0 0 13px 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; /*border-bottom:1px solid #bdb7a4;*/}

ul, ol { padding: 0; margin: 0 0 10px 25px; }
ul ul, ul ol, ol ol, ol ul { margin-bottom: 0; }
/* АБЗАЦ, СПИСКИ И РАЗДЕЛИТЕЛЬ */

/* ОСТАЛЬНЫЕ ТИПОГРАФИЧЕСКИЕ МЕЛОЧИ */
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; background:url(../images/blockquote.png) 0px 0px no-repeat; padding-left:40px; font-style:italic; line-height:1.8;}
dfn { font-style: italic; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: Calibri, monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; border:1px solid #ddd; padding:7px 15px; background:#fff; overflow:auto; word-wrap: break-word; line-height:14px; margin-bottom:15px;}
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
dd { margin: 0 0 0 40px; }
/* ОСТАЛЬНЫЕ ТИПОГРАФИЧЕСКИЕ МЕЛОЧИ */


/*ФОРМА*/
/* Отредактировать в соответствии с техдизайном */
/* Если в техдизайне не отрисованы элементы форм, раздел ФОРМА можно удалить*/
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
/*ФОРМА*/



/* ТАБЛИЧКИ */
table { border-collapse:collapse; border-color: #936d5b;}
table td p, table th p { margin: 5px 0; padding: 0;}

.table-responsive { width: 100%; overflow-y: auto; }

table.table_bordered { border: 1px solid #936d5b;} 
table.table_bordered tr th, table.table_bordered tr td { border: 1px solid #936d5b;}
table.table_bordered tr th {background: #936d5b; color: #fff;}
table.table_bordered tr:nth-of-type(even) td {}
table.table_bordered tr:nth-of-type(odd)  td {background: #e2ddcb;}
table.table_bordered tr th p, table.table_bordered tr td p { padding: 0px; margin: 0px; }
/* ТАБЛИЧКИ */

/* Для tiny_mce */
/* mce_h1 - аналог h1. В него скопировать стили от h1 и т д по аналогии. */
/* !important придется оставить (( */
#menu_ntext_ntext_styleselect_menu { height: 265px !important;}
#menu_ntext_ntext_styleselect_menu_co { height: 100% !important; width: 100% !important; background: #fff;}
#menu_ntext_ntext_styleselect_menu_tbl { height: 265px !important;}

#menu_ntext_ntext_formatselect_menu_co { width: 180px !important; height: 265px !important; background: #fff;}
#menu_ntext_ntext_formatselect_menu_tbl { height: 100% !important; width: 100% !important;}

#menu_ntext_ntext_fontsizeselect_menu_co { height: 280px !important; background: #fff;}
#menu_ntext_ntext_fontsizeselect_menu_tbl { height: 100% !important; width: 100% !important;}

#menu_text_text_fontsizeselect_menu_tbl a {line-height: 1; padding: 1px 0 !important;}

.defaultSkin .mce_p span.mceText                       { font-size:12px !important; color:#2b2a29; line-height:1.3; font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif; background: }
.defaultSkin .mce_address span.mceText            { font-size:12px !important; color:#5f757e; line-height:1.3; font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif; font-style: normal !important; text-decoration: underline; }
.defaultSkin .mce_address span.mceText:hover {text-decoration: none; color: #88a5b1;}
.defaultSkin .mce_h1 span.mceText                     { font-size:30px !important; color:#7b7562; font-weight:bold !important; font-style: italic; font-family: 'Droid Serif', Georgia, "Century Schoolbook L", Serif;}
.defaultSkin .mce_h2 span.mceText                     { font-size:20px !important; color:#7b7562; font-weight:bold !important; font-style: italic; font-family: 'Droid Serif', Georgia, "Century Schoolbook L", Serif;}
.defaultSkin .mce_h3 span.mceText                     { font-size:19px !important; color:#7b7562; font-weight:bold !important; font-style: italic; font-family: 'Droid Serif', Georgia, "Century Schoolbook L", Serif;}
.defaultSkin .mce_h4 span.mceText                     { font-size:16px !important; color:#7b7562; font-weight:bold !important; font-style: italic; font-family: 'Droid Serif', Georgia, "Century Schoolbook L", Serif;}
.defaultSkin .mce_h5 span.mceText                     { font-size:14px !important; color:#7b7562; font-weight:bold !important; font-style: italic; font-family: 'Droid Serif', Georgia, "Century Schoolbook L", Serif;}
.defaultSkin .mce_h6 span.mceText                     { font-size:13px !important; color:#7b7562; font-weight:bold !important; font-style: italic; font-family: 'Droid Serif', Georgia, "Century Schoolbook L", Serif;}