﻿.header * {
    background: #fff;
    font-style: normal;
    font-weight: 400;
    font-size:1rem;
    font-family: "niweb",Helvetica,Arial,sans-serif;
    color: #000;
    height: auto;
    box-sizing: border-box;
}

b { 
    font-weight:bold !important;
    color: inherit;
}

#header .dropdown *{
    display: unset !important;
}

#menu-item-a {
    padding: 0 0 0 0 !important;
    margin: 0 !important;
    color: white;
    opacity: 1 !important;
}

#header {
    background:#fff;
}

.region-header {
    -ms-grid-columns: 18% 42% 28% 12%;
    grid-template-columns: 18% 42% 28% 12%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    position: inherit;
    padding: 0;
    display: grid;
    display: -ms-grid;
}

#header .header {
    z-index: 15;
    padding: 0;
    margin: 0;
    height: 180.9px;
}

.region-header .branding {
    grid-column-start: 1;
    -ms-grid-column:1;
    grid-column-end: 2;
    grid-row-start: 1;
    -ms-grid-row:1;
    -ms-grid-row-span:2;
    grid-row-end: 3;
    align-self: center;
}

#header.header .block-system-branding-block, #header.header .branding {
    padding: 0;
    display: block;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

#header a {
    opacity: 1;
    cursor: pointer;
    text-decoration:none;
    outline: 0;
    font-family: "niweb",sans-serif;
    background: transparent;
}

#header form {
    display: inline-block;
    margin-left: 3px;
}

.btn-logout {
    all: unset;
    padding-left: 10px;
    cursor: pointer;
    /*background: transparent;
    border: 1px solid #24bcf0;
    border-radius: 4px;
    color: #24bcf0;
    font-family: "niweb-bold",sans-serif;
    opacity: 1;
    outline: 0;
    text-decoration: none;
    padding-right: 24px;
    padding-top: 2px;
    padding-bottom: 2px;
    position: relative;*/
}

.btn-logout:after {
    /*font-family: icomoon;*/
    /*content: "\f040" !important;*/
    /*display: block !important;
    position: absolute;
    right: 6px;
    background: 0 0;
    top: calc(50% - 13px);*/
}

#header.header .block-system-branding-block, #header.header .branding {
    padding: 0;
    display: block;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

#header .container, #header .region-header {
    margin-right: auto;
    margin-left: auto;
    max-width: 1280px;
    width: 100%;
}

.region-header .block-we-megamenu, .region-header .menu--ilp-main {
    grid-column-start: 2;
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    -ms-grid-column-span:2;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 2;
    width: 100%;
    margin-top: 12px;
}

#header .block-we-megamenu {
    display: flex;
    float: none;
    align-self: flex-end;
    position: inherit;
    padding: 0;
    padding: 0 16px 0px;
}

.region-header #block-secondarymenu {
    width: 100%;
    grid-column-start: 2;
    -ms-grid-column: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    -ms-grid-row: 1;
    grid-row-end: 2;
    margin-top: 22px;
}

#block-secondarymenu {
    display: flex;
    align-self: center;
    justify-content: flex-start;
    padding-right: 16px;
    padding-left: 22px;
    margin-top: 22px;
}

.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

#block-secondarymenu ul.menu {
    display: flex;
    margin: 0;
}

    #block-secondarymenu ul.menu li {
        margin: 0px;
        line-height: 1;
        list-style: none;
    }

#header .menu-item {
    margin: 0;
    padding-top: 0.2em;
}

#header ul.menu {
    margin-left: 1em;
    padding: 0;
    list-style: none outside;
    text-align: left;
}

#header .block-we-megamenu .region-we-mega-menu {
    width: 100%;
}

#header .block-we-megamenu nav.navbar {
    margin: 0;
    position: inherit;
    background: transparent;
}

.navbar-we-mega-menu {
    background-color: #eff0f1;
    border: 0 none;
    padding: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    min-height: inherit;
}

#header .container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

    .navbar-we-mega-menu > .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }


.navbar-we-mega-menu .nav-tabs {
    border-bottom: 0 none;
}

.we-mega-menu-ul {
    display: -webkit-flex;
    display: flex;
}

.we-mega-menu-ul {
    position: relative;
    margin: 0;
    border-bottom: 0 none;
    padding: 0;
}

#header .nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.we-mega-menu-ul > .dropdown-menu {
    z-index: 21;
}

.we-mega-menu-ul > .we-mega-menu-li {
    margin: 0;
    border-left: 1px solid rgba(0,0,0,0.1);
}

.we-mega-menu-ul .dropdown-menu {
    top: auto;
    position: relative;
}

.we-mega-menu-ul > .we-mega-menu-li {
    display: -webkit-flex;
    display: flex;
}
.login-flex-container {
    display: flex; /* Enables flexbox */
    align-items: center; /* Aligns items vertically in the center */
    gap: 10px; /* Adds spacing between items (optional) */
    padding-bottom: 10px;
    cursor: pointer;
}

.login-icon {
    width: 15px; /* Explicit size for SVG to avoid inconsistencies */
    height: 15px;
    margin-left: 10px;
}

#chevron {
    width: 15px; /* Ensure consistent size for chevron */
    height: 15px;
}


.we-mega-menu-ul .we-mega-menu-li {
    border: none;
    padding: 0;
    padding-bottom: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    position: static;
}

.navbar-we-mega-menu .dropdown-menu {
    min-width: initial;
    background-color: transparent;
    position: relative;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

#block-secondarymenu ul.menu a.btn-outline {
    border: 1px solid #f1f0ec;
    border-radius: 4px;
    line-height: 1;
    margin: 0;
    padding: 6px 12px 4px;
    background-color: #1a778e;
    color: #fff;
}

a.btn.btn-outline:hover, a.btn.btn-outline:focus {
    opacity: 1 !important;
    border-color: #1C8199 !important;
    background: #1C8199 !important;
    color: #fff !important;
}

#block-secondarymenu ul.menu a:focus {
    color: #107298;
}

#block-secondarymenu ul.menu a {
    font-size: 0.74rem;
    text-transform: uppercase;
    opacity: .7;
    font-family: "niweb",Helvetica,Arial,sans-serif;
    display: block;
    margin: 2px 8px;
    padding: 5px 4px;
    border: 1px solid transparent;
    text-decoration: none;
}

a:active, a:hover {
    outline: 0;
}

#header .btn.focus, #header .btn:focus, #header .btn:hover {
    color: #333;
    text-decoration: none;
}

#block-secondarymenu ul.menu span.btn.login {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    font-family: "niweb",Helvetica,Arial,sans-serif;
    display: block;
    text-decoration: none;
    margin: 0 0 0 8px;
    padding: 6px 24px 4px 12px;
    border: 1px solid #8fbd38;
    background: #8fbd38;
    color: #fff;
    border-radius: 4px;
    line-height: 1;
}

.login-block {
    position: absolute;
    max-width: 1370px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
}

    .login-block.active {
        display: block !important;
    }

    .login-block .field {
        position: absolute;
        top: 108px;
        right: 16%;
        max-width: 272px;
        background: white;
        z-index: 30;
        /*padding: 8px 16px;*/
        border: 1px solid #f1f0ec;
        border-radius: 4px;
        box-shadow: 4px 8px 8px rgba(0,0,0,0.113);
    }

    .text-holder {
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

        .login-block .field div.btn {
            float: right;
            padding: 0;
            margin: 0 0 4px;
        }

        .login-block .field h4 {
            clear: both;
            font-size: 1rem;
            color: #444343;
            /*border-top: 1px solid #f1f0ec;*/
            padding-top: 4px;
            margin-bottom: 0.5rem;
            margin-top: 0.5rem;
            font-family: niweb-bold, sans-serif;
            font-weight: 400;
        }

        .login-block .field p {
            max-width: 100%;
            font-size: .875rem;
        }
       

        .login-block .field ul {
            list-style: none;
            margin: 0;
            padding: 0;
            font-size: .875rem;
        }

            .login-block .field ul li {
                display: inline-block;
                padding-left: 15px;
            }

            .header .login-block .login-buttons ul li:first-child {
                display: block; 
                border-bottom: 1px solid #ccc; 
                width: 100%;
                box-sizing: border-box; 
            }


                .login block .login-buttons ul li a {
                 font-family: "niweb",sans-serif;
                }

                .login-block .field ul li:first-child a {
                    /*background: #8fbd38 !important;
                    color: #fff;
                    border-color: #8fbd38;*/
                }

                .login-block .field ul li a {
                    /*border: 1px solid #24bcf0;*/
                    border-radius: 4px;
                    /*color: #24bcf0;*/
                    padding: 6px 24px 6px 12px;
                    text-decoration: none;
                    font-family: "niweb",Helvetica,Arial,sans-serif;
                    position: relative;
                }

                    .login-block .field ul li a:before {
                        font-family: icomoon;
                        /*content: "\f040" !important;*/
                        display: block !important;
                        position: absolute;
                        right: 6px;
                        background: 0 0;
                        top: calc(50% - 13px);
                    }

                .login-block .field ul li:first-child a:before {
                    /*content: "\f023" !important;*/
                }

                .login-block .field ul li:first-child:after {
                    /*content: "or";
                    margin: 0 8px;*/
                }


.field--name-body ul li, .field--name-field-content ul li {
    list-style-type: none;
    margin-bottom: .5rem;
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
}

#header .btn {
    background-color:#107298;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px
}

 #header .btn > a{
     color:white;
 }

 /*.login-menu{
     
 }
    .login-menu > p, h3{
        text-align:left;
    }
    .login-menu > h3 {
        clear: both;
        color: #24bcf0;
        font-size: 1rem;
        border-top: 1px solid #f1f0ec;
        padding-top: 4px;
        margin: 0;
        font-family: "niweb",Helvetica,Arial,sans-serif;
    }
    }
    .login-menu > ul{
        padding:0px !important;
    }
        .login-menu > ul > li {
            text-align: left;
            display: inline-block;
            width: 80px;
            border-radius: 3px;
        }

        .login-menu > ul > #or {
            width: 30px;
        }
    .login-menu > ul > li > a {
        color:white;
        font-size: .8rem;
        font-weight:normal;
    }*/



#btn1 {
    border: 1px solid #8fbd38;
    background-color: #8fbd38;
}

#btn2 {
    background-color: white;
    border: 1px solid #24bcf0;
}

    #btn2 > a {
        color: #24bcf0;
    }

#header .block-we-megamenu .we-mega-menu-ul > .dropdown-menu:hover > a, #header .block-we-megamenu .we-mega-menu-ul > .dropdown-menu:hover > span, #header .block-we-megamenu .we-mega-menu-ul > .dropdown-menu:focus > a, #header .block-we-megamenu .we-mega-menu-ul > .dropdown-menu:focus > span {
    text-decoration: none;
    color: #333;
    z-index: 2;
    text-align: left;
    position: relative;
}

.we-mega-menu-ul > .we-mega-menu-li > a:hover, .we-mega-menu-ul > .we-mega-menu-li > a:focus {
    background: rgba(0,0,0,0.1);
    border: 0 none;
    border-right-color: currentcolor;
    border-right-style: none;
    border-right-width: 0px;
    color: #666;
    text-decoration: none;
    text-shadow: initial;
}

#header .block-we-megamenu .we-mega-menu-li > a::after, #header .block-we-megamenu .we-mega-menu-li > .we-megamenu-nolink::after {
    content: "";
    position: absolute;
    bottom: 0;
    display: block !important;
    width: 100%;
    height: 8px;
    background: transparent;
    opacity: 1;
    left: 0;
    top: 100%;
    bottom: inherit;
    top: calc(100% + 14px);
}

.nav-tabs > li > a {
    margin-right: unset;
}
#header .block-we-megamenu .we-mega-menu-li {
    border: 0;
    padding-bottom: 9px;
    position: relative;
}

.block-we-megamenu li {
    border-right: 1px solid #f1f0ec !important;
}

    #header .block-we-megamenu .we-mega-menu-li.active-trail a, #header .block-we-megamenu .we-mega-menu-li.active-trail .we-megamenu-nolink, #header .block-we-megamenu .we-mega-menu-li:hover a, #header .block-we-megamenu .we-mega-menu-li:hover b, #header .block-we-megamenu .we-mega-menu-li:hover .we-megamenu-nolink, #header .block-we-megamenu .we-mega-menu-li:focus a, #header .block-we-megamenu .we-mega-menu-li:focus .we-megamenu-nolink {
        text-decoration: none;
        color: #24BCF0 !important;
        z-index: 2;
        background: transparent !important;
    }

        #header .block-we-megamenu .we-mega-menu-li.active-trail a:after, #header .block-we-megamenu .we-mega-menu-li.active-trail .we-megamenu-nolink:after, #header .block-we-megamenu .we-mega-menu-li:hover a:after, #header .block-we-megamenu .we-mega-menu-li:hover .we-megamenu-nolink:after, #header .block-we-megamenu .we-mega-menu-li:focus a:after, #header .block-we-megamenu .we-mega-menu-li:focus .we-megamenu-nolink:after {
            background: #24BCF0;
        }

    #header .block-we-megamenu .we-mega-menu-li:hover, #header .block-we-megamenu .we-mega-menu-li:focus {
        position: inherit;
    }

    #header .block-we-megamenu .we-mega-menu-li > a, #header .block-we-megamenu .we-mega-menu-li > .we-megamenu-nolink {
        padding: 4px 48px 2px 20px !important;
        text-decoration: none;
        text-align: left;
        -webkit-transition: all 400ms ease;
        -ms-transition: all 400ms ease;
        transition: all 400ms ease;
        color: #333;
        display: block;
        font-weight: 400;
        font-family: "niweb",Helvetica,Arial,sans-serif;
        cursor: pointer;
        text-decoration: none;
        position: relative;
        background: transparent;
        text-transform: initial;
        text-transform: inherit !important;
    }

    #header .block-we-megamenu .we-mega-menu-li > b {
        -webkit-transition: all 400ms ease;
        transition: all 400ms ease;
        -ms-transition: all 400ms ease;
    }

        #header .dropdown-menu > a:before {
            font-family: icomoon;
            content: "\f078" !important;
            display: block !important;
            position: absolute;
            right: 16px;
            background: 0;
        }

        #header .block-we-megamenu .we-mega-menu-li > a:after, #header .block-we-megamenu .we-mega-menu-li > .we-megamenu-nolink:after {
            content: "";
            position: absolute;
            bottom: 0;
            display: block !important;
            width: 100%;
            height: 5px;
            background: transparent;
            opacity: 1;
            left: 0;
            top: 100%;
            bottom: inherit;
            top: calc(100% + 4px);
        }

#header .block-we-megamenu .we-mega-menu-li > a:hover, #header .block-we-megamenu .we-mega-menu-li > a:focus, #header .block-we-megamenu .we-mega-menu-li > a:focus *, #header .block-we-megamenu .we-mega-menu-li > .we-megamenu-nolink:hover, #header .block-we-megamenu .we-mega-menu-li > a:after, #header .block-we-megamenu .we-mega-menu-li > .we-megamenu-nolink :focus {
    color: #24bcf0 !important;
}

#menu-item-a{
    padding: 0 0 0 0;
    margin: 0;
}

.region-header .erdf {
    grid-column-start: 4;
    -ms-grid-column: 4;
    grid-column-end: 5;
    grid-row-start: 1;
    -ms-grid-row: 1;
    grid-row-end: 3;
    -ms-grid-row-span: 2;
    width: 100%;
    padding: 0 16px 0 8px;
    align-self: center;
    display: flex;
}

.erdf img {
    max-width: 100%;
    height: auto;
    vertical-align:middle;
    align-self:center;
}

.region-header #myLinks {
    display: none;
    grid-row: 2;
    grid-column-start: 1;
    grid-column-end: 3;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    background: #eee!important;
}

#block-responsivemenumobileicon {
    display:none!important;
}

@media screen and (max-width:899px) {
    #header .block-we-megamenu {
        display:none!important;
    }
    #block-secondarymenu {
        display: none!important;
    }
    .region-header .erdf {
        display: none!important;
    }
    #block-responsivemenumobileicon::before {
        font-family: icomoon;
        content: "\f0c9" !important;
        display: block !important;
        background: 0;
        font-size: x-large;
        padding-right: 5px;
    }
    .region-header{
        -ms-grid-columns: 75% 25%;
        grid-template-columns: 75% 25%;
        display: grid;
        display: -ms-grid;
    }
    #block-responsivemenumobileicon {
        grid-row: 1;
        grid-column: 2;
        -ms-grid-row: 1;
        -ms-grid-column: 2;
        display: flex!important;
        color: #107298 !important;
        align-self: center;
    }
        #block-responsivemenumobileicon a {
            color: #107298 !important;
            font-size: x-large;
            text-align:center;
        }
    #block-sitebranding {
        grid-row: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-row-span: 1;
    }

    #myLinks a {
        padding: 7px 16px;
        display: block;
        font-size: large;
    }
    
    #myLinks ul {
        display: table;
        width: 100%;
        list-style: none;
        padding: 0px;
    }
    
    #myLinks li {
        display: table-cell;
        text-align:center;
    }

    #myLinks .logout a {
        color: red;
    }

    #myLinks .profile a {
        color: #107298;
    }
}