@import url("fonts/tajawal/tajawal.css");

/* Bilingual presentation for the existing Najat Azhgaye page layouts. */
.cms-language-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: none;
    padding: 3px;
    border-radius: 3px;
    color: inherit;
    font: 600 11px/1.5 Arial, Tahoma, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
}

.d14 .topbar .cms-language-switch {
    color: var(--brand-ink, #241e19);
}

.d14 .topbar .cms-language-switch a[aria-current="page"] {
    background: var(--brand-ink, #241e19);
    color: #fff;
}

.cms-language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 30px;
    padding: 3px 7px;
    color: inherit;
    text-decoration: none;
}

.cms-language-switch a[aria-current="page"] {
    background: var(--primary, #f57c00);
    color: #241e19;
}

.cms-language-switch a:hover,
.cms-language-switch a:focus-visible {
    background: var(--primary, #f57c00);
    color: #241e19;
    outline: 2px solid var(--secondary, #e3262c);
    outline-offset: 2px;
}

.cms-form-status,
[data-enquiry-result],
.cms-notice {
    margin-block: 20px;
    padding: 16px 20px;
    border: 1px solid #a9c8ae;
    border-inline-start: 4px solid #297341;
    background: #eef7f0;
    color: #174b2a;
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.cms-form-status.is-error,
.cms-form-status[data-status="error"],
[data-enquiry-result].cms-error,
.cms-notice.cms-error,
.cms-notice.is-error {
    border-color: #e6b0b3;
    border-inline-start-color: #b11d27;
    background: #fff0f1;
    color: #891720;
}

.cms-form-status:empty,
.cms-form-status[hidden],
[data-enquiry-result][hidden],
.cms-notice[hidden] {
    display: none;
}

.cms-form-status p:last-child,
.cms-notice p:last-child {
    margin-bottom: 0;
}

.cms-honeypot {
    position: absolute !important;
    inline-size: 1px !important;
    block-size: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    pointer-events: none !important;
}

.d14 .gas-hero .h-prog {
    grid-template-columns: repeat(var(--cms-slides, 5), minmax(0, 1fr));
}

.d14 .gas-formula,
.d14 bdi,
.d14 [dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
}

.d14 .gas-formula {
    display: inline-block;
}

.d14 input[type="email"],
.d14 input[type="tel"],
.d14 input[type="date"],
.d14 input[type="number"] {
    direction: ltr;
    text-align: start;
}

.d14 button:disabled,
.d14 input[type="submit"]:disabled {
    cursor: wait;
    opacity: .65;
}

html[lang="ar"] body,
html[dir="rtl"] .d14 {
    --body: "Tajawal", Tahoma, Arial, sans-serif;
    --disp: "Tajawal", Tahoma, Arial, sans-serif;
    --mono: "Tajawal", Tahoma, Arial, sans-serif;
    font-family: "Tajawal", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] body,
html[dir="rtl"] .d14 {
    text-align: right;
}

html[dir="rtl"] .d14 :is(h1, h2, h3, h4, h5, h6, p, li, button, a, small, label) {
    letter-spacing: 0;
}

html[dir="rtl"] .d14 :is(h1, h2, h3, h4, h5, h6) {
    line-height: 1.35;
}

html[dir="rtl"] .d14 :is(p, .lead, .sr-d > span, .gas-prose li) {
    line-height: 1.9;

}

html[dir="rtl"] .d14 :is(.eb, .chip, .mono, .gas-kicker, .gas-foot-formulas) {
    letter-spacing: 0;
    text-transform: none;
    font-size: 33px;
}

html[dir="rtl"] .d14 .company-logo-text b {
    direction: ltr;
    unicode-bidi: isolate;
    font-family: Arial, Tahoma, sans-serif;
    text-align: start;
    white-space: nowrap;
}

html[dir="rtl"] .d14 .company-logo-text small {
    line-height: 1.5;
    letter-spacing: 0;
    font-size: 11px;
}

html[dir="rtl"] .d14 :is(.gas-top-products, .gas-foot-formulas, .h-count, .tst-ctrl .cnt) {
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] .d14 .nav>ul>li>a {
    padding-inline: 8px;
    font-size: 14px;
    white-space: nowrap;
}

html[dir="rtl"] .d14 .since {
    font-size: clamp(32px, 10vw, 52px);
}

html[dir="rtl"] .d14 .sub {
    left: auto;
    right: 0;
    text-align: right;
}

html[dir="rtl"] .d14 .call {
    border-right: 0;
    border-left: 1px solid rgba(var(--menu-text-rgb), .14);
    margin-right: 0;
    margin-left: 8px;
    padding-right: 0;
    padding-left: 22px;
}

html[dir="rtl"] .d14 .nav>ul>li>a::after {
    transform-origin: left;
}

html[dir="rtl"] .d14 .nav>ul>li:hover>a::after,
html[dir="rtl"] .d14 .nav>ul>li.is-cur>a::after {
    transform-origin: right;
}

html[dir="rtl"] .d14 .drawer {
    left: 0;
    right: auto;
    transform: translateX(-100%);
}

html[dir="rtl"] .d14 .drawer>* {
    transform: translateX(-40px);
}

html[dir="rtl"] .d14.drawer-open .drawer,
html[dir="rtl"] .d14.drawer-open .drawer>* {
    transform: none;
}

html[dir="rtl"] .d14 .dr-nav a.sub-l {
    padding-left: 0;
    padding-right: 18px;
}

html[dir="rtl"] .d14 .text-left {
    text-align: right;
}

html[dir="rtl"] .d14 .scrim {
    background: linear-gradient(270deg, rgba(var(--ink-rgb), .95) 0%, rgba(var(--ink-rgb), .74) 38%, rgba(var(--ink-rgb), .18) 78%), linear-gradient(0deg, rgba(var(--ink-rgb), .75), rgba(var(--ink-rgb), 0) 38%);
}

html[dir="rtl"] .d14 .hero-in {
    justify-content: flex-start;
}

html[dir="rtl"] .d14 .h-txt h1 {
    font-size: clamp(42px, 5.5vw, 80px);
    line-height: 1.3;
    letter-spacing: 0;
}

html[dir="rtl"] .d14 .ln {
    padding-bottom: .12em;
}

html[dir="rtl"] .d14 .h-p {
    font-size: 17px;
}

html[dir="rtl"] .d14 .h-ctrl {
    right: auto;
    left: 40px;
}

html[dir="rtl"] .d14 .seg {
    text-align: right;
    letter-spacing: 0;
}

html[dir="rtl"] .d14 .seg .trk i {
    transform-origin: right;
}

html[dir="rtl"] .d14 .ab-main {
    left: auto;
    right: 0;
}

html[dir="rtl"] .d14 .ab-sub {
    right: auto;
    left: 0;
}

html[dir="rtl"] .d14 .ab-badge {
    right: auto;
    left: 0;
}

html[dir="rtl"] .d14 .ab-play {
    left: auto;
    right: 40px;
}

html[dir="rtl"] .d14 .ab-play .ring text {
    letter-spacing: 0;
}

html[dir="rtl"] .d14 .tab-ind {
    left: auto;
    right: 0;
}

html[dir="rtl"] .d14 .tabs.t1 .tab-ind {
    transform: translateX(-100%);
}

html[dir="rtl"] .d14 .tabs.t2 .tab-ind {
    transform: translateX(-200%);
}

html[dir="rtl"] .d14 .svc-row {
    text-align: right;
}

html[dir="rtl"] .d14 .svc-row::after {
    transform-origin: right;
}

html[dir="rtl"] .d14 .svc-row:hover .sr-t {
    transform: translateX(-6px);
}

html[dir="rtl"] .d14 .svc-row.is-on .sr-a {
    transform: rotate(45deg);
}

html[dir="rtl"] .d14 .chart svg {
    direction: ltr;
}

html[dir="rtl"] .d14 .pc-body {
    left: 110px;
    right: 32px;
}

html[dir="rtl"] .d14 .pc-arrow {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .d14 .pc-t,
html[dir="rtl"] .d14 .qt blockquote {
    line-height: 1.55;
}

html[dir="rtl"] .d14 .dots {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .d14 :is(.lg-track, .tp-track) {
    direction: ltr;
}

html[dir="rtl"] .d14 .lg-track .lgc {
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] .d14 .n-img .chip {
    left: auto;
    right: 30px;
}

html[dir="rtl"] .d14 .n-meta span+span::before {
    margin-right: 0;
    margin-left: 18px;
}

html[dir="rtl"] .d14 .foot h4::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .d14 .foot-about .company-logo {
    align-items: flex-start;
}

html[dir="rtl"] .d14 .gas-prose ul {
    padding-left: 0;
    padding-right: 22px;
}

html[dir="rtl"] .d14 .gas-prose li {
    padding-left: 0;
    padding-right: 6px;
}

html[dir="rtl"] .d14 .gas-table {
    text-align: right;
}

html[dir="rtl"] .d14 .gas-form-note {
    padding-left: 0;
    padding-right: 16px;
    border-left: 0;
    border-right: 3px solid var(--d14-red);
}

html[dir="rtl"] .d14 .gas-faq-list details p {
    padding-right: 0;
    padding-left: 40px;
}

html[dir="rtl"] .d14 .gas-skip {
    left: auto;
    right: 16px;
}

html[dir="rtl"] .d14 .gas-product-formula {
    right: auto;
    left: 0;
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] .d14 :is(.btn > svg.i, .gas-text-link > svg, .dr-nav > a > svg.i, .n-go > svg.i, .pc-arrow > svg.i, .sr-a > svg.i, .h-ctrl .arr > svg.i, .tst-ctrl .arr > svg.i) {
    scale: -1 1;
}

html[dir="rtl"] .d14 .btn:hover>svg.i {
    transform: translateX(-5px);
}

@media (max-width: 1200px) {
    html[dir="rtl"] .d14 .hdr-r {
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 900px) {
    html[dir="rtl"] .d14 .h-ctrl {
        left: 24px;
    }
}

@media (max-width: 640px) {
    .d14 .gas-hero .h-prog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .d14 .hdr-r {
        gap: 8px;
    }

    .d14 .cms-topbar {
        display: block;
        height: 46px;
    }

    .d14 .cms-topbar .tb-in {
        justify-content: flex-end;
    }

    .d14 .cms-topbar .tb-l,
    .d14 .cms-topbar .tb-r>.widget,
    .d14 .cms-topbar .tb-in>span {
        display: none;
    }

    .d14 .cms-topbar .tb-r {
        margin-inline-start: auto;
    }

    .d14 .cms-topbar .cms-language-switch a {
        min-height: 34px;
    }

    .d14 .hdr .company-logo {
        gap: 8px;
    }

    .d14 .hdr .company-logo-image img {
        height: 44px;
    }

    .d14 .hdr .company-logo-text b {
        font-size: 13px;
    }

    .d14 .hdr .company-logo-text small {
        font-size: 8px;
    }

    .d14 .hdr-in {
        gap: 8px;
    }

    html[dir="rtl"] .d14 .h-txt h1 {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.35;
    }

    html[dir="rtl"] .d14 .h-p {
        font-size: 15px;
        line-height: 1.8;
        margin-top: 18px;
    }

    html[dir="rtl"] .d14 .h-txt .eb {
        margin-bottom: 18px;
    }

    html[dir="rtl"] .d14 .h-cta {
        margin-top: 24px;
    }

    html[dir="rtl"] .d14 .h-ctrl {
        left: 18px;
    }

    html[dir="rtl"] .d14 .ab-play {
        right: 22px;
    }

    html[dir="rtl"] .d14 .company-logo-text small {
        font-size: 9px;
    }

    html[dir="rtl"] .d14 .pc-body {
        left: 26px;
        right: 26px;
    }

    html[dir="rtl"] .d14 .pc-arrow {
        left: 20px;
    }

    html[dir="rtl"] .d14 .gas-faq-list details p {
        padding-left: 0;
    }

    html[dir="rtl"] .d14 .gas-legal-links {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .d14 .drawer .company-logo {
        gap: 7px;
    }

    .d14 .drawer .company-logo-image img {
        height: 36px;
    }

    .d14 .drawer .company-logo-text b {
        font-size: 12px;
    }

    .d14 .drawer .company-logo-text small {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html[dir="rtl"] .d14 .drawer,
    html[dir="rtl"] .d14 .drawer>* {
        transition-duration: .01ms;
    }
}

/* Arabic language links also use Tajawal in the English interface. */
.cms-language-switch a[lang="ar"] {
    font-family: "Tajawal", Tahoma, Arial, sans-serif;
}
/* Fill the application and guide rows after removing the discontinued item. */
@media (min-width: 901px) {
    .d14-w--projects .prj-grid > .pi:last-child { grid-column: span 2; }
    .d14-w--news_grid .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
