/* multiselect 
.ui-multiselect-menu, button.ui-multiselect {
	width:600px !important;
}
.ui-multiselect-checkboxes label {
	width:auto;
	text-align:left;
}
.ui-multiselect-checkboxes li span {
	margin:10px 0 0 10px;
	line-height: 2.1em
}*/

/**
#project_slider {
	width:300px;
	display: inline-block;
	margin-top: 1.3em;
}
* */

#projects-percentage {text-transform: uppercase;font-size: 1.3em;text-align: center;background-color: transparent;border-radius: 5px;padding:0.5em 1em;margin: 1em auto;color:#999999;border:2px solid #c4c4c4;}

#projects-percentage-value {}

div.see-tags {position:relative;display:inline-block;margin:0}
div.tags-list {width:760px;font-size:0.9em;position:absolute;display:none;
	padding:1em;
	margin:0.5em 0 0 1em;
	display: none;
	position: absolute;
	left:250px;
	color:#ccc;
	top:38px;
	background-color: #000;
	z-index:9999;
	opacity:.8;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
div.tags-list span.tag {padding:0.2em 0.4em;margin:0.5em;display:inline-block;border:1px solid #ccc;border-radius:4px;}

#choose_sdi {width:780px;}

/** multiple select */
.ms-parent {margin-top:0.5em;}
.ms-choice {
	display: block;
    height: 40px ! important;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    line-height: 40px ! important;
	border: 2px solid #E1E1E1 ! important;
    text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.ms-choice:focus {
	border: 2px solid #a5bffc  ! important;
}

.ms-choice > div {
    position: absolute;
    top: 6px ! important;
}

.ms-parent label {font-weight:normal;color:#444;}

.ms-search input {
    min-height: 34px !important;
   background: #fff url('../images/multiple-select.png') no-repeat 100% -18px ! important;

}
/** fin multiple select */

#add-indicator {text-align: right;margin:-1em 4.5em 0 0;}

#progression_value {display: inline-block;padding:0 1em;color:#ccc;font-size:0.9em;font-weight:bold;}
.progression-sync-container {display: inline-block;padding:0 1em;color:#33A2AA;font-size:0.9em;}
.progression-sync-container label { display: inline-block ! important;}

td.project-name {width:52%;}
td.project-priority {width:10%;}
td.project-progression {width:15%;}
td.project-date {width:15%;text-align:center;}
td.project-actions {width:8%;}
td.project-votes {text-align: center;margin:0 auto;}

.progressbar-finality {
	background-color: #E5E5E5;
	height:7px;
	position:relative;
	border-radius: 3px;
}
.progressbar-finality span {display:none;}
.progressbar-finality > div { background-color: #FCA874;height:7px; border-radius: 3px;}


.progressbar {
	background-color: #999;
	border-radius: 2px;
	/**padding: 1px;*/
	position:relative;
}

.progressbar > div {
	background-color:#FCA874; /* #ADADAD; */
	height: 13px;
	border-radius: 2px;
}

.progressbar > div > span {
	color: #fff;
	font-size: 0.7em;
	padding: 0em 0em;
	position:absolute;
	z-index: 99;
}

.project-dashboard h3 {
	display: none;
}

#content h2.bylevels a, #content h2.byfinality { color:#68727C;}
#content h3.bylevels {margin:0;}
#content h3.bylevels a{color:#fca874;}

div.header-level-0 {margin-top:4em;}
div.sum-level-0 {font-size:2em;text-align:right;color: #E5E5E5;font-weight: bold;}
div.header-level-1 {margin-top:3em;}
div.sum-level-1 {color:#fca874;text-align:right;font-size:0.9em;vertical-align: bottom;}

div.bylevels { margin:0 2em;}
.bylevels h4 {padding-left:1em}
.bylevels h5 {padding-left:2em}
.bylevels h6 {padding-left:3em}
div.projects-set { margin-left: 2em;}

a.sub-project {font-size:0.95em;color:#1f4d84 ! important;}
a.sub-project:hover {color:#fca874 ! important;}
a.sub-project:before {
	content: '↳ ';
	color:#1f4d84;
	margin-left:1em;
}

/** Dashboard 
**********************************************/

/* Necessary to overwrite default dd img { margin: 10px; } style */
dd table img { margin:0;}
.table_dashboard {margin-bottom:7em}
.table_dashboard td {
	padding:1em 0.5em;
}

.table_dashboard_det td {
	text-align: center;
}

td.rate {
	font-size:0.95em;
	color:#777;
}

td.graphic-values {
	width:280px;
}

.dashboard-indicator-label, .dashboard-indicator-tendency  {
	display:inline-block;
}

div.level-0 {
	/**
	margin:0em;
	background:yellow;
	padding:2em 0;
	*/
}

div.level-1 {
	/**
	margin:1em;
	background:green;
	padding:2em 0;
	*/
}

div.level-2 {
	/**
	margin:2em;
	background:red;
	padding:2em 0;
	*/
}

/** datavisualisation type */

.indicator-boolean span.boolean-mask ~ span.unit {display:none;}
.indicator-boolean span.boolean-mask {font-size:1.4em !important;}
span.boolean-true {}
span.boolean-false {}

.dashboard-indicator-gauge, .indicator-qualitative div.dashboard-indicator-raw {line-height: 2.5em;}

.dashboard-indicator-raw, .dashboard-indicator-sparkline, .dashboard-indicator-gauge {
	display:inline-block;
	padding: 0px;
	width:170px;
	text-align: center;
	position: relative;
	min-height: 2em;
}
.dashboard-indicator-sparkline p {text-align:center ! important;}

/** the next version of jquery.sparkline should fix the problem
*   known issue with box-sizing : https://github.com/gwatts/jquery.sparkline/issues/89
*   remove this when jquery.sparkline is updated
**/ 
.jqstooltip {
    -webkit-box-sizing: content-box !important;
		-moz-box-sizing: content-box !important;
		box-sizing: content-box !important;
		border:1px solid #ccc;
}

.jqstooltip:before, .jqstooltip:after {
	-webkit-box-sizing: content-box !important;
		-moz-box-sizing: content-box !important;
		box-sizing: content-box !important;
}

.dashboard-indicator-sparkline { padding-left:10px;width:115px;}

.dashboard-indicator-raw .unit {
	display: block;
	color:#AFAFAF;
	font-size: 0.85em;
}

.dashboard-indicator-raw span.value, .dashboard-indicator-raw span.no-value {
	font-size:1.9em;
	line-height:0.0em;
	color: #3A91A5;
	font-weight: bold;
}

.dashboard-indicator-gauge .cursor {
	position: relative;
	top: -3px;
	z-index: 100;
}

.dashboard-indicator-gauge .value {
	display:none;
}

div.indicator-info-container {
	position: relative;
}

div.indicator-info:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 18px;
		left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right:10px solid #F2F6F9;   
}

div.indicator-info {
	display: none;
	position: absolute;
	top: -15px;
	left: 120px;
	width: 200px;
	padding:1em;
	border: 1px solid #ccc;
	background-color: #F2F6F9;
	color: #666;
	text-align: left;
	-moz-box-shadow: 5px 5px 5px #888;
  -webkit-box-shadow: 5px 5px 5px #888;
  box-shadow: 5px 5px 5px #888;
  z-index: 99;
}
div.indicator-info p {
	margin:0;
	padding:.2em 0;
	border-bottom: 1px dotted #ccc;
	font-size: .9em;
}
.valuecomment {
	margin-left: 2em;
	position:relative;
}
.valuecomment div.cont {
	padding:1em;
	margin:0 0 0 1em;
	display: none;
	position: absolute;
	left:-340px;
	top:0;
	color:white;
	background-color: #000;
	opacity:.7;
	width:300px;
	font-size: 11px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.indicator-last-date {text-align: center;margin:0 auto;color:#ccc;font-size:0.8em;display: inline-block;border:1px solid #ddd;border-radius:5px;padding:0.2em 0.4em;transition: background linear 200ms;}
.indicator-last-date:hover {border:1px solid #444;background-color:#444;color:white;cursor: help;}

button.ui-multiselect:hover {color:#415066 !important;text-shadow: none;}

#progession-chart {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 110px;
  margin:3em;
  text-align: center;
}

#progession-chart canvas {
  position: absolute;
  top: 0;
  left: 0;
}
.percent {
  display: inline-block;
  line-height: 110px;
  z-index: 2;
}
.percent:after {
  content: '%';
  margin-left: 0.1em;
  font-size: .8em;
}

/** Input type Ranges taken from http://brennaobrien.com/blog/2014/05/style-input-type-range-in-every-browser.html
 *  See also generation tool : http://danielstern.ca/range.css/#/
 */
input[type=range] {
    /*removes default webkit styles*/
    -webkit-appearance: none;
    
    /*fix for FF unable to apply focus style bug */
    border: 1px solid white;
    
    /*required for proper track sizing in FF*/
    width: 200px;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 200px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
    margin-top: -4px;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type=range]::-moz-range-track {
    width: 200px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}
input[type=range]::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}

/*hide the outline behind the border*/
input[type=range]:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}

input[type=range]::-ms-track {
    width: 00px;
    height: 5px;
    
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;

    /*remove default tick marks*/
    color: transparent;
}
input[type=range]::-ms-fill-lower {
    background: #777;
    border-radius: 10px;
}
input[type=range]::-ms-fill-upper {
    background: #ddd;
    border-radius: 10px;
}
input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}
input[type=range]:focus::-ms-fill-lower {
    background: #888;
}
input[type=range]:focus::-ms-fill-upper {
    background: #ccc;
}

ul.finalities, ul.finalities li {list-style-type: none ! important;margin:0.5em 0;padding:0;}


span.session-stored-notice {margin-left:-1em;color:#5d9ce4;font-sie:0.85em;font-weight: bold;}


#completion-filter-menu, #completion-operator, #completion-filter {display:inline;}
#completion-filter {margin-left:1em;}
#completion-filter-value {margin-left:1em;font-weight: bold;line-height: 2em;display: inline-block;padding-top:0.5em;color:#E7965C}

.task-status {margin:0 1em 0 0; padding:0.2em 0.6em;font-size:0.8em;border-radius:3px;text-transform: uppercase;font-weight: normal;width:100px;text-align: center;display: inline-block;}
.task-status-wip {background-color:#fbbf50;color:#584012;} 
.task-status-done {background-color:#61d3a4;color:#24694d;} 
.task-status-todo {background-color: #dadada;color: #635454;} 
span.task-achieved { display:block; border-radius: 3px;font-size: 0.8em;background-color: #d4efff; color: #286e96; padding: 0.3em 0.6em;margin:0.3em 0;}
ul.project-tasks {margin:0;padding:0}
ul.project-tasks li {background-color:#f5f5f5;margin:0;padding:0.8em 0;list-style: none ! important;/*border:3px solid #C1CFE8;*/border-radius:4px;padding:1em;margin:1em 0;}
/**ul.project-tasks li:last-child {border-bottom:none;}*/
span.task-progress-text {color:#FCA874;font-weight:bold }

.task-status-input {
     list-style-type:none;
     margin:25px 0 0 0;
     padding:0;
}

.task-status-input li {
    float:left;
    position:relative;
}

.task-status-input label, .task-status-input input {
    display:block;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    text-transform: uppercase;
    width:160px;
}

.task-status-input label {
     padding:5px;
     border:1px solid #CCC; 
     border-radius:3px;
     cursor:pointer;
     z-index:90;
}

#task-container {width:100%;}
.task-reminder {font-weight: bold;font-size: 0.9em;color:#4d91b3;margin-left: 0.5em;line-height: 4em;}
.task-reminder-info {display: block;margin0.5em;color:#777777}


/**
 * Nestable
 */

.dd { position: relative; display: block; margin: 0; padding: 0; max-width: 99%; list-style: none; }

.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
.dd-list .dd-list { padding-left: 0px; }
.dd-collapsed .dd-list { display: none; }

.dd-item,.dd-empty,.dd-placeholder { display: block; position: relative; margin: 0; padding:0; }

.dd-handle { display: block; height:100%; margin: 5px 0; padding: 5px 10px; color: #333; text-decoration: none; font-weight: bold;
    background: #cccccc;
    box-sizing: border-box; -moz-box-sizing: border-box;
}

.dd-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 5px 0; padding: 0; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center; font-weight: bold; }
.dd-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
.dd-item > button[data-action="collapse"]:before { content: '-'; }

.dd-placeholder,
.dd-empty { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
.dd-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                      -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                         -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:         linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
                              linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel { position: absolute; pointer-events: none; z-index: 9999; }
.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
            box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}

.dd-content { display: block;  margin:0; padding:0 1em; color: #333; text-decoration: none; font-weight: normal; /**border: 1px solid #ccc;*/
	
    -webkit-border-radius: 3px;
            border-radius: 3px;
    box-sizing: border-box; -moz-box-sizing: border-box;
}

.dd-content:hover .list-actions {display:inline;}
.dd-content a:hover {text-decoration:none ! important;}

.dd-dragel > .dd-item > .dd-content { margin: 0; }

.dd-item > button { margin-left: 30px; }

.dd-handle { position: absolute; margin: 0; left: 0; top: 0; cursor: pointer; text-indent: 100%; white-space: nowrap; overflow: hidden;
    background: url(../images/drag.png) transparent repeat-y 2px 2px;
	width: 12px;
	cursor: move;
}