body#page-local-authgateway-index {
    background: #f3f5f2 !important;
    background-image: none !important;
}

body#page-local-authgateway-index #page-wrapper,
body#page-local-authgateway-index #page,
body#page-local-authgateway-index #page-content,
body#page-local-authgateway-index #region-main-box,
body#page-local-authgateway-index #region-main {
    background: transparent !important;
    background-image: none !important;
}

body#page-local-authgateway-index #region-main {
    overflow: visible;
}

body#page-local-authgateway-index footer#page-footer,
body#page-local-authgateway-index footer#footer,
body#page-local-authgateway-index #page-footer,
body#page-local-authgateway-index #footer {
    display: none !important;
}

.local-authgateway-page {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    min-height: 100%;
    padding: 2rem 1.25rem;
}

.local-authgateway-timeout-notice {
    background: #f7fbf8;
    border: 1px solid #cfe2d4;
    border-left: 4px solid #00843d;
    border-right: 4px solid #00843d;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
    color: #24342a;
    font-size: .95rem;
    line-height: 1.5;
    max-width: 1200px;
    text-align: center;
    padding: 1rem 1.15rem;
    width: 100%;
}

.local-authgateway-timeout-notice p {
    margin: 0;
}

.local-authgateway-timeout-notice p + p {
    margin-top: .55rem;
}

.local-authgateway-panel {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
    max-width: 680px;
    overflow: hidden;
    width: 100%;
}

.local-authgateway-brand {
    align-items: center;
    background: #000;
    display: flex;
    gap: 1.35rem;
    padding: 1.15rem 1.6rem;
}

.local-authgateway-logo {
    display: block;
    max-height: 46px;
    width: 145px;
}

.local-authgateway-institution {
    border-left: 1px solid rgba(255, 255, 255, .56);
    color: #fff;
    display: grid;
    font-family: "Open Sans", sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.25;
    padding-left: 1.35rem;
}

.local-authgateway-content {
    padding: 2rem 2.2rem 2.1rem;
}

.local-authgateway-title {
    color: #111;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.05rem;
}

.local-authgateway-title::after {
    background: #00843d;
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    margin-top: .55rem;
    width: 4.25rem;
}

.local-authgateway-manual-notice {
    background: #fff5f5;
    border-color: #f1b8b8;
    border-left-color: #c62828;
    border-right-color: #c62828;
    color: #5d1f1f;
}

.local-authgateway-manual-notice p {
    margin: 0 0 .65rem;
}

.local-authgateway-manual-login-link {
    color: #9f1d1d;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.local-authgateway-intro {
    color: #4b554d;
    font-size: .98rem;
    line-height: 1.55;
    margin: 0 0 1.4rem;
}

.local-authgateway-courses {
    display: grid;
    gap: .55rem;
}

.local-authgateway-tools {
    align-items: center;
    display: flex;
    gap: .85rem;
    justify-content: space-between;
    margin-bottom: .85rem;
}

.local-authgateway-search-input {
    border: 1px solid #cfd8cf;
    border-radius: 6px;
    box-sizing: border-box;
    color: #111;
    flex: 1 1 auto;
    font-size: .95rem;
    min-width: 0;
    padding: .55rem .75rem;
}

.local-authgateway-search-input:focus {
    border-color: #00843d;
    box-shadow: 0 0 0 .12rem rgba(0, 132, 61, .18);
    outline: 0;
}

.local-authgateway-course-count {
    color: #59635b;
    flex: 0 0 auto;
    font-size: .88rem;
    font-weight: 600;
}

.local-authgateway-course,
.local-authgateway-course:hover,
.local-authgateway-course:focus {
    text-decoration: none;
}

.local-authgateway-course {
    align-items: center;
    background: #fff;
    border: 1px solid #d8dfd8;
    border-left: 4px solid #00843d;
    border-radius: 6px;
    color: #111;
    display: flex;
    gap: .8rem;
    justify-content: space-between;
    min-height: 3.15rem;
    padding: .58rem .72rem .58rem .9rem;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.local-authgateway-course:hover,
.local-authgateway-course:focus {
    border-color: #00843d;
    box-shadow: 0 8px 20px rgba(0, 132, 61, .16);
    color: #111;
    transform: translateY(-1px);
}

.local-authgateway-course-name {
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.25;
}

.local-authgateway-course-action {
    align-items: center;
    background: #eef6f0;
    border: 1px solid #cfe2d4;
    border-radius: 50%;
    color: #00843d;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.35rem;
    font-weight: 700;
    height: 1.75rem;
    justify-content: center;
    line-height: 1;
    padding-bottom: .08rem;
    width: 1.75rem;
}

.local-authgateway-course:hover .local-authgateway-course-action,
.local-authgateway-course:focus .local-authgateway-course-action {
    background: #00843d;
    border-color: #00843d;
    color: #fff;
}

.local-authgateway-adminlogin {
    border-top: 1px solid #e0e5e0;
    margin-top: 1.35rem;
    padding-top: 1rem;
    text-align: center;
}

.local-authgateway-empty {
    color: #59635b;
    font-weight: 600;
    padding: 1rem 0;
    text-align: center;
}

.local-authgateway-pagination {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: center;
    margin-top: 1rem;
}

.local-authgateway-page-button {
    background: #fff;
    border: 1px solid #cfd8cf;
    border-radius: 6px;
    color: #1f5f39;
    font-weight: 700;
    padding: .42rem .75rem;
}

.local-authgateway-page-button:hover,
.local-authgateway-page-button:focus {
    border-color: #00843d;
    color: #00843d;
}

.local-authgateway-page-button:disabled {
    color: #909990;
    cursor: not-allowed;
    opacity: .6;
}

.local-authgateway-page-status {
    color: #59635b;
    font-size: .88rem;
    font-weight: 600;
}

.local-authgateway-adminlogin a {
    color: #1f5f39;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .18em;
}

@media (max-width: 640px) {
    .local-authgateway-page {
        padding: 0px;
    }

    .local-authgateway-panel {
        max-width: 100%;
    }

    .local-authgateway-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: .85rem;
        padding: 1rem 1.25rem;
    }

    .local-authgateway-logo {
        width: 132px;
    }

    .local-authgateway-institution {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .56);
        font-size: .96rem;
        padding-left: 0;
        padding-top: .85rem;
    }

    .local-authgateway-content {
        padding: 1.35rem;
    }

    .local-authgateway-title {
        font-size: 1.45rem;
    }

    .local-authgateway-course {
        align-items: stretch;
    }

    .local-authgateway-course-action {
        text-align: center;
    }

    .local-authgateway-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .local-authgateway-course-count {
        text-align: center;
    }

    footer#page-footer{
        display: none ;
    }
}