/* Окошко загрузки
=======================================================================================*/
div#loading {
  display: none;
  position: fixed;
  right: 20px;
  top: 0;
  z-index: 100000;
  width: 78px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  font-weight: bold;
  font-style: normal;
  font-size: 11px;
  font-family: Verdana;
  color: #000;
  background: url(/img/loading_bg.gif) 0 0 no-repeat;
}

/* Область дебага
=======================================================================================*/
#debug {
  margin: 0; 
  padding: 0; 
  color: red;
}

/* Ошибки/информация
=======================================================================================*/
#err_inf {
  display: inline;
}

#err, #inf {
  background: #fddbdb;
  border: 5px solid #fddbdb;
  -moz-box-shadow: 0px 0px 15px #444;
  -moz-border-radius: 5px;
  -webkit-box-shadow: 0px 0px 15px #444;
  -webkit-border-radius: 5px;
  box-shadow: 0px 0px 15px #444;
  border-radius: 5px;
  position: fixed; 
  left: 50%;
  top: 40%; 
  cursor: pointer; 
  font-family: Verdana;
  width: 500px;
  margin-left: -240px;
  z-index: 10000;
  color: #000;
  font-style: normal;
}

#inf {
  border: 5px solid #ebf7f3;
}

#err *, #inf * {
  cursor: pointer;
}

#inf {
  background: #ebf7f3;
  border: 5px solid #ebf7f3;
}

* html #err, * html #inf {
  position: absolute;
  z-index: 10000;
  top: expression(parseInt(document.documentElement.clientHeight*0.4) + document.documentElement.scrollTop + 'px');
}

#err div.title, #inf div.title {
  line-height: 25px;
  padding: 0 23px;
  background: #feb1b1;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  font-weight: bold;
}

#inf div.title {
  background: #70c8a0;
}

#err ul, #inf ul {
  margin: 7px 20px 7px 25px;
  list-style-type: circle;
  padding: 0;
}

/* Общеупотребительное
===============================================================================*/
.u { text-decoration: underline; }
.b { font-weight: bold; }
.i { font-style: italic; }
.center { text-align: center; }
.right { text-align: right; }
.left { text-align: left; }
.nowrap { white-space: nowrap; }
.w100p { width: 100%; }
.w1p { width: 1%; }
.clear { clear: both; height: 0; overflow: hidden; }
.tbl_d { background: #e0f4fc; }

img {
  border: 0;
}

@media print {
  .noprint {
    display: none;
  }
}
