/* Shared, self-contained styles for the administration and sign-in screens. */
@font-face {
    font-family:Cairo;
    src:url('../fonts/Cairo-Variable.ttf') format('truetype');
    font-weight:200 1000;
    font-display:swap;
}
:root {
    --ink:#263d36;
    --muted:#68766f;
    --green:#285e4e;
    --line:#e7eeeb;
    --paper:#f5f6f2;
    --surface:#fff;
    --soft:#f1f4ee;
    --field-border:#d4ded6;
    --button-ink:#fff;
    --icon-bg:#e7eee3;
}
:root[data-admin-mode='dark'] {
    color-scheme:dark;
    --ink:#e8eee8;
    --muted:#abbab1;
    --green:#9ac7ab;
    --line:#3a4b42;
    --paper:#17241f;
    --surface:#22342c;
    --soft:#2b3e34;
    --field-border:#506258;
    --button-ink:#17241f;
    --icon-bg:#354e3e;
}

* {
    box-sizing:border-box;
}
body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font:15px/1.6 'Segoe UI',Arial,sans-serif;
}
button,input,select,textarea {
    font:inherit;
}
a {
    color:var(--green);
    text-underline-offset:3px;
}
button,a,input,select,textarea,summary {
    -webkit-tap-highlight-color:transparent;
}
button {
    cursor:pointer;
}
button:disabled {
    cursor:default;
    opacity:.5;
}
button:focus,a:focus,input:focus,select:focus,textarea:focus,summary:focus {
    outline:3px solid #85b7a0;
    outline-offset:3px;
}
input:focus,select:focus,textarea:focus {
    border-color:#477f69;
}
h1,h2,h3,h4,h5,p {
    margin:0 0 12px;
}
h1 {
    font-size:32px;
    line-height:1.2;
    letter-spacing:-.9px;
    font-weight:650;
}
h5 {
    font-size:18px;
    line-height:1.4;
    font-weight:650;
}
small,.small {
    font-size:13px;
}
.small-muted,.text-muted {
    color:var(--muted);
}
.small-muted {
    font-size:13px;
    line-height:1.55;
    margin-top:7px;
}
code {
    font-size:12px;
    color:#396353;
    overflow-wrap:break-word;
}
hr {
    border:0;
    border-top:1px solid var(--line);
    margin:26px 0;
}
label {
    display:block;
    font-weight:600;
    font-size:14px;
    margin-bottom:7px;
}
strong {
    font-weight:650;
}
.skip-link {
    position:fixed;
    top:-100px;
    left:20px;
    z-index:100;
    background:var(--surface);
    padding:12px;
}
.skip-link:focus {
    top:12px;
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}
.tab-pane>form.card.is-dirty>.card-footer {
    position:sticky;
    bottom:12px;
    z-index:10;
    box-shadow:0 -5px 14px #203c3305;
}
html {
    scroll-padding-bottom:110px;
}
.admin-topbar .mobile-menu {
    display:none;
}
.login-brand .brand-mark {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:38px;
    border:1px solid #c6b581;
    border-radius:18px 18px 9px 9px;
    margin-right:9px;
    color:#285e4e;
    font-size:23px;
}
.admin-sidebar {
    position:fixed;
    top:0; bottom:0; left:0;
    width:248px;
    padding:30px 18px 20px;
    background:#263e35;
    color:#e4ece4;
    border-right:1px solid var(--line);
    overflow-y:auto;
    z-index:30;
    display:flex;
    flex-direction:column;
}
.admin-brand {
    display:flex;
    align-items:center;
    color:#285e4e;
    text-decoration:none;
    padding:0 10px 28px;
    font-size:20px;
    font-weight:650;
    letter-spacing:-.5px;
}
.brand-mark {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px; height:38px;
    border:1px solid #c6b581;
    border-radius:18px 18px 9px 9px;
    margin-right:9px;
    color:#285e4e;
    font-size:23px;
}
.admin-brand small {
    display:block;
    color:var(--muted);
    font-size:9px;
    font-weight:400;
    letter-spacing:1px;
    text-transform:uppercase;
}
.nav {
    display:block;
    list-style:none;
    margin:0;
    padding:0;
}
.nav-group {
    display:block;
    font-size:10px;
    font-weight:600;
    letter-spacing:1.4px;
    text-transform:uppercase;
    color:var(--muted);
    padding:24px 12px 8px;
}
.nav-group:first-child {
    padding-top:0;
}
.nav-link {
    display:flex;
    align-items:center;
    border-radius:9px;
    color:#c7d6cb;
    text-decoration:none;
    padding:12px 10px;
    margin:3px 0;
    font-weight:500;
    font-size:13px;
}
.nav-link:hover {
    background:#344e40;
}
.nav-link.active {
    color:#f1f6ed;
    background:#3d5948;
    box-shadow:inset 3px 0 0 #bad29c;
}
.nav-link svg {
    width:15px;
    height:15px;
    flex-shrink:0;
    fill:none;
    stroke:currentColor;
    stroke-width:1.5;
    stroke-linecap:round;
    stroke-linejoin:round;
    margin-right:6px;
}
.nav-link.active:after {
    content:none;
}
.nav-link.has-changes:after {
    content:'';
    width:7px;
    height:7px;
    background:#e4bf77;
    border-radius:50%;
    margin-left:auto;
}
.sidebar-footer {
    margin-top:auto;
    padding:24px 12px 0;
    color:var(--muted);
    font-size:12px;
}
.sidebar-footer a {
    display:block;
    color:var(--green);
    text-decoration:none;
    margin-top:8px;
}
.admin-sidebar .admin-brand, .admin-sidebar .brand-mark { color:#e4ece4; }
.admin-sidebar .admin-brand small, .admin-sidebar .nav-group, .admin-sidebar .sidebar-footer { color:#a9bcae; }
.admin-sidebar .sidebar-footer a { color:#e4ece4; }

.admin-main {
    margin-left:248px;
    padding:28px 32px 60px;
    max-width:1400px;
}
.admin-topbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:0;
    margin-bottom:10px;
}
.admin-topbar h1 { flex:1 1 auto; min-width:0; font-size:25px; line-height:1.25; margin:0 16px 0 0; }
.admin-topbar .topbar-actions { flex:0 0 auto; }
.admin-topbar span {
    font-size:13px;
    color:var(--muted);
}
.topbar-actions {
    display:flex;
    align-items:center;
}
.topbar-actions .btn {
    margin-left:8px;
}
.mobile-menu {
    display:none;
}
.page-heading {
    display:flex;
    align-items:center;
    margin-bottom:16px;
}
.page-description {
    color:var(--muted);
    flex:1 1 auto;
    min-width:0;
    margin:0 20px 0 0;
    font-size:13px;
}
.admin-search {
    position:relative;
    flex:0 0 280px;
    width:280px;
    margin:0;
}
.admin-search input {
    background:var(--surface);
    padding-left:38px;
}
.search-symbol {
    position:absolute;
    left:14px;
    top:9px;
    font-size:21px;
    color:#7b8d81;
}
.search-results {
    position:absolute;
    left:0;
    right:0;
    top:49px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:12px;
    box-shadow:0 14px 30px #203c331a;
    max-height:330px;
    overflow:auto;
    z-index:25;
    padding:6px;
}
.search-results:empty {
    display:none;
}
.search-results button {
    display:block;
    width:100%;
    border:0;
    text-align:left;
    padding:10px 12px;
    border-radius:7px;
    background:var(--surface);
    color:var(--ink);
}
.search-results button:hover,.search-results button:focus {
    background:var(--soft);
}
.search-results small {
    display:block;
    color:var(--muted);
}
.search-results p {
    padding:12px;
    margin:0;
    color:var(--muted);
}
.tab-pane {
    width:100%;
    margin-bottom:28px;
}
.admin-ready .tab-pane {
    display:none;
}
.admin-ready .tab-pane.active {
    display:block;
}

.heading-dot { color:#b69a60; }
.admin-ready .settings-section-title { display:none; }
.settings-section-title { font-size:20px; font-weight:500; margin:32px 0 14px; }
#general { width:100%; }
form.settings-form { background:transparent; border:0; border-radius:0; overflow:visible; }
form.settings-form > .settings-layout { display:flex; align-items:flex-start; padding:0; }
.settings-primary { width:65%; min-width:0; }
.settings-secondary { width:32%; margin-left:3%; min-width:0; }
form.settings-form .form-section { padding:24px; margin:0 0 20px; border:0; border-radius:16px; background:var(--surface); }
form.settings-form .form-section legend { float:left; width:100%; padding:0; font-weight:500; font-size:18px; margin-bottom:12px; }
form.settings-form .form-section legend:before { content:'✧'; display:inline-block; width:28px; height:28px; margin-right:10px; border-radius:8px; background:var(--icon-bg); color:var(--green); text-align:center; line-height:28px; }
form.settings-form .section-description { font-size:12px; margin-bottom:22px; }
.settings-secondary .form-row > .form-group { flex:0 0 100%; max-width:100%; }
.settings-secondary .advanced-settings { background:var(--surface); padding:22px; border:0; border-radius:16px; }
.settings-secondary .advanced-settings summary small { display:block; margin-top:6px; }
form.settings-form > .card-footer { width:65%; border-radius:12px; background:var(--surface); }
form.settings-form .display-theme-option { width:33.3333%; }
form.settings-form .display-theme-name { font-size:11px; padding:8px; }
form.settings-form .display-theme-scene { height:120px; }
form.settings-form .display-theme-clock { width:40px; height:40px; right:8px; line-height:38px; }
form.settings-form .display-theme-times { font-size:7px; }

.tab-pane:focus {
    outline:0;
}
.card,.compact-form {
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:16px;
    margin-bottom:20px;
    overflow:hidden;
}
.section-card {
    margin-bottom:24px;
}
.card-header {
    font-size:17px;
    font-weight:650;
    padding:21px 26px;
    border-bottom:1px solid var(--line);
    border-radius:14px 14px 0 0;
}
.card-body {
    padding:26px;
}
.card-footer {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding:17px 26px;
    background:var(--soft);
    border-top:1px solid var(--line);
    border-radius:0 0 14px 14px;
}
.card-footer .save-status {
    margin-right:auto;
    text-align:left;
    font-size:12px;
    color:var(--muted);
    padding-right:12px;
}
.is-dirty>.card-footer {
    border-top-color:#c7b77c;
    background:#fffcf2;
}
.is-dirty .save-status {
    color:#84691f;
}
.save-status:empty {
    display:none;
}
.compact-form {
    padding:22px;
    margin-bottom:14px;
}
.compact-form.is-dirty {
    border-color:#c7b77c;
}
.compact-form>.btn {
    margin-top:5px;
}
.friday-details { border:0; margin:0; padding:0; min-width:0; }
.friday-details[hidden] { display:none; }
.form-section {
    border:0;
    padding:0;
    margin:0 0 32px;
    min-width:0;
}
.form-section+.form-section {
    padding-top:28px;
    border-top:1px solid var(--line);
}
.form-section legend {
    float:left;
    width:100%;
    font-size:18px;
    font-weight:650;
    margin-bottom:5px;
    padding:0;
}
.section-description {
    clear:both;
    color:var(--muted);
    font-size:13px;
    margin-bottom:24px;
}
.advanced-settings {
    border:1px solid var(--line);
    border-radius:10px;
    padding:16px 20px;
    background:var(--soft);
}
.advanced-settings summary {
    font-size:15px;
    font-weight:600;
    cursor:pointer;
}
.advanced-settings summary small {
    font-size:12px;
    font-weight:400;
    color:var(--muted);
    margin-left:8px;
}
.advanced-settings[open] summary {
    margin-bottom:24px;
}
.row,.form-row {
    display:flex;
    flex-wrap:wrap;
    margin-left:-10px;
    margin-right:-10px;
}
.row>[class*='col-'],.form-row>[class*='col-'] {
    padding-left:10px;
    padding-right:10px;
    width:100%;
    min-width:0;
}
.form-group {
    margin-bottom:20px;
}
.form-control {
    display:block;
    width:100%;
    min-width:0;
    padding:10px 12px;
    min-height:44px;
    border:1px solid var(--field-border);
    border-radius:7px;
    background:var(--surface);
    color:var(--ink);
    box-shadow:0 1px 2px #203c3303;
}
.form-control[readonly] {
    background:var(--soft);
    color:#778178;
}
.form-control-file {
    display:block;
    width:100%;
    font-size:12px;
    white-space:normal;
}
.form-control-file::file-selector-button {
    padding:9px 10px;
    border:1px solid var(--line);
    border-radius:6px;
    background:var(--soft);
    color:var(--ink);
    cursor:pointer;
    margin-right:8px;
}
textarea.form-control {
    min-height:110px;
    resize:vertical;
}
textarea.rtl {
    direction:rtl;
    text-align:right;
    min-height:135px;
    font-family:Cairo,'Segoe UI',sans-serif;
    font-size:19px;
    line-height:1.8;
}
.custom-control {
    position:relative;
    display:flex;
    align-items:flex-start;
    min-height:28px;
}
.custom-control-input {
    flex-shrink:0;
    appearance:auto;
    width:18px;
    height:18px;
    margin:3px 10px 0 0;
    accent-color:var(--green);
}
.custom-control-label {
    font-weight:500;
    margin:0;
    cursor:pointer;
}
.custom-range {
    width:100%;
    accent-color:var(--green);
    margin-top:8px;
}
.input-group {
    display:flex;
    align-items:stretch;
}
.input-group>.form-control {
    flex:1;
    width:1%;
    border-radius:7px 0 0 7px;
}
.input-group-append {
    display:flex;
}
.input-group-text {
    display:flex;
    align-items:center;
    padding:8px 12px;
    background:var(--soft);
    border:1px solid #d4ded6;
    border-left:0;
    border-radius:0 7px 7px 0;
    color:var(--muted);
    font-size:13px;
}
.input-group-append>.btn {
    border-radius:0 7px 7px 0;
}
.display-theme-grid { display: flex; flex-wrap: wrap; margin: 0 -6px 18px; }
.display-theme-option { position: relative; width: 25%; padding: 6px; cursor: pointer; }
.display-theme-option input { position: absolute; top: 16px; right: 16px; z-index: 1; width: 18px; height: 18px; margin: 0; }
.display-theme-card { display: block; height: 100%; border: 2px solid #d6dfd3; border-radius: 12px; overflow: hidden; background: #f5f7f2; }
.display-theme-option input:checked + .display-theme-card { border-color: #285e4e; box-shadow: 0 0 0 2px #285e4e; }
.display-theme-option input:focus + .display-theme-card { outline: 3px solid #b48128; outline-offset: 3px; }
.display-theme-scene { display: block; position: relative; height: 142px; background-color: #142e27; background-position: center; background-size: cover; padding: 26px 12px 12px; text-shadow: 0 2px 4px #000; }
.display-theme-prayer { display: block; font-size: 23px; line-height: 1.2; }
.display-theme-prayer > span { display: block; font-size: 18px; margin-top: 6px; }
.display-theme-clock { position: absolute; right: 14px; top: 48px; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; text-align: center; line-height: 46px; font-size: 12px; }
.display-theme-times { position: absolute; bottom: 8px; left: 0; width: 100%; text-align: center; font-size: 9px; }
.display-theme-name { display: block; padding: 10px; font-size: 13px; font-weight: 600; }
@media (max-width: 1100px) { .display-theme-option { width: 50%; } }
@media (max-width: 420px) { .display-theme-scene { height: 130px; padding-left: 8px; } .display-theme-clock { right: 7px; width: 40px; height: 40px; line-height: 38px; } .display-theme-times { font-size: 7px; } }

.preview-image {
    width:100%;
    height:120px;
    object-fit:contain;
    background:var(--soft);
    border-radius:9px;
    padding:12px;
}
.media-placeholder {
    height:120px;
    background:var(--soft);
    border:1px dashed #cbd7cb;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
    font-size:13px;
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    vertical-align:middle;
    text-decoration:none;
    font-weight:600;
    font-size:13px;
    line-height:1.45;
    border:1px solid transparent;
    border-radius:7px;
    padding:11px 18px;
    min-height:42px;
    white-space:normal;
}
.btn-primary {
    background:var(--green);
    color:var(--button-ink);
    border-color:var(--green);
}
.btn-primary:hover {
    background:#204d3f;
}
.btn-light,.btn-outline-primary {
    background:var(--surface);
    border-color:var(--field-border);
    color:var(--green);
}
.btn-light:hover,.btn-outline-primary:hover {
    background:var(--soft);
}
.btn-outline-danger {
    color:#9c4d45;
    border-color:#e5cfc9;
    background:var(--surface);
}
.btn-outline-danger:hover {
    background:#fff3ef;
}
.btn-sm {
    font-size:12px;
    padding:7px 12px;
    min-height:34px;
}
.btn-block {
    width:100%;
}
.btn-outline-light {
    color:var(--muted);
    background:transparent;
    border-color:var(--line);
}
.table-responsive {
    width:100%;
    overflow-x:auto;
    margin-bottom:24px;
}
.table {
    border-collapse:collapse;
    width:100%;
    font-size:14px;
    text-align:left;
}
.table th {
    font-size:12px;
    color:#697b6b;
    background:var(--soft);
    font-weight:600;
    line-height:1.4;
    padding:14px;
}
.table td {
    padding:12px 14px;
    border-bottom:1px solid var(--line);
}
.table td:first-child {
    font-weight:600;
}
.table tbody th {
    background:var(--surface);
    border-bottom:1px solid var(--line);
    color:var(--ink);
    font-size:14px;
}
.table .form-control {
    min-width:86px;
    max-width:220px;
}
.table thead th:first-child {
    border-radius:7px 0 0 7px;
}
.table thead th:last-child {
    border-radius:0 7px 7px 0;
}
.alert {
    padding:15px 19px;
    border:1px solid #d9e2d8;
    border-radius:9px;
    background:#f0f5ed;
    font-size:13px;
    line-height:1.6;
    margin-bottom:18px;
    position:relative;
}
.alert-success {
    background:#eaf3e7;
    color:#365c3d;
}
.alert-danger {
    background:#fff0ec;
    color:#8b4239;
    border-color:#eedbd3;
}
.alert-warning {
    background:#fff8e8;
    color:#826c34;
    border-color:#efe2b7;
}
.alert-secondary {
    background:#f2f4f2;
    color:#5f6c61;
}
.alert-dismissible {
    padding-right:45px;
}
.close {
    position:absolute;
    right:12px;
    top:6px;
    border:0;
    background:none;
    color:inherit;
    font-size:25px;
}
#announcements textarea {
    min-height:135px;
}
.announcement-sortable {
    min-height:20px;
}
.announcement-sort-item.dragging {
    opacity:.45;
    border-color:#567d60;
}
.announcement-drag-handle {
    cursor:grab;
    user-select:none;
    border:1px solid var(--line);
    background:var(--soft);
    color:var(--green);
    border-radius:6px;
    padding:6px 10px;
    font-size:17px;
    line-height:1.2;
}
.announcement-order-status {
    min-height:20px;
}
.reorder-controls .btn {
    margin-left:6px;
}
.text-break {
    overflow-wrap:break-word;
    word-break:break-word;
}
.text-truncate {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.text-success {
    color:#3a774d;
}
.text-danger {
    color:#a04b42;
}
.text-right {
    text-align:right;
}
.font-weight-bold {
    font-weight:650;
}
.bg-white {
    background:var(--surface);
}
.bg-light {
    background:var(--soft);
}
.border {
    border:1px solid var(--line);
}
.border-bottom {
    border-bottom:1px solid var(--line);
}
.rounded {
    border-radius:9px;
}
.d-flex {
    display:flex;
}
.flex-wrap {
    flex-wrap:wrap;
}
.justify-content-between {
    justify-content:space-between;
}
.align-items-center {
    align-items:center;
}
.align-items-end {
    align-items:flex-end;
}
.w-100 {
    width:100%;
}
audio {
    height:42px;
}
.mb-0 {
    margin-bottom:0!important;
}
.mb-2 {
    margin-bottom:8px;
}
.mb-3 {
    margin-bottom:16px;
}
.mb-4 {
    margin-bottom:24px;
}
.mt-1 {
    margin-top:4px;
}
.mt-2 {
    margin-top:8px;
}
.mt-3 {
    margin-top:16px;
}
.mt-4 {
    margin-top:24px;
}
.mr-2 {
    margin-right:8px;
}
.p-1 {
    padding:4px;
}
.p-3 {
    padding:16px;
}
.py-2 {
    padding-top:8px;
    padding-bottom:8px;
}
.py-3 {
    padding-top:16px;
    padding-bottom:16px;
}
.pb-2 {
    padding-bottom:8px;
}

[data-admin-mode='dark'] .table th,
[data-admin-mode='dark'] code,
[data-admin-mode='dark'] .form-control[readonly] { color:var(--muted); }
[data-admin-mode='dark'] .text-success { color:#a5d6af; }
[data-admin-mode='dark'] .text-danger,
[data-admin-mode='dark'] .btn-outline-danger { color:#f1b5aa; }
[data-admin-mode='dark'] .alert,
[data-admin-mode='dark'] .alert-success { background:#2c4535; color:#d3ead6; border-color:var(--line); }
[data-admin-mode='dark'] .alert-warning,
[data-admin-mode='dark'] .is-dirty > .card-footer { background:#423e29; color:#eee0b6; border-color:#786c40; }
[data-admin-mode='dark'] .save-status { color:var(--muted); }
[data-admin-mode='dark'] .is-dirty .save-status { color:#eee0b6; }
[data-admin-mode='dark'] .alert-danger,
[data-admin-mode='dark'] .btn-outline-danger:hover { background:#4a302c; color:#f1c3ba; }
[data-admin-mode='dark'] .btn-primary:hover { background:#b5d9c0; }
[data-admin-mode='dark'] .display-theme-card { background:var(--soft); border-color:var(--line); }
[data-admin-mode='dark'] .display-theme-option input:checked + .display-theme-card { border-color:#abd09b; box-shadow:0 0 0 2px #abd09b; }
[data-admin-mode='dark'] .login-page { background:var(--paper); }
.login-page {
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:#edf1e9;
    background:radial-gradient(ellipse at 15% 10%,#dce8d8,transparent 55%),#f2f4ee;
}
.login-shell {
    width:100%;
    max-width:450px;
}
.login-brand {
    justify-content:center;
    color:#284a3b;
    padding-bottom:28px;
}
.login-brand small {
    color:#768974;
}
.login-card {
    padding:10px;
    box-shadow:0 18px 60px #233f3310;
}
.login-card .card-header {
    border:0;
    padding:28px 26px 0;
    font-size:26px;
    letter-spacing:-.6px;
}
.login-card .card-header p {
    font-size:14px;
    font-weight:400;
    letter-spacing:0;
    color:var(--muted);
    margin-top:10px;
}
.login-card .card-body {
    padding-top:24px;
}
.login-footer {
    text-align:center;
    margin-top:24px;
    font-size:13px;
}
.login-footer a {
    color:var(--muted);
    text-decoration:none;
}
@media(min-width:768px) {
    .col-md-2 {
        flex:0 0 16.6667%;
    }
    .col-md-3 {
        flex:0 0 25%;
    }
    .col-md-4 {
        flex:0 0 33.3333%;
    }
    .col-md-5 {
        flex:0 0 41.6667%;
    }
    .col-md-6 {
        flex:0 0 50%;
    }
    .col-md-7 {
        flex:0 0 58.3333%;
    }
    .col-md-9 {
        flex:0 0 75%;
    }
    .mb-md-0 {
        margin-bottom:0;
    }
}
@media(min-width:1200px) {
    .col-lg-5 {
        flex:0 0 41.6667%;
    }
    .col-lg-6 {
        flex:0 0 50%;
    }
    .col-lg-7 {
        flex:0 0 58.3333%;
    }
    .col-xl-3 {
        flex:0 0 33.3333%;
    }
}
@media(max-width:1100px) {
    .admin-sidebar { width:224px; padding:24px 12px; }
    .admin-main { margin-left:224px; padding:24px; }
    form.settings-form > .settings-layout { display:block; }
    .settings-primary, .settings-secondary, form.settings-form > .card-footer { width:100%; }
    .settings-secondary { margin:0 0 20px; }
    form.settings-form .display-theme-option { width:50%; }
    .card-body {
        padding:22px;
    }
    .card-header,.card-footer {
        padding-left:22px;
        padding-right:22px;
    }
}
@media(max-width:767px) {
    form.settings-form > .settings-layout { display:block; }
    .settings-primary, .settings-secondary, .tab-pane, form.settings-form > .card-footer { width:100%; }
    .settings-secondary { margin:0 0 20px; }
    form.settings-form .form-section { padding:20px 18px; }
    .nav { display:block; }
    .nav-link { padding:10px; }
    .admin-sidebar {
        position:relative;
        width:auto;
        bottom:auto;
        padding:20px;
    }
    .admin-sidebar .admin-brand {
        padding:0 0 14px;
    }
    .admin-ready .admin-sidebar {
        display:none;
    }
    .admin-ready.menu-open .admin-sidebar {
        display:block;
        position:fixed;
        width:270px;
        box-shadow:0 0 0 100vmax #14281fb3;
        top:0;
        left:0;
        overflow-y:auto;
        bottom:0;
    }
    .sidebar-footer {
        display:none;
    }
    .admin-main {
        margin:0;
        padding:18px 16px 32px;
    }
    .admin-topbar {
        flex-wrap:wrap;
        margin-bottom:10px;
        padding-bottom:0;
    }
    .admin-topbar h1 { order:-1; flex:0 0 100%; font-size:23px; margin:0 0 10px; }
    .admin-topbar .topbar-actions { flex:1 1 auto; }
    .admin-topbar>span {
        display:none;
    }
    .admin-topbar .mobile-menu {
        display:inline-flex;
    }
    .topbar-actions { flex-wrap:wrap; justify-content:flex-end; }
    .topbar-actions .btn {
        margin-bottom:6px;
        font-size:12px;
        padding:9px 12px;
    }
    .page-heading {
        margin-bottom:12px;
    }
    .page-heading .page-description { display:none; }
    .admin-search { flex:1 1 auto; width:100%; }
    h1 {
        font-size:27px;
    }
    .page-description {
        font-size:14px;
    }
    .card-header {
        font-size:16px;
        padding:18px;
    }
    .card-body {
        padding:20px 18px;
    }
    .card-footer {
        padding:15px 18px;
        flex-wrap:wrap;
    }
    .card-footer .save-status {
        font-size:11px;
    }
    .form-group {
        margin-bottom:22px;
    }
    .form-section {
        margin-bottom:24px;
    }
    .form-section legend {
        font-size:17px;
    }
    .compact-form {
        padding:18px;
    }
    .form-row .form-group:last-child {
        margin-bottom:10px;
    }
    .table td,.table th {
        padding:10px;
    }
    .table th {
        min-width:100px;
    }
    .table-responsive {
        margin-bottom:18px;
    }
    .announcement-order-form .d-flex {
        flex-wrap:wrap;
    }
    .announcement-order-form .btn {
        margin-top:12px;
    }
    .login-card .card-header,.login-card .card-body {
        padding-left:20px;
        padding-right:20px;
    }
    .advanced-settings {
        padding:15px;
    }
    .advanced-settings summary small {
        display:block;
        margin:5px 0 0 18px;
    }
}
@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior:auto!important;
    }
}
