/* *********MAIN********** */

body {
    font-family: 'Roboto';
    font-size: 12px;
    position: relative;
    background-color: #f7f7f7 !important;
    margin: 0;
    padding: 0;
}

ul.list {
    padding-left: 0;
}

ul.list>li.list-item {
    list-style-type: none;
}

body>.content {
    /* margin-top: 50px; */
    margin-bottom: 50px;
}

.p2-card {
    padding: 15px;
    margin: 15px auto 0;
    border: 0;
}

.btn-link[disabled] {
    cursor: not-allowed;
}

a {
    cursor: pointer;
}

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

.table-bordered>tbody>.tr-warning,
.table-bordered>tbody>.tr-warning>td {
    border-color: var(--warning-color);
    color: var(--warning-color);

}

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

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-border-color);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary:focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus {
    background: var(--primary-focus-color);
    border-color: var(--primary-border-focus-color);
}

.open>.dropdown-toggle.btn-primary,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary:hover {
    background: var(--primary-border-color);
    border-color: var(--primary-border-color);

}

.pointer {
    cursor: pointer;
}

.search-block {
    justify-content: space-between;
}

.search-block>* {
    margin: 0.2em 1em;
}

.panel.p2-card {
    margin-top: 0.8em;
    box-shadow: 0px 0px 7px -1px rgba(120, 90, 10, 0.15);
    border-radius: 4px;
    border: 0;
    background: white;
}

.panel.p2-card .row-panel-head {
    border-radius: 4px 4px 0 0;
    padding: 0 20px;
    /* box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.15); */

}

.panel.p2-card .row-panel-head>* {
    margin-top: 14px;
    margin-bottom: 10px
}

.panel.p2-card .row-panel-head:after {
    content: "";
    border-bottom: 2px solid var(--main-color-2);
    width: 100%;
    display: block;
}


.p2-card .panel-body {
    margin-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: visible;
    overflow-y: visible;
}


.btn-shadow {
    box-shadow: 0px 0px 7px -1px rgba(0, 0, 0, 0.5)
}

.bg-muted {
    background: #999;
}

.flex-column {
    display: flex;
    flex-flow: column nowrap;
}

.flex-row {
    display: flex;
    flex-flow: row nowrap;
}

.flex-row.space-between {
    justify-content: space-between;
}

.flex-row.space-around {
    justify-content: space-around;
}

.flex-row>div {
    flex: 1;
    /* text-align: center; */
}

.flex-row>div.flex-0 {
    flex: 0;
}


div.flex-2 {
    flex: 2;
}

.tf-after-sidebar {
    margin-left: 163px;
    position: relative;
}

.tf-after-sidebar.sidebar-hided {
    margin-left: 20px;
    position: relative;
}

.table>tbody>tr>td.td-select,
.table>tbody>tr>th.td-select,
.table>thead>tr>td.td-select,
.table>thead>tr>th.td-select {
    padding: 0;
}

.table>tbody>tr>td.td-select input.form-control,
.table>tbody>tr>td.td-select .p2-select .ui-select-toggle {
    border: 0;
    border-radius: 0;
    height: 34px;
}

.table>tbody>tr>td.td-select input.form-control.input-sm,
.table>tbody>tr>td.td-select .p2-select.input-sm .ui-select-toggle {
    border: 0;
    border-radius: 0;
    height: 30px;
}

.table>tbody>tr>td.td-select input.form-control.input-xs,
.table>tbody>tr>td.td-select .p2-select.input-xs .ui-select-toggle {
    border: 0;
    border-radius: 4px;
    height: 19px;
    font-size: 14px;
}

td.disabled {
    background-color: #eee;
    cursor: not-allowed;
}

label.label-checkbox {
    height: 34px;
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

label.label-checkbox input[type=checkbox] {
    position: absolute;
    opacity: 0;
}

label.label-checkbox span.checkmark {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

label.label-checkbox:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
label.label-checkbox input:checked~.checkmark {
    background-color: var(--success-color);
}

/* Create the checkmark/indicator (hidden when not checked) */
label.label-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
label.label-checkbox input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
label.label-checkbox .checkmark:after {
    left: 9px;
    top: 3px;
    width: 8px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    /* transform: rotate(45deg); */
}

#loading-bar-container #loading-bar-spinner {
    position: fixed;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    left: 0;
    /* background : rgb(0,0,0,0.4); */
    z-index: 150000;
}

#loading-bar-spinner .spinner-icon {
    width: 50px;
    height: 50px;

    border-top-color: #9f6fe2;
    border-left-color: #9f6fe2;
}

#loading-bar .bar {
    background: #9f6fe2;
    position: fixed;
    z-index: 90000;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-bottom-right-radius: 1px;
    border-top-right-radius: 1px;
}

#loading-bar-container.login #loading-bar .bar {
    top: 0;
}

.list-users {
    padding-left: 0px;
}

.list-users li {
    list-style-type: none;
}

.list-users li a {
    color: black;
}

.small-status {
    text-transform: uppercase;
}

.user-row {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.advanced-search label.checkbox-inline {
    line-height: 55.8px;
}

.advanced-search label.checkbox-inline input[type=checkbox] {
    top: 18px;
}

.modal-dialog {
    z-index: 10000;
}


.user-row:last-child {
    border-bottom: none
}

.btn-floatty {
    position: fixed;
    bottom: 10px;
    right: 20px;
    border-radius: 27px;
    padding: 5px 10px;
}

/**********SEARCHBAR**********/

.p2-search-bar {
    padding: 0;
    margin: 0 auto;
}

.p2-search-bar .input-group .btn.input-group-addon {
    padding: 0 7px;
    background: white;
}

.p2-search-bar .input-group {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.p2-search-bar .input-group input.form-control {
    border-left: 0;
    box-shadow: none;
}

.p2-search-bar .input-group input.form-control:focus {
    border-color: #CCC;
    box-shadow: none;
}

.p2-search-bar .input-group:focus-within {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

main {
    margin-top: 60px;
}

/**********NAVBAR*************/
.tf-nav-fixed{
    position: sticky;
    top: 0;
    z-index: 500;
}
.navbar-toggle span {
    background-color: black;
}

.logo-brand {
    margin-top: -10px;
    height: 40px;
    /* margin-left: 10px; */
}
.logo-brand2 {
    margin-top: -30px;
    height: 80px;
    /* margin-left: 10px; */
}
#mainNav {
    /* background: linear-gradient(to right, var(--main-color-2) 0%, var(--main-color-3) 100%); */
    /* box-shadow: 0px -12px 15px 10px rgba(0, 0, 0, 0.5); */
    max-width: 100vw; 
    /* border-bottom: 1px; */
    background-image: url(../img22162502/bck_motif.png);
    background-color: white;
    border-bottom: 3px solid var(--main-color-2);

}

#mainNav a {
    /* color: white; */
    color: #a29d97;
}

#mainNav .nav.navbar-nav.navbar-main-left li a {
    font-weight: 400;
}

#mainNav .nav.navbar-nav.navbar-main-left li a {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    padding: 16px 9px;
    font-size: 15px;
}

#mainNav .nav.navbar-nav li.active,
#mainNav .nav.navbar-nav.navbar-main-left li a:hover,
#mainNav .nav.navbar-nav.navbar-main-left li:hover a,
.nav li a:focus,
.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover,
.nav li.active>a,
.nav li:hover>a,
.nav li:focus>a {
    background: rgba(255, 255, 255, 0.15);
    /* color: white; */
    color: var(--main-color-2);
    /* font-weight: 300; */
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover {
    background: rgba(255, 255, 255, 0.15);
    /* color: white; */
    color: var(--main-color-2);    
    /* font-weight: 300; */
}

#mainNav .nav.navbar-nav li.active>a,
.nav li:hover>a,
.nav li:focus>a {
    /* color: white; */
    color: var(--main-color-2);    
    background: rgba(255, 255, 255, 0.15);
}

#mainNav .navbar-right .dropdown-menu li a i.fa {
    margin-right: 10px;
}

#mainNav .navbar-right .dropdown-menu li a {
    color: #242424;
}

img.avatar {
    width: 35px;
    margin-right: 10px;
}

#navbarDropdownMenuLink {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    height: 50px;
    padding-top: 0;
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .navbar-nav.navbar-main-left {
        float: left;
        display: flex;
        margin: 0;
        flex-flow: row wrap;
        justify-content: center;
        max-width: calc(100vw - 305px);
    }

}

/********SIDEBAR************/
.sidebar {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    width: 163px;
    padding-top: 20px;
    background-color: #f9f9f9;
    margin: 0;
    border-radius: 0;
    box-shadow: -12px 0px 6px 10px rgba(0, 0, 0, 0.5);
    z-index: 110;
}

.hideSideBar {
    float: right;
    position: absolute;
    right: -3px;
    top: 2.9px;
    height: 100%;
    width: 10%;
    background-color: lightgray;
    margin-top: -3px;

}

.sideBarIcon {
    position: absolute;
    top: 50%;
    bottom: 50%;
}

.sidebar ul.flex-column {
    width: 162px;
    text-align: center;
    width: 92%;

}

.sidebar.position-hide {
    left: -147px;
}

.sidebar li a {
    padding: 4px 11px;
    color: #5d5d5d;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.sidebar li a i,
.sidebar li a span {
    margin-bottom: 4px;
    padding: 3px 15px 0 1px;
    width: 29px;
}

.nav li a:hover,
.nav li a:focus,
.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover,
.nav li.active>a,
.nav li:hover>a,
.nav li:focus>a {
    background: rgba(0, 0, 0, 0.13);
    color: #33017d;
}

.nav .dropdown-menu>.active>a,
.nav .dropdown-menu>.active>a:focus,
.nav .dropdown-menu>.active>a:hover {
    background: rgba(51, 122, 183, 0.3);
}

.sidebar.navbar li.active a,
.sidebar.navbar li.active>a,
.sidebar.navbar li:hover>a,
.sidebar.navbar li:focus>a,
#mainNav .navbar-right .dropdown-menu li.active a,
#mainNav .navbar-right .dropdown-menu li a:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #33017d;
}

.hide-sideBar {
    display: flex;
    flex-flow: row nowrap;
    position: absolute;
    top: 0;
    right: -1px;
    width: 19px;
    height: 100%;
    align-items: center;
    color: var(--primary-color);
}

.hide-sideBar:hover {
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: var(--primary-color);
}

@media (max-width : 1100px) and (min-width : 767px) {
    body>.content {
        margin-top: 100px;
    }

    .sidebar {
        top: 100px;
    }
}

/* CLIENTS */
.projets-list-box {
    height: 450px;
    overflow-y: scroll;
}

/********ActionDropdown********/
.action-dropdown {
    position: relative;
}

.action-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.action-menu a {
    font-size: 1em;
    display: block;

}

.selectedRow {
    background: rgba(0, 0, 0, .075);
}

.detail-frais-list {
    padding: 5px 0;
}

.detail-frais-list>li {
    list-style-type: none;
    font-size: 0.9em;
}

.detail-frais-list>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.detail-frais-list>li>a small {
    padding-right: 5px;
}

.detail-frais-list>li>a svg {
    margin-right: 5px;
}

.detail-frais-list>li>a:hover,
.detail-frais-list>li>a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

span.pointer.disabled {
    cursor: not-allowed;
    color: #C2C2C2;
}

.popover {
    z-index: 1040 !important;
}

.large-pop {
    width: auto;
    max-width: none;
    height: auto;
    max-height: 600px;
    overflow-y: scroll;
}

.large-pop-no-of {
    width: auto;
    max-width: none;
    height: auto;
}

.medium-pop {
    width: auto;
    height: auto;
    max-width: none;
}

.dropdown-menu {
    padding: 10px;
}




/********LOGIN*************/


#login-img img {
    height: 100%;
}

#loginPage {
    z-index: 12;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 192, 40, 0.72);
    background-image: url("../img22162502/login-3-min.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#loginPage:before{
    content:"";
    background: rgba(255, 192, 40, 0.72);
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
#loginPage .header .title{
    text-align: center;
    margin-bottom: 6px;
    text-transform: uppercase;
}
/* #loginPage .panel.p2-card {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
} */
#loginPage .bandeau:before{
    content: "";
    background-image: url('../img22162502/login-3-min.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 93%;
    left: 5%;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 10;
}
/* #loginPage .bandeau:after{
    content: "";
    background: rgb(255, 192, 40, 0.72);
    background: linear-gradient(96.9deg, rgba(255, 192, 40, 0.72) 86.4%, rgba(2,0,36,0) 86.5%);
    position: absolute;
    width: 98%;
    left: 5%;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 10;
} */
#loginPage .positionning .panel.p2-card {
    padding: 80px 80px 80px 200px;
    position: absolute;
    left: -20%;
    right: 10%;
}
#loginPage .positionning {
    /* position: absolute;
    top: 50%;
    bottom: 20%;
    left: 0%;
    width: 350px;
    height: 100%;
    margin: auto; */
    display: flex;
    height: 100%;
    flex-flow: column nowrap;
    width: 41%;
    height: calc(96vh);
    justify-content: center;
    align-items: unset;
}
#loginPage .imgs{
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: 0;
    left: 0;
    right: 50%;
}
#main-logo{
    position: absolute;
    width: 50%;
    left: 10%;
    z-index: 20;
    top: 46%;
}
#bypiman{
    position: absolute;
    width: 100px;
    top: calc(100vh - 67px);
    left: 5vw;
    z-index: 20;
}
#loginPage .header {
    margin: 0 auto 40px;
}

.btn-unfill {
    background: transparent;
    color: var(--main-color-2);
    border-radius: 4px;
    padding: 6px 25px;
}

@media screen and (max-width:995px) {

    #loginPage {
        background: none;
    }
    
    #loginPage .bandeau{
        display: none;
    }

    #loginPage .positionning {
        left: 0%;
        width: 100%;
        padding: 20px;
    }
    #loginPage .imgs{
        display: none;
    }

    #loginPage .positionning .panel.p2-card{
        left: 10%;
        padding-left: 80px;
    }

}

/*******Tables************/
.table-suivi.table td,
.table-suivi.table th {
    padding: 0.1em;
}

.table td {
    padding: 0.1em 0.5em;
    font-size: 1em;
}

.table-flex .table-header {
    margin-bottom: 4px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.table-flex .table-body {
    font-size: 0.8em;
}

.table-flex .table-body .row:hover {
    background: rgba(0, 0, 0, 0.05)
}

.table-flex .row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
}

.table-flex .row>div {
    flex: 1;
    align-content: center;
}

.table-frais {
    font-size: 0.9em;
    padding-top: 5px;
    padding-bottom: 0px;
    margin-bottom: 47px;
}

.table-frais.table tbody+tbody {
    border-top: 0;
}

.table-frais.table>thead>tr>th {
    border-bottom: none;
}

.table-frais.table>tbody>tr:first-child {
    background: #f5f5f5;
    font-weight: bolder;
}

.table-frais.table>tbody>tr:first-child td {
    border-bottom: 1px solid var(--main-color-3);
    padding: 2px 10px;
}

.table-frais .table-header {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    font-weight: bold;
    padding: 10px 0;
    color: var(--primary-color);
}

.table-frais .table-row-date {
    padding-right: 5px;
    padding-left: 5px;
}

.table-frais .table-row-date .row-date {
    font-weight: bold;
    padding-top: 5px;
}

.table-frais .table-row-date {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 5px 0;
}

.tbody-block-frais tr:first-child td {
    border-top: none;
}

.tbody-block-frais tr:last-child td {
    border-bottom: none;
}

.tbody-block-frais tr td:first-child {
    border-left: none
}

.tbody-block-frais tr td:last-child {
    border-right: none
}

.tbody-block-frais .table>tbody+tbody {
    border: 1px solid blue;
}

.table-block-frais.table-bordered>thead>tr>th {
    border-bottom-color: blue;
}

.table-frais tfoot tr td {
    font-weight: bolder;
    font-size: 1.2em;
    border-top: 1px solid black;

}

.table-frais tfoot {
    border: 2px solid var(--main-color-2);
}

/******Params***********/
.params-list {
    padding-left: 1em;
    margin-top: 2em;
}

.params-list li {
    list-style-type: none;
}

.params-list li span {
    padding-left: 1em;
}

.border-left-red {
    border-left: 3px solid red;
    padding-left: 12px;
}

.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon:first-child {
    margin: 0 auto;
    display: block;
    height: 23px;
    width: 34px;
}

/************Title divider*******************/
.title-divider span {
    background: #fff;
    padding: 0 15px;
    margin: 30px;
    position: relative;
    font-size: 1em;

    z-index: 6;
}

.title-divider {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

.title-divider:before {
    background: #ddd;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    z-index: 5;

}

/* FRAIS VALIDATION */
.box-frais .panel-body .table-body {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

/************PANELS************/
.panel.panel-small {
    padding: 5px;
    margin: 5px;
    /* box-shadow: -1px 1px 6px -2px black;*/
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.panel.panel-small small {
    color: #b37575;
    font-weight: 600;
}

.panel.panel-small span {
    color: black;
    padding-left: 5px;
}

.row-nomarg {
    margin-right: 0;
    margin-left: 0;
}

.row-nomarg .col-sm-10 {
    padding-right: 0;
}

/************FRAIS/GENERAL************/
.add-frais-row input.form-control,
.add-frais-row .ui-select-bootstrap>.ui-select-match>.btn {
    height: 22px;
    line-height: 0.9;
    font-size: 0.9em;
}

.add-frais-row .btn.btn-default.form-control.ui-select-toggle {
    display: flex;
    flex-flow: row nowrap;
}

.add-frais-row .btn.btn-default.form-control.ui-select-toggle>a.btn {
    position: relative;
    margin-top: -5px;
    margin-right: 0px !important;
}

.add-frais-row .row {
    margin-left: 0;
    margin-right: 0;
}

.box-frais-todeclare {
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: -15px;
}

.panel-suivi {
    padding: 5px 20px 10px;
    max-height: 140px;
}

.panel-suivi h5 {
    padding: 5px auto;
    font-weight: 600;
    text-transform: uppercase;
}

.position-right {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: block;
}

.min-height {
    max-height: calc(100vh - 390px);
}

.full-height {
    max-height: calc(100vh - 310px);
}

.box-frais-todeclare>div:last-child {
    margin-bottom: 50px;
}

/**FILTERS**/
.row-filters {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    /* padding: 0px 23px; */
}

.row-filters.panel.p2-card {
    padding: 5px;
    justify-content: flex-start;
}

.row-filters.panel.p2-card .filter.datefilter {
    flex: none;
}

.row-frais {
    padding-top: 20px;
    padding-bottom: 5px;
    font-weight: bolder;
    margin-left: 0;
    margin-right: 0;
}

.filter {
    flex: 1;
    /* margin-left: 0.5em;
    margin-right: 0.5em; */
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.filter .p2-select {
    flex: 1
}

.filter .p2-select.only-txt {
    text-align: left;
    margin-top: 6px;
}

.filter>.label-titled {
    margin-left: 0.5em;
    margin-right: 10px;
    margin-top: 6px;
}

.filter.datefilter {
    display: block;
}

.filter.datefilter .dropdown,
.filter.datefilter button {
    display: inline-block;
}

.filter.datefilter.datepicker {
    display: flex;
    flex-flow: row nowrap;
}

.filter.datefilter.datepicker .dropdown {
    position: relative;
    flex: 1;
    margin: 1px auto;
}

.filter.datefilter.datepicker button {
    position: absolute;
    top: 0;
    right: 0;
}

.datefilter {
    position: relative;
}

.form-group-xs .datefilter button.btn.btn-link {
    position: absolute;
    top: -1px;
    right: 2px;
    padding: 0 5px;
    margin: 0;
}

.form-group-xs .input-group-addon {
    padding: 3px 7px;
}

.filter .p2-select .form-control.btn.ui-select-toggle,
.filter.datefilter .dropdown .form-control.dropdown-toggle,
.filter input.form-control,
.filter .btn {
    height: 27px !important;
    padding: 2px 12px;
}

.form-group-xs .filter .p2-select .form-control.btn.ui-select-toggle,
.form-group-xs .filter.datefilter .dropdown .form-control.dropdown-toggle,
.form-group-xs .filter input.form-control,
.form-group-xs .filter .btn {
    height: 20px !important;
    padding: 2px 12px;
}


.filter .p2-select.ui-select-multiple.ui-select-bootstrap.ng-empty,
.filter .p2-search-bar .input-group .btn.input-group-addon {
    height: 25px !important;
}

.filter .p2-select.ui-select-multiple.ui-select-bootstrap.ng-empty .ui-select-search {
    margin-top: -2px;
}

.ui-select-multiple.ui-select-bootstrap input.ui-select-search {
    background-color: white !important;
}

.filter.datefilter button.btn-change-date {
    height: 25px;
    margin-top: -3px;
    padding: 3px 10px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.form-group-xs .filter.datefilter button.btn-change-date {
    height: 20px;
    margin-top: -1px;
    padding: 1px 5px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.datefilter a.clear-date {
    position: absolute;
    top: 8px;
    right: 8px;
}


/*************************** USERS ***************************/
.p2-fixed {
    position: fixed;
    top: 50px;
    background: #F7F7F7;
    z-index: 5;
    padding: 10px;
    margin-top: 0;
}

.p2-after-fixed {
    /* margin-top: 130px;*/
    margin-top: 0px;
}

.p2-after-fixed-filters {
    margin-top: 58px;
}

.row.p2-after-fixed>div.col-md-12 {
    padding: 0 20px;
}

.gotodetail {
    padding: 0;
}

.can-edit {
    cursor: pointer;
}

.no-edit {
    cursor: not-allowed;
    color: #bfbfbf;
}

.panel.p2-card.p2-user-card {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
}

.col-user {
    position: relative;
    float: left;
}

.panel.p2-card.p2-user-card .panel-header {
    overflow: hidden;
    height: 162px;
}

.p2-user-card .panel-body {
    position: relative;
}

.p2-user-card .panel-body span.exclam-block {
    position: absolute;
    top: -3px;
    left: 5px;
    right: 5px;
}

.panel.p2-card.p2-user-card .panel-header img {
    border-radius: 10px 10px 0 0;
    width: 100%;
    transition: all 0.3s ease;
}

.h-275 {
    height: 275px;
}

.panel.p2-card.p2-user-card {
    transition: all 0.3s ease;
}

/* .panel.p2-card.p2-user-card:hover{
    transform: perspective(600px) rotateY(-10deg);    
} */

.panel.p2-card.p2-user-card:hover img,
.panel.p2-card.p2-user-card.p2-card-selected .panel-header img {
    -moz-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);

}

.panel.p2-card.p2-user-card.p2-card-selected {
    box-shadow: 0 0 5px 1px rgb(87, 51, 141);
    /* transform: perspective(600px) rotateY(-10deg); */
    transition: all 0.2s ease;
}

.panel.p2-card.p2-user-side {
    padding-top: 0;
    border-radius: 6px;
    position: fixed;
    top: 116px;
    right: 15px;
    width: 420px;
    bottom: 15px;
}

#col-user-side {
    padding: 0;
    margin-left: 20px;
    min-width: 422px;

}

.p2-user-side .panel-header {
    background: linear-gradient(to right, #3123ae 0%, #c56cd6 100%);
    height: 110px;
    position: relative;
    margin-bottom: 47px;
    border-radius: 6px 6px 0px 0px;
    padding: 37px 0px 30px 175px;
    color: white;

}

.p2-user-side .panel-header img {
    width: 135px;
    height: 135px;
    position: absolute;
    top: 20px;
    left: 25px;
}


/* MATERIAL SWITCH */
.material-switch>input[type="checkbox"],
.material-switch>input[type="radio"] {
    display: none;
}

.material-switch>label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch>label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch>label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch.material-switch-xs>label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 9px;
    margin-top: -4px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 30px;
}

.material-switch.material-switch-xs>label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 16px;
    left: -1px;
    margin-top: -4px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 16px;
}

.material-switch>input[type="checkbox"]:checked+label::before,
.material-switch>input[type="radio"]:checked+label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch>input[type="checkbox"]:checked+label::after,
.material-switch>input[type="radio"]:checked+label::after {
    background: inherit;
    left: 20px;
}

.material-switch.material-switch-xs>input[type="checkbox"]:checked+label::after,
.material-switch.material-switch-xs>input[type="radio"]:checked+label::after {
    background: inherit;
    left: 15px;
}

.label-primary {
    background: rgb(229, 185, 244);
}

.label-secondary {
    background: #EEE;
}

.general-header {
    padding-right: 4%;
    padding-left: 35px;
}

/**************************************CALENDAR**************************************/

.planning .day {
    width: 28px;
    color: #666;
    text-align: center;
    font-weight: 400;
    font-size: 0.8em;
    position: relative;
}

/* .table.planning>tbody>tr>td,
.table.planning>tbody>tr>th,
.table.planning>tfoot>tr>td,
.table.planning>tfoot>tr>th,
.table.planning>thead>tr>td,
.table.planning>thead>tr>th {
    padding: 3px
} */

.planning .month {
    color: #666;
    /* width: 146px; */
    font-size: 1em;
    white-space: nowrap;
    padding-right: 10px;
    /*border-right: 3px solid white;*/
    text-align: center;
}

.planning .month.conge-month {
    width: 146px;
}

.planning .d {
    position: relative
}

.fl-day {
    position: absolute;
    display: inline-block;
    height: 21px;
    text-align: center;
    color: #a0a8cb;
    top: 7px;
    left: 0;
    right: 0;
    text-align: center;
}

.fl-day-pla {
    height: 21px;
    padding-top: 7px;
    text-align: center;
    color: #a0a8cb;
}

.jc {
    float: left;
    height: 32px;
    width: 32px;
    background-color: #a0a8cb !important;
}


.planning td.jour {
    position: relative;
    border: 1px solid #ddd;
}

.planning td.today {
    border-left: 2px solid #FFC900;
    border-right: 1px solid #FFC900;
}

.planning th.today::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 200, 0, 0.281);
    border: 1px solid #FFC900;
    box-sizing: border-box;
}

.planning th.today,
.planning th.date-selected {
    font-weight: 900;
    font-size: 0.9em;
}


.planning td.date-selected {
    border-left: 2px solid rgb(79, 134, 216);
    border-right: 1px solid rgb(79, 134, 216);
}

.planning th.date-selected::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(79, 134, 216, 0.281);
    border: 1px solid rgb(79, 134, 216);
    box-sizing: border-box;
}

.na {
    float: left;
    height: 32px;
    width: 100%;
    position: relative;
}

.jo {
    float: left;
    height: 32px;
    width: 32px;
    background-color: #F4F4F5;
    cursor: pointer;
}

.planning .jo {
    cursor: default;
}

.na .ja,
.na .jo,
.na .jc {
    width: 50%;
}


#table-planning .fl-day {
    position: absolute;
    display: inline-block;
    height: 21px;
    text-align: center;
    color: #a0a8cb;
    top: 7px;
    left: 0;
    right: 0;
    text-align: center;
}

#table-planning .day {
    width: fit-content;
}

.jc~.fl-day,
#table-planning .jc~.fl-day {
    color: #F4F4F5;
}

a.icon-link>i {
    color: black;
}

a.db-icon-left i:first-child {
    margin-right: -6px;
}

a.db-icon-right i:last-child {
    margin-left: -6px;
}

a.icon-link:hover {
    text-decoration: none;
}

.firstSmileyAM {
    background-image: url('../img22162502/smile_am.png') !important;
}

.firstSmileyPM {
    background-image: url('../img22162502/smile_pm.png') !important;
}

.firstSmileyAM,
.firstSmileyPM,
.lastSmileyAM,
.lastSmileyPM {
    background-color: rgba(255, 185, 0, .5) !important;
}

.firstSmileyAM {
    background-position: 100% 50%;
}

.firstSmileyPM {
    background-position: 0 50%;
}

.firstSmiley,
.lastSmiley,
.firstSmileyAM,
.firstSmileyPM,
.lastSmileyAM,
.lastSmileyPM,
.firstSmileyDemi,
.lastSmileyDemi {
    cursor: pointer;
    background-repeat: no-repeat;
    height: 32px;
}

.hide {
    visibility: hidden;
}

.hide {
    display: none !important;
}

.abs {
    background-image: none !important;
    background-color: rgba(255, 185, 0, .75) !important;
}

.fl-day.fl-abs {
    color: white;
}

.pastDate {
    opacity: .5;
}

.conges-mark {
    background-color: #089c52;
}

.div_date {
    color: #555;
    font-family: "Source Sans Pro", sans-serif;
    background: transparent;
    font-weight: 600;
    width: 100%;
}

.numberDays {
    width: 3em;
    text-align: center;
}

.green-day {
    background-color: #089C52;
}

.green-day~.fl-day {
    color: white;
    text-shadow: 0 0 1px rgba(0, 0, 0, .66);
}

.save-button {
    color: white;
    background-color: #41c178;
    border-radius: 3em;
    padding: 5px 4em;
}

.title-conge {
    padding-left: 1em;
    font-size: 1.3em;
    color: #895fca;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.counter {
    background: linear-gradient(to right, #3123ae 0%, #c56cd6 100%);
    color: white;
    border-radius: 12px;
}

.counter .header {
    border-bottom: 1px solid white;
    padding: 14px 30px;
    font-size: 1.2em;
}

.counter .body {
    padding: 1em;
}

.counter .body .body-item {
    padding: 0 30px;
}

.day-border {
    border-bottom: 1px solde #ddd;
    border-right: 1px solid #ddd;
}

.day-border:first-child {
    border-left: 1px solid #ddd;
}

.month-border {
    border-right: 1px solid #ddd !important;
    border-left: 1px solid #ddd !important;
    border-top: 1px solid #ddd !important;
}

#table-planning {
    margin: 20px auto;
    /* display: block; */
}

.planning .month.change-month {
    min-width: 20px;
    padding: 0;
}

.planning .month.change-month a.icon-link {
    width: 100%;
    display: block;
    font-size: 2em;
    text-align: center;
}

#table-planning tr td:first-child {
    border-left: 1px solid #ddd;
}

/*** COLLARORATEURS ****/
#users-page {
    display: flex;
    flex-flow: row nowrap;
}

#users-page #users-box {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    /*padding: 28px;*/
}

#users-box .user-block {
    max-width: 164px;
    flex-grow: 1;
    margin: 0 5px auto;
}

.label-titled {
    color: #696969;
    font-weight: initial !important;
}

.select {
    background-color: transparent;
    border-color: #d7d7d7;
    height: auto;
    width: auto;
}

.filter-style {
    width: auto;
    margin-top: 3px;
    color: #696969 !important;
}


#btn-profil {
    width: 100%;
    height: 100%;
    margin-right: 0 !important;
    border-color: transparent;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

#row-mini-profil {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
}

#div-search {
    height: 25px;
    margin-left: 1.5%;
    margin-right: 3%;
    border-radius: 50px;
}

#btn-add {
    background-color: transparent;
    border-radius: 50px;
    border-color: white;
    padding: 3px 12px;
}

#btn-add-col {
    border-radius: 50px;
    border-color: white;
    padding: 3px 12px;
}

#btn-add:focus,
#btn-add:hover {
    background-color: white;
    color: var(--primary-color)
}

#btn-add-container {
    margin-top: auto;
    margin-bottom: 0;
    float: left;
    width: 50%;
}

#input-search {
    background-color: white;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-color: #6846be;
}

#span-search {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    background-color: transparent;
    border-color: #6846be;
    color: #a3a3a3;
    padding: 4px 7px;
}

span.btn.btn-default.form-control.ui-select-toggle {
    background-color: white;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);
}

#img-profil {
    width: 80px !important;
    height: 80px !important;
    position: absolute;
    top: 15px;
    cursor: pointer;

}

#img-profil:after {
    width: 80px !important;
    height: 80px !important;
    position: absolute;
    top: 15px;
    content: "";
}

#update-photo-button {
    background-color: #ffffff7a;
    padding: 14px 21px;
    border-radius: 80px;
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    border: 3px solid white;
    height: 80px;
    opacity: 0;
    display: block;
    font-size: 30px;
    color: #04c;
    z-index: 15;
}

#update-photo-button:hover {
    opacity: 1
}

.panel-header.p2-header-style {
    background: linear-gradient(to right, var(--main-color-2) 0%, var(--main-color-3) 100%);
    height: 70px;
    border-radius: 6px 6px 0px 0px;
    color: white;
    margin-left: -16px;
    margin-top: -15px;
    margin-right: -16px;
}

.panel-header.p2-header-style>div.row {
    padding: 0 15px;
}

.panel-header.p2-header-style>div.row>div>h4 {
    margin: 20px 0 10px;
}

.panel-header.p2-header-style .btn-group {
    margin: 13px 0 10px;
}


.p2-content.full-width .panel-header,
.p2-content.full-width .panel-subheader,
.p2-content.full-width .panel-body {
    left: 11px;
}

.p2-card .panel-subheader {
    background-color: white;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    z-index: 15;
    box-shadow: 0px 3px 2px -3px rgba(0, 0, 0, 0.15)
}

.profil-items {
    color: #a3a3a3;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
}

.form-horizontal .control-label.label-title {
    text-align: left;
    text-decoration: underline;
    margin-bottom: 5px;
}

ul.profil-items li.profil-item-selected a {
    color: #8355c6 !important;
    border-bottom-color: #8355c6;
}

ul.profil-items li {
    line-height: 1.7;
    list-style-type: none;
    padding: 0 17px;
    border-right: 1px solid #a3a3a3;
}

ul.profil-items li:last-child {
    border-right: 0;
}

ul.profil-items li a {
    padding: 0 12px;
    text-decoration: none;
    color: #a3a3a3;
}


ul.profil-items li:hover,
ul.profil-items li:active {
    cursor: pointer;
}

ul.profil-items li a {
    border-bottom: 2px solid transparent;
}

ul.profil-items li:hover a,
ul.profil-items li a:active {
    color: #8355c6 !important;
    border-bottom-color: #8355c6;
}

.header-list-group {
    color: #8355c6 !important;
    padding: 15px 15px 15px 15px;
    min-width: 100%;
}


.profil-group {
    display: flex;
    flex-flow: row wrap;
}

.profil-header-group li:first-child {
    padding: 23px;
    font-size: 1.2em;
}

/*
.profil-header-group li:not(#last-group-item) div:first-child{
   float: left;
   width: 206px;
   font-weight: 500;
   line-height: 2.5;
}*/


.profil-header-group .list-group-body {
    padding: 15px 15px 15px 15px;
    min-width: 50%;
}

.profil-header-group .list-group-body:nth-child(2n+1) {
    border-left: 0;
}

#last-item {
    float: left;
    width: 240px;
    font-weight: 500;
    height: 140px;
}

.item-urgence {
    margin-top: 10px;
}

.item-urgence div:first-child {
    font-style: italic;
}

.panel.p2-card.p2-content {
    padding-top: 0;
    border-radius: 6px;
    margin-top: 0;
}

.input-profil {
    margin-left: 240px;
}


.scrollbar {
    /*  margin-left: 30px;*/
    float: left;
    height: 510px;
    /* width: 65px;*/
    background: #fff;
    overflow-y: scroll;
    margin-bottom: 25px;
}

.scrollbar-primary::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.scrollbar-primary::-webkit-scrollbar-thumb {
    border-radius: 10px;


    background: linear-gradient(to right, #3123ae 0%, #c56cd6 100%);
}

.force-overflow {
    min-height: 450px;
}

.col-ss-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.col-ss-header span {
    color: white;
    flex: 1;
}

.col-btn-header {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    height: 70px;
    padding-right: 30px;
    padding-left: 88px;
}

.p2-content .panel-header img {
    position: absolute;
    top: 10px;
    left: 25px;
    z-index: 100;
}

#btn-update-container {
    margin-top: auto;
    margin-bottom: 0;
    float: left;
    width: 100%;
}


#btn-update-container button {
    float: right;
    margin-right: 9%;
}


li.list-group-item.list-group-body {
    border: 0px;
}

div.dropdown.simili-dtp {
    margin-top: -3px;
    padding: 3px 10px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    height: 27px;
    border-radius: 3px;
}

/*************Profil Documents*************/
#doc-list {
    margin-left: 30px;
    padding-left: 20px;
    border-left: 1px solid #aaa;

}

#doc-list li {
    list-style-type: none;
    /*font-size: 1.5em;*/
    font-size: 15px;
    cursor: pointer;
    line-height: 2;
}

#doc-list li:hover span span {
    text-decoration: underline;
    color: black;
}

h3.folder-root {
    padding-left: 25px;
    margin-top: 0;
}

.folder-direction .btn-link {
    font-size: 1.8em;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.folder-direction .btn-link[disabled] {
    opacity: 0.35;
}

.folder-direction .btn-link:visited,
.folder-direction .btn-link:focus {
    border-color: transparent;
}

.navbar-docs-i {
    margin-right: 7px !important;
}

/*************ACTIVITE**************/

.table-mini {
    font-size: 9px;
}

.table-mini>tbody>tr>td {
    padding: 4px;
}

.activite-table>thead>tr>th,
.activite-table>thead>tr>td,
.activite-table>tbody>tr>th,
.activite-table>tbody>tr>td {
    padding: 5px;
}

.activite-table>tbody>tr>td>span.td-noselect {
    padding: 8px;
    display: block;
}

.activite-table th,
.activite-table td {
    width: 37px
}

.activite-table th.th-select {
    padding: 0;
    line-height: 25px;
}

.activite-table>tbody>tr>td.td-select,
.activite-table>tbody>tr>td {
    vertical-align: middle;
    text-align: center;
}

.activite-table th .p2-select {
    height: auto;
}

.activite-table td .p2-select .form-control.btn.ui-select-toggle,
.activite-table td .p2-select .ui-select-search {
    border-color: transparent;
    height: 25px !important;
    font-size: 12px;
    line-height: 22px;
    border: 0;
    margin: 0;
}

.activite-table th .p2-select .form-control.btn.ui-select-toggle,
.activite-table th .p2-select .ui-select-search {
    border-color: transparent;
    height: 38px !important;
    font-size: 12px;
    line-height: 38px;
    border: 0;
    margin: 0;
}

.activite-table td .p2-select .form-control.btn.ui-select-toggle,
.activite-table td .p2-select .ui-select-search {
    padding: 2px 0px;
}

.activite-table th .p2-select .form-control.btn.ui-select-toggle,
.activite-table th .p2-select .ui-select-search {
    padding: 2px 12px;
}

td.td-select .mini-input-table,
.mini-input-table {
    height: 22px;
    margin-top: 5px;
    margin-right: -15px;
    border: 1px solid #7d7dff;
    text-align: center;
}


.activite-table .td-select .ui-select-toggle {
    border: 0;
    display: flex;
    flex-flow: row nowrap;
    width: 37px;
    font-size: 0.8em;
    align-items: center;
    justify-content: space-around;
    padding: 0;
}

.activite-table .td-select .ui-select-toggle .ui-select-match-text {
    padding-right: 0;
    width: auto;
}

.activite-table .week-end-bg,
.activite-table .td-select.week-end-bg {
    background-color: #c2beec;
}

.activite-table .td-select .ui-select-toggle i.caret {
    position: inherit;
    height: 0;
    top: 0;
    right: 0;
    margin-top: 0;
}

.activite-table .td-select .ui-select-bootstrap>.ui-select-choices,
.activite-table .td-select .ui-select-bootstrap>.ui-select-no-choice {
    padding: 0;
}

.activite-table .td-select .ui-select-choices-row-inner {
    padding: 1px 5px;
    min-height: 22px;
}

.activite-table .td-select .dropdown-menu {
    min-width: 37px;
    max-width: 37px;
}

.activite-table .td-select .ui-select-search {
    width: 37px;
    border: 0;
}

.status-badge {
    padding: 5px 10px;
}

.p2-select.select.status-badge {
    height: 27px;
    padding: 0;
}

.p2-select.select.status-badge .form-control.btn.ui-select-toggle,
.filter.datefilter .dropdown .form-control.dropdown-toggle,
.filter input.form-control,
.filter .btn {
    height: 27px !important;
    /* padding: 2px 30px 2px 12px; */
}

.form-group-sm .p2-select.select.status-badge .form-control.btn.ui-select-toggle,
.form-group-sm .filter.datefilter .dropdown .form-control.dropdown-toggle,
.form-group-sm .filter input.form-control,
.form-group-sm .filter .btn {
    height: 25px !important;
    /* padding: 2px 30px 2px 12px; */
}

.p2-select.select.status-badge.ui-select-bootstrap .ui-select-choices-row.active>span {
    background-color: transparent;
    border: 1px solid #428bca;
}

.panel-man-title {
    background: rgba(0, 0, 0, 0.05);
    padding-left: 25px;
    margin-top: 0;
    padding: 10px 25px;
}

.panel-man-title button.btn.btn-default {
    line-height: 1.2;
    margin-right: 25px;
}

/* .panel-man-title span{

} */

/* .p2-select.select.status-badge.ui-select-bootstrap .ui-select-match-text{
    color: white
} */





/*
#navigateur div div a:nth-child(2){

    cursor: pointer;
}

#navigateur div div  a:nth-child(3){
    cursor: text!important;
}*/

.dropdown-menu.dropup {
    top: auto;
    bottom: 100%;
    -webkit-box-shadow: 0 -6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 -6px 12px rgba(0, 0, 0, .175);
}

.activite-type-table>tbody>tr.tr-newitem>td {
    padding: 0;
}

.activite-type-table>tbody>tr>td input,
.activite-type-table>tbody>tr>td textarea.form-control,
.activite-type-table .p2-select .form-control.btn.ui-select-toggle,
.activite-type-table .p2-select .ui-select-search {
    height: 34px;
    border: none;
}

.activite-type-table>tbody>tr>td .checkbox {
    margin-top: 0;
    margin-bottom: 0;
}

.activite-type-table>tbody>tr>td .checkbox input[type=checkbox] {
    height: auto;
}

.activite-type-table>tbody>tr>td .form-control {
    border-radius: 0;
    box-shadow: none;

}

.activite-type-table td.flex-row.space-around {
    border: none;
    align-items: center;
    height: 34px;
}

/****************************** DEMANDE ABSENCE ***********************************/
#justify {

    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

#comment {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

#from-absence {
    background-color: #fafafa;
    padding: 20px;
}

.btn-action {
    font-size: 1em;
}

#absence-form-container {
    margin-left: 13%;
    margin-right: auto;
}



/*************************** ADSENCE  ********************/
/*************************** ABSENCE ANIMATION ********************/

.planning .month.change-month:hover {
    background-color: #cacddf;
    transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-in;
}

.planning th.td-search {
    padding: 0;
}

.planning th.td-search div.input-group {
    width: 100%;
}

.planning th.td-search input.form-control {
    border: 0;
    border-left: 1px solid #ddd;
    border-radius: 0;
}

.planning th.td-search div.input-group-addon {
    border: 0;
    border-radius: 0;
}



/*************************** PROJECT  ********************/

#btn-edit-project a:hover {
    background-color: #fafafa;
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-in;
}

.activite-table thead tr th:first-child {
    width: 140px;
}


.td-link,
a.td-link {
    color: var(--primary-color);
    cursor: pointer;
}

.td-link:hover {
    text-decoration: underline;
}

.btn-custom button {
    background-image: none;
    box-shadow: none;
    border: none;
    border-radius: 9px !important;
    font-size: 11.844px !important;
    font-weight: bold;
    padding: 0px 9px;
}

.panel-mission {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 1px 2px 15px -7px var(--primary-color);
}

.panel-mission .panel-header {
    background: #f9f9f9;
    font-size: 1.1em;
    padding: 7px;
    border-radius: 5px 5px 0 0;
}

.panel-mission .panel-body {
    margin-top: 0;
    border-top: 1px solid var(--primary-color);
}

.panel-mission .panel-body .row-mission {
    padding: 5px 0 3px;
    border-bottom: 1px solid #cdd5ec
}

.panel-mission .panel-body .row-mission:hover {
    background: #cdd5ec;
}

.panel-mission .panel-body .row-mission.no-border-bottom {
    border-bottom: 0;
}

.form-horizontal .form-group-sm.form-group.checkbox,
.form-horizontal .form-group-sm.form-group.checkbox-inline,
.form-horizontal .form-group-sm.form-group.radio,
.form-horizontal .form-group-sm.form-group.radio-inline {
    padding-top: 2px;
    margin-bottom: 10px;
}

.form-horizontal .form-group.form-group-sm {
    margin-bottom: 10px;
}

.no-border-bottom {
    border-bottom: 0;
}

/******************** PARAMETRAGE ********************/
form.tab-form-demo .tab-pane {
    margin: 20px 20px;
}

form.tab-form li.active>a,
form.tab-form .nav li:hover>a {
    background: rgba(0, 0, 0, 0.05);
}

.left-align {
    text-align: right;
    line-height: 2.5;
}

.ta-editor.form-control.myform1-height,
.ta-scroll-window.form-control.myform1-height {
    margin-top: 15px;
    height: 150px;
    overflow: auto;
    font-family: inherit;
    font-size: 100%;
}

.form-control.myform1-height>.ta-bind {
    height: 150px;
    min-height: 150px;
    padding: 6px 12px;
}

.top-container {
    margin-top: 50px;
}

.block-position {
    float: left;
}

.color-picker-style {
    background-color: transparent;
    border: 0px solid transparent;
    padding: 0px;
}

.table-param {
    border: 1px solid #dddddd;
}

/********  PROFIL **************/

.date-input-debut {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.date-input-fin {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

}

.date-container {
    width: 46%;
    float: left;
    margin-right: 5px;
}

.table-action-block {
    float: left;
}

.activite-comment-style {
    width: 40%;
    height: 100px;
    margin-left: 30%;
    margin-right: 30%;
    margin-bottom: 10px;
    padding: 10px;
}

.ta-editor {
    min-height: 100px !important;
    height: auto;
    overflow: auto;
    font-family: inherit;
    font-size: 100%;
}

/************* MATERIELS ****************/
.v-align {
    line-height: 2.5;
}

.checkBox-panel {
    background-color: transparent;
    margin-left: 14px;
}

.panel-body {
    padding: 3px;
}

.panel-body.panel-synthese {
    display: flex;
    height: 75%;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

/************** DASHBORD ****************/
div.panel-racource {
    padding: 25px;
}

div.dash-block {
    border: 1px solid rgb(177, 177, 177);
    border-radius: 3px;
    margin-bottom: 10px;
}

div.dash-block .dash-title {
    padding: 5px 15px;
}

div.dash-block div.dash-content {
    background: white;
    padding: 10px 20px;
}

div.dash-content a {
    display: block;
}

ul.nav-racource li {
    margin-bottom: 0px;
    margin-left: 20px;
}

ul.nav-racource li a {
    margin-bottom: 0px;
    padding: 2px 10px;
}

ul.nav-racource li i {
    margin-right: 20px;
}

h5.dash-title {
    margin-top: 5px;
    margin-bottom: 5px;
}

.row-compteur td input.form-control {
    height: 27px;
}

table.table th.th-order>div {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.i-order-group {
    display: inline-flex;
    flex-flow: column nowrap;
}

.i-order {
    color: #ddd;
}

.i-order.i-grey:hover {
    color: black;
}

.i-order.i-solid {
    color: black;
}

.i-order.i-top {
    margin-bottom: -3px;
}

.i-order.i-down {
    margin-top: -3px;
}

.unlock-block {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    flex-flow: row wrap;
    align-items: center;
}

/* .p2-card.panel.projet-panel{
        padding: 0;
    }
    .p2-card.panel.projet-panel .panel-header{
        background:rgb(208, 222, 255);
        padding:5px;
    }
    .p2-card.panel.projet-panel .panel-header>.row{
        padding:0 30px;
    }
    .p2-card.panel.projet-panel .panel-body>.row{
        padding: 5px 15px;
    } */

.table.projet-table thead tr {
    background: rgb(208, 222, 255);
    padding: 5px;
    position: relative;
}

#orderBy a.active {
    font-weight: bold;
}

/********************  FACTURE **********************/
.btn-filter {
    float: left;
    border: 1px solid #ccc;
    padding: 8px;
    background-color: white;
    border-radius: 5px;
}

.panel-filters {
    border: 1px dashed #ddd;
    padding: 10px 12px 17px 10px;
    margin-bottom: 3px;
}

.tile_count {
    margin-bottom: 20px;
    margin-top: 20px;
}

.tile_stats_count {
    margin-bottom: 10px;
    border-bottom: 0;
    padding-bottom: 10px;
    padding-right: 35%;
    padding-left: 35%;
    margin-top: 50px;
}

.table.table-factu {
    margin-bottom: 0;
}

.tile_count .tile_stats_count span {
    font-size: 13px;
}

.tile_count .tile_stats_count .count {
    font-size: 40px;
}

.tile_count .tile_stats_count span {
    font-size: 13px;
}

.green {
    color: #1ABB9C;
}

#doc-el-list {
    height: calc(100vh - 275px);
}

/** DOCUMENTS */
#context-menu {
    position: absolute;
    display: none;
    z-index: 9999;
}

.animated {
    -webkit-animation-duration: .7s;
    animation-duration: .7s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.fast {
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    ;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    ;
}

.animated.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

.dropdown-menu {
    font-size: 14px;
    padding: 2px;
}

.dropdown-menu>li>a {
    padding: 6px 20px;
}

.dropdown-menu.dropdown-right-click {
    display: block;
    position: static;
    margin-bottom: 5px;
}

.dropdown-menu .divider {
    margin: 2px 0;
}

.dropdown-menu.dropdown-right-click {
    display: block;
    position: static;
    margin-bottom: 5px;
}

.dropdown-menu.dropdown-right-click .divider {
    margin: 3px 0;
}


tr.spaceUnder {
    background-color: #f8f8f8;
}

table tr.spaceUnder td {
    padding-bottom: 1em;
    padding-top: 1em;
}

@media (min-width: 768px) {
    .modal-dialog {
        margin: 60px auto;
    }
}


.modal-xl {
    width: 90%;
}

.badge.badge-custom {
    width: 100%;
    border-radius: 4px;
    padding: 4px 0px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.badge.badge-custom>i.fa {
    position: absolute;
    top: 3px;
    right: 10px;
}

.table>tbody>tr>td.td-badge {
    padding: 7px 8px;
}

.table>tbody>tr>td.td-badge-sm {
    padding: 4px 8px;
}


/* HSE AR */
table.table.table-hab {
    border-collapse: separate;
    border-spacing: 5px;
}

table.table.table-hab>tbody>tr>td {
    border: 1px solid #ddd;
}

.table-hab tr {
    border-width: 0;
}

/* REGISTRE DU PERSONNEL */
#registerPersonnel #registerPersonnel>.row,
#registerPersonnel>.row>div[class^="col"],
#registerPersonnel .table-container {
    height: 100%;
    min-height: calc(100vh - 155px);
}


#registerPersonnel .p2-select.ui-select-container {
    width: 260px;
}

#registerPersonnel .p2-select-date {
    width: 120px;
    height: 26px;
}

#registerPersonnel .form-control.p2-select-default {
    padding: 1px 2px;
    height: 24px;
    font-size: 1em;
    margin-top: 10px;
}

#registerPersonnel table .form-control.p2-select-default {
    padding: 0;
    margin: 0;
    height: 100%;
}

#registerPersonnel .has-error,
#registerPersonnel table .form-control.has-error {
    border: 1px solid red;
}

#registerPersonnel tr .btn-action-group {
    display: flex;
    border: none;
    padding-top: 10px;
    border-bottom: 1px solid #ddd;
}

#registerPersonnel tr .btn-action-group .btn {
    height: 22px;
    margin-left: 4px;
}

#registerPersonnel table input {
    background: transparent;
    border: none;
}

#registerPersonnel td>input,
#registerPersonnel td>.form-control {
    height: 100%;
}

#registerPersonnel table>tbody>tr>td {
    height: 45px;
    padding: 0px;
}

#registerPersonnel table>tbody>tr>td>input {
    padding-left: 5px;
    padding-right: 5px;
}

#registerPersonnel table>tbody>tr>td .dropdown,
#registerPersonnel table>tbody>tr>td .dropdown>input {
    height: 100%;

}

#registerPersonnel table>tbody>tr.rowNew>td .p2-select {
    padding-top: 5px;
}

#registerPersonnel table .form-control {
    border: none;
    box-shadow: none;
    background: transparent;
}

#registerPersonnel tr.p2-row-unsaved {
    border: 2px solid orange;
}

#registerPersonnel tr.p2-first-row-unsaved th {
    border-bottom: none;
}

#registerPersonnel .th-required:after {
    content: " *";
    color: var(--main-color-red);
}



/* .tree-node {
    position: relative;
    margin: 10px 0;
}
    
.tree-node-content {
    margin: 8px 0;
    padding-left: 18px;
} */


/* .tree-handle {
    padding: 5px;
    color: #C5C5C5;
    position:absolute;
    top: 0;
    bottom: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}
*/
.tree-node-content .title {
    font-weight: bold;
    margin: 0;
    display: inline-block;
    padding-left: 20px;
}

ol.tree,
ol.tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ol.tree ul {
    margin-left: 10px;
}

ol.tree li {
    margin: 0;
    padding: 0 7px;
    line-height: 20px;
    position: relative;
}

ol.tree li.open:before {
    position: absolute;
    display: inline-block;
    top: 18px;
    bottom: 6px;
    border: 1px solid #e8e8e8;
    left: 4px;
}

span.title {
    margin-left: 8px;
}

a.toggle-node {
    position: absolute;
    left: 0px;
}

.entite-title {
    text-transform: uppercase;
    color: #369;
    font-weight: 600;
}

.p2-card-inside {
    padding: 20px;
    box-shadow: inset 0px 0 5px 0px #b3b3b3;
    border-radius: 9px;
    margin-top: 7px;
}

.form-group-xs {
    padding: 0 15px;
    margin-bottom: 5px;
}

.form-group-xs .glyphicon.glyphicon-remove {
    top: -2px;
}

.form-group-xs .btn-xs {
    padding: 0 6px;
}

.form-group-xs .control-label {
    padding-top: 4px;
    font-size: 11px;
}

.form-group-xs .form-control {
    height: 20px;
    padding: 4px 6px;
    font-size: 11px;
    line-height: 1.3;
    border-radius: 3px;
}

.form-group-xs .ui-select-bootstrap .ui-select-choices-row>span {
    cursor: pointer;
    display: block;
    padding: 3px 7px;
    clear: both;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
    white-space: nowrap;
    font-size: 11px;
}

.form-group-xs input.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.form-group-xs .input-file-name {
    height: 22px;
    line-height: 11px;
    padding: 6px 10px;
    border-radius: 0 5px 5px 0;
    border: 1px solid #d0d0d0;
    border-left: 0;
}

.inputfile+label {
    height: 22px;
    padding: 4px 15px;
    font-size: 11px;
    line-height: 1.3;
    border-radius: 5px 0 0 5px;
    border: 1px solid #d0d0d0;
    font-weight: 700;
    color: black;
    background-color: #f0f0f0;
    display: inline-block;
    cursor: pointer;
}

.inputfile:focus+label,
.inputfile+label:hover {
    background-color: #dedede;
}

.inputfile+label {
    /* "hand" cursor */
}

.ui-select-bootstrap .ui-select-choices-row.active>span {
    color: white
}

/* TABLEAU DE REPARTITION DES FACTURE */

.row.row-bordered-first {
    border-top: 1px solid grey;
}

.row.row-bordered>div {
    border-right: 1px solid grey;
    border-bottom: 1px solid grey;
}

.row.row-bordered>div:first-child {
    border-left: 1px solid grey;
}

td.td-select .mini-input-table.has-success {
    border-color: var(--success-color);
}

td.td-select .mini-input-table.has-warning {
    border-color: var(--warning-color);
}

td.td-select .mini-input-table.has-success:focus {
    border-color: var(--success-color);
    outline: var(--success-color) auto 5px;
}

td.td-select .mini-input-table.has-warning:focus {
    border-color: var(--warning-color);
    outline: var(--warning-color) auto 5px;
}

.has-warning .checkbox,
.has-warning .checkbox-inline,
.has-warning .control-label,
.has-warning .help-block,
.has-warning .radio,
.has-warning .radio-inline,
.has-warning.checkbox label,
.has-warning.checkbox-inline label,
.has-warning.radio label,
.has-warning.radio-inline label {
    color: var(--warning-color);
}

.has-warning .form-control {
    border-color: var(--warning-color);
}

.table>tbody>tr>td {
    vertical-align: middle;
}

.tfoot-light {
    background-color: #f8f8f8;
}

.panel-missions {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.panel-mission {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 1px 2px 8px -6px var(--primary-color);
}

.panel-mission .panel-header,
.panel-missions .panel-header {
    background: #f9f9f9;
    font-size: 1.1em;
    padding: 7px;
    border-radius: 5px 5px 0 0;
}

.panel-missions .panel-body {
    margin-top: 0;
    border-top: 1px solid #ddd;
}

.panel-mission .panel-body {
    margin-top: 0;
    border-top: 1px solid var(--primary-color);
}

.panel-mission .panel-body .row-mission,
.panel-missions .panel-body .row-mission {
    padding: 5px 0 3px;
    /* border-bottom: 1px solid #cdd5ec*/
}

.panel-mission .panel-body .row-mission:hover,
.panel-missions .panel-body .row-mission:hover {
    background: #cdd5ec;
}

.panel-mission .panel-body .row-mission.no-border-bottom,
.panel-missions .panel-body .row-mission.no-border-bottom {
    border-bottom: 0;
}

/* .input-group .p2-select span.form-control{
        height: 28px;
    } */

.form-group-sm .input-group-addon {
    padding: 5px 12px 0;
}


.p2-card-inside {
    padding: 20px;
    box-shadow: inset 0px 0 5px 0px #b3b3b3;
    border-radius: 9px;
    margin-top: 7px;
}

.form-group-xs {
    padding: 0 15px;
    margin-bottom: 5px;
}

.form-group-xs .control-label {
    padding: 4px;
    font-size: 11px;
}

.form-group-xs .form-control, .p2-select.select-xs input {
    height: 22px;
    padding: 4px 6px;
    font-size: 11px;
    line-height: 1.3;
    border-radius: 3px;
}
.p2-select.select-sm input {
    height: 30px;
}

@media (min-width: 768px) {

    .form-horizontal .form-group-sm .control-label {
        padding-top: 6px;
        font-size: 11px;
    }
}

.btn-group-sm>.btn,
.btn-sm {
    padding: 3px 10px;
}

/* FACTURES */


.row.row-facturables {
    margin-top: 15px
}

.row.row-facturables>div {
    padding: 10px 5px;
    border: 1px solid #F5F5F5
}

.angular-ui-tree-handle {
    background: transparent;
    border: 0;
    color: black;
    padding: 0;
}

.angular-ui-tree-handle:hover {
    color: #438eb9;
    border-color: #dce2e8;
}


tr.angular-ui-tree-empty {
    height: 100px
}

.group-title {
    background-color: #687074 !important;
    color: #FFF !important;
}


/* --- Tree --- */
.tree-node {
    border: 1px solid #dae2ea;
    background: #f8faff;
    color: #7c9eb2;
}

.nodrop {
    background-color: #f2dede;
}

.tree-node-content {
    margin: 10px;
}


.angular-ui-tree-handle {
    background: transparent;
    border: 0;
    color: black;
    padding: 0;
}

.angular-ui-tree-handle:hover {
    color: #438eb9;
    border-color: #dce2e8;
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 2px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.alignement {
    vertical-align: center;
}

/******************************************************Ligne Facture*********************************************/
.newFacturableColor {
    background: #fbfbfb;
    margin-top: 30px;
}

.li-lf {
    border-radius: 4px;
    /* background: #F3E2F7; */
    border: 1px solid #d6bddc;
    padding-top: 0px;
    padding-left: 0;
    padding-right: 0;
}

.li-lf>div.row-lf {
    position: relative;
    background: #F3E2F7;
    padding: 10px 0px 10px 30px;
    margin-left: 0;
}

.facturable {
    margin-top: 5px;
    /* border-top-style: groove;
    border-top-width: thin; */
}


/******************************************************Analytique*********************************************/
.analytiques {
    background: white;

}

.analytique {
    margin-bottom: 10px;
    background: rgb(194, 162, 201);
    padding: 4px 30px;
    position: relative;
    margin-right: 8px;
    border-radius: 4px;

}

.titre {
    text-transform: uppercase;
    font-weight: bold;
}

.analytiquesTitre {
    /* margin-left: -50px; */
    padding: 0 30px;
    margin: 0 15px;
}

.txt {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, Times, serif;
}


/* FACTURES */
.panel.p2-card.panel-fact {
    background: #f5f5f5;
    border-color: var(--primary-color);
    box-shadow: inset 0px 0px 3px 0px rgba(121, 71, 194, 0.55);
    padding: 10px 15px;
}

.panel.p2-card.panel-fact div.row div {
    padding: 2px 5px;
}

.panel.p2-card.panel-fact.panel-fact-has-error {
    border-color: var(--danger-color);
    box-shadow: inset 0px 0px 3px 0px rgba(255, 0, 0, 0.55);
}


.row.row-thead-facture {
    margin: 10px auto;
}

.row.row-thead-facture div {
    background: #f5f5f5;
    padding: 5px;
    border: 1px solid var(--primary-color);
    border-right: 0;
    text-align: center;
}

.row.row-thead-facture div:first-child {
    border-radius: 4px 0 0 4px;
}

.row.row-thead-facture div:last-child {
    border-right: 1px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

div.col-md-12 .row.row.row-facturables:first-child {
    margin-top: 15px
}

.row.row-facturables {
    margin: 1px 15px;
}

.row.row-facturables>div {
    padding: 4px 10px;
    font-size: 10px;
    border: 1px solid #F5F5F5;
    background: white;
}

.row.row-facturables>div:first-child {
    border-radius: 10px 0 0 10px;
}

.row.row-facturables>div:last-child {
    border-radius: 0 10px 10px 0;
}

.input-sm.input-group-addon {
    height: 8px;
    line-height: 8px;
}

/*
.col-md-12.facturable .input-sm {
    height: 20px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
*/

.ui-tree-facturables .form-horizontal .form-group.form-group-sm {
    margin-bottom: 0;
}

.ui-tree-facturables .form-control {
    height: 20px;
}

.ui-tree-facturables textarea.form-control {
    height: auto;
}

.ui-tree-facturables *.form-control {
    font-size: 12px;
}

.ui-tree-facturables .ui.select {
    height: 20px;
    background-color: red;
}

.ui-tree-facturables span.btn.btn-default.form-control.ui-select-toggle {
    padding: 0 5px;
    font-size: 1.4em;
}

.ui-tree-facturables .row.lf-title {
    margin: 10px 0 10px 30px;
}

.btn.btn-white {
    background: white
}

.panel-analytiques thead tr th {
    border: 1px solid #c2a2c9;
    /* border-bottom: 0; */
}

.panel-analytiques .panel-header {
    background: #c2a2c9;
    border-radius: 5px 5px 0 0;
    padding: 5px;
}

.panel-analytiques .panel-body {
    border: 1px solid #c2a2c9;
    margin-top: 0;
    border-bottom: 0;
    padding: 10px 5px;
}

.ui-tree-facturables {
    font-size: 12px;
}

.panel-analytiques .panel-body:last-child {
    border-bottom: 1px solid #c2a2c9;
}

.ui-tree-facturables .has-error .checkbox,
.ui-tree-facturables .has-error .checkbox-inline,
.ui-tree-facturables .has-error .control-label,
.ui-tree-facturables .has-error .help-block,
.ui-tree-facturables .has-error .radio,
.ui-tree-facturables .has-error .radio-inline,
.ui-tree-facturables .has-error.checkbox label,
.ui-tree-facturables .has-error.checkbox-inline label,
.ui-tree-facturables .has-error.radio label,
.ui-tree-facturables .has-error.radio-inline label {
    color: rgba(205, 0, 0, 0.55);
}

.ui-tree-facturables .has-error .form-control,
.ui-tree-facturables .has-error span.btn.btn-default.form-control.ui-select-toggle {
    border-color: rgba(205, 0, 0, 0.55);
    box-shadow: 0px 0px 6px 0px rgba(205, 0, 0, 0.55);
}

.fixed-action-btn {
    position: fixed;
    right: 23px;
    bottom: 23px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 997;
}

.btn-floating {
    display: inline-block;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    border-radius: 50%;
    -webkit-transition: background-color .3s;
    transition: background-color .3s;
    cursor: pointer;
    vertical-align: middle;
}

.factureMail {
    padding: 10px;
}

.factTitle {
    font-size: 15px;
    padding-bottom: 3px;
    cursor: pointer;
    border-bottom: 1px solid #E5E5E5;
}

.projetBudget {
    margin-top: 10px;
    text-align: center;
}

.factureFacturable {
    margin-bottom: 20px;
}

.btnFacture {
    margin-top: -7px;
}

.boutonFacturable {
    padding-bottom: 20px;
}

/*************FRAIS***********/

.fraisValidation {
    font-weight: unset;
}

.flex-modal-title {
    float: left;
}

/*********PROJET***********/

.listProjects {
    /* border: 1px solid rgb(240, 240, 240); */
    margin-bottom: 6px;
    padding: 5px;
    background-color: #fdfcfc;

}

.groupProjects {
    border: 1px solid rgb(228, 245, 255);
    border-radius: 5px;
    margin: 5px;
    padding: 5px;
    box-shadow: 0 0 5px -2px rgb(32, 41, 81);
}


.projets {
    /* font-family: 'Courier New', Courier, monospace; */
    /* background-color: #f7f7f7; */
    padding: 15px 0;
}

/* .projet { */
/* background-color: transparent; */
/* font-family: 'Courier New', Courier, monospace; */
/* border: 1px solid rgb(240, 240, 240); */
/* margin-left:0px;
} */

.pointer {
    margin-bottom: 0px;
}

.projetMission {
    padding-left: 15px;
}

.modifgroup {
    float: right;
    padding-right: 15px;
}

.client {
    background-color: #fff;
    padding-top: 0px;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
    vertical-align: center;
    padding-left: 20px;
}

.allPrint {
    margin: 12px 0 6px;
    padding-right: 38px;
    margin-left: 0px;
}

.panel.p2-card.panel-projets {
    padding: 7px 20px;
    margin-top: 0.4em;
}

.projetIcone {
    flex: 0;
}

.infoProjet {
    text-align: center;
}

.panel-analytiques .panel-body.from-extra,
.panel-analytiques .panel-body:last-child.from-extra {
    border: 2px solid var(--warning-color);
}

.fa-triple i,
.fa-triple-index i {
    position: absolute;
}

.fa-triple i.fa:first-child {
    top: 0;
    left: -10px;
}

.fa-triple i.fa:last-child {
    top: 4px;
    left: -15px;
}

.fa-triple i.fa:nth-child(2) {
    top: 3px;
    left: -14px;
    color: white;
}

.fa-triple-index i.fa:first-child,
.fa-triple-index i.far:first-child {
    top: -7px;
    left: 4px;
}

.fa-triple-index i.fa:last-child,
.fa-triple-index i.far:last-child {
    top: -3px;
    left: -1px;
}

.fa-triple-index i.fa:nth-child(2),
.fa-triple-index i.far:nth-child(2) {
    top: -2px;
    left: -2px;
    color: #f9f9f9;
}

.nav.navbar-nav.flex-column li:hover .fa-triple-index i.fa:nth-child(2),
.nav.navbar-nav.flex-column li:hover .fa-triple-index i.far:nth-child(2),
.nav.navbar-nav.flex-column li.active .fa-triple-index i.fa:nth-child(2),
.nav.navbar-nav.flex-column li.active .fa-triple-index i.far:nth-child(2) {
    color: #C7C7BB;
}

.panel-prop {
    border: 1px solid black;
    margin-top: 30px;
    border-radius: 3px;
    padding-bottom: 12px;
}

.panel-contents {
    background: #f5f5f5;
    border: 1px solid black;
    margin-top: 30px;
    border-radius: 3px;
    padding: 12px;
}

.panel-prop-cont {
    border: 1px solid black;
    margin-top: 30px;
    background: #fff;
    border-radius: 3px;
    padding-bottom: 12px;
}

.panel-prop-cont span.title {
    position: relative;
    background: white;
    padding: 2px 20px;
    font-size: 20px;
    top: -15px;
    left: 10px;
    border: 1px solid black;
    border-radius: 3px;
}

hr.mini-hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

li>hr {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 80%;
    border: 0;
    border-top: 1px solid #ddd;
}

/* Notifs */


.navbar-default .dropdown-menu.notify-drop {
    min-width: 330px;
    background-color: #fff;
    min-height: auto;
    max-height: 360px;
}

.navbar-default .dropdown-menu.notify-drop .notify-drop-title {
    border-bottom: 1px solid #e2e2e2;
    padding: 5px 15px 10px 15px;
}

.navbar-default .dropdown-menu.notify-drop .drop-content {
    min-height: auto;
    max-height: 280px;
    overflow-y: scroll;
}

.navbar-default .dropdown-menu.notify-drop .drop-content::-webkit-scrollbar-track {
    background-color: #F5F5F5;
}

.navbar-default .dropdown-menu.notify-drop .drop-content::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
}

.navbar-default .dropdown-menu.notify-drop .drop-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li {
    border-bottom: 1px solid #e2e2e2;
    padding: 10px 0px 5px 0px;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li:nth-child(2n+0) {
    background-color: #fafafa;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li:after {
    content: "";
    clear: both;
    display: block;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li:hover {
    background-color: #fcfcfc;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li:last-child {
    border-bottom: none;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li .notify-img {
    /* float: left; */
    display: inline-block;
    width: 45px;
    height: 45px;
    margin: 0px 0px 8px 0px;
}

.navbar-default .dropdown-menu.notify-drop .allRead {
    margin-right: 7px;
}

.navbar-default .dropdown-menu.notify-drop .rIcon {
    float: right;
    color: #999;
}

.navbar-default .dropdown-menu.notify-drop .rIcon:hover {
    color: #333;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li a {
    font-size: 12px;
    font-weight: normal;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li {
    font-size: 11px;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li hr {
    margin: 5px 0;
    width: 70%;
    border-color: #e2e2e2;
}

.navbar-default .dropdown-menu.notify-drop .drop-content .pd-l0 {
    padding-left: 0px;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li p {
    font-size: 11px;
    color: #666;
    font-weight: normal;
    margin: 3px 0;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li p.time {
    font-size: 10px;
    font-weight: 600;
    top: -6px;
    margin: 8px 0px 0px 0px;
    padding: 0px 3px;
    border: 1px solid #e2e2e2;
    position: relative;
    background-image: linear-gradient(#fff, #f2f2f2);
    display: inline-block;
    border-radius: 2px;
    color: #B97745;
}

.navbar-default .dropdown-menu.notify-drop .drop-content>li p.time:hover {
    background-image: linear-gradient(#fff, #fff);
}

.navbar-default .dropdown-menu.notify-drop .notify-drop-footer {
    border-top: 1px solid #e2e2e2;
    bottom: 0;
    position: relative;
    padding: 8px 15px;
}

.navbar-default .dropdown-menu.notify-drop .notify-drop-footer a {
    color: #777;
    text-decoration: none;
}

.navbar-default .dropdown-menu.notify-drop .notify-drop-footer a:hover {
    color: #333;
}

#bell-bar {
    font-size: 18px;
}

#badge-bell {
    margin-top: -8px;
}



/* FOOTER */

#footer {
    /* display:block;
    position: absolute;
    bottom: 0; */
    width: 100%;
    /*padding: 40px 0 0 0;*/
    color: #666;
    -webkit-box-shadow: inset 0 5px 5px -5px rgba(0, 0, 0, .1);
    box-shadow: inset 0 5px 5px -5px rgba(0, 0, 0, .1);
}

#footer h6,
#footer .widget-title {
    margin: 0 0 15px 0;
    padding: 0;
}

#footer .logo {
    margin-bottom: 15px;
}

#footer .widget {
    margin-bottom: 30px;
}

/* Footer Links */
#footer .footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .footer-links a {
    position: relative;
    display: block;
    padding: 5px 0;
    color: inherit;
    text-decoration: none;
}

#footer .footer-links a:hover {
    color: #2aadde;
}

#footer .footer-links a:before {
    position: relative;
    top: -1px;
    margin-right: 10px;
    color: #2aadde;
    content: '\f054';
    font-size: 8px;
    font-family: 'FontAwesome';
}

/* Copyright */
#footer .copyright {
    padding: 10px 0;
    background: linear-gradient(to right, var(--main-color-2) 0%, var(--main-color-3) 100%);
    color: #505050;
}

#footer .copyright p {
    float: left;
    margin: 0;
    padding: 5px 0;
}

#footer .copyright p a {
    color: #cccccc;
}

#footer .footer-social {
    float: right;
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .footer-social li {
    float: left;
    margin-left: 10px;
}

#footer .footer-social li a {
    display: block;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #464646;
    color: #747474;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    line-height: 30px;
}

#footer .footer-social li a:hover {
    background: #555;
    color: #747474;
}

.import-collabs {
    text-align: center;
    border: 1px solid #dddddd3d;
    background-color: #f9f9f9;
    padding-bottom: 10px;
    padding-top: 10px;
}

.import-collabs i {
    font-size: 25px;
    color: #5bc0de;
}

.import-collabs a:hover {
    text-decoration: none;
}

/*Style page synthese de collaborateurs */
.thSynthese {
    display: flex;
    justify-content: space-around;
    flex-direction: row nowrap;
    align-items:center;
    text-align: center;
}

.tdSynthese {
    display: flex;
    justify-content: space-around;
    flex-direction: row nowrap;
    align-items:center;
    text-align: center;
}
.thSynthese > *,.tdSynthese > *{
    margin-left: 6px;
    margin-right: 0;
}
.thSynthese > *:first-child, .tdSynthese > *:first-child{
    margin-right: 6px;
    margin-left: 0;
}

.spanSynthese {
    flex:1;
    text-align:center;
    /* padding-top:20px; */
}
.borderTdSynthese{
    vertical-align: auto;
}
.tableSynthese>tbody>tr>td, .tableSynthese>tbody>tr>th, .tableSynthese>tfoot>tr>td, .tableSynthese>tfoot>tr>th, .tableSynthese>thead>tr>td, .tableSynthese>thead>tr>th{
    border:1.5px solid #ddd;

}
.tableSynthese{
    border:1px solid #ddd;
    overflow-y: scroll; 
}
.spanSynthese1{
    /* min-width: 80px;
    max-height: 20px; */
    padding-left: 6px;
    padding-right: 6px;
}
.spanSynthese2{
    /* min-width: 90px; */
    padding-left: 6px;
    padding-right: 6px;
}
.suiviFormationtitle{
    font-size: 18px;
    font-weight: 500;
}
/* Carriere Visite Medicales*/
.spanTitle{
    font-weight: bold;
}
/* Formation */
.spanPopover{
    font-size: 10px;    
}
.tableSynthese          { overflow-y: auto; height: 100px; }
.tableSynthese thead tr th{ position: sticky; top: 70px; }
.tableSynthese thead tr:first-child th { position: sticky; top: 0px; height: 70px; }
.tableSynthese thead tr th:first-child { top: 70px; left: 164px; z-index: 20; }
.tableSynthese thead tr:first-child th:first-child { top: 5px; left: 164px; z-index: 20; }

.tableSynthese tbody tr td:first-child { position: sticky; left: 164px; z-index: 10; }

.tableSynthese th, .tableSynthese td {
    background: white;
}

/* Just common table stuff. Really. */
table  { border-collapse: collapse; width: 100%; }


.content.content-fixed{
    position: fixed;
    top: 50px;
    left: 0px;
    right: 0px;
    overflow: scroll;
    bottom: -50px;
}