/*---:[ saved from url=(44)http://salzerdesign.com/test/fixedTable.html ]:---*/
body {
   }    /* "Холст" */

.format_text p.pmarker {
   background: #55EED0;
   border-color: #55A6EE;
   }

.vertical-text {
   /* background: #E23737; */
   background: #F27CB6;
   }

td {
   border-bottom: 1px solid #ccc;
   padding: 5px;
   }

td + td {
   border-left: 1px solid #ccc;
   }

th {
   padding: 0 5px;
   }

.header-background {
   border-bottom: 1px solid black;
   }

.fixed-table-container {
   /*width: 96%;*/
   border: 2px solid black;
   margin: 10px auto;
   position: relative; /* could be absolute or relative */
   padding-top: 40px; /* height of header */
   margin-left: 0.5em;
   margin-right: 0.5em;
   }

.fixed-table-container-inner {
   overflow-x: hidden;
   overflow-y: auto;
   height: 100%;
   }

.header-background {
   background-color: #D5ECFF;
   height: 40px; /* height of header */
   position: absolute;
   top: 0;
   right: 0;
   left: 0;
   }

table {
   background-color: #FFF7DC;
   width: 100%;
   overflow-x: hidden;
   overflow-y: auto;
   }

.th-inner {
   position: absolute;
   top: 0;
   line-height: 40px; /* height of header */
   text-align: left;
   border-left: 1px solid black;
   padding-left: 5px;
   margin-left: -5px;
   }

.first .th-inner {
   border-left: none;
   padding-left: 6px;
   }

   /* for hidden header hack to calculate widths of dynamic content */

.hidden-head {
   min-width: 530px; /* enough width to show all header text, or bad things happen */
   }

.hidden-header .th-inner {
   position: static;
   overflow-y: hidden;
   height: 0;
   white-space: nowrap;
   padding-right: 5px;
   }

/* for complex headers */

.complex.fixed-table-container { /* Пробел после ".complex" недопустим */
   padding-top: 80px; /* height of header */
   overflow-x: hidden; /* for border */
   }

.complex .header-background {
   height: 80px;
   }

.complex-top .th-inner {
   border-bottom: 1px solid black;
   width: 100%
   }

.complex-bottom .th-inner {
   top: 40px;
   width: 100%
   }

.complex-top .third .th-inner { /* double row cell */
   height: 80px;
   border-bottom: none;
   background-color: #D5ECFF;
   }

.complex-top .first-up .th-inner { /* double row cell */
   border-left: none;
   padding-left: 6px;
   height: 80px;
   border-bottom: none;
   background-color: #D5ECFF;
   }

/* Описание команды, поле команды */
td:nth-child(1) {
   text-align: center;
   }

/* Описание команды, поле содержимого стека на входе */
td:nth-child(2) {
   text-align: right;
   }

/* Поле резделитель */
/* td:nth-child(3) {
   text-align: center;
   }*/
.data-table td:nth-child(3) {
   text-align: right;
   }


/* Описание команды, поле содержимого стека на выходе */
td:nth-child(4) {
   text-align: left;
   }

.data-table td:nth-child(4) {
   text-align: right;
   }

/* Описание команды с одним стеком, поле описания */
.cmd-short td:nth-child(5) {
   text-align: left;
   }

.data-table td:nth-child(5) {
   text-align: right;
   }

/* Описание команды с двумя стеками, поле содержимого стека на входе */
.cmd-long td:nth-child(5) {
   text-align: right;
   }

.data-table td:nth-child(6) {
   text-align: right;
   }

td:nth-child(7) {
   text-align: right;
   }

.tr_total {
   background-color: #D5ECFF;
   }

.td_compact {
   letter-spacing: -1px;
   /*word-spacing: -1px;*/
   font-size: 90% ;
   }

.td_left {
   text-align: left !important;
   }

/* "Карточки" с детальным описанием команды */
.cmd1-table-container {
   width: 80%;
   border: 2px solid black;
   margin: 10px auto;
   position: relative;
   }


.cmd1-table-container td:nth-child(1) {
   width: 20%;
   text-align: right;
   background-color: #C9E4F6;/* фон первого столбца */
   }

/* Поле резделитель */
.cmd1-table-container td:nth-child(2) {
   width: 5%;
   }

.cmd1-table-container td:nth-child(3) {
   border-left: none;
   text-align: left;
   }

/* Общая таблица команд на 5 колонок */
.list5-table-container {
   /*width: 96%;*/
   border: 2px solid black;
   margin: 10px auto;
   position: relative;
   margin-left: 0.5em;
   margin-right: 0.5em;
   }

.list5-table-container td {
   width: 20%;
   text-align: left;
   }

/* Общая таблица команд на 3 колонки */
.list3-table-container {
   /*width: 96%;*/
   border: 2px solid black;
   margin: 10px auto;
   position: relative;
   margin-left: 0.5em;
   margin-right: 0.5em;
   }

.list3-table-container td {
   width: 33%;
   text-align: left;
   }

.zebra1 tr:hover td{
  background: #FFE076;/* фон строки при наведении */
  }

.t_frame {
   display: block;
   margin-right: auto;
   margin-left: auto;
   float: none;
   clear: both;
   width: 96%;
   background: #eee;
   border-style: solid;
   border-color: #ddd;
   margin-bottom: 1em;
   }

.t_frame p {
   margin: 1em 1em;
   }

/* "Карточки" с описанием машины */
.hist-table-container {
   width: 90%;
   border: 2px solid black;
   margin: 10px auto;
   position: relative;
   }

.hist-table-container tr:nth-child(6) td {
   text-align: left;
   background-color: #FFF7DC;/* фон первого столбца */
   }

.hist-table-container td:nth-child(1) {
   width: 20%;
   text-align: right;
   border-left: none;
   background-color: #C9E4F6;/* фон первого столбца */
   }

/* Поле резделитель */
.hist-table-container td:nth-child(2) {
   border-left: none;
   width: 5%;
   }

.hist-table-container td:nth-child(3) {
   border-left: none;
   }

.format_text a h2 {
   color: rgb(221, 0, 0);
   }
