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: 0.9em; color: #808080 !important; }
.crossed { background: rgba(0,0,0,0) url(/shared/img/cross.svg) no-repeat; background-size: 100% 100%; } /* перечеркнутый */

.xls_only { display: none; }

/*
.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;}
.surey_pn_container, .surey_pn_container SPAN, .surey_pn_container A { font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: normal; line-height: normal; text-align: center; text-decoration: none; }
.surey_pn_container SPAN, .surey_pn_container A { display: block; float: left; background-color: #cecece; padding: 2px 8px; border-radius: 15px; border: 2px #0093dd solid; margin: 5px 0; }
.surey_pn_container SPAN { color: #a09a9a; }
.surey_pn_container A { color: #666; text-decoration: none; }
.surey_pn_container A:hover { color: #666; text-decoration: none; background-color: #ffffff; }
.surey_pn_container .surey_pn_page_filled { background-color: #aaec99; }
.surey_pn_container .surey_pn_page_current { color: #000000; }
.surey_pn_container .surey_pn_separator { float: left; width: 25px; height: 21px; background:url(/shared/img/survey_pn_separator.png) no-repeat top center; margin: 10px 5px; padding: 0; }

.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 TD.dt_1 { background: #fff; }
.data_table TD.dt_2 { background: #eff1f6; }
.data_table TD.dt_sel { background: #bfeffd; }
.data_table TD.dt_click { background:#fd9; }
.data_table TH.dt_hsel, .dt_header_fix TH.dt_hsel { background: #67a4ff; }
.data_table TD.dt_num { text-align:center; }

.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!important; }
.data_table TH, .dt_header_fix TH { font:bold 12px Arial, Verdana, Helvetica, sans-serif; background:#215c99; color:#fff; text-align:center; }
.data_table TH A, .dt_header_fix TH A {color:#fff;}
.data_table .dt_no_data_subtitle { background:#bdd8f4; text-align:center; font-weight:bold; }
.data_table .dt_red { background:#fdc0bc !important; }
.data_table .dt_red_sel { background:#fa6c62 !important; }
.data_table .dt_green { background:#b3ffbc !important; }
.data_table .dt_green_sel { background:#3efc55 !important; }
.data_table .dt_yellow { background:#fdfda3 !important; }
.data_table .dt_yellow_sel { background:#ff0 !important; }
.data_table .dt_gray { background:#a5a5a5 !important; }
.data_table .dt_gray_sel { background:#999 !important; }
/* data_table header*/
.dt_header_fix {  position: fixed; top: 0px;  border-collapse:separate; border-spacing:1px; display:none; }
/* data_table sorting*/
TH.dt_sort_str, TH.dt_sort_int { background:#215c99 url(/shared/img/dt_sort.gif) no-repeat right top; cursor:pointer; }

.shared_container { padding:15px 0; }
.shared_caption { color:#215c99; font-weight:bold; font-size:1.1em; padding:0; margin:0 0 10px 0; text-align:center; }

.shared_h2 { font-size:1.1em; text-align:center; margin:30px 0; padding:0; }

.shared_ce_tr, .shared_ce_tr2, .shared_ce_tr3 { padding:7px; background:#fff; }
.shared_ce_tr, .shared_ce_tr2 { display:flex; align-items:center; }
.shared_ce_tr:hover, .shared_ce_tr2:hover, .shared_ce_tr3:hover { background:#eff5ff; }
.shared_ce_tr DIV:first-child, .shared_ce_tr2 DIV:first-child { box-sizing: border-box; width:30%; padding:0 20px 0 0; }
.shared_ce_tr DIV:last-child, .shared_ce_tr2 DIV:last-child { width:70%; }
.shared_ce_tr TEXTAREA, .shared_ce_tr INPUT[type='text'], .shared_ce_tr SELECT { width:100%; }
.shared_cet { margin:0px 0 5px 0;}
.shared_ceb { margin:5px 0 0px 0; padding:2px 3px; border:1px #999 solid; border-radius:5px; background:#fff; }
.shared_g1 { background:#f3f3f3; }
.shared_red { background:#faa; }