.login-box.error {
  width: 710px;
}
.user-panel > .image > img {
  width: 45px;
  height: 45px;
}
.main-footer {
  padding: 5px;
  margin-top: -20px;
}
.white {
  color: #fff;
}
.gantt_grid_head_add {
  display: none;
}
.table span.glyphicon {
  padding: 5px;
}
.grid-view table thead {
  background: #fff;
}
.hr-bold {
  border-top: 3px solid #ccc;
}
.my-form-group {
  margin-bottom:0;
}
.my-form-group .form-control {
  display:inline-block;
}
.main-header .navbar .pull-left > a.white {
  line-height: 50px;
}
@media print {
  .code-index .table > thead > tr > th:last-child,
  .code-index .table > tbody > tr > td:last-child {
    display: none;
  }
  .code-index .filters,
  .code-index .btn {
    display: none;
  }
  a[href]:after {
    content: "";
  }
}
@media print {
  .contractor-view .btn {
    display: none;
  }
}
@media print {
  .tool-index .table > thead > tr > th:last-child,
  .tool-index .table > tbody > tr > td:last-child {
    display: none;
  }
  .tool-index .filters,
  .tool-index .btn {
    display: none;
  }
  a[href]:after {
    content: "";
  }
}
@media print {
  .collaborator-index .table > thead > tr > th:last-child,
  .collaborator-index .table > tbody > tr > td:last-child {
    display: none;
  }
  .collaborator-index .filters,
  .collaborator-index .btn {
    display: none;
  }
  a[href]:after {
    content: "";
  }
}
#comment-index {
  max-height: 350px;
  overflow: auto;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding: 10px;
}
#comment-index .comment .user {
  font-size: 11px;
  float: left;
}
#comment-index .comment .date {
  font-size: 11px;
  float: right;
}
#comment-index .comment .text {
  border: 1px solid #eaeaea;
  padding: 10px;
  margin: 5px 0 15px;
  box-shadow: 2px 2px 9px -2px #ccc;
}
#comment-form textarea {
  margin-bottom: 20px;
}
.job_task .gantt_add {
  display: none;
}
#file-index .file {
  padding: 10px 0;
  border-bottom: 1px solid #d2d6de;
}
#file-index a.delete {
  float: right;
  color: #ae444a;
}
#resource-index table input {
  border: none;
  outline: none;
}
#resource-index table input:focus {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 0 5px;
}
#resource-index table input[name=resource_price] {
  width: 60px;
}
#resource-index table input[name=resource_quantity] {
  width: 40px;
}
#link-index table input {
    border: none;
    outline: none;
}
#link-index table input:focus {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 0 5px;
}
#link-index table input[name=lag] {
    width: 60px;
}
#ganttForm .modal-body {
  overflow: hidden;
}
#ganttForm .modal-body #taskTabs-tab1, #ganttForm .modal-body #taskTabs-tab2 {
  width: 200%;
  margin-left: 0;
  transition: 0.5s;
}
#ganttForm .modal-body #taskTabs-tab1 .left, #ganttForm .modal-body #taskTabs-tab2 .left{
  width: 50%;
  float: left;
}
#ganttForm .modal-body #taskTabs-tab1 .right, #ganttForm .modal-body #taskTabs-tab2 .right {
  width: 50%;
  float: right;
  padding: 0 15px;
}
.table-resources {
  overflow: auto;
}
.columns {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}
.columns .list {
  display: none;
  width:150px;
  position: absolute;
  z-index: 999;
  background: #fff;
  padding: 10px;
  border: 1px solid #aaa;
  box-shadow: 2px 2px 4px 0 #aaa;
}
.columns:hover .list {
  display: block;
}
.gantt_tree_content i.fa {
  font-size: 16px;
  margin-right: 5px;
  color: #406cbf;
}
.flashing {
  animation: flashing 1s linear infinite;
}
@keyframes flashing {
  50% {
    opacity: 0;
  }
}
.table-vertical-middle td{
  vertical-align: middle !important;
}
.overwork {
  position: absolute;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  z-index: 1;
  opacity: 0.5;
  background-color:#0d0;
  margin-top:3px;
}
.underwork {
  position: absolute;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  z-index: 1;
  background-color:#f00;
  margin-top:3px;
}
.milestone_name {
    position: absolute;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 1;
    margin-top:2px;
    padding: 5px;
    font-size: 12px;
//    font-weight:bold;
}
.login-box-body img.login_logo{
	display:block;
	margin:0 auto;
	max-width:320px;
	width: 100%;
}

.vertical-tab-container{
 z-index: 10;
 background-color: #ffffff;
 padding: 0 !important;
 border-radius: 4px;
 -moz-border-radius: 4px;
 /*border:1px solid #ddd;*/
 background-clip: padding-box;
 opacity: 0.97;
 filter: alpha(opacity=97);
}
.vertical-tab-menu{
 padding-right: 0;
 padding-left: 0;
 padding-bottom: 0;
}
.vertical-tab-menu div.list-group{
 margin-bottom: 0;
}
.vertical-tab-menu div.list-group>a{
 margin-bottom: 0;
}
.vertical-tab-menu div.list-group>a .glyphicon,
.vertical-tab-menu div.list-group>a .fa {/* font-awesome only */
 color: #3c8dbc;
}
.vertical-tab-menu div.list-group>a:first-child{
 border-top-right-radius: 0;
 -moz-border-top-right-radius: 0;
}
.vertical-tab-menu div.list-group>a:last-child{
 border-bottom-right-radius: 0;
 -moz-border-bottom-right-radius: 0;
}
.vertical-tab-menu div.list-group>a.active,
.vertical-tab-menu div.list-group>a.active .glyphicon,
.vertical-tab-menu div.list-group>a.active .fa{
 background-color: #3c8dbc;
 background-image: #3c8dbc;
 color: #ffffff;
}
.vertical-tab-menu div.list-group>a.active:after{
 content: '';
 position: absolute;
 left: 100%;
 top: 50%;
 margin-top: -13px;
 border-left: 0;
 border-bottom: 13px solid transparent;
 border-top: 13px solid transparent;
 border-left: 10px solid #3c8dbc;
}
.vertical-tab-content{
 background-color: #ffffff;
}
.vertical-tab div.vertical-tab-content:not(.active){
 display: none;
} 

.li-template-id div{
	float:right;
}
.li-template-id > label{
	margin:0;
	font-weight:normal;
    width: 80%;
}
.li-template-id{
	border-bottom: 1px solid #ddd;
    padding: 10px 5px;
}
.li-template-id > div > label{
	color:#ddd;
	margin:0;
	font-weight:normal;
}
.li-template-id > div > label:before{
	content: "Включить в ИД";
}
.li-template-id > div > input:checked + label{
	color:#3c763d;
}
.li-template-id > div > input:checked + label:before{
	content: "Включен в ИД";
}

.title_row_files{
	margin-top:15px;
}
.table-matsupply{
	overflow: auto;
}
.table-matsupply td,.table-matsupply th{
	vertical-align:middle !important;
}


.table-matsupply .hidden_input{
	width: 70px;
    border: none;
    background-color: transparent;
    text-align: right;
    outline: none;
    color: inherit;
}
.table-matsupply .hidden_input2{
	width: 70px;
    border: none;
    background-color: transparent;
    text-align: right;
    outline: none;
    color: inherit;
}
.table-matsupply input::-webkit-outer-spin-button,
.table-matsupply input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}


.table-matsupply table {
    width: 100%;
}
.table-matsupply tr td:first-child:not(.no-abs), .table-matsupply  tr:first-child th:first-child{
    position: absolute;
    left: 0;
    width: 400px;
    border:none;
    border-top:1px solid #eee;
    overflow:hidden;
    white-space: nowrap;
}
.outer {
    position: relative
}
.table-matsupply {
    overflow-x: scroll;
    overflow-y: visible;
    
    margin-left: 400px;
    margin-right: 510px;
}
.alert-yellow {
    color: #000000;
    background-color: #ffff25;
}
.yellow-border{
	border-color:#ffff25 !important;
}
.warning-border{
	border-color: #ffff00  !important;
}
.value_res{
	-webkit-user-select: none;
    /* user-select -- это нестандартное свойство */
    -moz-user-select: none;
    /* поэтому нужны префиксы */
    -ms-user-select: none;
}
.table-matsupply .min_input{
	width:40px;
	margin-left:5px;
	text-align:center;
}
.table-matsupply .value_res:not(.no-action):hover {
	cursor:pointer;
}
.table-matsupply .pay_class_noval{
	font-weight:bold;
	color:#00a65a;
}
.table-matsupply .pay_class{
	position:relative;
}
.table-matsupply .pay_class:before{
	content:"₽";
	color:#000000;
	position:absolute;
	top: 0;
	font-weight:bold;
	left:4px
}
.table-matsupply  .min_input{
	display:none;
}
.table-matsupply .inoneday:checked +  .min_input{
	display:inline-block;
}

.row-fixed-1 {
    position: absolute;
    width: 190px;
    height: 77px;
    right: 0px;
    z-index: +9000;
}

.row-fixed-2 {
    position: absolute;
    width: 190px;
    height: 50px;
    right: 0px;
}

.row-fixed-3 {
    position: absolute;
    width: 52.22px;
    height: 35.56px;
    right: 0px;
}

.row-fixed-4 {
    position: absolute;
    width: 52.22px;
    height: 39.76px;
    right: 0px;
}

.table {
    border-collapse: separate !important;
    border: 1px solid #f4f4f4 !important;
    border-bottom-width: 0 !important;
}

.table-relative {

    z-index: 10;
    background-color: #fff;
}

.table-fixed, .table-fixed-two {
    position: absolute;
    z-index: 10;
    background-color: #fff;
}

.table .naming {
    height: 127px;
}

.table-relative .date-value {
    min-width: 61px;
}
.select2-container .select2-selection--single {
    height:34px;
}
.f-s-10 {
    font-size:10px;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header {
    height: auto;
}
.footer-row {
    position: relative;
}
.footer-row .center {
    position: absolute;
    left:50%;
    transform: translate(-50%);
}
.datepicker table tr td.today {
    border: solid 1px #000;
}
.f-s-16 {
    font-size:16px;
}
.f-s-18 {
    font-size:18px;
}
.label-success2 {
    color: #00a65a !important;
    background-color: #fff !important;
    border: solid 1px #00a65a;
    position:relative;
    top:-1px;
    margin-left:5px;
}
.box-info2 {
    border-color: #bce8f1 !important;
}

.box-info2 .box-header {
    color: #31708f !important;
    background-color: #d9edf7 !important;
    border-color: #bce8f1 !important;
}