
/*
    Created on : 17 août 2017, 11:14:51
    Author     : Evode
*/


/* Listing */

/* Remove bootstrap border*/
.table-responsive {
    border:0;
    overflow-x: auto;
}

.listing {
    border: 1px solid #f4f4f4;
    width: 100%;
    font-size: 14px;

}

.listing tr:hover {
    background-color: #f5f5f9;
}

.listing  th {
    border-top: 1px solid #f4f4f4;
    /*
    border-bottom: 2px solid #f4f4f4;
    */
    border-bottom: 2px solid gray;
    background-color: #f9f9f9 !important;

    /*height:45px;*/

    padding: 5px;
    white-space: nowrap;

}
.listing td {
    font-size: 10px;
    padding: 5px;
}

.listing tr {
    border-bottom: 1px solid gray;
}


.listing th.sorted-asc {
    white-space: nowrap;
    text-decoration: underline;
}

.listing th.sorted-desc {
    white-space: nowrap;
    text-decoration: underline;
}

.listing th.sortable {
    text-decoration: underline;
}

.listing .form-group {
    margin:0;
}

.listing-filter {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.listing-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: fit-content;
    align-items: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.square-radio{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.listing-limit-cell {
    overflow-y: scroll;
    max-height: 200px;;
}


#paginate {
    font-size: 15px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items:center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}
#paginate input {
    width: 35px;
    size: 10px;
}

#paginate .current {
    color: blue;
    font-weight: bold;
}
#paginate span {
    padding: 8px;
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
    .listing td {
        font-size: 11px;
        padding: 5px;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .listing td {
        font-size: 14px;
        padding: 5px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .listing td {
        font-size: 14px;
        padding: 5px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

    .listing td {
        font-size: 14px;
        padding: 5px;
    }
}

@media only print {
    .listing {
        border: 0px solid black;
        width: 100%;
        font-size:12px;
    }

    .listing th {
        background-color: transparent !important;
        padding: 5px;
        font-size:12px;
        font-weight: bold;
    }

    .listing td {
        font-size: 10px;
        padding: 2px;
        border: 1px solid black;
        vertical-align: top;
    }

    .listing tr {
        border-bottom: 1px solid gray;
    }
}