body, html,
.mainbg,
#lmenu,
#lmenu .contaner,
.ui-widget-header2,
.ui-layout-resizer{
	background:#ECF0F1;
}

#lmenu,
#lmenu .contaner,
.ui-widget-header2,
.ui-layout-resizer,
.ui-widget-content{
	border-color:#ECF0F1;
}

.ui-layout-west,
#lmenu,
#lmenu .contaner{
	background: #EEEEEE;
}

.tableHeader table{
	border-top:1px solid #E6E9ED;
}
#last .tableHeader table{
	border-top:0;
}

/*.ui-widget-content,*/
.ui-widget-content > a.menu{
	border-right:0;
	background:#F5F7FA;
	border-color:#F5F7FA;
}
.ui-widget-content > a.menu:hover{
	border-right:0;
	background:#ECF0F1;
	border-color:#ECF0F1;
}

.ui-layout-center{
	border:transparent;
}

/*основной контент*/
#content, #contentdiv{
	background: #FFFFFF;
}

/*фон блока навигации по страницам*/
/*.pagecontainer .mainbg,
.pagecontainer .mainbg a{
	border:0;
	color:#FFF;
	background:#34495E;
}*/

/*фон нижней панели*/
/*#footpanel, .ui-layout-east{
	background:#2C3E50;
}
#footpanel ul li > a{
	color:#AAB2BD;
}*/

/*фон меню*/
.menu--block,
#menu{
	background:#8D6E63;//#2C3E50;
}
#menu .hov{
	border-right: 1px solid #8D6E63;//#34495E;
}
#menu ul:hover{
	background: #3E2723;//#34495E;
}
#menu ul ul {
	border-top:2px solid #e3e2e2;
}
#menu ul ul,
#menu ul ul:hover,
#menu a.navlink:link,
#menu a.navlink:visited {
	color:#FFF;
	background:#3E2723;//#34495E;
}
#menu a.navlink:hover{
	color:#3E2723;//#34495E;
	background: #FFF;
}
#menu ul ul li.header{
	color:#E6E9ED;
}
#menu ul > .top-triangle-white{
	border-bottom: 7px solid #3E2723;//#34495E;
}
#menu hr{
	border-bottom: 1px solid #3E2723;//#2C3E50;
}
#menu ul ul:after {
	border-bottom-color: #3E2723;//#34495E;
}
#menu ul ul ul.sub{
	background:#3E2723;
}
#menu ul ul ul.sub:after {
	border-left-color: #3E2723;
}

#menuavatar hr{
	border-bottom: 1px solid #ECF0F1;
}
	#menuavatar:hover{
		background:#3E2723;//#34495E;
	}
	#menuavatar .avatar-subtext{
		color:#ECF0F1;
	}

/**
Меню аватара
*/
.avatar--menu{
	color              : var(--white);
	background         : #795548;
	border             : #3E2723 1px solid;
}
.avatar--menu:after {
	border-color        : rgba(255, 255, 255, 0);
	border-bottom-color : #3E2723;
}
.avatar--menu:before {
	border-color        : rgba(255, 255, 255, 0);
	border-bottom-color : #795548;
}
.avatar--menu .item:first-child {
	border-right : 1px dotted #8D6E63;
}

.avatar--menu .item .string {
	color                 : #FFF;
	border-bottom         : 1px dotted #8D6E63;
}
.avatar--menu .item .string.green {
	color      : #3F729B;
}
.avatar--menu .item .string .blue {
	color      : var(--gray);
}
.avatar--menu .item .string .gray2 {
	color      : var(--gray);
}
.avatar--menu .item .string:hover {
	background-color : #3E2723;
}
.avatar--menu .item .string:hover .blue{
	color      : var(--mint);
}
.avatar--menu .item .title {
	color          : #3E2723;
	border-bottom  : 1px dotted #8D6E63;
}
.avatar--menu .item hr {
	border-bottom   : 1px dotted #8D6E63;
}
.avatar--menu .product{
	color: #222;
}
.avatar--menu .product a,
.avatar--menu .product .blue{
	color      : #FFF;
}

/*различные кнопки*/
.bl2{
	color:#FFF;
	background: #3E2723;//#34495E;
	border: 1px solid #3E2723;//#34495E;
}
.bl2:hover{
	color:#FFF;
	background: #536DFE;
	border: 1px solid #536DFE;
}

/*a.button, input.button, a.button:link, a.button:visited{
	color:#222;
	background: #ECF0F1;
	border: 1px solid #BDC3C7;
	line-height: 20px;
}
a.button:hover {
	background: #03A9F4;
	border: 1px solid #2196F3;
	color:#fff;
}*/

/*Кнопка Добавить обращение*/
.contaner > a.button {
	color:#222;
	background: #FFCE54;
	border:0px;
	margin: 0px 2px;
	padding: 10px;
}
.contaner > a.button:hover {
	color:#222;
	background: #F6BB42;
}

.ha:hover{
	background: rgba(255, 207, 83, 0.3);
}

/*popup*/
.popmenu, .popmenu-top, .submenu{

}
	.popmenu .popheader{
		color:#FFF;
		background: #FF9800;//#4A89DC;
	}
	.popmenu .popheader .blue{
		color:#FFF;
	}
	.popcontent .clink a:hover,
	.popcontent .clink:hover,
	.submenu a.menu:hover{
		background: #FFECB3;
	}

.triangle{
	border-top: 7px solid #FF9800;//#4A89DC;
}
.top-triangle{
	border-bottom: 7px solid #FF9800;//#4A89DC;
}

/*карточка*/
#head #close{
	/*top:-10px;*/
	border:1px solid #3E2723;//#34495E;
	border-top:0;
	background:#F6BB42;
	font-size:0.80em;
	color: #3E2723;//#34495E;
	line-height: 0.95em;
	padding: 5px 10px;
}
#head #close:hover{
	border:1px solid #3E2723;//#34495E;
	border-top:0;
	background:#FFFFFF;
	color: #3E2723;//#34495E;
}

.fixx{
	color:#FFF;
	background:#3E2723;//#34495E;
}
	.fixx #ctitle .blue,
	.fixx #ctitle a{
		color:#BDC3C7;
	}

#dtabs ul li {
	color: #FFF;
	background:#8D6E63;//#2C3E50;
}
#dtabs ul li:hover {
	border-bottom:0px;
}
#dtabs ul li a{
	color: #FFF;
}

fieldset{
	border-color: #BDC3C7;
}

fieldset .batton-edit a,
fieldset .batton-edit a .blue{
	color:#3E2723;//#2C3E50;
}

/*элементы ui.jquery*/
.ui-state-active > #dialog, .ui-widget-content .ui-state-active > #dialog,
.mainbg .contaner,
.mainbg .ui-tabs-nav,
#tab_container,
#dttabs .ui-state-active,
#accordion .ui-state-active{
	border-color: #A1887F;
}

#accordion .ui-state-default{
	border-color: #D7CCC8;
}

.ui-widget-header > #dialog{
	border-bottom: 1px solid #A1887F;
}

.ui-state-default > #dialog,
.ui-widget-content .ui-state-default > #dialog{
	border-color: #D7CCC8;
	color:#3E2723;
}

#dttabs .ui-state-default a,
#accordion .ui-state-default a{
	color:#3E2723;
}
#dttabs .ui-state-default:not(.ui-state-active) a:hover,
#accordion .ui-state-default:not(.ui-state-active) a:hover{
	color:#FFF;
}
#dttabs .ui-state-active a:hover,
#accordion .ui-state-active a:hover{
	color:#3E2723;
}

#tab_container:hover,
#dttabs .ui-state-default:not(.ui-state-active):hover,
#accordion .ui-state-default:not(.ui-state-active):hover{
	background: none;
	background-color: #A1887F;
	color:#fff;
}
.ui-state-default a > #dialog,
.ui-state-default a:link > #dialog,
.ui-state-default a:visited > #dialog{
	color:#3E2723;
}

#accordion .ui-state-active,
#accordion .ui-widget-content .ui-state-active,
.ui-state-active > #dialog,
.ui-widget-content .ui-state-active > #dialog{
	background: #D7CCC8;
}

#tab_container,
#tab_container .blue{
	color:#222;
}

/*список дел в левой панели*/
#taskweek .header{
	color:#222;
	background:#F5F7FA;
	border-color:#F5F7FA;
}

