﻿@media only screen and (max-width: 575px) {
    .header-breadcrumbs {
        display: block !important;
    }
    .options-wrapper i, .person-export {
        display: none;
    }
}
@media only screen and (min-width: 575px) {
    #personSearch:after {
        content: ' by Patient or Relative';
    }
}

@media only screen and (max-width: 767px) {
    .header-breadcrumbs {
        width: calc(100vw);
    }
    .inner-layout {
        padding-right: unset !important;
        padding-left: unset !important;
        margin-left: unset !important;
        margin-right: unset !important;
        padding-top: unset !important;
    }

    .options-wrapper {
        display: flex;
        margin-bottom: 15px;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: end;
    }

    .page-options {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    div.btn-options {
        margin-top: 10px;
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 5px;
    }

    .btn-group {
        display: inline-flex;
        vertical-align: middle;
        flex-direction: column;
        align-content: space-between;
        justify-content: space-around;
        align-items: stretch;
        flex-wrap: nowrap;
        margin: 0 !important;
        gap: 5px;
        width: 100%;
    }

    .persons-options-wrapper .other-options {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    input#inputSearch.form-control {
        width: calc(100vw - 12.5px) !important;
        margin-top: 5px;
    }

    [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
        margin-top: 5px;
    }

    div#mdl_Booking .col-6, div#mdl_AddPerson .col-6 {
        width: 100%;
    }
    header#header.header {
        z-index: 999;
    }
    .showMenu {
        z-index: 99999;
    }
    .btn-group > .btn-group:not(:first-child), .btn-group > .btn:not(:first-child) {
        width: 100%
    }

    div.reports-wrapper .mb-3, .div.reports-wrapper .col-4 {
        margin: unset!important;
        flex: unset;
        width: 100%;
        margin-bottom: 5px!important;
    }
    .reports-wrapper[b-ckfmuskkl6] {
        height: calc(100vh - 400px)!important;
    }
    .patient-info-section[b-ooizh7tked] {
        width: calc(100vw - 50px);
    }
    div.row.custom-h-100 {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
    }
    div.col-5.patient-info-section.callout-relative .col-6 {
        width: 100%;
    }
    div#mdl_Relative.modal.fade-show .col-6 {
        width: 100%;
    }
    div#mdl_AddBlock .col-6, div#mdl_AddBlock .col-4{
        width: 100%;
    }
    div#mdl_AddBlock .col-2 {
        width: 100%;
    }
    div#mdl_Relative .col-6 {
        width: 100%;
    }
    #body-pd > div > div.persons-options-wrapper > div > div > div.other-options > label {
        display: none;
    }
}

@media only screen and (min-width: 767px) and (max-width: 1200px) {
    .header-breadcrumbs {
        width: calc(100vw);
    }

    .inner-layout {
        padding-right: unset !important;
        padding-left: unset !important;
        margin-left: unset !important;
        margin-right: unset !important;
        padding-top: unset !important;
    }

    .options-wrapper {
        display: flex;
        margin-bottom: 15px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: end;
        flex-direction: row-reverse;
    }

    .page-options {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    div.btn-options {
        margin-top: 10px;
        display: flex;
        gap: 5px;
        justify-content: end;
        flex-direction: row;
    }

    .btn-group {
        display: inline-flex;
        vertical-align: middle;
        flex-direction: row;
        align-content: space-between;
        justify-content: space-around;
        align-items: stretch;
        flex-wrap: nowrap;
        margin: 0 !important;
        gap: 5px;
        width: 100%;
    }

    .persons-options-wrapper div.options-wrapper {
        display: flex;
        margin-bottom: 15px;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: stretch;
        align-items: stretch;
        justify-content: flex-end;
    }
    .persons-options-wrapper .other-options {
        display: flex;
        flex-direction: column;
    }

    input#inputSearch.form-control {
        width: calc(100vw - 125px) !important;
        margin-top: 5px;
    }

    [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
        margin-top: 5px;
    }

    div#mdl_Booking .col-6, div#mdl_AddPerson .col-6 {
        width: 50%;
    }

    header#header.header {
        z-index: 50;
    }

    .showMenu {
        z-index: 99999;
    }

    .btn-group > .btn-group:not(:first-child), .btn-group > .btn:not(:first-child) {
        width: 100%
    }

    div.reports-wrapper .mb-3, .div.reports-wrapper .col-4 {
        margin: unset !important;
        flex: unset;
        width: 100%;
        margin-bottom: 5px !important;
    }

    .reports-wrapper[b-ckfmuskkl6] {
        height: calc(100vh - 400px) !important;
    }

    .patient-info-section[b-ooizh7tked] {
        width: calc(100vw - 50px);
    }

    div.row.custom-h-100 {
        align-items: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
    }

    div.col-5.patient-info-section.callout-relative .col-6 {
        width: 50%;
    }

    div#mdl_Relative.modal.fade-show .col-6 {
        width: 50%;
    }

    div#mdl_AddBlock .col-6, div#mdl_AddBlock .col-4 {
        width: 50%;
    }

    div#mdl_AddBlock .col-2 {
        width: 50%;
    }

    div#mdl_Relative .col-6 {
        width: 50%;
    }

    #body-pd > div > div.persons-options-wrapper > div > div > div.other-options > label {
        display: none;
    }
    .callout[b-e6wtahg512] {
        height: 90%;
    }
}
