/* 
    Created on : 15.9.2018, 18:35:49
    Author     : Tomas Bradle
*/

@charset "UTF-8";

.listview-container.card {
    padding: 3rem;
    padding: 1.5rem;
}

form .listview-container {
    text-align: left;
}

.listview-controls {
    position: relative;
}

.listview-pagination {
    /*
    background: salmon;
    */

    position: absolute;
    right: 0;
    top: 0;
    
    top: 3rem;
}

.listview-controls {
    
    margin-bottom: 0.8rem;
    margin-bottom: 1.8rem;
    margin-bottom: 2.4rem;
}

.listview-controls .search-box {
    position: absolute;
    top: 0;
    right: 0;
}

.listview-controls .search-box .md-form {
    margin-top: 0.4rem;
    margin-bottom: 0;
}

.listview-controls .search-box .md-form label {
    top: -0.7rem;
}

.listview-controls .search-box .md-form label.active {
    top: -0.4rem;
}

.listview-buttons {
    /*
    background: skyblue;

    position: absolute;
    right: 24rem;
    right: 36rem;
    top: 0;
    
    top: 3rem;
    right: auto;
    */
}
.listview-buttons .btn:first-of-type {
    margin-left: 0;
}

/*
.listview-buttons .btn {
    margin-top: 0.125rem;
    background: #ffa500 !important;
}
*/

.btn-listview-control {
    margin-top: 0.125rem;
    background: #ffa500 !important;
}

.btn-listview-control:not([disabled]):not(.disabled).active, 
.btn-listview-control:not([disabled]):not(.disabled):active {
    background-color: #ee9100 !important;
}

.listview-buttons .btn .fas {
    margin-right: 0.5rem;
}

.listview-pagination .pagination.pg-amber .page-item.active .page-link, 
.listview-pagination .pagination.pg-amber .page-item.active .page-link:hover {
    background-color: #ffa500;
}



@media (max-width: 920px) {
    
    .listview-pagination,
    .listview-buttons,
    .listview-controls .search-box {
        position: static;
        right: auto;
        top: auto;
    }
    
    .listview-controls .search-box .md-form {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .listview-pagination {
        top: 3rem;
        right: 0;
    }
    
}


.table-responsive-headers {
    overflow: hidden;
}

.listview-headers-inner {
    display: inline-block;
    width: auto;
    position: relative;
    
    min-width: 100%;
}


.listview-scrollable {
    position: relative;
    height: 200px;
    overflow: auto;
    
    max-width: 100%;
    /*margin: 0 auto;*/
}

.listview-scrollable table, 
.table-responsive-headers table {
    min-width: 100%;
}

.table-wrapper-scroll-y {
    display: block;
}

.listview-headers-container {
    
    overflow: hidden;
}

.listview-headers {
    margin-bottom: 0;
    
}

.btn-operation {
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    
    margin-top: -0.3rem !important;
    margin-bottom: -0.3rem !important;
    
    vertical-align: top;
}

/*.btn-operation:hover {*/
.btn-operation:not(.btn-flat):hover {
    background: #ffa500 !important;
}

.btn-operation:not([disabled]):not(.disabled):not(.btn-flat).active, 
.btn-operation:not([disabled]):not(.disabled):not(.btn-flat):active {
    background-color: #ee9100 !important;
}

.listview-filter-container {
    
}

.listview-filter-chips {
    margin-top: -3rem;
    margin-top: 0;
    
    margin-bottom: -0.8rem;
}

.listview-filter-chips .chip {
    margin-top: 0.7rem;
    margin-top: 0;
    margin-bottom: 0;
    
    height: 24px;
    line-height: 24px;
}

.listview-filter-chips .chip .close {
    line-height: 24px;
}

.listview-container table {
    table-layout: fixed;
}

.listview-listing {
    margin-bottom: 0;
    padding-left: 1rem;
}

.listview-controls-separator {
    margin-bottom: 0;
}

.listview-container td p {
    margin-bottom: 0;
}






/* --------------------- STAVY ---------------------------- */



.ticket-new {
    background: #ff0219 !important;
}

.ticket-open {
    
}

.ticket-wait {
    background: #ffd700 !important;
    color: #000 !important;
}

.ticket-reply {
    background: #9ACD32 !important;
    color: #000 !important;
    
}

.ticket-to-close {
    background: #008000 !important;
    
}

.ticket-closed {
    
}

.state-yes {
    background: #008000 !important;
    
}

.state-no {
    background: #f00 !important;
    
}



.ticket-instructions {
    background: #9ACD32 !important;
    color: #000 !important;
}

.ticket-morework {
    background: #FFD700 !important;
    color: #000 !important;
}

.ticket-error-software {
    background: #FF0219 !important;
}

.ticket-error-client {
    background: #4285F4 !important;
}




.ss-state-released {
    background: var(--blue) !important;
}

.ss-state-unreleased {
    background: var(--yellow) !important;
    color: #000 !important;
    
}






/* --------------------- STAVY konec ---------------------- */





/* --------------------- SUBLIST -------------------------- */

tr.tr-sublist-container {
    /*
    display: none;
    */
    background: #fff !important;
    background: #f5f5f5 !important;
    
    
}

tr.tr-sublist-container > td {
    padding-bottom: 0;
}

tr.tr-sublist-container.hidden {
    display: none;
}

table.table-sublist {
    
    /*
    background: salmon !important;
    */
    
    margin-left: 5rem;
    margin-left: 4rem;
    width: calc(100% - 5rem);
}

table.table-sublist tr {
    background: transparent !important;
}

table.table-sublist th {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.table td,
.table th {
    border-top: 0 none;
    border-bottom: 1px solid #dee2e6;
}

tr.striped {
    background-color: rgba(0, 0, 0, 0.05);
}



/* --------------------- SUBLIST konec -------------------- */









/* --------------------- SUBLIST -------------------------- */

table.dataTable thead .sorting::after, 
table.dataTable thead .sorting::before, 
table.dataTable thead .sorting_asc::after, 
table.dataTable thead .sorting_asc::before, 
table.dataTable thead .sorting_asc_disabled::after, 
table.dataTable thead .sorting_asc_disabled::before, 
table.dataTable thead .sorting_desc::after, 
table.dataTable thead .sorting_desc::before, 
table.dataTable thead .sorting_desc_disabled::after, 
table.dataTable thead .sorting_desc_disabled::before {
    bottom: 0.5em;
}



/* --------------------- SUBLIST konec -------------------- */














table.dataTable thead .sorting::before, 
table.dataTable thead .sorting_asc::before, 
table.dataTable thead .sorting_asc_disabled::before, 
table.dataTable thead .sorting_desc::before, 
table.dataTable thead .sorting_desc_disabled::before, 
table.dataTable thead .sorting::after, 
table.dataTable thead .sorting_asc::after, 
table.dataTable thead .sorting_asc_disabled::after, 
table.dataTable thead .sorting_desc::after, 
table.dataTable thead .sorting_desc_disabled::after {
    right: 0;
}

table.dataTable thead > tr > td.sorting, 
table.dataTable thead > tr > td.sorting_asc, 
table.dataTable thead > tr > td.sorting_desc, 
table.dataTable thead > tr > th.sorting, 
table.dataTable thead > tr > th.sorting_asc, 
table.dataTable thead > tr > th.sorting_desc {
    padding-right: 18px;
}

.table-sm td, .table-sm th {
    padding-left: .8rem;
    padding-right: .8rem;
}




table.listview-table td a {
    color: #ffa500;
}

table.listview-table td a:hover, 
table.listview-table td a:active, 
table.listview-table td a:focus {
    text-decoration: underline;
}



tr.listview-summary-row, 
tr.listview-summary-row:hover,
tr.listview-summary-row:hover td {
    background: #dedede;
    color: #fff;
    color: #111;
}

tr.listview-summary-row td {
    font-weight: 400;
    padding-top: .3rem;
    padding-bottom: .3rem;
}















