﻿

body {
    --ais-bg-primary: #8DC63F;
    --ais-text-primary: #74A822;
    --ais-bg-primary-nav-active: #73A820;
    --ais-bg-primary-hover: #73A820;
    --ais-font-color: white;
}

.ais-btn-primary {
    color: var(--ais-font-color) !important;
    background-color: var(--ais-bg-primary);
    border-color: var(--ais-bg-primary);
    border-radius: 50px;
}

    .ais-btn-primary:hover {
        color: var(--ais-font-color) !important;
        background-color: var(--ais-bg-primary-hover);
        border-color: var(--ais-bg-primary-hover);
    }

.ais-text-primary.submenu-actvie {
    color: white !important;
    padding: 11px 16px;
    border-radius: 64px;
}
.submenu-actvie {
    background-color: var(--ais-bg-primary-nav-active);
    padding: 11px 16px;
    border-radius: 64px;
    color:white !important;
}
.submenu-seconde{
    margin: 4px 0px;
}
.ais-bg-primary {
    background-color: var(--ais-bg-primary);
}

.ais-fill-primary {
    fill: var(--ais-bg-primary);
}
.ais-bg-notfound {
    background-color: #bd3d44;
}

.ais-bg-warning {
    background-color: #ffc107;
}

.ais-bg-waiting {
    background-color: #007bff;
}

.ais-bg-secondary {
    background-color: #F4F4F4;
}

.text-theme-ais {
    color: var(--ais-font-color) !important;
}

.ais-text-primary {
    color: var(--ais-text-primary) !important;
}

.pace .pace-progress {
    background-color: var(--ais-bg-primary);
}

.switch input:checked + .slider {
    background-color: var(--ais-bg-primary);
}
.switch input:disabled + .slider {
    background: #dddddd;
}
.switch input:checked:disabled + .slider {
    background-color: var(--ais-bg-primary);
    opacity: 0.7;
}
.datatables thead th {
    border: 1px solid #ddd;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    padding: 10px 18px !important;
    text-align:left;

}

/**/









th.sorting_asc:before {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid red;
}

th.sorting_asc:after {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid silver;
}



th.sorting_desc:before {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid red;
}

th.sorting_desc:after {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid red;
}


th.sorting_asc_disabled:before {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid red;
}

th.sorting_desc_disabled {
    background: none !important;
}

th.sorting_desc_disabled:after {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid blue;

}

table.dataTable thead th {
    padding-right: 0 !important;
}

/**/
.datatables thead {
    border-left: 1px solid #ddd;
}

.datatables tbody tr td {
    vertical-align: middle;
}

.datatables {
    border-bottom: 1px solid #ddd !important;
}

a.paginate_button.current {
    background: #F8F8F8 !important;
    border: 1px solid #cccccc !important;
}

a.paginate_button {
    padding: 1px 5px 1px 5px !important;
    background: none !important;
    border-radius: 3px !important;
}

a.paginate_button:hover {
    color: #333 !important;
    background: #F8F8F8 !important;
    border: 1px solid #cccccc !important;
}



/*.paginate_button.current {
    text-decoration: underline !important;
    color: red !important
}*/

.badge-notify {
    background: red;
    position: absolute;
    top: -10px;
    right: -5px;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
}

.nav-link.active {
    background: var(--ais-bg-primary-hover);
    border-radius: 64px;
    box-shadow: 0 0 8px #999
}

.nav-link.hovering {
    background: var(--ais-bg-primary-hover);
  
    border-radius: 190px;
}
.nav-item {
    background: #999999;
 
}
.ais-icon {
    height: 20px;
}

.ais-icon-md {
    height: 22px;
}

.ais-icon-sm {
    height: 11px;
}

.radio-icon {
    font-size: 14px;
}

.radio-icon:hover {
    cursor: pointer;
}

    .radio-icon.active {
        color: #0079CC;
    }

.no-padding .dataTables_wrapper {
    padding: 0;
}

.all-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ais-table thead tr th {
    border: 0 !important;
    border-bottom: 1px solid #CCCCCC !important;
    color: var(--ais-font-color);
}

.ais-table {
    /*    border-radius: 16px !important;*/
    border-bottom: 0 !important;
    overflow: hidden;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}
table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #ffffff;
}

.dataTables_scrollBody thead tr[role="row"] {
    visibility: collapse !important;
}
.ais-table thead tr {
    border: 0 !important;
}

.ais-table thead tr th {
    /*background-image: none !important;*/
   
}

.ais-table tbody tr td {
    border: 0 !important;
    border-bottom: 1px solid #cccccc36 !important;
}

    .ais-table > tbody > tr:nth-child(2n) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
        background-color: #F8F8F8;
    }

.ais-table > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: white;
}

.ais-bg-disabled {
    background: #a2a2a2;
}

.ais-text-disabled {
    color: #969696;
}

.ais-active {
    background: #F0F8E5;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--ais-bg-primary);
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #e9ecef !important;
    cursor: default;
}
.select2{
    width:100% !important
}

.invalid-feedback {
    font-size: 95% !important;
    color: #cc5965;  
    margin-left: 5px;
}

.ais-span-no-data {
   
    background: #ffffff33 !important;
    border: solid 1px #cccccc;
    /* background: black; */
    color: #000 !important;
    border: 2px solid #e5e5e5;
}