.question-item {
  position: relative;
  z-index: 0;
  min-height: 80px;
  padding: 15px 65px;
  border-top: 1px solid #f5f5f5;
}

.questions-list-header{
 border-bottom: 1px solid #ddd;
}
.questions-list-header h2{
  display: inline-block;
}
ul.nav-tabs {
 /*
 position: relative;
 z-index: 1;
 min-height: 63px;
 */
 margin: 0;
 padding: 0;
 list-style: none;

 margin: 0;
 /* NOTE:  padding: 30px 20px 0; */
 text-align: right;
}

nav-tabs .active{
  border-bottom: 2px solid #155faa;

}



ul.nav-tabs > li {
  /* NOTE:  float:right;*/
  display: inline;
  margin: 0 4px 0 0;
  font-size: 14px;

}

sup {
  /* NOTE:  top: -.5em;*/
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
  color: #82ad1e;
}

.question-item + .question-item {
  /* NOTE:  border-top: 1px solid #f5f5f5;*/
  border-bottom: 1px solid #ddd;
}

/*
.questions-list > div + div {
  border-top: 1px solid #f5f5f5;
}
*/



.moder-number {
 background-color: #9fc4d0;
 display: block;
 height: 50px;
 position: absolute;
 left:0;
 text-align: center;
 top: 15px;
 width: 50px;
 color: #fff;
}

.moder-number em {
 background-color: #ebf5ff;
 display: block;
 font-size: 16px;
 height: 25px;
 color: #17344a;
 font-style: normal;
}
.moder-number small {
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.questions-title {
  font-size: 19px;
  color: #105db5;
  letter-spacing: -0.5px;
  line-height: 1.25;
  text-decoration: none;
  /*display: block;*/
}
/*
.questions-title:hover {
  text-decoration: underline;
}
*/
.questions-body {
  font-size: 13px;
}
span.date {
 font-size: 12px;
 font-weight: normal;
 color: #999;
 display: block;
}
b {
  font-weight: 700;
}

.question-tags {
  display: inline-block;
  padding: 0 5px;
  height: 20px;
  line-height: 20px;
  background-color: #e7f2ed;
  font-size: 12px;
  color: #017e66;
}
.question-content {
 color: #17344a;
}
.question-content label {
 font-size: 12px;
 font-weight: normal;
 color: #999;
 font-weight: 700;
}
.question-content input,textarea {
  display: block;
  margin: 6px;
}
.answer_form {
  display: none;
}
.message {

  font-size: 17px;
  /* NOTE:  color: #105db5;*/
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.dialog {
  margin-left: 50px;
  overflow: scroll;
  max-height: 550px;

}
.questions-body {
  font-size: 16px;
}
.question {
  margin-bottom: 10px;
}


.questions-table {
  /* NOTE: цвет текста в таблице */
  text-align:center;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 14px;
   width: 100%;
}

.questions-table td,th {
  border: 1px solid #ddd;
  padding: 3px 7px;
}
.questions-table th {
  font-weight: 100;
  background-color: #ebf5ff;
  vertical-align: middle;
  text-transform: uppercase;
  font-size: 12px;
}

tr.row_dialog {
  display: none;
}
.row_dialog {
  display: none;
  background-color: #EBEBEB;
  background-image: url('img/bg2.jpg');
  background-image: url('img/bg8.jpg');
}
.dialog {
  visibility: hidden;
}
.dialog .message {
  visibility: inherit;
  background-color: white;
  margin:10px;
  padding: 10px;
  display: inline-block;
  border-radius: 3px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.26);
  min-width: 500px;
  max-width: 700px;

}
.dialog .avatar {
  width: 70px;
  float: left;
  margin-right: 10px;
  /* NOTE:  margin-bottom: 10px;*/
}

.dialog .mess_body {
  margin-left: 80px;
  font-size: 15px;
}


.dialog .user_name,.dialog .user_status{
  display: block;
}
.dialog .user_status {
  font-size: 12px;
  font-weight: normal;
  color: #999;
}
.dialog .user_name a {
  text-decoration: none;
  color: #105db5;
}


.dialog .mess_text {
 margin-top: 5px;

}

.dialog .mess_text a {
  display: inline-block;
  padding: 5px;
  padding-left:10px;
  padding-right:10px;
  text-decoration: underline;
}
.dialog .mess_text a img {
  /* NOTE:  padding: 10px;*/
  border: 1px solid #999;
  border-radius: 3px;
}

.dialog .mess_footer {
  clear: both;
  text-align: right;
}
.dialog .date {

}
td .dialog {
  margin-left:100px;
}

td .answer_panel {
  background-color: wheat;
  padding-top: 10px;
  padding-bottom: 10px;
}


td .answer_form {
  display: inline-block;
  width: 100%;

}
form.form_upload {

 margin-top: 10px;
 /* NOTE: margin-bottom: 10px;  */
}
.uploaded_files {

}
.answer_form input[type="submit"]{
  margin-top: 5px;
  margin-bottom: 5px;
}
.row_dialog td {
  padding: 0;
}


.change_view {
  color:#105db5;
}
.material-icons {
  padding: 5px;
}
i.selected {
  background-color:#ebf5ff;
}

.questions-table th {
  text-align: center;
}
.questions-table td {
  /* NOTE:vertical-align: baseline;   */
  vertical-align: top;
  overflow: hidden;
}

.questions-table .left-align {
  text-align: left;
}
.questions-table tr:nth-of-type(odd){ }
.questions-table tr:nth-of-type(even){}

.questions-table .m-number {
  background-color: #9fc4d0;
  color: white;
  display: inline-block;
  /* NOTE:  padding: 3px 5px;*/
  padding: 3px 5px;
  width: 100%;
}
.questions-table .order-number{
  display:none;
}
.questions-table .order-number:not(:empty) {
  display: inline-block;
  /* NOTE:  padding: 3px 5px;*/
  padding: 3px 5px;
  width: 100%;
  border: 1px dashed #999;
  margin-top:10px;
}
#t_model,#t_order{
  width: 50px;
}
#t_status {
  width: 100px;
}
#t_manager {
  width: 150px;
}
#t_question {
  width: 600px;
}
#t_massage {
  width: 90px;
}
#t_answer{
  text-align: left;
}
td .material-icons {
  color: #105db5;
  vertical-align: top;
  padding: 0;
}
.new_mess_count {
  color:#82ad1e;
  /* NOTE:  font-size: 1.2em;*/
  font-size: 1.2em;
  /* NOTE:  font-weight: bold; */

  -webkit-animation: blink 3s linear infinite;
  animation: blink 3s linear infinite;

}
.progressbar {
  display: none;

}


.question-tabs {
  /* NOTE:height: 2.4rem;  еще надо добавить margin 6px */
 /* NOTE:   height: 3.2rem;c margin */
  /* NOTE: line-height: */
  /* NOTE: у button font-size: .7rem; padding: .85rem 2.13rem; */
  /* NOTE:height: 39px;  */

  height: 54px;
  border-bottom: 2px solid #4285F4;
  border-bottom: 1px solid #4285F4;
}
.question-tabs span {
  display:inline-block;
  margin-left: 20px;
  /*padding:25px;*/
}
.question-tabs span.target_selected {
  /* NOTE:  background-color: #ebf5ff;*/
}

/*
.question-tabs span a {

  background-color: white;
  color:#4285F4;
    border: 2px solid #4285F4;
  border-radius: 5px 5px 0 0 ;
  border-bottom: none;

} */

.tab {
  text-decoration: none;
  /* NOTE:  font-size: 11px;*/
  text-transform: uppercase;
  font-size: 24px;
  padding: 12px 34px;
  display: inline-block;
}



.question-tabs .tab {
  background-color: white;
  color:#4285F4;
  border: 2px solid #4285F4;
  border: 1px solid #4285F4;
  /* NOTE:   border-radius: 7px 7px 0 0 ;*/
   /* NOTE:  border-radius: 3px 3px 0 0 ;*/

  /* NOTE:  border-radius: 2px;*/


}
.question-tabs .tab-selected {
  border-bottom: none;
  /* NOTE: padding */
  padding-bottom: 13px;
  /* NOTE:  background-color: #ebf5ff; */
}
.question-tabs .material-icons{
  vertical-align: middle;
  padding: 0;
}
.question-tabs .new_mess {
  margin: 0;
}
.question-tabs .new_mess_count{
  font-size: inherit;
    margin-left:5px;
}

.dialog .new_message {
  background-color: #f0fcd2;
  background-color: #ddf7a1;
  background-color: #e1f5b3;

}
/*.not_viewed_mess*/
.dialog  .not_read_mess {
  /*background-color: #add8e6;*/
 background-color: #cbe9ef;
}
td .attachments {
  /* NOTE:  border: 1px solid #ddd;*/
  margin-top: 5px;
  fornt-size:17px;
}
td .attachments div {
  /* NOTE:  background-color: #e7f2ed;*/
  padding: 5px;
}
td .attachments a img {
  border: 1px solid #999;
  vertical-align: middle;
  margin: 5px;
}
td .attachments a {
  display: inline-block;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: underline;

  background-color: #ebf5ff;
  margin: 5px;
  border-radius: 3px;
  border: 1px solid #ddd;
  font-size: 12px;
}
.row_question .avatar {
  width: 70px;
  float: left;
  margin-right: 10px;
  text-align: center;
}
.row_question .question_body {
  margin-left: 80px;
  font-size: 15px;
  position: relative;
 }
/* NOTE:  .row_question .question_body .user_status { */
.row_question .user_status {
   font-size: 12px;
   font-weight: normal;
   color: #999;
}
/* NOTE:  .row_question .question_body .user_name {*/
.row_question  .user_name {
  display: block;
}

/* NOTE:  .row_question .question_body .user_name a  { */
.row_question  .user_name a  {
  text-decoration: none;
  color: #105db5;
}
.row_question .quest_footer {
  clear: both;
  text-align: right;
}
.row_question .avatar2 img{
  vertical-align: top;
}

.row_question .attachments {
  display: none;
}
.row_question .attach {
  display: block;
  padding: 5px;
  text-decoration: underline;
}
.row_dialog .form_wrap {
  float: left;
  width: 33%;
  padding: 0px 15px;

}
.row_dialog form.markup_form {
  /* NOTE:  margin-left: 450px; */
  display: inline-block;
  width: 100%;

}
.row_dialog form.note_form {

  display: inline-block;
  width: 100%;
}
.row_dialog .form_wrap2 {
   /* NOTE:  margin-left: 400px;*/
}

.row_dialog form .msg {
  color: #82ad1e;

}
/*
td .note_body {
  display:none;
} */
td .main_answ, td .total_markup, td .note{
  display: block;
}
td span.label_totalM {
  border: 1px solid red;
  border-radius: 2px;
}
td span.label_answ {
  border: 1px solid green;
  border-radius: 2px;
}
td span.label_Partial1 {
  border: 1px solid yellow;
  border-radius: 2px;

}
td span.label_Partial2 {
  border: 1px solid pink;
  border-radius: 2px;

}
td span.label_clarific {
  border:1px solid #FAD28F;
  border-radius: 2px;

}

td span.quest_number {
 position: absolute;
 top: 0px;
 right: 33px;
 background-color: #707070;
 color: white;
 font-size: 12px;
 padding: 2px 10px;
 margin-top: -5px;
 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.26);
}
td span.label_totalM,td span.label_answ,td span.label_answ,td span.label_Partial1,td span.label_Partial2, td span.label_clarific {
  display: inline-block;
  height: 26px;
 line-height: 23px;
 padding: 0 9px 0 8px;
 font-size: 12px;
 color: #555;
 text-shadow: 0 1px #fff;
 border-width: 1px 1px 1px 1px;
 border-style: solid;
 border-color: #dadada #d2d2d2 #c5c5c5;
 border-radius: 3px 3px 3px 3px;
 background-color: #fafafa;
 /*
 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fcfcfc), color-stop(100%, #f0f0f0));
 background-image: -webkit-linear-gradient(top, #fcfcfc, #f0f0f0);
 background-image: -moz-linear-gradient(top, #fcfcfc, #f0f0f0);
 background-image: -ms-linear-gradient(top, #fcfcfc, #f0f0f0);
 background-image: -o-linear-gradient(top, #fcfcfc, #f0f0f0);
 background-image: linear-gradient(top, #fcfcfc, #f0f0f0);
 */
 -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.05);
 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.05);
 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.26);
 margin-bottom: 3px;
}
td span.label_totalM {
  background-color: #DFF2BF;
  color: #4F8A10;
}
td span.label_answ {
  background-color: #BDE5F8;
  color: #00529B;
}

td span.label_clarific {
  background-color: #FFF6BD;
  color: #9A4D18;
}
td .all_markups .total_markup,td .all_markups .Partial_1,td .all_markups .Partial_2{
  display: block;
}
.form_wrap textarea {
  margin: 0;
}
.user img {
  width: 33px;
  height: 33px;
  vertical-align: middle;
  border-radius: 50%;
  margin-right: 3px;
}
.user {
  font-size: 14px;
  color: #105db5;
}
tr.new_question {
  background-color: #f0fcd2;
  background-color: #ddf7a1;
  background-color: #e1f5b3;

}
.question-tabs .tab_quest_count {
  font-size: inherit;
  margin-left: 5px;
  color: #82ad1e;
}
.filter_content select,.filter_content input[type="text"],.filter_content input[type="submit"] {
  padding: 5px;
  border-radius: 3px;
}
a.disabled {
    pointer-events: none; /* делаем ссылку некликабельной */
    cursor: default;  /* устанавливаем курсор в виде стрелки */
    color: #999; /* цвет текста для нективной ссылки */
}

#filter_form select option {
  background-color: white;
}

/*
.blink {
  -webkit-animation: blink 3s linear infinite;
  animation: blink 3s linear infinite;
} */
@-webkit-keyframes blink {
  0% { color: rgba(130, 173, 30, 1); }
  50% { color: rgba(130, 173, 30, .1); }
  100% { color: rgba(130, 173, 30, 1); }
}
@keyframes blink {
  0% { color: rgba(130, 173, 30, 1); }
  50% { color: rgba(130, 173, 30, .1); }
  100% { color: rgba(130, 173, 30, 1); }
}
.pagination a, .pagination span {
  padding: 10px;
}
.pagination a {
  color: #105db5;
}
.mess_status i.material-icons {
  color: #82AD1E;
  vertical-align: bottom;
}


/*Переделка табов*/
.question-tabs > span {
  border: 1px solid #4285F4;
  padding: 12px 34px;
}

.question-tabs .target_selected {
  border-bottom: none;
  padding-bottom: 13px;
  background-color: white;
}
.question-tabs .tab {
  border: none;
  padding:0px 0px;
}
.question-tabs .new_mess {
  background-color: #ddd;
  background-color: #DFF2BF;
  vertical-align: top;
  padding: 1px;
  border-radius: 3px;
  border: 1px solid #ddd;
  cursor: pointer;
}
/*Переделка табов end */
.question-tabs .new_mess .material-icons {
  color: #105db5;

}


.row_question .attach {
  padding: 0;
  padding-bottom:3px;

  background-image: url('img/Paperclip-icon24.png');
  background-repeat: no-repeat;
  padding-left: 25px;
  background-size: 20px;
  color: #7D7D7D;
}

tr.new_status {
  background-color: #F0FCD3;
}
tr.discussed_status {
  background-color: #f0f0f0;
}
