table.dataTable {
    border-collapse: collapse;
}

.table-responsive {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

table.dataTable a {
    color: var(--bgPrimary);
    font-size: var(--xSmall);
}

table.dataTable thead th {
    color: var(--bgDarkGrey-1);
    font-size: var(--xxxsmall);
    font-weight: var(--semiBold);
    padding: 16px 10px;
    border-bottom: 1px solid var(--bgLightGrey-30);
}

table.dataTable thead th:first-child,
table.dataTable tbody td:first-child {
    padding-left: 24px;
}

table.dataTable tbody td {
    padding: 16px 10px;
    font-size: var(--xxxsmall);
    color: var(--bgLightGrey-10);
    font-weight: var(--semiBold);
}
table.dataTable tbody td.live{
    color: var(--bgSuccess);
}
table.dataTable tbody td.draft{
    color: var(--bgError);

}
table.dataTable tbody td.active {
    color: var(--bgSuccess);
}

table.dataTable tbody td.error {
    color: var(--bgError);
}

table.dataTable tbody tr {
    border-bottom: 1px solid var(--bgLightGrey-30);
    background-color: transparent;
    border-left: 5px solid transparent;
    transition: var(--transition);
}

table.dataTable tbody tr.active {
    background-color: var(--bgPrimaryLight-1);
}

table.dataTable tbody tr:hover {
    /* border-left: 5px solid var(--bgMain); */
    border-left: 5px solid var(--bgPrimary);
}

table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td {
    border-top: 1px solid var(--bgLightGrey-30);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: var(--bgLightGrey-10);
    font-weight: var(--semiBold);
    font-size: var(--small);
}


.dataTables_wrapper .dataTables_paginate {
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 24px;
    display: flex;
    align-items: center;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 3em;
    padding-bottom: 1em;
    padding-left: 24px;
    display: flex;
    align-items: center;
}

.dataTables_wrapper .dataTables_paginate span .paginate_button.current,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:hover {
    /* background-color: var(--bgMain); */
    background-color: var(--bgPrimary);
    box-shadow: none;
    border-radius: 50rem;
    color: white !important;
    font-weight: var(--semiBold);
    font-size: var(--small);
    border: 0;
}

.dataTables_wrapper .dataTables_paginate span .paginate_button {
    background-color: white;
    box-shadow: none;
    border-radius: 50rem;
    color: var(--bgMain) !important;
    font-weight: var(--semiBold);
    font-size: var(--small);
    border: 1px solid var(--bgLightGrey-10);
    margin: 0 5px;
    width: 40px;
    height: 40px;
    line-height: 25px;

}

.dataTables_wrapper .dataTables_paginate span .paginate_button:hover {
    background-color: var(--bgMain);

}

.dataTables_length label,
.dataTables_filter label {
    color: var(--bgLightGrey-10);
    padding-left: 24px;
}

table.dataTable.stripe>tbody>tr.odd>*,
table.dataTable.display>tbody>tr.odd>* {
    box-shadow: none;
}

table.dataTable.display>tbody>tr.odd>.sorting_1,
table.dataTable.order-column.stripe>tbody>tr.odd>.sorting_1 {
    box-shadow: none;
}

table.dataTable.display>tbody>tr.even>.sorting_1,
table.dataTable.order-column.stripe>tbody>tr.even>.sorting_1 {
    box-shadow: none;
}

table .action {
    width: 14px;
    height:auto;
}

.action {
    width: 14px;
    height: auto;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 10px;
    padding: 5px;
    background-color: transparent;
    margin-left: 3px;
    height: 25px;
    font-size: var(--small);
    border: 1px solid var(--bgLightGrey-10);
}

.dataTables_wrapper .dataTables_length select {
    height: 35px;
    font-size: var(--small);
    border: 1px solid var(--bgLightGrey-10);
    border-radius: 10px;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    background-color: var(--bgMain);
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before {
    content: "-";
    background-color: var(--bgError);
}

div.dtsp-columns-2,
div.dtsp-columns-3,
div.dtsp-columns-4,
div.dtsp-columns-1 {
    max-width: 24%;
    min-width: 24%;
    margin-bottom: 13px !important;
}

div.dtsp-topRow div.dtsp-subRow1 input {
    padding-right: 0;
    font-size: var(--small);
    color: var(--bgDarkGrey-1);
}

div.dtsp-topRow div.dtsp-subRow1 input::placeholder,
.dateFilter input.form-control::placeholder {
    color: var(--bgLightGrey-30);
    font-size: var(--xxSmall);
}

 .dataTables_wrapper .dataTables_filter {
  /* display: none; */
} 

div.dtsp-topRow.dtsp-bordered {
    border-radius: 10px;
    border: 1px solid var(--bgLightGrey-20);
}

div.dtsp-topRow.dtsp-bordered:hover {
    background-color: white;
    opacity: 1;
    border: 1px solid var(--bgLightGrey-20);
    border-radius: 10px;
    cursor: pointer !important;
}

div.dtsp-topRow {
    border: 1px solid var(--bgLightGrey-20);
    border-radius: 10px;
}

div.dtsp-narrow div.dtsp-subRow1,
div.dtsp-narrow div.dtsp-subRow2 {
    width: auto;
}

div.dtsp-narrow {
    flex-direction: row !important;
}

div.dtsp-topRow div.dtsp-subRow1 button.dtsp-searchIcon {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/filter-search.svg) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px !important;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    color: transparent;
    opacity: 1;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane input.dtsp-paneInputButton,
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton {
    height: 35px;
    /* height: 43px; */
    padding-left: 9px !important;
    background-color: white;
    border-radius: 0px;
    margin: 0;
    border-radius: 14px;
}
div.dtsp-topRow{background:#fff}
div.dtsp-panesContainer{margin-bottom: 0.5em;}

.logsWrapper table.dataTable td.dt-control {
    text-align: left;
}

.logsWrapper table.dataTable td.dt-control:before {
    background-color: var(--bgMain);
}

#custom-searchPanes {
    background-color: transparent;
    padding: 0 !important;
    display: none;
}

#custom-searchPanes input.form-control {
    border: 1px solid var(--bgLightGrey-20) !important;
    height: 37px;

}

#custom-searchPanes input.form-control::placeholder {
    color: var(--bgLightGrey-30);
}

div.dtsp-panesContainer div.dtsp-searchPanes {
    justify-content: unset;
    row-gap: 0;
    column-gap: 13px;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.clearButton {
    background-image: url(../img/filter-close.svg);

}

div.dtsp-topRow button.dtsp-collapseButton.dtsp-rotated {
    background-image: url(../img/filter-dropdown.svg);
    transform: rotate(0deg);

}

div.dtsp-topRow button.dtsp-collapseButton {
    transform: rotate(180deg);
    background-image: url(../img/filter-dropdown.svg);

}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane input.dtsp-paneInputButton:hover,
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton:hover {
    background-color: #fff;
    border-radius: 10px;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper:hover {
    border: 1px solid var(--bgLightGrey-20);
    border-radius: 0;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper {
    border: 1px solid var(--bgLightGrey-20);
    border-radius: 0;

}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane {
    margin-top: 0 !important;
}

.dateFilter {
    /* width: 50%; */
    display: flex;
    /* align-items: center; */
    gap: 13px;
    margin-bottom: 1em;
}

/* .dateFilter div {
    display: flex;
    gap: 13px;
} */

/* .dateFilter td {
    padding: 0;
} */

.dateFilter input {
    border: 1px solid var(--bgLightGrey-20);
    border-radius: 10px;
    background-image: url(../img/calender.svg);
    background-repeat: no-repeat;
    background-position: 93%;
    background-size: 12px 15px;
    min-width: 24%;
    max-width: 24%;
    height: 35px !important;
}

div.dt-datetime {
    position: absolute;
    background-color: white;
    z-index: 2050;
    border: 1px solid var(--bgLightGrey-20);
    box-shadow: 0 5px 15px -5px rgb(0 0 0 / 50%);
    padding: 0 6px 6px 6px;
    width: 250px;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
    display: flex;
    gap: 14px;
}

table.dataTable>tbody>tr.child ul.dtr-details {

    width: 100%;
}

div.dtsp-panesContainer div.dtsp-title {
    color: var(--bgMain);
    font-weight: var(--semiBold);
    font-size: var(--small);
}

div.dtsp-panesContainer button.dtsp-clearAll,
div.dtsp-panesContainer button.dtsp-collapseAll,
div.dtsp-panesContainer button.dtsp-showAll {
    color: var(--bgMain);
    font-weight: var(--semiBold);
    font-size: var(--xxSmall);
    text-decoration: underline;

}

div.dtsp-panesContainer button.dtsp-clearAll:hover,
div.dtsp-panesContainer button.dtsp-collapseAll:hover,
div.dtsp-panesContainer button.dtsp-showAll:hover {
    background-color: transparent;
}

.dtsp-panesContainer,
.dateFilter {
    background-color: var(--bgPrimaryLight-1);
    padding:5px 24px !important;
    /* padding-left: 24px !important; */
}

div.dataTables_scrollBody {
    position: absolute !important;
    overflow: auto;
    max-height: 200px;
    height: 200px;
    width: 100%;
    z-index: 99;
    border: 1px solid var(--bgLightGrey-20);
}
table.dataTable td.dt-control:before{
    background-color: var(--bgPrimary);
}
div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody {
    border-bottom: inset;
}

div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-name {
    white-space: normal;
}

/* .dataTables_wrapper .dataTables_paginate .paginate_button.previous {
 background-image: url(../img/table-prev.svg);
} */
/* .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: var(--bgMain) !important;
    border: 1px solid transparent;
    font-size: 33px;
} */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    cursor: pointer;
    color: var(--bgMain) !important;
    border: 1px solid transparent;
    font-size: 33px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: var(--bgLightGrey-20) !important;
}

/* Event Table */

.evntTableWrapper {
    min-width: 200px;
    /* width: 750px; */
    overflow-x: scroll;
    margin-left: 12em;
    overflow-y: auto;
}
.evntViewWrapper {
    width: 370px;
    margin-left: 12.5em;
    margin-bottom: 10px;
}

/* Chrome, Edge, and Safari */

.evntTableWrapper::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.evntTableWrapper::-webkit-scrollbar-track {
    background: #ffffff;
}

.evntTableWrapper::-webkit-scrollbar-thumb {
    background-color: var(--bgLightGrey-10);
    border-radius: 10px;
    border: 3px solid #ffffff;
}

.eventTable {
    border-collapse: separate;
    color: var(--bgDarkGrey-1);
    font-family: var(--montserrat);
    border-spacing: 10px;
     /* min-width: 750px; */
     min-width: 230px;
    padding-bottom: 25px;
}
.evntViewWrapper .eventTable{
    border-spacing: 5px;
    font-weight: var(--bold);
    /* width: 560px; */
}
.eventTable .ui.popup{
    inset: 40px 0px auto 0px !important;
}
table.eventTable td, th {
    margin:0;
    padding: 10px;
    text-align: center;
}
table.eventTable tr.head td:nth-child(n+2){
    border: 1px solid #ddd;
    background-color: var(--bgPrimaryLight-2);
    position: relative;
    height: 90px;
    min-width: 175px;
}
table.eventTable tr.head td:nth-child(n+2) .rmvBox
{
    position: absolute;
    right: 5px;
    top: 5px;
}

table.eventTable th.first{
    height: 94px;
    border: none;
}
table.eventTable th{
    border: 1px solid #ddd;
}
table.eventTable td{
    border: 1px solid var(--bgPrimaryLight-2);
    height: 89px;
  
}
table.eventTable tr {

    font-size: var(--xxSmall);
}
.eventTable .headcol {
    position:absolute; 
    width:13.5em; 
    left: 20px;;
    top:auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 89px;

}
.evntViewWrapper .eventTable .headcol {
    /* height: auto; */
    width:15em; 
}
.evntViewWrapper .eventTable .long p:first-child{
    color: var(--bgDarkGrey-1);
    font-weight: var(--bold);
}
.evntViewWrapper .eventTable .long p:last-child{
    color: var(--bgHoverBlue);
    font-weight: var(--bold);
}
table.eventTable .ui.celled.table tr td,
.ui.celled.table tr th {
    background-color: transparent;
    border: 1px solid rgba(34, 36, 38, .1);
}

/* .eventTable .long { background:yellow; letter-spacing:1em; } */
/* 
table.eventTable {
    border: none;
    border-collapse: separate;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    color: var(--bgDarkGrey-1);
    font-family: var(--montserrat);
    border-spacing: 10px;

}

table.eventTable tr {
    border: 1px solid #ddd;
    padding: .35em;
    font-size: var(--xxSmall);
}

table.eventTable th {
    padding: .625em;
    text-align: center;
    vertical-align: middle;
    border-bottom-width: 0;
}

table.eventTable tbody.eventBody tr td {
    padding: .625em;
    text-align: center;
    vertical-align: middle;
}

table.eventTable tbody.eventBody tr td:first-child {
    font-weight: var(--semiBold);
    border: 1px solid var(--bgLightGrey-10);
    position: absolute;
    width: 13em;
    left: 0;
    top: auto;
    height: 85px;
    

}



table.eventTable tbody.eventBody tr td:not(:first-child) {
    border: 1px solid var(--bgPrimaryLight-2);
}

table.eventTable thead th:not(:first-child) {
    background-color: var(--bgPrimaryLight-2);

} */