/*
 * Shared colours that meet WCAG 2.1 AA contrast. --text-muted is the lightest grey that
 * stays at least 4.5:1 on white and on the light grey panels used across the site.
 */
:root {
    --text-muted: #6b6b6b;
}

/*
 * Type scale. Sizes are in rem so text follows the visitor's browser font-size setting.
 * --fs-xs is the smallest text on the site (tags, labels, dates); nothing goes below it.
 * Reading text (articles, descriptions, alert details) uses --fs-base; dense data views
 * such as tables and station lists may use --fs-sm.
 */
:root {
    --fs-xs: 0.75rem;    /* 12px */
    --fs-sm: 0.875rem;   /* 14px */
    --fs-base: 1rem;     /* 16px */
    --fs-lg: 1.125rem;   /* 18px */
    --fs-xl: 1.25rem;    /* 20px */
    --fs-2xl: 1.5rem;    /* 24px */
    --fs-3xl: 2rem;      /* 32px */
}

/*
 * Visitors who ask their system for reduced motion: stop pulsing, looping and sliding
 * animations, and jump instead of smooth-scrolling. Content still appears; it just
 * doesn't move to get there.
 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Bulma's grey utility (#7a7a7a) is 4.29:1 on white; templates use it for dates and meta text */
.has-text-grey {
    color: var(--text-muted) !important;
}

html, body {
    font-size: 16px;
    width: 100%;
    height: 100%;
    top: 0 !important;
}

[dir="rtl"] body {
    font-family: "Noto Sans Arabic", sans-serif;
}

.page-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

main {
    background: #fff;
    flex-grow: 1;
}

/* Wraps {% block content %} in base.html; skip link target */
.site-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Programmatic focus target for the skip link, not an interactive control */
.site-main:focus {
    outline: none;
}

/*
 * Visible keyboard focus everywhere (WCAG 2.4.7). Dark ring with a white halo so it shows
 * on white pages and on the admin-chosen brand colour (footer, buttons) alike.
 * !important because many component styles remove the outline on :focus.
 */
:focus-visible {
    outline: 3px solid #0b0c0c !important;
    outline-offset: 0 !important;
    box-shadow: 0 0 0 6px #fff !important;
}

.site-main:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Bulma's hover-only dropdowns: also open while the keyboard is inside them */
.dropdown.is-hoverable:focus-within .dropdown-menu {
    display: block;
}

.skip-link {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: 10000;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    font-weight: 600;
    transform: translateY(-120%);
}

.skip-link:focus {
    transform: translateY(0);
    color: #fff;
    outline: 3px solid #ffbf47;
    outline-offset: 0;
}

.has-no-border {
    border: none !important;
}

.hero-header, main, footer {
    flex-shrink: 0;
}

.cta-btn {
    background-color: transparent;
}

/*Leaflet pane index*/
.leaflet-pane {
    z-index: 1 !important;
}


.button.submit-button {
    background-color: #226296;
    color: #fff;
}

.button.submit-button:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hero {
    background-position: center;
    /* background-color: #f8f9fb; */
    background-size: cover;
    overflow: hidden;
    box-shadow: inset 0 0 0 100vw rgb(0 0 0 / 20%);

}


main section {
    padding: 90px 0;
}

#users {
    height: auto;
    margin-top: 0;
}


.megamenu .navbar-item svg {
    color: var(--text-color);
}

.navbar-item svg path {
    fill: currentColor !important

}

.home svg path {
    fill: currentColor !important;
}

@keyframes scale_up_down {

    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1)
    }
    100% {
        transform: scale(1)
    }
}


.intro-image svg {
    height: 100% !important;
    width: 100% !important;
}

/* .megamenu .navbar-item svg path {
    fill: currentColor !important;
} */

.megamenu .navbar-item svg:hover {
    color: #3e8ed0 !important;
}


.image.work svg {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--text-muted, #6b6b6b);
}


.hero {
    position: relative;
}

#banner-video {
    display: none;
}

#banner-video {
    position: absolute;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    width: 100%;
    pointer-events: none
}

#banner-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.card img {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}


a.cta-btn {
    cursor: pointer !important;
}


.application {
    /* box-shadow: 0 0 4px 2px rgba(31, 51, 73, 0.25) !important; */
    cursor: pointer;
}


.footer {
    padding: 60px 0;
}

.footer .column {
    padding: 4px;
}


/* Option groups render as <fieldset>/<legend> (bulma/forms/field.html); look like a plain field */
fieldset.field {
    border: 0;
    padding: 0;
    margin-inline: 0;
    min-width: 0;
}

fieldset.field > legend.label {
    padding: 0;
}

/* Error summary at the top of a form after a failed submit (bulma/forms/form.html) */
.form-error-summary .form-error-summary-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-error-summary ul {
    list-style: disc;
    margin-inline-start: 1.25rem;
}

.form-error-summary a {
    color: inherit;
    text-decoration: underline;
}

.form-required-note {
    margin-bottom: 0.75rem;
}

legend.required:after,
label:not(:empty).required:after {
    content: '*';
    color: #c00000;
    padding-left: 2px;
}


.checkbox > input {
    margin-inline-end: 10px;
}

input[type='checkbox'] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    vertical-align: middle;
}

.form-column {
    background-color: #f8f9fb;
    padding: 50px;
}

/*768px and lower*/
@media screen and (max-width: 768px) {

}


@media screen and (max-width: 1024px) {

    #banner-video {
        padding-bottom: 70%;
    }


}

/*768px and lower*/
@media screen and (max-width: 768px) {

    main section {
        padding: 40px 0;
    }

    .container, .work.container {
        max-width: 90vw;
    }


    #banner-video {
        display: none !important;
    }


    .hero {
        max-height: 400px;
    }


    .hero-body .title {
        width: 100%;
    }

    .hero.is-large .hero-body {
        padding-top: 150px
    }


    .footer {
        padding: 40px 10px;
    }

    .footer .column {
        padding-bottom: 20px;
    }

    .form-column {
        padding: 30px;
    }
}


.navbar-dropdown a.navbar-item:focus, .navbar-dropdown a.navbar-item:hover {
    background-color: transparent;

}

.hero-body {
    padding: 3rem 3rem !important;
}

.button.is-dark {
    background-color: var(--text-color);
}

.elevation-24 {
    box-shadow: 0 11px 15px -7px rgba(138, 138, 138, .1), 0 24px 38px 3px rgba(138, 138, 138, .1), 0 9px 46px 8px rgba(138, 138, 138, .12) !important
}

.elevation-23 {
    box-shadow: 0 11px 14px -7px rgba(138, 138, 138, .1), 0 23px 36px 3px rgba(138, 138, 138, .1), 0 9px 44px 8px rgba(138, 138, 138, .12) !important
}

.elevation-22 {
    box-shadow: 0 10px 14px -6px rgba(138, 138, 138, .1), 0 22px 35px 3px rgba(138, 138, 138, .1), 0 8px 42px 7px rgba(138, 138, 138, .12) !important
}

.elevation-21 {
    box-shadow: 0 10px 13px -6px rgba(138, 138, 138, .1), 0 21px 33px 3px rgba(138, 138, 138, .1), 0 8px 40px 7px rgba(138, 138, 138, .12) !important
}

.elevation-20 {
    box-shadow: 0 10px 13px -6px rgba(10, 10, 10, .2), 0 20px 31px 3px rgba(10, 10, 10, .14), 0 8px 38px 7px rgba(10, 10, 10, .12) !important
}

.elevation-19 {
    box-shadow: 0 9px 12px -6px rgba(138, 138, 138, .1), 0 19px 29px 2px rgba(138, 138, 138, .1), 0 7px 36px 6px rgba(138, 138, 138, .12) !important
}

.elevation-18 {
    box-shadow: 0 9px 11px -5px rgba(138, 138, 138, .1), 0 18px 28px 2px rgba(138, 138, 138, .1), 0 7px 34px 6px rgba(138, 138, 138, .12) !important
}

.elevation-17 {
    box-shadow: 0 8px 11px -5px rgba(138, 138, 138, .1), 0 17px 26px 2px rgba(138, 138, 138, .1), 0 6px 32px 5px rgba(138, 138, 138, .12) !important
}

.elevation-16 {
    box-shadow: 0 8px 10px -5px rgba(138, 138, 138, .1), 0 16px 24px 2px rgba(138, 138, 138, .1), 0 6px 30px 5px rgba(138, 138, 138, .12) !important
}

.elevation-15 {
    box-shadow: 0 8px 9px -5px rgba(138, 138, 138, .1), 0 15px 22px 2px rgba(138, 138, 138, .1), 0 6px 28px 5px rgba(138, 138, 138, .12) !important
}

.elevation-14 {
    box-shadow: 0 7px 9px -4px rgba(138, 138, 138, .1), 0 14px 21px 2px rgba(138, 138, 138, .1), 0 5px 26px 4px rgba(138, 138, 138, .12) !important
}

.elevation-13 {
    box-shadow: 0 7px 8px -4px rgba(138, 138, 138, .1), 0 13px 19px 2px rgba(138, 138, 138, .1), 0 5px 24px 4px rgba(138, 138, 138, .12) !important
}

.elevation-12 {
    box-shadow: 0 7px 8px -4px rgba(138, 138, 138, .1), 0 12px 17px 2px rgba(138, 138, 138, .1), 0 5px 22px 4px rgba(138, 138, 138, .12) !important
}

.elevation-11 {
    box-shadow: 0 6px 7px -4px rgba(138, 138, 138, .1), 0 11px 15px 1px rgba(138, 138, 138, .1), 0 4px 20px 3px rgba(138, 138, 138, .12) !important
}

.elevation-10 {
    box-shadow: 0 6px 6px -3px rgba(138, 138, 138, .1), 0 10px 14px 1px rgba(138, 138, 138, .1), 0 4px 18px 3px rgba(138, 138, 138, .12) !important
}

.elevation-9 {
    box-shadow: 0 5px 6px -3px rgba(138, 138, 138, .1), 0 9px 12px 1px rgba(138, 138, 138, .1), 0 3px 16px 2px rgba(138, 138, 138, .12) !important
}

.elevation-8 {
    box-shadow: 0 5px 5px -3px rgba(138, 138, 138, .1), 0 8px 10px 1px rgba(138, 138, 138, .1), 0 3px 14px 2px rgba(138, 138, 138, .12) !important
}

.elevation-7 {
    box-shadow: 0 4px 5px -2px rgba(138, 138, 138, .1), 0 7px 10px 1px rgba(138, 138, 138, .1), 0 2px 16px 1px rgba(138, 138, 138, .12) !important
}

.elevation-6 {
    box-shadow: 0 3px 5px -1px rgba(138, 138, 138, .1), 0 6px 10px 0 rgba(138, 138, 138, .1), 0 1px 18px 0 rgba(138, 138, 138, .12) !important
}

.elevation-5 {
    box-shadow: 0 3px 5px -1px rgba(138, 138, 138, .1), 0 5px 8px 0 rgba(138, 138, 138, .1), 0 1px 14px 0 rgba(138, 138, 138, .12) !important
}

.elevation-4 {
    box-shadow: 0 2px 4px -1px rgba(138, 138, 138, .1), 0 4px 5px 0 rgba(138, 138, 138, .1), 0 1px 10px 0 rgba(138, 138, 138, .12) !important
}

.elevation-3 {
    box-shadow: 0 3px 3px -2px rgba(10, 10, 10, .2), 0 3px 4px 0 rgba(10, 10, 10, .14), 0 1px 8px 0 rgba(10, 10, 10, .12) !important
}

.elevation-2 {
    box-shadow: 0 3px 1px -2px rgba(138, 138, 138, .1), 0 2px 2px 0 rgba(138, 138, 138, .1), 0 1px 5px 0 rgba(138, 138, 138, .12) !important
}

.elevation-1 {
    box-shadow: 0 2px 1px -1px rgba(138, 138, 138, .1), 0 1px 1px 0 rgba(138, 138, 138, .1), 0 1px 3px 0 rgba(138, 138, 138, .12) !important
}

.elevation-0 {
    box-shadow: 0 0 0 0 rgba(138, 138, 138, .1), 0 0 0 0 rgba(138, 138, 138, .1), 0 0 0 0 rgba(138, 138, 138, .12) !important
}
