@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,700&display=swap');

#wpcontent {
    padding-left: 15px;
    padding-right: 15px;
}

#wpbody-content > .container-fluid,
#wpbody-content > .col-xs-12 {
    padding-left: 0px;
    padding-right: 0px;
}

div.post-body-content {
    margin-left: -10px;
}

/* Trying to unify page headers */
#wpbody-content > h1,
#wpbody-content > h2,
#wpbody-content > h3,
#wpbody-content > .wrap > h2,
hgroup h1,
hgroup h2 {
    color: #555;
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    font-size: 36px;
    font-weight: 500 !important;
    text-align: center !important;
    text-shadow: none !important;
}

#post-body-content > div > div.element-wrapper {
    margin-left: -7px !important;
    margin-right: -7px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.element-wrapper > div {
    padding-left: 7px !important;
    padding-right: 7px !important;
}

table.table {
    width: 100%;
}

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

.hyphens {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.DTTT_container.ui-buttonset {
    margin-right: 13px;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .post-php .modal-lg {
        width: 700px;
    }
}

@media (min-width: 1224px) {
    .post-php .modal-lg {
        width: 900px;
    }
}

.modal.modal-wide .modal-dialog {
    width: 90%;
}

.modal-wide .modal-body {
    overflow-y: auto;
}

.modal-backdrop {
    display: none;
}

.contact_page_mass_edit_contacts .form-label h4{
    display: none;
}

body {
    background-color: #F1F1F1 !important;
}

.table-striped-4 tr:nth-child(4n-3), .table-striped-4 tr:nth-child(4n-2) {
    background-color: #F8F8F8;
}
.table-striped-4 tr:nth-child(4n-2), .table-striped-4 tr:nth-child(4n) {
    border-top: 1px solid #E0E0E0;
}
.table-striped-4 td {
    border-top: 0px !important;
}

.table-striped-2 {
    border: 0px solid #000000 !important;
}
.table-striped-2 tr:nth-child(2n) {
    background-color: #F8F8F8;
}
.table-striped-2 tr:nth-child(2n-1) {
    background-color: #FFFFFF;
}

.detail-table {
    width: 470px;
}
.box-shadow {
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.27);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.27);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.27);
    transition-property: box-shadow;
    transition-duration: 300ms;
}
.box-shadow:hover {
    -webkit-box-shadow: 0px 3px 6px 2px rgba(0,0,0,0.27);
    -moz-box-shadow: 0px 3px 6px 2px rgba(0,0,0,0.27);
    box-shadow: 0px 3px 6px 2px rgba(0,0,0,0.27);
}
.detail-table tr {
    border: 0px solid #000000 !important;
    border-bottom: 1px solid #E0E0E0 !important;
}

.status-red {
    background: #e03030; /* Old browsers */
    background: -moz-linear-gradient(top, #e03030 0%, #962121 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #e03030 0%,#962121 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #e03030 0%,#962121 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e03030', endColorstr='#962121',GradientType=0 ); /* IE6-9 */
    color: #FFFFFF;
}
.status-blue {
    background: #2a4fb0; /* Old browsers */
    background: -moz-linear-gradient(top, #2a4fb0 0%, #172d63 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #2a4fb0 0%,#172d63 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #2a4fb0 0%,#172d63 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a4fb0', endColorstr='#172d63',GradientType=0 ); /* IE6-9 */
    color: #FFFFFF;
}
.status-green {
    background: #40b040; /* Old browsers */
    background: -moz-linear-gradient(top, #40b040 0%, #328932 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #40b040 0%,#328932 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #40b040 0%,#328932 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40b040', endColorstr='#328932',GradientType=0 ); /* IE6-9 */
    color: #FFFFFF;
}
.status-yellow {
    background: #ffd045; /* Old browsers */
    background: -moz-linear-gradient(top, #ffd045 0%, #eabd41 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffd045 0%,#eabd41 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffd045 0%,#eabd41 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd045', endColorstr='#eabd41',GradientType=0 ); /* IE6-9 */
    color: #000000;
}
.status-purple {
    background: #803b94; /* Old browsers */
    background: -moz-linear-gradient(top, #803b94 0%, #4b2359 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #803b94 0%,#4b2359 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #803b94 0%,#4b2359 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#803b94', endColorstr='#4b2359',GradientType=0 ); /* IE6-9 */
    color: #FFFFFF;
}
.status-purple a, .status-green a, .status-blue a, .status-red a {
    color: #FFFFFF;
}
.status-yellow a {
    color: #000000;
}
.status-none {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f0f0f0 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f0f0f0 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#f0f0f0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0f0f0',GradientType=0 ); /* IE6-9 */
    color: #000000;
}
.status-red, .status-blue, .status-green, .status-yellow, .status-purple, .status-none {
    text-align: center;
    vertical-align: middle;
}

.detail-cell {
    padding: 0px !important;
}

.detail-dropdown {
    display: none;
    padding: 10px;
    padding-bottom: 20px;
}

.inline-block {
    display: inline-block;
    vertical-align: top !important;
}

.shadow-inset {
    border-collapse: separate;
    -webkit-box-shadow: inset 0px -10px 13px -12px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px -10px 13px -12px rgba(0,0,0,1);
    box-shadow: inset 0px -10px 13px -12px rgba(0,0,0,1);
}

.button-2 {
    background: #efefef; /* Old browsers */
    background: -moz-linear-gradient(top, #efefef 0%, #c6c6c6 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #efefef 0%,#c6c6c6 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #efefef 0%,#c6c6c6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#c6c6c6',GradientType=0 ); /* IE6-9 */
}

.link-2 {
    text-decoration: underline !important;
    text-decoration-color: #0080FF !important;
}

.link-2:hover {
    color: #0030FF;
}

.heading-text {
    font-weight: bold;
    font-size: 14px;
}

.pad {padding: 10px !important;}
.padding-5 {padding: 5px !important;}
.pad-left-10 {padding-left: 10px;}
.pad-left-20 {padding-left: 20px;}
.pad-bottom-5 {padding-bottom: 5px;}
.pad-bottom-10 {padding-bottom: 10px;}
.pad-bottom-15 {padding-bottom: 15px;}
.pad-right-10 {padding-right: 10px;}
.pad-right-20 {padding-right: 20px;}
.margin-bottom-5 {margin-bottom: 5px !important;}
.margin-bottom-10 {margin-bottom: 10px;}
.margin-bottom-15 {margin-bottom: 15px;}
.margin-bottom-20 {margin-bottom: 20px;}
.background-white {background-color: #FFFFFF;}
.cursor-pointer {cursor: pointer;}
.hidden {display: none;}
.table-2 tr, .table-2 td {cursor: default !important;}
.align-right {text-align: right;}
.align-left {text-align: left;}
.no-padding {padding: 0px !important;}
.hidden {display: hidden;}
.flex {display: flex;}
.space-between {justify-content: space-between;}
.flex-align-center {align-items: center;}

/*.panel {
    padding: 0px !important;
}*/

/* DataTables Styles */
.dataTable thead td,
.dataTable thead th {
    background-color: #E6E6E6 !important;
    background-image: none !important;
    font-weight: bold !important;
}

.DataTables_sort_icon {
    float: left;
}

.dataTables_processing {
    -webkit-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 8px 15px 0px rgba(0,0,0,0.75);
    color: #000000 !important;
    height: 36px !important;
    padding: 10px !important;
}

/* Panel Title Styles */
.grid-2-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.flex-align-center {
    align-items: center;
}

.flex-align-end {
    align-items: flex-end;
    display: flex;
}

.flex-justify-start {
    display: flex;
    justify-content: flex-start;
}
.flex-justify-center {
    display: flex;
    justify-content: center;
}
.flex-justify-end {
    display: flex;
    justify-content: flex-end;
}


#update-nag,
.update-nag,
#wpfooter {
    display: none;
}

.dataTables_wrapper th,
.datatables_wrapper td {
    min-width: 10px;
}

.dataTables_wrapper .filter-columns {
    clear: both;
    float: none;
    width: 100% !important;
}

.dataTables_wrapper .dataTable {
    width: 100% !important;
}

table.filter-columns {
    width: 100% !important;
}

.dataTables_wrapper .filter-columns select.column-filter {
    background-color: #FFFFFF !important;
    color: #505050 !important;
}

.remaining-input,
/* AR/Line Item screen - Base Price textbox */
input#Base_Price.form-control.input-md.max-width.price-display-vue {
    text-align: right;
}

/* Add $ in front of datatable currency fields */
.dataTable td.text-right.item_cost::before,
.dataTable td.text-right.flat::before,
.dataTable td.text-right.commission_paid::before,
.dataTable td.text-right.total::before,
.dataTable td.text-right.paid::before,
.dataTable td.text-right.remaining::before,
.dataTable td.text-right.payment_amount::before,
.dataTable td.text-right.Base_Price::before {
    content: "$";
}

/* Hide postboxes when editing our custom post types */
.post-type-ar_invoice .postbox-container,
.post-type-ar_payment .postbox-container,
.post-type-bundle .postbox-container,
.post-type-case .postbox-container,
.post-type-contact .postbox-container,
.post-type-cremation .postbox-container,
.post-type-funeral_home .postbox-container,
.post-type-grave .postbox-container,
.post-type-line_item .postbox-container,
.post-type-marker .postbox-container,
.post-type-obstruction .postbox-container,
.post-type-owner .postbox-container,
.post-type-reminder .postbox-container,
.post-type-tax_code .postbox-container,
.post-type-account_code .postbox-container,
.post-type-trust .postbox-container,
.post-type-vendor .postbox-container,
.post-type-policy .postbox-container,
.post-type-place .postbox-container,
.post-type-event .postbox-container,
.post-type-work_order .postbox-container,
.post-type-candle_location .postbox-container,
.post-type-discount .postbox-container,
.post-type-mausoleum .postbox-container,
.post-type-placement .postbox-container,
.post-type-vendor_portal .postbox-container,
.post-type-reconciliation .postbox-container {
    display: none;
}

/* Hide Wordpress Notices */
.dashboard_page_global_rolodex_search .notice,
.post-type-ar_invoice .notice,
.post-type-ar_payment .notice,
.post-type-bundle .notice,
.post-type-contact .notice,
.post-type-cremation .notice,
.post-type-funeral_home .notice,
.post-type-grave .notice,
.post-type-line_item .notice,
.post-type-marker .notice,
.post-type-reminder .notice,
.post-type-obstruction .notice,
.post-type-owner .notice,
.post-type-tax_code .notice,
.post-type-account_code .notice,
.post-type-transfer .notice,
.post-type-trust .notice,
.post-type-vendor .notice,
.post-type-work_order .notice,
.post-type-mausoleum .notice,
.post-type-placement .notice,
.post-type-reconciliation .notice,
.reports_page_burials_by_counsellor .notice,
.reports_page_burials_by_funeral_home .notice,
.reports_page_burials_report .notice,
.reports_page_closed_invoices .notice,
.reports_page_credit_card_errors .notice,
.reports_page_credit_card_expiration .notice,
.reports_page_customer_credit_history .notice,
.reports_page_estimate_summary .notice,
.reports_page_item_disbursements_report .notice,
.reports_page_item_revenue .notice,
.reports_page_item_usage_report .notice,
.reports_page_monthly_billing_report .notice,
.reports_page_notes .notice,
.reports_page_recurring_billing .notice,
.reports_page_trust_revenue_details .notice,
.reports_page_trust_revenue_summary .notice,
.reports_page_unpaid_finance_charges .notice,
.reports_page_unpaid_historical_property .notice,
.reports_page_work_order_report .notice,
.sales_page_contacts_uploader .notice,
.sales_page_customers .notice,
.sales_page_golden_layout_sales .notice,
.sales_page_leads .notice,
.sales_page_pipeline_summary .notice,
.sales_page_prospects .notice,
.toplevel_page_reports .notice,
.toplevel_page_sales .notice,
.cemetery-options_page_cem_plotting_lot_section .notice,
/* foo gallery notices */
div.fs-notice.promotion,
div.fs-notice.success,
div.fs-notice.updated
 {
    display: none !important;
}


/* table-css for cases search */
#post_type_case {
    /*border-collapse: separate;
    border-spacing: 0px 20px;*/
    background: #E6E6FA;
}

#post_type_case tbody tr {
    cursor: default !important;
}

#post_type_case tbody tr td {
    line-height: 32px;
    padding: 10px 5px;
    border: none;
}

#post_type_case tbody tr.alert td a {
    text-decoration: underline !important;
    cursor: pointer !important;
}

#post_type_case tbody tr.alert-info td a {
    color: #31708f !important;
}

#post_type_case tbody tr.alert-danger td a {
    color: rgb(135, 82, 16) !important;
}

#post_type_case tbody tr.alert-success td a {
    color: #3c763d !important;
}

#post_type_case tbody tr {
    line-height: 32px;
    padding: 10px 5px;
    border: none;
    border-top: 10px solid white;
}


#post_type_case .column-Case_Status {
    font-weight: bold;
}

/* Responsive Tables */
/* This used to be set to 768px but the input on the public search screen break and become unusable at 800px */
@media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    .cem-responsive-table table,
    .cem-responsive-table thead,
    .cem-responsive-table tbody,
    .cem-responsive-table th,
    .cem-responsive-table td,
    .cem-responsive-table tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .cem-responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .cem-responsive-table tr {
        border: 1px solid #ccc;
    }

    .cem-responsive-table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;
    }

    .cem-responsive-table td:before {
        /* Now like a table header */
        /*position: absolute;*/
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    /*
    Additional CSS for the "Card" format of mobile tables
     */
    .cem-responsive-table-cards table {
        border:none !important;
    }

    .cem-responsive-table-cards tr {
        border: none;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        margin-bottom:20px;
        margin-top:20px;
        box-shadow: 3px 6px;
    }

    /*
    Label the data
    */
    .cem-responsive-table td:before { content: attr(data-label) ":"; }

    /*
    Datatables Changes
    */

    .cem-responsive-table .filter-columns {
        display: none;
    }

    .cem-responsive-table .filter-columns td {
        width: 100% !important;
    }

    .cem-responsive-table .filter-columns td:before {
        color: #666666 !important;
    }

    .cem-responsive-table #export-button-container {
        display: none !important;
    }

    .cem-responsive-table .dataTables_length {
        display: none;
    }

    .cem-responsive-table .top {
        clear: both;
    }

    .cem-responsive-table .top > div {
        width: auto !important;
    }

    .cem-responsive-table #date_range_fields > div {
        width: 115px !important;
    }

    .cem-responsive-table .dataTable {
        background-color: #E8E8EB;
        margin-bottom:10px;
        margin-top:10px;
    }

    /*
    Changes to various tables through software
     */
    .cem-responsive-table .activity-table tbody td.ts {
        text-align: left;
    }
}

.notice.wpsms-message {
    display: none;
}
