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

#current-sel {
  color: rgb(127, 100, 155);
  font-size: 0.85em;
  text-align: right;
  font-style: italic;
}

#my-projects {
	border-radius: 14px;
	border:3px solid #91D1D6;
	padding:0.5em 1em;
	text-decoration: none;
	font-size: 0.9em;
	transition: all linear 400ms;
}
a#my-projects:hover {text-decoration: none;}
#my-projects.filtered {border-color:#A897B9;background-color:#A897B9; }

#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;
	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:760px;}

/** 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;
	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;line-height:2.5em;}
div.header-level-1 {margin-top:3em;}
div.sum-level-1 {color:#fca874;text-align:right;font-size:0.9em;vertical-align: bottom;line-height:2em;}
div.sum-level-2 {color:#999;text-align:right;font-size:0.9em;vertical-align: bottom;line-height:2em;font-style: oblique;}

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;
}
.table_dashboard tbody td {
    padding: 1em 0.5em 1em 1em;
    background-color: white;
    border-bottom: 1px solid #DEDEED;
}
td.rate {
	font-size:0.95em;
	color:#777;
}

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

div.gauge {
	background: rgb(255,144,0);
	background: linear-gradient(110deg, rgba(255,144,0,1) 0%, rgba(217,201,0,1) 50%, rgba(192,240,0,1) 100%);
	/*
	background: linear-gradient(110deg, rgba(255,117,0,1) 0%, rgba(207,217,0,1) 50%, rgba(128,240,0,1) 100%); 
	background: linear-gradient(90deg, rgba(214,67,158,1) 0%, rgba(168,100,230,1) 50%, rgba(166,173,238,1) 100%); */
	width:150px;
	height:10px;
	text-align:center;
	/*border:1px solid #fff;*/
	margin:1em auto 0 auto;
	border-radius:3px;
}

div.g-no-fit {background: linear-gradient(0deg, rgba(255,181,181,1) 0%, rgba(198,86,86,1) 100%); background: #ffb6b6; }
div.g-no-value {background: linear-gradient(0deg, rgba(213,213,213,1) 0%, rgba(195,195,195,1) 100%); background: #e6e6e6;}

.dashboard-indicator-gauge .threshold {
  background: #888;
  text-align:center;
  height: 14px;
  width: 1px;
  position:relative;
  left:50%;
  top:-2px;
}

.dashboard-indicator-gauge .circle {
top: -18px;
background: #444;
border: 2px solid #444;
border-radius: 3px;
height: 18px;
width: 0.3em;
position: relative;
}


.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;}

.dashboard-indicator-raw.multiple-none .infobox.value { color:#ff7b7b;font-size:0.8em;}


.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-raw span.no-data, .dashboard-indicator-sparkline span.no-data {
	color: #ff4c4c ! important;
	opacity:0.6;
	text-transform: uppercase;
}

.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:after, div.indicator-info:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

div.indicator-info:after {
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #ffffff;
	border-width: 10px;
	margin-top: -10px;
}
div.indicator-info:before {
	border-color: rgba(204, 212, 212, 0);
	border-right-color: #ccd4d4;
	border-width: 13px;
	margin-top: -13px;
}

div.indicator-info {
	display: none;
	top: -45px;
	left: 190px;
	width: 300px;
	padding:0 1em;
	position: absolute;
	background: white;
	border: 2px solid #ccd4d4;
	text-align: left;
	border-radius: 5px;
	line-height:1.7em;
  z-index: 99;
  font-size: 0.8em;
}
div.indicator-info p {
	margin:0;
	padding:.2em 0;
	border-bottom: 1px dotted #ccc;
}
.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;
	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-size: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}

.item-filter select {max-width: 330px;}

.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:0.5em 0 3em 0;
     padding:0;
}

.task-status-input li {
    float:left;
    margin-right:3em;
    /*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 {
     margin-top:0;
     margin-left:0.5em;
     border:1px solid #CCC; 
     border-radius:3px;
     cursor:pointer;
     z-index:90;
     font-style: normal;
     text-transform: uppercase;
}

#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;margin:0.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:         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 {
            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;*/
	
            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;
}


.c-actors-inline {display: inline-block; padding:0.5em 1.3em;border:2px solid #efefef;border-radius:12px;margin:0.5em 1em;transition: background-color 300ms linear;}
.c-actors-inline:hover {border:2px solid #efefef;background-color: #efefef;}
.c-actors-inline div {display: inline;}
.c-actors-inline span.occurrences {color:#f9bd51;font-style: oblique;font-size: 0.9em;margin-left:0.5em;}


div.impacts-container {
    text-align: center;
    padding: 0.5em 0 1em 0;
    font-size:0.9em;
}
div.impacts-label {font-weight:normal;}
div.impacts-label span.text-value {color:#777;font-size:0.9em;}
div.impacts-label span.text-value:before {content:'(';margin-left:0.3em;}
div.impacts-label span.text-value:after {content:')';}
span.impacts-out-of-range {color:#BDBDBD;padding-left:0.5em;}
span.impacts-in-range {color:#e7965c;padding-left:0.5em;}


.header-level-0 .timeline-link {line-height:4.3em;opacity:0.3}
.header-level-1 .timeline-link {opacity:0.3;font-size:0.7em;}
.timeline-link:hover {opacity:0.8;transition: all 300ms linear;}


.change-date {
	display: inline-block;
	color: #aaa;
	text-decoration: none ! important;
	font-weight: bold;
	border: 1px solid #a2a2a2;
	/*background-color: #d7d7d7;*/
	padding: 0.3em 1em;
	border-radius: 4px;
}
.change-date:hover {color:#0082b5;border-color: #0082b5;}
.change-date-container {border-bottom:1px solid #ccc;padding:0.8em 0;}

body.list-action thead td  {font-size:0.9em;}
body.list-action tbody td  {font-size:1em;}
tbody td .p-achievement-badge {border-radius:10px;font-size:0.7em;padding:0.3em 0.7em;text-transform: uppercase;font-weight: bold}
.p-achievement-badge {border-radius:10px;font-size:0.85em;padding:0.3em 0.7em;text-transform: uppercase;font-weight: bold}
.p-achievement-badge.to_start {background-color: #d5d2d2;color:#333;}
.p-achievement-badge.in_progress {background-color: #89c588;color:#333;}
.p-achievement-badge.over {background-color: #4da148;color: #ffffff;}
.p-achievement-badge.postponed {background-color: #f19749;color: #ffffff;}
.p-achievement-badge.stopped {background-color: #da2648;color: #e8e8e8;}
