/* *********************************************************************************************************************
/* *********************************************  GENERAL  *************************************************************
/* ********************************************************************************************************************/
/* Page de connexion */
.bg-login {
    height: 100% !important;
    color: white;
    background: url(../uploads/images/general/login_page_background_back-office.png) no-repeat center fixed;
    background-size: cover;
}
.login.page-center {
    background-color: transparent;
    max-width: 100%;
}
.login input {
    width: 90%;
    border: solid #CBBBA0 1px;
    border-radius: 3px;
    background-color: white !important;
    box-shadow: 0 1px 1px 1px #CBBBA0;
}
.sign-box {
    margin-top: 10%;
}
.group p {
    margin-bottom: 2%;
}
.group {
    margin-top: -10%;
}
.header {
    text-align: center;
    margin-bottom: -10%;
    background-color: rgba(52,52,52,0.7);
    color: #CBBBA0;
    padding: 1%;
}
.container-fluid .sign-box {
    border: solid #CBBBA0 2px;
    box-shadow: 0 1px 1px 1px #CBBBA0;
}
.submit {
    border: solid #CBBBA0 1px;
    border-radius: 3px;
    background-color: white;
    color: #343434;
}
.submit:hover {
    border: solid #CBBBA0 1px;
    border-radius: 3px;
    background-color: #CBBBA0;
    color: #343434;
}
.reset a {
    color: white;
}
.m-t {
    text-align: center;

}


/* Général */
body {
    color: #343434;
    background-color: rgba(203, 187, 160, 0.2);
}

.note-popover {
    display: none;
}

.text-center.titles {
    background-color: white;
    padding: 20px;
    margin-bottom: 3em;
}
.text-center.titles h1 {
    font-size: 1.7em;
}


/* Header */
.site-header-shown {
    display: flex;
    width: 300%;
    justify-content: flex-end;
}
.user-menu {
    display: flex;
    width: 25%;
    justify-content: right;
}
.dropdown-item:hover {
    color: #CBBBA0;
    font-weight: bold;
}
.dropdown-item:hover .font-icon{
    color: #CBBBA0;
}


/* Footer */
.site-footer {
    width: auto;
    height: 25px;
    display: flex;
    margin-top: 30%;
    justify-content: flex-end;
    background-color: #343434;
    color: white;
}

/* Header Navigation */
.dropdown-menu.dropdown-menu-right.en-tete {
    background-color: #343434;
}
.dropdown-menu.dropdown-menu-right.en-tete a {
    color: #CBBBA0;
    font-weight: bold;
}
.dropdown-menu.dropdown-menu-right.en-tete a:hover {
    background-color: #666666 !important;
    font-weight: bold;
}
.dropdown-menu.dropdown-menu-right.en-tete a span {
    color: #CBBBA0;
    margin-left: 10%;
}


/* Side Navigation */
/* icon */
ul.side-menu-list li.grey.with-sub i.fa, ul.side-menu-list li.grey.with-sub i.fas {
    width: 15%;
    text-align: center;
    margin-left: -5%;
    color: #CBBBA0;
}
/*libéllés */
ul.side-menu-list li.grey.with-sub .lbl {
    color: #CBBBA0;
    font-weight: bold;
    font-size: 0.9em;
}
/* au survol */
ul.side-menu-list li.grey.with-sub a:hover {
    background-color: #CBBBA0;
    color: white;
}
/* quand onglet ouvert */
ul.side-menu-list li.grey.with-sub.opened {
    background-color: #CBBBA0;
}
ul.side-menu-list li.grey.with-sub.opened span.lbl {
    color: white;
}

/* flèche vers le bas */
ul.side-menu-list li.grey.with-sub .dropdown-toggle {
    color: #CBBBA0;
}
ul.side-menu-list li.grey.with-sub.opened .dropdown-toggle {
    color: white;
}
ul.side-menu-list li.grey.with-sub.opened .dropdown-toggle:hover {
    color: #343434;
}

/* Menu déroulant Gestion user et employes */
.dropdown-menu.dropdown-menu-right {
    width: 100%;
    margin-right: 5%;
    background-color: transparent;
    border: solid #CBBBA0 1px;
}
.dropdown-menu.dropdown-menu-right .dropdown-item {
    color: white;
    padding-left: 2%;
}
.dropdown-menu.dropdown-menu-right .dropdown-item:hover {
    background-color: #666666 !important;
    font-weight: normal;
}
ul.side-menu-list li.grey.with-sub.opened .dropdown-menu.dropdown-menu-right .dropdown-item:hover {
    background-color: #666666 !important;
    font-weight: normal;
}



/* Label et btn */
.bootstrap-table .table a, .fixed-table-body .table a, .table a{
    border: none;
    color: #CBBBA0;
}
.label-success {
    background-color: rgba(61, 202, 126, 0.98);
}

.btn.btn-default-outline {
    border: solid grey 1px !important;
    color: grey;
}
.btn.btn-default-outline:hover {
    background-color: grey !important;
    color: white !important;
}
.input-group-addon {
    color: #CBBBA0 !important;
    background-color: white;
    border: solid #CBBBA0 1px;
}
.input-group-addon:hover {
    color: white !important;
    background-color: #CBBBA0;
}


.form-control.flatpickr.flatpickr-input {
    width: 55%;
}

/* Paramètres du site */
.param-title {
    margin-bottom: -2%;
}

/* *********************************************************************************************************************
/* ********************************************  DATA TABLES  **********************************************************
/* ********************************************************************************************************************/
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr >
th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable
thead > tr > td.sorting {
    border-right: solid white 0.5px;
}
.bootstrap-table .table thead th, .fixed-table-body .table thead th, .table thead th {
    text-align: center;
    color: white;
    background-color: rgba(52, 52, 52, 0.7);
}

table.dataTable thead .sorting::after {
    font-size: 0.8em;
}
table.dataTable thead .sorting_asc::after {
    font-size: 0.8em;
}
table td {
    border-bottom: solid rgba(52, 52, 52, 0.7) 0.5px;
}
.bootstrap-table .table thead {
    text-align: center;
}
td {
    text-align: center;
}
tr {
    font-size: 1.1em;
}


/* Btn icones Actions (plus ajout, oeil, crayon, poubelle) */
.btn {
    padding: .5rem .5rem;
}
.btn.actions {
    color: #CBBBA0 !important;
    background-color: white;
    border: solid #CBBBA0 0.5px;
    box-shadow: 0 1px 1px 1px #CBBBA0;
}
.btn-group {
    text-align: center;
}
td .btn-group {
    display: flex;
    justify-content: space-evenly;
}
.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}
.btn-group>.btn:last-child:not(:first-child), .btn-group>.dropdown-toggle:not(:first-child) {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
.btn.actions:hover {
    color: white !important;
    background-color: #CBBBA0 ;
    border: solid #CBBBA0 0.5px;
}
[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: none;
}
.fa, .fab, .fal, .far, .fas {
    -webkit-font-smoothing: none;
}
.bootstrap-table .table a, .fixed-table-body .table a, .table a {
    top: 0;
}
#newsletter_wrapper .dt-buttons.btn-group {
    width: 20%;
}
#newsletter_wrapper .btn.btn-default {
    color: #CBBBA0 !important;
    background-color: white;
    border: solid #CBBBA0 0.5px;
    box-shadow: 0 1px 1px 1px #CBBBA0;
    margin: 2%;
}
.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 4px;
}

/* Btn dropdown (publiée->cartes, en avant->témoignages */
.dropdown-menu li {
    padding: 3%;
    border: solid #e7eaec 1px;
    border-radius: 4px;
    margin: -1% 2% -1% 2% !important;
}
.dropdown-menu li a {
    font-size: 1em;
    color: #343434;
}
.dropdown-menu li:hover {
     background-color: #f5f5f5;
     border: solid #d2d2d2 1px;
 }
.dropdown-menu li a:hover {
    font-size: 1.1em;
    font-weight: bold;
}

.open > .dropdown-menu {
    width: 200px;
    left:  auto;
    right: 0;
}


/* Popover aperçus */
.popover-title {
    font-weight: bold;
    background-color: rgba(203, 187, 160, 0.5) ;
    color: #343434;
}
.popover {
    border: solid #343434 0.5px;
}


/* Bordures hautes navigation DT */
.tabs-section-nav .nav-link.active .nav-link-in {
    border-top-color: #CBBBA0;
}


/* Bas de DT (précédent, suivant etc.) */
.dt-bootstrap .pagination .paginate_button.active a {
    font-weight: bold;
    background-color: #CBBBA0 !important;
    border-color: #CBBBA0 !important;
}
.dt-bootstrap .pagination .paginate_button a {
    color: #343434;
}

/* *********************************************************************************************************************
/* ************************************************ PRODUITS  **********************************************************
/* ********************************************************************************************************************/
.tabs-section-nav.tbl.nav {
    border: solid #CBBBA0 0.5px;
}
.container-fluid.products{
    display: flex;
}
.tabs-section.products {
    width: 90%;
}
.box-typical-full-height-with-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.gallery-item {
    margin: 10px 0 10px -10px;
    text-align: center;
}
.product-container {
    padding: 10px;
    background-color: #CBBBA0;
    border-radius: 5px;
}
.product-container-indisponible {
    padding: 10px;
    background-color: darkgrey;
    border-radius: 5px;
}
.product-container:hover {
    border: solid #CBBBA0 0.5px;
    box-shadow: 0 2px 2px 2px #CBBBA0;
}
.product-image {
    border: solid #CBBBA0 1px;
    border-radius: 5px;
}
.product-price {
    position: relative;
    width: fit-content;
    margin: 0;
    background-color: #343434;
    color: white;
    font-weight: bold;
    border-radius: 5px;
}
.product-name {
    background-color: #343434;
    margin: 0.5em;
    padding: 0.5em;
    color: white;
    font-weight: bold;
    font-size: 80%;
    text-transform: uppercase;
    border-radius: 5px;
}
p.product-name {
    width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
p.product-name:hover {
    cursor: default;
    white-space: normal;
}
.btn.product {
    background-color: #343434;
    margin: 0.5em;
    padding: 0.5em;
    color: white;
    font-weight: bold;
    font-size: 70%;
    border: none;
}


/* Tuile "Ajouter un nouveau produit" */
.product-name.product-add {
    white-space: normal;
    margin-top: 18%;
    color: #CBBBA0;
    font-size: 0.9em;
    background-color: white;
    border: solid #CBBBA0 1px;
    border-radius: 5px;
    box-shadow: 0 2px 2px 2px #CBBBA0;
}
.product-add:hover {
    color: white;
    background-color: #CBBBA0;
    box-shadow: 0 2px 2px 2px #CBBBA0;
}
.tabs-section.add {
    width: 20%;
    margin-left: 20px;
}

/* *********************************************************************************************************************
/* ******************************************* LISTE PRODUITS POUR CARTE ***********************************************
/* ********************************************************************************************************************/
.addProductCard {
    margin-bottom: 1em;
}
.addProductCard .btn.actions {
    padding: 1%;
}
a.btn.actions.navAddProductCard {
    padding: 1%;
    margin-top: 0;
}

/* *********************************************************************************************************************
/* ***************************************************** MODAL  ********************************************************
/* ********************************************************************************************************************/
/* Général */
.modal-header {
    background-color: #CBBBA0;
}
.modal-lg {
    max-width: 1350px;
}
.modal-body {
    line-height: 2em;
}
.modal-title {
    font-size: 1.6em;
    color: white;
    text-align: center;
}
.modal-close {
    color: white;
}
.modal-close:hover {
    color: #343434;
}
.form-label {
    text-align: left;
    line-height: 1.2em;
    margin-top: 10%;
}
.presta .form-label {
    width: 130%;
}
.form-group.row {
    display: flex;
    padding: 0.5%;
    align-content: center;
}
.note-editor.note-frame {
    border: solid #c5d6de 1px;
    border-radius: 5px;
}
.note-btn.btn.btn-default {
    background-color: #CBBBA0;
    border: solid white 1px;
}
.row {
    margin: 0;
}


/* PDV */
.pdv-id {
    display: flex;
    justify-content: left;
}
.pdv-details.entete {
    width: 100%;
    display: flex;
    margin-bottom: 2%;
}
.pdv-details.entete .form-group {
    width: 100%;
}
.pdv-details.entete .form-group .form-control {
    width: 80%;
}
input[name*="numTelephone"] {
    margin-left: 10%;
}



/* Liste déroulante créneaux */
.select {
    text-align: justify;
}
.select2-container--default.select2-container .select2-selection--multiple {
    border: solid #c5d6de 1px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #c5d6de 1px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    width: 100%;
    background-color: #CBBBA0;
    border: solid white 1px;
}
.select2-results__option:hover {
    border: solid #CBBBA0 1px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: #343434 !important;
}
.select2-results__option[aria-selected="true"] {
    color: silver;
    font-style: italic;
}

/* *********************************************************************************************************************
/* ************************************************* PAGES EDIT ********************************************************
/* ********************************************************************************************************************/
/* Bouton Jasny */
.btn.upload {
    padding: 4%;
    font-weight: bold;
    color: white !important;
    background-color: #CBBBA0;
    border: solid white 0.5px;
}
.btn.upload:hover {
    color: #CBBBA0 !important;
    background-color: white ;
    border: solid #CBBBA0 0.5px;
}


/* PDV */
.pdv-infos {
    display: flex;
}
.pdv-infos input[name*="numTelephone"] {
    margin-left: 0;
}
.pdv-adresse {
    width: 50%;
}
.pdv-social {
    width: 50%;
}
.pdv-infos .col-lg-2 {
    width: 30%;
}
.pdv-infos .col-lg-10 {
    width: 60%;
}
.pdv-details {
    width: 100%;
}
.pdv-details label {
    text-align: right;
}
.pdv-details .col-lg-2 {
    width: 15%;
}
.pdv-details .col-lg-10 {
    width: 80%;
}
.pdv-details .select2-container--default .select2-selection--multiple .select2-selection__choice {
    width: 30%;
}
.pdv-image {
    display: flex;
    justify-content: center;
}

/* Conteneur des images aperçu */
.avatar-preview img.vignette {
    border-radius: 0;
    -webkit-border-radius: 0;
}
