@charset "utf-8";
@import 'https://la-passion.fr/css/normalize.min.css' layer(reset);

:root {
    --brown: rgba(137, 55, 7, 0.8);
    --silver: rgba(192, 192, 192, 0.8);
    --white: rgba(255, 255, 255, .9);
    --black: rgba(0, 0, 0, 0.8);
    --red: rgba(255, 0, 0, 0.8);
    --green: rgba(0, 128, 0, 0.8);
    --azure: rgba(93, 74, 74, 0.7);
    --aqua: rgba(0, 255, 255, 0.5);
    --blue: rgb(181, 199, 249);
    --yellow: rgba(252, 248, 11, 0.778);
    --orange: rgba(248, 133, 32, 0.749);
    --beige: rgba(248, 206, 143, 0.8);
    --border-radius:2rem;
    --raduis-haut:2rem 2rem 0rem 0rem;
    --raduis-bas:0rem 0rem 2rem 2rem;
    --shadow: .5rem .5rem .1rem .1rem;
}

/* generale */

html {
    font-size: 0.625em;
    font-size: -webkit-calc(1em * 0.625);
    font-size: calc(1em * 0.625);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    line-height: 1.6rem;

}

body {
    font-size: 100%;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.6rem;
    margin: 0 auto;
    padding: 0;
    word-wrap: break-word;
}

body {
    background-color: var(--blue);
    text-shadow: 1px 1px 2px var(--ardoise);
}

pre {
    white-space: pre-wrap;
}

img {
    max-width: 99%;
    height: auto;
    display: block;
}

a,
h1,
h2,
h3,
h4,
legend,
button,
.botton {

    line-height: 1.9rem;
    font-size: 19px;
    font-size: 1.9rem;

}

a,
.botton,
button {

    text-align: center;
    text-decoration: none;
    -webkit-transition: 0.8s;
    -o-transition: 0.8s;
    transition: 0.8s;
    word-break: keep-all;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

.button,
button {
    -webkit-box-shadow: .2rem .2rem .05rem .05rem var(--azure);
    box-shadow: .2rem .2rem .05rem .05rem var(--azure);
}

a:focus,
.botton:focus,
button:focus {
    background: var(--black);

}

button:disabled,
button[disabled] {
    border: 1px solid var(--black);
    background-color: var(--azure);
    color: var(--silver);
}

[disabled] {
    cursor: not-allowed;
}

button.disabled {
    pointer-events: none;
}

button.enabled {
    pointer-events: all;
}

h1 {
    line-height: 2.2rem;
    font-size: 21px;
    font-size: 2.1rem;
    text-align: center;
}

h2 {
    line-height: 2.1rem;
    font-size: 20px;
    font-size: 2.0rem;

}

h3 {
    line-height: 1.9rem;
    font-size: 18px;
    font-size: 1.8rem;

}

p {
    margin-bottom: 5px;
    margin-top: 5px;
}

.green {
    color: var(--green);
    text-shadow: var(--white) 0.1em 0.1em 0.2em;
}

.red {
    color: var(--red);
    text-shadow: var(--white) 0.1em 0.1em 0.2em;
}

.blue {
    color: var(--blue);
    text-shadow: var(--white) 0.1em 0.1em 0.2em;
}

.a11y-nav {
    position: absolute;
    top: -10em;
    z-index: 100;
    width: 100%;
}

.a11y-nav a {
    background-color: var(--white);
    font-weight: 700;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0.5rem 0;
}

u,
.u {
    text-decoration: underline;
}

.alert {
    display: block;
    margin: auto;
    min-width: 30%;
    max-width: 70%;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
}

.bold {
    line-height: 2.0rem;
    font-size: 20px;
    font-size: 2.0rem;
    font-weight: bold;
}

.success {
    background-color: var(--green);
    color: var(--white);
    text-shadow: var(--black) 0.1em 0.1em 0.2em;
}

.danger {
    background-color: var(--red);
    color: var(--white);
    text-shadow: var(--black) 0.1em 0.1em 0.2em;
}

.info {
    background-color: var(--blue);
    color: var(--white);
    text-shadow: var(--black) 0.1em 0.1em 0.2em;
}

.container {
    margin: auto;
    width: 99%;
    height: 99%;
}

.header {
    padding: 1em;
    top: 1px;
}

.header nav {
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    gap: 5px;
    margin: auto;
    padding: 0.5rem;
    width: 100%;
    z-index: 9;
}

.header nav a {
    margin: auto;
    color: var(--black);
    border: solid 0.2rem var(--black);
    padding: 0.5rem;
    background-color: var(--silver);
    border-radius: 0.5rem;
    flex: auto;
}

.header nav a:hover {
    background-color: var(--azure);
    color: var(--white);
}

main,
.main {
    margin: auto;
    width: 99%;
    border-radius: 1rem;
}

.carousel {
    width: 480px;
    overflow: hidden;
    position: relative;
    margin: auto;
    background: var(--blue);
    -moz-border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -khtml-border-radius: var(--border-radius);
    border-radius:var(--border-radius);

}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 99%;

}

.item {
    min-width: 99%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.item img {
    width: 99%;
    height: auto;
}

.item a {
    margin-top: 8px; 
    text-decoration: none;
    font-size: 14px;
}

section {
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    border-radius: .5em;
    padding: 1rem;
}

article {
    margin: auto;
    padding: .5rem;
    margin: .5rem;
    border-radius: .5rem;
    max-width: 99%;
    -webkit-box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    padding: 1rem;
    background-color: var(--white);
}

.vertical {
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
}

.article {
    margin: auto;
    padding: .5rem;
    margin: .5rem;
    border-radius: .5rem;
    max-width: 99%;
    -webkit-box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    box-shadow: .2rem .2rem .2rem .2rem var(--silver);

}

.reduit {
    max-width: 50%;
    max-height: auto;
}

.article {

    margin: auto;
    width: 95%;
}

*[hidden],
.hidden {
    display: none;
}

.center {

    text-align: center;
}

input:focus,
textarea:focus {
    background: var(--azure);

}

input:invalid:required,
textarea:invalid:required {
    border-bottom: var(--red) solid 0.3rem;

}

input:valid:required,
textarea:valid:required {
    border-bottom: var(--green) solid 0.3rem;

}

input:invalid:required+span:after,
textarea:invalid:required+span:after {
    color: var(--red);
    padding-left: 0.5%;
    content: '?';
}

input:valid:required+span:after,
textarea:valid:required+span:after {
    color: var(--green);
    padding-left: 0.5%;
    content: '?';
}


canvas {
    border: 1px solid black;
    max-width: 100%;
    max-height: 100%;
}

input,
textarea,
select {
    max-width: 98%;
    min-width: 5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border-bottom: solid 0.5rem var(--silver);

}

table {
    width: 98%;
    word-wrap: break-word;
    border-radius: 0.5rem;
}

ul {
    list-style: none;
}

li {
    border-top: 0.1rem dashed var(--black);
}

caption,
th,
td {
    border-radius: 0.5rem;
    border: 1px solid var(--azure);
    padding: .5em;
}

thead {
    border-radius: 0.5rem;
    border-bottom-style: solid;
    border-color: var(--white);
    background: var(--azure);
}

tfoot {
    border-top-style: solid;
    border-color: var(--black);
    border-radius: 0.5rem;
}

tbody tr:nth-child(odd) {
    background: var(--blue);
}

tbody tr:nth-child(even) {
    background: var(--silver);
}

.pagination {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 0.5rem;
    border: 1px solid var(--azure);
    margin-right: 5px;
    text-decoration: none;
    color: var(--black);
}

.pagination a.active {
    background-color: var(--silver);
}

fieldset {

    margin-top: 2em;
    margin-bottom: 2em;
    padding: .5em;
    font-size: 1.6rem;
    border: solid 1px var(--black);
    border-radius: 0.5em;
    -webkit-box-shadow: .2rem .2rem .2rem .2rem var(--silver);
    box-shadow: .2rem .2rem .2rem .2rem var(--silver);
}

legend {
    padding: 1em;
    font-size: 1.9rem;

}

.field {

    padding-top: .5em;
    padding-bottom: .5em;
    border-color: rgba(var(--black), 0.2);

}


.footer,
footer {
    margin: auto;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 20%;
    width: 99%;
    text-align: center;
    padding: 0.5rem;
}

.livre {
    margin: auto;
    height: 10%;
    width: 80%;
    text-align: center;
    padding: 0.5rem;
}


.clearfix {
    overflow: auto;
}


@media (aspect-ratio:16/9) {
    iframe {
        aspect-ratio: 16/9;
        width: 100%;
        height: 100%;
    }

    .video {
        aspect-ratio: 16/9;
        width: 100%;
        height: auto;
    }
}

.toit {
    margin: auto;
    position: relative;
    width: 95%;
    height: 110px;
    max-height: 1%;
    text-align: center;
    margin-bottom: .2px;
}

.pub {
    width: 95%;
}

.pub div {
    width: 95%;
    max-height: 2%;
    position: absolute;
    top: 2%;
    z-index: -1;
    -webkit-animation: display 20s infinite;
    animation: display 20s infinite;
}

.pub img {
    max-width: 99%;
    max-height: auto;
    top: 1%;
    z-index: -1;
}

.pub div>a {
    margin: auto;
    padding: 0;
    z-index: -1;

}

.pub div:nth-child(0) {

    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.pub div:nth-child(1) {

    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}

.pub div:nth-child(2) {

    -webkit-animation-delay: 20s;
    animation-delay: 20s;
}

.pub div:nth-child(3) {

    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}

.pub div:nth-child(4) {

    -webkit-animation-delay: 40s;
    animation-delay: 40s;
}

.pub div:nth-child(5) {

    -webkit-animation-delay: 50s;
    animation-delay: 50s;
}


body[yahoo] .inner {
    width: 320px !important;
    padding: 0;
}

body[yahoo] .texte {
    width: 320px !important;
    padding: 10px;
}

body[yahoo] .none {
    display: none !important;
    width: 0 !important;
}

body[yahoo] .logo {
    position: relative;
    width: 113px !important;
    height: 99px !important;
}

body[yahoo] .bloc1 {
    padding: 5px !important;
    width: 197px !important;
    background-color: #FFF;
}

.photo {
    border: outset .2rem var(--silver);
    border-radius: 10%;
    -webkit-box-shadow: .5rem .5rem .1rem .1rem var(--azure);
    box-shadow: .5rem .5rem .1rem .1rem var(--azure);
}

.mini {
    min-width: 20%;
    max-width: 50%;
    height: auto;
    max-height: 60%;
    border: outset .2rem var(--silver);
    border-radius: 5%;
    -webkit-box-shadow: .2rem .2rem .05rem .05rem var(--azure);
    box-shadow: .2rem .2rem .05rem .05rem var(--azure);
}

@media screen and (min-width:1024px) and (orientation:landscape) {

    body {
        margin: 0;
        padding: 0;
        min-width: 1024px;
        background-position: center;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 99%;
    }

    img {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        height: auto;
        width: auto;
    }

    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        word-wrap: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }

    code,
    pre,
    samp {
        white-space: pre-wrap;
    }

    #page {
        width: auto;
        min-width: 120px;
    }

    #menu_top {
        width: 95%;
        margin: 0 auto;

    }

    #centre {
        min-width: 120px;

    }

    section {
        width: 95%;
        min-width: 110px;
        margin: 0 auto;
    }

    article {
        width: 95%;
        min-width: 110px;
        margin: 0 auto;
    }

    aside {
        width: 95%;
        min-width: 110px;
        margin: 0 auto;
    }

    #ba {
        width: 99%;
    }

    #bas {
        width: 99%;

    }

    table {
        width: 99%;
        table-layout: fixed;
        border: 2px solid var(--azure);
        margin: auto;
    }

    .hide_mobile {
        display: none !important;
    }

    body:before {
        content: "site pour fixe";
        display: block;
        color: var(--silver);
        text-align: center;
        font-style: italic;
    }
}

@media screen and (min-width:780px) and (max-width:1024px) {

    body {
        width: auto;
        margin: 0;
        padding: 0;
        min-width: 780px;
        max-width: 1023px;
        background-position: center;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 90%;
    }

    #menu_top a {
        font-size: 90%;
    }

    nav .navHaut a {
        width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2.5rem;

    }

    nav .navBas {
        height: 2.5rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    img {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        height: auto;
        width: auto;
    }

    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    code,
    pre,
    samp {
        white-space: pre-wrap;
    }

    #page {
        width: auto;
        min-width: 120px;

    }

    #menu_top {
        width: 90%;
        margin: 0 auto;

    }

    nav .navHaut a {
        width: auto;
        height: 3rem;

    }

    nav .navBas {
        height: 3rem;

    }

    .droite {
        flex: none;
    }

    #centre {
        width: 99%;
        min-width: 120px;

    }


    section {
        float: none;
        width: 99%;
        min-width: 110px;
        margin: 0 auto;
    }

    article {

        width: 99%;
        min-width: 110px;
        margin: 0 auto;
    }

    aside {

        width: 99%;
        min-width: 110px;
        margin: 0 auto;
    }

    #ba {
        width: 99%;
    }

    #bas {
        width: 99%;

    }

    table {
        width: 99%;
        table-layout: fixed;
        border: 2px solid var(--azure);
        margin: auto;
    }


}


@media screen and (max-width: 780px) {

    body {
        width: auto;
        margin: 0;
        padding: 0;
        min-width: 360px;
        max-width: 780px;
        background-position: center;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 90%;
    }

    #menu_top a {
        font-size: 160%;
    }

    nav .navHaut {
        display: block;

    }


    img {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        height: auto;
        width: auto;
    }

    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    code,
    pre,
    samp {
        white-space: pre-wrap;
    }

    #page {
        width: 99%;
        min-width: 120px;

    }

    #menu_top {
        width: 99%;

    }


    #centre {
        width: 99%;
        margin: 0 auto;
    }

    #livre {
        width: 99%;
    }



    #page {
        width: auto;
    }

    nav .navBas {
        padding: 5%;

    }

    #livre,
    #pube2,
    #pube3,
    #pube4 {
        display: none;

    }

    section {
        width: auto;
        min-width: 110px;
        margin: 0 auto;
    }

    article {
        width: auto;
        min-width: 110px;
        margin: 0 auto;
    }

    aside {

        width: auto;
        min-width: 110px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hidden {
        display: none;
    }

    #page {
        width: auto;
    }

    .plaques {
        flex-direction: column;
    }

    .plaque {
        min-width: 99%;
    }

    #pube,
    #pube2,
    #pube3,
    #pube4 {
        display: none;

    }

    #ba {
        width: 99%;
    }

    #bas {
        width: 99%;
    }

    table {
        width: 99%;
        table-layout: fixed;
        border: 2px solid var(--azure);
        margin: auto;
    }


}


@media screen and (max-width:360px) {


    body {
        width: auto;
        margin: 0;
        padding: 0;
        min-width: 120px;
        max-width: 360px;
        background-position: center;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 70%;
    }

    #menu_top a {
        font-size: 120%;
    }

    nav .navHaut {
        display: block;
        align-items: center;
    }

    img {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        height: auto;
        width: auto;
    }

    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

    code,
    pre,
    samp {
        white-space: pre-wrap;
    }

    #page {
        width: 99%;
        min-width: 120px;

    }

    #menu_top {
        width: 99%;
        min-width: 120px;
        margin: 0 auto;
    }


    #centre {
        width: 99%;
        min-width: 120px;

    }

    #page {
        width: auto;
    }

    section {
        width: 99%;
        min-width: 110px;
        margin: 0 auto;
    }

    article {
        width: 99%;
        min-width: 110px;
        margin: 0 auto;
    }

    aside {
        width: 99%;
        min-width: 110px;
        margin: 0 auto;
    }

    #livre,
    #pube,
    #pube2,
    #pube3,
    #pube4 {
        display: none;

    }


    #ba {
        width: 99%;
    }

    #bas {
        width: 99%;
    }

    table {
        width: 99%;
        table-layout: fixed;
        border: 2px solid var(--azure);
        margin: auto;
    }


}


@media only screen and (-webkit-min-device-pixel-ratio: 2) {}

@media only screen and (-webkit-device-pixel-ratio:.75) {}

@media only screen and (-webkit-device-pixel-ratio:1) {}

@media only screen and (-webkit-device-pixel-ratio:1.5) {}

@media (pointer: coarse) {

    a,
    .bottom,
    .botton,
    .button {
        padding: .4em;
    }
}

/*
 *anniation ecran pub dans le toit
 *
 */
@-webkit-keyframes display {
    0% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
        opacity: 0;
    }

    25% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 0;
    }

    50% {
        z-index: 0;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    75% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(-300px);
        transform: translateX(-300px);
        opacity: 0;
    }
}

@keyframes display {
    0% {
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
        opacity: 0;
    }

    25% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 0;
    }

    50% {
        z-index: 0;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    75% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(-300px);
        transform: translateX(-300px);
        opacity: 0;
    }
}