/**/
HTML, BODY { height: 100%; }
HTML
{
   overflow:   auto;
   overflow-y: scroll;
}

HTML > BODY /* ахуеть! */
{ 
   min-height: 100%;
   height: auto;
}
BODY { position: relative; }



  HTML
, BODY
, FORM
, TABLE
, TD
, TH
, INPUT
, TEXTAREA
, SELECT
, LABLE
, UL
, OL
, LI
, IMG
, VAR
, DT, DL, DD
, FIELDSET
{
   margin: 0;
   padding: 0;
}

VAR      { font-style: normal; }
UL, LI   { list-style: none; }
FIELDSET { border: none; }

  INPUT
, TEXTAREA
, SELECT
{
   font: normal 13px Arial;
   vertical-align: middle;
}


TABLE { width: 100%; }

  TD
, TH
, TABLE
{
  border: none;
  vertical-align: top;
  border-collapse: collapse;
}

IMG
{
   border: none;
   vertical-align: middle;
}


LABEL { cursor: pointer; }
.clear
{
   clear: both !important;
   display: block !important;
   float: none !important;
   font-size: 0 !important;
   height: 0 !important;
   line-height: 0 !important;
   margin: 0 !important;
   overflow: hidden !important;
   padding: 0 !important;
   width: 100% !important;
}


/* --- Links --- */
A { color: #36c; }
.dashed A, A.dashed,
.solid A, A.solid
{
   text-decoration: none;
   cursor: default;
}
.dashed A, A.dashed { color: #000; }


  .dashed  A U
, A.dashed   U
, .solid   A U
, A.solid    U
, .a-link    U
{
   color: #06c;
   border-bottom: 1px dashed #06c;
   text-decoration: none;
   cursor: pointer;
}
.solid A U,
A.solid U { border-bottom: 1px solid #06c; }


  A.d-none
, A.d-none U
, .d-none A
, .d-none A U
, A.selected
, A.selected U
, .a-link.selected U
{
   text-decoration: none;
   border-bottom: none;
}

  A.disabled
, A.disabled U
, A.selected
, A.selected U
, .a-link.selected U
{
   color: #666;
   border-bottom-color: #666;
   cursor: default;
}

/* ---/ Links --- */


BODY, TD, TH { font: normal 13px Arial; }

.b-left, .b-right { float: left; }


.a-center
{
   position: relative;
   width: 100%;
}
.a-center:after
{
   content: '';
   display: block;
   clear: both;
}
   .a-center .ac-left
   {
      position: relative;
      right: 50%;
      float: right;
   }
   .a-center .ac-right
   {
      position: relative;
      right: -50%;
   }


  INPUT.disabled
, BUTTON.disabled
, SELECT.disabled
, TEXTAREA.disabled
, .i-disabled
{
   opacity: 0.5;
   filter: alpha(opacity=50); 
}
   
   
.debug { border: 1px solid red; }
.fix-border { border: 1px solid #fff; }

.d-block { display: block; }


/* --- Position: Fixed --- */
.p-fixed-top
{
   position: fixed;
   top: 0px;
   left: 0px;
}
* HTML .p-fixed-top
{
   position: absolute;
   left: expression(eval(document.body.scrollLeft) + 'px');
   top:  expression(eval(document.body.scrollTop) + 'px');
}
