
/** General Theme **/

strong {
    color: #c96233;
}

dl dt {
    display: inline;
    padding: 0.25rem 0.4rem;
    background: #4e4e4e;
    color: #eaeaea;
    border-radius: 0.25rem;
}

dl dd {
    border-bottom-left-radius: .5rem;
    border-left: 3px solid #4e4e4e;

    margin-bottom: 0.9rem;
    padding-left: 0.618rem;
    padding-top: 0.618rem;
    padding-bottom: 0.309rem;
    position: relative;
    top: -0.5rem;
}

dl dd:hover {
    border-top-right-radius: .5rem;
    border-right: 3px solid #4e4e4e;
}

dd p {
    margin-bottom: 0.7em;
}

details summary {
    cursor: pointer;
}

/****/

/* Hotfix for https://github.com/getgrav/grav-theme-quark/issues/9 */
/* Must be below 3 or mobile will glitch */
section#header { z-index: 2; }

/* Little patch for the language selector, to center it vertically. */
/* Beta feature : may cause bugs. We'll see. */
.language-selector {
    -webkit-transform: initial !important;
    -moz-transform: initial !important;
    -o-transform: initial !important;
    -ms-transform: initial !important;
    transform: initial !important;
}

/* Little fix for the anchors plugin */
.anchorjs-link {
    font-size: 0.8em !important;
    color: #80839a;
}

/* Ensures the footer stays on the bottom of the page */
#page-wrapper {
    min-height: calc(100vh - 3rem);
}

/* Fixed height footer */
#footer {
    height: 3rem;
}
#footer p {
    margin-bottom: 0;
}
#footer .ljbac {
    color: #d632a8;
}
#footer .ljbac:hover,
#footer .ljbac:focus {
    color: #b72b90;
}

iframe.geogebra {
    border: 1px dotted #a6a6a6;
}

/** Fix Mobile Navigation **/

.mobile-container ul.treemenu-root li span.toggler {
    line-height: 2.22rem;
    font-size: 2.22rem;
    padding: 0.92rem 0.1rem;
    margin: 0;
}

.mobile-container ul.treemenu-root li a {
    line-height: 2.22rem;
    font-size: 2.22rem;
    padding: 0.92rem 1.618rem;
    margin: 0;
}
