/*
 
  It seems that widoco uses variables to choose color in some conditions
  For the navigation layout of rdf-ontology page to be the same as in other
  pages served by FastAPI (i.e. rdf-dereferencing, sparql-editor,...) we need
  to set these variables for some ot the classes used in our navigation menu
  otherwise styles defined for the navigation are overriden by widoco
*/

.dropbtn {
    --link: white;
}
.dropdown-content a:hover {
    --href-hover: #f1f1f1;
}

/*
    styles defined for navigation
*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.nav {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #707070;
    display: flex;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
}

nav li {
    float: left;
}



nav li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover, .dropdown:hover .dropbtn {
    background-color: #111;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#content {
    padding: 20px;
}


.logo {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-bottom: 4px;    
}

.logo img {
    height: 32px; /* Adjust logo size as needed */    
}
