/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the
 * later versions of this theme.
 *
 * We advise that you use use this CSS to override
 * SmartAdmin styles.
 *
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 *
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */
html, body
{
    background-color:white;
}

h2
{
    margin: 0px;
}

.row{
    margin-left: 0;
    margin-right: 0;
}

.loadWrapper{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.mail:hover{
    cursor:pointer;
}

.jarviswidget-refresh-btn{

}

.modal{
    overflow:auto;
}

body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom
{
    margin-right: 0px;
}

body.modal-open { overflow-y: visible; }

html { overflow-y:auto; }

.insideWidget{
    margin-left:10px;
    display: inline-block;
    font-weight: 400;
    height: 100%;
    letter-spacing: 0;
    line-height: 25px;
    position: relative;
    width: 100%;
    font-family: "Open Sans",Arial,Helvetica,sans-serif;
    font-size: 14px;
}

.widget-header-heading{
    margin-left:10px;
    display: inline-block;
    font-weight: 400;
    height: 100%;
    letter-spacing: 0;
    line-height: 34px;
    position: relative;
    width: auto;
    font-family: "Open Sans",Arial,Helvetica,sans-serif;
}

.ui-datepicker{ z-index: 9999 !important;}

.topbuttonbar{
    margin-top: 12px;
}
.form-control[readonly=""], .form-control[readonly="readonly"],.form-control[readonly="true"], .autocomplete[readonly]  {
    background-color: #eeeeee !important;
    cursor: not-allowed;
}

.form-control[disabled="disabled"]  {
    background-color: #eeeeee !important;
    cursor: not-allowed;
}

.custom-header {
    margin-left:12px !important;
    margin-bottom:10px;
}

.dailycheckItem label.input{
    margin-bottom:5px;
}

.popover {
    z-index: 3000; /* A value higher than 1010 that solves the problem */
}

#calendarMortuary .fc-toolbar .fc-center h2 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    /*margin-bottom: 0;
    margin-left: 10px;

    text-shadow: 0 1px 0 #fff;*/
}

/*.jarviswidget .fc-header-title-custom-calendar h2 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    margin-left: 10px;
    margin-top: -12px;
    text-shadow: 0 1px 0 #fff;
}

#calendarSchedule .fc-toolbar .fc-center h2 {
    margin-top: -43px;
}*/

.fc-event.fc-draggable {
    cursor: move !important;
}

/*#calendarMortuary .fc-content {
    margin-top: -40px;
}

#calendarMortuary .fc-header-title h2 {
    margin-top: -30px;
}

#calendarMortuary.fc td, #calendarMortuary.fc th {
    border: 1px solid #ddd
}

#calendarMortuary.fc table th.fc-agenda-axis.fc-widget-header.fc-first,
#calendarMortuary.fc table th.fc-agenda.fc-agenda-axis {
    width: 75px !important;
    color: Red;
}

#calendarMortuary .fc-event-time, #calendarMortuary .fc-event-title {
    display: block !important;
    font-size: 11px !important;
    line-height: 11px !important;
}*/

/*.fc-right {
    visibility: hidden;
}

.fc-view-container {
    margin-top: -22px;
}*/

#calendarSchedule .fc-view-container {
    margin-top: -42px;
}

.fc-widget-header table thead tr {
    background-color: #eee;
    background-image: -moz-linear-gradient(center top , #f2f2f2 0px, #fafafa 100%);
    font-size: 12px;
}

.ui-autocomplete { position: absolute; cursor: default;z-index:2255 !important;}

.a-unstyled { color: #333; }
.a-unstyled:link { color: #333; }
.a-unstyled:visited { color: #333; }
.a-unstyled:hover { color: #000;cursor: pointer; text-decoration: none; }
.a-unstyled:active { color: #333; }

li .disabled{
    pointer-events:none;
    opacity:0.4;
}

input[readonly=""], input[readonly="readonly"],input[readonly="true"], .autocomplete[readonly]{
    background-color: #eeeeee !important;
    cursor: not-allowed;
}

.autocomplete-address::-webkit-input-placeholder {
    text-transform: none;
}

.autocomplete-address:-moz-placeholder { /* Firefox 18- */
    text-transform: none;
}

.autocomplete-address::-moz-placeholder {  /* Firefox 19+ */
    text-transform: none;
}

.autocomplete-address:-ms-input-placeholder {
    text-transform: none;
}

.autocomplete-address {
    text-transform: uppercase;
}

#roles option, #capabilities option {
    padding:6px;
}

.fa-select {
    font-family: sans-serif, 'FontAwesome';
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.uploadpane form{
    margin-bottom: 25px;
}

.uploadpane form:first-child{
    margin-top: 25px;
}

#grid-buttons {
    position: absolute;
    right: 14px;
    top: 20px;
}

.dataTables_length {
    margin-right: 20px;
    margin-left: 20px;
}

.hasComment {
    position: relative;
}
.hasComment:after { /* Magic Happens Here!!! */
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    display: block;
    border-left: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-top: 10px solid #000000;
} /* </magic> */

.dataTables_scrollHeadInner #grid-buttons {
    display: none;
}

tr.seperator td {
    background-color: mediumpurple !important;
    height: 7px !important;
    padding: 0px !important;
}

.bigger {
    font-size: 15px !important;
}

/*#calendarMortuary .fc-event {
    color: black !important;
}*/

.activeShortcut {
    background-color: #595f79 !important;
}

.mortuaryShortcut {
    margin-bottom: 10px;
}

.ui-confirmationHandle {
    font-family: monospace;
    overflow: hidden !important;
    text-align: right;
    width: 100% !important;
    display: block;
    font-size: 10px !important;
    line-height: 10px !important;
    overflow: hidden;
    position: absolute;
    z-index: 99999;

    bottom: 0px !important;
    cursor: default !important;
    height: 13px;
    right: 0;
    width: 100%;
    margin-top: 0px !important;
    margin-bottom: 1px;
}

.ui-confirmationHandle i.clickable, .ui-confirmationHandleAdditional  i.clickable{
    cursor: pointer !important;
}

.ui-confirmationHandle.additional {
    padding-right: 20px !important;
}

.roomNumberHeader {
    font-size: 11px !important;
    line-height: 11px !important;
    white-space: pre-wrap !important;
}

#todoDetails {
    display: none;
    color: #000000;
    background: #FDE874;
    border: 1px solid #794D32;
    position: absolute;
    right: 0px;
    top: 48px;
    z-index: 1001;
    max-width: 1000px;
    padding: 6px 8px;
    text-align: left;
    -webkit-box-shadow: 1px 3px 3px rgba(0,0,0,0.4);
    -moz-box-shadow: 1px 3px 3px rgba(0,0,0,0.4);
    box-shadow: 1px 3px 3px rgba(0,0,0,0.4);
}

#todoDetails table tr td, #todoDetails table tr th {
    padding: 0px 10px 0px 10px;
    border-bottom: lightblue solid 2px;
}

#todoDetails table tr td.description {
    max-width: 500px;
}

#todoDetails table tr td:first-child {
    border-right: red solid 2px;
}

#todoArrangementsDetails {
    display: none;
    color: #000000;
    background: #FDE874;
    border: 1px solid #794D32;
    position: absolute;
    top: 0;
    left: 0px;
    z-index: 99999;
    width: 1000px;
    padding: 6px 8px;
    text-align: left;
    -webkit-box-shadow: 1px 3px 3px rgba(0,0,0,0.4);
    -moz-box-shadow: 1px 3px 3px rgba(0,0,0,0.4);
    box-shadow: 1px 3px 3px rgba(0,0,0,0.4);
}

#todoArrangementsDetails table tr td, #todoArrangementsDetails table tr th {
    padding: 0px 10px 0px 10px;
    border-bottom: lightblue solid 2px;
}

#todoArrangementsDetails table tr td.description {
    width: 300px;
}

#todoArrangementsDetails table tr td:first-child {
    border-right: red solid 2px;
}

#gridContent .table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: transparent;
}

.divProductName {
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 5px;
}

.divProductProduction {
    padding-bottom: 20px;
}

.divOrderProduct {
    background-color: lightgreen;
    padding: 10px 20px 10px 20px;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.divProductPriceLabel {
    font-weight: bold;
    font-size: 20px;
    padding-top: 20px;
}

.divProductPrice {
    font-size: 14px;
}

.rightAlign {
    text-align: right;
}

.productRow {
    padding-top: 15px;
    border-bottom: 1px dashed #C97626;
}

#logo img {
    height: 37px !important;
    width: auto !important;
}

#customerLogo img {
    height: 40px !important;
    width: auto !important;
    margin: 4px 0 0 4px !important;
}

#extr-page #header #logo {
    margin-top: 5px !important;
}

.changedInput {
    border: 1px solid #EB980A !important;
}

.invalidInput {
    border: 1px solid red !important;
}

.input .icon-prepend {
    z-index: 99;
}

.invoiceFooter tr:first-child {
    border-top: 0px;
}

.invoiceFooter .total {
    border-top: 2px solid black;
    font-weight: bold;
}

.smart-form .tooltip2 {
    background: none !important;
    opacity: 0 !important;
}

.thumbnail{
    margin-right: 10px;
    margin-top: 10px;
}

.thumbnail:hover{
    cursor:pointer;
}

#external-events {
    margin-bottom: 10px;
    border-bottom: 1px solid #535353;
}

#external-events .unplanned-assignment {
    margin-bottom: 10px;
}

#external-events .fc-event {
    background-color: #92c3ff !important;
    padding: 5px;
    z-index: auto;
    left: 0px;
    top: 0px;
}

#external-events .fc-event:hover {
    cursor: pointer;
}

.form-control.fast-assignment {
    padding: 6px 6px !important;
}

.form-control {
    height: 30px !important;
}

select.form-control {
    height: 28px !important;
}

.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100px;
}

.ellipsis-4-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.assignment-table tbody tr:hover td, .ceremonial-transport-table tbody tr:hover td {
    background-color: rgb(240, 240, 240);
}

.light-orange {
    background-color: lightsalmon !important;
}

.light-red, .light-red-if-empty:empty {
    background-color: lightcoral !important;
}

.is-free-choice-car {
    background-color: lightgreen !important;
}

.modal-dialog.extra-wide {
    width: 800px;
}

.modal-dialog.super-wide {
    width: 1400px;
}

.red {
    color: red !important;
}

.nav-tabs > li.active > a {
    margin-bottom: -1px !important;
    padding-top: 11px;
}

.nav-tabs > li > a .badge {
    padding: 2px 5px !important;
}

tr.closed > td {
    background-color: #ffd6d5 !important;
}

tr.approved > td {
    background-color: #f0c7ff !important;
}

/*
 * Customer specific header styling
 */
.smart-style-3 #header.theme-color-141, .smart-style-3 #header.theme-color-142 {
    background-color: #0b2559 !important;
    background-image: linear-gradient(to bottom, #0b2559, #0a1f48);
}

.smart-style-3 #header.theme-color-114 {
    background-color: #091333 !important;
    background-image: linear-gradient(to bottom, #091333, #1c3033);
}

.smart-style-3 #header.fa-noord-holland {
    background-color: #0b2559 !important;
    background-image: linear-gradient(to bottom, #0b2559, #0a1f48);
}

.smart-style-3 #header.theme-color-116 {
    background-color: #252b2d !important;
    background-image: linear-gradient(to bottom, #252b2d, #151b1d);
}

/** FANH / Funeral care location colors */
.smart-style-3 #header.theme-color-118 {
    background-color: #0b2559 !important;
    background-image: linear-gradient(to bottom, #0b2559, #0a1f48);
}
.smart-style-3 #header.theme-color-144 {
    background-color: #41ac0a !important;
    background-image: linear-gradient(to bottom, #41ac0a, #369305);
}
.smart-style-3 #header.theme-color-165 {
    background-color: #698fdd !important;
    background-image: linear-gradient(to bottom, #698fdd, #4f77c8);
}

/*
 * End customer specific header styling
 */

footer div.updated-by {
    float: left;
    margin-top: 15px;
    margin-left: 15px;
    font-size: 11px;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.login-header-logo img {
    margin-top: 10px;
    height: 50px;
}

.legend {
    border-radius: 5px;
    font-size: 12px;
    padding: 2px;
    font-weight: bold;
}

/*
 * Status colors
 */
td.created, span.created { background-color: #ffa300 !important; }
td.sent, span.sent { background-color: #de8e00 !important; }
td.confirmed, span.confirmed { background-color: #946400 !important; }
td.started, span.started { background-color: lightgreen !important; }
td.executed, span.executed { background-color: #00c000 !important; }
td.postponed, span.postponed { background-color: red !important; }
td.readyIn15Minutes, span.readyIn15Minutes { background-color: red !important; }
td.readyIn30Minutes, span.readyIn30Minutes { background-color: red !important; }
td.readyIn45Minutes, span.readyIn45Minutes { background-color: red !important; }
td.cancelled, span.cancelled { background-color: dimgrey !important; color: white; }
td.deleted, span.deleted { background-color: black !important; color: white; }

span.changedInPortal {
    background-color: #ffde75 !important;
    margin-right: 5px;
}

/**
 * Uploader
 */
.upload-area {
    border: 5px dashed lightgray;
    border-radius: 13px;
    margin: 0 auto;
    text-align: center;
}

.upload-area.drag {
    border-color: red;
}

.upload-area:hover {
    cursor: pointer;
}

.upload-area {
    text-align: center;
    font-weight: normal;
}

#uploadFile {
    display: none;
}

@media screen and (max-width: 600px) {
    @media screen and (orientation: portrait) {
        .hidden-xs-portrait {
            display: none;
        }
    }
}

.dataTables_processing_portal {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0px, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0.9) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    font-size: 1.2em;
    height: auto;
    left: 50%;
    margin-left: -50%;
    text-align: center;
    top: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    z-index: 500;
    background-color: rgba(203,210,213,.00004);
}

table.dataTable th input:not(:placeholder-shown) {
    border-color: palevioletred !important;
}

/* BEGIN: this is for the multi select filter in a table */
.multiple-filter {
    display: none;
}

.ms-options-wrap button {
    padding-left: 12px;
}

.ms-options-wrap > .ms-options > ul > li > label {
    padding-left: 23px !important;
}

.ms-options-wrap > .ms-options > ul input[type="checkbox"] {
    margin: 0 5px 0 0 !important;
    position: absolute !important;
    left: 4px !important;
    top: 7px !important;
    width: auto !important;
}
/* END: this is for the multi select filter in a table */

.monthGrid .totalsRowHours td {
    border-top: solid 2px black !important;
}

.unsaved {
    background-color: #ffd8cc !important;
}

.inline-group .radio {
    margin-right: 15px !important;
}

.region.outsourced {
    color: red;
}


/**
Mortuary full calendar
 */
#calendarMortuary .fc-week .fc-bg .fc-day,
#calendarMortuary .fc-time-grid .fc-bg .fc-day
{
    border-right: 1px solid #45474b !important;
}
#calendarMortuary .fc-week .fc-bg .fc-day:last-child,
#calendarMortuary .fc-time-grid .fc-bg .fc-day:last-child {
    border-right: none !important;
}

#calendarMortuary .fc-week .fc-bg .last-day-column,
#calendarMortuary .fc-time-grid .fc-bg .last-day-column,
#calendarMortuary .fc-last-resource {
    border-right: 3px solid #45474b !important;
}
#mortuaryOverview .fc-event {
    height: 36px;
}

.overlay-processing {
    background-color: rgba(0,0,0,0.50);
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    display:none;
    z-index: 1000000;
    color: #fff;
}

.overlay-processing .process-icon {
    display:flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

table.table-bordered.dataTable.ceremonial-transport-table {
    border-collapse: collapse !important;
}

table#datatable_fixed_column tr.daySeperator {
    border-top: 3px solid darkgrey !important;
}

.has-collapsible-item .dropdown-toggle:not(.collapsed) .caret {
    transform: rotateZ(180deg);
}

/* Override fullcalendar v6 button styles in occupation */
.mortuary-calendar.fc .fc-button, .mortuary-calendar.fc .fc-button-primary {
    background-color: #eee !important;
    border-color: #eee !important;
    color: #333 !important;
}

.mortuary-calendar.fc .fc-button:hover, .mortuary-calendar.fc .fc-button-primary:hover {
    background-color: #ddd !important;
    border-color: #ddd !important;
}
.mortuary-calendar.fc button .fc-icon {
    top: -0.15em;
}

.mortuary-calendar.fc .fc-button:empty {
    display:none;
}

.button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.button-group-right {
    display: flex;
    gap: 8px;
}
@media (max-width: 600px) {
    .button-row {
        flex-direction: column;
        align-items: stretch;
    }
    .button-group-right {
        flex-direction: column;
        width: 100%;
    }
}

.fc-h-event .fc-event-main {
    overflow: hidden;
}