/* tables */
table.tablesorter {
  font-family:arial;
  margin:10px 0pt 15px;
  font-size: 8pt;
  width: 100%;
  text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
  border: 1px solid #FFF;
  font-size: 8pt;
  padding: 4px;
}
table.tablesorter thead tr .tablesorter-header {
  background-image: url("/images/bg.gif");
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}
table.tablesorter tbody td {
  color: #3D3D3D;
  padding: 2px;
  vertical-align: top;
}
table.tablesorter tbody tr.odd td {
}
table.tablesorter thead tr .tablesorter-headerAsc {
  background-image: url("/images/asc.gif");
}
table.tablesorter thead tr .tablesorter-headerDesc {
  background-image: url("/images/desc.gif");
}

/** отступ подзадачи */
tr.issue.idnt-1 div.subject{margin-left: 20px;}
tr.issue.idnt-2 div.subject{margin-left: 40px;}
tr.issue.idnt-3 div.subject{margin-left: 60px;}
tr.issue.idnt-4 div.subject{margin-left: 80px;}
/** цвет левого сайдбара */
#sidebar {
  background-color: #f5f5f5;
}

table.subject_header td.subject_info {
  padding-left: 15px;
  padding-right: 15px;
  border-left: 1px solid #D7D7D7;
  min-width: 200px !important;
  width: 30% !important;
}

#sidebar table th,
#sidebar table td {
  padding: 0px;
}

.contact.card .subject_header td.avatar {
  text-align: left;
}
.contact.card .subject_header tbody tr {
  display: inline-block;
  width: 100%;
  padding: 4px;
}


p.pagination {
float: none;
margin-bottom: 0px;
}

.icon-edit[href*='edit']{
    padding: 3px 12px 3px 30px;
    font-size: 14px;
    line-height: 1.428571429;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0;
    transition: background-color ease-in-out .07s, border-color ease-in-out .07s, box-shadow ease-in-out .07s;
    border: 1px solid;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    background-color: #019851;
    color: #fff!important;
    border-color: #019851 #019851 #017a41;
    box-shadow: 0 1px 0 #017a41;
      text-decoration: none;
}
.icon-edit[href*='edit']:hover{
      background-color: #017a41;
    color: #fff;
    border-color: #017a41 #017a41 #015b31;
    box-shadow: 0 1px 0 #015b31;
}
.icon-edit[href*='edit']:active{
  transform: translate(0, 1px);
    border-color: #01723d;
    background-color: #017a41;
    box-shadow: inset 0 3px 4px -2px #01723d;
}
.journal .contextual a:nth-child(2)::before {
    margin: auto;
    position: relative;
    left: 6px;
}
div.mypage-box h3 {font-weight:bold;}
div.mypage-box p.nodata {
  background-color: #D9EDF7;
  border-bottom-color: #A1C8EE;
  border-left-color: #A1C8EE;
  border-right-color: #A1C8EE;
  border-top-color: #A1C8EE;
  Color: #3A87AD;
}


#header.project-odp,
#header.project-providers_odp,
#header.project-call_odp{background-color: #3A67B3}
#header.project-support{background-color: #894E88}
#header.project-admin{background-color: #6A7882}
#header.project-sprt{background-color: #DBA554}
#header.project-release{background-color: #467791}
#header.project-planning{background-color: #549DDF}
#header.project-hackathon{background-color: #f75d74}
#header.project-redmine{background-color: #eb9b2d}

table.tablesorter thead tr .header{padding: 5px 20px 4px 4px; vertical-align: middle;}
#issue_tree{overflow: auto;}
#issue_tree .issue > td.subject, #relations .issue > td.subject{min-width: 190px;}
#issue_tree .issue > td:not(.checkbox) {
  float: none;
  display: table-cell;
  text-align: left;
}
.issue.details a.tracker-2{display: inline-block;}

body .ui-tooltip {
  max-height:70%;
  overflow-y:hidden;
}


#check_new_call_div{
  position:fixed;
  bottom: 0px;
  left:0px;
  display:none;
  z-index: 100000;
  color: #FFF;
  margin-bottom: 10px;
}

#check_new_call_div .call-wrapper{
  margin:14px 0;
  border: 1px solid rgba(0, 0, 0, 0.9);
  background-color:rgba(0, 0, 0, 0.9);
  max-width:276px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  padding: 15px;
  position: relative;
}
#check_new_call_div .call-wrapper .wiki{
  color: #FFF;
  width: 70%;
  padding-left:5px;
}

.call-wrapper .close-call-popup{
  background: url('/images/popup_close.png');
  display: inline-block;
  width: 21px;
  height: 21px;
  position: absolute;
  top: 13px;
  right: 15px;
  z-index: 22;
  cursor: pointer;
}

.call-wrapper .call-info{
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  -webkit-align-items: center;
  width: 100%;
}

.call-wrapper .button{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


.call-wrapper.issue-status30 .button, .call-wrapper.issue-status31 .button{
  background-image: url('/images/missed_phone_ico.png');
}
.call-wrapper.issue-status1 .button, .call-wrapper.issue-status2 .button{
  background-image: url('/images/incoming_phone_ico.png');
}

.call-wrapper.issue-status2 .button{
  background-color: rgba(4, 125, 61, 0.7);
}
.call-wrapper.issue-status30 .call-info-bottom span{
  color: #ff2222;
}
.call-wrapper.issue-status30 .call-info-bottom span a{
  color: #ff2222;
}


.call-wrapper .contact, .call-wrapper .wiki{
  color: #FFF;
  background-color:rgba(0, 0, 0, 0);
  border:0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  width: calc(100% - 75px);
  margin: 0;
  padding: 30;
  margin-left: 0px;
  padding-right: 0px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  -webkit-align-items: center;
}

.call-wrapper .wiki p a{
  color: #fff;
}

.call-wrapper .contact .contact-info p{
  margin: 0;
  font-size: 14px;
  line-height: 18px
}
.call-wrapper .contact .contact-info p a{
  color: #fff;
}

.call-wrapper .contact .contact-info .customer_phone{
  font-size: 11px;
  color: rgba(255, 255, 255, .6);
}
.call-wrapper .call-info-bottom span{
  font-size: 11px;
  font-family: Verdana, Geneva, sans-serif;
  color: rgba(255, 255, 255, .5);
}
.call-wrapper .call-info-bottom span a{
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}

.call-wrapper .call-info-bottom .call_time{
  margin-left: 10px;
}

.call-wrapper.issue-missed .button{
  background-image: url('/images/missed_phone_ico.png');
}
.call-wrapper.issue-missed .call-info-bottom span{
  color: #ff2222;
}
.call-wrapper.issue-missed .call-info-bottom span a{
  color: #ff2222;
}

.call-wrapper.issue-missed .call-info .incoming_call_label {
  margin-left: 15px;
}
.call-wrapper.issue-missed .call-info .incoming_call_label p{
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
}
.call-wrapper.issue-missed .call-info .incoming_call_label p a{
  color: #fff;
}

