html,
body {
    height: 100%;
}


.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}
/*
.nav li > div {
  padding: 8px 15px 0;
  margin: 0;
}
*/
@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 15px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}


.dates-table td { width: 16.666667% }

.vcenter {
    vertical-align: middle !important;
}

.invoice-row-form, .data-row-form { margin: 0 -15px 15px;  border: 1px solid #999; padding: 15px 15px 0; }

.invoice { position: relative; }
#canceled { position: absolute; font-size: 68pt; left: 0; top: 210px; text-transform: uppercase; opacity: .5; font-weight: bold; width: 100%; text-align: center;
    -webkit-transform: rotate(335deg);
    -moz-transform: rotate(335deg);
    -o-transform: rotate(335deg);
    transform: rotate(335deg);
    writing-mode: lr-tb;
}

@media print {
    .container {
        width: 100% !important;
    }
    * { -webkit-print-color-adjust: exact !important; color-adjust: exact !important; }
}

@media (min-width: 768px) {
    #genericModal >.modal-dialog {
        width: 900px;
    }
}

h1.deleted { text-decoration: line-through; }
tr.deleted td { position:relative }
tr.deleted td:before {
    content: " ";
    position: absolute;

    left: 0; top: 50%; width: 100%;
    border-bottom: 1px solid red;
    opacity: 1 !important;
}
tr.deleted td:last-child:before {
    content: " ";
    position: absolute;

    left: 0; top: 50%; width: 100%;
    border-bottom: none;

    /*left: 0; top: 0;  width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);*/
}

tr.deleted td { opacity: .4; }
tr.deleted td:last-child { opacity: 1; }

/* Don't print link hrefs */
@media print {
  a[href]:after {
    content: none
  }
}

@media (max-width: 767px) {
    .navbar-collapse .nav > .divider-vertical {
        display: none;
     }
}

.table-hover> tbody> tr:hover{
    /*filter: brightness(95%);*/
}

.item-hover:hover{
    background: #e9e9e9;
    cursor: pointer;
}

#project-tree span.icon { margin-right: 10px; }

.clickable-td { color: #0b93d5; background-color: rgba(255,255,255,.7)}


.request-row-form { border: 1px solid #999; padding: 15px; margin-bottom: 15px; }

.tag { background: rgba(81, 201, 255, 0.29); border: 1px solid #367FA9; border-radius: 3px; padding: 3px 5px;}



.cost-center-info-block { overflow: hidden; margin-bottom: 10px; display: flex; }
.cost-center-info-block .title-prefix-icon {  margin: 0; }
.cost-center-info-block .name { flex: 1; font-weight: bold; padding: 7px; height: 30px; overflow: hidden;}
.cost-center-info-block .hours, .cost-center-info-block .amount, .cost-center-info-block .single-amount, .cost-center-info-block .paid { font-weight: bold; padding: 7px; text-align: right;}
.cost-center-info-block .hours { width: 120px; }
.cost-center-info-block .paid { width: 40px; }
.cost-center-info-block .amount { width: 200px; }
.cost-center-info-block .single-amount { width: 120px; }

.cost-center-info-block .cost-centers-data { color: #97A3BF; }
.cost-center-info-block .cost-centers-data:before { content: '('; }
.cost-center-info-block .cost-centers-data:after { content: ') '; }

.cost-center-view .tree .values { width: 200px; text-align: right;}

.cost-center-view .tree .btn { }

.cost-center-view .tree ul ul, .cost-center-view .tree .projects, .cost-center-view .tree .only-cost-center, .cost-center-view .tree .employee, .cost-center-view .tree .project { margin-left: 38px; }

.cost-center-view .tree .tree-leaf .name, .cost-center-view .tree .tree-leaf .amount, .cost-center-view .tree .tree-leaf .hours, .cost-center-view .tree .tree-leaf .paid {font-weight: normal;}
.cost-center-view .tree .subtree .name, .cost-center-view .tree .subtree .hours, .cost-center-view .tree .subtree .amount {font-weight: 500;}

.cost-center-view .tree .first-level {margin-left: 76px;}
.cost-center-view .tree .second-level {margin-left: 114px;}


.cost-center-view .tree .project-service .name, .cost-center-view .tree .project-service .amount { font-weight: normal; }
.cost-center-view .tree .project-fixedAsset .name, .cost-center-view .tree .project-fixedAsset .amount { font-weight: normal; }


.cost-center-view .tree .material, .cost-center-view .tree .service, .cost-center-view .tree .fixedAsset { margin-left: 76px;}
.cost-center-view .tree .project-service, .cost-center-view .tree .project-fixedAsset { margin-left: 114px;}