HTML, BODY, FORM, TD { margin: 0px; padding: 0px; }

.l { text-align: left !important; }
.r { text-align: right !important; }
.c { text-align: center !important; }
.j { text-align: justify !important; }
.vt { vertical-align: top !important; }
.vm { vertical-align: middle !important; }
.vb { vertical-align: bottom !important; }
.b { font-weight: bold !important; }
.t { font-size: 10px !important; }
.nowrap { white-space: nowrap !important; }

.warning { color: #800000 !important; }
.error, .deleted { color: #ff0000 !important; }
.good { color: #008000 !important; }
.verygood { color: #00cc00 !important; }
.notify { color: #D87000 !important; }
.noactive { color: #F9F9F9 !important; }
.comment { font-size: 11px; color: #808080 !important; }

/*
.sl {border-left: 1px solid black;}
.sr {border-right: 1px solid black;}
.sb {border-bottom: 1px solid black;}
.st {border-top: 1px solid black;}
*/
A IMG {border: none;}
/*
IMG .ico_add {width: 18px; height: 18px; background: url(/shared/img/add.png); vertical-align: middle;}
A .ico_add {width: 18px; height: 18px; background: url(/shared/img/add.png) no-repeat left top; vertical-align: middle;}

.ph_transl_popup_div {border: 1px #FF6633 solid; position: absolute; padding: 0 3px 3px 3px; background: #00FFFF;}
*/

TD.separator {height: 1px; background-color: #215c99;}

TABLE.ph_cala_table {width: 200px; border-right: 2px #666666 solid; border-bottom: 2px #666666 solid; border-top: 2px #cccccc solid; border-left: 2px #cccccc solid; font-family: Arial, Helvetica, sans-serif;  font-size: 12px; background-color: #F8F8FF; z-index:100; position:absolute; }
TABLE.ph_cala_table TR {text-align: center;}
TABLE.ph_cala_table THEAD TR TD {padding:3px 2px 3px 2px;}
TABLE.ph_cala_table TFOOT TR TD {padding:3px 2px 3px 2px;}
TABLE.ph_cala_table TR TH {background-color: #FFFFFF; border-bottom: 1px solid black; width: 14%; padding:2px; }
TABLE.ph_cala_table TR TD {background-color: #F8F8FF; border: 1px solid #F8F8FF;  cursor: default;}
TABLE.ph_cala_table TR TD DIV {padding:2px;}
TABLE.ph_cala_table .ph_cala_weekend {color: #FF0000;}
TABLE.ph_cala_table TR TD.ph_cala_m_over {background-color: #E3E3FF; border: 1px solid #B9B9FF;}

DIV.ph_ers_div {z-index: 200; position: absolute; text-align: left;}
DIV.ph_ers_div IMG.ph_ers_mark_img {background:url(/shared/img/error_box_mark.gif); width: 15px; height: 8px; display: block;}
DIV.ph_ers_div DIV.ph_ers_div_text {background: #ffeeaa; border-left: 2px #ff3838 solid; border-top: 2px #ff3838 solid; border-right: 2px #c50202 solid; border-bottom: 2px #c50202 solid; padding: 5px; color: #990000; font-weight: bold; font-size: 12px;}

.survey_outer_table {width: 780px;}
.survey_outer_table_caption {font-size: 16px; font-weight: bold;}
/*.survey_outer_table_description {text-align: center;} - use style from WSYWYG from now */
.survey_outer_table_description {} 
.survey_inner_table {width: 100%;}
.survey_button_save_container {text-align: center !important;}
.survey_button_save {}
.survey_label {text-align: right;}
.survey_data {text-align: left;}
.survey_spaned_label {text-align: left;}
.survey_spaned_data {text-align: left;}

.individual_data_table {width: 780px;}
.individual_data_table_caption {font-size: 16px; font-weight: bold; text-align: center !important; padding-bottom:10px;}

/* rvl = reveal - раскрывающиеся блоки */
DIV.rvl_block { position:relative; }
DIV.rvl_block H4 { text-align:left; font-size:14px; padding:0; margin:0; cursor:pointer; border-bottom: #999 1px dashed; display:inline; }
DIV.rvl_block DIV.rvl_text { display: block; position: absolute; overflow:hidden; visibility:hidden; margin:0!important; padding:0!important; }
DIV.rvl_separator { height:10px; }

.prj_column_controls { text-align: right; padding-bottom: 5px; }
.prj_column_control_edit { background:url(/shared/img/edit2.gif) no-repeat 0 1px; width:18px; height:18px; vertical-align:middle; }
.prj_column_control_new { background:url(/shared/img/prj_text_new.gif) no-repeat 0 0; width:18px; height:18px; vertical-align:middle; }
.prj_column_control_order { background:url(/shared/img/prj_text_order.gif) no-repeat 0 0; width:18px; height:18px; vertical-align:middle; }
.prj_icon_refresh { background:url(/shared/img/refresh.png) no-repeat 0 0; width:18px; height:18px; vertical-align:middle; }

.prj_new { background:url(/shared/img/add2.gif) no-repeat 0 0; width:18px; height:18px; vertical-align:middle; }

/* form header */
.prj_fh { -webkit-box-shadow: 3px 3px 5px #666; -moz-box-shadow: 3px 3px 5px #666; box-shadow: 3px 3px 5px #666; border-radius:12px; -webkit-border-radius:12px; -moz-border-radius:12px; -khtml-border-radius:12px; border:2px solid #7f7f7f; padding:15px; }
.cpcs { border-collapse:collapse; border-spacing:0 !important; }
.cpcs td { padding:0; }
.prj_fh_tbl {margin:10px auto; text-align:center; }
.prj_fh_tbl td {vertical-align:middle; }
.prj_fh_subm { -webkit-box-shadow: 2px 2px 3px #888; -moz-box-shadow: 2px 2px 3px #888; box-shadow: 2px 2px 3px #888; background:#a1b6b9; margin:2px; padding:1px 3px; background: linear-gradient(to bottom, #fff, #98eded); font-size:13px; border:1px #a0a3a3 solid; color:#647e80; font-weight:bold; }
.prj_fh table td {text-align:left; }

/* prj_attachment_show */
DIV.prj_attach { margin:5px 0; } 
DIV.prj_attach TABLE { table-layout:fixed; width:100%; /*!!!can not be changed*/
	max-width:400px; float:right; border-collapse:collaps; border-spacing:0px; font-size:0.85em; }
DIV.prj_attach TABLE CAPTION { text-align:left; margin:0; padding:0 0 10px 0; font-weight:bold; }
DIV.prj_attach TABLE TR:hover { background:#f6fbfe; }
DIV.prj_attach TABLE TD { white-space:nowrap; word-wrap:normal;  /*!!!can not be changed*/
	vertical-align:middle; text-align:left; padding:4px; border-bottom:1px #eee dashed; }
DIV.prj_attach TABLE TD A { overflow:hidden; /*!!!can not be changed*/
	padding:0 0 0 20px; }
DIV.prj_attach TABLE TD:first-child { overflow:hidden; /*!!!can not be changed*/
	text-overflow:ellipsis; } 
DIV.prj_attach TABLE TD:last-child { width:50px; text-align:right; font-size:0.9em; }

/* data_table */
.data_table CAPTION { font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 14px; color: #215c99; font-weight: bold; text-align: center; padding-bottom: 3px; }
.data_table { border-collapse:separate; border-spacing:1px;}
.data_table TR:nth-child(even) { background: #eff1f6; } 
.data_table TR:nth-child(odd) { background: #fff; }
.data_table TR TD:nth-child(1) { border-left:1px solid #bbb; }
TABLE.data_table TD, TABLE.data_table TH,  TABLE.dt_header_fix TH { border-right:1px solid #bbb; border-bottom:1px solid #bbb; padding:2px 3px; }
.data_table TH, .dt_header_fix TH { font:bold 12px Arial, Verdana, Helvetica, sans-serif; background:#215c99; color:#fff; text-align:center; }
.data_table TR:hover { background:#afedef; }
.data_table TH.dt_th_hover, .dt_header_fix TH.dt_th_hover { background:#67a4ff; }
.data_table TD.dt_sel { background:#ffcc99; }

.data_table TR.dt_subtitle { background:#bdd8f4; text-align:center; font-weight:bold; }
.data_table TR.dt_sub_up TD { background:#bdd8f4; padding:0; border:none; height:0; }

.data_table TR.dt_red { background:#fdc0bc !important; }
.data_table TR.dt_red:hover { background:#fa6c62 !important; }
.data_table TR.dt_green { background:#b3ffbc !important; }
.data_table TR.dt_green:hover { background:#3efc55 !important; }
.data_table TR.dt_yellow { background:#fdfda3 !important; }
.data_table TR.dt_yellow:hover { background:#ff0 !important; }
.data_table TR.dt_gray { background:#a5a5a5 !important; }
.data_table TR.dt_gray:hover { background:#999 !important; }
/* data_table header*/
.dt_header_fix {  position: fixed; top: 0px;  border-collapse:separate; border-spacing:1px; display:none; }
