
* {
    font-family: 'Poppins', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


.c1 {color: var(--color-1) !important;}
.c2 {color: var(--color-2) !important;}
.c3 {color: var(--color-3) !important;}
.b1 {background-color: var(--color-1) !important;}
.b2 {background-color: var(--color-2) !important;}
.b3 {background-color: var(--color-3) !important;}
.bc1 {border-color: var(--color-1) !important;}
.blue {color: var(--blue) !important;}
.link { cursor: pointer; text-decoration: none;}

.btn {
    border-radius: var(--btn-radius) !important;
    border-color: var(--bloc--bc);
}
.btn-group .btn {
    border-radius: 0 !important;
}
.btn-group .btn:first-child {
    border-radius: var(--btn-radius) 0 0 var(--btn-radius)!important;
}
.btn-group .btn:last-child {
    border-radius: 0 var(--btn-radius) var(--btn-radius) 0!important;
}


.btn-primary {
    background: var(--color-1);
}
.btn-primary:hover {
    background: var(--blue);
}

.nm {
    margin: 0 !important;
}
.np {
    padding: 0 !important;
}


select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
}



/* Loader */
.globalLoaderOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    background: rgba(255,255,255,0.8);
}
.globalLoaderOverlay .message-wrapper {
    position: absolute;
    bottom: 50px;
    right: 50px;
}
.globalLoaderOverlay .message-wrapper img {
    height: 150px;
    display: inline-block;
    margin-right: 20px;
}
.globalLoaderOverlay .message-wrapper .message {
    text-align: center;
    display: inline-block;
    font-size: 15px;
    vertical-align: bottom;
}
.globalLoaderOverlay .message-wrapper .message i {
    color: var(--color-1);
    font-size: 40px;
}

/* Wait */
.wait {
    text-align: center;
    min-height: 50px;
    line-height: 50px;
    background: rgba(0,0,0,0.1);
    animation: pulsebg 3s ease infinite;
    border-radius: 8px;
}

@keyframes pulsebg {
    0% { background: rgba(0,0,0,0.1); }
    50% { background: rgba(0,0,0,0.2); }
    100% { background: rgba(0,0,0,0.1); }
}
.wait i {
    display: inline-block;
    font-size: 30px;
    color: #bbb;
    vertical-align: middle;
}




.form-control {
    border-radius: 0;
    box-shadow: 0;
    outline: 0;
    border-style: solid;
}


.wFlex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;

    position: fixed;
    width: 100%;
    height: 100%;
    overflow: auto;
    top: 0;
    left: 0;
}

.wFlex .wFlex-navigation {
    display: block;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 80px;
    align-self: auto;
    order: 0;
    width: 80px !important;
}
  
.wFlex .wFlex-body {
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    position: relative;
}

#app-page {
    width: 100%;
    height: 100vh;
    overflow: auto;
}
#app-page.page {
    padding: 20px !important;
    background: var(--page-bg);
}

#app-page .bloc {
    margin: 15px 0 50px 0;
    background: var(--bloc-bg);
    border: 1px solid var(--bloc--bc);
    min-height: 100px;
    /* box-shadow: 3px 3px 3px  var(--bloc--shadow); */
    padding: 20px;
    padding-top: 30px;
    position: relative;
}
#app-page .bloc.np {
    padding: 0;
}
#app-page .bloc .bloc-title {
    position: absolute;
    top: -25px;
    left: 20px;
    background: var(--bloc-bg);
    border: 1px solid var(--bloc--bc);
    padding: 5px 25px;
    line-height: 40px;
    font-size: 30px;
}
#app-page .bloc .bloc-title>i {
    margin-right: 10px;
    color : var(--bloc--bc);
}

#app-page .alert {
    margin: 15px 0;
    position: relative;
    border-radius: 0;
    padding-left: 25px;
    color: var(--nav-tc1);
    line-height: 31px;
    background: var(--color-1) !important;
}
#app-page .alert::before {
    content : '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 15px;
    height: calc(100% + 2px);
    background: rgba(0,0,0,0.3);
}


#app-page .form-group label {
    color: var(--blue);
    line-height: 26px;
    font-size: 14px;
    padding: 0;
    margin: 0;
    font-weight: bold;
}
#app-page .form-group .form-control {
    margin: 0;
    border: 0 none;
    border: 1px solid var(--nav-tc2);
    border-left: 5px solid var(--color-0);
    border-radius: 0;
    outline: 0 none;
}
#app-page .form-group .form-control:hover,
#app-page .form-group .form-control:active {
    cursor: pointer;
    box-shadow: 0 2px 2px var(--nav-tc2);
    border-color: var(--blue);
}


#resultsClients img {
    max-width: 300px;
    max-height: 300px;
}

p.p-loading {
    text-align: center;
    font-weight: lighter;
    font-size: 16px;
    line-height: 40px;
}
p.p-loading i {
    font-size: 50px;
}
.list-selectable {
    max-height: 400px;
    overflow: auto;
}
.list-selectable a {
    font-size: 14px;
}
.list-selectable a span.name {
    font-weight: bold;
    color: var(--color-1);
}
.list-selectable a span.info {
    color: var(--color-1);
    font-style: italic;
}
.list-selectable a small {
    font-size: 12px;
    color: var(--nav-tc3);
    line-height: 20px;
}
.list-selectable a small i {
    margin-right: 8px;
}

#app-page.page>h4 {
    font-size: 40px;
    line-height: 70px;
    font-weight: lighter;
    margin: 0;
}
#app-page.page>h4 svg {
    height: 35px;
    margin-right: 10px;
    vertical-align: -2px;
}


.menu-action {
    margin-top: 20px;
    margin-right: 20px;
}
.menu-action .dropdown .dropdown-toggle::after {
    display: none;
}
.menu-action .dropdown button i {
    margin-right: 10px;
}
.menu-action .dropdown ul.dropdown-menu li {
    line-height: 35px;
    font-size: 16px;
    padding: 5px 10px;
}
.menu-action .dropdown ul.dropdown-menu li i {
    margin-right: 10px;
    display: inline-block;
    width: 20px;
    text-align: center;
    font-size: 22px;
}


.card-header {
    position: relative;
    background: transparent;
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0 !important;
}
.card-header h4 svg {
    height: 22px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: -2px;
}
.bg-primary-light {
    background: rgba(13, 153, 255, 0.1);
}
.list-group a i {
    margin-right: 10px;
    display: inline-block;
    width: 15px;
    height: 15px;
    text-align: center;
    color: var(--blue);
}

.helper {
    font-size: 14px;
    margin: 10px 0;
    font-style: italic;
    position: relative;
    color: var(--nav-tc3);
}


nav.nav {
    background: var(--color-3);
    color: var(--nav-tc1);
}

nav.nav h1 {
    margin: 0;
    padding: 0 0 0 20px;
    font-size: 40px;
    line-height: 80px;
}


nav .goBackArrow {
    cursor: pointer;
    text-decoration: none;;
    display: inline-block;
    font-size: 25px;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background: var(--color-2);
    border-bottom: 1px solid var(--color-3);
    text-align: center;
    cursor: pointer;
    color: var(--nav-tc1);
    transition: all 0.3s ease;   
    vertical-align: 3px; 
}
nav .goBackArrow:hover {
    background: var(--color-1);
}





.liste {
    height: calc(100vh - 170px);
    overflow: auto;
}
.liste .ph {
    padding-top: 100px;
    text-align: center;
}
.liste .ph .message {
    font-size: 40px;
    color : var(--nav-tc2)
}
.liste .ph .message i {
    font-size: 100px;
}


.liste {
    text-align: left;
}
.dossier {
    cursor: pointer;
    display: block;
    margin: 0px 15px;
    padding: 10px;
    line-height: 40px;
    border: 1px solid transparent;
    border-bottom: 1px solid var(--color-0);
    overflow: hidden;
    transition: all 0.3s ease;
}
.dossier:nth-child(2n+1) {
    background: #eee;
}
.dossier:hover {
    background: #ccc;
    /* transform: scale(1.01); */
}
.liste .dis {
    text-align: center;
    color: var(--color-1);
    font-size: 25px;
    line-height: 50px;
    margin-top: 15px;
}
.liste .dossier:last-child {
    margin-bottom: 10px;
}


.dossier>div {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    vertical-align: top;
    overflow: hidden;
    padding: 0 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    margin-right: 10px;
}
.dossier>div>i {
    margin-right: 5px;
}
.dossier>div.n {
    color: var(--color-3);
    font-size: 18px;
}
.dossier>div.n i {
    font-size: 30px;
    margin-right: 10px;
    vertical-align: -4px;
}
.dossier>div.c {
    background: var(--color-2);
    color: var(--nav-tc1);
    width: 250px;
    text-align: left;
}
.dossier>div.p {
    min-width: 150px;
    color: var(--nav-tc1);
    text-align: left;
}
.dossier>div.p i {
    margin: 0 8px;
    vertical-align: 2px;
}

.dossier>div.dd {
    background: var(--color-0);
    color: var(--nav-tc1);
    min-width: 200px;    
    font-size: 12px;  
    line-height: 16px;
    padding-top: 3px;   
    text-align: left; 
}
.dossier>div.pj {
    background: var(--color-1);
    color: var(--nav-tc1);
    width: 60px;
    text-align: center;
}
.dossier>div.s {
    font-size: 12px;  
    line-height: 16px;
    padding-top: 3px;
    text-align: left;
}















.dWrapper {
    padding: 0 20px;
}


.onglets {
    padding: 0;
}
.onglets ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 50px;
}
.onglets ul li {
    display: inline-block;
    line-height: 45px;
    height: 50px;
    padding: 0 15px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 5px;
    border: 2px solid var(--onglet-primary);
    color : var(--onglet-other);
    background: var(--onglet-secondary);
    border-bottom: 0 none;
    box-shadow: 0 -4px 4px #ddd inset;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px 12px 0 0;
}
.onglets ul li span {
    display: inline-block;
    font-size: 11px;
    line-height: 18px;
    background: var(--onglet-primary);
    color: var(--onglet-other);
    padding: 0 5px;
    border-radius: 8px;
    margin-left: 6px;
    transition: all 0.3s ease;

}
.onglets ul li.active,
.onglets ul li:hover {
    color : var(--onglet-active-primary);
    border-color: var(--onglet-active-secondary);
    background: var(--onglet-active-secondary);
    box-shadow: 0 0 0 transparent;
}
.onglets ul li.active span, 
.onglets ul li:hover span {
    background:  var(--onglet-active-primary);
    color: var(--onglet-active-secondary);
}

.onglets ul li:first-child {
    border-left: 0;
    border-radius: 0 12px 0 0;
}
.onglets svg {
    height: 20px;
    width: 20px;
    margin-right: 6px;
    vertical-align: -5px;
}



.filters {
    background: var(--bloc-bg);
    border-radius: 0 20px 0px 0;
    height: 80px;
    line-height: 80px;
    padding: 0 20px;
}
.filters .btn-new-dir {
    background-color: var(--blue);
    border: 0 none;
    color: #fff;
}


.filters .searchWrapper {
    display: inline-block;
    vertical-align: middle;
    width: 300px;
    height: 45px;
    line-height: 45px;
    border: 2px solid var(--onglet-primary);
    border-radius: 25px;
    padding: 0;
}
.filters .searchWrapper #searchForm>* {
    vertical-align: top;
    margin: 0;
}
.filters .searchWrapper .icon-filter {
    display: inline-block;
    width: 38px;
    line-height: 43px;
    text-align: center;
    color: var(--onglet-primary);
}
.filters .searchWrapper .btn-filters {
    display: inline-block;
    width: 50px;
    line-height: 37px;
    margin-top: 2px !important;
    text-align: center;
    padding: 0 5px;
    border-radius : 25px !important;
    border: 0 none;
    background: var(--onglet-primary);
    color: var(--blue)
}
.filters .searchWrapper .btn-filters:hover {
    background: var(--blue);
    color: #fff;
}

.filters .searchWrapper .searchField {
    display: inline-block;
    width: 205px;
    line-height: 40px;
    position: relative;
    background: transparent !important;
    border: 0 none;
    outline: 0 none;
    vertical-align: -10px;
}
.filters .btn-group {
    height: 45px;
}
.filters .btn-group .btn {
    border-radius: 0 !important;
}
.filters .btn-group .btn:first-child {
    border-radius: 25px 0 0 25px !important;
}
.filters .btn-group .btn {
    width: 150px;
}
.filters .btn-group .btn:last-child {
    border-radius: 0 25px 25px 0!important;
}


.dossiers {
    border-radius: 0 0 20px 20px;
    background: #fff;
    padding: 0px 5px 50px 5px;
    position: relative;   
    max-height: calc(100vh - 240px);
    overflow: auto;
}
.dossiers.clients {
    max-height: calc(100vh - 180px);
}



table.designedTable {
    width: 100%;
    margin: 0px;
    padding: 0;
    border: 0 none;
    background: none;
    border-collapse: separate !important;
    border-spacing : 0;
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
}
table.designedTable thead tr th {
    background-color: var(--page-bg);
    color: #a0a2b7;
    font-size: 14px;
    line-height: 40px;
}
table.designedTable thead tr th:first-child {
    border-radius: 10px 0 0 10px;
}

table.designedTable thead tr th {
    position: sticky;
    top: 0;
    z-index: 100;
    cursor: pointer;
}
table.designedTable thead tr th[data-sort]:hover,
table.designedTable thead tr th.active i {
    color: var(--blue)
}
table.designedTable thead tr th.active i {
    margin-left: 20px;
}

table.designedTable thead tr th:last-child {
    border-radius: 0 10px 10px 0;
}
table.designedTable tr th:first-child,
table.designedTable tr td:first-child {
    padding-left: 10px;
}
table#projects tr th:first-child,
table#projects tr td:first-child {
    border-left: 5px solid transparent;
    text-align: center;
    width: 70px;
    padding-left: 15px;
}

table.designedTable tbody tr td {
    line-height: 45px;
    font-size: 14px;
    color: var(--color-1);
    font-weight: bold;
    transition: all 0.3s ease;
}

table.designedTable .montant {
    text-align: right;
    width: 120px;
    padding-right: 20px;
}
table.designedTable .p {
    display: inline-block;
    color: #fff;
    font-size: 13px;
    padding: 2px 0px 2px 15px;
    opacity: 0.7;
    font-weight: normal;
    min-width: 120px;
    line-height: 22px;
    border-radius: 10px;
}
table.designedTable .p i {
    margin-right: 10px;
}

table.designedTable .p.warn {
    color: #B71C1C;
}
table.designedTable .so {
    color: #aaa;
}
table.designedTable .so i {
    margin-right: 10px;
}

table.designedTable tbody tr td:first-child {
    border-radius: 10px 0 0 10px !important;
}
table.designedTable tbody tr td:last-child {
    border-radius: 0 10px 10px 0;
}
table .dots {
    text-align: center;
}
table .dots i {
    color: #a0a2b7;
    font-size: 18px;
    cursor: pointer;
    display: inline-block;
    border-radius: 10px;
    padding: 4px 10px;
    transition: all 0.3s ease;
    vertical-align: -4px;
}
table .dots i:hover {
    background: var(--onglet-other);
    color: #fff;
}


table.designedTable tbody tr:hover td,
table.designedTable tbody tr.active td {
    background-color: var(--page-bg);
    cursor: pointer;
}
table.designedTable tbody tr:hover td:first-child,
table.designedTable tbody tr.active td:first-child {
    border-color: var(--blue);
    border-radius: 10px 0 0 10px !important;
}
table.designedTable .blue {
    color : var(--blue)
}

table.designedTable .loading,
table.designedTable .no-results {
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    color: #a0a2b7;
    padding: 50px 0;
}
table.designedTable .loading i,
table.designedTable .no-results i {
    margin-right: 10px;
    font-size: 30px;
    vertical-align: -5px;
}


#hotbar {
    display: none;
    z-index: 200;
    position: fixed;
    background: #201f2b;
    color: #fff;
    height: 80px;
    bottom: 40px;
    left: calc(50% + 80px);
    min-width: 80%;
    border-radius: 40px;
    transform: translate(-50%,0);
    line-height: 60px;
    padding: 10px 30px;
    color: #fff;
    font-size: 17px;
}
#hotbar .cancel {
    color: #504f63;
    cursor: pointer;
}
#hotbar .qteItems {
    background: #3c3b4c;
    display: inline-block;
    line-height: 28px;
    text-align: center;
    margin: 0 8px 0 20px;
    padding: 0 13px;
    border-radius: 10px;
}

#hotbar button {
    line-height: 55px;
    border: 0 none;
    color: #fff;
    border-radius: 30px;
    padding: 0 20px;
    background: #3c3b4c;
    margin-left: 10px;
    transition: all 0.3s ease;
}
#hotbar button i {
    margin-right: 10px;
}
#hotbar button.btn-red {
    background: #ec3751;
}

#hotbar button:hover {
    background: #2a2935;
}
#hotbar button.btn-red:hover {
    background: #b72439;
}



.dossierWrapper {
    height: calc(100vh - 80px);
    width: 100%;
    overflow: auto;
}
.dossierWrapper>.row {
    margin: 0;
    padding: 0;
}
.dossierWrapper>.row>.col {
    padding: 10px;
}
.dossierWrapper .card {
    border-radius: 0;
    box-shadow: 0 3px 3px #aaa;
    padding: 10px;
    margin-bottom: 10px;
}
.dossierWrapper .card strong {
    color: var(--color-3);
    display: block;
    margin-bottom: 8px;
}
.dossierWrapper .card strong i {
    margin-right: 8px;
}
.dossierWrapper .card span.c1 {
    font-weight: bold;
}
.dossierWrapper .card p {
    border-left: 4px solid var(--nav-tc2);
    padding: 10px 0;
    padding-left: 10px;
    margin-left: 10px;
    font-size: 12px;
    line-height: 20px;
    color: var(--color-3);
    margin-top: 5px;
}
.dossierWrapper .card .sub {
    padding-left: 30px;
    margin-bottom: 20px;
    line-height: 20px;
}
.dossierWrapper .card .sub.sep span.c1 {
    display: inline-block;
}
.dossierWrapper .card .sub.sep span.c1 i {
    display: inline-block;
    width: 25px;
    text-align: center;
}
.dossierWrapper .card .form-group {
    margin-bottom: 10px;
}
.dossierWrapper .card h2 {
    margin: 0;
    padding: 0;
    font-size: 40px;
    color: #ddd;
    font-weight: lighter;
    text-shadow: 0 1px 1px #555;
}


.card.full-height {
    height: calc( 100vh - 120px);
    overflow: auto;
}

#formAddContact {
    padding: 15px;
    text-align: left !important;
}
#formAddContact .form-group {
    margin-bottom: 8px;
}



.contact-user em {
    font-size: 13px;
}
.contact-name {
    font-size: 13px;
}
.contact-infos {
    margin-bottom: 20px;
    margin-top: 12px;
    padding-left: 10px;
    margin-left: 10px;
    font-size: 12px;
    line-height: 25px;
    border-left: 4px solid var(--nav-tc2);

}
.contact-infos i {
    font-size: 18px;
    margin-right: 10px;
    display: inline-block;
    width: 15px;
    text-align: center;
}
.contact-infos a {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-1);
}




/* Timeline */

.timeline .sessions{
    margin: 0;
    padding: 0;
    margin-top: 2rem;
    border-radius: 12px;
    position: relative;
    list-style: none;
  }
.timeline li {
    padding-bottom: 1.5rem;
    border-left: 1px solid #888;
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
}
.timeline li:last-child{
      border: 0px;
      padding-bottom: 0;
}
.timeline li:before{
      content: '';
      width: 15px;
      height: 15px;
      background: white;
      border: 1px solid #888;
      box-shadow: 3px 3px 0px #bab5f8;
      box-shadow: 3px 3px 0px #bab5f8;
      border-radius: 50%;
      position: absolute;
      left: -8px;
      top: 0px;
}
.timeline  .time{
    color: #888;
    font-size: 12px;
    font-style: italic;
}
.timeline p{
    color: #4f4f4f;
    font-family: sans-serif;
    line-height: 1.5;
    margin-top:0.4rem;
}
.timeline  .msg {
    font-size: 13px;
    color: var(--color-2);
}
.timeline  .user {
    color: var(--color-0);
    font-size: 11px;
    padding-left: 20px;
}
.timeline  .user span {
    font-weight: bold;
    color: var(--blue);
}
.timeline  .msg strong {
    display: inline;
    margin-bottom: auto;
}


.designedTable td.dual {
    line-height: 18px;
}
.designedTable td.dual em {
    font-weight: lighter;
    font-size: 13px;
    color: #888;
}


ul.nav-menu {
    position: fixed;
    top: 80px;
    right: 20px;
    display: block;
    height: 40px;
    transform: translate(0%,-70%);
    margin: 0;
    padding: 0;
    z-index: 500;
}
ul.nav-menu li {
    display: inline-block;
}
ul.nav-menu li a {
    display: inline-block;
    color: #fff !important;
    background: var(--color-3);
    border: 1px solid #fff;
    margin: 0 10px;
    padding: 5px 10px;
    box-shadow: 0 2px 2px #555;
    transform: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
ul.nav-menu li a.active,
ul.nav-menu li a:hover {
    background: var(--blue) !important;
    box-shadow: 0 5px 5px #555;
}
select.swal2-select {
    margin: 10px auto;
    max-width: 90%;
}