:root {
    --body-bg: #fafafb;
    --box-bg: #ffffff;
    --header-bg: #000000;
    --main-color: #b50707;
    --text-color: #455560;
    --text-second-color: #72849ab3;
    --border-color: #e9e9e9;
    --menu-item-active-bg: rgba(62, 121, 247, 0.1);
    --box-border-radius: 15px;
    --sidebar-size: 300px;
    --sidebar-logo-img-size: 45px;
    --sidebar-logo-size: 80px;
    --profile-image-size: 45px;
    --main-header-height: 80px;
    --shadow: 0 1px 4px -1px rgb(0 0 0 / 15%);
    --darkmode-toggle-size: 20px;
}
html{
    font-size:16px;
}
.dark {
    --body-bg: #1a191f;
    --box-bg: #1a191f;
    --border-color: #222028;
    --text-color: #b9b9b9;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    position: relative;
}

a {
    text-decoration: none;
    color: unset;
    display: inline-block;
}

.sidebar {
    background-color: var(--box-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-size);
    height: 100vh;
    box-shadow: var(--shadow);
    overflow-y: auto;
}

.dark .sidebar {
    border-right: 2px solid var(--border-color);
}

.sidebar-logo {
    height: var(--sidebar-logo-size);
    position: relative;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo img {
    height: var(--sidebar-logo-img-size);
    max-width: 100%;
}

.sidebar-close {
    display: none;
}

.sidebar-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.sidebar-user-info {
    display: flex;
    align-items: center;
}

.sidebar-user-name {
    margin-left: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: capitalize;
}

.profile-image {
    width: var(--profile-image-size);
    height: var(--profile-image-size);
    border-radius: 10px;
}

.btn2 {
    background-color: transparent;
    border: none;
    outline: none;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    color: var(--main-color);
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.btn2 i {
    font-size: 1.25rem;
}

.btn-outline {
    border: 2px solid var(--main-color);
    transition: background-color 0.2s ease-in-out;
}

.btn-outline:hover {
    background-color: var(--main-color);
    color: #fff;
}

.sidebar-menu {
    padding: 10px 0;
    list-style-type: none;
}

.sidebar-menu > li > a {
    width: 100%;
    padding: 15px;
    height: 45px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: color 0.2s ease-in-out;
}

.sidebar-menu > li > a.active {
    background-color: var(--menu-item-active-bg);
    color: var(--main-color);
    border-right: 4px solid var(--main-color);
}

.sidebar-menu > li > a:hover {
    color: var(--main-color);
    text-decoration:none;
}

.sidebar-menu > li > a > i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.sidebar-menu-dropdown {
    position: relative;
}

.sidebar-menu-dropdown .dropdown-icon {
    position: absolute;
    right: 15px;
}

.dropdown-icon {
    --size: 15px;
    --color: var(--text-color);
    height: var(--size);
    width: var(--size);
    position: relative;
    cursor: pointer;
}

.dropdown-icon::after,
.dropdown-icon::before {
    --height: 2px;
    content: "";
    width: 50%;
    height: var(--height);
    border-radius: 2.5px;
    position: absolute;
    top: calc(50% - var(--height) / 2);
    background-color: var(--color);
    transition: transform 0.3s ease;
}

.dropdown-icon::before {
    left: calc(50% - var(--height) / 3);
    transform-origin: center left;
    transform: rotate(-45deg);
}

.dropdown-icon::after {
    right: calc(50% - var(--height) / 3);
    transform-origin: right;
    transform: rotate(45deg);
}

.dropdown-icon.active::before {
    transform: rotate(45deg);
}

.dropdown-icon.active::after {
    transform: rotate(-45deg);
}

.sidebar-menu > li > a:hover > .dropdown-icon {
    --color: var(--main-color);
}

.sidebar-menu-dropdown-content {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.25s ease-in-out;
}

.sidebar-menu-dropdown-content > li > a {
    padding-left: 50px;
}

.darkmode-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.darkmode-switch {
    --height: var(--darkmode-toggle-size);
    --width: calc(var(--height) * 2);
    height: var(--height);
    width: var(--width);
    border-radius: calc(var(--height) / 2);
    background-color: #f5f6fa;
    position: relative;
}

.darkmode-switch::before {
    content: "";
    --height: 20px;
    --main-color: #0652dd;
    width: var(--height);
    height: var(--height);
    position: absolute;
    left: 0;
    border-radius: 50%;
    background-color: var(--main-color);
    transition: left 0.3s ease-in-out;
}

.darkmode-switch.active::before {
    left: 50%;
}

.main {
    padding-left: var(--sidebar-size);
}

.main-header {
    height: var(--main-header-height);
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--header-bg);
    box-shadow: var(--shadow);
    color:var(--box-bg)
}

.dark .main-header {
    border-bottom: 2px solid var(--border-color);
}

.mobile-toggle {
    display: none;
}

.main-title {
    text-transform: capitalize;
    font-size: 1.5rem;
}

.main-content {
    padding: 20px;
}

.box {
    background-color: var(--box-bg);
    padding: 20px;
    border: 0.5px solid var(--border-color);
    border-radius: var(--box-border-radius);
}

.box-hover:hover {
    border-color: var(--main-color);
}

.counter-title {
    margin-bottom: 20px;
    text-transform: capitalize;
}

.counter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: 700;
}

.counter-info i {
    color: var(--main-color);
}

.box-header {
    text-transform: capitalize;
    font-size: 1.25rem;
    font-weight: 700;
}

.box-body {
    padding: 20px 0;
}

.product-list {
    list-style-type: none;
}

.product-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.item-info {
    display: flex;
    align-items: center;
}

.item-info img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 10px;
}

.product-name,
.product-sales {
    font-weight: 600;
    text-transform: capitalize;
}

.product-name {
    margin-bottom: 5px;
}

.product-sales {
    margin-top: 5px;
}

.text-second {
    color: var(--text-second-color);
}

.item-sale-info {
    text-align: right;
}

.f-height {
    height: 100%;
}

table {
    width: 100%;
    /*min-width: 1000px;*/
}

.pagination-gridview {
    background-color: #fff;
    padding: 2px;
    margin: 2% auto;
}
.pagination-gridview a {
    margin: auto 1%;
    border-radius: 50%;
    background-color: #444;
    padding: 5px 10px 5px 10px;
    color: #fff;
    text-decoration: none;
    /* -o-box-shadow: 1px 1px 1px #111;
-moz-box-shadow: 1px 1px 1px #111;
-webkit-box-shadow: 1px 1px 1px #111;
box-shadow: 1px 1px 1px #111;*/
}
.pagination-gridview table {
    width:auto;
}
.pagination-gridview a:hover {
    background-color: var(--header-bg);
    color: #fff;
}
.pagination-gridview span {
    margin: auto 1%;
    border-radius: 50%;
    background-color: var(--main-color);
    padding: 7px 10px 7px 10px;
    color: #fff;
    /* -o-box-shadow: 1px 1px 1px #111;
-moz-box-shadow: 1px 1px 1px #111;
-webkit-box-shadow: 1px 1px 1px #111;
box-shadow: 1px 1px 1px #111;*/
}
.order-owner {
    display: flex;
    align-items: center;
    text-transform: capitalize;
    font-weight: 500;
}

.order-owner img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
}

table thead tr {
    text-align: left;
}

table th {
     background: var(--main-color);
     color:white;
}
table th,
table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-status {
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 500;
}

.order-ready {
    color: #2a59d1;
    background-color: rgba(62, 121, 247, 0.1);
}

.order-shipped {
    color: #00ab6f;
    background-color: rgba(4, 209, 130, 0.1);
}

.payment-status {
    display: flex;
    align-items: center;
}

.payment-status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.payment-paid .dot {
    background-color: #04d182;
}

.payment-pending .dot {
    background-color: #ffc542;
}

.overflow-scroll {
    overflow-y: auto;
}

.overlayDash {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh; /*100%;*/
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

    .overlayDash.active {
        display: block;
    }

.mobileImg {
    display: none;
}


/* Cookie */
#cookieConsentdiv {
    z-index: 1000;
    position: fixed;
    width: 400px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 30px 20px 30px;
    font-family: 'Century Gothic', sans-serif;
    box-shadow: 0px 3px 10px 5px rgba(0, 0, 0, 0.4);
    text-align: center;
    border-radius: 30px 30px 0 0;
}

#cookieConsentdiv button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none;
    background-color: green;
    padding: 10px 50px;
    margin-top: -5px;
    color: white;
    transition: all ease 0.5s;
}

#cookieConsentdiv button:hover {
    background-color: darkgreen;
}

#cookieConsentdiv h3 {
    font-size: 22px;
}

#cookieConsentdiv p {
    font-size: 13px;
}

#cookieConsentdiv a {
    color: gray;
    text-decoration: underline;
}

/* Fin Cookie */

/* Offre style filtre */
.input100 {
    width: calc(100% - 95px);
}
.input50 {
    width: calc(50% - 96px);
}
.input {
    display: inline-block;
    margin-top: 5px;
}

.input100P {
    width: calc(100% - 87px);
}

.input50P {
    width: calc(50% - 88px);
}
.inputDate {
    width: 150px;
}
.inputHeure {
    width: 100px;
}
.offreFiltreSpan {
    display: inline-block;
    width: 90px;
    vertical-align: middle;
}

.partenaireFiltreSpan {
    display: inline-block;
    width: 82px;
    vertical-align: middle;
}
.form-check{
    margin-top:5px;
}

.apercuImage {
    margin-top: 20px;
    width: 251px;
    height: 158px;
    border: solid 1px;
    border-radius: 15px;
    border-color: lightgrey;
    background-size: cover;
    background-position: center center;
}

.radioButtonOffre input {
    vertical-align: unset;
    margin-right: 5px;
}


.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

/*.overlay:target {
    visibility: visible;
    opacity: 1;
}*/

.popup {
    margin: 70px auto;
    padding: 00px;
    background: #fff;
    border-radius: 5px;
    width: 80%;
    position: relative;
    transition: all 5s ease-in-out;
}

    .popup img {
        width: calc(100% - 60px);
        margin: 30px;
    }
.tVerif img:hover {
    cursor: zoom-in;
}
.popup img:hover {
    cursor: zoom-out;
}
    .popup h2 {
        margin-top: 0;
        color: #333;
        font-family: Tahoma, Arial, sans-serif;
    }

    .popup .close {
        position: absolute;
        /*top: 20px;*/
        right: 10px;
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }

    .popup .close:hover {
        color: #06D85F;
    }

.popup .rotate {
    position: absolute;
    /*top: 20px;*/
    right: calc(50% - 30px);
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

    .popup .rotate:hover {
        color: #06D85F;
    }

    .popup .content {
        max-height: calc(100vh - 140px);
        overflow: auto;
    }

@media only screen and (max-width: 1280px) {
    /*only screen and (max-width: 1280px) {
    /*only screen and*/
    .sidebar {
        transition: transform 0.3s ease-in-out;
        max-width: 100%;
        z-index: 99;
        transform: translateX(-100%);
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .main {
        padding-left: 0;
    }

    .mobileImg {
        display: block;
    }
    .main-title {
        display: none;
    }
    .mobile-toggle,
    .sidebar-close {
        display: grid;
        place-items: center;
        font-size: 2rem;
        margin-right: 30px;
        cursor: pointer;
    }

    .sidebar-close {
        position: absolute;
        right: -15px;
    }
}

@media (max-width: 700px) {
    

    .table th {
        display: none;
    }
    .table .thead {
        display: none;
    }
    .table tr {
        display: block;
        margin-bottom: 40px;
    }

    .table td {
        display: block;
        text-align: right;
    }

    .table td:before {
        content: attr(data-label);
        float: left;
        color: var(--main-color);    
        font-weight: bold;
    }
    .table{
        border:none;
    }
}


.NumeroPage{
    text-align:center;
}

.GridPager a, .GridPager span {
    display: block;
    height: 20px;
    width: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    margin-right: 2px;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background-color: var(--main-color);
    color: #000;
    border: 1px solid var(--main-color);
}

.GridPager table{
    width:auto;
}
.GridPager td {
    border: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--main-color);
    border-color: #a50707;
}

.btn-primary:hover {
    color: #fff;
    background-color: #000;
}

.btnOnglet {
    border: none;
    background-color: lightcoral;
    padding: 2px 10px;
    color: #000;
}

.btnOngletActive {
    border: none;
    background-color: darkred;
    padding: 2px 10px;
    color: #fff;
    font-size: 1.1em;
}

.divOnglet {
    padding-top: 15px;
    padding-bottom: 10px;
}

.overlayPopUp {
    z-index: 1000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlayPopUpActive {
    visibility: visible;
    opacity: 1;
    display: flex;
}

.iframePopUp {
    width: 90%;
    height: 90vh;
    margin: auto;
}

.fermerturePopUp {
    color: #ffffff;
    font-size: 13px;
    padding: 15px;
    position: absolute;
    top: 0;
    left: calc(100% - 50px);
    cursor: pointer;
    font-size: 1.5em;
}