.compte {
    /* border: 1px dashed; */
    display: flex;
    justify-content: center;
    width: 100%;
}

.compte .compte-mxw {
    /* border: 1px dashed; */
    width: 100%;
    max-width: 1000px;
}

/* .compte .compte-cnt {} */

.compte .compte-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 10px;
    padding: 15px;
}

/* .compte .compte-top {} */

.compte .compte-bdy {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
}

.compte .compte-bdy > div a,
.compte .compte-bdy > div p  {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: initial;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 7px 0 #ddd;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.compte .compte-redirect {
    padding:  10px 20px;
}

.compte .compte-redirect > div > a {
    /* text-decoration: none; */
    color: initial;
    font-weight: bold;
}

.html404 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.dashboard {
    /* border: 1px dashed; */
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.dashboard .dashboard-mxw {
    width: 100%;
    max-width: 1200px;
    height: 100%;
}

.dashboard .dashboard-cnt {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.dashboard .dashboard-top {
    position: relative;
    overflow-x: auto;
}

/* .dashboard .dashboard-top > div {
    overflow-x: auto;
} */

.dashboard .dashboard-top > div > div {
    display: flex;
}

.dashboard .dashboard-top > div a {
    position: relative;
    display: flex;
    text-decoration: none;
    align-items: center;
    color: initial;
    padding: 5px 15px;
    border-right: 1px solid #ddd;
}

/* .dashboard .dashboard-top > div a:last-child {
    padding: 12px 25px;
} */

.dashboard .dashboard-top > div img {
    /* position: absolute; */
    /* left: 10px; */
    display: flex;
    max-width: none;
}

/* .dashboard .dashboard-top {} */

.dashboard .dashboard-bdy {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-top: 1px solid #ddd;
}

.dashboard .dashboard-bdy-split {
    display: grid;
    grid-template-columns: 1fr 47%;
    height: 100%;
}

.dashboard .dashboard-bdy-left {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    border-right: 1px solid #ddd;
    height: 100%;
    overflow: hidden;
}

.dashboard.mois .dashboard-bdy-left {
    grid-template-rows: auto 1fr;
}

.dashboard .dashboard-bdy-left-top {
    overflow: hidden;
}

.dashboard .dashboard-bdy-left-top-alert {
    position: relative;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.dashboard .dashboard-service {
    border-right: 1px solid #ddd;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    transform: translateY(0);
    transition: transform 0.3s;
}

.dashboard .dashboard-alert-cmd {
    position: absolute;
    white-space: nowrap;
    color: red;
    font-weight: bold;
    background: #fff;
    transform: translateY(105%);
    transition: transform 0.3s;
}

.dashboard .dashboard-alert {
    white-space: nowrap;
    background: #fff;
    z-index: 2;
}

.dashboard .dashboard-bdy-left-top-ttr {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* grid-template-columns: 85px 110px 90px 70px auto; */
    border-top: 1px solid #ddd;
    font-weight: bold;
    background-color: #e5e8ff;
    overflow-y: hidden;
    scrollbar-gutter: stable;
}

.dashboard.mois .dashboard-bdy-left-top-ttr {
    /* grid-template-columns: repeat(4, 1fr); */
    border-top: 0;
    padding: 0 10px;
}

.dashboard .dashboard-bdy-left-top > div > div {
    padding: 10px;
    /* border: 1px dashed #ccc; */
}

.dashboard .dashboard-bdy-left-bdy {
    position: relative;
    /* display: flex; */
    height: 100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.dashboard.mois .dashboard-bdy-left-bdy {
    border-bottom: 0;
}

.dashboard .dashboard-bdy-left-bdy > div {
    position: relative;
    /* display: grid; */
    /* height: 100%; */
    /* overflow-y: hidden; */
}

/* Liste */
.dashboard .dashboard-bdy-left-bdy > div > div {
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.dashboard.alertcmd .dashboard-bdy-left-bdy > div > div:nth-child(odd) {
    background: #fff;
}

.dashboard.alertcmd .dashboard-bdy-left-bdy > div > div:nth-child(even) {
    background: #eee;
}

.dashboard .dashboard-bdy-left-top-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* grid-template-columns: 85px 110px 90px 70px auto; */
}

/* .dashboard.mois .dashboard-bdy-left-top-list {
    grid-template-columns: repeat(4, 1fr);
} */

.dashboard .dashboard-bdy-left-top-list > div {
    padding: 10px; 
    /* border: 1px dashed #ccc; */
    /* white-space: nowrap; */
}

.dashboard .dashboard-bdy-left-cadre {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 0 !important; 
    border: 2px solid #555;
    opacity: 0;
}

.dashboard .dashboard-bdy-left-btm > div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.dashboard .dashboard-bdy-left-btm > div > div {
    padding: 10px; 
}

.dashboard .html_cmd {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.dashboard .dashboard-bdy-right {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.dashboard .dashboard-bdy-right-init {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transform: translate3d(0,0,0);
    transition: transform 0.4s;
}

.dashboard .dashboard-bdy-right-init > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 20px;
}

.dashboard .dashboard-bdy-right-cnt {
    position: relative;
    height: 100%;
    background: #fff;
    transform: translate3d(0,30px,0);
    opacity: 0;
    transition: transform 0.4s,opacity 0.2s;
    pointer-events: none;
}

.dashboard .dashboard-cmd-cnt {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
}

.dashboard .dashboard-cmd-cnt img {
    display: flex;
    max-width: none;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.dashboard .dashboard-cmd-top,
.dashboard .dashboard-cmd-ttr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.dashboard .dashboard-cmd-top > div {
    position: relative;
    white-space: nowrap;
    padding: 0 10px;
}

.dashboard .dashboard-cmd-bdy {
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.dashboard .dashboard-cmd-close {
    display: flex;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.dashboard .dashboard-cmd-bdy > div {
    display: flex;
    /* padding: 10px; */
}

.dashboard .dashboard-cmd-ttr {
    background-color: #eff1ff;
    border-bottom: 1px solid #ddd;
}

.dashboard .dashboard-cmd-ttr > div {
    padding: 4px 10px;
}

.dashboard .dashboard-cmd-delai {
    padding: 10px !important;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    white-space:nowrap;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

/* .dashboard .dashboard-cmd-send {
    padding: 5px 10px !important;
    border-left: 1px solid #ddd;
} */

.dashboard-cmd-cnt .ttl-articles {
    position: relative;
    font-weight: bold;
    box-shadow: 0 0 0 0 #000 !important;
    /* text-align: center; */
    padding: 0 !important;
    background: transparent !important;
}

.dashboard-cmd-cnt .ttl-articles > div:first-child {
    position: relative;
    display: inline-block;
    padding: 7px 10px;
    border-radius: 5px 5px 0 0;
    background: #fff;
    box-shadow: 0 0 10px 0 #bbb;
    /* z-index: 2; */
}

.dashboard-cmd-cnt .ttl-articles > div:last-child {
    position: absolute;
    bottom: 0px;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    width: 100%;
    height: 4px;
    background:#fff;
}

.dashboard .dashboard-cmd-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
    /* background: #ddd; */
    background: #eee;
}

.dashboard .dashboard-cmd-grid.service {
    gap: 10px;
}

.dashboard .dashboard-cmd-grid > div {
    /* border: 1px solid #ddd; */
    padding: 10px;
    /* border-radius: 5px; */
    background: #fff;
    box-shadow: 0 0 10px 0 #bbb;
}

.dashboard .dashboard-cmd-grid.service > div {
    border-radius: 5px;
    box-shadow: 0 0 0 0 #000 !important;
}

.radiustop {
    border-radius: 5px 5px 0 0;
}

.radiusbtm {
    border-radius: 0 0 5px 5px;
}

.cmd-separation {
    padding: 1px !important;
    background: transparent !important;
    box-shadow: 0 0 0 0 #000 !important;
}

.dashboard .dashboard-cmd-date,
.dashboard .dashboard-cmd-chx {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}

.dashboard .dashboard-cmd-hor {
    display: flex;
    width: 100%;
    gap: 7px;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: 0 0 0 0 #000 !important;
}

.dashboard .dashboard-cmd-hor > div {
    /* border: 1px solid #ddd; */
    width: 100%;
    padding: 10px;
    /* border-radius: 5px; */
    background: #fff;
    box-shadow: 0 0 10px 0 #bbb;
}

.dashboard .dashboard-cmd-hor > div:first-child {
    border-radius: 5px 0 0 0;
}

.dashboard .dashboard-cmd-hor > div:last-child {
    border-radius: 0 5px 0 0;
}

.dashboard .dashboard-modal-group {
    border-radius: 5px !important;
    box-shadow: 0 0 0 0 #000 !important;
}

.dashboard .dashboard-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dashboard .dashboard-modal-cnt {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    overflow: hidden;
}

.dashboard .dashboard-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ddd;
    transform: translate3d(0, -105%, 0);
    transition: transform 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
}

.dashboard .dashboard-modal-top > div {
    padding: 0 10px;
}

.dashboard .dashboard-modal-close {
    display: flex;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.dashboard .dashboard-modal-bdy {
    height: 100%;
    background: #f9f9f9;
    transform: translate3d(0, 105%, 0);
    transition: transform 0.45s cubic-bezier(0.6, 0.08, 0, 0.98);
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.dashboard .dashboard-modal-list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
    padding: 10px;
    /* height: 100%; */
}

.dashboard .dashboard-modal-group {
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
}

.dashboard .dashboard-select-service {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.dashboard .dashboard-select-service > div {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

/* .dashboard .dashboard-cmd-prd {
    background: #fffed7 !important;
} */

.dashboard .dashboard-cmd-prd > div,
.dashboard .dashboard-cmd-ttl > div {
    display: flex;
    justify-content: space-between;
}

.dashboard .dashboard-cmd-sphere {
    font-weight: bold;
    padding: 5px;
    color: red;
    border: 2px solid red;
    border-radius: 50%;
}

.dashboard.mois .dashboard-bdy-left-bdy > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
}

.dashboard.mois .dashboard-bdy-left-bdy > div > div {
    border: 1px solid #ccc;
}

.dashboard.mois .mois-day-block > div:nth-child(odd) {
    background: #fff;
}

.dashboard.mois .mois-day-block > div:nth-child(even) {
    background: #eee;
}

.dashboard.mois .dashboard-bdy-left-cadre {
    left: -1px;
    width: calc(100% + 2px);
}

.dashboard.mois .mois-day-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding: 10px;
    background-color: #ddd !important;
    cursor: auto;
}

/* .dashboard.mois .mois-month-total {
    border: 1px solid #bbb !important;
} */

.dashboard.mois .mois-month-total-nth1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    background: #ddecff;
    cursor: auto;
}

.dashboard.mois .mois-month-total-nth2 > div {
    display: flex;
    justify-content: space-between;
    background: #c5d8ff;
    /* background: #ccc; */
    cursor: auto;
}

.dashboard.mois .mois-month-total-nth2 > div > div {
    padding: 10px;
    font-weight: bold;
}

.dashboard.history .dashboard-chx-date > div {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 0;
    overflow-x: auto;
}

.dashboard.history .dashboard-chx-date > div > div {
    padding: 7px 10px;
    border-right: 1px solid #ddd;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

/* .dashboard.history .dashboard-chx-date > div > div:last-child {
    background: #eee;
} */

@media (max-width: 310px) {
    .dashboard .dashboard-cmd-statut {
        display: none;
    }
    .dashboard .dashboard-cmd-hor {
        flex-wrap: wrap;
    }
    .dashboard .dashboard-cmd-hor > div:first-child {
        border-radius: 5px 5px 0 0;
    }

    .dashboard .dashboard-cmd-hor > div:last-child {
        border-radius: 0 0 0 0;
    }
}

@media (max-width: 319px) {
    .dashboard .dashboard-bdy-left-btm > div > div:nth-child(1),
    .dashboard .dashboard-bdy-left-btm > div > div:nth-child(2),
    .dashboard .dashboard-bdy-left-btm > div > div:nth-child(3) {
        display: none;
    }
}

@media (max-width: 320px) {
    .compte .compte-bdy {
        grid-template-columns: 1fr;
    }
    .dashboard .dashboard-select-service {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 425px) {
    .dashboard .dashboard-bdy-left {
        font-size: smaller;
    }
    /* .dashboard .dashchx {
        font-size: 15px;
    } */
}

@media (max-width: 500px) {
    /* .dashboard .dashboard-bdy-left {
        font-size: smaller;
    } */
    .dashboard .html_cmd {
        border: 0;
    }
}

@media (max-width: 768px) {
    /* .dashboard .dashboard-cnt, */
    .dashboard .dashboard-bdy-split {
        grid-template-columns: 1fr;
    }
    .dashboard .dashboard-bdy-left {
        border: 0;
    }
    .dashboard .dashboard-bdy-right {
        display: none;
    }
}

@media (max-width: 1200px) {
    .dashboard .dashboard-cnt {
        border: 0;
    }
}