.row.parrentlead1 {
    background-color: #f5f5f5;
}

.row.parrentlead0 {
    background-color: white;
}

.row.childleadhead {
    background-color: white;
}

.row.lead1head {
    background-color: white;
    font-weight: bold;
}

.maxsave-modal-content {
    margin-top: 45%;
}

.col-sm.he:before,
.col-sm.he:after {
    border: 4px solid transparent;
    content: "";
    display: block;
    height: 0;
    right: 5px;
    top: 50%;
    position: absolute;
    width: 0;
}

.col-sm.he:before {
    border-bottom-color: #666;
    margin-top: -9px;
}

.col-sm.he:after {
    border-top-color: #666;
    margin-top: 1px;
}

.col-sm.he {
    padding-right: 18px;
    position: relative;
}

#leadTable tr.table-row td {
    text-align: right;
    vertical-align: middle;
}



#leadTable input[type="text"] {
    padding: 3px 0px;
    width: 100% !important;
    float: right;
}

#leadTable th {
    text-align: center;
    background: #dadada;
    border-bottom: 10px solid #fff;
    width: 11.25%;
    /* font-size: 10px;*/
}


#leadTable .radio_filter {
    float: right;
    padding: 0 4px;
    color: #000;
}

#leadTable {
    margin-top: 0 !important;
}

#leadTable span.arrow_top {
    float: left;
}

#leadTable span.arrow_down {
    float: none;
    text-align: center !important;
    margin-right: 10px;
}

/*table#leadTable tr th:nth-child(3) input {
    width:47%;
}
table#leadTable tr th:nth-child(4) input {
    width: 70%;
}
table#leadTable tr th:nth-child(5) input {
    width: 57%;
}*/
table#leadTable tr th:nth-child(2) .sortAble {
    position: absolute;
    margin-right: 8px;
}

table#leadTable tr th:nth-child(1) .sortAble {
    position: absolute;
    margin-right: 8px;
}

table#leadTable tr th input {
    margin-right: 0px;
}

table#leadTable tr td {
    font-size: 12px;
}

table#leadTable tr th select input {
    font-size: 10px;
}

#leadTable .term {
    background: #004f7b;
    color: #fff;
    width: max-content;
    padding: 0 10px;
    border-radius: 20px;
    margin-bottom: 9px;
    float: none;
    margin-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    cursor: pointer;
}

#leadTable .terms {
    position: absolute;
    background: #fff;
    z-index: 9;
    box-shadow: 0 0 3px #004f7b;
    border-radius: 5px;
    margin-top: 22px;
}

#leadTable .terms~div {
    background: #004f7b;
    color: #fff;
    width: max-content;
    padding: 0 35px 0 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    float: none;
    margin-right: 10px;
    margin-top: 10px;
}

#leadTable .terms~div:before {
    content: '\f00d';
    color: #fff;
    position: absolute;
    margin-right: -22px;
    font-family: "FontAwesome";
}

tr.table-row:nth-of-type(odd) td {
    background-color: #f5f5f5 !important;
}

tr.table-row:nth-of-type(even) td {
    background-color: #fff !important;
}

img.cancel_img {
    width: 10px;
}

table#leadTable th:nth-child(1) {
    width: 6%;
}

table#leadTable th:nth-child(2) {
    width: 8%;
    text-align: right;
}

#leadTable .close-terms {
    text-align: right;
}

/*
#leadTable th:nth-child(3) {
    width: 14%;
}
#leadTable th:nth-child(4) {
    width: 13%;
}
#leadTable th:nth-child(5) {
    width: 12%;
}
#leadTable th:nth-child(7) {
    width: 18%;
}*/
#leadTable th:nth-child(8) input[type="text"] {
    width: 40%;
}

#leadTable th:nth-child(3) input[type="text"] {
    width: 40%;
}

@media(max-width: 576px) {
    #leadTable tr.table-row td:first-child {
        font-size: 10px;
    }

    #leadTable {
        margin-top: 0 !important;
        overflow-x: scroll;
        display: block;
    }

    table#leadTable tr th:nth-child(1) .sortAble {
        position: unset;
        margin-right: 8px;
    }

    table#leadTable tr th:nth-child(2) .sortAble {
        position: unset;
        margin-right: 8px;
    }
}

#disapproval_request_modal .modal-body,
#disapproval_response_modal .modal-body {
    padding: 16px;
}

.toolbar_left {
    position: relative;
    display: inline-block;
}

.drop-down {
    position: relative;
    display: inline-block;
}

.drop-down-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
    left: 0;
    height: 550px;
    overflow-y: auto;
}


.drop-down-item.active {
    background: #ffd452;
    border-radius: 0;
    border-bottom: 1px solid #e3e3e3;
    color: #333333;

    white-space: nowrap;
    margin-top: 1px;

}

.drop-down-item {
    color: #333;
    background-color: white;
    border: 0;
    display: block;
    outline: 0;
    width: auto;
    text-align: right;
    cursor: pointer;
    margin-top: 1px;
    padding-right: 10px;
    transition: all ease-in-out 0.15s;

}

.drop-down:hover .drop-down-content {
    display: block;
}

.hide {
    display: none;
}

.leads-toolbar {
    text-align: left;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
}

.leads-toolbar .leads-toolbar-item span {
    font-size: 12px;
    font-weight: bold;
    margin-left: 2px;
}

.leads-toolbar .leads-toolbar-item select {
    width: 75px;
}

.leads-toolbar .leads-toolbar-item {
    margin-left: 5px;
}

.leads-toolbar .leads-toolbar-item span.link {
    text-decoration: underline;
    color: royalblue;
    cursor: pointer;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.states_select {
    width: 56px;
    font-size: 10px;
}

#leadTable input,
select,
option,
textarea {
    font-size: 10px;
}

.table-component button {
    padding: 0.2em 0.5em 0.2em;
}

#leads_csv_export {
    cursor: pointer;
}

input[id^=invoice_] {
    text-align: left;
    direction: ltr;
}

.tiny_login {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.tiny_login p {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.thead {
    /* position: absolute;
    box-shadow: 0 0 2px #331; */
}

.leadTableScrollWrapper {
    overflow-x: auto;
    width: 100%;
}

.leadTableContainer {
    width: 100%;
    position: relative;
}

/* Accessibility toolbar pinned to bottom-left */
#pojo-a11y-toolbar {
    bottom: 20px !important;
    top: auto !important;
}

/* Loading spinner stays under the fixed site header, only over the grid */
.loadingoverlay {
    z-index: 400 !important;
}

.resetCols {
    text-align: center;
    cursor: pointer;
    text-decoration: underline;
    color: blue;
}

.might-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.might-overflow:hover {
    text-overflow: clip;
    white-space: normal;
    word-break: break-all;
}

#leadTable td.lead-message-cell {
    white-space: normal;
    vertical-align: top;
}

/* post_content column – normal width */
#leadTable th[data-key="post_content"],
#leadTable td[data-key="post_content"] {
    min-width: 160px !important;
    max-width: 160px !important;
}

/* post_content column – expanded (×2.5) */
#leadTable.lead-col-wide th[data-key="post_content"],
#leadTable.lead-col-wide td[data-key="post_content"] {
    min-width: 400px !important;
    max-width: 400px !important;
    width: 400px !important;
}

#leadTable .lead-message-content {
    max-height: 4.2em;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.5;
    font-size: 13px;
    white-space: pre-line;
}

#leadTable .lead-message-content.is-overflowing {
    cursor: pointer;
}

#leadTable .lead-message-content.is-expanded {
    max-height: none;
    overflow: visible;
}

#leadTable .toggle-lead-message {
    display: inline-block;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2271b1;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

#leadTable .toggle-lead-message:hover {
    color: #135e96;
}

/* Multi-toggle button in th header */
#toggle-all-lead-messages {
    display: block;
    margin-top: 5px;
    padding: 2px 8px;
    border: 1px solid #2271b1;
    border-radius: 3px;
    background: transparent;
    color: #2271b1;
    font-size: 11px;
    font-weight: normal;
    cursor: pointer;
    white-space: nowrap;
}
#toggle-all-lead-messages:hover {
    background: #2271b1;
    color: #fff;
}

.leads_search_main {
    background: #35a62d;
    border: none;
    height: 28px;
    width: 50px;
    border-radius: 3px 0 0 3px;
    font-weight: 600;
    font-size: 14px;
    padding: 7px 7px;
    color: #ffffff;
    text-align: center;
}