/** Ex main.css **/

div.tabs
{
    height: 120px;
	padding-top: 20px ;
}


div.tabs .item
{
    padding: 15px 10px;  
    margin: 3px;
    margin-bottom: 15px;
    font-weight: bold;
	font-size: 18px;
    cursor: pointer;
    list-style: none;
    color: #666666;
	/*width: 120px;
	 float:left; */
	
}

div.tabs.columns .left{
	float:left;
}

div.tabs.columns .right {
	float:right;
}



div.tabs  a, div.tabs a:visited
{
    font-size: 18px;
    color: #000;
    text-decoration: none;
    padding: 18px 0px 12px 60px;
	display: block ;  	
}   

div.home div.tasks a
{
    background: url(../images/tasks-icon.png) no-repeat;
}

div.home div.time a
{
    background: url(../images/events-icon.png) no-repeat;
}

div.home div.expenses a
{
    background: url(../images/expenses-icon.png) no-repeat;
}

div.tabs div.events a
{
    background: url(../images/events-icon.png) no-repeat;
}

div.tabs div.contacts a
{
    background: url(../images/contacts-icon.png) no-repeat;
}

div.tabs div.clients a
{
    background: url(../images/contacts-icon.png) no-repeat;
}

div.tabs div.notes a
{
    background: url(../images/notes-icon.png) no-repeat;
}
div.tabs div.projects a
{
    background: url(../images/projects-icon.png) no-repeat;
}
div.tabs div.workspaces a
{
    background: url(../images/workspaces-icon.png) no-repeat;
}

/** END MAIN **/

body, html
{
    margin: 0;
    padding: 0;
	font-family: sans-serif;
	font-size: 100%;
	background-color: #333;
}

.ui-page-theme-a, .ui-overlay-a {
	background-color: #fff;
}

input[type=text], input[type=date], input[type=password], textarea {
	/*padding: 5px 2px;	
	border: 1px solid #CCCCCC;
    border-radius: 5px 5px 5px 5px;*/
}

body.login {
	background: #FFF;
}


/*input[type=button], input[type=submit]
{
	font-size: 16px;
	font-weight: bold;
	padding: 3px;
	border-radius: 3px;
}*/

div.wrapper
{
	min-width: 320px;
    /*min-height: 480px;*/
}


#content {
	min-height: 350px ;
	background: #FFF ;
}

#footer
{
    background-color: #333;
	min-height: 45px;
	max-height: 60px;
	/*padding: 0 20px;*/
	border: 0px none;
}

#footer h1
{
    background: url(../images/feng-logo.png) no-repeat;
    font-size: 14px;
    color: #fff;
	float: left;
    padding: 15px 5px 5px 25px;
    text-shadow: none;
    background-position: 0 15px;
}

#footer h1 span
{
    font-size: 14px;
    color: #339a00;
}
#footer.nav-menu .right-buttons {
	margin-right: 20px;
}

#footer a, #footer a:visited 
{
	text-decoration: none ;
}

#header {
	min-height: 85px;
	background: #e9e9e9;
	color: #333;
}

#header a, #header a:visited {
	color: #333;
}

#header .change-context {
	float:right;
}

#header .header-logo {
	/*background: url(../images/feng-logo-black.png) center left no-repeat;*/
	text-align: center;
}
#header .header-logo h1 {
	font-size: 20px;
	color: #333;
	font-weight: normal;
}

#sub-header {
	/*background-color: #DEF7B3;*/
	background-color: #F1F1F1;
	padding: 1px 5px 10px 10px ;
}



#sub-header h1
{
    color: #000;
    font-size: 20px;
	padding: 0px 10px 10px 0px;
	margin-bottom: 0 ;
	
}

div.login-logo {
	background: url(../images/feng-logo-big.png) no-repeat;
	height: 120px;
	width: 300px;
	margin: 0px auto; 
}

div.nav-menu
{
    padding: 7px;
}

#header div.nav-menu .header-logo {
	padding: 10px 5px;
}

div.nav-menu .left-buttons {
    float: left;
}
div.nav-menu .right-buttons {
    float: right;
}

button, input[type=button], input[type=submit]
{
	width: 100%;/*
    font-weight: bold;
    padding: 5px;
	font-size: 16px;
	margin: 0 5px 0 0;
	height: 45px ;*/
}


div.user
{
	text-align: right;
	color: #fff;
	padding: 0 10px 10px 10px ;
	float: rigth;
	font-size: 16px;
	font-weight: bold;
	padding-bottom: 5px;
}

div.user a
{
	color: #000;
	padding: 5px;
	border: solid 1pt #ccc;
	background: #eeeeee;
	text-decoration: none;
}

div.module
{
    padding: 10px;
}

.add-object-button {
	background-color: #4d82cc!important;
	color: #fff!important;
	margin-bottom: 20px;
}

div.component
{
	padding: 5px;
}

div.module h1
{
    color: green;
    margin: 3px 3px 3px 0px;
	padding: 0px 10px 5px 0px;
    font-size: 24px;
}

div.module h2
{
	font-size: 18px;
	margin-left: 0px;
	padding-left: 0px;
}

div.module li
{
    list-style: none;
}

div.module div.no-records
{
    color: #777;
    font-style: italic;
    margin: 15px 0;
}

div.module table.data-table
{
	border-collapse: collapse;
	font-size: 100%;
	width: 100%;
}

div.module table.data-table tr td
{
	xpadding: 0px 7px 0px 7px;
	vertical-align: middle;
	/*min-height: 56px;*/  
	padding: 10px 2px;
}

div.module table.data-table tr td.arrow
{
	background: url("../images/right-arrow.png") no-repeat right center transparent ;
	padding-right: 35px ;
}


div.module table.data-table tr
{
	background: url(../images/row-separator.png) repeat-x left bottom ;
	cursor: pointer;
	border-bottom: 1px solid  #eeeeee;		
	border-top: 1px solid #efefef;
}


div.module table.data-table tr.header
{
	background: none;
	/* border-bottom: solid 1pt #eeeeee; */

	border-bottom: 1px solid  #eeeeee;  		
	border-top: none ;	
}

div.module table.data-table tr th
{
	text-align: left;
}

div.module table.data-table tr:hover
{
	background: skyblue;
}

div.module table.data-table td.number, div.module table.data-table th.number
{
	text-align: right;
	padding-right: 5px;
}


table.data-table div.title {
	overflow: hidden;
	max-height: 20px;
}

table.data-table div.subtitle {
	font-size: 0.8em;
	color: #444;
	overflow: hidden;
}



table.data-table div.summary {
	font-size: 0.8em;
	color: #444;
	overflow: hidden;
	max-height: 16px;
	
	
}

div.module .due
{
	/* color: red; */
}

div.module table.data-table td a
{
	font-weight: bold;
}

/*
div.module form label
{
	font-size: 18px;
	width: 120px;
	padding-right: 5px;
	padding-top: 4px;	
	text-align: right;
	float: left;
}
*/

/* LABELS AT THE TOP OF THE FIELD */
div.module form label.vertical {
    display: block;
    float:none; 
	text-align: left; 
}

div.filter {
	border-bottom : 1px solid #CCC ;
	padding-: 10px;
	background: #FFF;
	margin-bottom: 5px;
	padding-bottom: 10px;
}

div.module div.filter form label
{
	width: auto;
	text-align: left;
	padding-right: 0px;		
	text-align: left;
	float: none ;
}

div.module form input, div.module form select
{
/*	font-size: 18px;*/
}

.filter form select {
	/* max-width: 90px;*/
}

div.module form textarea
{
	min-width: 200px;
	min-height: 80px;
	width: 99%;
	font-family: Arial;
	font-size: 16px;
	margin-bottom: 10px;
}

div.comments
{
	font-size: 14px;
}

div.comments p
{
	font-size: 16px;
}

div.breadcrumb
{
	/*color: #eee;*/
	font-size: 18px;
	padding: 0px;
}

div.breadcrumb span
{
	font-weight: bold;
}

div.breadcrumb span.company {
	font-weight: normal;
	font-size: 16px; 
	vertical-align: top;
}

div.breadcrumb span.project {
	font-size: 16px; 
}

div.breadcrumb.no-buttons {
	font-size: 150%;
    text-align: center;
    padding-top: 20px;
}

div.view-panel ul
{
	margin: 0px;
	padding: 15px 0px;
}

div.view-panel li {
	padding: 5px 0 15px;
}

div.view-panel label{
	font-size: 12px;
	/*
	font-weight: bold;
	*/
	margin-right: 15px;
	color: #8a8a8a;
}


div.progress
{
	width: 100%;
	border: solid 1px #eeeeee;
}

div.progress div.completed
{
	
}

div.message
{
	border-radius: 5px;
	border: solid 2pt skyblue;
	color: #666666;
	padding: 10px;
	background: #F3EFE5;
}

div.error
{
	color: #a55c5c;
	border: 1px solid #e2c4c4;
	background-color: #f9eaea;
	padding: 10px;
	border-radius: 5px;
	/* font-weight: bold; */
	width: auto;
	margin: 10px 0px 10px 0px;	
	font-size: 16px ;
	display: none;
}

.login .error {
	display: block;
}
	

div.clear
{
	clear: both;	
}

div.line
{
	clear: both;
	border-bottom: solid #ccc 1px;
	margin: 5px 0px 10px;
}

label.error
{
	width: 0px !important;
	padding: 0px;
}

input.error, textarea.error
{
	border: solid 2pt red !important;
}

.float
{
	float: left;
}

/******* TASKS **********/
.task-description {
	padding: 5px 0px;
	color: #000;
}

table.task-list tr.completed .title
{
	text-decoration: line-through;
}

table.task-list .complete-check {
	text-align: right ;
	width: 86px ;
}

table.task-list .priority {
	width: 5px ;
	height: 5px ;
	margin-right: 5px;
}
table.task-list .priority.priority-100 {
	border: 1px solid #CCCCCC ;
	background: #FFFFFF ;
}
table.task-list .priority.priority-200 {
	background: #DAE3F0 ;
}
table.task-list .priority.priority-300 {
	background: #FF9088 ;
}
table.task-list .priority.priority-400 {
	background: #FF0000 ;
}
/*
div.field{
	margin-right: 25px;
}

div.field label {
	display: block ;
}*/

/******* TIME **********/
.time-description {
	padding: 5px 0px;
	color: #000;
}

table.time-list tr.completed .title
{
	text-decoration: line-through;
}

table.time-list .complete-check {
	text-align: right ;
	width: 86px ;
}

table.time-list .priority {
	width: 5px ;
	height: 5px ;
	margin-right: 5px;
}
table.time-list .priority.priority-100 {
	border: 1px solid #CCCCCC ;
	background: #FFFFFF ;
}
table.time-list .priority.priority-200 {
	background: #DAE3F0 ;
}
table.time-list .priority.priority-300 {
	background: #FF9088 ;
}
table.time-list .priority.priority-400 {
	background: #FF0000 ;
}

/**** NOTES *****/

.data-table .note-details {
	
}

#note-form input[name=title] {
	width: 100% ;
}

#note-form textarea {
	width: 100% ;
	min-height: 150px;
}

/*** Projects ***/

div.module table.data-table tr td.project {
    padding-top: 15px;
	padding-bottom: 15px;
}

.data-table td.member span.path{
	font-size: 0.8em ;
	font-weight: normal ;
	color: #666;
}


.clients .data-table tr.first, .projects .data-table tr.first {
	font-size: 1.1em;
}

.data-table tr.selected {
	font-weight: bold;
}

/** CRPM  **/
div.tabs.context .item {
	width: auto;
}


/** LOADING MASK **/
.loadmask {
    z-index: 100;
    position: absolute;
    top:0;
    left:0;
    -moz-opacity: 0.5;
    opacity: .50;
    filter: alpha(opacity=50);
    background-color: #CCC;
    width: 100%;
    height: 100%;
    zoom: 1;
}
.loadmask-msg {
    z-index: 20001;
    position: absolute;
    top: 0;
    left: 0;
    border:1px solid #ccc;
    background: #D5E1C0;
    padding:4px;
    border-radius: 5px;
    
}
.loadmask-msg div {
    padding:5px 10px 5px 25px;
    border-radius: 5px;
    background: #fbfbfb url('../images/loading.gif') no-repeat 5px center; 
    line-height: 18px;
	/*border:1px solid #666;*/ 
    color:#222;
    /* font:normal 18px tahoma, arial, helvetica, sans-serif;*/
    font-size: 18px ;
    cursor:wait;
}
.masked {
    overflow: hidden !important;
}
.masked-relative {
    position: relative !important;
}
.masked-hidden {
    visibility: hidden !important;
}

.more-container {
	text-align: center;
	/* padding: 5px 0; */
}

.warning{
	color: #bf5252;
	font-size: 75%;
	margin-bottom: 15px;
}

button.more {
	width: 100% ;
}
/** END LOADING MASK **/


.ui-page-theme-a .ui-bar-inherit {
	border-color: #e9e9e9;
}

.login ul.account-list {
	margin: 4px 0 10px;
	padding-left: 0;
}
.login div.error-msg {
	margin: 5px 0;
}
.login label.inst-radio-label {
	width: auto !important;
	float: none !important;
	font-size: 14px !important;
	/*vertical-align: top;*/
}

ul.task-list li .task-item, ul.time-list li .time-item, ul.member-list li .member-item, ul.expense-list li .expense-item, .budgeted-expense-item {
	height: 34px;
	vertical-align: middle;
	display: table-cell;
	max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.task-list li .task-item .subtitle, ul.time-list li .time-item .subtitle, ul.member-list li .member-item .path, ul.expense-list li .expense-item .subtitle, .budgeted-expense-list-name .subtitle{
	font-weight:normal;
	font-size:75%;
	margin-top: 5px;
}

.budgeted-expense-list-name {
	max-width: 270px;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.time-list li .time-item {
	/*display: inline-table;*/
}
ul.time-list li .time-item .data-cell {
	max-width: 200px;
	float: left;
}
ul.time-list li .time-item .data-cell.right {
	float: right;
}

.data-grid .title {
	margin: 0 0 5px;
	font-weight: bold;
	text-align: center;
}

.note-name {
	margin-bottom: 5px;
}
.note-body {
	margin-bottom: 15px;
}

div.line-section {
	margin: 5px 0px 15px;
}


/* custom icons */
.ui-icon-filter:after {
	background-image: url(../images/filter-icon.png);
}

.ui-icon-trash:after {
	background-image: url(../images/icon-trash.svg);
}


/* ACTION BUTTONS TASKS MODULE */
.task_action_buttom{
	width: 45px;
    height: 45px;
    border-radius: 100% !important;
	margin-right: 10px;
}
.task_action_buttom::after{
    width: 38px;
    height: 38px;
    margin-top: -19px;
	margin-left: -19px;
    border-radius: 100%;
	background-size: 50%;
}

.task_action_buttom:last-child::after{
	background-size: 65%;
}