html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    font-family: sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color : #333333;
}

hr {
    color: #BCBCBC;
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 34px;
    margin-bottom: 34px;
}

.text-block hr {
    width: 560px;
}

#freqPlot {
    width: 1024px;
    margin: auto;
}

#wordFreqPlot {
    width: 1024px;
    margin: auto;
}

#docFreqPlot {
    width: 1024px;
    margin: auto;
}


.range-slider {
    width: 400px;
}
.irs--flat .irs-handle>i:first-child {
    background-color: steelblue!important;
}
.irs--flat .irs-bar {
    background-color: steelblue!important;
}
.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single {
    background-color: steelblue!important;
}
.irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before {
    border-top-color: steelblue!important;
}

.preview-card:hover {
    border: 2px solid steelblue;
    color: #333333;
}

.preview-card-description {
    padding-left: 10px;
    padding-right: 10px;
}

.preview-card-description p {
    font-family: 'Helvetica', 'sans-serif';
    font-size: 16px;
    margin: 0;
    margin-top: 10px;
}
.preview-card-description h2 {
    font-family: 'Libre Baskerville', 'serif';
    font-size: 18px;
}

.preview-wrapper {
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.preview-card {
    position: relative;
    border: 2px solid #E1E4E8;
    text-decoration: none;
    color: #333333;
    display: block;
    width: 330px;
    background-color: #FFFFFF;
}

.more-about {
    text-align: right;
    font-family: 'Helvetica', 'sans-serif';
    font-size: 14px;
    color: steelblue;
    font-weight: bold;
}


.block-quote {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
}

.block-quote-citation {
    display: block;
    margin-left: 280px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Helvetica', 'sans-serif';
    width: 280px;
    font-size: 14px;
    line-height: 1.2;
}

.intro-bar {
    width: 100%;
    height:330px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 34px;
    margin-top: 34px;
    background-color: #E1E4E8;
    padding-bottom: 50px;
    padding-top: 50px;
    display: flex;
    flex-direction: row;
    align-content: center;
}

.text-block {
    margin: auto;
    width: 560px;
}

h2 {
    font-size: 20px;
    font-family: 'Libre Baskerville', serif;
    font-weight: bold;
}
h3 {
    font-size: 16px;
    font-family: 'Libre Baskerville', serif;
    font-weight: bold;
}

#top_docs hr {
    width: 560px;
    border: 1px dotted #BCBCBC;
}


h4 {
    font-family: 'Helvetica', 'sans-serif';
    font-size: 18px;
    font-weight: bold;
}

p {
    font-family: 'Helvetica', 'sans-serif';
    font-size: 16px;
    line-height: 1.4;
}

.keys {
    font-family: 'Helvetica', 'sans-serif';
    font-size: 14px;
    font-weight: bold;
    color: #707070;
}

.values {
    font-family: 'Helvetica', 'sans-serif';
    font-size: 16px;
    color: #333333
}

#search-button {
    height: 40px;
    width: 140px;
    color: #FFFFFF;
    background-color: #242729;
    white-space:nowrap;
    border: 0;
    margin: 0;
}

#top-button {
    background-color: #BCBCBC;
    margin: 0px;
    height: 50px;
    border-radius: 50%;
    border-color: #242729;
    font-family: 'Helvetica', 'sans-serif';
    font-size: 14px;
}

#top-button:hover {
    background-color: #F8F8F8;
}

.footer-wrapper {
    font-family: 'Libre Baskerville', serif;
    /*background-color: #F8F8F8; */
    background-color: #242729;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 30px;
    border-top: 2px solid #E7E7E7;
    display: flex;
    align-content: center;
}

.divider {
    height: 4px;
    color: #888;
    background-color: #888;
    border: none;
}

.footer-format {
    font-family: 'Helvetica', 'sans-serif';
    font-size: 14px;
    color: #BCBCBC;
}

.nav {
    width: 1000px;
    display: inline-flex;
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto;
    justify-content: space-between;
    letter-spacing: -1px;
}
.nav-wrapper {
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    color: #BCBCBC;
    border-bottom: 2px solid #E7E7E7;
    display: flex;
    align-content: center;
    margin: 0;
    margin-bottom: 34px;
    padding: 0px;
    height: 70px;
    /*background-color: #F8F8F8; */
    background-color: #242729;
}

#main {
    min-height: 100vh; /*so footer is actually on bottom even on smaller pages */
    display: flex;
    flex-direction: column;
    width: 1000px;
    margin: auto;
}

.selecter {
    margin: 0;
    height: 60px;
    width: 80%;
    border-color: #BCBCBC;
}

.selecter-title {
    margin: 0;
    width: 100px;
    font-family: 'Helvetica', 'sans-serif';
    font-size: 14px;
    font-weight: bold;
}

.subsetter {
    color: #333333;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#apply-filters {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 20px;
    font-family: 'Helvetica', 'sans-serif';
    font-size: 14px;
    font-weight: bold;
}

#ndocs {
    font-size: 16px;
}
#status {
    font-size: 16px;
    font-style: italic;
}

.subset_button {
    height: 40px;
    color: #FFFFFF;
    background-color: #242729;
    white-space:nowrap;
    border: 0;
}

.doc_button {
    height: 40px;
    color: #FFFFFF;
    background-color: #242729;
    white-space:nowrap;
    border: 0;
    margin-right: 26px;
    margin-top: 26px;
    margin-bottom: 26px;
}

.links > a {
    text-decoration: none;
    text-align: center;
    color: #888;
    font-size: 20px;
    letter-spacing: -1px;
    margin-right: 15px;
}

.footer-format > a {
    text-decoration: none;
    font-size: 14px;
    padding-right: 15px;
    display: inline-block;
    color: #BCBCBC;
}

.footer-format > div {
    text-decoration: none;
    font-size: 14px;
    padding-right: 15px;
    display: inline-block;
    color: #BCBCBC;
}

.orange {
    color: #DE781F;
}

a.active {
    /*color: #555; */
    color: #f4f4f4;
}

a:hover {
    /*color: #555; */
    color: #f4f4f4;
}

td
{
    vertical-align: top;
    padding:0 25px 0 5px;
}
.selected {
    border: 2px solid #1F77B4;
}
td
{
    vertical-align: top;
    padding:0 25px 0 5px;
}
.selected {
    border: 2px solid #1F77B4;
}

#text{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 33vh; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 560px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.button-tabs {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: 0;
    width: 1024px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
}

.button-tabs li {
    list-style: none;
    border: 2px solid steelblue;
    margin-right: 34px;
    padding: 0;
}

.button-tabs a {
    text-decoration: none;
    display: block;
    white-space:nowrap;
    padding: 10px;
    border: 0;
    color: white;
    background-color: steelblue;
}

.button-tabs li a.inactive{
    background-color: #FFFFFF;
    color: steelblue;
}

.button-tabs li a:hover {
    color: white;
    background-color: steelblue;
}

.search-label {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
    font-weight: bold;
    margin-bottom: 16px;
}

.freq-input {
    width: 700px;
    border: 1px solid #BCBCBC;
    height: 38px; /* with border 1px top and bottom total is 40 like the search button next to it */
    margin: 0;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
}

#token-disp {
    height: 60px;
}

#token-disp ul {
    list-style-type: none;
    margin-top: 15px;
    padding-left: 0px;
}

#token-disp li {
    display: inline;
    float: left;
    margin-right: 20px;
    background-color: #003366;
    color: #FFFFFF;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    padding: 1px 5px 1px 5px;
}

#token-disp .btn {
    border: none;
    color: white;
    padding: 0px;
    margin-right: 5px;
    font-size: 12px;
    cursor: pointer;
    outline: none;
}

.btn:active,
.btn:focus {
    outline: none;
}

.more-about {
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    color: steelblue;
    font-size: 15px;
}

.more-about a {
    text-decoration: none;
    text-align: center;
    color: steelblue;
    font-size: 20px;
    margin-right: 0;
}
.more-about a:hover {
    color: #888;
}

.preview-arrow {
    display: none;
}

.preview-card:hover .preview-arrow {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: steelblue;
    display: inline;
}

.preview-card [class^="icon-"], .preview-card [class*=" icon-"] {
        display: none;
}

.preview-card img {
    width: 100%;
    height: 50%;
}

#kwic-msg {
    text-align: center;
}
