.tri div {
    padding-left: 12px;
    margin-bottom: 3px;
}
.tri div div div {
    padding-left: 12px;
    margin-bottom: 3px;
}   
.tri div.lin {
    background: url('/PWE2/images/none.gif') no-repeat;
}
.tri div.lip {
    background: url('/PWE2/images/plus.gif') no-repeat;
}
.tri div.lim {
    background: url('/PWE2/images/minus.gif') no-repeat;
}
.tri div.lin, .tri div.lip, .tri div.lim {
    background-position: 0 4;
}

.lipad {
    padding-left:12px;
}

table#wait {
    /*display: block;*/
    position: absolute;
    top: 0px;
    width: 100%;
    /*height: 100%;*/
    z-index: 22;
    cursor: default;
    /*background: url('/PWE2/images/alfa0.png');
	background: expression("none");
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/PWE2/images/alfa0.png", sizingMethod="scale");    */
    /*background-color: white;*/
    /*background: url(/PWE2/images/alfa.gif);*/
}
table#popUpShell {
    /*display: block;*/
    position: absolute;
    top: 0px;
    width: 100%;
    /*height: 100%;*/
    z-index: 20;
    cursor: default;
    background: url('/PWE2/images/alfa3.png');
    background: expression("none");
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/PWE2/images/alfa3.png", sizingMethod="scale");
    /*background-color: white;*/
    /*background: url(/PWE2/images/alfa.gif);*/
}
td#popUpShellContent {
    padding: 70px 10px 10px 10px;
}
table#popUpImg {
    display: table;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 23;
    cursor: default;
    background: url('/PWE2/images/alfa9.png');
    background: expression("none");
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/PWE2/images/alfa9.png", sizingMethod="scale");
}
/*td#popUpImgContent {
	background: url('/PWE2/images/blue-loading.gif') no-repeat;
	background-position: center;
}*/
td#popUpImgContent, td#popUpImgContent * {
    color: white;
}
td#popUpImgContent img {
    margin: 20px;
    border: 1px solid white;
}

.popUp {
    /*display: block;*/
    /*position: absolute;
    top: 40%;
    left: 40%;*/
    /*  border: 1px solid #333333; *//*#7e7e81;*/
    background-color: white;
    min-width: 300px;
    /* width: 100%; */
    /*height: 400px;*/
    /*z-index: 21;*/
}
.iface {
    text-align: right;
    background: #e6e5e8 url('/PWE2/images/iface/bg.gif') repeat-x;
    padding: 1px;
    border-bottom: 1px solid #c0c0e9;
    border-right: 1px solid #c0c0e9;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    white-space: nowrap;
}
.iface input {
    border: none;
    cursor: default;
    margin: 4px;
}
.iface h1 {
    font-size: 8pt;
    font-weight: bold;
    float: left;
    margin: 1px 5px 0px 8px;
    color: black;
    height: 26px;
    line-height: 21px;    
}
.eiface {
    text-align: right;
    background: #e6e5e8 url('/PWE2/images/iface/bg.gif') repeat-x;
    white-space: nowrap;
    display: inline;
}
.eiface img.butn {
    margin: 0 2px 0 2px;
    vertical-align: text-bottom;
}
.eiface2 {
    white-space: nowrap;
    display: inline;
}
.eiface2 img, .eiface2 input {
    margin: 0 2px 0 2px;
    vertical-align: text-bottom;
}
.eiface2 input {
    display:inline;
}
.ifb {
    cursor: pointer;
    cursor: hand;
}
/*.popUp .iface {
    cursor: move;
}*/
#popUpIface2.iface {
    border-top: 1px solid #c0c0e9;
    font-size: 8pt;
}
#popUpContent {
    min-height: 50px;
    padding: 5px;
    height: 100px;
}
#popUpContent * {
    color: black;
    font-family: Arial, sans-serif;
    font-size: 8pt;
}
#popUpContent A:link, #popUpContent A:visited, #popUpContent .link {
    color: #0000ff;
}

#popUpContent A:hover {
    color: #ff0000;
}
#popUpContent H1 {
    font-size: 14pt;
}
#popUpContent H2 {
    font-size: 12pt;
}
#popUpContent .warn {color: #ff0000 !important;}
#popUpContent .warn_hl {
    background-color: #f10000 !important;
    color: white !important;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 1px;
}
#popUpContent .green {color: #00C600 !important;}

#popUpContent img.warn {
    background-color: red;
}
#popUpContent img.link {
    background-color: black;
}

#popUpContent option {
    margin-right: 5px;
}

#popUpContent legend {
    font-family: Tahoma,sans-serif;
    font-size: 8pt;
    color: #666666;
    padding: 0 5px 1px 5px;
    border: 1px solid #666666;
    background-color: #e5e5e5;
    margin-left: 5px;
    margin-top: 2px;
}
#popUpContent legend.nopadd {
    padding: 0px;
}
#popUpContent fieldset {
    border:1px solid #666666;
    /*padding: 10px 5px 10px 5px;*/
}

#popUpContent fieldset th {
    background-color: #e5e5e5;
    padding:5px;
}

#popUpContent table.brdr {
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
    empty-cells: show;
    border-collapse: collapse;
}
#popUpContent table.brdr td, table.brdr th  {
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    background-color: white;
}
#popUpContent table.brdr th {
    background-color: #e5e5e5;
    color: black;
    font-size: 7pt;
    font-weight: bold;
}
#popUpContent table.brdr th A {
    font-size: 7pt;
    font-weight: bold;
}
#popUpContent table.brdr th, #popUpContent table.brdr td {
    padding: 5px;
}
#popUpContent table.brdr .hl td, div.hl, td.hl {
    background-color: #C0FFC0 !important;
}
#popUpContent table.brdr .hld td, div.hld, table.brdr td.hld {
    background-color: #FFDFDF !important;
}
#popUpContent table.brdr .hlr td, div.hlr, table.brdr td.hlr {
    background-color: #ffff61 !important;
}
#popUpContent table.brdr .hlg td, td.hlg {
    background-color: #f5f5f5 !important;
}
#popUpContent table.brdr .lb {
    border-left: 3px solid #cccccc;
}
#popUpContent .bold * {
    font-weight: bold;
}
/* img {
	margin-left: 2px;
}*/
#popUpContent table.brdr tr.hltr td {
    background-color: #DBFFB7;
}
#popUpContent table.brdr tr.grtr td {
    background-color: #f5f5f5;
}
#popUpContent table.brdr tr.ded td {
    background-color: #f0f0f0;
}
#popUpContent table.brdr tr.ded td, #popUpContent table.brdr tr.ded td A, #popUpContent table.brdr tr.ded td * {
    color: white !important;
}
#popUpContent table.table td {
    padding: 2px 5px 2px 5px;
}

#popUpContent .fold_container {
    border-bottom: 1px solid #666666;
}
#popUpContent A.fold, #popUpContent A.fold_a {
    display: inline;
    font-size: 8pt;
    cursor: pointer;
    cursor: hand;
    border: 1px solid #666666;
    padding: 2px 5px 2px 5px;
    text-decoration: none;
    line-height: 20px;
    margin: 0 5px 0 0;
    position: relative;
    top: 1px;
    white-space: nowrap;
}
#popUpContent A.fold span, #popUpContent A.fold_a span {
    font-size: 8pt;
    text-decoration: none;
    line-height: 20px;
    color: #666666 !important;
}
#popUpContent A.fold {
    background: #d7d7d9 url(/PWE2/images/iface/bg.gif);
    background-position: center;	
    color: #666666 !important;
}
#popUpContent A.fold:hover {
    color: black !important;
}
#popUpContent A.fold_a {
    background-color: white;
    border-bottom: 1px solid white;
    color: #666666 !important;
}
#popUpContent div.fold_s {
    display: inline;
    border: 1px solid #666666;
    padding: 2px;
    font-size: 1px;
    height: 40px;
    /*line-height: 25px;*/
}
#popUpContent div.fold_s spacer {
    width: 1px;
    height: 1px;
}
#popUpContent div.fold_content { /* border (table) under interface buttons (folders) */
                                 border: 1px solid #666666;
                                 margin: 0 0 5px 0;
                                 border-top: none;
}

#popUpContent .subtable {

}
#popUpContent .subtable td {
    padding: 3px;
}
#popUpContent .mceToolbar td {
    padding: 0;
}
#popUpContent #submit, #popUpContent #submit2 {
    display: inline;
    border-left: 3px solid white;
    border-right: 3px solid white;    
}
#popUpContent .submitWarn {
    border-left: 3px solid red !important;
    border-right: 3px solid red !important;
}
#popUpContent .pcmenu {
    /* padding-bottom: 5px; */
    margin-bottom: 3px;
    margin-top: 3px;
    /* border-bottom: 1px solid #cccccc; */
    font-size: 8pt;
}
#popUpContent .pcmenu A {
    margin: 0 20px 0 0;
    white-space: nowrap;
}
#popUpContent .pcmenu A img {
    margin-left: 5px;
}
#popUpContent hr {
    border: 0 none #cccccc;
    border-top: 1px solid #cccccc;
    height: 1px;
    margin-right: 5px;
    margin-top: 5px;
    display: block;
    clear: both;
}
#popUpContent tr.fresh td {
    background-color: #CEFFCE !important;
}

#popUpContent .warn_bg {
    background-color: #ffbdbd !important;
}

#popUpContent table.calendar {
    border: 1px solid #cccccc;
}
#popUpContent table.calendar A {
    cursor: pointer;
    cursor: hand;
    text-decoration: none;
}
#popUpContent table.calendar td.we {
    background-color: #ffcaca;
    color: #9e0000;
}
#popUpContent table.calendar td.we A {
    color: #9e0000;
}
#popUpContent table.calendar td.wo A {
    color: gray;
}
#popUpContent table.calendar td.activ {
    background-color: #ff0000;
}
#popUpContent table.calendar td.activ A {
    color: white;
}
#popUpContent table.calendar A:hover {
    text-decoration: underline;
    color: red;
}

#popUpContent .y, #popUpContent .n {
    font-family: Courier, monospace;
    font-size: 7pt;
    font-weight: bold;
    padding: 0 3px 0 3px;
    text-decoration: none;
    cursor: pointer;
    cursor: hand;
}
#popUpContent .y {
    background-color: white;
    color: black !important;
    border: 1px solid black;
}
#popUpContent .n {
    background-color: #FF0606;
    color: white !important;
    border: 1px solid #9F0000;
}
#popUpContent .gray, #popUpContent A.gray, #popUpContent .gray *, #popUpContent .gray A {
    color: gray;
}

#popUpContent .udash {
    border-bottom: 1px dashed black;
}

#popUpContent ol {
    margin-left: 20px;
    margin-top: 1em;
    margin-bottom: 1em;
}

.dialog {
    display: block;
    position: absolute;
    z-index: 22;
    overflow: visible !important;
    background-color: white;
    border: 1px solid gray;
    padding: 5px;
    text-align: left;
}

.tooltype, .pwe_tooltype {
    display: block;
    position: absolute;
    z-index: 22;
    overflow: visible !important;
    padding: 2px;
    text-align: left;
    width: 400px;
}

.tooltype {
    background-color: #fff4b0;
    border: 1px solid gray;
}

.pwe_tooltype {
    background-color: #ffff00;
    border: 1px solid #ffab00;
}

.jsbaloon {
    display: block;
    position: absolute;
    z-index: 22;
    overflow: visible !important;
    background-color: #eeeeee;
    border: 1px solid gray;
    padding: 2px;
    text-align: left;
    min-width: 400px;
}
.jsbaloon ol {
    margin: 3px;
}
#jsbaloon_i {
    display: block;
    position: relative;
    z-index: 23;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    background-color: #eeeeee;
    width: 1px;
    height: 18px;
    top: -3px;
    left: -3px;
    float: left;
}
.arrow_li {
    display:block;
    font-weight: bold;
    padding: 1px 10px 1px 15px;
    background: url('/pic/li.gif') no-repeat;
    background-position: left center;
}
.dashlink {
    text-decoration: none;
    border-bottom: 1px dashed #0000ff;
}
.nodecoration {
    text-decoration: none;
}
A.arrow_li {
    border: 1px solid white;
}
.ahover_arrow_li {
    background-color: #eeeeee;
    border: 1px solid gray !important;
    color: black;
}
.ahover_arrow_li .dashlink {
    border-bottom: none;
}

#popUpContent td.u {
    background-color: #efefef;
    border: 1px solid #cccccc;
    padding: 2px;
}
#popUpContent input.input {
    border-style: solid !important;
    border-width: 1px !important;
    border-color: gray !important;
    vertical-align: top !important;
    margin: 2px !important;
    padding: 1px !important;
    text-align: left;
}
#popUpContent td.input_title {
    text-align: right;
    font-weight: bold;
}
#popUpContent .tree div {
    padding-left: 12px;
    margin-bottom: 3px;
}
#popUpContent .tree div div div {
    padding-left: 12px;
    margin-bottom: 3px;
}
#popUpContent .tree div.lin {
    background: url('/PWE2/images/none.gif') no-repeat;
}
#popUpContent .tree div.lip {
    background: url('/PWE2/images/plus.gif') no-repeat;
}
#popUpContent .tree div.lim {
    background: url('/PWE2/images/minus.gif') no-repeat;
}
#popUpContent .tree div.lin, #popUpContent .tri div.lip, #popUpContent .tri div.lim {
    background-position: 0 4px;
}

#popUpContent .vertical_menu td {
    padding: 2px 10px 2px 10px;
    border: 1px solid #cccccc;
    background-color: #efefef;
}
#popUpContent .vertical_menu td A:link, #popUpContent .vertical_menu td A:visited {
    text-decoration: underline;
    color: #0000ff;
}
#popUpContent .vertical_menu td A:hover {
    text-decoration: none;
    color: red;
}
#popUpContent .vertical_menu td.activ {
    background-color: red;
}
#popUpContent .vertical_menu td.activ A:link, #popUpContent .vertical_menu td.activ A:visited {
    color: white;
}
#popUpContent .big {
    font-size: 12pt;
}
#popUpContent .bgwarn {
    background-color: #ffa45d !important;
}
#popUpContent table.ftable {
    border-collapse: separate;
    border: 1px solid white;
}
#popUpContent table.ftable td {
    background-color: #eeeeee;
}

/* �����, ��������� ��������� ���� */
.hlwords {
    background-color:#FFFF00;
    padding:0 3 0 3;
}

.votebar {
    background-color: #FF8040;
    border: 1px solid white;
    display: table;
}

.pointer, .pointer img {
    cursor: pointer;
    cursor: hand;
}

.png {
    behavior: url('/PWE/images/pngbehavior.htc')
}

/* CPanel */
.cpanel {
    background-color: #e0dfe3;
    border-bottom: 1px solid #7e7e81;
    /*border-right: 1px solid #7e7e81;
    border-left: 1px solid white;*/
    border-top: 1px solid white;    
    width: 100%;
    vertical-alignment: middle;
    color: black;
    font-family: Tahoma,Arial,sans-serif;
    font-size: 8pt;
    position: fixed;
    position: expression("absolute");
    width: expression(document.body.clientWidth);
    top: expression(document.body.scrollTop + this.offsetHeight - this.offsetHeight);
    z-index: 1000;    
}

.cpmenu1, .cpmenu1h {
    cursor: default;
    padding: 5px 10px 5px 10px;
    line-height: 25px;
    color: black;
    text-decoration: none;
}
.cpmenu1 {
    background-color: #e0dfe3;
}
.cpmenu1h {
    background-color: #cccccc;
}
.cpslider {
    border: 1px solid #7e7e81;
    color: black;
    font-family: Tahoma,Arial,sans-serif;
    font-size: 8pt;
    /*position: fixed;
    position: expression("absolute");*/
    width: 200px;
    position: absolute;
    top: expression(document.body.scrollTop + this.offsetHeight - this.offsetHeight);
}

.cpmenu1_informer {
    margin-left: 10px;
    padding-left: 15px;
    padding-right: 10px;
    background: url('/PWE2/images/incoming_msg.gif') no-repeat;
    background-position: center left;
}
.cpmenu2_informer {
    margin-left: 10px;
    margin-right: 10px;
}
.cpmenu1_informer A, .cpmenu2_informer A {
    color: #ff3600 !important; /*#0000ff;*/
}

.cpmenu2, .cpmenu2h {
    display: block;
    height: 21px;
    cursor: default;
    color: black;
    text-indent: 20px;
    white-space: nowrap;
    padding-right: 10px;
    color: black;
    text-decoration: none;
    /*border-bottom: 1px solid #999999;
    border-top: 1px solid white;*/
    line-height: 2em;
}
.cpmenu2 {
    background-color: white;
}
.cpmenu2h {
    background-color: #cccccc;
}
.cpanel_in_content {
    background-color: #e0dfe3;
    border-bottom: 1px solid #7e7e81;
    /*border-right: 1px solid #7e7e81;
    border-left: 1px solid white;*/
    border-top: 1px solid white;
    vertical-alignment: middle;
    color: black;
    font-family: Tahoma,Arial,sans-serif;
    font-size: 8pt;
    padding: 4px;
}
.cpanelTray {
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    cursor: hand;
}
.cpanelTray span {
    background-color: #8e8e8e;
    border-top: 1px solid #6b6b6b;
    border-left: 1px solid #6b6b6b;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 0 10px 0 10px;
}

table#mycab_register_form {
    border-spacing: 5px;
    scrollbar-face-color: expression( runtimeStyle.scrollbarFaceColor = '#fff',cellSpacing = parseInt(currentStyle['border-spacing']));
}
#mycab_register_form {
    width: 400px;
}

.rsz_bn {
    padding:0;
    margin:0;
    cursor:pointer;
    cursor:hand;
}
.rsz_bn img {
    margin:0;
}

.messhandle, .messhandle_ok {
    margin: 2px;
    padding:10px;
}
.messhandle {
    border: 2px solid red;
    color: red;
    background-color: #FFD7D7;
}
.messhandle_ok {
    border: 2px solid green;
    color: green;
    background-color: #D7FFD7;
}
.messhandle img, .messhandle_ok img {
    margin-left: 10px;
}

table.nopadding td, table.nopadding th {
    padding: 0 !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.rub { /* USE: <span class="rub">=</span>P */
    position: absolute;
    font-size: 80%;
    line-height: 155%;
}

.divform form {
    width: 600px; /* задаем ширину формы, чтобы сработал overflow */
    overflow: hidden; /* обрезаем выступы за форму (в частности в ие6 неправильно расчитанный width для div) */
    padding: 2px; /* небольшой отступ чтобы не обрезалась подсветка input в фокусе в Safari и Chrome */
}
.divform div {
    float: left; /* чтобы не было проблем с отступами между блоками */
    width: 100%; /* чтобы блоки не встраивались в одну строку */
    margin-bottom: 5px; /* расстояние между блоками */
}
.divform label {
    float: left; /* делаем метки плавающими и фиксированной ширины чтобы выровнять их по одному уровню */
    width: 100px;
    text-align: right;
    position: relative; /* выравниваем тексты меток и полей по одному уровню */
    top: 2px; /* отступ сверху подбираем в зависимости от размера шрифта и дизайна полей */
    margin-right: 5px; /* чтобы к меткам не прилипали поля */
    font-weight: bold;
}
.divform input[type=text], .divform input[type=password] {/* оформление для полей типа text и password */
    width: 400px;
    background: #fff; /* обязательно указываем цвет фона (или ставим его none), т.к. в браузере могут быть свои значения по умолчанию */
    border: 1px solid #7f9db9; /* цвет бордюра */
    height: 20px; /* явно задаем высоту, для кроссбраузерности */
}
.divform textarea {
    width: 400px;
    background: #fff; /* обязательно указываем цвет фона (или ставим его none), т.к. в браузере могут быть свои значения по умолчанию */
    border: 1px solid #7f9db9; /* цвет бордюра */
    height: 100px; /* явно задаем высоту, для кроссбраузерности */
}
.divform .formText {/* класс для ие6, который не понимает свойства по типам селекторов */
    width: 400px;
    background: #fff;
    border: 1px solid #7f9db9;
    height: 20px;
}
.divform input[type=submit], .divform input[type=button] {/* оформление для кнопки submit */
    margin-left: 65px;
    cursor: pointer; /* меняем указатель для кнопки */
}
.divform .formSubmit {/* класс для ие6 */
    margin-left: 65px;
    cursor: pointer;
    width: auto;
}

* html input {/* хак для ие6, котрый поможет ему понять типы селекторов */
    z-index: expression(
        runtimeStyle.zIndex = 1,
        type == "text" ? (className = "formText") : 0,
                  type == "password" ? (className = "formText") : 0,
                  type == "submit" ? (className = "formSubmit") : 0
                  )
}
.debug_iframe {
    position: absolute;
    z-index: 25;
    width: 500px;
    height: 500px;
}

.font-normal * {
    font-weight: normal !important;
}

/* pre.debug {
    clear: both;
    width: 99%;
    height: 300px;
    overflow: auto;
    display: block;
    border: 1px solid gray;
    position: absolute;
    z-index: 999999;
} */

.debug_window {
    width: 90%;
    position: absolute;
    z-index: 10000000000;
    /* display: none; */
    background-color: white;
    color: black;
    font-family: sans-serif;
    font-size: 8pt;
    margin: 50px;
    padding: 10px;
    border: 1px solid black;
}
