*,
::before,
::after {
    /* box-sizing: border-box; */
    margin: 0;
    padding: 0;
    /* font-family: sans-serif; */
}

:root {
    --gris: rgb(245, 245, 245);
    --ftr: #143657;
    --btn: #555;
    --btn_clr:#fff;
    --btn_txt_shd: 1px 1px 1px #000;
}

/* 
a utiliser
background: var(--btn);
color: var(--btn_clr);
text-shadow: var(--btn_txt_shd); 
*/

@font-face {
    font-family: ofl;
    /* src: url(../font/ofl.ttf); */
    src: url(../font/ccbattlecarred.ttf);
} 

html,body {
    /* position: relative; */
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    /* font-size: large; */
    /* width: 100%;
    height: 100svh;
    position: fixed;
    overflow: hidden; */
}

/* Tirer page pour actualiser sur mobile */
/*
.fix {
    position: relative;
    overflow: hidden;
    height: 100svh;
}

.main {
    position: relative;
    height: 100svh;
    overflow: auto;
    scrollbar-gutter: stable;
    background-color: rgba(0, 0, 0, 0);
}
*/

.bdy_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.4s;
    background-size: cover;
    background-position: center;
}

#hdr, #cnt, #btm {
    position: fixed;
    left: 0;
    width: 100%;
    /* padding-right: 10px; */
    z-index: 1;
    /* background-color: #fff; */
}

/* #hdr, #btm { */
    /* right: 10px; */
    /* width: calc(100% - 10px); */
/* } */

/* @media only screen and (max-width: 768px) {
    #hdr, #btm {
        width: 100%;
    }
} */

/* #hdr {
    top: 0;
    box-shadow: 0 0 10px 0 #999;
} */

/* #bdy {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100%;
} */

#cnt {
    top: 0;
    width: 100%;
    height: calc(100% - 1px);
    /* width: calc(100% - 10px); */
    /* height: 100%; */
    overflow: auto;
    /* z-index: 0; */
    /* scrollbar-width: thin; */
    /* transition-property: all; */
    /* transition-timing-function: cubic-bezier(0,0,0,1); */
    /* transition-duration: 0.5; */
}

/* Pour WebKit/Chromium (Chrome, Edge, Safari) */
/* #cnt::-webkit-scrollbar {
    width: 10px;
    height: 10px;
} */

/* #cnt #pge {
    width: calc(100% - 10px);
} */

#btm {
    bottom: 0;
    z-index: 1;
}

/* @media only screen and (max-width: 409px) {
    #hdr, #btm {
        right: 0;
    }
} */

/* #bdy #cnt {
    transition: all 0.45s cubic-bezier(0,0,0,1);
} */

.menu {
    position: fixed;
    top: 0;
    left: 0;
    /* width: 100%; */
    min-width: 250px;
    height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    scroll-behavior: smooth;
    /* scrollbar-gutter: stable;  */
    /* border: 1px dashed; */
    background: #fff;
    transform: translate3d(-105%,0,0);
    transition: transform 0.3s cubic-bezier(.7,.3,0,1);
    z-index: 10;
}

@media only screen and (max-width: 250px) {
    .menu {
        width: 100%;
        min-width: auto;
    }
}

img {
    position: relative;
    /* display: flex; */
    max-width: 100%;
    object-fit: contain;
}

/* #cnt img {
    height: auto;
} */

#loader {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    justify-items: center;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #000;
    background: transparent;
}

.spiner {
    border: 10px solid #f3f3f3;
    /* border: 10px solid transparent; */
    border-top: 10px solid #555;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
}

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

.crx {
    display: none;
}

.maintenance {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.maintenance > p {
    position: relative;
    padding: 20px;
}

.retour_catalogue {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 300px;
    text-decoration: none;
    padding: 10px;
    color: #fff;
    border-radius: 5px;
    /* background: #c51414; */
    background: var(--btn);
    color: var(--btn_clr);
    text-shadow: var(--btn_txt_shd); 
}

#ldr {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    justify-items: center;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #000;
    background: transparent;
    z-index: 100;
}

#spiner {
    border: 10px solid #eee;
    /* border: 10px solid transparent; */
    border-top: 10px solid #555;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
}

#pge {
    height: 100%;
}

.pge {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.spce {
    flex-grow: 2;
}

.pge p {
    margin: 1em;
}

.pge .ftr_btm p {
    margin: 0;
}

/* Applique une bordure à 0 sur toutes les iframes dans l'éditeur */
iframe {
    border: 0 !important;
}

.hdr_cmd {
    align-content: unset !important;
}

.hdr_cmd a {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--btn);
    color: var(--btn_clr) !important;
    text-shadow: var(--btn_txt_shd);
    padding: 0 10px;
}


@media (max-width: 600px) {
    .hdr_cmd {
        display: none !important;
    }
    /* Convertir les lignes en blocs sur les petits écrans pour les pages sous tinymce */
    .pge col, .pge th, .pge td {
      display: block;
    }
    /* .cart_pge col, .cart_pge th, .cart_pge td {
        display: table-cell;
    } */
}


