@charset "utf-8";

/************************************************************************
*
*	R E S E T       ET       B A S E
*
*************************************************************************/


/* ---------------------------------------------------------------------- Page */

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    background: #e1e1e1 url('images/motif-01.png') repeat-x;
    color: #444;
    font-family: helvetica, arial, sans-serif;
    font-size: 1.2em;
    line-height: 1.8;
    margin: 0;
    padding: 0
}

@media screen and (max-width: 600px) {
    body {
        font-size: 1em;
    }
}

body.overflow-hidden {
    overflow: hidden;
}

/* ---------------------------------------------------------------------- A11Y */

.sr-only {
    left: -9999rem;
    position: absolute;
}


/* ---------------------------------------------------------------------- Paragraphes */

p {
    margin: 0 0 1.5em 0
}


/* ---------------------------------------------------------------------- Liens */

a {
    border-bottom: 1px dashed transparent;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease-in-out
}

a:hover,
a:focus,
a:active {
    border-bottom-color: #562982;
    color: #562982
}

a:active {
    outline: none
}


/* ---------------------------------------------------------------------- Images */

img {
    max-width: 100%;
    vertical-align: middle;
}

a img {
    border: none
}


/* ---------------------------------------------------------------------- Listes */

ul {
    list-style: none;
    padding: 0
}


/* ---------------------------------------------------------------------- Formulaires */

form {
    border: none;
    margin: 0;
    padding: 0
}


/* ------------------------------------------------------------ Champs */

input,
textarea {
    font-family: helvetica, arial, sans-serif;
    font-size: 1em;
    transition: all 0.3s ease-in-out;
    vertical-align: middle
}

input[type=text],
input[type=password],
input[type=email],
textarea {
    border: 1px solid #562982;
    color: #767676;
    padding: .5em .6em;
    width: 14.5em
}

textarea {
    min-height: 12em;
    width: 19em
}

input[type=text]:hover,
input[type=text]:focus,
input[type=password]:hover,
input[type=password]:focus,
input[type=email]:hover,
input[type=email]:focus,
textarea:hover,
textarea:focus {
    color: #444
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    box-shadow: none
}


/* ------------------------------------------------------------ Boutons */

input[type=submit],
input[type=button] {
    background: #562982;
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: .5em 1.1em
}

input[type=submit]:hover,
input[type=button]:hover,
input[type=submit]:focus,
input[type=button]:focus {
    background: #33274F
}


/* ---------------------------------------------------------------------- Type ligne */

em {
    font-style: italic;
    font-weight: normal
}

strong {
    font-style: normal;
    font-weight: bold
}

strong>em {
    font-weight: bold
}

i.style-01 {
    color: #4040ff
}

abbr[title] {
    border-bottom: 1px dashed #767676;
    cursor: help;
    text-decoration: none
}

a abbr[title] {
    border-bottom: none;
    cursor: pointer
}

kbd {
    background: #e5e5e5;
    border: 1px solid #e6e6e6;
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;
    font-family: helvetica, arial, sans-serif;
    padding: 0 .3em
}


/* ---------------------------------------------------------------------- Type bloc */

hr {
    border: 1px dashed #ccc;
    margin-bottom: 2em
}

div.bloc {
    float: left;
    width: 100%
}

blockquote {
    border-left: .4em solid #ddd;
    color: #666;
    font-style: italic;
    margin: 0 0 1.5em 0;
    padding: 0 0 0 1em
}


/* ---------------------------------------------------------------------- Font Awesome */

i[class^="fa"],
.fa {
    color: #444;
}

/* Correspondance ancienne icône vers les nouvelles */
.fa.crayon:before { content:"\f304"; }
.fa.astuce:before { content:"\f0eb"; }
.fa.remarque:before { content:"\f05a"; }
.fa.attention:before { content:"\f071"; }
.fa.tild:before { color: #40BA40; content:"\f00c"; }
.fa.croix:before { color: #FF4040; content:"\f00d"; }
.fa.exclamation { color: #e88832; content:"\21"; }
.fa.telechargement { content:"\f019"; }
.fa.mobile { content:"\f3cd"; }

/************************************************************************
*
*	S T R U C T U R E       ET       C O N T E N U
*
*************************************************************************/


/* ---------------------------------------------------------------------- Document */

.wrapper {
    /* 1230px */
    background: #f8f8f8;
    box-shadow: 0 1em 1.5em 1em #ccc;
    margin: 0 auto;
    max-width: 64.0625em;
    overflow: hidden
}


/* ------------------------------------------------------------ Bannière */

@media screen and (max-width: 920px) {
    .header {
        background-color: #FFF;
    }
}

.header__top {
    margin: 0 0 2em 0;
    padding: 0 3.125em;
    position: relative;
}

@media screen and (max-width: 920px) {
    .header__top {
        font-size: 0.9em;
        padding: 0 1.25em 0.625em;
    }
}

.header__intro {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

/* -------------------------------------------------- Liens */

.header p {
    font-size: .9em;
    margin-bottom: .2em;
    text-align: right;
}

@media screen and (max-width: 920px) {
    .header p {
        font-size: 0.7em;
    }
}

.header__skiplink {
    left: 0.625em;
    opacity: 0;
    position: absolute;
    top: 0;
}

.header__skiplink:focus {
    opacity: 1
}

.header p a {
    margin: 0 0 0 2em;
}

@media screen and (max-width: 920px) {
    .header p a {
        margin: 0 1em 0 0;
    }

    .header p a:last-child {
        margin: 0;
    }
}


/* -------------------------------------------------- Recherche */



@media screen and (max-width: 920px) {
    .header div[role="search"] {
        display: none;
    }
}

.header form {
    padding: 2em 0 0 2em;
}

.header form label {
    display: block;
    width: 100%;
    text-align: left;
}

.header form label .searchLabel {
    display: block;
}


@media screen and (max-width: 920px) {
    .header form {
        display: flex;
        padding: 0;
    }
}

.header input[type="text"] {
    min-width: 15.625em;
}

@media screen and (max-width: 920px) {
    .header input[type="text"] {
        flex: 1;
        min-width: auto;
        width: auto;
    }
}


/* -------------------------------------------------- Logo */

.header img {
    max-height: 140px;
    width: auto;
}

@media screen and (max-width: 920px) {
    .header img {
        max-height: 60px;
    }
}

.header #logo {
    border: 0
}


/* ------------------------------------------------------------ Navigation principale */

@media screen and (max-width: 920px) {
    .menu {
        display: none;
    }
}

.menu ul {
    background: #33274F;
    font-size: 1.1em;
    margin: 0 0 1.5em 0;
    text-align: center
}


.menu li {
    display: inline
}

.menu a:not([aria-hidden=true]),
.menu strong {
    border: 0;
    color: #fff;
    display: inline-block;
    margin: 0 2em;
    padding: .6em 1em;
    position: relative;
    text-shadow: 0 .04em .04em rgba(0, 0, 0, .8)
}

@media screen and (max-width: 970px) {

    .menu a:not([aria-hidden=true]),
    .menu strong {
        margin: 0 1em;
    }
}

@media screen and (max-width: 920px) {

    .menu a:not([aria-hidden=true]),
    .menu strong {
        display: block;
        margin: 0;
        padding: 0.6em 1.2em;
    }
}

.menu a::before,
.menu strong::before {
    border: .35em solid transparent;
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s ease-in-out
}

.menu a:hover,
.menu a:focus,
.menu a:active,
.menu a.courante,
.menu strong {
    background-color: #D8DE1A;
    border: 1px solid #D8DE1A;
    color: #33274F;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.menu a:hover::before,
.menu a:focus::before,
.menu a:active::before,
.menu a.courante::before,
.menu strong::before {
    border-color: #D8DE1A;
    margin: -.3em
}

@media screen and (max-width: 920px) {

    .menu a:hover::before,
    .menu a:focus::before,
    .menu a:active::before,
    .menu a.courante::before,
    .menu strong::before {
        display: none;
    }
}

.menu a.courante:hover,
.menu a.courante:focus,
.menu a.courante:active {
    text-decoration: underline
}

/* ------------------------------------------------------------ Navigation mobile */

.menu--mobile {
    display: none;
}

@media screen and (max-width: 920px) {
    .menu--mobile {
        display: block;
    }
}

/* Lorsque le menu est ouvert, on affiche le contenu */
.menu--is-open .menu__content {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    overflow: auto;
}

/* Bouton d'ouverture du menu */
.menu__toggle {
    align-items: center;
    border: 1px solid #666;
    display: flex;
    justify-content: center;
    min-width: 2.77em;
    padding: 0.3em 0.5em;
    text-transform: uppercase;
}

.menu__toggle--close {
    border-color: transparent;
    font-size: 1.3em;
    min-height: 2.77em;
}

.menu__toggle span {
    margin-left: 10px;
}

.menu__header {
    display: flex;
    justify-content: space-between;
    padding: 0 1.25em;
    width: 100%;
}

/* Sur mobile, on change l'affichage du menu */
@media screen and (max-width: 920px) {
    .menu__content {
        align-items: flex-start;
        background-color: #FFF;
        display: flex;
        flex-direction: column;
        inset: 0;
        opacity: 0;
        padding: 1.38em 0;
        position: fixed;
        transform: translateX(100%);
        transition: 0.3s cubic-bezier(0.250, 0.100, 0.250, 1) all;
        visibility: hidden;
        z-index: 10000;
    }

    .menu__content div[role=search] {
        display: block;
        margin-top: 1.38em;
        padding: 0 1.38em;
        width: 100%;
    }

    .menu__content ul {
        display: block;
        margin-top: 1.38em;
        text-align: left;
        width: 100%;
    }

    .menu__content ul:after {
        background: #33274f;
        content: '';
        display: block;
        height: 100vh;
        width: 100%;
    }

    .menu__content li {
        display: block;
    }
}

/* ------------------------------------------------------------ Fil d'ariane */

.breadcrumb {
    color: #666;
    font-size: .8em;
    line-height: 1.7;
    margin-bottom: 1.35rem;
    padding: 0 3.90em;
}

@media screen and (max-width: 920px) {
    .breadcrumb {
        padding: 0 1.38em;
    }
}

.breadcrumb ul {
    display: inline;
    margin: 0 0 0 0.25rem;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li span {
    margin: 0 0.25rem;
}

.breadcrumb a,
.breadcrumb strong {
    color: #666;
    margin: 0 .2em
}

.breadcrumb a:hover,
.breadcrumb a:focus,
.breadcrumb a:active {
    color: #562982
}


/* ------------------------------------------------------------ Contenu principal */

.content {
    align-items: flex-start;
    display: flex;
    padding: 0 3.125em;
}

@media screen and (max-width: 920px) {
    .content {
        padding: 0 1.25em;
    }
}

@media screen and (max-width: 800px) {
    .content {
        flex-direction: column;
    }
}

.content__main {
    background: #fff;
    border: 1px solid #fff;
    flex: 1;
    max-width: calc(100% - 14.583em);
    padding: .6em 2.60416em;
}

@media screen and (max-width: 800px) {
    .content__main {
        max-width: none;
        padding: .6em 1.25em;
        width: 100%;
    }
}

main:focus {
    outline: none
}


/* -------------------------------------------------- Titres */

.content__main h1,
.content__main h2,
.content__main h3,
.content__main h4 {
    font-weight: normal;
    line-height: 1.45em;
    margin-bottom: .5em
}

.content__main h1 {
    color: #562982;
    font-size: 2.2em
}

@media screen and (max-width: 800px) {
    .content__main h1 {
        font-size: 1.6em;
    }
}

.content__main h2 {
    color: #33274F;
    font-size: 1.7em;
    margin-top: 1.5em
}

@media screen and (max-width: 800px) {
    .content__main h2 {
        font-size: 1.2em;
    }
}

.content__main h1+h2 {
    margin-top: 1em
}

.content__main h3 {
    color: #222;
    font-size: 1.5em
}

@media screen and (max-width: 800px) {
    .content__main h3 {
        font-size: 1em;
    }
}

.content__main h4 {
    color: #666;
    font-size: 1.3em
}

@media screen and (max-width: 800px) {
    .content__main h4 {
        font-size: 0.8em;
    }
}

/* -------------------------------------------------- Liens */

.content__main a {
    border-bottom: 1px solid #562983;
    color: #562983
}

.content__main a:hover,
.content__main a:focus,
.content__main a:active {
    border-bottom-color: transparent;
    color: #562982
}


/* ---------------------------------------- Complément d'infos */

.content__main a span.infos {
    border-bottom: 1px solid #fff;
    color: #444;
    font-size: .8em;
    padding-bottom: 1px
}


/* ---------------------------------------- De téléchargement */

.content__main a span.telechargement {
    color: #767676;
    margin: 0 .1em 0 0
}


/* -------------------------------------------------- Listes */

.content__main ul,
.content__main ol {
    margin: 0 0 1.5em 0
}

.content__main ul ul,
.content__main ol ol {
    font-size: .9em;
    line-height: 1.65em;
    margin-bottom: .5em;
    padding: .3em 0 0 1.5em
}

.content__main li {
    background: url('images/puce-01.png') no-repeat left .7em;
    margin: 0 0 1em 0;
    padding: 0 0 0 1em
}


/* ---------------------------------------- Non-ordonnées */

.content__main ul ul li {
    background: url('images/puce-02.png') no-repeat left .6em;
    margin-bottom: .5em
}


/* ---------------------------------------- Ordonnées */

.content__main ol {
    padding: 0 0 0 1.2em
}

.content__main ol li {
    background: none;
    list-style-position: outside;
    list-style-type: decimal;
    padding-left: 0
}

.content__main ol ol li {
    list-style-type: lower-alpha
}


/* ---------------------------------------- Images */
.content__main img {
    height: auto;
}

/* ------------------------------------------------------------ Aside (droite) */

.content__aside {
    flex-shrink: 0;
    font-size: .85em;
    line-height: 1.7;
    margin-left: 2.450em;
    width: 14.583em;
}

@media screen and (max-width: 800px) {
    .content__aside {
        margin-left: 0;
        margin-top: 1.22em;
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .content__aside {
        width: 100%;
    }

    .content__aside img {
        max-width: 75%;
    }
}

.content__aside:focus {
    outline: none
}


/* -------------------------------------------------- Titres */

.content__aside h1,
.content__aside .title-1 {
    border-bottom: 1px dashed #a4a0c5;
    font-size: 1.4em;
    font-weight: normal;
    margin-bottom: 1.2em;
    padding: 0 0 .3em 0
}

/* -------------------------------------------------- Widget */
.content__aside .widget_text {
    margin-top: 3.063em;
}

@media screen and (max-width: 600px) {
    .content__aside .widget_text {
        margin-top: 1.838em;
    }
}

.content__aside .widget_text:first-of-type {
    margin-top: 0;
}

/* -------------------------------------------------- Menu secondaire */

.content__aside ul {
    line-height: 1.6em;
    margin: 0 0 2em 0
}

.content__aside li {
    background: url('images/puce-01.png') no-repeat left .6em;
    margin: 0 0 1em 0;
    padding: 0 0 0 1em
}


/* ---------------------------------------- Second niveau */

.content__aside ul ul {
    font-size: .9em;
    margin-bottom: 1.7em;
    margin-top: .7em;
    padding-left: .5em
}

.content__aside li li {
    background-image: url('images/puce-02.png')
}


/* -------------------------------------------------- Images */

.content__aside p a,
.content__aside address p a {
    border: 0
}


/* -------------------------------------------------- Contact */

.content__aside address {
    font-style: normal;
}

.content__aside address p {
    margin-bottom: 1em
}

.content__aside address a,
.content__aside a.link {
    border-bottom: 1px solid #a4a0c5;
    color: #562982
}

.content__aside address a:hover,
.content__aside a.link:hover,
.content__aside address a:focus,
.content__aside a.link:focus,
.content__aside address a:active,
.content__aside a.link:active {
    border-bottom: transparent;
    color: #444
}

.content__aside address span.twitter {
    color: #6D6D6D;
    font-size: 1.1em;
    margin: 0 .2em 0 0
}

.content__aside address span.linkedin {
    color: #6D6D6D;
    font-size: 1.1em;
    margin: 0 .2em 0 0
}


/* -------------------------------------------------- Images */

img.style-01 {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 20px
}

img.avatar {
    border: 1px solid #ddd
}

/* ---------------------------------------- Alignements */

img.alignement-01,
img.avatar {
    float: left;
    margin: 0 1.2em .5em 0
}

img.alignement-02 {
    float: right;
    margin: 0 0 .5em 1.2em
}

img.alignement-03 {
    display: block;
    margin: 0 auto .5em auto
}


/* ---------------------------------------- Légendées */

figure {
    margin: 0 0 1.5em 0;
    text-align: center
}

figure .fa {
    font-size: 2em
}

figure .fa:before {
    position: relative
}

figure .croix:before {
    left: .4em
}

figure .tild:before {
    left: .6em
}

figure .exclamation:before {
    left: .2em
}

figcaption {
    color: #696969;
    font-size: .9em;
    font-style: italic;
    line-height: 1.5em;
    margin-top: .6em
}


/* -------------------------------------------------- Encart */

div.encart {
    background: #E7E7E7;
    margin: 0 0 2em 0;
    padding: 1.5em 2em 1px 2em
}

@media screen and (max-width: 600px) {
    div.encart {
        padding: 1.5em 1em 1px;
    }
}

div.encart-remarque,
div.encart-personnalisation {
    background: #f4f4f4
}

div.encart-attention {
    background: #f5f1f8
}


/* ---------------------------------------- Titres */

div.encart h2,
div.encart h3 {
    color: #444;
    font-size: 1.5em;
    margin: 0 0 .7em 0
}

div.encart span.fa {
    margin: 0 .2em 0 0
}


/* ---------------------------------------- Liens */

main div.encart a span.infos {
    border-bottom-color: #ebf4e2
}


/* -------------------------------------------------- Codes */

pre {
    background: #f8f8f8;
    border: 1px dashed #ddd;
    font-size: 1.25em;
    margin: 0 0 1.5em 0;
    padding: 1em;
    position: relative;
    /*overflow:auto;*/
    white-space: pre-wrap;
    word-wrap: break-word
}

pre strong {
    color: #562982
}

pre .croix:before,
pre .tild:before {
    font-size: 1.5em;
    left: -.4em;
    position: absolute;
    top: -.6em
}

code {
    font-size: 1.2em
}


/* ---------------------------------------- Coloration syntaxique */

main .code-embed-wrapper {
    padding: 0
}

.code-embed-wrapper code {
    font-size: 0.75em
}

main pre[class*="language-"] {
    background: #f8f8f8;
    border: 1px dashed #ddd;
    border-radius: 0;
    box-shadow: none;
    color: #4e9600;
    margin: 0 0 1.5em 0;
    text-shadow: none
}

main code[class*="language-"] {
    color: #4e9600;
    text-shadow: none
}

main .language-markup .token.tag,
main .language-markup .token.attr-name,
main .language-markup .token.punctuation,
main .token.selector,
main .token.property {
    color: #444
}

main .token.attr-name,
main .token.attr-value,
main .token.string,
main .token.char,
main .token.operator,
main .token.entity,
main .token.url,
main .language-css main .token.string,
main .style .token.string,
main .token.variable,
main .token.inserted {
    color: #562982
}


/* -------------------------------------------------- Tableaux */

table.style-01 {
    border-bottom: 1px solid #ddd;
    border-collapse: collapse;
    border-right: 1px solid #ddd;
    font-size: .85em;
    margin: 0 0 2em 0;
    table-layout: fixed;
    width: 100%
}

table.style-01 th,
table.style-01 td {
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    padding: .7em
}

table.style-01 th {
    background: #f3f3f3
}

table.style-01 th[scope="row"] {
    text-align: left
}

table.style-01 td {
    background: #fff;
    text-align: center
}

table.style-01 tr:first-child td:first-child {
    border: 0
}


/* -------------------------------------------------- Système d'accordéon */

main h2.accordeon {
    margin-bottom: .7em
}

button {
    background: none;
    border: 0;
    color: #33274F;
    cursor: pointer;
    font-size: 1em;
    line-height: 1em;
    padding: 0 0 .15em 0;
    transition: all 0.3s ease-in-out
}

button::-moz-focus-inner {
    border: 0
}

main h2.accordeon button,
main h2.accordeon a {
    border-bottom: 1px dashed #33274F;
    display: block;
    text-align: left;
    width: 100%
}

main h2.accordeon button:hover,
main h2.accordeon button:focus,
main h2.accordeon button:active,
main h2.accordeon button[aria-expanded=true],
main h2.accordeon a:hover,
main h2.accordeon a:focus,
main h2.accordeon a:active,
main h2.accordeon a[aria-expanded=true] {
    border-bottom-color: #a4a0c5;
    color: #33274F
}

main h2.accordeon i {
    display: none
}

main h2.accordeon button i,
main h2.accordeon a i {
    display: inline;
    float: right;
    font-size: .8em;
    margin-top: .2em;
    transition: all 0.3s ease-in-out
}

main h2.accordeon button[aria-expanded=false] i,
main h2.accordeon a[aria-expanded=false] i {
    transform: rotate(-90deg)
}

main h2.accordeon button[aria-expanded=false]:hover i,
main h2.accordeon button[aria-expanded=false]:focus i,
main h2.accordeon button[aria-expanded=true] i,
main h2.accordeon a[aria-expanded=false]:hover i,
main h2.accordeon a[aria-expanded=false]:focus i,
main h2.accordeon a[aria-expanded=true] i {
    transform: rotate(0)
}

main div.panneau.cache {
    display: none
}


/* ---------------------------------------- Encart "Mise à jour" */

main h2.maj button {
    color: #767676;
    font-size: 0.8em
}

div.panneau dt {
    display: block;
    font-weight: bold;
    margin: 1em 0 0 0;
}

div.panneau dd {
    display: block;
    margin: 0;
}


/* -------------------------------------------------- Formulaires */


/* ---------------------------------------- Aides à la saisie */

.alerte {
    color: #DE3535;
    font-size: .9em;
    margin-bottom: 2em
}

span.alerte {
    font-size: 1.2em
}


/* ---------------------------------------- Label */

label {
    display: inline-block;
    padding: 0 .5em 0 0;
    text-align: right;
    vertical-align: top;
    width: 32%
}

@media screen and (max-width: 1050px) {
    label {
        display: block;
        padding: 0 0 0.5em 0;
        text-align: left;
        width: auto;
    }
}


/* ---------------------------------------- Champs */

main p input[type=text],
main p input[type=password],
main p input[type=mail] {
    margin-bottom: .5em;
    margin-top: -5px
}

#user_login {
    margin-top: 15px;
}

@media screen and (max-width: 1050px) {
    #user_login {
        margin-top: 0;
    }
}

main p textarea {
    margin-bottom: .5em
}


/* ---------------------------------------- Boutons */

p.actions {
    margin-left: 15px;
    padding: 0 0 0 32%
}

@media screen and (max-width: 1050px) {
    p.actions {
        padding: 0;
    }
}

p.login-submit {
    margin-left: 15px;
    padding: 0 0 0 32%
}

@media screen and (max-width: 1050px) {
    p.login-submit {
        margin-left: 0;
        padding: 0;
        text-align: center;
    }
}


/* ---------------------------------------- Notification et mémorisation connexion */

#notification {
    margin-left: 15px;
    padding: 0 0 0 32%
}

@media screen and (max-width: 1050px) {
    #notification {
        display: flex;
        padding: 0;
    }
}

#notification label {
    display: inline;
    padding: 0 0 0 .5em;
    text-align: left;
    vertical-align: middle;
    width: auto
}

.login-remember {
    margin-left: 15px;
    padding: 0 0 0 30%
}

@media screen and (max-width: 1050px) {
    .login-remember {
        display: flex;
        margin-left: 0;
        padding: 0;
    }
}

.login-remember label {
    display: inline;
    padding: 0 0 0 .5em;
    text-align: left;
    vertical-align: middle;
    width: auto
}

@media screen and (max-width: 1050px) {
    .login-remember label {
        padding: 0;
    }
}


/* ---------------------------------------- Démonstrations */

fieldset.demo {
    border: 0;
    padding: 0
}

fieldset.demo legend {
    color: #222;
    font-size: 1.5em;
    margin: 0 0 .7em 0;
    padding: 0;
    width: 100%
}

main fieldset.demo li {
    background: none;
    margin-bottom: .5em;
    padding: 0
}

main fieldset.demo label {
    display: inline;
    padding: 0 0 0 2rem;
    position: relative;
    text-align: left;
    width: auto;
}

fieldset.demo input {
    margin: .6em 0 0 .2em;
    position: absolute;
    z-index: 100
}

fieldset.demo input+label span::before {
    margin: 0 .5em 0 0;
    position: relative;
    top: .35em;
    z-index: 200
}


/* ------------------------------ Boutons radio */

fieldset.demo input[type=radio] {
    opacity: 0;
}

fieldset.demo input[type=radio]+label::before,
fieldset.demo input[type=radio]+label::after {
    border-radius: 50%;
    content: '';
    position: absolute;
}

fieldset.demo input[type=radio]+label::before {
    background: white;
    border: 0.05rem solid black;
    display: inline-block;
    height: 0.8rem;
    left: 0.5rem;
    top: 0.2rem;
    width: 0.8rem;
}

fieldset.demo input[type=radio]:checked+label::after {
    border: 0.25rem solid #000;
    left: 0.67rem;
    top: 0.35rem;
}

fieldset.demo input[type=radio]:focus+label::before {
    outline: 0.2rem solid;
    outline-offset: 0.2rem;
}


/* ------------------------------ Checkbox */

fieldset.demo input[type=checkbox] {
    opacity: 0;
    position: absolute;
}

fieldset.demo input[type=checkbox]+label::before,
fieldset.demo input[type=checkbox]+label::after {
    content: '';
    display: inline-block;
    position: absolute;
}

fieldset.demo input[type=checkbox]+label::before {
    background: white;
    border: 0.05rem solid black;
    height: 0.9rem;
    left: 0.5rem;
    top: 0.15rem;
    width: 0.9rem;
}

fieldset.demo input[type=checkbox]:checked+label::after {
    border-left: 0.8rem solid #000;
    height: 0.8rem;
    left: 0.55rem;
    top: 0.18rem;
}

fieldset.demo input[type=checkbox]:focus+label::before {
    outline: 0.1rem solid;
    outline-offset: 0.1rem;
}


/* -------------------------------------------------- Liens vers les notices de la page d'accueil */

#notices {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
}

@media screen and (max-width: 800px) {
    #notices {
        left: -0.78125em;
        position: relative;
    }
}

@media screen and (max-width: 600px) {
    #notices {
        position: static;
    }
}

#notices li {
    background: transparent;
    flex: 1;
    margin: 0 0 0.2em 0;
    padding: 0;
}

@media screen and (max-width: 1080px) {
    #notices li {
        flex: auto;
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    #notices li {
        flex: auto;
        width: 100%;
    }
}

#notices a {
    align-items: center;
    background: #562982;
    color: white;
    display: flex;
    font: 1rem sans-serif;
    height: 100%;
    min-height: 5.4em;
    padding: 0.8rem 0.5rem 0.8rem 3.5rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-shadow: 0.05rem 0.05rem 0.05rem black;
}

@media screen and (max-width: 600px) {
    #notices a {
        justify-content: center;
        padding: 0.8rem 0.5rem;
    }
}

#notices a:focus {
    text-decoration: none;
}

#notices a::before,
#notices a::after {
    content: '';
    height: 0;
    position: absolute;
    width: 0;
}

#notices a::before {
    border-bottom: 3rem solid transparent;
    border-left: 2.25rem solid white;
    border-top: 3rem solid transparent;
    left: 0;
    top: -0.3rem;
    z-index: 1000;
}

@media screen and (max-width: 600px) {
    #notices a::before {
        display: none;
    }
}

#notices a::after {
    border-bottom: 2.7rem solid transparent;
    border-left: 2rem solid #562982;
    border-top: 2.7rem solid transparent;
    right: -2rem;
    top: 0;
    z-index: 2000;
}

@media screen and (max-width: 600px) {

    #notices li:last-child a::after {
        display: none;
    }

    #notices a::after {
        border: solid transparent;
        border-color: rgba(255, 255, 255, 0);
        border-top-color: #FFF;
        border-width: 10px;
        content: "";
        height: 0;
        left: 50%;
        margin-left: -10px;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 101%;
        width: 0;
    }
}

#notices a:focus {
    outline: none;
}

#notices a span {
    padding: 0.2rem;
}

#notices a:focus span {
    outline: 0.15rem dotted;
}


/* -------------------------------------------------- Commentaires */

@media screen and (max-width: 1050px) {
    #commentaires {
        font-size: 0.9em;
    }
}

#commentaires ul {
    margin: 0 0 2em 0
}

#commentaires li[id] {
    background: none;
    border-bottom: 1px solid #eaeaea;
    margin: 1em 0 0 0;
    padding: 0
}

@media screen and (max-width: 1050px) {
    #commentaires p {
        margin: 0 0 1em 0;
    }
}

#commentaires p.metas {
    color: #767676;
    font-size: .9em;
    font-style: italic;
    margin-bottom: .8em
}

#commentaires p.outdated-comment {
    background: #f8f8f8;
    color: #666;
    font-size: 0.8em;
    font-style: italic;
    line-height: 1.5em;
    padding: 0.5em;
}

#commentaires span.crayon {
    color: #999;
    font-size: .9em;
    margin: 0 .4em 0 0
}

@media screen and (max-width: 1050px) {

    #commentaires input:not([type=checkbox]),
    #commentaires textarea {
        width: 100%;
    }
}


/* ------------------------------ Réponses */

p.repondre {
    font-size: .9em;
    margin-bottom: 1em;
    text-align: right
}

p.repondre span.reponse {
    color: #999;
    font-size: .8em;
    transform: rotate(35deg)
}

#commentaires ul.children {
    border-top: 1px solid #eaeaea;
    font-size: 1em;
    margin-bottom: 0;
    margin-left: 3em;
    padding: 0
}

@media screen and (max-width: 600px) {
    #commentaires ul.children {
        margin-left: 2em;
    }
}

#commentaires ul.children li:last-child {
    border: 0
}


/* -------------------------------------------------- Plan du site */

#plan-site a {
    border-bottom-color: transparent
}

#plan-site a:hover,
#plan-site a:focus,
#plan-site a:active {
    border-bottom-color: #562982
}


/* -------------------------------------------------- Pagination */

#pagination {
    background: #efefef;
    color: #666;
    margin: 2.4em 0 1.4em 0;
    overflow: hidden;
    padding: 1em 1.2em
}

#pagination a {
    border: 1px dashed #efefef;
    color: #666;
}

#pagination a:hover,
#pagination a:focus,
#pagination a:active {
    border-bottom: 1px dashed #562982;
    color: #562982
}

#precedent {
    float: left;
    margin: 0 .8em 0 0
}

#suivant {
    float: right;
    margin: 0 0 0 .8em
}

#pagination span.fa {
    margin: 0 .2em
}


/* -------------------------------------------------- Haut de page */

#haut-page {
    clear: both;
    color: #767676;
    font-size: .9em;
    margin-bottom: 1em;
    padding: 1em 0 0 0;
    text-align: right
}

main #haut-page a {
    border: 1px dashed #fff;
    color: #767676;
    margin: 0 .2em 0 0
}

main #haut-page a:hover,
main #haut-page a:focus,
main #haut-page a:active {
    border-bottom: 1px dashed #562982;
    color: #562982
}

/* ------------------------------------------------------------ Partenaires */

#partenaires {
    background: #fff;
    clear: both;
    margin: 0 0 1.2em 0;
    padding: 1.2em 50px .8em 50px;
}

@media screen and (max-width: 800px) {
    #partenaires {
        padding: 1.2em 1.38em;
    }
}

#partenaires .title-1 {
    font-size: .9em;
    font-weight: bold;
    margin: 0
}

#partenaires ul {
    margin: .4em 0;
}


/* -------------------------------------------------- Fondateurs */

#fondateurs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1em;
    justify-content: center;
    padding-bottom: .5em;
}

#fondateurs li {
    align-items: center;
    display: flex;
    justify-content: center;
    width: calc(100% / 4 - 1em);
}

@media screen and (max-width: 600px) {
    #fondateurs li {
        width: calc(100% / 3 - 1em);
    }
}

@media screen and (max-width: 400px) {
    #fondateurs li {
        width: calc(100% / 2 - 1em);
    }
}

#fondateurs a:hover {
    border: none;
}

#fondateurs a:hover {
    border: none;
}

/* -------------------------------------------------- Soutiens */

#soutiens {
    font-size: .75em;
    text-align: center;
}

@media screen and (max-width: 600px) {
    #soutiens {
        text-align: left;
    }
}

#soutiens li {
    display: inline;
    margin: 0 .8em 0 0;
}


/* ------------------------------------------------------------ Pied de page */

footer[role=contentinfo] {
    clear: both;
    font-size: .9em;
    margin-top: 1.7em;
    padding: 0 3.472em;
}

@media screen and (max-width: 920px) {
    footer[role=contentinfo] {
        padding: 0 1.157em;
    }
}

.footer__sitemap {
    margin: 0 0 1.5em 0;
    text-align: center;
}

@media screen and (max-width: 920px) {
    .footer__sitemap {
        font-size: .8em;
    }
}

.footer__sitemap li {
    display: inline;
}

@media screen and (max-width: 600px) {
    .footer__sitemap li {
        display: block;
        margin-bottom: 0.5em;
    }
}

.footer__sitemap span {
    color: #ccc;
    display: inline-block;
    font-size: .8em;
    margin: 0 1em;
    vertical-align: top
}

@media screen and (max-width: 600px) {
    .footer__sitemap span {
        display: none;
    }
}


/************************************************************************
*
*	I M P R E S S I O N
*
*************************************************************************/

@media print {

    /* ---------------------------------------------------------------------- Page */
    body {
        background: #fff;
        font-family: serif;
        font-size: 11pt
    }

    /* ---------------------------------------------------------------------- Divers */
    abbr[title] {
        border: none
    }

    /* ---------------------------------------------------------------------- Éléments masqués */
    form,
    header,
    .menu,
    .breadcrumb,
    main a img,
    #haut-page,
    .content__aside,
    footer[role=contentinfo] {
        display: none
    }

    /* ---------------------------------------------------------------------- Éléments modifiés */
    .wrapper {
        background: #fff;
        box-shadow: 0 0 0 0 #fff;
        padding: 0;
        width: auto
    }

    main {
        border: 0;
        margin: 0;
        padding: 0;
        width: auto
    }

    main h1 {
        font-size: 22pt;
        padding-left: 0
    }

    main h2 {
        font-size: 18pt;
        padding: 0 0 .3em 0
    }

    main h3 {
        font-size: 15pt
    }

    main h4 {
        font-size: 13pt
    }

    main a {
        border: 0;
        color: #000
    }

    main li {
        list-style-position: inside;
        list-style-type: square
    }

    /* ---------------------------------------------------------------------- Éléments améliorés */
    a:after {
        content: " (" attr(href) ") "
    }

    a[href^="/"]:after {
        content: " (http://blog.atalan.fr" attr(href) ") "
    }

    abbr[title]:after {
        content: " (" attr(title) ") "
    }

    blockquote[title]:after {
        content: " (" attr(cite) ") "
    }
}