@charset "UTF-8";
:root {
    --light-accent-color: #00c9ff;
    --lighter-accent-color: #cef4ff;
    --accent-background-color: #a0e6f9;
    --text-color: #303026;
    --lighter-text-color: #55554a;
    --background-color: #f3f3ff;
    --border-color: #767575;
    --accent-color: #265797;
    --error-color: #9d1515;
    --error-background-color: #ffc3c3;
    --font-size: 18px;
    --line-height: 1.4;
}

body {
    font-family: sans-serif;
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: var(--font-size);
    min-height: 100vh;
    margin: 0;
}

main {
    min-height: 80vh;
    padding: 1rem 3rem;
}

@media screen and (max-width: 768px) {
    body {
        --font-size: 14px;
    }

    main {
        padding: 1rem;
    }
}
/* forms ---------------------------------------------------------------------------  */
input, select, textarea {
    font-family: sans-serif;
    color: var(--text-color);
    border-radius: .25em;
    border: 2px solid var(--border-color);
    padding: .45rem 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0 .4em .4em 0;
    font-size: var(--font-size);
}
.form-field-wrapper {
  margin: 1.1em 0;
}
.helptext {
    font-size: .9em;
    color: var(--lighter-text-color);
}
.form-field-wrapper > label {
    font-weight: bold;
    display: block;
}
input:focus, input:focus-visible, input:focus-within, select:focus, select:focus-visible, select:focus-within, textarea:focus, textarea:focus-visible, textarea:focus-within {
    outline: 3px solid var(--light-accent-color);
}

.underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

img[alt] {
    max-width: 100%;
    height: auto;
}

.highlight {
    color: var(--accent-color);
    font-weight: 800;
}

.error-message {
    color: var(--error-color);
    background-color: var(--error-background-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.error-message ul {
    list-style-type: none;
    padding-inline-start: 0;
}

.container {
    margin: 0 auto;
    padding: 24px 0;
}

@media only screen and (min-width: 1024px) {
    .container, .form-page {
        max-width: 50vw;
    }
}

.center {
    text-align: center;
}

footer {
    padding: 1rem;
    text-align: center;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    footer {
        font-size: 12px;
    }
}

footer a {
    color: var(--text-color);
}

footer img {
    width: 46px;
    height: auto;
    margin-right: 8px;
}

header {
    padding: 1rem;
}

header .main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

@media only screen and (min-width: 1024px) {
    header .main-menu {
        margin: 0 auto;
        max-width: 70vw;
    }
}

header .main-menu .navbar-button {
    color: var(--text-color);
}

header .main-menu .navbar-button:hover {
    color: var(--accent-color);
    text-decoration: none;
}

header .main-menu .navbar-start {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header .main-menu .navbar-start .home-button {
    display: flex;
}

header .main-menu .navbar-end {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 48px;
}

@media screen and (max-width: 768px) {
    header .main-menu .navbar-end {
        gap: 24px;
    }
}

header .main-menu .navbar-end .user-button {
    display: flex;
    align-items: baseline;
}

header .main-menu .navbar-end .user-button .user-icon {
    height: auto;
    margin-right: 4px;
    max-width: 20px;
}

@media screen and (max-width: 768px) {
    header .main-menu .navbar-end .user-button .user-icon {
        max-width: 15px;
    }
}

header .main-menu .navbar-end .user-button .dot {
    margin-right: 8px;
    height: auto;
    max-width: 5px;
}

@media screen and (max-width: 768px) {
    header .main-menu .navbar-end .user-button .dot {
        max-width: 2px;
    }
}

header .main-menu .navbar-end .logout-button input {
    height: fit-content;
}

header img.logo {
    max-height: 50px;
}

@media screen and (max-width: 768px) {
    header img.logo {
        max-height: 40px;
    }
}

@media screen and (min-width: 1024px) {
    .buttons a {
        margin: 2rem auto;
    }
}

.button, .page-form button {
    font-family: sans-serif;
    margin: 1rem 0;
    border-radius: .6em;
    height: fit-content;
    width: fit-content;
    white-space: break-spaces;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .5em 1.5em;
    min-height: 2.7em;
    font-size: var(--font-size);
}

.button:hover {
    text-decoration: none;
}

.button.primary {
    color: var(--lighter-accent-color);
    background-color: var(--text-color);
    border: 2px solid var(--border-color);
}

.button.primary:hover {
    background-color: var(--light-accent-color);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.button.secondary {
    color: var(--text-color);
    background-color: var(--accent-background-color);
    border: 2px solid var(--border-color);
}

.button.secondary:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.button.tertiary {
    color: var(--text-color);
    background-color: transparent;
    border: none;
}

.button.tertiary:hover {
    color: var(--accent-color);
}

.button:focus, .button:focus-visible, .button:focus-within, .button:active, a:focus, a:focus-visible, a:focus-within, a:active {
    outline: 3px solid var(--light-accent-color);
    outline-offset: .2em;
}

a:not(.button) {
    border-radius: 3px;
}

.button:hover, a:hover {
    cursor: pointer;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

a.underline:hover {
    text-decoration-thickness: 3px;
}

a.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

a.skip-link:focus, a.skip-link:active {
    position: absolute;
    z-index: 100;
    top: 0;
    width: initial;
    height: initial;
    left: 0;
    background-color: var(--background-color);
    padding: 0.5rem;
    font-weight: bold;
    font-size: 20px;
}

.form-container {
    text-align: center;
}

.field-wrapper {
    display: flex;
    flex-direction: column;
    margin: 1em 0;
}

.field-checkbox {
    flex-direction: row;
}

.help-info {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 0.5rem;
}

form:not(#logout-form) {
    margin: 3rem auto 1rem auto;
    text-align: left;
    display: flex;
    flex-direction: column;
}

form#logout-form input {
    margin: 0;
    padding: 0;
}

.table-container.container {
    max-width: fit-content;
}

.table-container {
    overflow-x: auto;
    font-size: 16px;
}

@media screen and (max-width: 1023px) {
    .table-container {
        font-size: 12px;
    }
}

.table-container table {
    width: 100%;
}

.table-container table thead {
    background-color: var(--border-color);
    color: var(--background-color);
    font-weight: bold;
}

.table-container table th, .table-container table td {
    padding: 0.5rem 1rem;
}

.table-container table thead td {
    text-align: center;
}

.table-container table tth {
    text-align: left;
}

.table-container table ttd:first-child {
    font-weight: bold;
}

.table-container table ttd {
    border-top: 2px #fff solid;
    border-bottom: 2px #fff solid;
}

.table-container table ttd:first-child {
    border-left: 2px #fff solid;
}

.table-container table ttd:last-child {
    border-right: 2px #fff solid;
}

.table-container table tr:hover td {
    border-top-color: var(--text-color);
    border-bottom-color: var(--text-color);
}

.table-container table tr:hover td:first-child {
    border-left-color: var(--text-color);
}

.table-container table tr:hover td:last-child {
    border-right-color: var(--text-color);
}

.table-container table tr:nth-child(2n) {
    background-color: var(--light-accent-color);
}

.table-container table td.thunasse {
    font-variant-numeric: tabular-nums slashed-zero;
    text-align: right;
}

.table-container table td.operation {
    text-align: center;
}

.table-container table tfoot th {
    text-align: right;
}

article h2 {
    margin-bottom: 0;
}

article h2 + p {
    margin-top: 0;
}

article h1 {
    margin-bottom: 0;
}

article h1 + p {
    margin-top: 0;
}

article figure {
    width: 60%;
    margin: 0 auto;
}

article figure img {
    border: 5px solid var(--border-color);
}

article figure figcaption {
    font-size: 70%;
}

article table {
    width: 100%;
}

article table caption {
    font-weight: bold;
}

article table tth {
    text-align: left;
}

.blog-index hr {
    border-color: var(--light-accent-color);
    border-width: 3px;
    border-style: solid;
    margin-bottom: 4rem;
}

@media screen and (max-width: 768px) {
    .blog-index hr {
        margin-bottom: 2rem;
    }
}

.pagination {
    margin-top: 2rem;
}

.home .home-block {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

@media screen and (min-width: 1024px) {
    .home .home-block .buttons a {
        margin: 0 auto;
    }
}

@media screen and (min-width: 769px) {
    .tarifs form#search-pricing {
        flex-direction: row;
        align-items: flex-end;
        gap: 1.5rem;
    }
}

.tarifs form#search-pricing label {
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.toggle {
    border-radius: 10px;
    border: 1px solid var(--text-color);
    background-color: var(--text-color);
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.toggle a {
    padding: 2rem;
    line-height: 3rem;
}

.toggle .toggle-on {
    color: var(--text-color);
    background-color: var(--light-accent-color);
}

.toggle .toggle-on::after {
    content: " ✓" / "";
}

.toggle .toggle-off {
    color: var(--light-accent-color);
    background-color: var(--text-color);
}