@font-face {
    font-family: 'Verlag';
    src: url(fonts/Verlag-Book.woff2);
}

@font-face {
    font-family: 'Verlag Bold';
    src: url(fonts/Verlag-Bold.woff2);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Verlag', Arial, sans-serif;
}

.backbutton {
    display: flex;
    align-self: start;
    margin-bottom: 10px;
    font-weight: bold;
}

.backbutton a {
    color: black;
}

.backbutton a:visited {
    color: black;
}

header.lapresse_title {
    font-family: 'Verlag Bold', Arial, sans-serif;
    text-align: center;
    margin-bottom: 20px;
    text-transform: none;
}

div.lapresse_sub {
    font-size: x-large;
}

div.lapresse_title {
    font-size: 3em;
    font-weight: 900;
}

div.disclaimer {
    font-family: 'Verlag', Arial, sans-serif;
    font-size: small;
}

div.disclaimer a,
div.disclaimer a:visited {
    color: black;
}

div.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50vw;
    margin-bottom: 48px;
}

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 500px;
    margin-bottom: 20px;
}

.query-option {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 420px;
}

input {
    width: 420px;
    height: 32px;
    border: 1px solid black;
    border-radius: 4px;
    padding: 5px;
    box-sizing: border-box;
}

.query-option input[type='date'],
.query-option select {
    width: 200px;
    height: 32px;
    border: 1px solid black;
    border-radius: 4px;
    padding: 5px;
    box-sizing: border-box;
}

input[type='number'] {
    width: 100px;
}

select {
    border: 1px solid black;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
    color: black;
    height: 32px;
    box-sizing: border-box;
}

div.search-btn-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 420px;
}

button {
    width: 300px;
    height: 30px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 5px 10px;
}

button.btn-1 {
    width: 200px;
}

button.btn-2 {
    width: 420px;
}

button.reset-button {
    background-color: white;
    color: #cc0000;
    border: 1px solid #cc0000;
}

button:hover {
    background-color: #4d4d4d;
}

button.reset-button:hover {
    color: white;
    background-color: #cc0000;
    border: 1px solid white;
}

button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

input,
button,
select {
    margin: 5px 0;
}

input:disabled {
    cursor: not-allowed;
    border-color: #ccc;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dl-options-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 420px;
}

label {
    font-family: 'Verlag', Arial, sans-serif;
    font-weight: 300;
    font-size: large;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5px 0px;
}

div.query-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.info {
    margin-left: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #007acc;
    color: white;
    width: 1rem;
    height: 1rem;
    text-align: center;
    cursor: pointer;
}

div.query-inst {
    margin: 10px 0;
    font-size: small;
    font-family: 'Verlag', Arial, sans-serif;
    text-align: center;
}

.pagination-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 90%;
}

.pagination-arrow {
    cursor: pointer;
}

.pagination-arrow:hover {
    color: #4d4d4d;
    text-decoration: underline;
}

.pagination-arrow.disabled {
    color: #aaa;
    cursor: not-allowed;
}

.pagination-arrow.disabled:hover {
    color: #aaa;
    text-decoration: none;
}

.preview-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px;
}

.preview-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 20px 0px;
    border: 1px solid black;
    border-radius: 5px;
    padding: 20px;
}

.article-preview {
    display: none;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    width: 100%;
    margin: 0 0 5px 0;
    border-bottom: solid 1px #80808080;
    padding: 10px 0;
}

div.back-button {
    display: none;
    font-weight: bold;
    color: black;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: small;
}

div.back-button:hover {
    text-decoration: underline;
    color: #4d4d4d;
}

.article-title {
    font-family: 'Verlag', Arial, sans-serif;
    font-size: larger;
    color: black;
    cursor: pointer;
}

.article-title:hover {
    text-decoration: underline;
    color: #4d4d4d;
}

.article-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    font-size: small;
    color: #696969;
    margin: 10px 5px 5px 10px;
}

.article-author {
    font-family: 'Verlag', Arial, sans-serif;
    color: black;
    padding-right: 5px;
    border-right: solid 1px #696969;
}

.article-date,
.article-pub,
.link-copy {
    padding: 0 5px;
}

.article-pub,
.link-copy {
    text-transform: capitalize;
    border-left: solid 1px #696969;
}

.link-copy {
    color: black;
    cursor: pointer;
    text-decoration: underline;
}

.link-copy:hover {
    text-decoration: underline;
    color: #4d4d4d;
}

.article-excerpt {
    font-size: small;
    color: black;
    margin: 5px 10px;
}

.highlight {
    background-color: rgba(255, 255, 0, 0.5);
    font-weight: bold;
}

.citation {
    color: black;
    /* font-size: small; */
}

.bibtex-dl {
    text-decoration: underline;
    cursor: pointer;
}

.footer {
    position: fixed;
    bottom: 5px;
    right: 5px;
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: x-small;
    color: #696969;
}

div.footer div a img {
    height: 30px;
}

.spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 4px solid white;
    border-top: 4px solid black;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
