  

* {
    box-sizing: border-box;
}

html {
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100vw;
    width: 100%;
}

body {
    width: 100%;
    /* width: -webkit-fill-available; */
    line-height: 1.4;
    padding: 0;
    user-select: text;
    overscroll-behavior: none;
}

@media (orientation: landscape) {
    body {

    }
}

/* links */

a[href] {
    color: royalblue;
    text-decoration: none;
}

    a[href]:hover {
        text-decoration: underline;
    }

    a[href]:active {
        
    }

    a[href]:focus {
        outline: 1px solid #999;
    }

li {
    font-size: 1rem;
}

/* open iconic icons */
.oi {
    position: static;
    transform: translateY(3px);
    z-index: -1;
    font-size: 1rem;
}

.oi .ie-hide {
    
}

header {
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.disable-dbl-tap-zoom * {
    touch-action: manipulation;
}

.nav-list ul {
    margin: 0;
    padding: 12px 0;
}

.nav-list li {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    padding: 0;
}

.nav-list a {
    display: inline-block;
    width: 100%;
    min-height: 28px;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}


h1, h2, h3, h4, h5, h6 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 1.25rem 0 1.25rem 0;
    padding: 0;
    border-bottom: 1px solid transparent;
}


p {
    line-height: 1.4;
}


mark.hit {
    background-color: khaki;
    padding: 0 .1rem;
    border: 1px solid lightsalmon;
    border-radius: .2rem;
}

button,
.buttonish {
    height: 44px;
    min-width: 44px;
}

button {
    border: none;
    color: green;
    background-color: white;
    padding: 0 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border: 1px solid green;
    border-radius: 3px;
}

    button:hover {
        background-color: honeydew;
        color: darkgreen;
        border: 1px solid darkgreen;
    }

a.buttonish {
    display: inline-block;
    height: 44px;
    line-height: 44px;
    min-width: 44px;
    text-align: center;
    padding: 0 12px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
}

    .buttonish[href]:hover {       
        text-decoration: none;
    }

    .buttonish:hover {
        border: 1px solid #ccc;
    }

    /* main navbar */
    a.buttonish.nav-toolbar-button
    {
        color: white;
        border: 1px solid transparent;
    }

    a.buttonish.nav-toolbar-button:hover {
        color: white;
        border: 1px solid gray;
        background-color: #333;
    }


.buttonish.back-button {
    background-color: gainsboro;
}

.nav-content-bottom .buttonish {
    color: royalblue;
    border: 1px solid royalblue;
}

    .nav-content-bottom .buttonish:hover {
        color: darkblue;
        border: 1px solid darkblue;
        background-color: #ecf4f8;
    }


li.ie-only {
    display: none;
}

li.ie-hide {

}


/* DIALOG */

dialog {
    min-width: 250px;
    max-width: 600px;
    border: 1px solid gray;
    border-radius: .25rem;
    padding: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.dialog-foreground {
    padding: 16px;
}

dialog h2 {
    margin: 0 0 8px 0;
    padding: 0;
}

.dialog-header {
    margin-bottom: 16px;
}

.dialog-content {
    font-size: 1rem;
    margin: 0;
}

#quick-links-dialog ul {
    margin: 0;
    padding: 0;
}

#quick-links-dialog li {
    list-style-type: none;
}

#menu-dialog {
    width: 600px !important;
    max-height: 100vh;
}

#menu-dialog .on-this-page {
    display: none;
}

summary {
    cursor: pointer;
}

summary:focus {
    outline: 2px solid seagreen;
}

ul.skip-to-list {

    height: 0;
    margin: 0;
    padding: 0;

}

ul.skip-to-list li {
    list-style-type: none;
}

a.skip-to {
    background-color: firebrick;
    color: white;
    text-decoration: underline;
    position: absolute;
    top: 0;
    left: -200%;
    right: 200%;
    padding: 16px;
    z-index: -1;
    min-height: 60px;
    width: 100%;
}

    a.skip-to:focus {
        display: block;
        left: 0;
        right: 0;
        z-index: 200;
    }

/* component containers */

#common-components,
#publication-components {
    /* display: none; */
}

/* spinner */
.loading {
    display: none;
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
}

.loader {
    left: 50%;
    margin-left: -4em;
    font-size: 10px;
    opacity: 0.4;
    border: .5em solid forestgreen;
    border-left: .5em solid transparent;
    animation: spin 1.1s infinite linear;
}

    .loader, .loader:after {
        border-radius: 50%;
        width: 8em;
        height: 8em;
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -4.05em;
    }

@keyframes spin {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* MEDIA QUERIES */

@page {
    margin: .75in .5in;
}

@media print {

    main {
        padding: 0;
        margin: 0;
    }

    p, th {
        page-break-inside: avoid;
    }

    dialog {
        display: none;
    }

    .no-print {
        display: none !important;
    }

    .view-container {
        margin: 0;
    }
}
