﻿/* table */
.table-striped > tbody > tr:nth-child(odd) > td {
    background-color: #E4E4E4;
}

.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #ACACAC;
    border: 1px solid black;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
    /* border-color: rgb(111, 111, 111); */
    vertical-align: middle;
}

.table > tbody > tr > th {
    padding: 8px 10px;
    border: none;
}


element.style {
}

.table thead th {
    vertical-align: bottom;
    /* border-bottom: 2px solid #dee2e6; */
}

.edit-col {
    width: 150px;
    height: 100%;
}


.editRow, .editRow > td {
    background-color: #fcf3d6 !important;
    border: solid 2px #e6e6e6;
}


    .editRow > td > a {
        margin-left: 10px;
    }

.table > tbody > tr > td > a .btn {
    margin-left: 10px;
}



table > thead > tr > th > a,
table > tbody > tr > th a,
table > thead > tr > th > a :hover {
    color: black !important;
}

.table .form-control {
    border-radius: 0;
}

.table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
    padding: 5px;
    vertical-align: middle;
}


tbody {
    overflow-y: scroll;
    max-height: 400px;
    padding-right: 0;
    overflow-x: hidden;
}

.table > tbody > tr > td {
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0;
    word-break: break-all;
    height: 31px;
}

@-moz-document url-prefix() {
    .dnd-taskboard-panel > table > tbody > tr > td {
        padding: 0;
        padding-left: 5px;
        padding-right: 5px;
        margin: 0;
        word-break: break-all;
        height: 100%;
    }
}


.table > tbody > tr > td > span > .btn {
    margin-left: 10px;
}

.th-action {
    width: 100px;

}

#EditButton {
    margin:auto;
}

.edit-col-addResource {
    width: 5px;
    height: 42px;
}

.type-col-addResource {
    width: 65px;
    height: 42px;
}

.name-col-addResource {
    width: 131px;
    height: 42px;
}

.addResource-filter button.ui-multiselect {
    width: 100% !important;
}

.editProjectDetails button.ui-multiselect {
    width: 100% !important;
}


.description-col {
    width: 131px;
    height: 42px;
}

.group-col-addResource {
    width: 131px;
    height: 42px;
}

.group-description-col-addResource {
    width: 131px;
    height: 42px;
}

#projects > tbody > tr > td > input[type="image"] {
    vertical-align:middle;
    padding-bottom:2px;
}

.pagination > li > select {
    margin-right: 1px;
    margin-top: -4px;
}

.pagination > li {
    padding: 3px 8px;
}

.pagination > li > a {
    border: none;
}

/*Pager*/

.pager-table {
    background: white;
    margin-top: 10px;
}

.pager-select {
    margin-top: 22px;
    margin-right: 10px;
    font-size: 14px;
}

.pager li > a {
    border-radius: 0;
    font-size: 15px;
}




#newProjectsTableContainer {
    /*max-height:300px;
    overflow-y:auto;*/

}


/*.table-gray-border-none >tbody tr >td:first-child{
         background-color: #E4E4E4;
                 border-bottom:1px #fff solid;
                 width:50%;
                 font-size:12px;
}*/

.table-gray-border-none >tbody tr >td{
        border:none;
        border-bottom:1px #E4E4E4 solid;
        white-space: normal;
        padding-top:5px !important;
           font-size:12px;
}
    .table-gray-border-none > tbody tr > td > span > .btn{
        margin-left:0;
    }
.table-gray-border-none {
    border:none;
    margin-bottom:0;
}
.table-nowrap {
    white-space: normal;
}
.edit-footer {
    background:#fff !important;
}
.edit-footer-edit {
    background-color: #fcf3d6 !important;
    border-bottom: 1px #fcf3d6 solid !important;
}

.panel table td, .panel-body table td  {
  white-space:normal;
}

.pager-select > a {
    margin-right:5px;
}

.customCategory tr {
    height:31px !important;
}
.prio-col {
    min-width: 45px;
}
.remaining-time-col {
    min-width: 80px;
}
.earliest-start-col {
    min-width: 80px;
}
.potential-start-col {
    min-width: 80px;
}
.buffer-end-col {
    min-width: 80px;
}
.potential-finish-col {
    min-width: 80px;
}
.buffer-bufferedfinnish-col {
    min-width: 80px;
}

.procent-col {
    min-width: 35px;
}

.time-report-table {
    padding-top: 17px;
    padding-left: 20px;
}

.time-report-table input[type="text"] {
    width: 60px;
}

.time-report-col {
    min-width: 124px;
}

.min-width-720 {
    min-width: 720px;
}

.table-scrollable {
    min-height: 400px;
    max-height: 634px;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: thin;
}

.gantt-network-table-scrollable {
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: thin;
}

.table-scrollable-lg {
    min-height: 400px;
    max-height: 1000px;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: thin;
}

.histories-table-scrollable {
    max-height: 634px;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: thin;
    white-space: normal;
}
.histories-table-scrollable tbody tr th {
    border: none;
}

    .histories-table-scrollable tbody tr th {
        z-index: 1000;
        position: sticky;
        top: -2px;
        background-color: white;
        margin-top: -1px;
        margin-bottom: -1px;
        /* box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6; */
    }

.scenarioprojects-table-scrollable {
    max-height: 400px;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: thin;
    white-space: normal;
}

.scenarioprojects-table-scrollable tbody tr th {
    border: none;
}
.scenarioprojects-table-scrollable tbody tr th {
        border: none;
    }

    .scenarioprojects-table-scrollable tbody tr th {
        z-index: 1000;
        position: sticky;
        top: -2px;
        background-color: #e9ecef;
        margin-top: -1px;
        margin-bottom: -1px;
        /* box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6; */
    }

.header > th {
    border: white;
}

@media (max-height: 1400px) {
    .histories-table-scrollable{
        max-height: 1034px;
        overflow-x: auto;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .histories-table-scrollable tbody tr th {
        border: none;
    }

        .histories-table-scrollable tbody tr th {
            z-index: 1000;
            position: sticky;
            top: -2px;
            background-color: white;
            margin-top: -1px;
            margin-bottom: -1px;
            /* box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6; */
        }

    .table-scrollable {
        min-height: 400px;
        max-height: 634px;
        overflow-x: auto;
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

    .table-scrollable tbody tr th {
        border: none;
    }

    .table-scrollable tbody tr th {
        z-index: 1000;
        position: sticky;
        top: -2px;
        background-color: white;
        margin-top: -1px;
        margin-bottom: -1px;
        /* box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6; */
    }


    #MainContent_GridPager table {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }