#tt {position:absolute; display:block; background:url(images/tt_left.gif) top left no-repeat}
#tttop {display:block; height:5px; margin-left:5px; background:url(images/tt_top.gif) top right no-repeat; overflow:hidden}
#ttcont {display:block; padding:2px 6px 2px 6px; margin-left:5px; background:#EEE; color:#555; font-size:10pt}
#ttbot {display:block; height:5px; margin-left:5px; background:url(images/tt_bottom.gif) top right no-repeat; overflow:hidden}

// Стили для виджета ЛитРес.
.art_main{
  background-color: #CCCCCC;
  border: 2px solid black;
}
.art_table{
  height: 100%;
  margin-bottom:2px;
}
.art_td_n{
  vertical-align: top;
  padding-left: 3px;
  width: 2em;
}
.art_td_text {
  vertical-align: top;
  padding: 0 3px;
}
.art_td_text {
  width: 170px;
}
a.art_n,a.art_n:visited{
  color: black;
  font-weight: bold;
  text-decoration: none;
}
a.art_t,a.art_t:visited{
  font-size: 100%;
  color: #0000FF;
  text-decoration: none;
}
a.art_t:hover{
  color: #00FF00;
  background-color: black;
}
a.art_a,a.art_a:visited{
  color: black;
  text-decoration: none;
  font-weight: bold;
}
a.art_a:hover {
  color: #00FF00;
}
.art_p,.art_p:visited{
  font-size: 9pt;
  text-decoration: none;
  color: red;
}
.art_p2,.art_p2:visited{
  font-size: 9pt;
  text-decoration: line-through;
  color: black;
}
.art_an {
  font-size: 9pt;
}

/**############# ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ ##############**/

/******************** СТРАНИЦЫ ***********************/

/* Типовые параметры всех html-страниц ***************/

html, body
{
  color: black;

  background-color: #CCFFFF;

  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 12pt;
  font-family: "Times New Roman", serif;

  text-indent: 0px;
  text-align: left;
  text-decoration: none;

  margin: 5px;
}


/* Cтраницы навигации (главная, ссылки и др.) ********/

body.main_pages
{
  text-align: center;
}


/********************* ССЫЛКИ ************************/

/* Параметры простых ссылок (непосещенных) ----------*/

a:link
{
  color: blue;
}


/* Параметры простых ссылок (уже посещенных) --------*/

a:visited
{
  color: purple;
}


/* Черные ссылки на даты ----------------------------*/

a.date, a.date:visited

{
  color: black;
  text-decoration: none;
}


/* Увеличенные ссылки на подводные лодки ------------*/

a.boats
{
  font-size: 16pt;
  font-weight: bold;
}


/* Увеличенные ссылки без подчеркивания -------------*/

a.large
{
  font-size: 16pt;
  font-weight: bold;
  text-decoration: none;
}


/* Красные ссылки на примечания ---------------------*/

a.prim, a.prim:visited
{
  color: red;
  text-decoration: none;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  vertical-align: top;
  font-size: 8pt;
}


/* Синие ссылки на источники ------------------------*/

a.ist, a.ist:visited
{
  color: blue;
  text-decoration: none;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  vertical-align: top;
  font-size: 8pt;
}



/********************* ТАБЛИЦЫ ***********************/


/* Прародитель всех таблиц --------------------------*/

table
{
  margin-left: auto;
  margin-right: auto;
}


/* Таблица-заголовок --------------------------------*/

table.header
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 0px auto 20px;
}

table.header td
{
  text-align: center;
  vertical-align: middle;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
}

table.header td.sign_nav, table.header td.nav, table.header td.date_nav, table.header table.noborder, table.header table.noborder td.noborder/* Навигация по сайту */
{
  border: 0px;
}

table.header td.nav span /* Текущая страница навигации */
{
  color: red;
  font-size: 14pt;
  font-weight: bold;
}

table.header td.sign_nav a /* Ссылки буквенной навигации */
{
  font-weight: bold;
}

table.header td.sign_nav span /* Текущая буква навигации */
{
  color: red;
  font-size: 24pt;
  font-weight: bold;
}

table.header h1 /* Заголовок страницы */
{
  font-size: 18pt;
  font-weight: bold;
  margin: 0px;
}

body.main table.header h1 /* Заголовок главной страницы */
{
  font-size: 24pt;
  font-weight: bold;
  color: red;
  margin: 0px;
}

body.main table.header h2 /* Заголовок главной страницы */
{
  font-size: 18pt;
  font-weight: bold;
  color: black;
  margin: 0px;
}

table.header strong /* Наименование текущей страницы в навигации */
{
  font-size: 12pt;
  font-weight: normal;
  margin: 0px;
  color: red;
}

table.header td.date_nav a /* навигация по датам */
{
  font-weight: bold;
  vertical-align: top;
}

table.header td.date_nav span /* Текущая дата навигации */
{
  color: red;
  font-size: 18pt;
  font-weight: bold;
  vertical-align: top;
}




/* Таблица главной страницы - справа реклама **/

table.main_page
{
  margin: 30px auto 20px;
  border: 0px;
}

table.main_page td, table.main_page th
{
  text-align: center;
  font-size: 12pt;
  font-weight: normal;
  vertical-align: top;
  border: 0px;
  padding: 5px;
}

table.main_page th
{
  text-align: left;
}


/* Таблица текстового меню навигации без обрамления **/

table.text_menu
{
  margin: 30px auto 30px;
  border: 0px;
}

table.text_menu td, table.text_menu th /* td - по центру, th - слева */
{
  text-align: center;
  font-size: 14pt;
  font-weight: bold;
  vertical-align: middle;
  border: 0px;
  padding: 5px;
}

table.text_menu th
{
  text-align: left;
}

/* Таблица-меню с картинками без обрамления ---------*/

table.menuart
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 30px auto 30px;
}

table.menuart td, table.menuart th
{
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
}

table.menuart th
{
  padding: 5px;
  text-align: justify;
}

table.menuart th a /* Увеличенные ссылки */
{
  font-size: 16pt;
  font-weight: bold;
}

table.menuart td img /* Картинки-ссылки */
{
  border: none;
}


/* Таблица без обрамления для ссылок TrustLink **/

table.trustlink
{
  margin: 10px auto 0px;
  border: 0px;
}

table.trustink td
{
  text-align: center;
  border: 0px;
  padding: 0px;
}


/* Таблица страницы со ссылками *************************/

table.links
{
  border: 0px;
  width: 80%;
}

table.links td
{
  text-align: justify;
  vertical-align: top;
  border: 0px;
  padding: 5px;
}


/* Таблица картинок и подписей без рамок ---------------*/

table.picture
{
  border: 0px;
}

table.picture td, table.picture th
{
  text-align: center;
  border: 0px;
  padding: 0px 15px 0px 5px;
  vertical-align: bottom;
}

table.picture td.top
{
  vertical-align: top;
  padding: 0px 0px 0px 0px;
}

table.picture th
{
  font-weight: bold;
  vertical-align: top;
  padding: 0px 15px 5px 5px;
}


/* Таблица верхнее меню ------------------------------*/

table.up_menu
{
  border: 0px;
  border-collapse: collapse;
  margin: 0px auto 0px;
}


/* Таблица нижнее меню ------------------------------*/

table.menu
{
  border: 0px;
  border-collapse: collapse;
  margin: 20px auto 10px;
}

table.menu td, table.up_menu td
{
  text-align: center;
  vertical-align: middle;
  padding: 5px;
  border: 0px;
  background-color: #0000FF;
  font-weight: bold;
}

table.menu td a, table.menu td a:visited, table.up_menu td a, table.up_menu td a:visited
{
  text-decoration: none;
  font-size: 10pt;
  background-color: #0000FF;
  font-weight: bold;
  color: white;
}

table.menu td a:hover, table.Up_menu td a:hover
{
  color: #FFA000;
}


/* Таблица без обрамления для отображения приказов ***/

table.quote_order
{
  margin: 5px 0px 5px;
  border: 0px;
}

table.quote_order td, table.quote_order th /* th - по центру, td - слева */
{
  text-align: center;
  font-size: 12pt;
  color: #333333;
  font-style: italic;
  font-weight: normal;
  vertical-align: middle;
  border: 0px;
  padding: 3px;
}

table.quote_order td
{
  text-align: left;
}

table.quote_order td.right
{
  text-align: right;
}

table.quote_order td.left
{
  vertical-align: top;
}

table.quote_order td.right_top
{
  text-align: right;
  vertical-align: top;
}

table.quote_order td.left_top
{
  vertical-align: top;
}

table.quote_order th.top
{
  vertical-align: top;
}

table.quote_order td.text
{
  text-align: justify;
}

table.quote_order td.text_top
{
  text-align: justify;
  vertical-align: top;
}


/* Таблица с обрамлением для отображения приказов ***/

table.quote_border
{
  margin: 5px 0px 5px;
  border: 1px solid black;
  border-collapse: collapse;
}

table.quote_border td, table.quote_border th /* th - по центру, td - слева */
{
  text-align: center;
  font-size: 12pt;
  color: #333333;
  font-style: italic;
  font-weight: normal;
  vertical-align: middle;
  border: 1px solid black;
  border-collapse: collapse;
  padding: 5px 15px;
}

table.quote_border td
{
  text-align: left;
}

table.quote_border td.right
{
  text-align: right;
}

table.quote_border td.text
{
  text-align: justify;
}


/* Таблица с обрамлением для германских KTB ***/

table.quote_ktb
{
  margin: 5px 0px 5px;
  border-top: black solid 1px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 0px;
  border-collapse: collapse;
}

table.quote_ktb td, table.quote_ktb th /* th - по центру, td - слева */
{
  text-align: center;
  font-size: 12pt;
  color: #333333;
  font-style: italic;
  font-weight: normal;
  vertical-align: top;
  border: 0px;
  border-collapse: collapse;
  padding: 5px 15px;
}

table.quote_ktb th.left, table.quote_ktb th.right
{
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: black solid 1px;
  vertical-align: middle;
}

table.quote_ktb th.center
{
  border: black solid 1px;
  vertical-align: middle;
}

table.quote_ktb td.center
{
  border-left: black solid 1px;
  border-right: black solid 1px;
}

table.quote_ktb td.right
{
  border-left: black solid 1px;
  text-align: left;
}

table.quote_ktb td
{
  text-align: left;
}

table.quote_ktb td.sign
{
  text-align: center;
}

table.quote_ktb td.sign_right
{
  text-align: right;
}


/* Внутренняя таблица без границ с центровкой по левому краю ------------------------*/

table.quote_inbox
{
  border: 0px;
  margin: 0px auto 0px 0px;
}

table.quote_inbox td
{
  text-align: left;
  vertical-align: top;
  border: 0px;
  padding: 0px 10px 0px 0px;
  font-size: 12pt;
  color: #333333;
  font-style: italic;
  font-weight: normal;
}



/********************* РАЗДЕЛЫ ***********************/

/* Свернутый раздел **********************************/

body.boats div.hidden
{
  display:none;
}

body.mens div.hidden
{
  display:none;
}


/********************* КНОПКИ ************************/

/* Свернуть/развернуть раздел ************************/

INPUT.show
{
  height: 21px;
  width: 21px;
  cursor:pointer;
  font-weight: bold;
  font-size: 10pt;
  vertical-align: top;
}


/* Скрытая кнопка (для форматирования разделов) ******/

INPUT.hide
{
  height: 21px;
  width: 21px;
  visibility: hidden;
}


/********************* АБЗАЦЫ ************************/

/* Основной абзац ************************************/

p
{
  margin: 6px 0px 6px 0px;
}


/* Цитирование ***************************************/

p.quote
{
  color: #333333;
  font-style: italic;
  text-indent: 35px;
  text-align: justify;
  margin: 0px 5px 0px 5px;
}


/* Примечания ---------------------------------------*/

p.prim
{
  text-align: justify;
  margin: 6px 5px 6px 5px;
}

p.prim span	/* Номер примечания в фигурных скобках */
{
  color: red;
}


/* Источники ----------------------------------------*/

p.ist
{
  text-align: justify;
  margin: 6px 5px 6px 5px;
}

p.ist span   	/* Номер источника в квадратных скобках */
{
  color: blue;
}


/* Авторский текст ***********************************/

p.autor
{
  text-align: justify;
  text-indent: 35px;
  margin: 6px 5px 6px 5px;
}


/* Авторский текст с 0-м отступом ********************/

p.autor0
{
  text-align: justify;
  text-indent: 35px;
  margin: 0px 5px 0px 5px;
}


/* Авторский текст без красной строки с 6-м отступом **/

p.autor_text
{
  text-align: justify;
  margin: 6px 5px 6px 5px;
}


/* Авторский текст с 6-м отступом ********************/

p.autor6
{
  text-align: justify;
  text-indent: 35px;
  margin: 6px 5px 6px 5px;
}


/* Подписи к рисункам и фотографиям ******************/

p.img_name
{
  margin: 6px 5px 20px 5px;
  font-weight: bold;
}


/* Заголовок примечаний ******************************/

p.title_prim
{
  text-align: center;
  font-weight: bold;
  color: red;
  margin: 20px 0px 10px 0px;
  font-size: 14pt;
}


/* Заголовок источников ******************************/

p.title_ist
{
  text-align: center;
  font-weight: bold;
  color: blue;
  margin: 20px 0px 10px 0px;
  font-size: 14pt;
}


/* Черный заголовок 14 размера (title_black14 - по центру, div_black14 - слева -------*/

p.title_black14, p.div_black14
{
  text-align: left;
  font-weight: bold;
  color: black;
  margin: 20px 0px 10px 0px;
  font-size: 14pt;
}

p.title_black14
{
  text-align: center;
}


/* Черный заголовок 12 размера (title_black12 - по центру, div_black12 - слева -------*/

p.title_black12, p.div_black12
{
  text-align: left;
  font-weight: bold;
  color: black;
  margin: 20px 0px 10px 0px;
  font-size: 12pt;
}

p.title_black12
{
  text-align: center;
}


/**************** Картинки ***************************/

/* Картинки-ссылки ***********************************/

img.ref
{
  border: none;
}


/**************** Стили ******************************/

/* Цитирование ***************************************/

span.quote, p.prim span.quote
{
  color: #333333;
  font-style: italic;
  font-weight: normal;
}


/* Слова автора внутри цитирования *******************/

span.autor, p.prim span.autor
{
  color: black;
  font-style: normal;
  font-weight: normal;
}


/* Верхний регистр ***********************************/

span.upper
{
  vertical-align: top;
  font-size: 8pt;
}


body.news p.autor strong, body.main p.autor strong /* Искусственное выделение ключевых слов на главной странице */
{
  font-size: 12pt;
  font-weight: normal;
  margin: 0px;
}


/**################ СТИЛИ НОВОСТНЫХ СТРАНИЦ ##############**/

/******************** СТРАНИЦЫ ***********************/

/* Cтраницы новостей (включая главную) ***************/

body.news, body.main
{
  text-align: center;
}

/********************* АБЗАЦЫ ************************/

/* Новости сайта ------------------------------------*/

body.news p, body.main p
{
  text-align: justify;
  margin: 6px 5px 6px 5px;
}

/**************** Стили ******************************/

body.news span.news_date, body.main span.news_date /* Дата новости */
{
  color: red;
}


/**############### СТИЛИ ДЛЯ ДИРЕКТОРИИ MINES ##############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы минных постановок ************************/

body.mines, body.docs
{
  text-align: center;
}

/********************* ТАБЛИЦЫ ***********************/

/* Таблица минная постановка */

table.mines
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 20px auto 20px;
  width: 100%;
}

table.mines td, table.mines th 
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 5px;
  vertical-align: middle;
}

table.mines th
{
  text-align: left;
  font-weight: bold;
}

table.mines td
{
  text-align: center;
  font-weight: normal;
}

table.mines th.title
{
  text-align: center;
}

table.mines td.text
{
  text-align: justify;
}


/* Сводная таблица минных постановок по флоту за год **/

table.mines_year
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  width: 100%;
  margin: 30px auto 30px;
}

table.mines_year td, table.mines_year th
{
  text-align: left;
  vertical-align: middle;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 2px;
}

table.mines_year th
{
  text-align: center;
  font-weight: bold;
}

table.mines_year td.center
{
  text-align: center;
}

table.mines_year td.text
{
  text-align: justify;
}


/**############### СТИЛИ ДЛЯ ДИРЕКТОРИИ MENS ###############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы биографий ********************************/

body.mens
{
  text-align: center;
  font-size: 12pt;
}


/********************* ССЫЛКИ ************************/

/* Ссылки жирным шрифтом на буквы биографий **********/

a.letter
{
  font-weight: bold;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица алфавитного указателя имен ****************/

table.mens
{
  margin-left: auto;
  margin-right: auto;
  border: 0px;
}

table.mens td, table.mens th
{
  text-align: left;
  font-size: 14pt;
  vertical-align: middle;
  border: 0px;
  padding: 5px;
}

table.mens th
{
  padding: 0px;
}

table.mens tr.hidden /* Свернутая строка */
{
  display:none;
}

table.mens td.biography
{
  vertical-align: middle;
  text-align: justify;
  font-size: 12pt;
  border: 0px;
  padding: 3px;
}

table.mens td.biography p
{
  text-indent: 35px;
  margin: 3px;
}

table.mens td.biography span /* Синие ссылки на источники */
{
  color: blue;
  text-decoration: none;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  vertical-align: top;
  font-size: 8pt;
}

table.mens td.biography table.picture th
{
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  vertical-align: top;
  padding: 0px 15px 5px 5px;
}


/* Таблица с перечнем выпускников ********************/

table.vypusk
{
  border: 0px;
  margin: 10px auto 30px;
}

table.vypusk td
{
  text-align: left;
  vertical-align: middle;
  border: 0px;
  padding: 3px 5px;
}

table.vypusk th
{
  vertical-align: middle;
  border: 0px;
  text-align: center;
  padding: 5px 7px;
  font-weight: bold;
}


/* Таблица с фотографией и званиями ******************/

table.byografy
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  width: 100%;
}

table.byografy td, table.byografy th
{
  text-align: center;
  vertical-align: middle;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px;
}

table.byografy td p
{
  font-weight: bold;
  margin: 5px;
}

table.byografy td.photo
{
  padding: 0px;
}

table.byografy td.photo img /* Картинка-ссылка */
{
  border: none;
}


table.byografy td.data
{
  text-align: left;
}

table.byografy td.text
{
  text-align: justify;
}


/* Таблица с наградами ------------------------*/

table.medals
{
  border: 0px;
  float: left;
}

table.medals td
{
  text-align: center;
  vertical-align: top;
  border: 0px;
  padding: 0px;
}

table.medals th
{
  text-align: center;
  font-size: 12pt;
  font-weight: bold;
  color: red;
  vertical-align: middle;
  border: 0px;
  padding: 5px;
}


/* Таблица с временным периодом (для центровки относительно тире) */

table.period
{
  border: 0px;
  float: center;
}

table.period td.left
{
  text-align: right;
  vertical-align: middle;
  border: 0px;
  padding: 0px;
  width: 90px;
  font-weight: normal;
  padding: 2px 0px 2px 0px;
}

table.period td.right
{
  text-align: left;
  vertical-align: middle;
  border: 0px;
  padding: 0px;
  width: 90px;
  font-weight: normal;
  padding: 2px 0px 2px 0px;
}

table.period td.center
{
  text-align: center;
  vertical-align: middle;
  border: 0px;
  padding: 0px;
  font-weight: normal;
  padding: 2px 0px 2px 0px;
}


/* Таблица с правой частью временного периода *******/

table.period_left
{
  border: 0px;
  float: left;
}

table.period_left td.full
{
  text-align: left;
  vertical-align: middle;
  border: 0px;
  padding: 0px;
  font-weight: normal;
  padding: 2px 0px 2px 0px;
}


/* Таблица послужного списка и боевых походов ********/

table.service
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  width: 100%;
}

table.service td, table.service th
{
  text-align: left;
  vertical-align: middle;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 5px;
}

table.service th
{
  text-align: center;
}

table.service td.date
{
  text-align: center;
}


/**************** Стили ******************************/

/* Выбранная начальная буква биографий ***************/

span.letter
{
  color: red;
  font-size: 24pt;
  font-weight: bold;
}


/* Выбранное сочетание букв полного списка ***********/

span.letter_small
{
  color: red;
  font-size: 16pt;
  font-weight: bold;
}


/* Годы жизни в заголовке *****************************************/

span.lifedate
{
  font-size: 16pt;
}


/**############# СТИЛИ ДЛЯ ДИРЕКТОРИИ EVENTS ###############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы эпизодов боевого применения **************/

body.events
{
  text-align: center;
}


/********************* АБЗАЦЫ ************************/

/* Заголовок примечаний ******************************/

body.events p.title_prim
{
  text-align: center;
  font-weight: bold;
  color: red;
  margin: 20px 0px 10px 0px;
  font-size: 14pt;
}


/* Заголовок источников ******************************/

body.events p.title_ist
{
  text-align: center;
  font-weight: bold;
  color: blue;
  margin: 20px 0px 10px 0px;
  font-size: 14pt;
}


/**############## СТИЛИ ДЛЯ ДИРЕКТОРИИ BOATS ###############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы историй подводных лодок ******************/

body.boats, body.patrols
{
  text-align: center;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица алфавитного указателя наименований ----*/

table.spisok_boats
{
  margin: 30px auto 20px;
  border: 0px;
}

table.spisok_boats td
{
  text-align: left;
  font-size: 14pt;
  vertical-align: middle;
  border: 0px;
  padding: 20px;
}


/* Таблица сведений о лодке --------------------***/

table.boats
{
  width: 100%;
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 30px 5px 20px;
}

table.boats th, table.boats td
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  text-align: center;
  vertical-align: middle;
}

table.boats th
{
  width: 27%;
  text-align: left;
}

table.boats td.medals
{
  width: 50%;
  padding: 0px;
}

table.boats td.text
{
  text-align: justify;
}

table.boats td p.fleet /* Названия флотов в таблице (не ссылка) */
{
  font-weight: bold;
}


/* Внутренняя таблица без границ ***********************/

table.inbox
{
  margin-left: auto;
  margin-right: auto;
  border: outset 0px;
}

table.inbox td
{
  border: inset 0px;
  padding: 0px 20px;
  text-align: center;
  vertical-align: middle;
}


/* Таблица сравнения походов ----------------------------***/

table.patrols
{
  margin-left: auto;
  margin-right: auto;
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  width: 80%;
}

table.patrols td, table.patrols th
{
  text-align: center;
  vertical-align: middle;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 2px;
}

table.patrols td.number
{
  text-align: left;
}


/* Таблица дополнительных ссылок без границ **********/

table.dop_link
{
  margin-left: auto;
  margin-right: auto;
  border: 0px;
}

table.dop_link td
{
  text-align: left;
  vertical-align: middle;
  border: 0px;
  padding: 2px;
}


/* Таблица без границ с погибшими подводниками ********/

table.dead
{
  margin-left: 0;
  border: 0px;
}

table.dead td
{
  text-align: left;
  vertical-align: middle;
  border: 0px;
  padding: 0px 5px;
}

table.dead th
{
  text-align: center;
  vertical-align: middle;
  border: 0px;
  font-weight: bold;
  padding: 2px 5px;
}



/********************* ССЫЛКИ ************************/

/* Увеличенные ссылки на типы лодок --------------****/

a.types
{
  font-size: 16pt;
  font-weight: bold;
}


/* Красные ссылки на даты награждений ----award УБРАТЬ !!! 16.09.2009 ---------***/

a.award, a.award:visited, table.inbox td a,  table.inbox td a:visited, table.medals th a,  table.medals th a:visited
{
  color: red;
  text-decoration: none;
  font-weight: bold;
  font-style: normal;
  font-variant: normal;
}


/* Жирные черные ссылки на даты -------------------***/

a.date_bold, a.date_bold:visited
{
  color: black;
  font-weight: bold;
  text-decoration: none;
}


/* Ссылки жирным шрифтом на названия флотов -------***/

a.fleet
{
  font-weight: bold;
}


/********************* АБЗАЦЫ ************************/

/* Текст истории, не связанной с походами ************/

p.history
{
  text-align: justify;
  margin: 12px 5px 6px 5px;
}


/* Заголовок похода **********************************/

p.patrol_title
{
  text-align: justify;
  font-weight: bold;
  margin: 12px 5px 0px 30px;
}


/* Текст истории походов *****************************/

p.patrol
{
  text-align: justify;
  margin: 0px 5px 0px 30px;
}


/**************** Стили ******************************/

/* Названия флотов в таблице (не ссылка) ************* УБРАТЬ !!! 13.10.2009 ***/

span.fleet
{
  font-weight: bold;
}



/**################ СТИЛИ ДЛЯ ОПИСАНИЯ АТАК (ATTACKS) ##############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы страниц описания атак ********************/

body.attacks
{
  text-align: center;
}

/********************* ТАБЛИЦЫ ***********************/

/* Таблица описания атаки ****************************/

table.attacks
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  width: 100%;
}

table.attacks td, table.attacks th
{
  text-align: center;
  font-weight: normal;
  vertical-align: middle;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px;
}

table.attacks th
{
  text-align: left;
}

table.attacks td.source
{
  font-weight: bold;
}

table.attacks td.text
{
  text-align: justify;
}


/**############### СТИЛИ ДЛЯ ДИРЕКТОРИИ DATES ###############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы хроники событий **************************/

body.dates
{
  text-align: center;
  font-size: 12pt;
}


/********************* АБЗАЦЫ ************************/


/* Авторский текст без красной строки с 6-м отступом **/

body.dates p
{
  text-align: justify;
  margin: 6px 5px 6px 5px;
}


body.dates p.title
{
  text-align: left;
  font-weight: bold;
  font-size: 14pt;
  text-decoration: underline;
  margin: 12px 5px 12px 5px;
}


body.dates p.region
{
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  margin: 12px 5px 6px 5px;
}


/* Заголовок примечаний ******************************/

body.dates p.title_prim
{
  text-align: center;
  font-weight: bold;
  color: red;
  margin: 20px 0px 10px 0px;
  font-size: 14pt;
}


/* Заголовок источников ******************************/

body.dates p.title_ist
{
  text-align: center;
  font-weight: bold;
  color: blue;
  margin: 20px 0px 10px 0px;
  font-size: 14pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица сведений об обслуживании позиций -------***/

table.calendar
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 0px auto 20px;
}

table.calendar th, table.calendar td
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  font-size: 14pt;
  text-align: center;
  vertical-align: middle;
}

table.calendar th.sonday
{
  color: red;
}

table.calendar td.text
{
  text-align: justify;
}


/**############### СТИЛИ ДЛЯ ДИРЕКТОРИИ CREWS ###############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы команд субмарин **************************/

body.crews
{
  text-align: center;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица с перечнем подводников ********************/

table.crews
{
  width: 100%;
  border: 0px;
}

table.crews tr.noncrew
{
  background-color: #D0D040;
}

table.crews td
{
  text-align: left;
  vertical-align: middle;
  border: 0px;
  padding: 0px 3px;
}

table.crews th
{
  vertical-align: middle;
  border: 0px;
  text-align: center;
  padding: 0px 3px;
  font-weight: bold;
}

table.crews td.dead
{
  background-color: #B0B0B0;
}

table.crews td.center
{
  text-align: center;
}


/**************** Стили ******************************/

/* Выделение цветом нечленов экипажа *****************/

span.noncrew
{
  background-color: #D0D040;
}


/**############# СТИЛИ ДЛЯ ДИРЕКТОРИИ UNITS ################**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы соединений и позиций ПЛ -----------*/

body.units, body.positions
{
  text-align: center;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица сведений о воинском соединении ---------***/

table.unit_data 
{
  width: 100%;
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 10px 5px 20px;
}

table.unit_data th, table.unit_data td
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  text-align: left;
  vertical-align: middle;
}

table.unit_data th
{
  text-align: left;
}

table.unit_data td.emblema
{
  text-align: center;
  width: 10%;
  padding: 0px;
}

table.unit_data td.emblema img /* Картинка-ссылка */
{
  border: none;
}

table.unit_data td.text
{
  text-align: justify;
}

table.unit_data td p.rod /* Названия родов войск в таблице (не ссылка) */
{
  font-weight: bold;
}


/* Таблица с наградами ------------------------*/

body.units table.medals
{
  border: 0px;
  float: none;
}

body.units table.medals td
{
  text-align: center;
  vertical-align: top;
  border: 0px;
  padding: 0px;
}

body.units table.medals th
{
  text-align: center;
  font-size: 12pt;
  font-weight: bold;
  color: red;
  vertical-align: middle;
  border: 0px;
  padding: 5px;
}


/* Таблица сведений о соединении *********************/

table.units
{
  width: 100%;
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
}

table.units th
{
  width: 25%;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  text-align: left;
  vertical-align: middle;
  font-weight: bold;
}

table.units td
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  text-align: left;
  vertical-align: middle;
}

table.units td.date
{
  width: 25%;
  text-align: center;
}

table.units td.text
{
  width: 50%;
  text-align: justify;
}


/********************* АБЗАЦЫ ************************/

/* Текст истории соединения **************************/

p.unit_history
{
  text-align: justify;
  margin: 12px 5px 6px 5px;
}


/* Заголовок таблицы *********************************/

p.unit_title
{
  text-align: justify;
  font-weight: bold;
  margin: 12px 5px 0px 5px;
}


/**############### СТИЛИ ДЛЯ ДИРЕКТОРИИ WEAPONS #############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы вооружения ПЛ ****************************/

body.weapons
{
  text-align: center;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица характеристик вооружения ******************/

table.weapons_tth
{
  margin-left: auto;
  margin-right: auto;
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
}


table.weapons_tth th
{
  font-weight: normal;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px;
  text-align: left;
  vertical-align: middle;
}


table.weapons_tth td
{
  font-weight: normal;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px;
  text-align: center;
  vertical-align: middle;
}


table.weapons_tth td.title
{
  font-weight: bold;
}


/**############### СТИЛИ ДЛЯ ДИРЕКТОРИИ TYPES #############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы вооружения ПЛ ****************************/

body.types
{
  text-align: center;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Построечная таблица ----------------------------***/

table.types_build, table.yards_build
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  width: 100%;
  margin: 20px auto 20px;
}

table.types_build caption, table.yards_build caption
{
  text-align: center;
  font-weight: bold;
  color: black;
  margin: 10px 5px 10px;
  font-size: 14pt;
}

table.types_build td, table.types_build th,
table.yards_build td, table.yards_build th
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px;
  vertical-align: middle;
  text-align: left;
}

table.types_build td.data, table.yards_build td.data
{
  text-align: center;
}

table.types_build th, table.yards_build th
{
  font-weight: bold;
  text-align: center;
  color: #303030;
}


/* Таблица с перечнем типов и верфей ----------------***/

table.yards_list, table.types_list
{
  margin: 5px auto 10px;
  border: 0px;
}

table.yards_list td, table.types_list td
{
  text-align: left;
  font-size: 12pt;
  font-weight: bold;
  vertical-align: middle;
  border: 0px;
  padding: 5px 20px 5px;
}

table.yards_list th, table.types_list th
{
  text-align: center;
  font-size: 14pt;
  font-weight: bold;
  border: 0px;
  padding: 20px 5px 10px;
}


/* Тактико-технические характеристики ----------------**/

table.types_tth
{
  border-collapse: collapse;
  border: #080808 solid 1px;
  margin: 10px auto 20px;
}

table.types_tth caption
{
  text-align: center;
  font-weight: bold;
  color: black;
  margin: 20px 5px 10px;
  font-size: 14pt;
}

table.types_tth th, table.types_tth td
{
  border: #080808 solid 1px;
  text-align: center;
  vertical-align: middle;
  padding: 3px;
}

table.types_tth th
{
  background-color: #CCCCCC;
}

table.types_tth td.no_bottom
{
  border-bottom: none 0px;
  padding-bottom: 0px;
}

table.types_tth td.no_top
{
  border-top: none 0px;
  padding-top: 0px;
}

table.types_tth td.no_both
{
  border-width: 0px 1px;
  padding: 0px 3px 0px;
}

table.types_tth td.name
{
  text-align: left;
}

table.types_tth td.name_no_bottom
{
  text-align: left;
  border-bottom: none 0px;
  padding-bottom: 0px;
}

table.types_tth td.name_no_top
{
  text-align: left;
  border-top: none 0px;
  padding: 0px 3px 3px 20px;
}

table.types_tth td.name_no_both
{
  text-align: left;
  border-width: 0px 1px;
  padding: 0px 3px 0px 20px;
}


/**############### СТИЛИ ДЛЯ ДИРЕКТОРИИ YARDS #############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы судоверфей *******************************/

body.yards
{
  text-align: center;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Построечная таблица см. выше table.types_build ****/

table.yards_build
{
}


/* Таблица с перечнем заводов см. выше table.types_list ***/

table.yards_list
{
}


/**############ СТИЛИ ДЛЯ ДИРЕКТОРИИ PATROLS ##########**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы позиций **********************************/

body.patrols
{
  text-align: center;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Сводная таблица по одному походу ---------------***/

table.patrol_data
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 0px auto 20px;
}

table.patrol_data th, table.patrol_data td
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  text-align: left;
  vertical-align: middle;
}

table.patrol_data td.text
{
  text-align: justify;
}

table.patrol_data td.center
{
  text-align: center;
  vertical-align: top;
}


/* Таблица без обрамления для атак ----------------***/

table.patrol_attack
{
  margin: 0px;
  border: 0px;
}

table.patrol_attack td, table.patrol_attack th
{
  text-align: center;
  font-size: 12pt;
  vertical-align: middle;
  border: 0px;
  padding: 3px 5px;
}

table.patrol_attack td.text
{
  text-align: justify;
}


/**############ СТИЛИ ДЛЯ ДИРЕКТОРИИ POSITIONS ##########**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы позиций **********************************/

body.positions
{
  text-align: center;
  font-size: 12pt;
}


/********************* АБЗАЦЫ ************************/

/* Черный заголовок 14 размера по центру ------------*/

body.positions p.title_black14
{
  text-align: center;
  font-weight: bold;
  color: black;
  margin: 20px 0px 0px 0px;
  font-size: 14pt;
}


/* Черный заголовок 12 размера по центру ------------*/

body.positions p.title_black12
{
  text-align: center;
  font-weight: bold;
  color: black;
  margin: 0px 0px 0px 0px;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица сведений об обслуживании позиций -------***/

table.pos_service
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 0px auto 20px;
}

table.pos_service th, table.pos_service td
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  text-align: center;
  vertical-align: middle;
}

table.pos_service td
{
  text-align: left;
}

table.pos_service td.period
{
  width: 50%;
  padding: 0px;
}

table.pos_service td.text
{
  text-align: justify;
}



/**############### СТИЛИ ДЛЯ ДИРЕКТОРИЙ BASES, BULGARIA #############**/

/******************** СТРАНИЦЫ ***********************/

/* Страницы базирования ПЛ ***************************/

body.bases, body.bulgaria
{
  text-align: center;
  font-size: 12pt;
}


/**############ СТИЛИ ДЛЯ ДИРЕКТОРИИ BASES ##########**/

/********************* АБЗАЦЫ ************************/

/* Черный заголовок 14 размера по центру ------------*/

body.bases p.title_black14, body.bulgaria p.title_black14
{
  text-align: center;
  font-weight: bold;
  color: black;
  margin: 20px 0px 0px 0px;
  font-size: 14pt;
}


/* Черный заголовок 12 размера по центру ------------*/

body.bases p.title_black12, body.bulgaria p.title_black12
{
  text-align: center;
  font-weight: bold;
  color: black;
  margin: 0px 0px 0px 0px;
  font-size: 12pt;
}


/********************* ТАБЛИЦЫ ***********************/

/* Сводная таблица по одному походу ---------------***/

table.base_data
{
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
  margin: 0px auto 20px;
}

table.base_data th, table.base_data td
{
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px 5px;
  text-align: left;
  vertical-align: middle;
}

table.base_data td.text
{
  text-align: justify;
}

table.base_data td.center
{
  text-align: center;
  vertical-align: top;
}


/********************* ТАБЛИЦЫ ***********************/

/* Таблица характеристик оборудования ****************/

table.tth_left
{
  margin-left: auto;
  margin-right: 10px;
  float: left;
  border-top: white solid 1px;
  border-left: white solid 1px;
  border-right: #A9A9A9 solid 1px;
  border-bottom: #A9A9A9 solid 1px;
}


table.tth_left th
{
  font-weight: normal;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px;
  text-align: left;
  vertical-align: middle;
}


table.tth_left td
{
  font-weight: normal;
  border-top: #A9A9A9 solid 1px;
  border-left: #A9A9A9 solid 1px;
  border-right: white solid 1px;
  border-bottom: white solid 1px;
  padding: 3px;
  text-align: center;
  vertical-align: middle;
}


table.tth_left td.title
{
  font-weight: bold;
}