/*
 * vim: foldmarker={{{,}}}
 * vim: tabstop=4
 */

/*{{{ Fonts*/
@font-face {
    font-family: Graphik;
    src: url(../fonts/Graphik/Graphik-Semibold.ttf);
}
@font-face {
    font-family: GraphikBold;
    src: url(../fonts/Graphik/Graphik-Bold.ttf);
}
/*}}}*/

/*{{{ Default */
* {
    margin: 0em; 
    padding: 0em;
}
html {
    width: 100%;
    height: 100%;
}
body {
    font-family: Graphik;
    font-size: 100%;
    width: 100%;
    height: 100%;
    background-color: #05304f;
}
body > header {
    top: 0em;
    position: fixed;
    width: inherit;
    z-index: 1000;
    padding-bottom: 0.3em;
}
h1 {
    font-size: 1em;
    background-color: #05304f;
    color: #05304f;
    width: 100%;
    position:absolute;
    top: 0px;
    left: 0px;
    height: 2.8em;
    z-index: 1;
}
nav {
    font-family: GraphikBold;
    width: 100%;
    z-index: 100;
    position: absolute;
    left: 0px;
    top: 0.4em;
    z-index: 2;
}
nav#retour {
    cursor: pointer;
}
nav > h2 {
    font-size: 0px;
    color: #ffffff;
}
nav > ul {
    overflow: hidden;
    font-size: 2em;
    display: flex;
}
nav > ul a {
    color: #ffffff;
}
nav > ul > li > a {
    white-space: nowrap;
    padding-left: 1em;
    padding-right: 1em;
    background-color: #05304f;
    border-right: solid #ffffff 0.1em;
}
nav > ul > li {
    width: min-content;
    height: fit-content;
    height: -moz-fit-content;
}
nav > ul > li.selected > a {
    color: #fbe800;
}
main {
    height: 100%;
    position: relative;
    display: flex;
}
main > article {
    padding-top: 3em;
    width: -moz-available;
    width: -webkit-fill-available;
}
ul {
    list-style-type: none;
}
a {
    text-decoration: none;
}
main > aside {
    padding: 1em;
    padding-top: 3em;
    padding-bottom: 0em;
}
/*}}}*/

.erreur {
    text-align: center;
    background-color: bisque;
    padding: 1em;
    padding-top: 2em;
}

.logo {
    width:80%;
    height: 80%;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

/*{{{ Login*/
.login {
    display: block;
}
.login > article {
    padding: 3em;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: max-content;
    background-color: rgba(255, 255, 255, 0.6);
    top: 50%;
    transform: translate(0, -50%);
}
.login > article div {
    display: flex;
}
.login > article input {
    margin-left: auto;
}
.login > article h2 {
    text-align: center;
    margin-bottom:0.5em;
}
/*}}}*/
/*{{{helloasso*/
.helloasso nav {
    font-family: Graphik;
    position: relative;
    left: 0px;
    top: 0.4em;
    margin: 1em;
    margin-left: 0em;
    padding: 0.5em;
    background-color: #9dcdf2;
    display: flex;
    width: fit-content;
    width: -moz-fit-content;
}
.helloasso header {
    margin-left: 1px;
}
.helloasso nav > h2 {
    font-size: inherit;
    margin-right: 1em;
    color: #0a314f;
    align-self: center;
}
.helloasso nav select {
    color: #05304f;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 10px;
}
.helloasso nav > a, 
.helloasso nav > span {
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding: 0.1em;
    border: solid #ffffff 2px;
    border-radius: 6px;
    background-color: #ffffff;
    color: #05304f;
}
.helloasso nav > span,
.helloasso nav > a:hover {
    background-color: #9dcdf2;
}
.helloasso table {
    color: #05304f;
}
/*{{{ Commandes */
.helloasso table caption {
    background-color: #05304f;
    color: #ffffff;
    padding: 0.5em;
    text-align: initial;
}
.helloasso table caption select, .helloasso table caption div {
    margin-left: 0.5em;
    margin-right: 0.5em;
}
.helloasso table caption div {
    display: inline-block;
}
.helloasso table caption form {
    display: inline;
    margin-left: 0.5em;
    margin-right: 0.5em;
}
.helloasso table caption form label {
    margin-right: 1em;
}
.helloasso table caption form input[type='submit'] {
    border-radius: 6px;
    border: solid #fbe800 2px;
    background-color: #05304f;
    padding: 0.5em;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    color: #ffffff;
    margin-left: 0.5em;
    margin-right: 0.5em;
    cursor: pointer;
}
.helloasso table caption form input[type='submit']:hover {
    color: #0a314f;
    background-color: #ffffff;
}
.helloasso table caption #btncsv {
    cursor: pointer;
    padding: 0.5em;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    border: solid #fbe800 2px;
    border-radius: 6px;
}
.helloasso table caption div:nth-child(9):hover {
    color: #0a314f;
    background-color: #ffffff;
}
.helloasso table caption div span {
    font-weight: bold;
}
.helloasso table caption select:nth-child(3),
.helloasso table caption select:nth-child(4),
.helloasso table caption select:nth-child(5),
.helloasso table caption select:nth-child(6) {
    display: none;
}
.helloasso table caption input, .helloasso table caption select {
    background-color: #ffffff;
    color: #05304f;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 10px;
}
/*}}}*/
/*{{{ Trie*/
.helloasso table thead tr th {
    background-color: #fbe800;
}
.helloasso table thead tr th.selected {
    background-color: lightgrey;
}
.helloasso table thead tr :not(th[colspan]):hover {
    cursor: pointer;
}
.helloasso table thead tr:first-child th {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}
/*}}}*/
.helloasso table td, .helloasso table th {
    padding: 0.2em;
}
.helloasso tbody tr:nth-child(odd) {
    background-color: #ffffff;
}
.helloasso tbody tr:nth-child(even) {
    background-color: #fef8b5;
}
.helloasso tbody tr:hover {
    background-color: lightgrey;
}
.helloasso tbody td:nth-child(5), 
.helloasso tbody td:nth-child(7), .helloasso tbody td:nth-child(8),
.helloasso tbody td:nth-child(10), .helloasso tbody td:nth-child(11),
.helloasso tbody td:nth-child(1), .helloasso tbody td:nth-child(2) {
    text-align: center;
}
.helloasso tbody td:nth-child(1) a, .helloasso tbody td:nth-child(2) a {
    padding: 0.08em;
    border-radius: 6px;
    border: solid #05304f 2px;
}
.helloasso tbody td:nth-child(1) a:hover, .helloasso tbody td:nth-child(2) a:hover {
    background-color: #05304f;
}
.helloasso tbody td:nth-child(10) {
    text-align: right;
}
.helloasso tbody td:nth-child(7) {
    font-weight: bold;
}
.helloasso thead th:nth-child(8), .helloasso tbody td:nth-child(8), 
.helloasso thead th:nth-child(1), .helloasso tbody td:nth-child(1), 
.helloasso thead th:nth-child(2), .helloasso tbody td:nth-child(2), 
.helloasso thead th:nth-child(9), .helloasso thead th:nth-child(11),
.helloasso tbody td:nth-child(9), .helloasso tbody td:nth-child(11) {
    width: 2em;
}
tr td:nth-child(7) {
    color: #096a69;
}

tr.noncontact td:nth-child(7) {
    color: #8b0000;
}
.helloasso div#fiche {
    width: 54em;
    display: grid;
    grid-template: "header header"
                   "b c"
                   "d e";
}
.helloasso div#fiche header {
    grid-area: header;
}
.helloasso div#fiche header input,
.helloasso div#fiche header span {
    border-radius: 6px;
    border: solid #fbe800 2px;
    background-color: #05304f;
    padding: 0.5em;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    color: #ffffff;
    margin-left: 0.5em;
    margin-right: 0.5em;
    cursor: pointer;
}
.helloasso div#fiche header input:hover,
.helloasso div#fiche header span:hover {
    color: #0a314f;
    background-color: #ffffff;
}
.helloasso div#fiche input,
.helloasso div#fiche select {
    color: #05304f;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 10px;
}
.helloasso div#fiche > ul li:first-child {
    border-bottom: solid 3px #05304f;
    text-align: center;
}
.helloasso div#fiche ul {
    margin: 1em;
    margin-left: 0em;
    padding: 1em;
    background-color: #fbe800;
}
.helloasso div#fiche ul li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    display: flex;
}
.helloasso div#fiche ul#listehelloasso li:hover {
    background-color: #05304f;
    color: #fbe800;
    cursor: pointer;
}
.helloasso div#fiche ul li label {
    margin-right: 1em;
}
.helloasso div#fiche ul li select,
.helloasso div#fiche ul li input {
    margin-left: auto;
}
.helloasso .flashnew {
    -webkit-animation: flash linear 3s;
    animation: flash linear 3s;
}
@-webkit-keyframes flash {
    0% { opacity: .01; }
    50% { opacity: .5; }
    100% { opacity: 1; }
}
@keyframes flash {
    0% { opacity: .01; }
    50% { opacity: .5; }
    100% { opacity: 1; }
}
aside.resume h2 {
    visibility: hidden;
}
aside.resume > ul {
    font-family: GraphikBold;
    background-color: #fbe800;
    padding: 0.5em;
    color: #05304f;
    width: 20em;
    margin-bottom: 1em;
}
aside.resume > ul li {
    border-bottom: solid 1px #05304f;
    padding-bottom: 0.17em;
    padding-top: 0.18em;
    text-align: center;
}
aside.resume > ul li:first-child {
    border-bottom: solid 3px #05304f;
}
aside.resume > ul li:last-child {
    border-bottom: none;
}
aside.resume > div {
    font-family: GraphikBold;
    background-color: #fbe800;
    padding: 0.5em;
    color: #05304f;
    margin-bottom: 1em;
}
aside.resume > div h3 {
    border-bottom: solid 3px #05304f;
    text-align: center;
    padding-bottom: 0.25em;
    padding-top: 0.18em;
    margin-bottom: 0.3em;
}
aside.resume > div h3 span {
    margin-left: 1em;
    cursor: pointer;
    padding: 0.1em;
    border-radius: 6px;
    border: solid #05304f 2px;
}
aside.resume > div h3 span:hover {
    background-color: #05304f;
    color: #fbe800;
}
aside.resume div#carte {
    height: 20em;
}
aside.resume svg.chart {
    width: 320px;
    height: 240px;
    background: #9dcdf2;
    stroke: #05304f;
    stroke-width: 1;
    fill: none;
}
aside.resume .magnifiedMap svg.chart {
    width: 640px;
    height: 480px;
}
aside.resume svg.chart circle.line {
    fill: #ffffff;
    stroke: #ffffff;
}
aside.resume svg.chart polyline.line {
    stroke: #ffffff;
}
aside.resume svg.chart text.titre {
    font-family: Arial;
    text-anchor: middle;
    stroke: #05304f;
    fill: #05304f;
    font-size: 12px;
} 
aside.resume svg.chart text.xtic {
    font-family: Arial;
    text-anchor: middle;
    font-size: 9px;
} 
aside.resume svg.chart text.yrtic {
    font-family: Arial;
    text-anchor: middle;
    stroke: #ffffff;
    font-size: 9px;
} 
aside.resume svg.chart text.yltic {
    font-family: Arial;
    text-anchor: middle;
    stroke: #05304f;
    font-size: 9px;
} 
aside.resume svg.chart rect {
    fill: #05304f;
} 
#containerhelloasso {
    overflow: auto;
    height: 29em;
    width: fit-content;
    width: -moz-fit-content;
    direction: rtl;
    padding-left: 1em;
} 
#containerhelloasso > * {
    direction: ltr;
}
.cache {
    display: none;
}
.pasajour td, input.pasajour {
    background-color: rgba(255, 0, 0, 0.4);
    color: #ffffff;
}
.magnifiedMap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    border: solid #05304f 3px;
}
aside.resume div.magnifiedMap > div#carte {
    width: 80em;
    height: 60em;
}
/*}}}*/
