/*
    STYLE
    font-family: 'Roboto' !important;
    background-color: #e5e9ec;
*/

.table-responsive-sm {
    overflow: auto;
}

:focus {
    text-decoration: none!important;
    box-shadow: none!important;
}

body {
    font-family: 'Roboto' !important;
    font-size: 100%;
    margin: 0;
    padding: 0;
    }

td {
    max-width: calc(100vw - 350px);
    overflow: auto;
}

h1 {
    font-size: 18px;
    color: #282323;
    text-align: left;
    margin-bottom: 25px;
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.title h1 {
    margin-bottom: 0!important;
}

h2 {
    font-size: 100%;
    color: #6f7b8a;
    text-align: left;
}

h3 {
    color: #6f7b8a;
    text-align: left;
}

table {
    border: none !important;
    background-color: #e5e9ec;
}

td, th, label, p {
    color: #6f7b8a;
}
.sous_categorie_form {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #282323;
}

.table thead th {
    vertical-align: middle;
    height: 40px;
    border: none!important;
    font-weight: 800;
    text-transform: uppercase;
    color: #6f7b8a;
}

.table td, .table th {
    height: 60px;
    padding: 10px 25px;
    vertical-align: middle;
    border: none!important;
    color: #576475;
    font-size: 14px;
    font-weight: 400;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ecf0f2;
}

hr {
    color: #576475 !important;
    margin: 25px 0;
}

#navbar {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border: none;
    border-radius: 0;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    position: fixed;
    padding: 0 25px;
    width: calc(100% - 250px);
    z-index: 10;
    transition: all .3s;
}

#navbar #nav_mobile {
    display: none;
    height: 100%;
    text-align: center;
    position: relative;
}
#navbar #nav_mobile img {
    height: 100%;
}

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


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

#logo {
    background: #60AAEB !important;
    border: none;
    height: 60px;
    border-radius: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo svg {height: 30px; fill: #ffffff;}

.wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    overflow-x: hidden;
    background-color: #e5e9ec !important;
    position: relative;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background-color: #273238;
    transition: all 0.3s;
}

#sidebar_menu {
    width: 100%;
    display: flex;
    flex-direction: column;
}


#sidebar_menu h3 {
    padding: 25px 0 15px 25px;
    border-bottom: 1px solid #222d33;
    margin: 0;
}

#sidebar_menu a {
    padding: 10px 40px;
    width: 100%;
    font-size: 14px;
    color: #8b91a0 !important;
    border-bottom: 1px solid #222d33;
}

#sidebar_menu a:hover {
    color: #FFFFFF !important;
    background-color: #222d33;
    cursor: pointer;
}

a {
    font-size: 14px;
    color: #8b91a0 !important;
}

a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

a:active {
    color: #ffffff !important;
}

#mCSB_1_container {
    height: 100vh;
    overflow-y: auto;
}

#sidebarCollapse {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0!important;
    padding: 14px 12px;
    background-color: #282323;
}

#sidebarCollapse span {
    display: block;
    width: 15px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: all .3s;
}

#brg_1 {
    position: absolute;
    top: 10px;
}
#brg_3 {
    position: absolute;
    bottom: 10px;
}

#navbar.active #brg_1 {
    transform: rotate(45deg);
    top: 14px;
}
#navbar.active #brg_2 {
    opacity: 0;
}
#navbar.active #brg_3 {
    transform: rotate(-45deg);
    bottom: 14px;
}

#close_menu {
    position: absolute;
    height: 100%;
    width: calc(100vw - 250px);
    background: transparent;
    backdrop-filter: blur(3px);
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
}


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

#content {
    width: calc(100% - 250px);
    padding: 0px;
    min-height: 100vh;
    transition: all 0.3s;
    top: 0;
    right: 0;
    background-color: #e5e9ec;
    box-sizing: border-box;
}

#content.active {
    width: 100%;
}

#content2 {
    margin: 85px 25px 25px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-top: solid 4px red;
    padding: 25px;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

div[role="alert"] {
    color: #721c24 !important;
    border: none;
    background-color: transparent;
    padding: 0;
    padding-left: 5px;
    margin: 0;
    font-size: 12px;
    margin-top: 5px;
}

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

@media (max-width: 768px) {
    #logo {
        display: none;
    }
    #navbar #nav_mobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #navbar #nav_mobile svg {
        height: 30px;
        fill: #ffffff;
    }
    #navbar #nav_desktop {
        display: none;
    }
    #deconnexion {
        display: block!important;
    }
    #sidebar {
        transform: translateX(-250px);
    }
    #sidebar.active {
        transform: translateX(0);
    }
    #content {
        width: 100%;
    }
    #navbar {
        width: 100%;
        background: #60AAEB !important;
        display: block;
    }
    
    #content.active, #navbar.active {
        transform: translateX(250px);
    }
    #content2 {
        margin: 85px 5px 25px;
        padding: 25px 15px;
    }

    td {
        max-width: calc(100vw - 40px);
    }
    .btn {
        margin-bottom: 5px;
    }
    #content.active #close_menu {
        display: block;
    }
}
@media (max-width: 767px) {
    h1 {
        text-align: center;
    }
    .title {
        flex-direction: column;
    }
    .title h1 {
        width: 100%;
        text-align: center;
    }
    .title .btn {
        margin: 15px 0 0 !important;
    }
}

/* ---------------------------------------------------
    BUTTON STYLE
----------------------------------------------------- */

.btn {
    padding: 6px 15px;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    text-shadow: none;
    box-shadow: none;
    transition: all 0.12s linear 0s !important;
    border: none !important;
    border-radius: 3px !important;;
    color: #ffffff !important;
}

.btn-primary {
    background-color: #0aa699 !important;
    margin-right: 5px;
}

.btn-primary:hover {
    background-color: #0090d9!important;
}

.btn-danger {
    background-color: #f35958 !important;
}

.btn-danger:hover {
    background-color: #ac2925!important;
}

#confirm_download1 {
    color: #6f7b8a!important;
    margin-left: 5px;
}

#confirm_download2 {
    color: #6f7b8a!important;
}

a#confirm_download1:hover, a#confirm_download2:hover, a#confirm_download1:active, a#confirm_download2:active {
    color: #60AAEB !important;
}

/* ---------------------------------------------------
    FORM STYLE
----------------------------------------------------- */


label {
    font-size: 14px;
}

.form-control {
    color: #282323;
    outline: 0;
    height: 16px;
    padding: 6px 11px !important;
    line-height: 15px;
    font-size: 13px;
    font-weight: normal;
    vertical-align: top;
    background-color: #fff;
    min-height: 37px;
    filter: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #e5e9ec;
    transition: background 0.2s linear 0s, box-shadow 0.2s linear 0s;
}

.form-control::placeholder {
    color: #6f7b8a80;
}

.form-control:focus {
    border-color: #e5e9ec!important;
    background-color: #f4f5f7!important;
    outline: 0 !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #f4f5f7!important;
}

#checkul, #checkfb, #checklp, #checkpwd, #checkclient, #checkoffre {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

#checkul_label, #checkfb_label, #checklp_label, #checkpwd_label, #checkclient_label, #checkoffre_label {
    position: relative;
    cursor: pointer;
}

#checkul_label:before, #checkfb_label:before, #checklp_label:before, #checkpwd_label:before, #checkclient_label:before, #checkoffre_label:before {
    content: '';
    background-color: transparent;
    border: 1px solid #6f7b8a;
    padding: 7px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 2px;
}

#checkul:checked + #checkul_label:after, #checkfb:checked + #checkfb_label:after, #checklp:checked + #checklp_label:after, #checkpwd:checked + #checkpwd_label:after, #checkclient:checked + #checkclient_label:after, #checkoffre:checked + #checkoffre_label:after {
    content: '';
    display: block;
    position: absolute;
    top: 5.5px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #6f7b8a;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

select#clients, input#concessions {
    font-size: 13px!important;
    font-weight: 500;
    color: black!important;
}

select#users {
    height: 90px;
}

select#users option {
    padding: 3.5px 0;
}

/* ---------------------------------------------------
    ID SIDE BAR STYLE
----------------------------------------------------- */

#campagnes, #clients, #concessions, #utilisateurs, #autre {
    font-size: 10.5px !important;
    font-weight: 800;
    color: #8b91a0 !important;
}

#deconnexion {
    border: none;
    font-size: 10.5px !important;
    color: #8b91a0;
    padding: 25px 0;
    text-align: center;
    display: none;
    width: 100%;
}

#deconnexion:hover {
    background-color: none;
}

#deconnexion_desktop {
    font-size: 12px !important;
    color: #8b91a0;
}

#deconnexion_desktop:hover {
    color: #60AAEB !important;
}