/*

---------Primeface
<div class="top-table">                                                       
    <p:dataTable id="dtEmployee"  var="employee" value="" dir="rtl"
                 selectionMode="single"  rowKey="">
    </p:dataTable>
</div>
*/


.top-table{
    position: relative;
    margin: 10px;
}
.top-table .switch-filter{
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 3px;
    padding-left: 37px;
    height: 23px;
    border-radius: 3px;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.14), 0 3px 0px -3px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.top-table label.top-switch-checkbox .ui-chkbox-box{
    right: unset;
    top:6px;
    left:6px;
}
.top-table .switch-filter .checkbox-title{
    display: block;
    margin-top: -2px;
}
.top-table .switch-filter .checkbox-title:before{
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    content: "\f0b0";
    font-size: 15px;
}
.top-table table{
    border-color: #ccc;
    outline: none!important;
    border: 1px solid #ccc;
    width: 100%;
}

.top-table th{
    cursor: default;
    background: #f4f4f4!important;
    box-shadow: none;
    color: #353638;
    /* font-weight: normal; */
    font-size: 10px;
    font-style: normal;
    font-weight: bold!important;
    border: 1px solid #ccc;
    padding: 7px!important;
    font-weight: normal;
    text-align: center;
}
.top-table th:first-child{
    /* border-right: 1px solid #4384ab; */
}
.top-table th:last-child{
    /* border-left: 1px solid #4384ab; */
}
.top-table tbody tr{
    /*    transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;*/
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    -o-user-select: auto;
    user-select: auto;
    background-color: #e9fdff;
    cursor: default!important;
    line-height: 1.8;
    font-size: 0.96rem;
    border-top: solid 1px #ccc;
}
.top-table tbody tr.user-disabled-true{
    color:#bbb;
}
.top-table tbody tr:hover{
  background-color: #fffcc2 !important;
}

.top-table tbody>tr:nth-of-type(odd) {
    background-color: #fff;
}
.top-table tbody td {
    border-color: #ccc!important;
    font-size: 12px;
    padding: 5px;
    border: solid 1px #ccc;
    color: #000;
}
.top-table .ui-datatable tr.ui-state-highlight{
    color: #0449bd!important;
    text-shadow: none;
    /*font-weight: bold;*/
    font-style: normal;
    font-weight: bold!important; 
    font-size: 16px;     
    /*font-style: italic;*/
}
.top-table .ui-datatable tr.ui-state-highlight td:first-child{
    border-right: solid 5px #0449bd!important;
}
.top-table .ui-datatable tr.ui-state-highlight td:last-child{
    border-left: solid 5px #0449bd!important;
}
.top-table  .ui-inputtext{
    padding: 0.4375rem 0;
    font-size: 13px;
    line-height: 1.25;
    color: #1c0cf3;    
    background-color: transparent;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: none!important;
    background: no-repeat center bottom, center calc(100% - 1px);
    background-size: 0 100%, 100% 100%;
    /* border: 1px; */
    -webkit-transition: all 0s ease-out;
    transition: all 0s ease-out;
    background-image: linear-gradient(to top, #1d6ac7 1px, rgba(13, 71, 161, 0) 1px), linear-gradient(to top, rgba(0, 0, 0, 0) 1px, transparent 1px);
    padding-top: 3px;
    margin-bottom: 5px;
    width: 100%;
    font-weight: normal;
    height: 27px;
    padding-right: 5px;
    padding-left: 5px;
    background-color: #ffffff;
}
.top-table  .ui-inputtext:focus{
    background-color: #fff;
    border-bottom-color: #1d6ac7;
    outline: none;
    background-size: 100% 100%, 100% 100%;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    color: #d04a00;
    box-shadow: none;
}
.top-table .ui-datatable .ui-column-filter{
    width: 100%!important;
}
.top-table .ui-datatable-rtl.ui-datatable thead th, .ui-datatable-rtl.ui-datatable tfoot td{
    text-align: center;
}
.top-table .ui-paginator{
    background-color: #f4f4f4;
    color: #1d1c1c;
    padding-top: 5px!important;
    border: 1px solid #ccc;
    height: 35px;
}
.top-table .ui-paginator a {
    background-color: #ddd;
    border-radius: 5px;
    width: 24px;
    height: 21px;
    padding: 0px;
    text-align: center;
    margin-left: 3px;
    margin-right: 3px;
    position: relative;
    display: inline-block;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.14), 0 3px 0px -3px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.top-table .ui-paginator a:active {
    -webkit-transform:   scale(0.9);
    transform: scale(0.9);
}
.top-table .ui-paginator a .ui-icon,
.top-table .ui-sortable-column-icon{
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    display: inline;
    width: auto;
    height: auto;
    line-height: normal;
    vertical-align: baseline;
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    margin-top: 0;
    color: #000;
    visibility: hidden;
    position: relative;
    font-size: 16px;
}
.top-table .ui-paginator a .ui-icon{
    position: absolute; 
    top: 2px;
}
.top-table .ui-paginator a:hover{
    background-color: #ff5b00;
}
.top-table .ui-paginator a:hover .ui-icon{
    color:#fff;
}
.top-table .ui-paginator-prev .ui-icon{
    left: 10px;
}
.top-table .ui-paginator-first .ui-icon{
    left: 8px;
}
.top-table .ui-paginator-next .ui-icon{
    left: 8px;
}
.top-table .ui-paginator-last .ui-icon{
    left: 6px;
}
.top-table .ui-paginator-prev .ui-icon:before{
    text-decoration: inherit;
    display: inline-block;
    speak: none;
    content: "\f105";
    text-indent: 0;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}
.top-table .ui-paginator-next .ui-icon:before{
    text-decoration: inherit;
    display: inline-block;
    speak: none;
    content: "\f104";
    text-indent: 0;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}
.top-table .ui-paginator-first .ui-icon:before{
    text-decoration: inherit;
    display: inline-block;
    speak: none;
    content: "\f101";
    text-indent: 0;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}
.top-table .ui-paginator-last .ui-icon:before{
    text-decoration: inherit;
    display: inline-block;
    speak: none;
    content: "\f100";
    text-indent: 0;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}
.top-table .ui-paginator select{
    color: #555;
    height: 24px;
    min-width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    float: left;
    margin: 0;
    margin-left: 4px;    
    font-size: 13px;
    border-radius: 4px;
    margin-top: -1px;
    box-shadow:0px 1px 0px 0px rgba(0, 0, 0, 0.14), 0 3px 0px -3px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.top-table .ui-paginator-prev{
    margin-left: 45px!important;
}
.top-table .ui-paginator-next{
    margin-right: 45px!important;
}
.top-table .ui-paginator .ui-paginator-current{   
    display: inline-block;
    color: #7c7d7d;
    position: absolute;
    margin-top: -2px;
    margin-right: -25px;
}
.top-table .ui-sortable-column-icon{
    width: 15px;
    height: 15px;
    float: left;
}
.top-table th[aria-sort=descending] .ui-sortable-column-icon:before{

    text-decoration: inherit;
    display: inline-block;
    speak: none;
    content: "\f0d7";
    text-indent: 0;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}
.top-table th[aria-sort=ascending] .ui-sortable-column-icon:before{

    text-decoration: inherit;
    display: inline-block;
    speak: none;
    content: "\f0d8";
    text-indent: 0;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}

.top-table .ui-paginator .ui-state-disabled,
.top-table .ui-paginator .ui-state-disabled:before{
    background-color: #ececec!important;
}
.top-table .ui-paginator .ui-state-disabled .ui-icon{
    color: #b3afaf!important;
}
.top-table .ui-datatable .ui-sortable-column{
    outline: none!important;
}

.top-table .ui-datatable .ui-column-filter{
    animation-name: fadeIn;
    animation-duration: 0.5s;
    /*display: none;*/
}
.top-table .top-button{
    vertical-align: inherit!important;
}
.top-table-refresh{
    position: absolute!important;
    left:65px;
    top: 2px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    outline: none!important;
}
.top-table-refresh:hover .icon-refresh{
    color:#d04a00;
}
.top-table-refresh:active{ 
    transform: scale(0.9);
}
.top-table-refresh .icon-refresh{
    color: #32405a;
    text-indent: 0;
    font-size: 15px;
}
.top-table-refresh .ui-button-text{
    display: none;   
}
.top-table .ui-datatable-tablewrapper{
    overflow: hidden!important;
}
.top-table .ui-datatable-empty-message td{
    font-size: 13px!important;
}

.top-table tr .ui-icon{
    text-indent: 0!important; 
    font-style: normal!important;
    font-weight: normal!important;
}
.top-table tr .ui-chkbox-icon:before{
    background: none;
    font-family: FontAwesome;
    width: auto;
    font-size: 19px;
}
.top-table tr .ui-icon-blank:before{
    content: "\f096";
}
.top-table tr .ui-icon-check:before{
    content: "\f046";
    color: #0449bd;
}
.ui-tabs-panel .top-table{
    margin: 0;
}
.top-table .mCSB_scrollTools{
    right: -6px!important;
    left:auto;
}