.right-links {
  float: right;
}

.ot-splited-left {
  margin-left: 40px;
}

fieldset.mmp_st_fs {
  clear: left;
}

.goals_line {
padding: 8px 7px 7px 0px;
border-top: 1px #DDD solid;
margin-bottom: 2px;
}

p.objectives_na {
  background-image: url(../images/objective_na.png);
  background-repeat: no-repeat;
  padding: 0px 0px 0px 50px;
  background-position: 10px;
  min-height: 40px;
}
div.ot-parent-issue {
  margin: 5px 0;
}
ul.ot-inline-tree {
  margin: 5px 0;
  padding-left: 20px;
}
ul.ot-inline-tree li {
  list-style-type: disc;
}

div.ot-objectives-for-month {
  background-image: url(../images/objective_info.png);
  background-repeat: no-repeat;
  padding: 0px 0px 0px 36px;
  background-position: 5px 18px;
  margin-top: 10px;
  margin-bottom: 3px;
}
tr.project td.name.objective-subject a.ot-plan-objectives-tree {
  white-space: normal;
  margin-left: 10px;
  padding-left: 10px;
  margin-right: 5px;
}
div.ot-objectives-for-month table.list td.name a.ot_not_in_plan {
  color: #999;
  border-bottom-color: #999;
  text-decoration: none;
}
div.ot-objectives-for-month table.list td.name a.closed {
  color: #999;
  border-bottom-color: #999;
  text-decoration: line-through;
}

table.ot-key-objectives {
  border: 1px solid #E4E4E4;
  border-collapse: collapse;
  margin-top: 3px;
}
.ot-plan-objectives-tree {
  background-image: url(../images/plus.gif)
}
.ot-plan-objectives-tree.expanded {
  background-image: url(../images/minus.gif)
}

table.ot-key-objectives th, table.ot-key-objectives td {
  border-width: 1px;
  border-style: solid;
  border-color: #E4E4E4;
  text-align: left;
  padding: 4px;
}

span.ot-key-header {
  font-weight: bold;
  margin-left: -36px;
}

a span.count_warn, a span.count_warn:hover {
  background-color: #AA6D35;
  color: #FFF;
}

.ot_unplanned_list {
  padding-left: 15px;
}
.ot_unplanned_list li {
  padding: 2px 0;
}

.ot-leg {
  width: 16px;
  height: 16px;
  padding: 0;
  margin-right: 7px;
  border: 1px #ccc solid;
  border-radius: 1px;
}

.ot-leg-row {
  margin: 3px 0;
}

.ot-normal {
  background-color: rgba(255, 188, 188, 0.53);
}
.ot-failed {
  background-color: rgba(236, 25, 25, 0.53);
}
.ot-deadline {
  background-image: url(../images/pattern_diag.png);
}
.ot-done {
  background-color: rgba(87, 199, 100, 0.53);
}
.ot-start-date {
  background-color: rgb(255, 255, 190);
}
.ot-dead-date {
  background-color: rgb(255, 218, 100);
}

.legend-anno {
  min-width: 220px;
}

a.icon-issue-tree {
  background-image: url(../images/node-tree.png);
  background-position: 3px 50%;
  background-repeat: no-repeat;
  padding-left: 16px;
}

a.icon-from-node {
  background-image: url(../images/from-node.png);
  background-position: left;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  width: 0;
  padding-left: 10px;
  /* box-sizing: border-box; */
  /*-moz-box-sizing: border-box;*/
  border: none;
}

#objectives_chain {
  line-height: 1.5;
}

.lb_btn_child_objective {
  background-image: url(../images/node-insert.png);
}

.lb_btn_decompose {
  background-image: url(../images/decompose.png);
}

.icon-ot-print {
  background-image: url(../images/print.png);
}

.icon-small-plus {
  background-image: url(../images/small_plus.png);
}

a.icon-micro-plus {
  background-image: url(../images/micro_plus.png);
  padding-left: 8px;
}

tr.updated td.subject a.icon-ot-plus-link, tr.unread td.subject a.icon-ot-plus-link, a.icon-ot-plus-link, tr.issue.closed td.subject a.icon-ot-plus-link, tr.issue.closed td.subject a.icon-ot-plus-link:link {
  background-image: url(../images/link.png)!important;
  background-position: left;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  width: 0;
  padding-left: 16px;
  margin-left: 2px;
  border: none;
  text-decoration: none;
}
tr.updated td.subject a.icon-ot-plus-relink, tr.unread td.subject a.icon-ot-plus-relink, a.icon-ot-plus-relink, tr.issue.closed td.subject a.icon-ot-plus-relink, tr.issue.closed td.subject a.icon-ot-plus-relink:link {
  background-image: url(../images/linked.png)!important;
  background-position: left;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;
  width: 0;
  padding-left: 16px;
  margin-left: 2px;
  border: none;
  text-decoration: none;
}

.node_highlight:hover {
  background-color: #FFD;
}

.icon-intersect {
  background-image: url(../images/intersection.png);
}

.intersects {
  /*background-color: #eee;*/
}

.intersects:after {
  content: '';
  background-image: url(../images/intersection.png);
  background-position: 5px 50%;
  background-repeat: no-repeat;
  padding-left: 22px;
  padding-top: 2px;
  padding-bottom: 3px;
}

.ot_stats {
  border: 1px solid #CCC;
  overflow: hidden;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #EEE;
}

.one_stat {
  padding-left: 5px;
  padding-right: 30px;
}

.filter_label {
  min-width: 150px;
  margin-right: 10px;
}

.filter_row {
  margin: 5px 0;
  line-height: 24px;
}

.form-info {
  font-size: 90%;
}

.form-inactive {
  opacity: 0.3;
}

.ot-linked-goal {
  margin: 1px 0;
}
/* -- styles for tree --*/
ul.ot_tree {
  padding-left: 20px;
  overflow: hidden;
}

ul.ot_tree li.opened {
  list-style-image: url(../images/minus.gif);
}

ul.ot_tree li.closed {
  list-style-image: url(../images/plus.gif);
}

ul.ot_tree li.disc {
  list-style-image: none;
}

ul.ot_tree.opened {
  display: block;
}

ul.ot_tree.closed {
  display: none;
}

ul.ot_tree li {
  list-style-type: disc;
}
/* -- styles for tree --*/

.ot_issue_form_container {
  position: absolute;
  z-index: 1000;
  left: 50%;
  top: 45px;
  margin-left: -450px;
  min-width: 900px;
  display: none;
  border: none;
  background: transparent;
  padding: 10px;
}


.timeline-box {
  width: 1000px;
  border: 1px dotted #999;
  border-right: 1px solid rgba(0, 0, 0, 0);
  border-left: 1px solid rgba(0, 0, 0, 0);
  overflow: visible;
  margin-top: -1px;
}
.weeks-container {
  overflow: hidden;
  position: absolute;
  z-index: -2;
}
.month-container {
  position: absolute;
  z-index: -3;
}
.quarter-container {
  position: absolute;
  z-index: -3;
}

.today-block {
  position: absolute;
  height: 4px;
  width: 0;
  border: 0;
  border-right: 1px solid rgba(255, 0, 0, 1);
  z-index: 100;
  box-shadow: 2px 0 1px 1px rgba(0, 0, 0, 0.3);
}

.today-block:after {
  content: attr(data-title);
  float: left;
  margin-top: -28px;
  margin-left: -4px;
  background-color: rgb(255, 255, 190);
  display: block;
  border-radius: 1px;
  padding: 0px 2px;
  box-shadow: 0 0 3px 0 #333;
  font-size: 10px;
  z-index: 9999;
  position: relative;
}

.one-tree-box {
}
.one-week {
  float: left;
  min-width: 1px;
  border-right: 1px dotted #ccc;
  text-align: center;
}
.one-week>small {
  color: #ccc;
  font-size: 10px;
}
.one-month {
  float: left;
  min-width: 1px;
  border-right: 1px solid #999;
  text-align: center;
  margin-left: -1px;
}
.one-month:first-child {
  border-left: 1px solid #999;
}
.one-quarter {
  float: left;
  min-width: 1px;
  border-right: 1px solid #333;
  border-top: 1px solid #333;
  text-align: center;
  margin-left: -1px;
}
.one-quarter:first-child {
  border-left: 1px solid #333;
}
.q-cross-start:first-child {
  border-left: 0;
}
.q-cross-end {
  border-right: 0;
}
.month-name {
  border: 0;
  color: #333;
  padding: 2px;
  background-color: rgba(245, 245, 220, 1);
  box-shadow: 1px 1px 3px 0 rgba(51, 51, 51, 0.25);
}
.quarter-name {
  border: 0;
  color: #333;
  padding: 2px;
  border-bottom: 1px solid #ccc;
  white-space: nowrap;
}

.issue-graph {
  background-color: rgba(255, 188, 188, 0.53);
  border-radius: 1px;
  box-sizing: border-box;
}

.issue-graph:hover {
  box-shadow: 0 0 5px 0 #333;
}


/*.issue-graph:hover:after {
  content: attr(data-end);
  float: right;
  margin-top: 4px;
  margin-right: 1px;
  background-color: rgb(255, 255, 190);
  display: block;
  border-radius: 1px;
  padding: 1px 2px;
  box-shadow: 0 0 3px 0 #333;
  z-index: 9999;
  position: relative;
}
.issue-graph:hover:before {
  content: attr(data-beg);
  float: left;
  margin-top: -22px;
  margin-left: 1px;
  background-color: rgb(255, 255, 190);
  display: block;
  border-radius: 1px;
  padding: 1px 2px;
  box-shadow: 0 0 3px 0 #333;
  z-index: 9999;
  position: relative;
}*/

.issue_hovered {
  box-shadow: 0 0 5px 0 #333;
}

.issue_hovered:after {
  content: attr(data-end);
  float: right;
  margin-top: 4px;
  margin-right: 1px;
  background-color: rgb(255, 255, 190);
  display: block;
  border-radius: 1px;
  padding: 1px 2px;
  box-shadow: 0 0 3px 0 #333;
  z-index: 9999;
  position: relative;
}
.issue_hovered:before {
  content: attr(data-beg);
  float: left;
  margin-top: -22px;
  margin-left: 1px;
  background-color: rgb(255, 255, 190);
  display: block;
  border-radius: 1px;
  padding: 1px 2px;
  box-shadow: 0 0 3px 0 #333;
  z-index: 9999;
  position: relative;
}

.ot-deadline {
  background-image: url(../images/pattern_diag.png);
}

/*.ot-deadline:hover:after {
  content: attr(data-plan-end);
  float: right;
  margin-top: -1px;
  margin-right: -69px;
  background-color: rgb(255, 218, 100);
  display: block;
  border-radius: 1px;
  padding: 1px 2px;
  box-shadow: 0 0 3px 0 #333;
  z-index: 9999;
  position: relative;
}*/

.ot-deadline-hovered:before {
  content: attr(data-plan-beg);
  float: left;
  margin-top: -1px;
  margin-left: -69px;
  background-color: rgb(255, 218, 100);
  display: block;
  border-radius: 1px;
  padding: 1px 2px;
  box-shadow: 0 0 3px 0 #333;
  z-index: 9999;
  position: relative;
}

.ot-deadline-hovered:after {
  content: attr(data-plan-end);
  float: right;
  margin-top: -1px;
  margin-right: -69px;
  background-color: rgb(255, 218, 100);
  display: block;
  border-radius: 1px;
  padding: 1px 2px;
  box-shadow: 0 0 3px 0 #333;
  z-index: 9999;
  position: relative;
}

.crossed-right {
  box-shadow: inset -2px 0 0 #F00;
}

.crossed-left {
  box-shadow: inset 2px 0 0 #F00;
}

.crossed-left.crossed-right {
  box-shadow: inset -2px 0 0 #F00, inset 2px 0 0 #F00;

}

.crossed-left.issue_hovered {
  box-shadow: 0 0 5px 0 #333, inset 2px 0 0 #F00;
}

.crossed-right.issue_hovered {
  box-shadow: 0 0 5px 0 #333, inset -2px 0 0 #F00;
}

.crossed-left.crossed-right.issue_hovered {
  box-shadow: 0 0 5px 0 #333, inset -2px 0 0 #F00, inset 2px 0 0 #F00;
}

.deadline-exceeded {
  background-color: rgba(98, 174, 255, 0.53);
}

.deadline-failed {
  background-color: rgba(236, 25, 25, 0.53);
}

.ot-issue-closed {
  background-color: rgba(87, 199, 100, 0.53);
}

.sub-obj {
  line-height: 1.5;
  float: right;
  z-index: 9999;
  position: relative;
  background-color: #fff;
  padding-right: 5px;
}

.sub-obj.progr {
  width: 50px;
}

table.ot-gantt span.count {
  top: 0px;
}

.ot-progress-body {
  background-color: #fff;
  border-radius: 1px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 50px;
  z-index: 9999;
  position: relative;
  margin: 2px 0;
  height: 14px;
  font-size: 10px;
  text-align: center;
  overflow: hidden;
  padding: 1px;
  border: 1px #ccc solid;
}

.ot-progr-text {
  color: #3A3A3A;
  text-align: center;
  display: block;
  font-size: 10px;
  margin-top: -2px;
}

.ot-progress {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /*background-color: rgba(255, 188, 188, 0.53);*/
  background-color: rgba(87, 199, 100, 0.53);
  /*background: linear-gradient(to right, #CCC 50%, #FFF 50%);*/
  background: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.r-grad {
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
  float: right;
  width: 20px;
  z-index: 9999;
  position: relative;
  line-height: 1.5em
}
.node_highlight {
  white-space: nowrap;
  padding-top: 3px;
  padding-bottom: 5px;
}
.node_highlight:hover {
  background-color: #efefef;
}
.node_highlight:hover .sub-obj {
  background-color: #efefef;
}
.node_highlight:hover .r-grad {
  /*background: linear-gradient(90deg, transparent, #efefef, #efefef);*/
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(239,239,239,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(239,239,239,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* W3C */
}
.nod_hovered {
  background-color: #efefef;
}
.nod_hovered .sub-obj {
  background-color: #efefef;
}
.nod_hovered .r-grad {
  /*background: linear-gradient(90deg, transparent, #efefef, #efefef);*/
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(239,239,239,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(239,239,239,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(239,239,239,1) 100%); /* W3C */
}

.scheme_higlight {
  padding: 4px 0;
  white-space: nowrap;
}
.scheme_higlight:hover {
  background-color: rgba(204, 204, 204, 0.3);
}
.sch_hovered {
  background-color: rgba(204, 204, 204, 0.3);
}
ul.flat_tree {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
ul.flat_tree {
  list-style-type: none;
}
ul.flat_tree.opened {
  display: block;
}
ul.flat_tree.closed {
  display: none;
}
.ot-tree-col {
  width: 700px;
  max-width: 700px;
}
div.time-scroll {
  /*overflow-x: auto;*/
  padding-bottom: 20px;
  width: 800px;
  position: relative;
}
a.link_disabled {
  color: #ccc;
  text-decoration: none;
  border: 0;
}
a.link_disabled span {
  color: #ccc;
  border-bottom: 0;
}
.ot-gantt {
  width: 100%;
}
.ot-gantt td {
  vertical-align: top;
}
div.tree-link {
  position: absolute;
  border-bottom: 1px dotted #999;
  border-left: 1px dotted #999;
  display: none;
  z-index: 1000;
}

.icon-tl-show {
  background-image: url('../images/diamonds.png')
}

.icon-tl-hide {
  background-image: url('../images/close.png');
}

.ot-bold-txt>a.issue {
  font-weight: bold;
}
.autoscroll table.gls-executors > tbody > tr > td {
  text-align: left;
  padding: 2px;
  vertical-align: middle;
}
.gls-issues p {
  margin: 5px 0;
  padding-bottom: 2px;
  border-bottom: 1px solid #ccc;
}


@media all {
  .ot-node-number, .print-visible-inline {
    display: none;
  }
}

.goals-issue-block {
  min-width: 300px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: inherit;
}

.goals-block-header {
  position: relative;
  border-top: 1px solid #ccc;
  padding-top: 0.5em;
  margin-top: 0.55em;
  background-color: inherit;
}
.goals-block-header:before {
  content: attr(data-header);
  position: absolute;
  color: #666;
  top: -0.65em;
  padding-right: 3px;
  background-color: inherit;
  font-size: 0.9em;
}

.goals-block-data {
  overflow: hidden;
  padding: 8px 0;
  padding-left: 3px;
  margin: 0;
}

.goals-block-data:empty {
  padding: 0 !important;
  display: none !important;
}

table.goals-relations > tbody > tr {
  border: 0;
  width: auto;
  padding: 0;
  margin: 0;
  border-spacing: 0;
}

table.goals-relations > tbody > tr:hover {
  background-color: #FFC;
}

table.goals-relations > tbody > tr > td{
  text-align: left;
  padding: 3px 5px 5px 5px;;
  border-right: 1px solid #EAEAD9;
  border-bottom: 1px solid #EAEAD9;
}
table.goals-relations > tbody > tr:first-child > td{
  border-top: 1px solid #EAEAD9;
}
table.goals-relations > tbody > tr > td:first-child{
  border-left: 1px solid #EAEAD9;
}

.goals_gantt_issue_hover{
  background-color: orange;
}

.goals_gantt_todo_issue_hover{
  outline: 2px solid orange;
}
