/* ----- General style ----- */
html, body {
    margin: 0;
    padding:0;
    width: 100vw;
    max-width: 100%;
    min-height: 100vh;
}

main {
    margin-bottom: 15px;
}

/* ----- Navigation style ----- */
.navbar {
    background: rgb(var(--bg));
    border-bottom: 1px solid rgb(var(--text));
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 8px;
    background: rgb(var(--bg));
    border-top: 1px solid rgba(var(--text), 0.5);
    border-left: 1px solid rgb(var(--text));
    border-right: 1px solid rgb(var(--text));
    border-bottom: 1px solid rgb(var(--text));
    border-radius: 0;
    color: rgb(var(--text));
}


.navbar-nav .active > .nav-link, .navbar-nav .nav-link.active, .navbar-nav .nav-link.show, .navbar-nav .show > .nav-link {
    color: rgba(var(--text), 0.7);
}

.dropdown-item::first-letter {
    font-size: 20px;
    text-transform: uppercase;
}

.dropdown-item {
    color: rgb(var(--accent));
    font-weight: bold;
    display: inline;
}

.navbar-nav .nav-link {
    color: rgba(var(--accent), .5);
}

.navbar-nav .nav-link {
    color: rgba(var(--accent), .5);
}

.navbar-nav .nav-link:hover {
    color: rgba(var(--accent), .8);
}

.navbar-nav .nav-link:hover {
    color: rgba(var(--accent), .8);
}

.nav-item {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    color: rgb(var(--accent));
    text-align: center;
}

.nav-link::first-letter {
    font-size: 20px;
    text-transform: uppercase;
}

.active > .nav-link {
    font-weight: bold;
    color: rgb(var(--highlight)) !important;
}

.active > .nav-item {
    font-weight: bold;
    color: rgb(var(--highlight)) !important;
}

/* ----- dl,dt,dd groups ----- */

dl {
    display: flex;
    flex-wrap: wrap;
}

dt {
    width: 33%;
}

dd {
    margin-left: auto;
    width: 66%;
}

a.carousel-control-prev,
a.carousel-control-next {
    height: 100%;
    width: 5%;
    color: rgb(var(--text));
}

.list-group-item-action:focus, .list-group-item-action:hover {
    background-color: #e8e9ea;
    color: black;
}

.border {
    margin: 5px;
    padding: 5px;
    border: 1px solid #dee2e6 !important;
    border-radius: 10px;
}
