﻿/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


:root {
    --primary: #F29400 !important;
    --mdb-primary: #F29400 !important;
    --mdb-btn-bg: var(--mdb-primary);
    --hover: #cd9118;
    --active: #c37a08;
    --focused: #c37a08;
    --hover-black: #222;
}

/* BUTTON PRIMARY */

.btn-primary {
    --mdb-btn-bg: #F29400;
    --mdb-btn-color: #fff;
    --mdb-btn-box-shadow: 0 4px 9px -4px #F29400;
    --mdb-btn-hover-bg: var(--hover-black);
    --mdb-btn-hover-color: #fff;
    --mdb-btn-focus-bg: var(--hover-black);
    --mdb-btn-focus-color: #fff;
    --mdb-btn-active-bg: var(--hover-black);
    --mdb-btn-active-color: #fff;
}

.btn-primary {
    --mdb-btn-border-color: #F29400;
    --mdb-btn-hover-border-color: var(--hover-black);
    --mdb-btn-focus-shadow-rgb: 88,134,210;
    --mdb-btn-active-border-color: var(--hover-black);
    --mdb-btn-active-shadow: 0 8px 9px -4px rgba(0,0,0,0.15),0 4px 18px 0 rgba(0,0,0,0.1);
    --mdb-btn-disabled-color: #fff;
    --mdb-btn-disabled-bg: #3b71ca;
    --mdb-btn-disabled-border-color: #3b71ca;
}

    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: var(--hover-black);
        border-color: var(--hover-black);
    }

    btn-check:focus + .btn-primary,
    .btn-check:focus-visible + .btn-primary,
    .btn-primary:focus {
        box-shadow: none;
        background-color: var(--hover-black);
    }

    .btn-primary:not(:disabled):not(.disabled).active:focus,
    .btn-primary:not(:disabled):not(.disabled):active:focus,
    .show > .btn-primary.dropdown-toggle:focus {
        /*box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);*/
        box-shadow: none;
    }


/* BUTTON OUTLINE PRIMARY */

.btn-outline-primary {
    --mdb-btn-bg: transparent;
    --mdb-btn-color: #F29400;
    --mdb-btn-hover-bg: transparent;
    --mdb-btn-hover-color: var(--hover-black);
    --mdb-btn-focus-bg: transparent;
    --mdb-btn-focus-color: var(--hover-black);
    --mdb-btn-active-bg: transparent;
    --mdb-btn-active-color: var(--hover-black);
    border-color: #F29400;
}

    .btn-check:focus + .btn-outline-primary,
    .btn-check:focus-visible + .btn-outline-primary,
    .btn-outline-primary:first-child:hover,
    .btn-outline-primary:focus,
    .btn-outline-primary:focus-visible,
    .btn-outline-primary:hover,
    :not(.btn-check) + .btn-outline-primary:hover {
        border-color: var(--hover-black);
    }

    .btn-outline-primary:not(:disabled):not(.disabled).active,
    .btn-outline-primary:not(:disabled):not(.disabled):active,
    .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: var(--hover-black);
        border-color: var(--hover-black);
    }

        .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
        .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .show >
        .btn-outline-primary.dropdown-toggle:focus {
            /*box-shadow: 0 0 0 0.2rem rgba(0,123,255,.5);*/
            box-shadow: none;
        }

.calculatrice {
    min-width: 100%;
    min-height: 100%;
}

.sideI {
    /*flex-grow: 1;*/
}

body, html {
    width: 100%;
    height: 100%;
    font-size: 0.85rem;
    font-family: "Roboto"
}

.login {
    flex-grow: 2;
    flex-shrink: 0;
    position: relative;
}

.main-side {
    flex-grow: 2;
/*    flex-shrink: 0;*/
    position: relative;
}

.btn_refesh {
    cursor: pointer;
}

.btn-dgi, .btn-dgi:hover {
    background: #F29400
}

    .btn-dgi:focus {
        background: #c37a08
    }

.logo {
    color: var(--primary);
    width: 50%;
    margin-top: -10px;
}

    .logo:hover {
        color: var(--hover)
    }

@media only screen and (max-width: 600px) {
    .logo {
        width: 20%;
        margin-top: 0px;
    }

    .login {
        flex-shrink: 1
    }
}

.main {
    display: flex;
    flex-direction: row;
    /*justify-content: space-between;*/
    overflow: hidden;
    background: #F0F2F5;
    height: 100% !important;
    font-family: 'Poppins';
    font-size: 0.85rem;
    font-style: normal;
}

    .main a {
        color: black
    }

    .main > .btn, .main > .btn-primary {
        background: #F29400;
    }

.copyright {
    margin-left: -20px;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 20px;
    border-top: 0.5px solid #aaafb6;
    padding-top: 5px;
}



/* ---------------------------------------------------
    NAVIGATION STYLE
----------------------------------------------------- */

.navigation {
    font-family: 'Poppins', sans-serif;
    background: #F0F2F5;
}

.sidebar p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #3F434A;
}

.navigation .navbar a,
.navigation .navbar a:hover,
.navigation .navbar a:focus {
    color: #3F434A;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}

    .navbar li {
        /*border: 1px solid black;*/
    }

.btnLangue > button {
    color: black;
    background: transparent;
    box-shadow: none;
    margin-top: -7px;
    font-size: 0.8em;
    padding-left: 0.3rem !important;
    padding-right: 0 !important;
}

    .btnLangue > button:hover, .btnLangue > button:focus {
        color: #F29400 !important;
        background: transparent;
        box-shadow: none;
    }

.dropItem > button:hover {
    color: #F29400;
}

.dropMenu {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
}

.navHarmony a:hover {
    color: #F29400 !important;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    font-family: 'Poppins', sans-serif;
}

.sidebar a {
    color: black;
}

.sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #FFFFFF;
    color: #fff;
    transition: all 0.3s;
    font-size: 0.8rem;
    transition: all .3s ease
}

.sidebar-active {
    margin-left: -250px;
}

.sidebar .sidebar-header {
    padding: 20px;
    background: #F29400;
}

.components li {
    font-weight: 500 !important;
    /*padding: 20px 0;*/
}

.sidebar ul p {
    color: #fff;
    padding: 10px;
}

.sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

    .sidebar ul li a:hover:not(.activeLink) {
        color: #F29400;
        background: #fff;
    }

/*.sidebar ul li>a.active{*/
.activeLink {
    background: #FFE4B8;
    border-left-style: solid;
    border-color: #F29400;
    border-width: 3px;
}

.sidebar ul li.active > a,
.sidebar a[aria-expanded="true"] {
    color: #F29400 !important;
}

.sidebar a[data-toggle="collapse"] {
    position: relative;
}

.sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}



.sidebar ul.CTAs {
    padding: 20px;
}

    .sidebar ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

.navigation a.download {
    background: #fff;
    color: #7386D5;
}

.navigation a.article,
.navigation a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

.content {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    overflow-x: hidden;
}

.btnCol {
    width: 40px;
    height: 40px;
    padding: 9.5px;
    background: #D9D9D9;
}
/* ---------------------------------------------------
    ACCORDION STYLE
----------------------------------------------------- */

.accordionItem, .accordionItem h2 {
    background: #F29400 !important;
    color: white;
    border-radius: 10px !important;
    padding-top: 0.5px;
    margin: 0.5rem;
}

    .accordionItem button:not(.collapsed) {
        background: #F29400 !important;
        color: white;
        border-bottom-color: white;
    }

    .accordionItem button {
        background: #F29400 !important;
        color: white;
        border-bottom-color: white;
    }

    .accordionItem .accordion-body {
        /*padding: 0;
    background: #F29400 !important;*/
        color: white;
    }

.listNav {
    line-height: 1;
}

    .listNav li {
        padding: 0;
        color: white;
        background-color: #F29400;
        border-bottom: 0.5px solid white;
    }

    .listNav a {
        color: white;
    }
/* ---------------------------------------------------
    MENU DROPDOWNS
----------------------------------------------------- */

.sidebar ul ul a {
    font-size: 1em !important;
    /*padding-left: 30px !important;
    background: #6d7fcc;*/
}

.menuDeroul, .menuPaiement {
    color: black;
    cursor: pointer;
    font-weight: 500;
}

    .menuDeroul:hover, .menuPaiement:hover {
        cursor: pointer;
        color: #F29400;
        background: #fff;
    }

    .menuDeroul::after, .menuPaiement::after {
        /*border: 3px solid red*/;
        /*padding-top: -3px;*/
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-right: -50px;
        float: right;
        right: 10%;
        content: "";
        font-weight: bold;
        /*background-color: red;*/
    }

.menuAvis, .menuPaiement {
    position: absolute;
    opacity: 0;
    height: 0px;
}

    .menuAvis:checked + .slide {
        height: auto;
    }

.menuDeroul::after {
    content: "-";
}

}

.menuPaiement:checked + .slide {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.menuDeroul::after {
    content: "-";
}

.menuPaiement:checked + .slideR {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .menuPaiement:checked + .slideR .menuDeroul::after {
        content: "-";
    }


.userrole {
    border: 2px solid white;
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 5px;
    color: white !important;
    /* font-weight: 800 !important; */
    font-size: 15px !important;
}

.slide {
    /*padding-top: 10px;*/
    clear: both;
    width: 100%;
    height: 0px;
    overflow: hidden;
    transition: height .4s ease;
    background-color: #F29400;
}

    .slide li {
        padding: 0;
        background-color: transparent;
        list-style: none;
        font-weight: lighter;
    }

        .slide li a {
            padding: 2px !important;
            color: white;
            /*border: 2px solid red;*/
        }

            .slide li a:hover {
                background-color: transparent !important;
                color: black !important;
                /*border: 2px solid red;*/
            }

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }

        .sidebar.active {
            margin-left: 0;
        }

    .sidebarCollapse span {
        display: none;
    }

    .hideonmobile {
        display: none;
    }
}

@media (max-width: 991px) {
    .btnCol {
        margin-left: -25px;
    }
}
