/**********************************************************************/
/* ICONS
/**********************************************************************/
#admin-menu a.agile { background-image: url(../images/agile.png);}
.icon-fullscreen { background-image:  url(../images/fullscreen.png); }

/**********************************************************************/
/* FULLSCREEN
/**********************************************************************/
html.agile-board-fullscreen {
  overflow: hidden;
}

html.agile-board-fullscreen div.agile-board {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 20;
  background: white;
  overflow-y:scroll;
}

html.agile-board-fullscreen table.list.issues-board {
  min-height: 100%;
  top: 0px;
  left: 0px;
  right: 0px;
}

html.agile-board-fullscreen .icon-fullscreen {
  position: fixed;
  right: 5px;
  top: 5px;
  z-index: 21;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
}

div.agile-board {
  min-width: 700px;
  overflow: auto;
}

/**********************************************************************/
/* BOARD SETTINGS
/**********************************************************************/
table.options tr > td {
  white-space: nowrap;
}

.card-fields label.floating {
  text-align: left;
  width: 200px;
  float: left;
}

/**********************************************************************/
/* ISSUES SIDEBAR
/**********************************************************************/
#sidebar ul {
  margin: 0;
  padding: 0;
}

#sidebar ul li {
  list-style-type: none;
  margin: 0px 2px 0px 0px;
  padding: 0px 0px 0px 0px;
}

/**********************************************************************/
/* PLANNING BOARD
/**********************************************************************/
table.versions-planning-board {
  border-spacing: 10px;
  width: 100%;
  min-width: 650px;
}

table.versions-planning-board .issue-version-col {
  vertical-align: top;
  min-width: 180px;
}

table.list.versions-planning-board input#search.autocomplete {width: 80%;}

table.list.versions-planning-board tbody tr,
table.list.versions-planning-board tbody tr:hover {background-color: white;}
table.list.versions-planning-board .header-hours {
  float: right;
  vertical-align: baseline;
  height: 26px;
  line-height: 26px;
}

/**********************************************************************/
/* AGILE BOARD
/**********************************************************************/
table.list.issues-board {table-layout: fixed;}
table.list.issues-board th {overflow: hidden; text-overflow: ellipsis;}

table.list.issues-board tbody tr,
table.list.issues-board tbody tr:hover {background-color: white;}

.assignable-user.draggable-active {
  padding: 5px;
  border: 1px solid #D5D5D5;
  background-color: #ffffdd;
}

table.issues-board td.issue-status-col.closed {background-color: #FAFAFA;}

table.issues-board tr.group.swimlane {height: 30px;}
table.issues-board .swimlane.zero { }
table.issues-board tr.swapeffect {display:block;}
table.issues-board tr.swapeffect > td {display:block; width:100%;}

table.issues-board tbody td {border: 1px solid #d7d7d7;}
table.issues-board tr span.expander {padding-right: 8px; float: left}

table.issues-board.minimize-closed td.issue-status-col.closed .issue-card {
  width: 10px;
  float: left;
}
table.issues-board.minimize-closed td.issue-status-col.closed .issue-card span.fields {display: none;}

/**********************************************************************/
/* ISSUE CARD
/**********************************************************************/
.issue-card {
  padding: 5px;
  border: solid 1px #d5d5d5;
  background-color: #ffffdd;
  margin-bottom: 5px;
  word-wrap: break-word;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  float: left;
  width: 100%;
  box-sizing: border-box;
}

.issue-card.float-left {float: left;}
.issue-card.closed-issue {width: auto;}
.issue-card .tip{ position: fixed;}

.issue-card:not(.context-menu-selection) .attributes,
.issue-card:not(.context-menu-selection) span.hours, .issue-card:not(.context-menu-selection) span.story_points  {color: #888;}

.issue-card .attributes,
.issue-card span.hours, .issue-card span.story_points {font-size: 90%;}
.issue-card span.hours, .issue-card span.story_points {float: right; margin-left: 5px; clear: right}

.issue-card .my-poker {text-align: right}
.issue-card .poker {color: #cea500}
.issue-card .poker10 {color: #a0001a}

.issue-card .thumbnail {
  height: 145px;
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  margin: 5px;
}

.issue-card .checkbox {display: none;}
.issue-card .avatar {float: left; margin-right: 5px;}
.issue-card p.name {font-weight: bold;}
.issue-card p.project {
  border: 1px solid #d5d5d5;
  padding: 5px;
  margin-bottom: 5px;
  text-align: center;
  background-color: white;
}
.issue-card .info {
  border-top: 1px solid #d5d5d5;
  padding-top: 5px;
  margin-top: 5px;
}
.issue-card .info ul, .issue-card .info ol {
  padding-inline-start: 23px;
}
.issue-card table.progress {
  margin-top: 5px;
}
.issue-card .percent {
    float: left;
}
.issue-card .checklist ul {
    padding: 0;
    list-style: none;
}
.issue-card .checklist ul input {
    margin: 0;
}

.issue-card table.progress td {
  height: 5px;
  padding: 0px;
}

.issue-card li.task-closed {
  text-decoration: line-through;
  color: #999;
}

.issue-card div.sub-issues {
  border-top: 1px solid #d5d5d5;
  padding-top: 5px;
  margin-top: 5px;
  font-size: 90%;
}

.issue-card div.sub-issues ul {
  margin: 1px 0px 5px 0px;
  padding-left: 30px;
}

.issue-card .issue-id.without-tracker {
  float: right;
}

.issue-card.context-menu-selection p.project {
  color: black;
}

.issue-card.context-menu-selection .attributes,
.issue-card.context-menu-selection em.info {
  color: white;
}

.issues-board td.issue-status-col.closed .issue-card {background-color: #EDEDED;}

.issue-card.ui-sortable-helper {
  -moz-transform: rotate(5deg); /* Для Firefox */
  -ms-transform: rotate(5deg); /* Для IE */
  -webkit-transform: rotate(5deg); /* Для Safari, Chrome, iOS */
  -o-transform: rotate(5deg); /* Для Opera */
  transform: rotate(5deg);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.issues-board td.issue-status-col.droppable-hover, .issues-board td.issue-status-col .issue-card.droppable-hover {
  border-style: dotted;
  background-color: #E9F8FD;
}

.bk-red {background-color: #FFE2E3; border-color: rgb(255, 201, 201);}
.bk-green {background-color: #DFFFCC; border-color: rgb(190, 239, 190);}
.bk-blue {background-color: #DCE7FF; border-color: rgb(189, 189, 233);}
.bk-turquoise {background-color: #C4FDFF; border-color: rgb(151, 222, 214);}
.bk-lightgreen {background-color: #D2FFEF; border-color: rgb(184, 228, 226);}
.bk-yellow {background-color: #FFFD9C; border-color: rgb(234, 234, 94);}
.bk-orange {background-color: #FFDBBA; border-color: rgb(255, 202, 105);}
.bk-purple {background-color: #EFDFFC; border-color: rgb(233, 186, 233);}
.bk-gray {background-color: #e1e1e1; border-color: rgb(198, 198, 198);}
.bk-pink {background-color: #ffe3ff; border-color: #cb56cf}
.bk-olive {background-color: #f2f2dc; border-color: #939340}
.bk-lightyellow {background-color: #FFFFC2; border-color: rgb(231, 231, 149);}

div.issue.details.br-red div.subject div > h3::before, div.issue.details.bk-red div.subject div > h3::before, a.issue.bk-red::before, a.issue.br-red::before {content: "\25CF  "; color: red;}
div.issue.details.br-green div.subject div > h3::before, div.issue.details.bk-green div.subject div > h3::before, a.issue.bk-green::before, a.issue.br-green::before {content: "\25CF  "; color: green;}
div.issue.details.br-blue div.subject div > h3::before, div.issue.details.bk-blue div.subject div > h3::before, a.issue.bk-blue::before, a.issue.br-blue::before {content: "\25CF  "; color: blue;}
div.issue.details.br-turquoise div.subject div > h3::before, div.issue.details.bk-turquoise div.subject div > h3::before, a.issue.bk-turquoise::before, a.issue.br-turquoise::before {content: "\25CF  "; color: turquoise;}
div.issue.details.br-lightgreen div.subject div > h3::before, div.issue.details.bk-lightgreen div.subject div > h3::before, a.issue.bk-lightgreen::before, a.issue.br-lightgreen::before {content: "\25CF  "; color: lightgreen;}
div.issue.details.br-yellow div.subject div > h3::before, div.issue.details.bk-yellow div.subject div > h3::before, a.issue.bk-yellow::before, a.issue.br-yellow::before {content: "\25CF  "; color: yellow;}
div.issue.details.br-orange div.subject div > h3::before, div.issue.details.bk-orange div.subject div > h3::before, a.issue.bk-orange::before, a.issue.br-orange::before {content: "\25CF  "; color: orange;}
div.issue.details.br-purple div.subject div > h3::before, div.issue.details.bk-purple div.subject div > h3::before, a.issue.bk-purple::before, a.issue.br-purple::before {content: "\25CF  "; color: purple;}
div.issue.details.br-gray div.subject div > h3::before, div.issue.details.bk-gray div.subject div > h3::before, a.issue.bk-gray::before, a.issue.br-gray::before {content: "\25CF  "; color: gray;}

table.list.issues tr.issue:not(.context-menu-selection).bk-red td.id a {background-color: #FFE2E3; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-green td.id a {background-color: #DFFFCC; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-blue td.id a {background-color: #DCE7FF; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-turquoise td.id a {background-color: #C4FDFF; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-lightgreen td.id a {background-color: #D2FFEF; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-yellow td.id a {background-color: #FFFD9C; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-orange td.id a {background-color: #FFDBBA; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-purple td.id a {background-color: #EFDFFC; padding: 2px; border: 1px solid #DDD;}
table.list.issues tr.issue:not(.context-menu-selection).bk-gray td.id a {background-color: #e1e1e1; padding: 2px; border: 1px solid #DDD;}

.issue-card.br-red {border-left: 5px solid red;}
.issue-card.br-green {border-left: 5px solid green;}
.issue-card.br-blue {border-left: 5px solid blue;}
.issue-card.br-turquoise {border-left: 5px solid turquoise;}
.issue-card.br-lightgreen {border-left: 5px solid lightgreen;}
.issue-card.br-yellow {border-left: 5px solid yellow;}
.issue-card.br-orange {border-left: 5px solid orange;}
.issue-card.br-purple {border-left: 5px solid purple;}
.issue-card.br-gray {border-left: 5px solid gray;}

table.list.issues tr.issue.br-red, .issue-card.br-red {border-left: 5px solid red;}
table.list.issues tr.issue.br-green, .issue-card.br-green {border-left: 5px solid green;}
table.list.issues tr.issue.br-blue, .issue-card.br-blue {border-left: 5px solid blue;}
table.list.issues tr.issue.br-turquoise, .issue-card.br-turquoise {border-left: 5px solid turquoise;}
table.list.issues tr.issue.br-lightgreen, .issue-card.br-lightgreen {border-left: 5px solid lightgreen;}
table.list.issues tr.issue.br-yellow, .issue-card.br-yellow {border-left: 5px solid yellow;}
table.list.issues tr.issue.br-orange, .issue-card.br-orange {border-left: 5px solid orange;}
table.list.issues tr.issue.br-purple, .issue-card.br-purple {border-left: 5px solid purple;}
table.list.issues tr.issue.br-gray, .issue-card.br-gray {border-left: 5px solid gray;}
table.list thead tr th span.hours, table.list thead tr th span.story_points {color: #888; float: right; font-size: 90%; font-weight: normal; margin-left: 5px;}
table.issues-board thead th {white-space: normal;}
/*
tr.issue.br-red td.id::before,
tr.issue.br-green td.id::before,
tr.issue.br-blue td.id::before,
tr.issue.br-turquoise td.id::before,
tr.issue.br-lightgreen td.id::before,
tr.issue.br-yellow td.id::before,
tr.issue.br-orange td.id::before,
tr.issue.br-purple td.id::before,
tr.issue.br-gray td.id::before,
*/

.createswimlane {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 0;
    margin-bottom: 10px;
    cursor: pointer;
    clear: both;
    display: none;
}
.createswimlane .hide_area {
    text-align: left;
    width: 95%;
    margin: 5px auto 0 auto;
}
.createswimlane input#subject {
    width: 95%;
    margin: auto;
}
.createswimlane  textarea.description {
    min-height: 160px;
    padding: 5px;
}
#agile_quick_tools {
    display: none;
}
.agile_quick {
    border: solid 1px #d5d5d5;
    color: #444;
    text-align: left;
    display: block;
    background-color: #f0f0f0;
    float: left;
    cursor: pointer;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    margin-bottom: 5px;
}
.agile_quick .sel {
    width: 50%;
    float: left;
    padding: 5px 0;
    text-align: center;
    font-size: 12px;
}
.agile_quick .attachments .attach_thumbnail_box {
    display: inline-block;
    width: 60px;
}
.agile_quick .attachments .attach_thumbnail {
    max-width: 50px;
    max-height: 50px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5)
}
.agile_quick .attachments .icon-attachment {
    text-overflow: ellipsis;
    width: 140px;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-left: 10px;
}
.agile_quick .attachments .size {
    float: right;
}
table.issues-board .statistic {
    display: table-row !important;
}
table.issues-board .statistic td {
    border-bottom: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
    text-align: left;
    display: none;
}
table.issues-board .statistic:hover td {
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
}
table.issues-board .statistic .hours, table.issues-board .statistic .story_points {
    float: right;
    font-size: 90%;
    color: #888;
    margin-left: 5px;
}

.versions-planning-board .agile_quick {
    display: block;
}

.agile_quick .subject {
    width: 100%;
    margin: 1px;
    box-sizing: border-box;
    padding: 4px 7px;
    overflow: hidden;
}

.agile_quick textarea.description {
    width: 100%;
    min-height: 200px;
    padding: 10px 10px;
    margin: 5px 1px;
    overflow: hidden;
    box-sizing: border-box;
}

.agile_quick .editor-toolbar {
    margin-top: 5px;
}

.agile_quick .hide_area {
    display: none;
}
.agile_quick.create_user_story #issue_template {
    color: #888;
    font-size: 80%;
}
@media only screen and (max-width: 899px) {
    .agile_quick.create_user_story #issue_template {
        width: 100%;
    }
}

.pagination-wrapper {
    clear: both;
}

.issue-card .agile_release {
    color: #888;
    font-size: 90%;
    font-style: italic;
    float: right;
}
.issue-card .agile_release.closed {
    text-decoration: line-through;
}

.context-menu-selection .agile_release {
    color: #f8f8f8;
}

.agile_quick #cbp_image_fields input.description {
    width: 80%;
    margin-top: 5px;
}
.agile_quick #cbp_image_fields > span {
    white-space: unset;
}
.agile_quick #attachments_fields span {
    white-space: unset;
}
.agile_quick #attachments_fields input.description {
    width: 80%;
}
.agile_quick .loading, .versions-planning-board .loading, .createswimlane .loading {
    background: url(/images/loading.gif) center center no-repeat;
    width: 16px;
    height: 32px;
    display: none;
    margin-left: 10px;
    vertical-align: middle;
}

.ui-widget-header {
    background: #3d454c;
}
.ui-corner-all {
    border: none;
    border-radius: 1px;
}

#iframe_dialog {
    padding: 0;
}
#iframe_preview {
    width: 100%;
    height: 100%;
}
.ui-dialog {
    z-index: 101 !important;
}

.ui-autocomplete.ui-widget-content {
    z-index: 102;
}

.swimlane .us-progress-body {
	display: inline-block;
    vertical-align: middle;
    font-weight: normal;
}

.swimlane .release {
	font-weight: normal;
    float: right;
    margin-right: 10px;
    font-size: 90%;
    color: #888;
}

.swimlane .cover_by {
    border: 1px dotted #579549;
    border-radius: 20px;
    min-width: 18px;
    display: inline-block;
    height: 18px;
    text-align: center;
    float: right;
    color: #579549;
}

.versions-planning-board #current_version {
	border-right: 0;
}
.versions-planning-board #ruler {
	padding: 0;
	border-left: 0;
	padding-right: 2px;
}
.versions-planning-board #ruler div {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	font-size: 80%;
	color: #888;
	border-bottom: 1px solid #888;
	margin-bottom: -1px;
}

.versions-planning-board #ruler table td {
    padding: 0;
    border: 0;
}
.versions-planning-board #ruler table td.total {
    background: #888;
    color: #fff;
    padding: 0 2px;
}

.agile-board .issue-id strong.short {
    display: none;
}
@media only screen and (max-width: 1024px) {
    .agile-board p.attributes b, .versions-planning-board  p.attributes b {
        display: inline-block;
        visibility: hidden;
        float: left;
        width: 10px;
        overflow: hidden;
        white-space: nowrap;
    }
    .agile-board p.attributes b:first-letter, .versions-planning-board p.attributes b:first-letter {
        visibility: visible;
    }
    .agile-board .issue-id strong {
        display: none;
    }
    .agile-board .issue-id strong.short {
        display: inline;
    }
}

.issue-card .grip {
    background: url('../images/grip.svg') top center no-repeat;
    background-size: contain;
    width: 12px;
    height: 26px;
    margin: 2px 5px 5px 0;
    float: left;
    display: none;
}
#content {
    overflow: auto;
}
.mobile .issue-card .grip {
    display: block;
}

.agile-release.closed a {
    color: #999;
}
table#agile_board.list td {
    vertical-align: top;
}
.versions-planning-board .attachments_fields input.filename {
    display: block;
}
.versions-planning-board .attachments_fields input.description {
    width: 80%;
    margin-left: 0;
}
.issue-card .test_status {
    font-weight: bold;
    font-size: 12px;
    padding: 1px 5px;
    border-width: 1px;
    border-style: solid;
}
.issue-card.context-menu-selection .test_status {
    background: #f0f0f0;
}
.issue-card .test_status.passed {
    color: #3d6c3a;
    border-color: #3d6c3a;
}
.issue-card .test_status.failed {
    color: #941e28;
    border-color: #941e28;
}
.issue-card .test_status.blocked {
    color: #325787;
    border-color: #325787
}
.issue-card .test_status.blocked {
    color: #504f50;
    border-color: #504f50;
}
.issue-card .test_status.notyet{
    color: #857322;
    border-color: #857322;
}
.issue-card .tags {
    float:right;
}
.performance_title {
    display: inline-block;
    vertical-align: middle;
}
.performance_title .stats {
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
    line-height: 4px;
}
.icon-grip {
    background-image: url('../images/grip.svg');
    background-size: contain;
    cursor: pointer;
}
.agile-release .description {
    font-size: 12px;
}
@media screen and (min-width: 900px) {
    .agile_quick .tabular p {
        padding-left: 130px;
    }
    .agile_quick .tabular select {
        width: 100%;
    }
}
.issue-card .create-below {
    float: right;
    width: 8px;
    height: 8px;
    background: transparent;
    margin-right: -5px;
    margin-bottom: -5px;
    margin-top: -3px;
    border-width: 4px;
    border-right-color: #d5c6c6a8;
    border-bottom-color: #d5c6c6a8;
    border-style: solid;
    border-left-color: transparent;
    border-top-color: transparent;
    box-sizing: border-box;
}
button:focus {outline:0;}
.webui-popover-content {
    font-size: 90%;
}
.webui-popover-content ul {
    list-style: none;
    padding: 0;
}
.webui-popover-content ul  ul {
    padding-left: 10px;
}
.webui-popover-content .testcase  span{
    
}
.webui-popover-content .executionsuites  span{
    background: #579549;
    color: white;
    padding: 1px 8px;
    font-size: 90%;
    display: inline-block;
    border-radius: 10px;
}
.webui-popover-content a.icon {
    cursor: pointer;
}
#mail_changelog #to_address, #mail_changelog #subject, #mail_changelog #bcc_address, #mail_changelog #cc_address {
    width: 97%;
}
#execution_suite_panel {
    width: 24%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9;
    background: #f0f0f0;
    overflow: auto;
    overflow-x: hidden;
}
#list_release .icon-grip {
    float: left;
    height: 16px;
}
#list_release .branch, #list_release .issue, #list_release .category, #list_release .remaining_hours, #list_release .dependent {
    text-align: left;
}
.issue-card .heart {
    text-align: right;
}
.issue-card .icon-comment, .issue-card .icon-comments {
	background-position: 0% 3px;
}
.issue-card .quick-view {
	background: center center url('../images/quick_view.png') no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: text-bottom;
}
.issue-card .tools {
    float: right;
    margin-left: 4px;
}
.issue-card .children {
    margin-top: 3px;
}
.issue-card .children:empty {
    margin-top: 0;
}
.issue-card-child .subject input {
    border: 0;
    border-bottom: 1px dotted #aaa;
    background: transparent;
    outline: 0;
}
.issue-card .reference_panel_only {display: none}
#reference_panel_wrapper.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
#reference_panel td {
    vertical-align: top;
}
#reference_panel .attributes, #reference_panel .my-poker, #reference_panel .description, #reference_panel .checklist {
    display: none;
}
#reference_panel .attributes.reference_panel_only {display: block}
#reference_panel_scrollview {
    overflow: auto;
    max-height: 200px;
    transition: max-height 0.3s;
    margin-bottom: 10px;
}
#reference_panel_wrapper.fixed #reference_panel_scrollview {
    box-shadow: 3px 3px 5px 2px #ccc;
    background: #fff;
}
#reference_panel_wrapper.fixed #reference_panel_scrollview:hover {
    max-height: 550px;
}
.context-menu-selection .issue-card-child, .context-menu-selection:hover .issue-card-child {
    color: #3d454c !important;
}
.context-menu-selection .issue-card-child .agile_release, .context-menu-selection:hover .issue-card-child .agile_release {
    color: #888;
}