body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    --color-principal: #9b5275;
    --color-principal50: #9b527550;
    --color-principal85: rgba(197, 154, 173, 1);
    --color-principal23: rgba(225, 203, 213, 1);
    background-color: #f8f9fa !important;
}

i.icon {
    color: var(--color-principal);
}

.couleurPrincipal {
    color: var(--color-principal);
}

ul.analyticsReport {
    font-size: 12px;
    font-family: Arial, sans-serif !important;

}

div#notifications {
    position: absolute;
    right: 2px;
    top: 70px;
    z-index: 100;
}

div#notifications > div.notification {
    border: 1px solid;
    padding: 10px 20px;
    box-shadow: 0 0.5rem 1rem #00000015 !important;
    margin: 10px 20px;
}

.notification-close {
    padding-left: 10px;
    color: #aaa;
    float: right;
    font-weight: bold;
}

.notification-close:hover,
.notification-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

div#notifications > div.notification.success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

div#notifications > div.notification.warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

div#notifications > div.notification.danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

input, textarea, select {
    border: 1px solid #adb5bd50;
    padding: 4px 10px;
    border-radius: 10px;
}

input.conform, textarea.conform, select.conform {
    /*padding-right: calc(1.5em + .75rem);*/
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

input.notConform, textarea.notConform, select.notConform {
    color: #842029;
    border-color: #f5c2c7;
    /*padding-right: calc(.75em + 2.3125rem);*/
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat, #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") center right 1.75rem/calc(.75em + .375rem) calc(.75em + .375rem) no-repeat;
}


input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-radius: 10px;
    border-color: var(--color-principal);
}

input[type="checkbox" i] {
    margin: auto 6px auto 4px;

    border-radius: 10px;
}

button {
    cursor: pointer;
    border: 0;
    padding: 4px 10px;
    border-radius: 10px;
}

button:disabled {
    cursor: not-allowed;
    opacity: 50% !important;
}

button.btn-primary {
    background-color: var(--color-principal);
    color: #FFF;
}

small {
    font-size: x-small;
}

small.small-warning {
    color: #d70000;

}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    background-color: white;
    box-shadow: 0 0.5rem 1rem #00000015 !important;
    z-index: 4;
}

header > div.iconMenu {
    cursor: pointer;

    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

header > div#logoDioqa > img {
    height: 40px;
}

header > div.topbar-icons {

    display: flex;
    align-items: center;

}

header > div.topbar-icons > div.topbar-icon {
    cursor: pointer;
    position: relative;
    font-size: 1.5rem;
    margin: 0 15px;
}

header > div.topbar-icons > div.topbar-icon > .topbar-icon-count {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    color: white;
    background-color: #d70000;
    font-size: 0.60rem;
    width: 15px;
    height: 15px;
    padding: 2px;
    text-align: center;
    transform: translate(25%, -25%);
}

header > div > input {
    border: 0;
}

header > div > input:focus {
    border: 0 !important;
    box-shadow: none;
    outline: 0;
}

header > div > .avatar {
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    border: #dee2e6;
    color: white;
    border-radius: 50%;
    background: var(--color-principal);
    box-shadow: 0 0.5rem 1rem #00000015;
    line-height: 2.5rem;

}

main {
    padding-top: 40px;
    margin-bottom: 20px;
}

nav {
    display: block;
    z-index: 2;
    padding-top: 10px;
    background-color: white;
    box-shadow: 0 0.5rem 1rem #00000015 !important;
    margin-right: 10px;
    border-bottom-right-radius: 10px;
}

nav > ul {
    list-style: none;
    padding-inline-start: 0;
}

nav > ul > li.sidebar-list {
    display: flex;
    padding: 5px 15px;
    border-top: 1px solid #adb5bd50;
    border-bottom: 1px solid #adb5bd50;
}

nav > ul > li.sidebar-list.active, nav > ul > li.sidebar-list:hover {
    background-color: var(--color-principal);
    color: #FFF !important;
    cursor: pointer;
}

nav > ul > li.sidebar-list.active > div.sidebar-list-icon > i.icon, nav > ul > li.sidebar-list:hover > div.sidebar-list-icon > i.icon {
    color: #FFF !important;
}


nav > ul > li > div.sidebar-list-icon {
    width: 20px;
    padding-right: 10px;

}

#headerSettingsMenu {
    position: absolute;
    top: 55px;
    right: 0;
    z-index: 300;
    background-color: #FFF;
    border: 2px solid #88888825;
    font-size: small;
    width: 250px;
    max-width: 100%;
}

#headerSettingsMenu.hidden {
    display: none;
}

#headerSettingsMenu > p {
    padding: 5px 15px;
}

#headerSettingsMenu > ul {
    list-style: none;
    padding-inline-start: 0;
    margin: 0;
}

#headerSettingsMenu > ul > li.headerSettingsMenu-list {
    display: flex;
    padding: 5px 15px 5px 20px;

    border-top: 1px solid #adb5bd50;
}

#headerSettingsMenu > ul > li.headerSettingsMenu-list.active {
    background-color: var(--color-principal);
    color: #FFF;
    cursor: pointer;
}

#headerSettingsMenu > ul > li.headerSettingsMenu-list:hover {
    background-color: var(--color-principal);
    color: #FFF;
    cursor: pointer;
}

#headerSettingsMenu > ul > li > div.headerSettingsMenu-list-icon {
    width: 20px;
    padding-right: 10px;

}

.sidebar-heading {
    margin-bottom: 0;
    padding: 1.5rem;
    color: #adb5bd;
    font-size: .7875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

section {
    padding: 30px 10px 10px 10px;
    width: 100%;
    z-index: 2;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-around;
    align-self: flex-start;
    flex-wrap: wrap;
}

div.form-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

div.form-group {
    padding: 5px 2px;
    display: flex;
    flex-direction: column;
}

div.form-group > label {
    padding-left: 0.5em;
    width: 100%;
    font-size: x-small;
    color: #6a6a6a;
}

div.form-group > input, div.form-group > textarea {
    width: calc(100% - 22px);
    /*min-width: 250px;*/
}

div.form-group > button, div.form-group > select {
    width: 100%;
}

div.form-group > span {
    width: 100%;
    font-size: small;
    text-align: center;
}

footer {
    display: block;
    width: 100%;
    height: 30px;
    z-index: 3;
    text-align: center;
    border-top: 1px solid #88888825;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 20; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modalConnexion > .modal-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#modalConnexionLogo > img {

    width: 100%;
    max-width: 500px;
}

#modalConnexionIdentifications {
    width: 300px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

#modalConnexionIdentifications > input, #modalConnexionIdentifications > button {
    margin: 10px 0;
}

h3 > input {
    margin-left: 0.5rem;
}


@media only screen and (min-device-width: 1000px) {

    main {
        display: flex;
        min-height: calc(100vh - 40px - 20px - 30px);
    }

    nav {
        width: 200px;
    }

    nav > ul > li.sidebar-list:hover {
        transform: scale(1.1);
    }

    .slide-out {
        display: none;
    }

}

@media only screen and (max-device-width: 500px) {
    #logoDioqa {
        display: none;
    }


}

@media only screen and (max-device-width: 1000px) {

    main {
        display: block;
    }

    nav {
        width: 100%;
    }

    .slide-out {
        display: none;
    }
}

.tabNav {
    width: 100%;
}

.tabNav-header {
    display: flex;
    flex-wrap: wrap;
    margin: 5px 5px 0 5px;
    padding: 0 5px 0 5px;
}

.tabNav-header-item {
    cursor: pointer;
    padding: 5px 10px 3px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid var(--color-principal);
    background-color: white;
    font-size: small;
}

.tabNav-header-item-active, .tabNav-header-item:focus, .tabNav-header-item:hover {
    background-color: var(--color-principal);
    color: white;
    border-bottom: 4px solid var(--color-principal);
}


.tabNav-body-active {
    margin: 0 5px 5px 5px;
    border: 1px dashed var(--color-principal);
    box-shadow: 0 0.5rem 1rem #00000015;
    border-radius: 5px;
    background-color: #f8f9fa;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.tabNav-body-hidden {
    display: none !important;
}

.tabNav-body-part {
    margin: 5px 5px 5px 5px;
    /*border: 1px solid black;*/
    box-shadow: 0 0.5rem 1rem #00000015;
    border-radius: 5px;
    background-color: white;
    padding: 10px;
}

.col-1 {
    width: 300px;
    max-width: 100%;
}

.col-2 {
    width: 600px;
    max-width: 100%;
}

.col-3 {
    width: 900px;
    max-width: 100%;
}

.col-4 {
    width: 1200px;
    max-width: 100%;
}

.col-p25 {
    width: 25%;
}

.col-p50 {
    width: 50%;
}

.col-p100 {
    width: 100%;
}

.icon-group {
    width: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    font-size: small;
}
