﻿.nav_tertiary--account-link {
    position: absolute;
    top: 0;
    right: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    /*font-weight: 500;*/
    z-index: 20;
}

    .nav_tertiary--account-link a {
        width: 220px;
        margin: 0;
        border: none;
        /*background-color: #173A64;*/
        color: #ffffff;
        margin: 0;
        line-height: 20px;
    }

        .nav_tertiary--account-link a.collapsed {
            color: #173A64;
            background-color: #FFC82C;
            line-height: 20px;
            padding-left: 0;
            padding-right: 0;
        }

            .nav_tertiary--account-link a.collapsed:hover, #nav_tertiary .nav_tertiary--account-link a.collapsed:focus {
                color: #FFC82C;
            }

                .nav_tertiary--account-link a.collapsed:hover:before, #nav_tertiary .nav_tertiary--account-link a.collapsed:focus:before {
                    background-color: #173A64;
                }

.no-underline {
    text-decoration: none !important;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    /*display: none;*/
    position: absolute;
    background-color: #fff;
    max-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    height: 0px;
    transition: all 0.2s;
    visibility: hidden;
    opacity: 0;
}

    .dropdown-content li a {
        color: #333;
        padding-left: 12px;
        text-decoration: none;
        display: block;
        margin-top: 16px;
        border-left: solid 2px transparent;
        font-size: 1.4rem;
        font-weight: 500;
        cursor: pointer;
    }

        .dropdown-content li a:hover {
            background-color: transparent;
            border-left: solid 2px #ffc82c;
            color: #173a64;
        }

.dropdown:hover .dropdown-content {
    /*display: block;*/
    opacity: 1;
    visibility: visible;
    height: 124px;
}

.dropdn-loggedin {
    position: absolute;
    top: 5px;
    right: -60px;
    width: 220px;
    font-size: 1.4rem;
    font-weight: 500;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    height: 0px;
    transition: all 0.2s;
    visibility: hidden;
    opacity: 0;
    animation: fadein 1s;
    -webkit-animation: fadeIn 1s;
}

    .dropdn-loggedin li a {
        color: #333;
        padding-left: 12px;
        text-decoration: none;
        display: block;
        margin-top: 16px;
        border-left: solid 2px transparent;
        font-size: 1.4rem;
        font-weight: 500;
        cursor: pointer;
    }

        .dropdn-loggedin li a:hover {
            background-color: transparent;
            border-left: solid 2px #ffc82c;
            color: #173a64;
        }

.dropdown:hover .dropdn-loggedin {
    /*display: block;*/
    opacity: 1;
    visibility: visible;
    height: 164px;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }

    80% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.dropdown:hover .dropbtn {
    background-color: #173a64;
    color: #ffc82c;
    cursor: default;
}

.dropdown:hover .dropbtn-loggedin {
    background-color: #173a64;
    color: #fff;
}

.dropbtn-loggedin {
    position: absolute;
    top: -71px;
    right: -60px;
    width: 220px;
    padding: 14px 10px !important;
}

/*#account-login-button a.btn-primary::before, #sso-username a.btn-primary::before {
    background: #173a64;
}*/

#account-login-button a.btn-primary::before {
    background: #173a64;
}

#sso-username-link {
    cursor: context-menu !important;
}

.sso-mobile-header__buttons.dropdown-mobile {
    z-index: 9999;
}
