/**
 * Create New Customer entity modal — scoped to .im-customer-modal-window only.
 */

.im-customer-modal-window.im-report-screen-modal .modal-dialog {
    max-width: calc(1200px + 1in) !important;
}

@media (min-width: 768px) {
    .im-customer-modal-window.im-report-screen-modal .modal-dialog {
        max-width: calc(1200px + 1in) !important;
    }
}

.im-customer-modal-window .im-customer-entity-modal .im-entity-modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.im-customer-modal-window .im-customer-entity-modal .im-customer-tab-shell {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.im-customer-modal-window .im-customer-entity-modal .im-customer-tab-content {
    flex: 0 0 auto;
    height: calc(560px + 2in);
    min-height: calc(560px + 2in);
    max-height: calc(560px + 2in);
    border-top: none;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.im-customer-modal-window .im-customer-entity-modal .im-customer-tab-content > .tab-pane {
    box-sizing: border-box;
}

.im-customer-modal-window .im-customer-entity-modal .im-customer-tab-content > .tab-pane.active {
    height: 100%;
    min-height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.im-customer-modal-window .im-customer-entity-modal .customerVehicleGrid {
    max-width: 100%;
}

@media (max-width: 767px) {
    .im-customer-modal-window .im-customer-entity-modal .im-customer-tab-content {
        height: calc(420px + 2in);
        min-height: calc(420px + 2in);
        max-height: calc(420px + 2in);
    }
}
