.flex {
    display: flex;
}

.category-box {
    margin-top: 10px;
    height: 150px;
    overflow: scroll;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    padding: 10px;
}

.category-box ul {
    margin: 0;
    padding: 0;
}

.category-box ul li {
    display: block;
    margin-bottom: 5px;
}

.category-box ul li label {
    margin: 0;
    cursor: pointer;
}

.btn-upload{
    position: relative;
}
.btn-upload input[type="file"]{    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.ticket-dashboard {
    height: 100%;
    width: 100%;
}

.ticket-details {
    display: flex;
}

.ticket-details p {
    font-size: 0.8em;
}

.tickets-table p {
    font-size: 0.9em;
}

.tickets-table .badge {
    font-size: 1em;
}

.tickets-table td,
.tickets-table th {
    padding: 7.5px;
}

@media (max-width: 1024px) {
    .tickets-table-details-column {
        min-width: 200px !important;
    }

    .tickets-table-id-column {
        min-width: 70px !important;
    }

    .ticket-details p i {
        padding-right:5px !important;
    }

    .ticket-details p {
        display: flex;
        width: 100%;
        padding: 0 !important;
    }

    .ticket-details {
        flex-wrap: wrap;
    }
}

.contains-title {
    position: relative;
    height: 40px;
}

.contains-title hr {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    line-height: 40px;;
}

.contains-title p {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    line-height: 30px;
    background: white;
    padding-right: 10px;
    font-weight: bolder;
}

div.special-table-1 {
    max-width: 100%;
    max-height: 500px;
    overflow: scroll;
    position: relative;
}

div.special-table-1 table {
    position: relative;
    border-collapse: collapse;
}

div.special-table-1 td,
div.special-table-1 th {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: normal !important;
}

div.special-table-1 thead th {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 0;
    background: #f1f1f1 !important;
    z-index: 2;
}

div.special-table-1 thead th:first-child {
    left: 0;
    z-index: 3;
}
div.special-table-1 thead th:nth-child(2) {
    z-index: 3;
}

div.special-table-1 tbody tr:nth-child(even), div.special-table-1 tbody tr:nth-child(even) th, div.special-table-1 tbody tr:nth-child(even) td {
    background: #f1f1f1 !important;
}

div.special-table-1 tbody th, div.special-table-1 tfoot th {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    background: #fff;
    left: 0;
}

/* DATA TABLE CUSTOMIZATION */
table.dataTable thead .sorting {
    background-image: url("images/sort_both.png") !important;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background-repeat: no-repeat !important;
    background-position: center right !important;
}

table.dataTable thead .sorting_asc {
    background-image: url("images/sort_asc.png") !important;
}

table.dataTable thead .sorting_desc {
    background-image: url("images/sort_desc.png") !important;
}