/* Community portal header aligned with the public Oman Vision 2040 navigation. */
.community-live-header {
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 107px;
    z-index: 1050;
    background: linear-gradient(180deg, rgba(3, 3, 90, .92), rgba(3, 3, 90, .72) 65%, transparent 100%);
}

.community-live-header .reverse-nav {
    display: flex;
    align-items: center;
}

.community-live-header .navbar-brand img {
    width: 100px !important;
    height: auto;
}

.community-live-header .nav-link {
    color: #fff !important;
    font-weight: 600;
    white-space: nowrap;
    opacity: .95;
}

.community-live-header .nav-link:hover,
.community-live-header .nav-link:focus,
.community-live-header .nav-link.active {
    opacity: 1;
}

.community-live-header .nav-link.active {
    border-bottom: 2px solid #fff;
}

.community-live-header .mega-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
}

.community-live-header .mega-title a {
    color: #fff;
    font-weight: 700 !important;
    text-decoration: none;
    opacity: .9;
}

.community-live-header .mega-title a:hover,
.community-live-header .mega-title a:focus {
    opacity: 1;
    text-decoration: underline;
}

.community-live-header .custom-language-switcher {
    position: absolute;
    top: 15px;
    inset-inline-start: 20px;
    z-index: 1060;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.community-live-header .custom-language-switcher a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.community-live-header .custom-language-switcher a::after {
    content: "\F3EE";
    display: inline-block;
    margin-inline-start: 7px;
    font-family: "bootstrap-icons";
    font-weight: normal;
    vertical-align: -.1em;
}

.community-live-header .custom-language-switcher .btn-search {
    display: none !important;
    position: static;
    padding: 3px 8px;
    color: #fff;
    background: none;
    border: 0;
    font-size: 14px;
}

.community-live-header .btn-search-wrap {
    position: fixed;
    top: 30vh;
    left: 0;
    right: auto;
    inset-inline-start: auto;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 20px 12px;
    list-style: none;
    color: #fff;
    background: rgba(3, 3, 90, .78);
    border-radius: 0 15px 15px 0;
}

[dir="rtl"] .community-live-header .btn-search-wrap {
    left: 0;
    right: auto;
    border-radius: 0 15px 15px 0;
}

.community-live-header .btn-search-wrap li {
    display: flex;
    width: 40px;
    height: 55px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.community-live-header .btn-search-wrap li:last-child {
    border-bottom: 0;
}

.community-live-header .accessibility-tool {
    width: 100%;
    height: 100%;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 18px;
}

/*.community-live-header .accessibility-tool:hover,
.community-live-header .accessibility-tool:focus-visible {
    color: #fff;*/
   /* background: rgba(255, 255, 255, .12);*/
    /*outline: 2px solid rgba(255, 255, 255, .7);*/
    /*outline-offset: 2px;
}*/

.community-live-header .signs-icon,
.community-accessibility-dialog .signs-icon {
    display: flex;
    width: 30px;
    height: 30px;
    padding: 5px;
    margin: 6px;
    background-color: transparent;
    background-image: url("../img/signs.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    box-sizing: border-box;
}

.community-live-header .btn-search-wrap .desktop-mr-trigger.mr-aih-modern-symbol {
    position: relative !important;
    inset: auto !important;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    cursor: pointer;
}

.community-live-header .btn-search-wrap .mr-aih-modern-symbol img {
    display: block;
    width: 40px;
    height: 35px;
    padding: 3px;
    margin: 0;
    object-fit: contain;
}

.community-live-header .iconacc {
    position: absolute;
    top: 18px;
    inset-inline-start: 20px;
    z-index: 1060;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    color: #fff;
    background: rgba(3, 3, 90, .8);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    font-size: 23px;
}

.community-accessibility-dialog .accessibility-modal {
    color: #fff;
    background: rgba(54, 55, 91, .85);
    border: 0;
    border-radius: 4px;
}

.community-accessibility-dialog .modal-header {
    min-height: 50px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .8);
}

.community-accessibility-dialog .btn-close {
    filter: invert(1);
    opacity: .8;
}

.community-accessibility-dialog .modal-body {
    padding: 16px;
}

.community-accessibility-dialog .accessibility-icons {
    display: flex;
    width: 100%;
    height: 80px;
    flex-wrap: nowrap;
    gap: 0;
    background: #555795;
}

.community-accessibility-dialog .accessibility-icons button,
.community-accessibility-dialog .accessibility-icons #MrAccessInHand.mr-aih-modern-symbol {
    position: relative !important;
    inset: auto !important;
    display: flex;
    min-width: 0;
    width: 100% !important;
    min-height: 80px !important;
    height: 80px !important;
    padding: 12px !important;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #555795 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 22px;
    cursor: pointer;
}

.community-accessibility-dialog .accessibility-icons #MrAccessInHand.mr-aih-modern-symbol img {
    display: block;
    width: 35px !important;
    height: 35px !important;
    min-width: 35px;
    min-height: 35px;
    margin: 0 !important;
    padding: 0;
    object-fit: contain;
}

.community-search-modal,
.community-sign-modal {
    z-index: 1080;
}

.community-search-modal .modal-content {
    height: 360px;
    min-height: 360px;
    color: #fff;
    background: linear-gradient(180deg, #070755 0%, #040458 100%);
    border: 0;
    border-radius: 0;
}

.community-search-modal .modal-body {
    display: flex;
    align-items: center;
}

.community-search-modal .search-close {
    position: absolute;
    top: 32px;
    inset-inline-end: 40px;
    z-index: 2;
    filter: invert(1);
}

.community-search-modal .search-box {
    width: min(900px, 90%);
    margin: 70px auto 0;
}

.community-search-modal .search-input-wrap {
    position: relative;
}

.community-search-modal .search-input-wrap input {
    height: 65px;
    padding-inline: 32px 80px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 60px;
    font-size: 21px;
}

.community-search-modal .search-input-wrap input::placeholder {
    color: rgba(255, 255, 255, .75);
}

.community-search-modal .search-input-wrap input:focus {
    color: #fff;
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .55);
    box-shadow: 0 0 32px rgba(255, 255, 255, .14);
}

.community-search-modal .search-input-wrap button {
    position: absolute;
    top: 50%;
    inset-inline-end: 7px;
    width: 52px;
    height: 52px;
    color: #555795;
    background: #fff;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

.community-search-modal .most-searched {
    padding-top: 26px;
    color: #fff;
    text-align: start;
}

.community-search-modal .most-searched p {
    margin-bottom: 10px;
    font-size: 15px;
}

.community-search-modal .keyword-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.community-search-modal .keyword-wrap a {
    padding: 5px 20px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 30px;
    text-decoration: none;
}

.community-sign-modal .modal-content {
    color: #111428;
    border: 0;
    border-radius: 18px;
}

.community-participation-page .filter {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

.community-floating-tools {
    position: fixed;
    right: 10px;
    bottom: 65px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

[dir="ltr"] .community-floating-tools {
    bottom: 76px;
}

#chatbase-bubble-button {
    right: 10px !important;
    bottom: 16px !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    padding: 0 !important;
    background: #27bdbe !important;
    z-index: 9999 !important;
}

button#chatbase-bubble-button img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
}

.community-floating-tools .community-floating-button {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    display: flex;
    width: 50px !important;
    height: 50px !important;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #27bdbe;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    font-size: 25px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.community-floating-tools .community-floating-button:hover,
.community-floating-tools .community-floating-button:focus-visible,
.community-floating-tools .community-floating-button[aria-pressed="true"] {
    color: #fff;
    background: #555795;
    transform: translateY(-2px);
}

.community-floating-tools .community-floating-button img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .community-floating-tools {
        right: 8px;
        gap: 8px;
    }

    #chatbase-bubble-button {
        right: 8px !important;
        bottom: 10px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }

    .community-floating-tools .community-floating-button {
        width: 44px !important;
        height: 44px !important;
        font-size: 22px;
    }
}

/* Full public-site footer */
.community-live-footer {
    color: #fff;
    background: #000;
    font-family: "Tajawal", sans-serif;
    text-align: start;
}

.community-live-footer a {
    color: #fff;
    text-decoration: none;
}

.community-live-footer a:hover,
.community-live-footer a:focus {
    color: #fff;
    text-decoration: underline;
}

.community-live-footer .stat-wide {
    height: 100%;
    padding: 24px;
    background: rgba(85, 87, 149, .38);
    border-radius: 18px;
}

.community-live-footer .stat-wide .col-lg-3.border-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.community-live-footer .stat-wide .col-lg-3.border-end h3 {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
}

.community-live-footer .progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.community-live-footer .progress-item:last-child {
    margin-bottom: 0;
}

.community-live-footer .progress-item .progress {
    width: 100%;
    height: 10px;
    overflow: hidden;
    background: #1c1c1c;
    border: 1px solid #fff;
    border-radius: 20px;
}

.community-live-footer .progress-item .progress-bar {
    border-radius: 50px;
}

.community-live-footer .progress-item span {
    width: 75px;
    flex: 0 0 auto;
    font-size: 20px;
    text-align: end;
}

.community-live-footer .progress-item span.label {
    width: 400px;
    text-align: start;
    white-space: nowrap;
}

.community-live-footer .bg-purple {
    background-color: #7d7ad8 !important;
}

.community-live-footer .bg-teal {
    background-color: #3dd6c6 !important;
}

.community-live-footer .bg-pink {
    background-color: #d36ab3 !important;
}

.community-live-footer h6 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
}

.community-live-footer ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.community-live-footer ul li {
    margin-bottom: 6px;
    opacity: .85;
}

.community-live-footer .no-child-menu h6 {
    margin-block: 8px 16px;
}

.community-live-footer .footer-logo img {
    display: block;
    width: min(190px, 80%);
    height: auto;
    margin-inline: auto;
}

.community-live-footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 1px;
}

.community-live-footer .social-icons a {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
   /* border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;*/
}

.community-live-footer .social-icons i {
    margin: 0;
    font-size: 18px;
}

.community-live-footer .footer-bottom {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.community-live-header .mobile-submenu-back {
    display: none;
}

@media (min-width: 992px) {
    .community-live-header .iconacc {
        display: none !important;
    }

    .community-live-header .brand-center-lg {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        z-index: 5;
    }

    .community-live-header .menus-padding-lg {
        gap: 200px;
        padding-inline: 0;
    }

    .community-live-header .navbar-nav.flex-lg-row {
        width: 50%;
        padding-top: 25px;
        padding-inline: 0;
        padding-bottom: 0;
        justify-content: space-around;
        border-bottom: 1px solid #fff;
    }

    .community-live-header .mega-dropdown {
        position: static;
    }

    .community-live-header .mega-menu {
        top: 100%;
        left: 0;
        width: 100%;
        margin-top: 0;
        color: #fff;
        background: #111428;
        border: 0;
        border-radius: 0 0 20px 20px;
        text-align: start;
    }

    .community-live-header .mega-dropdown:hover > .mega-menu,
    .community-live-header .mega-dropdown:focus-within > .mega-menu {
        display: block;
    }

    .community-live-header.active .nav-link {
        opacity: .4;
    }

    .community-live-header.active .nav-link:hover,
    .community-live-header.active .dropdown-toggle.show {
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .community-live-header {
        min-height: 150px;
        padding-top: 3rem !important;
    }

    .community-live-header .container-fluid.position-relative.reverse-nav {
        min-height: 78px;
    }

    .community-live-header .brand-center-lg {
        position: fixed !important;
        top: 72px !important;
        left: 30px !important;
        right: auto !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 100002;
    }

    .community-live-header .navbar-brand img {
        width: 90px !important;
        margin: 0;
    }

    .community-live-header .custom-toggler {
        position: fixed;
        top: 82px;
        left: auto !important;
        right: 24px !important;
        z-index: 100006;
        display: flex;
    }

    .community-live-header .custom-language-switcher {
        position: fixed;
        top: 20px;
        right: auto;
        left: 24px;
        z-index: 100006;
        display: inline-flex !important;
        flex-direction: row-reverse;
        gap: 14px;
    }

    .community-live-header .custom-language-switcher .btn-search {
        display: none !important;
    }

    .community-live-header .btn-search-wrap {
        display: none !important;
    }

    .community-live-header .iconacc {
        position: absolute;
        top: 20px;
        left: auto;
        right: 35px;
        z-index: 100006;
        display: grid !important;
        width: 35px;
        height: 35px;
        padding: 0;
        place-items: center;
        background: transparent;
        border-color: #fff;
    }

    .community-live-header .iconacc img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .community-live-header #mainNavbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: 142px 30px 30px;
        overflow: hidden;
        background: rgba(0, 0, 0, .5);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        z-index: 100000;
    }

    .community-live-header .menus-padding-lg {
        height: calc(100vh - 90px);
        height: calc(100dvh - 90px);
        padding: 0;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, .75);
    }

    .community-live-header .navbar-nav {
        width: 100% !important;
        padding: 0 !important;
        border-bottom: 0 !important;
    }

    .community-live-header .navbar-nav .nav-item {
        position: relative;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .community-live-header #mainNavbar .nav-link {
        display: flex;
        min-height: 58px;
        align-items: center;
        padding: 16px 5px;
        color: #fff !important;
        font-size: 18px;
        font-weight: 700;
    }

    .community-live-header #mainNavbar .nav-link.active {
        border-bottom: 0;
    }

    .community-live-header #mainNavbar .menu-item-has-children > .nav-link::after {
        content: "›";
        position: absolute;
        top: 50%;
        inset-inline-end: 0;
        inset-inline-start: auto;
        margin: 0;
        color: #fff;
        border: 0 !important;
        font-size: 24px;
        font-weight: 400;
        line-height: 1;
        transform: translateY(-50%);
    }

    [dir="rtl"] .community-live-header #mainNavbar .menu-item-has-children > .nav-link::after {
        /*transform: translateY(-50%) scaleX(-1);*/
    }

    .community-live-header .navbar-nav .dropdown-menu {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0 !important;
        padding: 190px 30px 30px !important;
        overflow-y: auto;
        color: #fff;
        background: rgba(11, 12, 37, .95);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 0;
        border-radius: 0;
        text-align: start;
        transform: none !important;
        z-index: 100003;
    }

    .community-live-header .navbar-nav .dropdown-menu.mobile-submenu-active {
        display: block !important;
        visibility: visible;
    }

    .community-live-header #mainNavbar.mobile-submenu-open .menus-padding-lg {
        visibility: hidden;
    }

    .community-live-header .mobile-submenu-back {
        display: flex;
        position: fixed;
        top: 120px;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 0 30px;
        color: #fff;
        background: rgba(11, 12, 37, .95);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        font-size: 17px;
        font-weight: 600;
        align-items: center;
        justify-content: flex-start;
        text-align: start;
        cursor: pointer;
        z-index: 100004;
    }

    .community-live-header .mobile-submenu-back span {
        display: inline-block;
        margin-inline-end: 8px;
        font-size: 22px;
        font-weight: 400;
    }

    .community-live-header .dropdown-menu .container-fluid,
    .community-live-header .dropdown-menu .row {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .community-live-header .dropdown-menu [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .community-live-header .mega-title {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .community-live-header .mega-title a {
        display: block;
        padding: 16px 5px;
        color: #fff;
        font-size: 18px;
        text-decoration: none;
    }

    .community-live-header .navbar-toggler {
        z-index: 100006;
    }

    body.menu-open,
    body.mobile-menu-open {
        overflow: hidden;
    }

    .community-search-modal .modal-content {
        height: 420px;
    }

    .community-search-modal .search-box {
        margin-top: 90px;
    }

    .community-live-footer .stat-wide .col-lg-3.border-end {
        padding-bottom: 22px;
        margin-bottom: 22px;
        border-inline-end: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .25);
    }

    .community-live-footer .col-md-3 h6.footer-menu-title {
        position: relative;
        margin: 5px 0;
        padding-inline-end: 24px;
        cursor: pointer;
    }

    .community-live-footer .col-md-3 h6.footer-menu-title::after {
        content: "";
        position: absolute;
        top: 50%;
        inset-inline-end: 2px;
        border-top: .35em solid;
        border-right: .35em solid transparent;
        border-left: .35em solid transparent;
        transform: translateY(-50%);
        transition: transform .3s ease;
    }

    .community-live-footer .col-md-3 h6.footer-menu-title.opened::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .community-live-footer .col-md-3.no-child-menu h6::after {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .community-accessibility-dialog .accessibility-icons {
        display: flex;
        gap: 0;
    }

    .community-search-modal .keyword-wrap {
        flex-direction: column;
    }

    .community-search-modal .keyword-wrap a {
        text-align: center;
    }

    .community-live-footer .stat-wide {
        padding: 20px 16px;
    }

    .community-live-footer .stat-wide .col-lg-3.border-end h3 {
        font-size: 34px;
    }

    .community-live-footer .progress-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .community-live-footer .progress-item span.label {
        width: calc(100% - 82px);
        white-space: normal;
    }

    .community-live-footer .progress-item span:not(.label) {
        width: 70px;
    }

    .community-live-footer .progress-item .progress {
        order: 3;
        width: 100%;
    }

    .community-live-footer .footer-bottom .container {
        flex-direction: column;
        gap: 6px;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .dropdown-menu.mega-menu .col-md-3 {
        width: 20%;
    }
}


@media (max-width: 992px) {
    .community-live-header .iconacc img {
        width: 20px !important;
    }
}


@media (max-width: 992px) {
    .oman-footer .col-md-3 ul {
         
        margin-left: 20px;
    }
}

@media (max-width: 991.98px) {
    #mainNavbar .dropdown-menu [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 991.98px) {
    .community-live-footer .col-md-3 h6.footer-menu-title::after {
        left: unset;
        right: 0 !important;
    }
}
 