@charset "UTF-8";
/* Картинка справа */
.img_right {
  float: right;
  margin: 5px 0 5px 15px;
}

/* Картинка слева с обтеканием */
.img_left {
  float: left;
  margin: 5px 15px 5px 0;
}

/* Картинка без обтекания */
.img_no {
  display: block;
  float: none !important;
  margin: 10px 0;
}

/* Вывод картинки без границ */
.img_no_border {
  display: block;
  padding: 0 !important;
  border: 0 !important;
}

/* Картинка на всю ширину */
.img_wide {
  display: block;
  float: none !important;
  max-width: 100%;
  margin: 10px 0;
}

/* Ссылки с прикреплением (в редакторе надо создать только один стиль с классом a_attached. При наличие прикрепленного файла его тип определится автоматически и подставится соответствующая иконка. Если прикоепления нет или его тип не попадает под описанные, то ссылка будет обычной. При необходимости можно добавить другие иконки для других типов фалов или что-то заменить в данном наборе. Делается это путем добавления картинок размера 19*25 и внесения соответствующих изменений в данный стилевой файл. В редакторе никаких изменений не будет) */
.a_attached[href$="doc"],
.a_attached[href$="docx"],
.a_attached[href$="rtf"],
.a_attached[href$="zip"],
.a_attached[href$="rar"],
.a_attached[href$="pdf"],
.a_attached[href$="jpg"],
.a_attached[href$="jpeg"],
.a_attached[href$="pjpeg"],
.a_attached[href$="gif"],
.a_attached[href$="png"],
.a_attached[href$="xls"],
.a_attached[href$="xlsx"],
.a_attached[href$="txt"] {
  display: inline-block;
  min-height: 32px;
  padding-left: 28px;
  margin-top: 5px;
  background-image: url("/desimages/file.png");
  background-repeat: no-repeat;
  background-position: left top;
}

.a_attached[href$="doc"],
.a_attached[href$="rtf"],
.a_attached[href$="docx"] {
  background-image: url("/desimages/doc.png");
}

.a_attached[href$="txt"] {
  background-image: url("/desimages/txt.png");
}

.a_attached[href$="zip"],
.a_attached[href$="rar"] {
  background-image: url("/desimages/zip.png");
}

.a_attached[href$="pdf"] {
  background-image: url("/desimages/pdf.png");
}

.a_attached[href$="jpeg"],
.a_attached[href$="jpg"],
.a_attached[href$="pjpeg"],
.a_attached[href$="gif"],
.a_attached[href$="png"] {
  background-image: url("/desimages/gif.png");
}

.a_attached[href$="xls"],
.a_attached[href$="xlsx"] {
  background-image: url("/desimages/xsl.png");
}

.a_attached[href$="doc"],
.a_attached[href$="docx"],
.a_attached[href$="rtf"],
.a_attached[href$="zip"],
.a_attached[href$="rar"],
.a_attached[href$="pdf"],
.a_attached[href$="jpg"],
.a_attached[href$="jpeg"],
.a_attached[href$="pjpeg"],
.a_attached[href$="gif"],
.a_attached[href$="png"],
.a_attached[href$="xls"],
.a_attached[href$="xlsx"],
.a_attached a[href$="txt"],
.a_attached a[href$="doc"],
.a_attached a[href$="docx"],
.a_attached a[href$="rtf"],
.a_attached a[href$="zip"],
.a_attached a[href$="rar"],
.a_attached a[href$="pdf"],
.a_attached a[href$="jpg"],
.a_attached a[href$="jpeg"],
.a_attached a[href$="pjpeg"],
.a_attached a[href$="gif"],
.a_attached a[href$="png"],
.a_attached a[href$="xls"],
.a_attached a[href$="xlsx"],
.a_attached a[href$="txt"] {
  display: inline-block;
  padding-left: 0;
}

.a_attached[href$="doc"]:before,
.a_attached[href$="docx"]:before,
.a_attached[href$="rtf"]:before,
.a_attached[href$="zip"]:before,
.a_attached[href$="rar"]:before,
.a_attached[href$="pdf"]:before,
.a_attached[href$="jpg"]:before,
.a_attached[href$="jpeg"]:before,
.a_attached[href$="pjpeg"]:before,
.a_attached[href$="gif"]:before,
.a_attached[href$="png"]:before,
.a_attached[href$="xls"]:before,
.a_attached[href$="xlsx"]:before,
.a_attached a[href$="txt"]:before,
.a_attached a[href$="doc"]:before,
.a_attached a[href$="docx"]:before,
.a_attached a[href$="rtf"]:before,
.a_attached a[href$="zip"]:before,
.a_attached a[href$="rar"]:before,
.a_attached a[href$="pdf"]:before,
.a_attached a[href$="jpg"]:before,
.a_attached a[href$="jpeg"]:before,
.a_attached a[href$="pjpeg"]:before,
.a_attached a[href$="gif"]:before,
.a_attached a[href$="png"]:before,
.a_attached a[href$="xls"]:before,
.a_attached a[href$="xlsx"]:before,
.a_attached a[href$="txt"]:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  padding-right: 50px;
  background-repeat: no-repeat;
  height: 48px;
  width: 36px;
  background-image: url("/desimages/attached.png");
}

.a_attached[href$="doc"]:before, .a_attached a[href$="doc"]:before {
  background-position: -420px 0px;
}

.a_attached[href$="docx"]:before, .a_attached a[href$="docx"]:before {
  background-position: -60px 0px;
}

.a_attached[href$="xlsx"]:before, .a_attached a[href$="xlsx"]:before {
  background-position: -120px 0px;
}

.a_attached[href$="zip"]:before, .a_attached a[href$="zip"]:before {
  background-position: -180px 0px;
}

.a_attached[href$="rar"]:before, .a_attached a[href$="rar"]:before {
  background-position: -540px 0px;
}

.a_attached[href$="pdf"]:before, .a_attached a[href$="pdf"]:before {
  background-position: -240px 0px;
}

.a_attached[href$="jpg"]:before, .a_attached a[href$="jpg"]:before {
  background-position: -300px 0px;
}

.a_attached[href$="gif"]:before, .a_attached a[href$="gif"]:before {
  background-position: -600px 0px;
}

.a_attached[href$="png"]:before, .a_attached a[href$="png"]:before {
  background-position: -360px 0px;
}

.a_attached[href$="xls"]:before, .a_attached a[href$="xls"]:before {
  background-position: -480px 0px;
}

.a_attached[href$="txt"]:before, .a_attached a[href$="txt"]:before {
  background-position: 0px 0px;
}

/* Выделенный абзац */
.selected {
  padding: 12px 10px 10px 30px;
  margin: 30px 0 20px;
  font-style: italic;
  font-weight: bold;
  background-color: #e1f1fb;
  border-left: 9px solid #28536f;
}

/* Широкая таблица */
.table_big {
  font-size: 16px;
  font-size: 1rem;
}

.table_big td,
.table_big th {
  padding-left: 8px 5px;
}

/* Очень широкая таблица */
.table_very_big {
  font-size: 14px;
  font-size: .875rem;
}

.table_very_big td,
.table_very_big th {
  padding: 6px 2px;
}

/* Картинки в строку */
.img_line_center,
.img_line_top,
.img_line_baseline {
  display: -weblit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.img_line_center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.img_line_top {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.img_line_baseline {
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

.img_line_center img,
.img_line_top img,
.img_line_baseline img {
  margin: 10px;
}
