/**************************************************************/
/*                   PEOPLE_PLUGIN_SETTINGS
/**************************************************************/

.select-users fieldset label {
  display: block;
}
.select-users fieldset div {
  max-height: 400px;
  overflow: auto;
}



/**************************************************************/
/*                   SHOW_PERSON_HEADER
/**************************************************************/


div.person.details {
  background:  #eee;
  padding: 6px;
  margin-bottom: 6px;
  border: 1px solid #d7d7d7;
}

div.person.details table.subject_header {
  width: 100%;
}

div.person.details table.subject_header h1 {
  margin-bottom: 0px;
}


div.person.details table.subject_header td.avatar {
  vertical-align: top;
  vertical-align: top;
  text-align: right;
  width: 70px;
}

div.person.details table.subject_header td.subject_info {
  padding-left: 15px;
  padding-right: 15px;
  border-left: 1px solid #D7D7D7;
  min-width: 200px;
  width: 200px;
}

div.person.details table.subject_header td.subject_info ul {
  list-style: none;
  padding-left: 0px;
}

div.person.details  table.subject_header td.subject_info li {
  line-height: 20px;
  white-space: nowrap;
  min-height: 20px;
}


/**************************************************************/
/*                   PERSON_DATA
/**************************************************************/
.person-data div.person { overflow: hidden; margin-bottom: 15px; }
.person-data div.person div.image { float: left; }
.person-data div.person div.data { margin-left: 45px; }
.person-data div.person div.data h4.name { border-bottom: 0px; padding: 0px; margin-bottom: 5px; }
.person-data div.person div.data p.info { margin: 0px; }

table.person_data {
  width: 100%;
}

table.person_data td.name {
  padding-left: 0px;
  vertical-align: top;
}

table.person_data td.avatar {
  vertical-align: top;
  width: 38px;
  padding: 10px 4px 0px 0px;
}

table.person_data td.name h4 {
  letter-spacing: -1px;
  margin: 7px 0 0 0;
  padding: 0;
  line-height: 1.1em;
  border-bottom: 0px;
}


div.person .system {
  text-transform: uppercase;
  background: #d22;
  color: #fff;
  font-weight: bold;
  padding: 0px 2px 0px 2px;
  font-size: 70%;
  margin-right: 2px;
  border-radius: 2px;
  float: right;
}

table.person.attributes th {
  text-align: left;
}

/**************************************************************/
/*                   ACL                                      */
/**************************************************************/

table.list.members td.acls {
  text-align: left;
}

/**************************************************************/
/*                   PEOPLE_TABLE_LIST                        */
/**************************************************************/

.live_search input.live_search_field {
  font-size: 16px;
}

table.people.index {
  border-top: 1px solid rgb(239, 239, 239);
  border-right: 1px solid rgb(239, 239, 239);
  border-left: 1px solid rgb(239, 239, 239);
  width: 100%;
  border-spacing: 0px 0px;
  margin-bottom: 4px;
}

table.people.index tr.selected{ background-color: #507AAA !important; color: #F8F8F8 !important;}
/*table.people.index tr.selected a { color: #F8F8F8 !important; } */
table.people.index tr.context-menu-selection h2 { color: #F8F8F8 !important; }
table.people.index tr.context-menu-selection td { color: #F8F8F8 !important; }
table.people.index tr.context-menu-selection span.tag a { border: 1px solid #EFEFEF; padding: 2px 3px; }
table.people.index tr.context-menu-selection span.deal-status { border: 1px solid #EFEFEF; padding: 2px 3px; }

table.people.index tbody tr:hover { background-color:#ffffdd; }

table.people.index td {
  vertical-align: top;
  color: #666;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #efefef;
}

table.people.index td.checkbox { padding: 12px 0px 0px 5px; }
table.people.index td.name { width: 50%; padding-right: 10px;}
table.people.index td.info { width: 50%; padding-right: 5px; }
table.people.index td.avatar {padding: 10px 10px 10px 5px;}

table.people.index th {padding: 5px 10px 5px 0px; border-bottom: 1px solid #efefef; vertical-align: top;}
table.people.index th.title {text-align: right;}
table.people.index th.sum {text-align: left;}

table.people.deals.index td.avatar {padding: 10px 10px 10px 10px;}


/*table.people.index td.avatar {margin-left: 50px;}*/

table.people.index td.name h1 { font-size: 20px; font-weight: normal;
  margin: 0;
  padding: 0;
}

table.people.index td.name h1.deal_name {
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

table.people.index td.name h1.selected { background-color: #ffb;}
table.people.index td.name h2.selected { background-color: #ffb;}

table.people.index td.name h2 {
  font-size: 13px;
  color: #777;
  font-weight: normal;
  line-height: 140%;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}

div.Right td.name div.info {
  padding-top: 3px;
  margin-left: 42px;
}
/*#edit_tags_form {display: block;  margin-top: 10px;}*/
.notes div.contextual {vertical-align: top;}

div#people_groups ul {
  list-style: none;
  padding-left: 0px;
}

table.index tbody tr.group td {
  padding: 0.8em 0 0.5em 0.3em;
  font-weight: bold;
  border-bottom: 1px solid #CCC;
}

.person-table .row {
  min-height: 18px;
  height: 18px;
}

/**************************************************************/
/*                   DEPARTMENTS
/**************************************************************/
ul.department-tree {margin: 0;  padding: 0;}
ul.department-tree li {list-style-type:none; margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}

/**************************************************************/
/*                   ICONS
/**************************************************************/
#admin-menu a.people { background-image: url(../images/user_suit.png);}

.icon-email {background-image: url(../images/email.png);}
.icon-twitter {background-image: url(../images/twitter.png);}
.icon-skype {background-image: url(../images/skype.png);}
.icon-facebook {background-image: url(../images/facebook.png);}
.icon-linkedin {background-image: url(../images/linkedin.png);}



/**************************************************************/
/*                            TAGS                            */
/**************************************************************/

.tag_list {
  margin-top: 5px;
  display: inline-block;
}

span.tag-label-color {
  background-color: #759FCF;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  padding: 2px 4px;
  display: inline-block;
  font-size: 10px;
  margin: 0px 0px 5px 2px;
}

span.tag-label-color:hover {
  background-color: #9DB9D5;
}

span.tag-label-color a, span.tag-label-color > span {
  text-decoration: none;
  font-family: Verdana, sans-serif;
  font-weight: normal;
  color: white;
}

#edit_tags_form.box {
  margin: 1px 5px 0px 0px;
}

#edit_tags_form.box label {
  margin-right: 5px;
  font-weight: bold;
}

#edit_tags_form.box #person_tags {
  margin-bottom: 10px;
}

div#tags_data span.contextual {float: none; padding-left: 0px;}

span.tag-label, span.tag-input {
  display: inline-block;
}


#responsible_user ul {margin: 0;  padding: 0;}
#responsible_user li {list-style-type:none; margin: 3px 2px 0px 0px; padding: 0px 0px 0px 0px;}
#responsible_user select {width: 95%; display: block;}
#responsible_user a.delete {opacity: 0.4;}
#responsible_user a.delete:hover {opacity: 1;}
#responsible_user img.gravatar {
  vertical-align: middle;margin: 0 4px 2px 0;
}

#edit_tags_form .people-tags-edit  ul.tagit {
  padding: 5px;
  margin: 2px;
}

/* Edit tags Tag-it*/

.people-tags-edit  ul.tagit {
  border: 1px solid #d7d7d7;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -khtml-border-radius: 0px;
  border-radius: 0px;
  background: white;
  padding: 0px;
  margin: 0px;
  line-height: 1.5em;
}

.people-tags-edit  ul.tagit li.tagit-choice {
  font-weight: normal;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  font-size: 11px;
  color: inherit;
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #f7f7f7;
  margin: 1px;
}

.people-tags-edit  ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove {
  background-color: #e5e5e5;
  text-decoration: none;
  color: black;
}

.people-tags-edit  ul.tagit li.tagit-choice a.tagit-close {
  text-decoration: none;
}

.people-tags-edit  ul.tagit li.tagit-choice .tagit-close {
  right: .4em;
}

.people-tags-edit  ul.tagit li.tagit-choice .ui-icon {
  display: none;
}

.people-tags-edit  ul.tagit li.tagit-choice .tagit-close .text-icon{
  display: inline;
}

.people-tags-edit  ul.tagit li.tagit-choice .tagit-close .text-icon:hover {
  color: black;
}

.people-tags-edit  ul.tagit li.tagit-new input {
  font-size: 11px;
  background: white;
  margin-bottom: 2px;
  margin-left: 2px;
}

.people-tags-edit  ul.tagit li.tagit-new {
  padding: 0px;
}


/**************************************************************/
/*                  ANNOUNCEMENTS                             */
/**************************************************************/
div[aria-describedby=announcement-show] {
  min-width: 600px;
  max-width: 800px;
}

/**************************************************************/
/*                  PEOPLE ATTRIBUTES SIDEBAR                 */
/**************************************************************/

.tab-placeholder {
    display: none;
}

.tab-placeholder.active {
    display: block !important;
}

/*****Announcements*****/
#announcement-show table{
  width: 100%;
}

.crm_pull_right{
  float: right;
}

.person_card{
  float: left;
  width: 30%;
  padding: 10px;
}

.person_card:hover {
  background-color: #ffffdd;
}

.person_card a:hover{
  text-decoration: none;
}

.person_card .gravatar{
  float: left;
  margin-right: 5px;
}

.person_card .contacts_header{
  margin-bottom: 0px;
}

.birthdays{
  margin-top: 20px;
}

.birthdays:after {
  clear: both;
  content: '';
  display: block;
}

/**************************************************************/
/*                  Calendar                                  */
/**************************************************************/
table.cal td.holiday {
  background: #effcde;
}
table.cal td.weekend {
  background: #f6f7f8;
}
.no-icon { padding-left: 3px; }
.icon-cake { background-image: url(../images/cake.png); }

#person_form #person_information_attributes_manager_id_wrap .select2 { width: 20% !important; }
#person_form .select2-container--default .select2-selection--single { background: #fff url(../images/user_suit.png) no-repeat 2px 50%; }

/**************************************************************/
/*                      Performance Tab                       */
/**************************************************************/
#tab-placeholder-performance td.delimiter {
  padding: 10px;
  border-left: 1px solid #dbdde1;
}

#tab-placeholder-performance .chart_table {
  width: 100%;
  margin: 20px 0;
}

#tab-placeholder-performance .date_period_block { float: right; }
#tab-placeholder-performance tr.header td .issues_count:after { content: "h"; }
#tab-placeholder-performance .people-performance-metric-title {
  color: #2f6fab;
  font-size: 1.2em;
}
#tab-placeholder-performance #performance-histogram .people-holiday-header-column { background-color: #ffe5e5; }
#tab-placeholder-performance #performance-histogram .people-holiday-name {
  color: #8a2f2f;
  font-size: 10px;
  line-height: 12px;
  margin: 2px 1px;
  overflow-wrap: break-word;
}
#tab-placeholder-performance #performance-histogram .people-dayoff-name {
  color: #2c8a4a;
  font-size: 10px;
  line-height: 12px;
  margin: 2px 1px;
  overflow-wrap: break-word;
}

#people-performance-report .people-performance-report-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#people-performance-report .people-performance-report-export {
  margin-left: auto;
}

#people-performance-report .people-performance-report-person {
  margin: 18px 0 28px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

#people-performance-report .people-performance-report-metrics {
  width: 100%;
  margin: 10px 0;
}

#people-performance-report .people-performance-metric-title {
  color: #2f6fab;
  font-size: 1.2em;
}

#people-performance-report .people-performance-report-histogram .people-holiday-header-column { background-color: #ffe5e5; }

#people-performance-report .people-performance-report-histogram .people-holiday-name {
  color: #8a2f2f;
  font-size: 10px;
  line-height: 12px;
  margin: 2px 1px;
  overflow-wrap: break-word;
}

#people-performance-report .people-performance-report-histogram .people-dayoff-name {
  color: #2c8a4a;
  font-size: 10px;
  line-height: 12px;
  margin: 2px 1px;
  overflow-wrap: break-word;
}

#people-performance-report .people-performance-report-glanceyear {
  margin-top: 10px;
}

/* Chart table */

.chart_table { margin: auto; border-collapse:collapse; text-align: center }
.chart_table .header { height: 50px; background-color: #eee }
.chart_table .header .column_data { min-width: 44px; border: 1px solid #c0c0c0; padding: 0px; }
.chart_table .header .column_data .issues_count { font-weight: bold; }
.chart_table .column_data.empty { background-color: #eee; min-width: 22px}
.chart_table .main_block { height: 200px }
.chart_table .main_block .column_data { vertical-align: bottom; width: 80px; border: 1px solid #c0c0c0; padding: 0px; }
.chart_table .main_block .column_data .percents { background-color: #BAE0BA; }
.chart_table .footer { height: 50px }
.chart_table .footer .column_data { font-weight: bold; padding: 0px; }


/* Glance year perfomance table */

.glanceyear-container .glanceyear-content { padding: 10px; text-align: center}

.glanceyear-container .glanceyear-text {
  color: #aaa;
  font-size: 12px;
  font-weight: normal;
  margin: 0 0;
  padding: 0;
}

.glanceyear-container svg rect.day { fill: #eee; shape-rendering: crispedges; }
.glanceyear-container svg rect.day:hover { stroke: #aaa; stroke-width: 1px; }
.glanceyear-container svg rect.day[data-count] { fill: #3d9692; }
.glanceyear-container svg rect.day[data-count='1'] { fill: #f0e79f; }
.glanceyear-container svg rect.day[data-count='2'] { fill: #5caeaa; }
.glanceyear-container svg rect.day[data-count='3'] { fill: #277672; }

.glanceyear-container svg text { fill: #CCC; font-size: 9px; }
.glanceyear-container svg text.month { fill: #AAA; }

.svg-tag {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  color: #eee;
  font-size: 12px;
  line-height: 15px;
  padding: 5px 15px;
  position: absolute;
  text-align: center;
}

.svg-tag:after {
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  bottom: -5px;
  content: "";
  height: 0;
  left: 50%;
  margin-left: -5px;
  position: absolute;
  width: 0;
}

/* Metrics*/

table.metrics {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}

.metrics.box {
  background-color: #eee;
  width: 250px;
  margin: 15px;
  border: 1px solid #c0c0c0;
  display: inline-block;
  padding: 20px 5px;
}

.metrics td {
  padding-bottom: 25px;
  border-bottom: 1px solid #dbdde1;
  text-align: left;
}

.metrics td.empty {
  border-top: none;
}

.metrics .num {
  color: #444;
  font-size: 29px;
  margin-right: 8px;
  display: inline-block;
}

.metrics .change {
  display: inline-block;
  color: #999;
  font-size: 13px;
  text-align: center;
}

.metrics p {
  color: #999;
  margin: 2px;
  line-height: 1.4em;
}

.change>.caret {
  border-width: 6px;
  display: block;
  margin: 0 auto 4px
}

.change>.neg {
  border-top-color: #ed5a5a
}

.change>.pos {
  border-top: 0;
  border-bottom: 6px solid #43ac6d
}

.change>.mirror_pos {
  border-top: 0;
  border-bottom: 6px solid #ed5a5a
}

.change>.mirror_neg {
  border-top-color: #43ac6d
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  border-top: 4px solid #2b2b2b;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: ""
}

.metrics .num>span {
  font-size: 16px;
}

/**************************************************************/
/*                     Organization chart                     */
/**************************************************************/
div.orgChart {
  border: 1px solid #cccccc;
  background-color: #ffffe8;
  margin: 10px;
  padding: 20px;
  overflow: auto;
}

div.orgChart h2 {
  margin: 0px;
  padding: 3px;
  font-size: 1em;
  border-bottom: none;
}

div.orgChart ul {
  list-style: none;
  margin: 4px;
  padding: 0px;
  font-size: 0.8em;
  text-align: left;
}

div.orgChart ul.stack,
div.orgChart ul.stack ul {
  text-align: center;
}

div.orgChart table {
  width: 100%;
}

div.orgChart tr.lines td.line {
  width: 1px;
  height: 20px;
}

div.orgChart tr.lines td.top {
  border-top: 2px solid #ddd;
}

div.orgChart tr.lines td.left {
  border-right: 1px solid #ddd;
}

div.orgChart tr.lines td.right {
  border-left: 1px solid #ddd;
}

div.orgChart td {
  text-align: center;
  vertical-align: top;
  padding: 0px 2px;
}

div.orgChart div.node {
  cursor: default;
  border: 1px solid #ddd;
  display: inline-block;
  padding: 0 4px;
  min-width: 140px;
  /*height: 60px;*/
  background-color: #d6f6f8;
  text-align: left;
/*  line-height: 1.3em;
  border-radius: 8px;
  box-shadow: 4px 4px 6px #888888;
  -moz-border-radius: 8px;
  -moz-box-shadow: 4px 4px 6px #888888;
  -webkit-border-radius: 8px;
  -webkit-box-shadow: 4px 4px 6px #888888;
*/}

div.orgChart div.hasChildren {
  border: solid 1px #b8d4b0;
  background-color: #e0fae0;
}

div.orgChart div.hasChildren.hiddenChildren {
  border-color: red;
}

div.orgChart.interactive div.hasChildren {
  cursor: pointer;
}

div.orgChart div.node.hover {
  background-color: #c8eec4;
}

div.orgChart div.adjunct.node {
  position: absolute;
  margin-top: 8px;
  margin-left: -110px;
  width: 80px;
  height: 40px;
  background-color: #efefef;
}

div.orgChart div.adjunct-link {
  display: inline-block;
  position: absolute;
  margin-left: -20px;
  margin-top: 25px;
  width: 20px;
  border: 1px dashed black;
}

div.orgChart .node .person-data div.person div.data {
  margin-left: 38px;
}

div.orgChart .node .person-data div.person div.data h4.name {
  max-height: 30px;
  overflow: hidden;
}

div.orgChart .node .person-data div.person div.data p.info {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.orgChart .node .person-data div.person {
  margin: 0;
}

/**************************************************************/
/*            Styles of the chart "Leave Planner"             */
/**************************************************************/
.leave-planner-chart .group-subject,
.leave-planner-chart .group-line,
.leave-planner-chart .user-subject,
.leave-planner-chart .user-line {
  height: 16px;
  padding: 8px;
  border-top: 1px solid #c0c0c0;
}

.leave-planner-chart .user-line {
  padding: 8px 0;
}

.leave-planner-chart .dayoff-bar {
  position: absolute;
  height: 14px;
  padding:0;
  margin:0;
  border: solid 1px #d5d5d5;
}

.dayoff-bar.red { background-color: #FFE2E3; border-color: rgb(255, 201, 201); }
.dayoff-bar.green { background-color: #DFFFCC; border-color: rgb(190, 239, 190); }
.dayoff-bar.blue { background-color: #DCE7FF; border-color: rgb(189, 189, 233); }
.dayoff-bar.turquoise { background-color: #C4FDFF; border-color: rgb(151, 222, 214); }
.dayoff-bar.lightgreen { background-color: #D2FFEF; border-color: rgb(184, 228, 226); }
.dayoff-bar.yellow { background-color: #FFFD9C; border-color: rgb(234, 234, 94); }
.dayoff-bar.orange { background-color: #FFDBBA; border-color: rgb(255, 202, 105); }
.dayoff-bar.purple { background-color: #EFDFFC; border-color: rgb(233, 186, 233); }
.dayoff-bar.gray { background-color: #e1e1e1; border-color: rgb(198, 198, 198); }

.leave-planner-chart .tooltip { height: 14px; }
.leave-planner-chart div.tooltip:hover span.tip { top: 14px; }
.leave-planner-chart .editable { cursor: pointer; }

.leave-planner-chart .group-container .group { display: none; }
.leave-planner-chart .group-container.open .group { display: block; }

.leave-planner-chart .group-container span.expander {
  background-image: url(../../../images/bullet_toggle_plus.png);
  background-position: 0 50%;
  padding-left: 10px;
  margin-left: 0;
  cursor: pointer;
}

.leave-planner-chart .group-container.open span.expander {
  background-image: url(../../../images/bullet_toggle_minus.png);
}

.leave-planner-chart .leave-planner-subjects .group,
.leave-planner-chart .leave-planner-lines .group {
  border-top: 1px dotted #c0c0c0;
  overflow: visible;
  text-align: left;
}

.leave-planner-chart .group-container .user-subject {
  border-top: none;
  margin-left: 20px;
}

.leave-planner-chart .group-container .user-line { border-top: none; }

#dayoff_approved_wrap {
  float: right;
  margin-right: 1em;
  padding-left: 30px;
}

.leave-planner-chart .gantt_subjects_column + td { padding: 2px; }

.leave-planner-chart .gantt_hdr {
  position:absolute;
  top:0;
  height:16px;
  border-top: 1px solid #c0c0c0;
  border-bottom: 1px solid #c0c0c0;
  border-right: 1px solid #c0c0c0;
  border-left: 0;
  text-align: center;
  overflow: hidden;
}

/**************************************************************/
/*                      Other styles                          */
/**************************************************************/
.people_user_activity {}
.user_activity_table { margin: auto; border-collapse:collapse; text-align: center; }
.user_activity_table .header .column_data { background-color: #eee; border: 1px solid #c0c0c0; }
.user_activity_table .main_block .column_data { width: 25px; height: 25px; background: white; border: 1px solid #c0c0c0; }
.user_activity_table .main_block .column_data_yellow { background: #fff4a2; }
.user_activity_table .main_block .column_data_green { background: #bae0ba; }
.user_activity_table .main_block .column_data_user_name { text-align: left; padding-right: 15px; }
.user_activity_table .main_block .column_data_total { background-color: #eee; border: 1px solid #c0c0c0; }

div.journal h4 img.gravatar.without-margin {margin: -2px 4px -4px 0;}

#people-ogsma-report .people-ogsma-filter-grid,
#people-ogsma-report .people-ogsma-option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: end;
}

#people-ogsma-report .people-ogsma-filter-grid p,
#people-ogsma-report .people-ogsma-option-grid p {
  margin: 6px 0;
}

#people-ogsma-report .people-ogsma-filter-grid label,
#people-ogsma-report .people-ogsma-option-grid label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}

.people-ogsma-date-range,
.people-ogsma-action-field-options {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.people-ogsma-action-field-options label {
  white-space: nowrap;
}

.people-ogsma-people-selection {
  display: flex;
  align-items: center;
  gap: 8px;
}

.people-ogsma-people-selection > span > label {
  display: block;
}

.people-ogsma-people-selection select {
  min-width: 220px;
}

.people-ogsma-order-buttons {
  display: flex;
  flex-direction: column;
}

.people-ogsma-report-actions {
  min-height: 24px;
}

.people-ogsma-report-export {
  float: right;
  display: flex;
  gap: 12px;
}

.people-ogsma-groups {
  margin-top: 14px;
}

.people-ogsma-group {
  margin-bottom: 30px;
  color: #333;
  background: #fff;
  max-width: 100%;
}

.people-ogsma-group-title {
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  background: #f1f5f8;
  border: 1px solid #c8d0d8;
  border-bottom: 0;
  font-size: 16px;
  box-sizing: border-box;
}

.people-ogsma-table-wrap {
  width: 100%;
  min-width: 0;
}

.people-ogsma-table {
  width: 100%;
  min-width: 0;
  border: 0;
  border-right: 1px solid #d8dde3;
  border-bottom: 1px solid #d8dde3;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  table-layout: fixed;
}

.people-ogsma-heading,
.people-ogsma-cell {
  border: 0;
  border-top: 1px solid #d8dde3;
  border-left: 1px solid #d8dde3;
  box-sizing: border-box;
}

.people-ogsma-heading {
  position: relative;
  padding: 9px 10px;
  color: #333;
  text-align: left;
  font-size: 14px;
}

.people-ogsma-row {
  height: 52px;
}

.people-ogsma-heading-objective { background: #fbe3df; }
.people-ogsma-heading-goal { background: #fff0d9; }
.people-ogsma-heading-strategy { background: #f8dfeb; }
.people-ogsma-heading-measure_level_one { background: #e9e0f4; }
.people-ogsma-heading-measure_level_two { background: #dce8f5; }
.people-ogsma-heading-action { background: #d8eee9; }

.people-ogsma-cell {
  padding: 0;
  vertical-align: top;
  background: #fff;
}

.people-ogsma-cell-empty {
  min-height: 52px;
  background: #fafbfc;
}

.people-ogsma-item-list {
  padding: 5px 0;
}

.people-ogsma-item {
  min-height: 52px;
  padding: 4px 10px;
  box-sizing: border-box;
}

.people-ogsma-item + .people-ogsma-item {
  margin-top: 4px;
}

.people-ogsma-item-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.people-ogsma-item-main > .people-ogsma-editable[data-ogsma-field='subject'] {
  flex: 0 1 auto;
}

.people-ogsma-item:not([data-ogsma-level='action']) .people-ogsma-item-main {
  gap: 1em;
}

.people-ogsma-item:not([data-ogsma-level='action']) .people-ogsma-item-main > .people-ogsma-editable[data-ogsma-field='subject'] {
  flex: 1 1 auto;
}

.people-ogsma-item-main > .people-ogsma-editable[data-ogsma-field='progress'] {
  position: relative;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: auto;
  max-width: none;
  min-width: 62px;
  overflow: visible;
}

.people-ogsma-item-main > .people-ogsma-editable[data-ogsma-field='progress'] > .people-ogsma-inline-edit {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 1;
  margin-left: 3px;
}

.people-ogsma-item-subject {
  color: #333;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.people-ogsma-progress {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 18px;
  vertical-align: middle;
}

.people-ogsma-progress-ring {
  display: block;
  box-sizing: border-box;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(#4b8fc5 calc(var(--progress) * 1%), #e1e6ea 0);
  position: relative;
}

.people-ogsma-progress-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.people-ogsma-progress-value {
  font-size: 11px;
  color: #333;
  line-height: 16px;
  white-space: nowrap;
}

.people-ogsma-action-progress {
  position: relative;
  display: inline-block;
  flex: 0 0 40px;
  width: 40px;
  height: 16px;
  overflow: hidden;
  border: 0;
  background: #e7ecef;
  box-sizing: border-box;
}

.people-ogsma-action-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: #bae0ba;
}

.people-ogsma-action-progress-value {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #333;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}

.people-ogsma-group .people-ogsma-item-subject-overdue {
  color: #c62828;
}

.people-ogsma-group .people-ogsma-item-subject-closed {
  color: #2e7d32;
}

.people-ogsma-group .people-ogsma-item-subject-strikethrough {
  text-decoration: line-through;
}

.people-ogsma-display-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 8px 18px;
  margin: 12px 0;
}

.people-ogsma-display-options label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.people-ogsma-column-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 12px;
}

.people-ogsma-column-setting {
  min-width: 0;
  margin: 0;
  padding: 8px 12px 12px;
  border: 1px solid #d5dadd;
}

.people-ogsma-column-setting p {
  margin: 8px 0;
  padding-left: 150px;
}

.people-ogsma-column-setting p > label {
  width: 140px;
  margin-left: -150px;
}

.people-ogsma-column-color-picker {
  width: 42px;
  height: 28px;
  padding: 1px;
  vertical-align: middle;
}

.people-ogsma-column-color-input {
  width: 90px;
}

.people-ogsma-column-reset {
  margin-left: 150px;
}

@media screen and (max-width: 899px) {
  .people-ogsma-display-options,
  .people-ogsma-column-settings {
    grid-template-columns: 1fr;
  }
}

.people-ogsma-item-fields {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  gap: 2px 6px;
  margin: 7px 0 0;
  font-size: 11px;
  color: #333;
}

.people-ogsma-item-fields dt,
.people-ogsma-item-fields dd {
  margin: 0;
}

.people-ogsma-item-fields-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.people-ogsma-item-fields-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin: 4px 0 0;
  font-size: 11px;
  color: #333;
}

.people-ogsma-item-fields-compact > .people-ogsma-item-field {
  gap: 0;
}

.people-ogsma-item[data-ogsma-level='action'] .people-ogsma-item-fields-compact > .people-ogsma-item-field {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
}

.people-ogsma-item-fields-compact .people-ogsma-editable {
  gap: 3px;
}

.people-ogsma-item-fields-compact-stacked {
  flex-direction: column;
  align-items: flex-start;
}

.people-ogsma-item-fields-compact-stacked > .people-ogsma-item-field {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
}

.people-ogsma-item-field {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  gap: 4px;
}

.people-ogsma-item-field-label {
  flex: 0 0 auto;
  white-space: nowrap;
}

.people-ogsma-item-field-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.people-ogsma-issue-tooltip {
  width: min(380px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 0;
  box-sizing: border-box;
  color: #fff;
  background: #151719;
  border: 1px solid #34393f;
  border-radius: 13.333px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

.people-ogsma-issue-tooltip dl {
  margin: 0;
}

.people-ogsma-issue-tooltip-row {
  display: grid;
  grid-template-columns: minmax(76px, max-content) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 4px 12px;
}

.people-ogsma-issue-tooltip-row:first-child {
  padding-top: 7px;
}

.people-ogsma-issue-tooltip-row:last-child {
  padding-bottom: 7px;
}

.people-ogsma-issue-tooltip dt,
.people-ogsma-issue-tooltip dd {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}

.people-ogsma-issue-tooltip dd {
  min-width: 0;
  margin: 0;
  color: #fff;
  overflow-wrap: anywhere;
}

.people-ogsma-issue-tooltip-row[data-field="issue_id"] dt,
.people-ogsma-issue-tooltip-row[data-field="issue_id"] dd {
  color: #79c8ff;
}

.people-ogsma-item-fields dt {
  white-space: nowrap;
}

.people-ogsma-item-fields dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.people-ogsma-field-options {
  display: grid;
  gap: 7px;
  margin: 10px 0 14px;
}

.people-ogsma-field-option-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
}

.people-ogsma-field-option-row > span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.people-ogsma-field-option-row label {
  white-space: nowrap;
}

.people-ogsma-field-option-row .people-ogsma-field-unavailable {
  color: #777;
}

.people-ogsma-column-resizer {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -5px;
  bottom: 0;
  width: 10px;
  cursor: col-resize;
  touch-action: none;
}

.people-ogsma-column-resizer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 4px;
  bottom: 0;
  width: 1px;
  background: transparent;
}

.people-ogsma-column-resizer:hover::after,
.people-ogsma-column-resizer:focus::after {
  background: #4b8fc5;
}

.people-ogsma-column-resizer:focus {
  outline: 1px dotted #4b8fc5;
  outline-offset: -2px;
}

body.people-ogsma-column-resizing {
  cursor: col-resize;
  user-select: none;
}

.people-ogsma-column-width-input {
  width: 100px;
}

#people-ogsma-report .people-ogsma-context-selection {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#people-ogsma-report .people-ogsma-editable {
  display: inline;
  min-width: 0;
  max-width: 100%;
}

#people-ogsma-report .people-ogsma-editable-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

#people-ogsma-report .people-ogsma-inline-edit {
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-left: 3px;
  opacity: 0;
  transition: opacity 120ms ease-in-out;
  vertical-align: text-bottom;
}

#people-ogsma-report .people-ogsma-editable:hover > .people-ogsma-inline-edit,
#people-ogsma-report .people-ogsma-editable:focus-within > .people-ogsma-inline-edit {
  opacity: 1;
}

#people-ogsma-report .people-ogsma-editable[data-ogsma-field='subject'] > .people-ogsma-inline-edit {
  width: 0;
  margin-left: 0;
  overflow: hidden;
  pointer-events: none;
}

#people-ogsma-report .people-ogsma-editable[data-ogsma-field='subject'] > .people-ogsma-subject-action {
  display: inline-flex;
  width: 0;
  height: 16px;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  vertical-align: text-bottom;
}

#people-ogsma-report .people-ogsma-editable[data-ogsma-field='subject']:hover > .people-ogsma-inline-edit,
#people-ogsma-report .people-ogsma-editable[data-ogsma-field='subject']:focus-within > .people-ogsma-inline-edit,
#people-ogsma-report .people-ogsma-editable[data-ogsma-field='subject']:hover > .people-ogsma-subject-action,
#people-ogsma-report .people-ogsma-editable[data-ogsma-field='subject']:focus-within > .people-ogsma-subject-action {
  width: 16px;
  margin-left: 3px;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}

#people-ogsma-report .people-ogsma-issue-delete:hover,
#people-ogsma-report .people-ogsma-issue-delete:focus {
  color: #b42318;
}

.people-ogsma-delete-dialog-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 54px;
  padding: 14px 10px 8px;
}

.people-ogsma-delete-dialog-icon {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #b42318;
  background: #fef0ee;
  border-radius: 50%;
}

.people-ogsma-delete-dialog-icon .people-ogsma-vector-icon {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.people-ogsma-delete-dialog-message {
  flex: 1 1 auto;
  margin: 4px 0 0;
  color: #2f353a;
  line-height: 1.55;
  white-space: pre-line;
}

.people-ogsma-delete-modal .people-ogsma-delete-confirm {
  color: #fff;
  background: #b42318;
  border-color: #8f1c13;
}

.people-ogsma-delete-modal .people-ogsma-delete-confirm:hover,
.people-ogsma-delete-modal .people-ogsma-delete-confirm:focus {
  background: #941d14;
}

.people-ogsma-delete-modal .people-ogsma-delete-dialog-message.error {
  color: #b42318;
}

#people-ogsma-report .people-ogsma-item[data-ogsma-level='action'] .people-ogsma-item-fields-inline .people-ogsma-inline-edit {
  width: 0;
  margin-left: 0;
  overflow: hidden;
  pointer-events: none;
}

#people-ogsma-report .people-ogsma-item[data-ogsma-level='action'] .people-ogsma-item-fields-inline .people-ogsma-editable:hover > .people-ogsma-inline-edit,
#people-ogsma-report .people-ogsma-item[data-ogsma-level='action'] .people-ogsma-item-fields-inline .people-ogsma-editable:focus-within > .people-ogsma-inline-edit {
  width: 16px;
  margin-left: 3px;
  overflow: visible;
  pointer-events: auto;
}

#people-ogsma-report .people-ogsma-edit-suppressed > .people-ogsma-inline-edit,
#people-ogsma-report .people-ogsma-edit-suppressed > .people-ogsma-subject-action {
  width: 0 !important;
  margin-left: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#people-ogsma-report .people-ogsma-editing {
  display: block;
  width: 100%;
  min-width: 78px;
  overflow: visible;
}

#people-ogsma-report .people-ogsma-inline-editor {
  display: grid;
  grid-template-columns: minmax(36px, 1fr) 39px;
  gap: 3px;
  align-items: center;
  width: 100%;
  min-width: 78px;
  overflow: visible;
}

#people-ogsma-report .people-ogsma-inline-control {
  min-width: 0;
}

#people-ogsma-report .people-ogsma-inline-control input:not([type='checkbox']):not([type='radio']),
#people-ogsma-report .people-ogsma-inline-control select,
#people-ogsma-report .people-ogsma-inline-control textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

#people-ogsma-report .people-ogsma-inline-control textarea {
  min-height: 64px;
  resize: vertical;
}

#people-ogsma-report .people-ogsma-inline-actions {
  display: flex;
  gap: 3px;
  align-items: center;
  width: 39px;
}

#people-ogsma-report .people-ogsma-inline-actions button {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background-color: transparent;
  cursor: pointer;
}

#people-ogsma-report .people-ogsma-inline-actions button:hover,
#people-ogsma-report .people-ogsma-inline-actions button:focus {
  background-color: #eef3f7;
  outline: 1px solid #9fc3da;
  outline-offset: 1px;
}

#people-ogsma-report .people-ogsma-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #4d6575;
  line-height: 1;
  text-decoration: none;
}

#people-ogsma-report .people-ogsma-vector-icon {
  display: block;
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#people-ogsma-report .people-ogsma-icon-button:hover,
#people-ogsma-report .people-ogsma-icon-button:focus {
  color: #176ca4;
}

#people-ogsma-report .people-ogsma-inline-error {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #b42318;
  font-size: 12px;
}

#people-ogsma-report .people-ogsma-interaction-status {
  margin: 6px 0;
}

#people-ogsma-report .people-ogsma-interaction-status.error {
  color: #b42318;
}

#people-ogsma-report .people-ogsma-item.context-menu-selection {
  outline: 1px dotted #999;
  outline-offset: 1px;
}

@media screen and (max-width: 899px) {
  .people-ogsma-field-option-row {
    grid-template-columns: 1fr;
  }

  .people-ogsma-report-export {
    float: none;
    margin-top: 8px;
  }

  .people-ogsma-people-selection {
    align-items: stretch;
    flex-wrap: wrap;
  }
}
.people-project-issues-query-form fieldset { margin-bottom: 10px; }
.people-project-issue-options { padding: 12px; }
.people-project-issue-group-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 6px 18px; }
.people-project-issue-group-options p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.people-project-issue-option-label { flex: 0 0 auto; font-weight: bold; }
.people-project-issue-group-options select { min-width: 96px; }
.people-project-issue-display-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 8px 18px;
  margin-top: 12px;
}
.people-project-issue-columns { margin-top: 12px; }
.people-project-issues-table th { white-space: nowrap; }
.people-project-issues-table td { vertical-align: top; }
.people-project-issues-table tr.people-project-issues-first-group:not(:first-child) td { border-top: 10px solid #fff; }
.people-project-issues-table tr.people-project-issues-second-group td {
  padding: 3px 6px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: #f3f6f8;
}
.people-project-issues-table tr.people-project-issues-group-last-item td { border-bottom: 1px solid #ccc; }
.people-project-issues-table tr.people-project-issues-first-group + tr.people-project-issues-second-group td,
.people-project-issues-table tr.people-project-issues-group-last-item + tr.people-project-issues-second-group td { border-top: 0; }
.people-project-issues-table tbody tr.people-project-issues-group-last-item:last-child td { border-bottom: 0; }
.people-project-issues-table td.project_query_name { text-align: left; }
.people-project-issues-table td.done_ratio { min-width: 94px; white-space: nowrap; }
.people-project-issues-table td.done_ratio table.progress {
  width: 60px;
  margin-right: 4px;
}
.people-project-issues-table .people-project-issue-subject-overdue,
.people-project-issues-table .people-project-issue-subject-overdue a { color: #c62828; }
.people-project-issues-table .people-project-issue-subject-closed,
.people-project-issues-table .people-project-issue-subject-closed a { color: #2e7d32; }
.people-project-issues-table .people-project-issue-subject-strikethrough { text-decoration: line-through; }
.people-project-issue-query-edit { display: none; }
.people-project-issue-query-entry:hover .people-project-issue-query-edit,
.people-project-issue-query-entry:focus-within .people-project-issue-query-edit { display: inline-block; }
.people-project-issues-pagination { display: flex; justify-content: flex-end; gap: 10px; align-items: center; margin-top: 10px; }
.people-project-issues-export-frame { display: none; width: 0; height: 0; border: 0; }
@media (max-width: 899px) {
  .people-project-issue-group-options { grid-template-columns: 1fr; }
  .people-project-issue-group-options p { grid-template-columns: 1fr; }
  .people-project-issue-display-options { grid-template-columns: 1fr; }
}
