/* tables */
.table {
    width: 100%;
    font-size: 14px;
    table-layout: fixed;
}

.table th {
    padding: 5px 10px;
    background-color: #fff;
    color: #585858;
    border-bottom: 1px solid #d9d9d9;
    font-weight: bold;
    word-wrap: normal;
    border-top: none;
    border-left: none;
    border-right: none;
}

.table tfoot td {
    padding: 5px 10px;
    background-color: #fff;
    color: #1a1a1a;
    font-weight: bold;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

thead.with-bg th {
    background-color: rgba(26, 26, 26, 0.1);
}


.table.report thead tr td {
    padding: 5px 10px;
    background-color: #fff;
    color: #000;
    /*border-bottom: 2px solid #000;*/
    font-weight: 700;
}

.table.report tr.clickable {
    cursor: pointer;
}

.table.report tr.clickable:hover {
    background-color: #ececec;
}

.table.report .details {
    background-color: #ececec;
}

.table tr {
    border-bottom: 1px solid #d9d9d9;
}

.table tr.clickable:hover {
    cursor: pointer;
}

.table tr.clickable.active {
    background-color: #ececec;
}

.table td {
    padding: 15px 10px;
    color: #000;
    vertical-align: middle;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.table td.with-overflow {
    text-overflow: unset;
    overflow: visible;
}

.table td.with-vertical-overflow {
    text-overflow: unset;
    overflow-y: visible;
    overflow-x: hidden;
}

.table td.scrollable {
    text-overflow: unset;
    overflow: auto;
}

.table td.wrap {
    white-space: pre-line;
    overflow: visible;
    word-wrap: break-word;
}

.table.with-actions td {
    padding: 5px 10px;
}

.table.with-line-items td {
    padding: 5px 10px;
}

.table tr.bottomline {
    /*border-top: 2px solid #000;*/
}

.bottomline td {
    border-bottom: none;
}

.table th:first-child {
    padding-left: 20px;
    text-align: left;
}

.table td:first-child {
    padding-left: 20px;
    text-align: left;
}

.table th:last-child {
    padding-right: 20px;
    text-align: right;
}

.table td:last-child {
    padding-right: 20px;
    text-align: right;
}

.table tr:hover {
    background-color: rgba(26, 26, 26, 0.04);
}

.table.no-row-highlight tr:hover {
    background-color: initial;
}

/* REPORT TABLE */

.table.report-table th {
    color: #1a1a1a;
    padding: 5px 10px;
    border-bottom: 3px double #d9d9d9;
}

.table.report-table tbody tr:last-child {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 3px double #d9d9d9;
    ;
}

.table.report-table td {
    padding: 5px 10px;
    color: #000;
    vertical-align: middle;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.table.report-table th:last-child {
    padding-right: 20px;
    text-align: left;
}

.table.report-table td:last-child {
    padding-right: 20px;
    text-align: left;
}

/* PIVOT TABLE*/

.table.pivot {
    table-layout: auto;
}

.table.pivot td {
    padding: 5px 10px;
    color: #000;
    vertical-align: middle;
    text-align: center;
    word-break: keep-all;
    border: 1px solid #d9d9d9;
}

.table.pivot td.total {
    background-color: #fafafa;
    color: rgba(26, 26, 26, 0.5);
}

.table.pivot th {
    text-align: center;
}

.table.pivot td:first-child {
    text-align: center;
}

.table.pivot td:last-child {
    text-align: center;
}

.fixed-table-header-left {
    position: absolute;
    left: 20px;
    width: 175px;
}

.fixed-table-header-left .table.pivot td {
    text-align: left;
    padding: 5px 0px;
    background-color: #fff;
    color: #585858;
    border-bottom: 1px solid #d9d9d9;
    font-weight: bold;
    overflow: visible !important;
}

.pivot-container {
    margin-left: 175px;
    overflow-x: auto;
    padding-right: 1px;
}

.segment-container {
    display: flex;
}

.segment-container div:not(:first-child) {
    margin-right: 5px !important;
}

/* REPORT TABLES */
.table.report-tables th:last-child {

    text-align: left;
}

.table.report-tables td:last-child {

    text-align: left;
}

@-moz-document url-prefix() {
    .MuiTable-root {
        border-spacing: 0 !important;
        border-collapse: inherit !important;
    }
}

@supports (-moz-appearance:none) {
    .MuiTable-root {
        border-spacing: 0 !important;
        border-collapse: inherit !important;
    }
}

.rc-table-content {
    border: none !important;
}

.rc-table td {
    border-color: rgba(224, 224, 224, 1) !important;
}

.rc-table-footer {
    border: none !important;
}

.rc-table-measure-row {
    display: none !important;
}


/* CUSTOMIZATIONS */

table.fr-hidden-borders td,
table.fr-hidden-borders th {
    border: none;
}

.fr-qi-helper .fr-btn {
    color: #1e88e5 !important;
}

.fr-box.fr-basic .fr-element {
    min-height: auto !important;
}

.fr-qi-helper a.fr-btn.fr-floating-btn i {
    font-family: 'FontAwesome' !important;
    color: #1e88e5 !important;
}

/* COLOR PICKER */

.rc-color-picker-panel-params-input input {
    font-size: 13px !important;

}

.rc-color-picker-panel-params-hex {
    width: 52px !important;
}


#email-toolbar-fe>div,
#fe-toolbar>div {
    border-left: none;
    border-right: none;
    box-shadow: none;
}

.block .pscore-froala-editor {
    min-height: 0px;
}

.pscore-froala-editor ul,
.document-preview-block ul {
    list-style-type: disc !important;
    padding-left: 1em !important;
    list-style-position: outside !important;
}

.pscore-froala-editor ol,
.document-preview-block ol {
    list-style-type: decimal !important;
    padding-left: 1em !important;
    list-style-position: outside !important;
}

.pscore-froala-editor ul ul,
ol ul,
.document-preview-block ul ul,
ol ul {
    list-style-type: circle !important;
    padding-left: 1em !important;
    list-style-position: outside !important;
    margin-left: 15px !important;
}

.pscore-froala-editor ol ol,
ul ol,
.document-preview-block ol ol,
ul ol {
    list-style-type: lower-latin !important;
    padding-left: 1em !important;
    list-style-position: outside !important;
    margin-left: 15px !important;
}

.pscore-froala-editor em {
    font-style: italic;
}

.fr-popup.fr-desktop {
    z-index: 9000 !important;
}

.fr-popup .fr-input-line {
    position: relative;
    padding: 12px 0px;
}

.overflow-auto {
    overflow: auto;
}


.fr-second-toolbar {
    display: none !important;
}

.fr-box.fr-basic .fr-wrapper {
    border: none;
}

.fr-toolbar .fr-btn-grp {
    margin: 0
}

.fr-box.fr-basic .fr-element {
    font-family: inherit !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    padding: 0 !important;
    box-sizing: content-box !important;
    min-height: auto !important;
    text-align: inherit !important;
    overflow-x: visible !important;
}

.froala-block,
.froala-block .fr-box.fr-basic,
.froala-block .fr-wrapper,
.froala-block .fr-element {
    min-height: var(--froala-min-height, 35px);
    padding: 0;
    box-sizing: border-box;
}

.froala-block .fr-element {
    line-height: inherit;
    font-size: inherit;
}