/* (c) Axel Naumann, CERN; 2020-03-02 */
/* Adapted from https://www.w3schools.com/howto/howto_css_dropdown.asp */
#top, #titlearea, #projectname, #projectalign, #projectrow {
    overflow: visible !important;
}

.dropbtn {
    margin-left: 30px;
    border: 1px solid lightgray;
    color: white;
    background-color: #346295;
    padding: 6px 16px 6px 16px;
    font-size: 14px;
    min-width: 150px;
}

    .dropbtn:after {
        content: '';
        border: 4px solid transparent;
        border-top: 4px solid white;
        margin-left: 12px;
        margin-bottom: 3px;
        display: inline-block;
        vertical-align: bottom;
    }

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    /* added */
    z-index: 10000 !important;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    margin-left: 30px;
    background-color: #f1f1f1;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10000 !important; /* added */
}

    /* Links inside the dropdown */ .dropdown-content a {
        color: black;
        padding: 4px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    color: black;
    background-color: #62D1E2;
}

.home-arrow {
    display: inline-block;
    text-decoration: none; /* No link underline */
    line-height: 1; /* Helps with vertical alignment */
}

    /* Controls the icon's geometry and color */
    .home-arrow svg {
        /* Standard link blue - you can change this color here */
        stroke: #346295;
        fill: none; /* Icon is an empty outline by default */
        vertical-align: middle;
        /* Sets the default icon scale and applies a generic functional transition */
        transform: scale(1);
        transition: stroke 0.2s ease, transform 0.2s ease;
    }

    /* Defines the functional behavior of the hover state */
    .home-arrow:hover svg {
        /* Darker blue on hover - you can change this color here */
        stroke: #26466b;
        text-decoration: none;
        /* Slight grow effect when hovered */
        transform: scale(1.15);
    }
