.ui-tabs .ui-tabs-hide { display: none; }
@media screen {div.printHeader {display:none;}}
/*global reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, 
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
border: 0;
outline: 0;
font-size: 100%;
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}

/* remember to define focus styles! */
:focus {
outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
text-align: left;
}


/* -- General styles ------------------------------ */
body {
	min-width: 1150px;
	margin: 10px; padding: 0;
	background: #a8e7fe url(../images/body_bg.png) top left repeat-x;
	padding-bottom: 1px;
	font-size: 11px;
}

body, td, th { font-family: Arial, Helvetica, sans-serif; }

html, body { height: 95%; }

#minwidth { min-width: 790px; }

.clr { clear: both; overflow:hidden; height: 0; }

a, img { padding: 0; margin: 0; }

img { border: 0 none; }

form { margin: 0; padding: 0; }

h1 {
	margin: 0; 
	padding-bottom: 8px;
	color: #008ec5;
	font-size: 20px;
	font-weight: bold;
    position: relative; /* ! nesessary for light effect (see below) */
}

h1 b {  /* code to implement this effect: <h1>Header<b></b></h1> */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 14px;
	background: #FFF;
	overflow: hidden /* for IE6 */;
    opacity: 0.50;
    filter: alpha(opacity=50);
}


h2 {
	font-size: 16px;
}

h3 {
	font-size: 13px;
}

a:link    { color: #008ec5; text-decoration: none; }
a:visited { color: #008ec5; text-decoration: none; }
a:hover   { text-decoration: underline; }
DNF { color: #008ec5; font-style: italic; }

fieldset {
	margin-bottom: 10px;
	border: 1px #a8e7fe solid; 
	padding: 5px;
	text-align: left;
	-moz-border-radius: 4px; -webkit-border-radius: 4px;
}

fieldset p {  margin: 10px 0px;  }

legend    {
	color: #008ec5;
	font-size: 12px;
	font-weight: bold;
}

.dialog button,  .dialog input, .dialog select, 
.edit_data_form button,  .edit_data_form input, .edit_data_form select {
	width: 150px;
}

.edit_wide_data_form button,  .edit_wide_data_form input, .edit_wide_data_form select {
	width: 300px;
}

input, select, textarea, button {
	font-size: 12px;
	border-top: 1px solid #999; 
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ddd;
	background-color: #fafafa;
}
input {
	margin-bottom: 2px;
	height: 20px;
	font-size: 14px;
}
input[disabled], select[disabled]{
	color: grey;
	background-color: #F0F0F0;
}
input[type=checkbox], input[type=radio]{
	width: 18px;
	height: 18px;
}
input[type=checkbox], input[type=radio], input[type=checkbox]:focus, input[type=radio]:focus{
	border: 0px;
	background-color:transparent;
	background-position:100% 0;
	background-repeat:no-repeat;
}
.small_input input[type=checkbox], input[type=radio] {
	width: 15px;
	height: 15px;
}
.ui-datepicker .ui-datepicker-buttonpane button {
	height: 26px !important;
}
.show_admin_cards input{ 
	width: 30px !important;
	height: 16px !important;
	font-size: 11px !important;
}
.show_admin_cards input[name=number] {
	width: 100px !important;
}
.show_admin_cards select { 
	width: auto !important;
	height: 18px !important;
	font-size: 11px !important;
}
.show_admin_cards .datepicker  { 
	width: 60px !important;
}
 option, .fblock {
	margin-bottom: 2px;
	margin-top: 2px;
	height: 21px;
}
select.multiple {
	height: 84px;
}
.menuLang select, .menuLang option, .menuLang input {
	margin-bottom: 0px;
	margin-top: 0px;
	height: 18px;
	font-size: 11px;
}
button  {
    height: 20px;
    font-size: 14px;
    margin-bottom: 2px;
}

input.disabled { background-color: #F0F0F0; }

input.button  { cursor: pointer;   }

input:focus, select:focus, textarea:focus 
{ 
	background-color: #ffe;
	border-top: 1px solid #4895b1;
	border-left: 1px solid #9fd4e7;
	border-right: 1px solid #9fd4e7;
	border-bottom: 1px solid #a8e7fe;
}

/* -- overall styles ------------------------------ */

#mainhdr          { background: url(../images/hdr_mid.png) repeat-x; height: 54px; }
#mainhdr div      { background: url(../images/hdr_right.png) 100% 0 no-repeat; height: 54px; }
#mainhdr div div  { background: url(../images/hdr_left.png) no-repeat; height: 54px; }

#mainhdr .title {
	font-size: 16px; font-weight: bold; color: #fff;
	padding: 12px 0 0 260px;
	height: 8px;
	display:block;
}
#mainhdr .title2 {
	font-size: 8px; font-weight: normal; color: #fff;
	padding: 0 0 0 260px;
	letter-spacing: 3px;
	display:block;
}

#mainhdr .version {
	display: block; float: right;
	color: #fff;
	padding: 39px 10px 0 0;
	width: 300px;
        text-align: right;
}

#border-btm 		{ background: url(../images/bottom.png) repeat-x; height:20px; }
#border-btm div  	{ background: url(../images/corner_br.png) 100% 0 no-repeat; }
#border-btm div div 	{ background: url(../images/corner_bl.png) no-repeat; height: 11px; }

#footer {
	background-color: transparent;
}

#footer .copyright { 
	padding: 0; 
	text-align: center; 
	background: transparent;
}

#menu-box   {	
	/* border: 1px solid #a8e7fe;  */
	background: url(../images/hdr_menu.png) repeat-x #feb446;
}

#content-box { background: #f0f0f0; }

#content-box .padding  { padding: 5px 10px 0 10px; }

#toolbar-box 	{ 
	padding:6px 6px 0px 6px;
}

#form-box {
	background: #f0f0f0 url(../images/toolbar_bg.png)  top left repeat-x;
}

#form-box .padding  { padding: 5px 10px 0 10px; }

#form-box {
	padding:6px 6px 0px 6px;
}
#form-box table.toolbar {
    height: 200px;
    margin:0px auto 0px auto;
}

#form-box table.toolbar td {
    padding: 32px;
    font-weight: bold;
}

#form-box table.toolbar img {
    display: block;
    margin: 16px;
    width: 128px;
    height: 128px;
}

#form-box table.toolbar td.button a {
    display: block; 
}
/* status */
#right-menu-block      { /* float: right; text-align:right; */ position: absolute; right: 10px;}
#right-menu-block span { display: block; float: left; line-height: 16px; padding: 4px 10px 0 22px; margin-bottom: 5px; }
#right-menu-block .logout             { background: url(../images/menu/icon-16-logout.png) 3px 3px no-repeat; }

/* toolbar */
div.toolbar { float: left; text-align: left; padding: 0; }

table.toolbar    			 { border-collapse: collapse; padding: 0; margin: 0;	 }
table.toolbar td 			 { padding: 1px 1px 1px 4px; text-align: center; color: #666; height: 48px; }
table.toolbar td.spacer  { width: 10px; }
table.toolbar td.divider { border-right: 1px solid #d5f3f9; width: 5px; }

table.toolbar span { float: none; width: 32px; height: 32px; margin: 0 auto; display: block; }

table.toolbar a {
	display: block; 
	white-space: nowrap;
	border: 1px solid #d5f3f9;
	padding: 2px 10px;
	cursor: pointer;
	color: #333;
	background: #fff url(../images/btn_shadow.png) bottom left repeat-x;
	font-size: 12px; 
}
table.toolbar button {
	display: none; 
	}
table.toolbar a:hover, table.toolbar button:hover  {
	border-left: 1px solid #fff; /*#a8e7fe;*/
	border-right: 1px solid #70b1c7;
	border-bottom: 1px solid #70b1c7;
	text-decoration: none;
	color: #008ec5;
	background: #fff url(../images/btn_shadow_hover.png) bottom left repeat-x;	
}



/*table.formtable tr { background: #fff url(../images/parameter-bg.png) bottom left repeat-x;}*/
table.formtable td { padding: 3px 8px 8px 8px; }
table.formtable td.paramname,
table.formtable td.formparams-name {
/*	background-color: #f6f6f6;*/
	
	text-align: right;
	width: 140px;
	color: #666;
	font-weight: bold;
	background: #fff url(../images/parameter-bg.png) bottom left repeat-x;
/*	border-bottom: 1px solid #e9e9e9;
	border-right: 1px solid #e9e9e9;*/
}

table.formparams td.formparams-value {
/*	background-color: #f6f6f6;*/
	text-align: left;
/*	width: 170px;*/
	color: #333;
	font-weight: normal;
	background: #fff url(../images/parameter-bg.png) bottom left repeat-x;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}

table.formparams td.formparams-descr {
/*	background-color: #f6f6f6;*/
	text-align: left;
/*	width: 170px;*/
	color: #666;
	font-weight: normal;
	background: #fff url(../images/parameter-bg.png) bottom left repeat-x;	
/*	border-bottom: 1px solid #e9e9e9;
	border-right: 1px solid #e9e9e9;*/
}

table.table_data {
	background-color: #f9f9f9;
	border: solid 1px #cccccc;
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 10px 0;
	margin-bottom: 15px;
}
table.table_data.nospace { margin-bottom: 0; }
table.table_data tr.r0 { background-color: #f9f9f9; }
table.table_data tr.r1 { background-color: #eeeeee; }

table.table_data th {
	font-size: 11px;
	padding: 6px 2px 4px 4px;
	text-align: left;
	height: 25px;
	color: #000;
	background: bottom left repeat-x;
}
table.table_data td { padding: 3px; text-align: left; }

fieldset.table_data { border: 1px solid #ccc; margin: 0 10px 10px 10px; }

table.objlist {
	width: 100%;
	border-spacing: 1px;
	background-color: #cccccc;
	color: #666;
}

table.objlist td,
table.objlist th { 
	padding: 4px;
	border: 1px solid #C0C0C0; 
}

table.objlist thead th {
	text-align: center;
	background: #fff url(../images/btn_shadow.png) bottom left repeat-x;
	color: #666;
	Vertical-align: middle;
	border-bottom: 3px solid #feca5f;
/*	border-left: 1px solid #fff;*/
}

table.objlist thead a:hover { text-decoration: none; }
table.objlist thead th img { vertical-align: middle; }
table.objlist tbody th { font-weight: bold; }

table.objlist tbody tr		{ background-color: #fff;  text-align: center; }
table.objlist tbody tr.r1 	{ background: #eefbff;}

table.objlist tbody tr.r0:hover td,
table.objlist tbody tr.r1:hover td  { background-color: #fffcb8; }

table.objlist tbody tr td 	{ height: 25px; background: #fff; }
table.objlist tbody tr.r1 td { background: #eefbff;}

table.objlist tfoot tr { text-align: center;  color: #333; }
table.objlist tfoot td,
table.objlist tfoot th { background-color: #f3f3f3; text-align: center; }

table.objlist td.order 		{ text-align: center; white-space: nowrap; }
table.objlist td.order span { display: block; width: 20px; text-align: center; }

/* image buttons inside table rows */
.tabletoolbtn {
	margin: 0 1px 0 0px;
	padding: 0;
	display:inline-block;
}
.objlist input[type=checkbox] {
	width: 16px;
	height: 16px;
	border: 0px;
}
table.pagination {
	margin: 4px auto 4px auto;
	text-align: center;
	vertical-align: bottom;
}
.pagination div{
	margin: 0;
	display: inline;
	vertical-align: bottom;
}
.pagination div a:link, .pagination div a:visited {
	padding: 2px 6px 2px 6px;
	background: #5eaad4 url(../images/btn_shadow.png) bottom left repeat-x; 
	color: #333;
}
.pagination div a:hover {
	background: #fecc67 url(../images/btn_shadow_hover.png) bottom left repeat-x; 
	color: #333;
}
.pagination div#arrow a:link, .pagination div#arrow a:visited {
	padding: 0 3px 0 3px;
	background: transparent; 
	display: inline;
}
.pagination div #arrow a:hover {
	background: transparent; 
}
.pagination div#current {
	padding: 2px 6px 2px 6px;
	font-weight: bold;
	background: #fecc67 url(../images/btn_shadow_hover.png) bottom left repeat-x; 
	display: inline-block;
}
/* user status colors */
#cl_green { color: #090; font-weight: bold;}
#cl_yellow { color: #bb0; font-weight: bold;}
#cl_red { color: #900; font-weight: bold;}
#cl_gray { color: #777; font-weight: bold;}

table.formorganize { width: 100%; border-collapse: collapse; padding: 0; margin: 0; }
table.formorganize tr 		 { vertical-align: top; }
table.formorganize fieldset { margin: 15px 7px 7px 7px; }

div#element-box {
	border: 1px solid #ccc;
	padding: 10px; 
}

div#toolbar-box {
	background: #f0f0f0 url(../images/toolbar_bg.png)  top left repeat-x;
}

div#element-box {
	background: #fff;
}

/* div#toolbar-box, */
div#element-box div.section-box {
	background: #fbfbfb;
}

.tabletools {
	text-align:right;
	padding-bottom: 4px;
}

.title-box {
/*	float:left;*/
/*	width: 70%;*/
}

/* Form buttons */
a.button, div.button, del.button{
	display:-moz-inline-box;
	display:inline-block;
	cursor:pointer;
	border:none;
	font-size:0;
	line-height:0;   
	/* for Safari, read this first
	http://creativebits.org/webdev/safari_background_repeat_bug_fix
	*/
	background-position:0 0;
	background-repeat:no-repeat;
	height:27px;
	text-decoration:none;
	color:#2e523b;
	font-style:normal;
	margin:6px 6px 0px 0;
	padding:0 10px 0 0;	
	vertical-align:middle;	
}
.button { 
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12pt;
} 
.upload_but {
	-moz-border-radius: 4px; -webkit-border-radius: 4px;
	width: 50%;
	margin: 0 auto;
	text-align: center;
}

a.button, div.button, del.button,
div.button button, div.button input {
	background-image:url(../images/form-buttons.png);
}


a.button span, div.button button, div.button input, del.button span{
	
	white-space:nowrap;
	cursor:pointer;
	color:#222;
	display:-moz-inline-box;
	display:inline-block;
	line-height:1;
	letter-spacing:0 !important;
	font-family:"Arial" !important;
	font-size:12px !important;
	font-style:normal;
	font-weight:bold;
	background-color:transparent;
	background-position:100% 0;
	background-repeat:no-repeat;
	height:27px;
	padding:8px 20px 0 10px;
	margin: 0px -16px 0 10px;
	border:none;
	vertical-align:text-top;
	
}

div.button button{
   line-height:2.5;/*Opera need this*/
}

html.safari a.button span, 
html.safari del.button span{
  line-height:1.3;
}

html.safari div.button button{
  line-height:2.6;
}

html.safari a.button:focus,
html.safari div.button button:focus{
    outline:none;
}

del.button{
	/* cursor:not-allowed;	*/
	background-position:0 0;
}

del.button span{
	cursor:default;
    color:#aaa !important;
	background-position:100% -108px;
}

div.button button, div.button input{
	padding-top:0px;
	line-height:2.5;/*Opera need this*/
}

/** optional **/
/*
a.button:visited{
	color:#aaa;
}
*/

/*Hover Style*/
a.button:hover, 
div.button:hover,
a.button:focus, 

a.dom-button-focus, 
div.button-behavior-hover{
	background-position:0 -54px;
	color:#222;
	text-decoration:none;
}

a.button:hover span, 
div.button:hover button,
a.button:focus span, 

div.button-behavior-hover button,
div.button-behavior-hover input{
	background-position:100% -54px;
}

a.button:active, a.button:focus span{
	color:#444;
}

del.button-behavior-hover, del.button:hover{
	background-position:0 -162px;
	/* cursor:not-allowed; */
}

del.button-behavior-hover span, del.button:hover span{
	background-position:100% -162px;
	/* cursor:not-allowed; */
	
}
@media screen {
.FormSearch {
    background: url('../icons/form/search_find.png') no-repeat 0 1px;
    padding-left: 17px;
}

.datepicker, .datepicker-select {
    background: url('../icons/form/calendar.png') no-repeat 0 1px;
}

.ins_calc {
    background: url('../icons/form/calculator_add.png') no-repeat 0 1px;
}


.ins_calc, .datepicker, .datepicker-select, .FormSearch  {
	background-color: #fafafa;
        padding-left: 17px;
	background-position:2px;
	font-size: 14px;
	height: 20px;
	width: 133px !important;
}

input.ins_calc {
	width: 106px !important;
}

button[type=button].calculator-trigger {
    margin-left: 2px;
    position: relative;
    top: 0.5px;
    height: 24px;
    width: 24px;
}
}

.jTip img {
    position: relative;
    top: 3px;
}

.tabletools .FormSearch  {
	width: 250px !important;
}


.file_button  a:hover {
	text-decoration:none;
}
.file_button  img {
	border: 2px;
}
.file_button   {
	text-align: center;
	width:		150px;
	height:		150px;
}

.upload_but{
	text-align: center;
	border: solid 1px #7FAAFF; 
	background-color: #C5D9FF; 
	padding: 2px;
	height:		30px;
}
.stat_en {
color: green;
}

.stat_dis {
color: red;
}
hr.mess_hr {
color: white;
background-color: white;
border: 1px;
height: 2px;
}
hr.mess_hr {
color: white;
background-color: white;
border: 1px;
height: 2px;
}
.app_mess p {
	font-size:15px;
}
.file_button p  {
	font-size: 12px !important;
}
.app_mess .file_button a  {
	min-height:120px;
	min-width:120px;
	border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; outline: none;
	-moz-border-radius: 8px; -webkit-border-radius: 8px;
}
.app_mess .file_button a:hover  {
	min-height:120px;
	min-width:120px;
	 border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; outline: none; 
}
sup {
	font-size: 9px;
}
.left_align {
	width: 100%;
	text-align: left;
}
.field_block {
	width: 100%;
	height: 100px;
	text-align: left;
	display:block;
}

.dialog  {
 width: 400px; 
 margin: 0px auto;
}
div.wide, .wide div.dialog_tabs {
    width: 700px;
}
.dialog .ins_cal {
	width: 133px;
}
.debug_area {
	width: 90%;
	height: 300px;

}
.module_name{
	text-align: left;
}
.edit_data_form , .dialog { /*Тут будет большая форма*/
	text-align: center;
}
.edit_data_form  input[type=submit], .dialog input[type=submit] {
	float: right;
	margin-top:10px;
}
div.edit_data_form{
	display: block;
	width: 900px;
	margin: 0 auto;
}


.edit_wide_data_form div#tabs {
	width: 650px;
}

div.page-fix-block, table.page-fix-block, .form-fix-input input[type=text]{
	display: block;
	width: 650px;
	margin: 0 auto;
}
div.edit_group  {
	width: 600px;
}
input[type=submit], input[type=button], button {
	color: black;

}
/*Таймеры в тарифах*/
select[name=start_time_minute], 
select[name=start_time_hour],
select[name=stop_time_minute], 
select[name=stop_time_hour]{
	width: 50px;
}
.dialog_tabs {
 text-align: center;
 width: 400px;
}

.app_header{
 float: center;
 text-align: center;
}
fieldset.app_mess , .txt_app  fieldset {
	width: 80%;
	display: block;
	margin: 0 auto;
	border: 1px solid #dddddd; 
	background: #eeeeee; 
	color: #333333;
	margin-top: 20px;
}
.txt_app input, .txt_app select{
	width: 300px;
	height: 20px;
} 

.app_mess legend{
	border: 1px solid #e78f08; 
	background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; 
	color: #ffffff; 
	font-weight: bold;
	width: 50%;
	text-align:	center;
	margin: 4px;
	padding: 4px;
	-moz-border-radius: 4px; -webkit-border-radius: 4px;
}

.corners {
	-moz-border-radius: 4px; -webkit-border-radius: 4px;
}

div.ui-datepicker{
	z-index: 			9999;
}

select.ui-datepicker-month,
select.ui-datepicker-year {
    height: 20px;
}




/*cl_tarif*/

div.cl_tarif_desc{
	-moz-border-radius: 	5px;
	-webkit-border-radius:	5px;
	font-size: 14px;
	border: 1px solid #cccccc; 
	background: #f6f6f6; 
	color: #333333; 
	outline: none; 
    padding: 20px;
    margin-top: 20px;
}
div.cl_tarif_desc_sel{
	border: 1px solid #fbd850; 
	background: #ffe48c; 
}
div.cl_tarif_desc:hover{
	border: 1px solid #fbd850; 
	background: #fdf5ce; 
}
.sel_traff a   { 
	float: right;
	color: #c77405; 
}
.sel_traff a:hover   { 
	text-decoration: none;
	color: #eb8f00; 
}
.cl_tarif_desc h2, .cl_traff_desc h2{ 
	color: #c77405; 
	font-size: 18px;
    margin-top: 0px;
	
}
div.cl_traff_desc{
	font-size: 14px;
	width: 405px;
	height: 335px;
	background: #f6f6f6; 
	color: #333333; 
	padding: 10px;
    margin: 0px;
}
.sel_traff .link_more{
	font-size: 12px;
}
.mess_info{
	text-align: center; 
	font-size: 16px;
	
}
/*system info*/
.info_tbl { font-size:14px; }
.info_tbl tr { vertical-align:top  !important; }
.gw_info_tbl tr { vertical-align:bottom  !important; }
.toggler { padding: 0.4em; }
#button { padding: .5em 1em; text-decoration: none; }
#effect {  padding: 0.4em;  }
#effect h3 { margin: 0; padding: 0.4em; text-align: center; }
.ui-effects-transfer { border: 2px dotted gray; } 
textarea[name=txt] { /*для tinyMCE*/
	width: 99%;
}
.seltype_links img {  padding: 0.4em;  }
fieldset.form_legend_hide_show  > legend  {cursor:pointer;}
fieldset.form_legend_hide_show {border: 1px solid #fbd850;}

a.tp-ui-button {margin: 8px; margin-top: -2px; padding: 4px 0; cursor: pointer; float: left; }
a.tp-ui-button span.ui-icon {float: left; margin: 0 4px;}


div.c2 p {margin: 15px 10px 0px;}
div.c2 input {margin: 5px;}

div.error {
	color: red !important;	
}

.negative {
	color: red !important;	
}
.positive {
	color: green !important;	
}

div.is_saved {
	color: green !important;
}


