﻿/* HACK: дублирование кода с Archive.aspx */

.button
{
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
a.button
{
  display: inline-block;
}

.invisible
{
  visibility: hidden;
}

/* выбор интервала */
dl.interval-selector
{
  margin: 0.4em 0;
  padding: 0;
  border: 0 none;
  white-space: nowrap;
}
.interval-selector dt
{
  float: left;
  padding: 0.4em 0.4em 0.4em 0;
}
.interval-selector dd
{
  float: left;
  margin: 1px;
  position: relative;
}
.interval-selector a
{
  display: block;
  padding: 0.2em;
  text-align: right;
  text-decoration: none;
}
/******************************* DateSelectorControl ************************************/
.date-RightAlign-Container .content
{
  width: 100%;
}
.date-RightAlign-Container .date-RightAlign-Content
{
  float: right;
}
.date-span-withInput-Container
{
  float: left;
  margin: 0.2em 0 0.2em 0;
}
.date-span-Container
{
  padding: 0 0.2em;
}
.date-span-Container > span
{
  font-size: 1.3em;
  font-weight: bold;
}
.date-span-Container > .ui-icon
{
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  bottom: 0.2em;
}

/******************************* TimeBandControl ************************************/

.timeBand > table
{
  width: 100%;
}
.timeBand > table > tbody > tr > td
{
  padding: 0;
}
.timeBand .timebandContainer
{
  margin: 0px;
  border-width: 1px;
  border-style: solid;
}
.timeBand .timebandContainer > .content,
.timeBand .timebandContainer > .dummy
{
  width: 200%;
  cursor: e-resize;
  border: 0px;
}
.timeBand .timebandContainer > .content > table,
.timeBand .timebandContainer > .dummy > table
{
  width:100%;
  height:60px;
}
.timeBand .timebandContainer > .content td,
.timeBand .timebandContainer > .dummy td
{
  font-weight: normal;
  font-size: 80%;
  width: 4%;
  text-align: center;
  border-left-style: solid;
  border-left-width: 1px;
  white-space: nowrap;
  padding: 0; /* HACK: на это есть завязка в коде timeBand_RefreshTimeBand() */
  line-height: 15px;
}
.timeBand .timebandContainer > .content > table > thead > tr.middleRow,
.timeBand .timebandContainer > .dummy > table > thead > tr.middleRow
{
  height:27px;
  font-size: 18px;
}
.timeBand .timebandContainer > .content > table > thead > tr.upperRow,
.timeBand .timebandContainer > .dummy > table > thead > tr.upperRow,
.timeBand .timebandContainer > .content > table > tbody > tr.lowerRow,
.timeBand .timebandContainer > .dummy > table > tbody > tr.lowerRow
{
  font-size: 12px;
  height:15px;
}
.timeBand .timebandContainer > .content > table > thead > tr > td,
.timeBand .timebandContainer > .dummy > table > thead > tr > td
{
  border-bottom-style: solid;
  border-bottom-width: 1px;
  line-height: 15px;
}
.timeBand .timebandContainer > .content > table > thead > tr > td > span
{
  display:inline-block;
  width:180px; /* HACK: на это есть завязка в коде timeBand_RefreshTimeBand() */
  text-align:center;
  position:absolute;
}
.timeBand .timeband-button
{
  margin: 0 2px 0 2px;
  width: 40px;
  height: 60px;
  text-decoration: none;
  position: relative;
}
.timeBand .timeband-button .ui-icon
{
  position: absolute;
  margin-top: -8px;
  margin-left: -8px;
  top: 50%;
  left: 50%;
}
.timeBand .timeband-left
{
  float: left;
}
.timeBand .timeband-right
{
  float: right;
}
.timeBand td.timeAnchorContainer
{
  text-align:center;
  background: none;
}
.timeBand td.timeAnchorContainer span.ui-icon
{
  text-indent: 0;
  display:inline-block;
  border: none 0;
  font-weight:normal;
}
.timeBand .date-highlight
{
  font-weight: bold;
  /* color: #E17009; */
}
.timeBand .date-normal > .ui-icon
{
  display: inline-block;
  vertical-align: bottom;
  /*position: relative;
  bottom: 0.2em;*/
  visibility: hidden;
}
.timeBand .date-highlight > .ui-icon
{
  visibility: visible;
}

/******************************* TimeBandControl2 ************************************/

.timeBand2 > table
{
  width: 100%;
}
.timeBand2 > table > tbody > tr > td
{
  padding: 0;
}
.timeBand2 .timebandContainer
{
  margin: 0px;
  border: 1px solid #C5DBEC;
}
.timeBand2 .timebandContainer > .content,
.timeBand2 .timebandContainer > .dummy
{
  /*width: 200%;*/
  cursor: e-resize;
  border: 0px;
}
.timeBand2 .timebandContainer > .content > table,
.timeBand2 .timebandContainer > .dummy > table
{
  width:100%;
}
.timeBand2 .timebandContainer > .content > table
{
  /*width:2000px;*/
  table-layout:fixed;
}
.timeBand2 .timebandContainer > .content td,
.timeBand2 .timebandContainer > .dummy td
{
  font-weight: normal;
  font-size: 80%;
  text-align: center;
  border-left: solid 1px #C5DBEC;
  white-space: nowrap;
  padding: 0; /* HACK: на это есть завязка в коде timeBand_RefreshTimeBand() */
}
.timeBand2 .timebandContainer > .content > table > tbody > tr.lowerRow > td,
.timeBand2 .timebandContainer > .dummy > table > tbody > tr.lowerRow > td
{
  /*width: 0.5%;*/ /* HACK: на это есть завязка в коде TimeBandControl (должно быть 100%/totalNumColumns) */
  width: 10px;
}
.timeBand2 .timebandContainer > .content > table > thead > tr.middleRow,
.timeBand2 .timebandContainer > .dummy > table > thead > tr.middleRow
{
  height:27px;
  font-size: 18px;
}
.timeBand2 .timebandContainer > .content > table > thead > tr.upperRow,
.timeBand2 .timebandContainer > .dummy > table > thead > tr.upperRow,
.timeBand2 tr.lowerRow
{
  font-size: 12px;
  height:15px;
}
.timeBand2 .lowerTable
{
  width: 100%;
  border: 1px solid #c5dbec;
}
.timeBand2 tr.lowerRow > td
{
  border: 1px solid #c5dbec;
}
.timeBand2 .timebandContainer > .content > table > thead > tr > td,
.timeBand2 .timebandContainer > .dummy > table > thead > tr > td
{
  border-bottom: solid 1px #C5DBEC;
}
.timeBand2 .timebandContainer > .content > table > thead > tr > td > span
{
  display:inline-block;
  width:150px; /* HACK: на это есть завязка в коде timeBand_RefreshTimeBand() */
  text-align:center;
}
.timeBand2 .timebandContainer > .content > table > thead > tr.upperRow > td > span,
.timeBand2 .timebandContainer > .content > table > thead > tr.middleRow > td > span
{
  position:absolute;
}
.timeBand2 .timeband-button
{
  margin: 0 2px 0 2px;
  width: 40px;
  height: 60px;
  text-decoration: none;
  position: relative;
}
.timeBand2 .timeband-button .ui-icon
{
  position: absolute;
  margin-top: -8px;
  margin-left: -8px;
  top: 50%;
  left: 50%;
}
.timeBand2 .timeband-left
{
  float: left;
}
.timeBand2 .timeband-right
{
  float: right;
}
.timeBand2 td.timeAnchorContainer
{
  text-align:center;
  background: none;
}
.timeBand2 td.timeAnchorContainer span.ui-icon
{
  text-indent: 0;
  display:inline-block;
  border: none 0;
  font-weight:normal;
}
.timeBand2 .date-highlight
{
  font-weight: bold;
  /* color: #E17009; */
}


/*******************************************************************/
.ui-state-disabled-custom a
{
  opacity: .35;
  filter: Alpha(Opacity=35);
  /*background-image: none;*/
}

/* Тени
----------------------------------*/
.shadow-l-12
{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: transparent url(shadow-l-12.png) repeat-y scroll 0 0;
  width: 12px;
}
.shadow-r-12
{
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: transparent url(shadow-r-12.png) repeat-y scroll 0 0;
  width: 12px;
}
.shadow-t-4
{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent url(shadow-t-4.png) repeat-x scroll 0 0;
  height: 4px;
}
.shadow-b-4
{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent url(shadow-b-4.png) repeat-x scroll 0 0;
  height: 4px;
}

/* состояния ячеек таблицы */
.emptyValue
{
  background-color: #d0d0d0;
}
.state-Loading
{
  background: transparent url(/Content/wait.gif) center center no-repeat;
}
.state-AvariaHigh
{
  background: transparent url(/Content/avariaHigh.png) top left repeat-x;
}
.state-AvariaLow
{
  background: transparent url(/Content/avariaLow.png) bottom left repeat-x;
}
.state-Avaria
{
  background-color: #ffc8c8;
}
.state-TechHigh
{
  background: transparent url(/Content/techHigh.png) top left repeat-x;
}
.state-TechLow
{
  background: transparent url(/Content/techLow.png) bottom left repeat-x;
}
.state-TechError
{
  background-color: #ffe696;
}
.state-Undefined, .state-NotCalculated
{
  background-color: #c8c8c8;
}

.ovfcontainer td, #dataTable-frozen-left td {
  border-style: solid;
  border-width: 1px;
  /*padding: 2px;*/
}
