@media only screen and (min-width: 320px) and (orientation: portrait) {
    .card-title {
        width: 100%;
    }

    .dialog-content {
        height: 88%;
        width: 100%;
    }

    .no-modal-footer {
        height: 85%;
    }

    .dialog-content textarea {
        height: 158px !important;
    }

    .dialog-header-title>div {
        font-size: large;
    }

    .card-title>h2 {
        font-family: "Overlock SC", serif;
        color: #eaeaea;
        width: 100%;
        text-align: center;
        font-size: 100%;
    }

    h2 {
        font-size: 16px !important
    }

    .table-header-title {
        font-size: 100%
    }

    .list-menu {
        list-style: disc;
        list-style-type: none;
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding-left: 0px;
        margin-bottom: -18px;
        font-size: 0.75em;
    }

    .list-menu li {
        padding: 3px;
        font-size: 14px;
        height: 30px;
    }

    .list-menu li:not(:first-child) {
        margin-left: 5px
    }

    .entry-counter {
        background: transparent !important;
        pointer-events: none;
        font-weight: bolder;
        font-size: 85%;
        line-height: 15px;
    }

    .hide-mobile {
        display: none !important;
    }

    .mobile-filter {
        display: flex;
        margin-top: 25px;
    }

    .gj-picker {
        left: 55px !important;
    }

    .popup-dialog {
        width: 85% !important;
        height: 85% !important;
        border: 2px solid var(--px-main-color) !important
    }

    .gospel-content-inner img {
        width: 100% !important
    }

    .gospel-content-inner span {
        font-size: 16px !important;
        font-family: "Overlock SC", serif !important;
    }

    .error-dialog {
        height: 25% !important;
    }

    .warning-dialog {
        height: 30% !important;
    }

    .warning-dialog div.content-center {
        height: 36%;
    }

    .error-dialog div.content-center {
        height: 28%;
    }

    .prayer-content-inner>div>ul>li {
        margin-left: -40px
    }

    .nav-link {
        font-size: 0.85em !important;
        height: 30px;
        line-height: 10px;
    }

    .tile-container img {
        width: 100% !important;
    }

    .table>tbody>tr>td,
    .table>thead>tr>th,
    .text {
        font-size: 1em !important
    }

    .tile-media {
        min-height: 379px !important;
    }

    .back-to-top {
        right: 20px;
        font-size: 14px;
    }

    .field-participants {
        display: block;
    }

    .field-participants div:nth-child(1),
    .field-participants div:nth-child(2),
    .field-participants div:nth-child(3) {
        width: 100%;
        padding: 0;
    }

    .footer-menu {
        display: none;
    }

    .footer-menu-container div {
        display: none;
    }

    .footer-menu-container select {
        display: block;
        margin: auto;
        margin-top: 7px;
        background-color: #202933;
        border-color: transparent;
    }

    .main-panel>.content {
        margin-top: 0 !important;
    }

    .table-container-inner {
        max-height: 63vh !important;
        margin-top: 15px;
    }

    .home-container-inner {
        max-height: 75vh !important;
    }

    .main-content-container {
        padding: 0;
        width: 100%;
    }

    .filter-entries {
        margin-bottom: 24px !important;
    }

    .card-footer-menu {
        padding: 7px 0px !important
    }

    .content-wrapper-mobile {
        height: 78vh !important;
        padding: 7px
    }

    .content-frame {
        padding: 4px;
    }

    .cf-mysteries,
    .cf-help,
    .cf-attendance-chart {
        height: 70vh;
    }

    .cf-gospel {
        height: 66vh;
    }

    .cf-participants,
    .cf-attendance-log,
    .cf-gallery,
    .cf-videos {
        height: 65vh;
    }

    .rosary-flow-frame {
        height: 59vh;
        padding: 1px
    }

    .cw-rosary-flow {
        height: 68vh;
    }

    .content-gospel-inner {
        padding: 0px;
    }

    .content-gospel-inner span {
        font-size: small !important;
    }

    .content-gospel-inner img {
        width: 90% !important
    }

    .cw-prayer,
    .cw-gospel {
        height: 75vh;
    }

    .cw-attendance-chart,
    .cw-participants,
    .cw-attendance-log,
    .cw-gallery,
    .cw-mysteries,
    .cw-help,
    .cw-videos {
        height: 78vh
    }

    .cw-prayer,
    .cw-videos,
    .cw-rosary-flow,
    .cw-gospel,
    .cw-participants,
    .cw-mysteries,
    .cw-attendance-chart {
        padding: 5px;
        width: 100%;
    }

    .ct-participants,
    .ct-gallery,
    .ct-attendance-log {
        height: 61vh;
    }

    .ct-prayer {
        height: 56vh;
    }

    .ct-help,
    .cf-prayer {
        height: 67vh;
    }

    .content-mysteries {
        height: 45vh;
    }

    .tab-pane h3 {
        font-size: 1em;
        color: #d1d1d1;
    }

    .content-wrapper {
        padding: 4px;
    }

    #modal-authentication {
        height: 31% !important;
    }

    #search-nav {
        display: block !important;
    }

    div[aria-label="Page"] {
        display: none;
    }

    .page-outer {
        padding: 0em 1em
    }

    .card-body {
        min-height: 12vh !important;
    }

    .modal-footer {
        bottom: 18px !important
    }

    .list-menu .button {
        white-space: nowrap;
    }

    .container-table {
        min-height: 73vh;
    }

    .div-content-center {
        height: 60vh;
    }

    .search-filter {
        width: 100% !important;
    }

    .dialog-content-wrapper {
        height: 80% !important;
    }

    .rosary-guide img {
        width: 100% !important;
        height: 100% !important;
    }

    .content-rosary-guide {
        padding: 0px !important;
    }

    .guide-list div {
        margin-left: -35px;
        padding: 5px;
    }

    .sub-list {
        margin-left: -20px
    }

    .dialog-list {
        max-height: 52vh !important;
    }

    .button-close-page {
        position: fixed;
        top: 13px;
        z-index: 1039;
        right: 20px;
        color: var(--px-danger) !important;
        text-transform: uppercase;
        font-size: large;
        font-weight: 900;
        background: var(--warning);
        border-radius: 5px;
    }

    .dialog-subtitle {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .col-md-3 {
        flex: 0 0 100%
    }
}

@media screen and (max-width: 320px) {
    .dialog-list {
        min-height: 39vh !important;
        height: 39vh !important;
    }

    .popup-dialog-list {
        width: 85% !important;
    }

    .error-dialog,
    .warning-dialog {
        width: 50% !important;
    }

    .popup-dialog {
        top: 46% !important
    }

    #search-nav {
        display: block !important;
    }

    .page-outer {
        padding: 0em 1em !important;
    }

    body {
        flex-direction: row;
    }

    .modal-footer {
        border-top: 0 !important
    }

    .dialog-content {
        width: 95% !important;
    }

    .dialog-content-wrapper {
        max-height: 60vh;
    }

    .modal-header {
        height: 67px !important
    }

    #modal-authentication {
        width: 70% !important;
    }

    .search-container {
        position: fixed;
        top: 15px;
        width: 100% !important;
        display: none;
    }

    .service-list-container {
        width: 95% !important;
    }

    .button-close-page {
        position: fixed;
        top: 13px;
        z-index: 1039;
        right: 5px;
        color: var(--px-danger) !important;
        text-transform: uppercase;
        font-size: large;
        font-weight: 900;
        background: var(--warning);
        border-radius: 5px;
    }

    .service-list-container {
        max-height: 70vh !important;
    }

    .dialog-content-list {
        max-height: 60vh !important;
    }
}

@media only screen and (max-width: 570px) and (max-height: 320px) {
    .dialog-list {
        min-height: 39vh !important;
        height: 39vh !important;
    }

    .popup-dialog-list {
        width: 85% !important;
    }

    .error-dialog,
    .warning-dialog {
        width: 50% !important;
    }

    .popup-dialog {
        top: 46% !important
    }

    #search-nav {
        display: block !important;
    }

    .page-outer {
        padding: 0em 1em !important;
    }

    body {
        flex-direction: row;
    }

    .modal-footer {
        border-top: 0 !important
    }

    .dialog-content {
        width: 95% !important;
    }

    .dialog-content-wrapper {
        max-height: 60vh;
    }

    .modal-header {
        height: 67px !important
    }

    #modal-authentication {
        width: 70% !important;
    }

    .search-container {
        display: none;
    }

    .service-list-container {
        width: 95% !important;
    }

    .button-close-page {
        position: fixed;
        top: 13px;
        z-index: 1039;
        right: 5px;
        color: var(--px-danger) !important;
        text-transform: uppercase;
        font-size: large;
        font-weight: 900;
        background: var(--warning);
        border-radius: 5px;
    }

    .service-list-container {
        max-height: 70vh !important;
    }

    .dialog-content-list {
        max-height: 60vh !important;
    }

    .col-md-3 {
        flex: 0 0 50%
    }
}

@media only screen and (min-width: 375px) and (orientation: landscape) and (min-resolution: 240dpi) {
    .dialog-list {
        min-height: 39vh !important;
        height: 39vh !important;
    }

    .popup-dialog-list {
        width: 85% !important;
    }

    .error-dialog,
    .warning-dialog {
        width: 50% !important;
    }

    .popup-dialog {
        top: 46% !important
    }

    #search-nav {
        display: block !important;
    }

    .page-outer {
        padding: 0em 1em !important;
    }

    body {
        flex-direction: row;
    }

    .modal-footer {
        border-top: 0 !important
    }

    .dialog-content {
        width: 95% !important;
    }

    .dialog-content-wrapper {
        max-height: 60vh;
    }

    .modal-header {
        height: 67px !important
    }

    #modal-authentication {
        width: 70% !important;
    }

    .search-container {
        position: fixed;
        top: 15px;
        width: 100% !important;
    }

    .service-list-container {
        width: 95% !important;
    }

    .button-close-page {
        position: fixed;
        top: 13px;
        z-index: 1039;
        right: 5px;
        color: var(--px-danger) !important;
        text-transform: uppercase;
        font-size: large;
        font-weight: 900;
        background: var(--warning);
        border-radius: 5px;
    }

    .service-list-container {
        max-height: 70vh !important;
    }

    .dialog-content-list {
        max-height: 60vh !important;
    }

    .col-md-3 {
        flex: 0 0 50%
    }
}