body {
    font-family: "DejaVu Sans",Verdana,Geneva,sans-serif !important;
}

/* Main */

#main {
    padding: 3em;
    padding-bottom: 1em;
    min-height: 80vh;
}

#content {
    min-height: 70vh;
}

/* Menu */

#menu {
    background: #f8f8f8;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#menu .menu-item .fa {
    color: mediumseagreen;
}

#menu .menu-brand {
    max-height: 100%;
}

#menu a {
    color: #111;
    text-decoration: none;
}

#menu a:hover {
    text-decoration: none;
}

#menu .menu-items ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

#menu .menu-items ul:not(:first-child) {
    border-top: 1px solid #e7e7e7;
}

#menu .menu-items ul li:hover {
    background-color: #f0f0f0;
    transition: all 0.3s;
}

#menu .menu-items ul li a {
    display: block;
    padding-left: 2em;
    padding-top: 10px;
    padding-bottom: 10px;
}


@media (max-width: 900px) {

    #menu {
        width: 100%;
        position: fixed;
        z-index: 1000;
        border-bottom: 1px solid #e7e7e7;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    #menu .menu-brand {
        display: inline-block;
        padding: 0.6em;
    }

    #menu .menu-brand img {
        display: none;
    }

    #menu .menu-brand h4 {
        font-size: 1.2em;
        margin-bottom: 0;
    }

    #menu .menu-toggler {
        border: 1px solid #ddd;
        border-radius: 4px;
        padding: 4px 6px;
        position: relative;
        background-color: white;
        margin-right: 15px;
    }

    #menu .menu-toggler:hover {
        background-color: #ddd;
    }

    #menu .menu-toggler .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        background-color: #888;
    }

    #menu .menu-toggler .icon-bar + .icon-bar {
        margin-top: 4px;
    }

    #menu .menu-items {
        flex-basis: 100%;
        flex-grow: 1;
        flex-direction: column;
    }

    #main {
        padding: 3em 0;
    }
}

@media (min-width: 900px) {
    #menu {
        min-width: 300px;
        max-width: 300px;
        border-right: 1px solid #e7e7e7;
    }

    #menu .menu-brand {
        padding-top: 1.5em;
        padding-bottom: 1.5em;
        text-align: center;
    }

    #menu .menu-brand img {
        max-width: 80%;
    }

    #menu .menu-toggler {
        display: none;
    }

    #menu .menu-items {
        display: block;
    }
}

/* Form stuff */

.form-group.row label {
   text-align: right;
}

/* Login screen */

#login-row {
   max-width: 600px;
}

#login-form {
   max-width: 300px;
}



/* Table in cards */

.card-header {
    font-size: 1.5rem;
}

.card tr td:first-child {
    width: 33%;
    font-weight: bold;
    text-align: right;
    color: #666;
}

/* Footer */

#footer {
    margin-top: 20px;
}
#footer .line {
    opacity: 0.18;
    widht:100%;
    border-bottom: 1px solid black;
    margin-top: -12px;
}
#footer .duck {
    opacity: 0.18;
    background-image: url('../img/coin.svg');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    height:25px;
}

.licence-sentence {
    opacity: 0.5;
    text-align: center;
    margin-top: 3px;
}


/* News feeds */

.feed {
    font-size:80%;
}

.feed .entry {
    margin-bottom:1em;
}

.feed .entry .date {
    color:gray;
    font-size:80%;
}

/* Tweaks for emails */

.dont-break-emails {
    word-break: keep-all;
}

a.list-group-item {
    color: #111;
}
