@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.roboto-bold {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.roboto-black {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

:root {
    /* Custumor colors */
    --primary-color: #0078B9;
    --secondary-color: #005888;
    --low-background-color: #E4F0FF;

    /* Default colors */
    --stroke-color: #878787;
    --accessible-gray-color: #757575;
    --disabled-color: #C2C2C2;

    --default-text-color: #000;

    --default-white: #fff;
    --default-black: #000;

    /* Focus colors */
    --focus-outline-color: currentColor;
    --focus-outline-offset: 0.2rem;
    --focus-outline-style: solid;
    --focus-outline-width: 2px;
}

/* Start gobal */

.a-skiplink {
    background-color: var(--default-white);
    border: 2px solid var(--stroke-color);
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;
}

.a-skiplink:focus {
    left: 1em;
    top: 126px;
    z-index: 1000;
}

#content,
.grid {
    max-width: 1260px;
    margin: 0 auto;
    padding: 60px 30px;
}

#aspnetForm {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#container {
    flex: 1 0 auto;
}

/* Fontawesome icon before */
.b-fa {
    font-weight: 400;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.b-fa:before {
    font-size: 12px;
    font-family: "Font Awesome 6 Pro";
    content: "\f054";
    margin-right: 4px;
    position: absolute;
    left: 0;
}

/* Fontawesome icon after */
.a-fa {
    font-weight: 400;
    display: inline-block;
    position: relative;
}

.a-fa:after {
    font-size: 13px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 700;
    content: "\f08e";
    display: inline-block;
    margin-left: 8px;
    top: -1px;
    position: relative;
}

.breadcrum_container,
#container_menu_top,
#apptitle,
#header_top,
#pull {
    display: none;
}

/* End global */

/* Start menu */
#innercontainer header {
    width: 100%;
    background: var(--default-white);
    box-shadow: 0 2px 12.8px 0 rgba(0, 0, 0, 0.08), 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    font-family: "Roboto", sans-serif;
    z-index: 999;
}

.b_header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1260px;
    padding: 15px 30px;
    margin: 0 auto;
    line-height: 27px;
}

.logo {
    display: block;
    max-width: 270px;
    max-height: 60px;
    width: 100%;
    height: 100%;
}

.b_header-wrapper a:focus-visible {
    color: var(--primary-color);
}

.b_menu-search-wrapper {
    position: relative;
}

#container_menu {
    overflow: visible !important;
}

.column-2,
.b_header-wrapper {

    ul,
    li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
}

#p108,
#p109 {
    display: none;

}

.authenticated_False #p108,
.authenticated_True #p109 {

    display: block;
}

.subMenu {
    display: none;
    position: absolute;
    top: 40px;
    background: #FFF;
    z-index: 101;
    box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.1), 0px 24px 32px 0px rgba(0, 0, 0, 0.12);

    li {
        a {
            padding: 16px 24px;
            color: var(--text-color);
        }
    }
}

.menu {
    display: flex;
    flex-direction: row;
    gap: 30px;

    a {
        display: flex;
        align-items: center;
        padding: 16px 0;
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
        line-height: normal;
        color: var(--default-black);
    }

    &.active a,
    a:hover {
        text-decoration-line: underline;
        text-decoration-thickness: 1.5px;
        text-decoration-color: var(--primary-color);
        text-underline-offset: 8px;

        +.subMenu li {
            a {
                text-decoration: none;
            }

            &.active a {
                text-decoration-line: underline;
                text-decoration-thickness: 2px;
                text-decoration-color: var(currentColor);
                text-underline-offset: 3px;
            }
        }
    }

    .subMenu {
        padding: 12px 0;

        li {
            a {
                width: 100%;
                padding: 12px 16px;
                font-size: 17px;
                color: var(--text-color);
            }
        }
    }

    a[aria-expanded="false"],
    a[aria-expanded="true"] {

        &:after {
            font-family: "Font Awesome 6 Pro";
            font-size: 18px;
            font-weight: 400;
            content: "\f078";
            display: inline-block;
            margin-left: 10px;
        }
    }

    a[aria-expanded="true"] {

        &:after {
            content: "\f077";
        }

        +.subMenu {
            display: flex;
            flex-direction: column;
        }
    }
}


#innerheader p {
    margin: 0;
}

/* End menu */

/* Start footer */
#footer {
    margin-top: auto;
}

#innerfooter {
    max-width: 100%;
    background: var(--secondary-color);
    font-family: "Roboto", sans-serif;
}

#innerfooter .grid {
    display: flex;
    justify-content: space-between;
    line-height: 27px;
}

.column-2 .h3-style {
    color: var(--default-white);
    margin-bottom: 15px;
    margin-top: 0;
    line-height: normal;
    font-weight: 600;
    font-size: clamp(1.125rem, 0.6875rem + 1vw, 1.25rem);
}

.column-1,
.column-2,
.inner-column {
    width: 50%;
}

.column-2 {
    display: flex;
    gap: 40px;
    width: 580px;
}

.inner-column ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.column-2 a {
    font-size: 16px;
    text-decoration: none;
    color: var(--default-white);
}

.column-2 a:hover {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: currentColor;
    text-underline-offset: 3px;
}

.logo_footer {
    max-width: 225px;
    max-height: 50px;
    height: 100%;
    width: 100%;
}

.logo_abf_footer {
    max-width: 50px;
    width: 100%;
}

.lowerfooter span {
    color: var(--default-black);
    font-size: 14px;
}

.lowerfooter {
    padding: 15px 30px;
    background: var(--default-white);
    max-width: 100%;
}

.full-column {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 18px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* End footer */

@media screen and (max-width: 900px) {
    .b_menu-search-wrapper {
        height: 100%;
        position: static;
    }

    .b_menu-search-container,
    .b_menu-search-wrapper {
        padding: 0;
    }

    #container_menu {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #pull {
        color: var(--primary-color);
        background: var(--default-white);
        display: flex;
        align-items: center;
        text-decoration: none;
        padding: 0 16px 0 0;
        margin: 0 2%;
        font-size: 17px;
    }

    #pull:before {
        font-family: "Font Awesome 6 Pro";
        font-size: 21px;
        font-weight: 400;
        content: "\f0c9";
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #pull[aria-expanded="true"]::before {
        content: "\f00d";
    }

    .menu {
        display: none;

        li {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        #p108,
        #p109 {
            margin: 0 32px;
        }

        & li {
            align-items: flex-start;
            width: 100%;
            height: unset;

            .subMenu {
                padding: 0;

                & li {
                    a {
                        padding-right: 48px;
                        padding-left: 48px;
                    }
                }
            }

            a {
                padding: 12px 32px;
            }
        }
    }

    .b_menu-open {
        display: block;
        position: absolute;
        top: 90px;
        right: 0;
        z-index: 99;
        background: var(--default-white);
        width: 100%;
        padding-bottom: 24px;
        height: fit-content;
        box-shadow: 2px 6px 16px -8px rgba(0, 0, 0, .5);

        a {
            display: block;
            padding: 20px;
            width: 100%;
        }
    }

    .subMenu {
        position: static;
        width: 100%;
        box-shadow: none;
    }
}

@media screen and (max-width: 760px) {
    .b_header-wrapper {
        padding: 12px;
    }

    .logo {
        max-height: 50px;
    }

    .b_menu-open {
        top: 74px;
    }

    #footer .grid {
        flex-direction: column;
        gap: 40px;
    }

    .column-1,
    .column-2 {
        width: 100%;
    }
}


@media screen and (max-width: 500px) {
    .column-2 {
        flex-direction: column;
    }
}