:root {
  --blue: #1b9ce2;
  --dark: #282c36;
  --orange: #f39200;
  --silver: #f1f4f6;
  --primary: #241c34;
}
/* FIX */
.fade.in {
  opacity: 1;
}
.import_process .collapse.in {
  display: block
}
.form-control[readonly] {
  box-shadow: none;
  pointer-events: none;
}
.alert {
  border: 2px solid;
  position: relative;
  font-weight: 500;
}
.alert .close {
  position: absolute;
  right: 5px;
  top: 0;
  color: currentColor;
}
.alert-warning {
  border-color: #ffd880;
}
.alert-danger {
  border-color: #f39aaf;
}
.sonata-ba-field-error-messages {
  color: var(--danger);
}
.sonata-ba-field-error .form-control {
  border-color: var(--danger);
}
a, a:hover, a:focus {
  color: inherit;
  text-decoration: none;
}
.app-header__logo .logo-src {
  height: auto;
  width: auto;
  background: none;
}
.logo {
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: 24px;
}
.table:not(.table_flexed) {
  min-width: 400px;
}
.tabs-animated .nav-link {
  font-weight: 500;
}
.body-tabs-line .body-tabs-layout {
  border-bottom: #241c3480   solid 1px;
  border-radius: 0;
}
#add_block .grid-menu a {
  font-weight: 600;
}
#user_block .dropdown-menu-header a {
  min-width: 70px;
}
.header-dots .grid-menu i {
  font-size: 19px;
  font-weight: 600;
  margin-right: 5px;
  margin-left: -5px;
  vertical-align: sub;
}
#app_sidebar {
  background: #282c36!important;
}
#app_sidebar .sidebar-form .search_input:focus {
  box-shadow: 0 0 0 1px rgb(63, 106, 216);
}
#app_sidebar .sidebar-form .search_input {
  border-radius: 30px;
  outline: none;
  height: auto;
  background: #edeeef;
  /* border-color: #241c3469; */
}
#app_sidebar  .search_input:focus ~ .input-group-btn {
  opacity: 1;
}
#app_sidebar .sidebar-form .input-group-btn {
  background: var(--orange);
  position: absolute;
  z-index: 5;
  border-radius: 100%;
  width: 35px;
  height: 100%;
  right: 0px;
  top: 0px;
  color: #fff;
  opacity: .8;
  transition: .3s;
  border: 1px solid #fff;
}
#app_sidebar .sidebar-form .btn {
  color: #fff;
  max-width: 100%;
}
#app_sidebar .vertical-nav-menu a {
  font-weight: 500;
  color: #fff;
}
#app_sidebar .vertical-nav-menu a .metismenu-icon {
  opacity: 1;
  font-size: 1.8rem;
}
#app_sidebar .vertical-nav-menu a i.fa {
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-family: 'Pe-icon-7-stroke';
  text-align: center;
  width: 34px;
  height: 34px;
  line-height: 34px;
  position: absolute;
  left: 5px;
  top: 50%;
  margin-top: -17px;
  font-size: 1.5rem;
  transition: color 300ms;
}
.closed-sidebar:not(.sidebar-mobile-open) #app_sidebar .vertical-nav-menu a i.fa {
  text-indent: 0;
  left: 50%;
  margin-left: -17px;
}
#app_sidebar:hover .vertical-nav-menu a i.fa {
  text-indent: initial;
  left: 5px;
  margin-left: 0;
}
#app_sidebar:hover .metismenu-icon {
  text-indent: initial;
  left: 5px;
  margin-left: 0;
}
#app_sidebar .vertical-nav-menu a i.fa::before {
  content: "";
}
#app_sidebar .vertical-nav-menu a i.fa.fa-users::before {
  content: "";
}
#app_sidebar .vertical-nav-menu a i.fa.fa-image::before {
  content: "";
}
#app_sidebar ul._sub_menu {
  padding: 0 0 0 20px;
}
#app_sidebar ul._sub_menu li > a {
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  padding: 0 23px;
}
#app_sidebar ul li.mm-active > a {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--orange);

}
#app_sidebar ul li.mm-active > a {
  font-weight: 500;
}
#app_sidebar ul._sub_menu li:not(.mm-active) > a {
  color: var(--orange);
  text-shadow: 0 0 2px #000;
  font-weight: 500;
}
.hamburger-inner,
.hamburger-inner::after,
.hamburger-inner::before{
  background-color: var(--orange);
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::after,
.hamburger.is-active .hamburger-inner::before{
  background-color: var(--orange);
}
.dropdown-menu {
  padding: 5px 0;
  margin: 0;
}
.dropdown-menu._right {
  right: 0;
  left: auto;
}
.dropdown-menu li a {
  padding: 5px 10px;
  font-weight: 500;
  display: block;
}
.dropdown-menu li a:hover {
  background-color: var(--silver);
  color: var(--dark);
}
.btn_list {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  margin: -10px -15px;
}
.btn_list .btn {
  margin: 15px 15px;
  border-radius: 2px !important;
  /* text-align: left; */
  padding: 10px 20px;
  text-transform: uppercase;
  font-size: 15px;
  max-width: max-content;
  max-width: -moz-max-content;
  max-width: -webkit-max-content;
  min-width: max-content;
  min-width: -moz-max-content;
  min-width: -webkit-max-content;
  letter-spacing: .3px;
}
.btn_list .btn .fa ,
.btn_list .btn .btn-icon-wrapper {
  vertical-align: -2px;
  margin-right: 5px;
  margin-left: -8px;
}
.sonata-ba-form-actions {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.sonata-ba-form-actions.btn_list .btn i {
  font-size: 20px;
}
.box-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 5px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.main-card {
  /* height: 100%; */
}
.main-card .card-header {
  height: auto;
  padding: 15px 15px;
  display: block;
}
.main-card .card-body {
  padding: 15px;
  font-weight: 500;
}
#control_nav {
  width: auto !important;
}
#control_nav .dropdown-menu {
  position: absolute;
  margin: 0;
  top: calc(100% + 2px);
}
#control_nav .btn {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
}
#control_nav .btn i {
  vertical-align: -2px;
}
#control_nav .navbar-header {
  background: #fff;
  border-radius: 0 2px 2px 0;
  /* border: 1px solid #241c343b; */
  border-left: 0;
  position: relative;
  box-shadow: 2px 2px 6px 0px rgba(40, 44, 54, 0.11);
}
#control_nav .navbar-brand {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--orange);
  padding: 8px 15px;
  white-space: inherit;
}
#control_nav .navbar-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--orange);
}
.box-footer {
  font-weight: 500;
}
.box-footer label {
  margin-bottom: 10px;
}
.box-footer label span {
  margin-left: 5px;
}
.box-footer .per_page label {
  margin: 0 10px 0 0;
}
.box-footer .pagination {
  justify-content: center;
  padding: 10px 0 15px;
  overflow-x: auto;
}
.pagination li a:hover ,
.pagination li a {
  color: var(--primary);
  border-color: var(--primary);
}
.pagination li.active a {
  background-color: var(--primary);
  border-color: var(--primary);
}
.locale_switcher {
  margin-bottom: 20px;
}
.sonata-ba-form-actions {
  width: auto !important;
  max-width: 100%;
  flex-wrap: wrap;
  margin: -10px -10px;
  margin-top: 15px;
}
.sonata-ba-form-actions .btn {
  margin: 10px 10px;
}
.nav-tabs-custom .nav-link i {
  margin-right: 10px;
}
.nav-tabs-custom .nav-item.active .nav-link {
  color: #241c34;
  background-color: #fff;
  border-color: rgba(79, 118, 222, 0.30) rgba(79, 118, 222, 0.30) transparent;
}
.nav-tabs-custom .nav-item.active .nav-link::before {
  transform: scale(1);
}
.info-box .list-unstyled li {
  margin-top: 15px;
}
.list-group li.list-group-item {
  padding: 0;
}
.list-group li.list-group-item a {
  padding: .75rem 1.25rem;
  display: block;
}
.list-group .list-group-item:hover {
  background: #e7ecf8;
}
.btn-icon .btn-icon-wrapper {
  margin-right: .5rem;
  margin-left: 0;
  margin-top: 0;
}
.btn-app {
  border-radius: 3px;
  position: relative;
  padding: 15px 5px;
  margin: 0;
  min-width: 80px;
  height: 100%;
  text-align: center;
  border: 2px solid #ddd;
  background-color: #f4f4f4;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.btn-app i {
  display: none;
}
.file-list li:before {
  font-family: 'Font Awesome 5 Free' !important;
}
.select2-container-multi .select2-choices .select2-search-choice {
  background: rgb(209, 243, 255);
}
.sonata-ba-tbody.ui-sortable .btn-group  {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  margin: 0 -10px;
  display: flex;
  flex-wrap: wrap;
}
.sonata-ba-tbody.ui-sortable .btn-group .btn {
  margin: 10px 10px 0;
  border-radius: 2px !important;
  padding: 8px 12px;
}
.sonata-ba-tbody.ui-sortable .btn-group .btn i {
  margin-left: -5px;
  margin-right: 5px;
}
.sonata-search-result-show .card-body {
  font-weight: 600;
}
.sonata-search-result-show .card-body  p {
  margin: 0;
}
.sonata-search-result-show .card-header {
  padding-right: 35px;
  color:
}
.sonata-search-result-show .card-header > i {
  font-size: 24px;
  font-weight: 600;
  margin-right: 10px;
  margin-left: -5px;
}
.sonata-search-result-show .card-header .box-tools {
  float: none;
  position: absolute;
  right: 0;
}
.sonata-search-result-show .card-header .box-title {
  color: #6284dd;
}
.sonata-toggle-filter.btn {
  padding: 9px 14px;
  line-height: 1;
  font-size: 18px;
}
/* LOGIN */
.login-page .app-container {
  background-image: linear-gradient(135deg,#5a4a79 0,#241c34 100%)!important;
}
.login-page .app-container .login-box {
  margin: auto;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #4e41d4db;
  border-radius: 6px !important;
  overflow: hidden;
  outline: 0;
  width: 500px;
  max-width: calc(100% - 20px);
  background: #f7f7f7;
}
.login-page .app-container .login-box-body {
  width: 100%;
  padding: 1rem;
  border-top: 1px solid #ced4da;
  margin-top: 15px;
  font-weight: 600;
}
.login-page .login-box-body form > .row {
  margin: 20px -1rem 0;
  padding: 15px 1rem 15px;
  justify-content: space-between;
  border-top: 1px solid #ced4da;
}
.login-page .login-box-body a {
  text-align: right;
  display: block;
  margin: auto;
  max-width: max-content;
  color: var(--orange);
  text-decoration: underline;
}
.login-page .login-box-body .login-box-msg {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f39200;
}
.login-page .login-box-body .form-control {
  border-radius: 2px;
  border-width: 2px;
}
.login-page .login-box-body .form-control:focus {
  box-shadow: none;
}
.login-page .login-logo {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
}
.login-page .login-logo span {
  margin-top: 8px;
  display: inline-block;
}
.login-page .login-logo img {
  width: auto !important;
  max-width: 100%;
}
.navbar-right .dropdown-menu {
  right: 0;
  left: auto;
}
.locale_switcher {
  margin-left: -5px;
  margin-right: -5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.locale_switcher a {
  display: block;
  margin: 5px;
  width: 30px;
  height: 30px;
  border: 1px solid #d2d4d6;
  border-radius: 100%;
  overflow: hidden;
  transform: scale(0.7);
  transition: .2s;
}
.locale_switcher a:hover {
  transform: scale(.8);
}
.locale_switcher a.active {
  transform: scale(1);
}
.locale_switcher img {
  height: 100%;
  width: 100%;
}

/* RESET COLORS */
.dropdown-menu .dropdown-header {
  color: var(--orange);
}
.btn-info ,
.btn-info:hover ,
.btn-info:active ,
.btn-info:focus ,
.btn-primary ,
.btn-primary:hover ,
.btn-primary:active ,
.btn-primary:focus {
  background-color: #241c34 !important;
  border-color: #241c34 !important;
}
.btn-success ,
.btn-success:hover ,
.btn-success:active ,
.btn-success:focus {
  background-color: var(--orange) !important;
  border-color: var(--orange) !important;
}
.tabs-animated .nav-link::before {
  background-color: var(--primary);
}
.tabs-animated .nav-link.active,
.tabs-animated .nav-link:hover {
  color: var(--primary) !important;
}
.bg-primary {
  background-color: var(--primary) !important;
}
.text-primary {
  color: var(--primary) !important;
}

/* Custom table grid  */
table.table_flexed {
  border: none;
}
.table_flexed thead {
  display: none;
}
.table_flexed tbody {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}
.table_flexed tbody tr {
  display: flex;
  flex-direction: column;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  box-shadow: 0 2px 6px 3px #282c361c;
  background: #f1f4f6;
}
.table_flexed tbody td {
  border: none;
  /* display: block !important; */
}
.table_flexed tbody td .row {
  display: block;
  margin: 0;
}
.table_flexed tbody td .row > div {
  max-width: 100%;
  display: block;
  padding: 0;
}
.table_flexed tbody td .checkbox label > div {
  margin-right: 10px;
  background-color: #fff;
}
.table_flexed tr input[type="file"] {
  -webkit-appearance: none;
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.style-input-file input[type="file"] {
  -webkit-appearance: none;
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.table_flexed tr td .sonata-ba-field-standard-natural {
  display: flex;
  flex-direction: column;
}
.table_flexed tr td .sonata-ba-field-standard-natural > * {
  margin: 5px 0;
}
.table_flexed tr td .sonata-ba-field-standard-natural > i {
  display: none;
}

.table_flexed tr td .produit_media_file .control-label i,
.table_flexed tr .label_file i {
  font-size: 16px;
  margin-right: 5px;
}
.table_flexed tr td:first-child .checkbox label {
  display: flex;
}
.table_flexed tr td:first-child .checkbox label::after {
  content: "\e811";
  margin-left: 10px;
  font-family: Linearicons-Free;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ff3030;
  font-weight: 600;
  font-size: 20px;
}
.table_flexed tr td .produit_media_file .control-label{
  margin-top: 10px;
  display: block;
}
/* Modal */
.modal-header {
  padding-right: 35px;
}
.fancybox-content {
  padding: 0;
}

@media (min-width: 992px) {
  .modal-content {
    width: 60%;
  }
}

@media (max-width: 991.98px) {
  .app-header .app-header__logo {
    display: flex;
  }
  .app-header .app-header__logo .header__pane {
    display: none;
  }
  .control-label__text {
    word-break: break-word;
  }
  .box-footer .pagination {
    justify-content: flex-start;
  }
}

/* Mobile menu fix */
@media (max-width: 480.98px) {
  .app-header__content.header-mobile-open {
    height: auto;
    border-radius: 4px;
    display: block;
    width: 100%;
    left: 0;
    padding: 0 15px;
    background-color: transparent;
  }
  .app-header__content.header-mobile-open .header-dots {
    display: none;
  }
  .app-header__content.header-mobile-open #user_block {
    padding: 0;
    margin: 0;
  }
  .app-header__content.header-mobile-open #user_block::before {
    opacity: 0;
  }
  .app-header__content.header-mobile-open .user_block_dropdown {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    transform: none !important;
    display: block;
  }
  .app-header__content.header-mobile-open .widget-content-left .dd_user_thumb {
    display: none;
  }
  .app-header__content.header-mobile-open #user_block ,
  .app-header__content.header-mobile-open > .app-header-right ,
  .app-header__content.header-mobile-open .widget-content-wrapper._wrapper ,
  .app-header__content.header-mobile-open .header-user-info ~ .widget-content-left {
    /* flex: 1; */
    display: block;
  }
  /* Buttons */
  .btn_list .btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  /* TD  */
  table td .sonata-link-identifier {
    word-break: break-word;
  }
  table td .btn_list {
    margin: 0;
    flex-wrap: wrap;
  }
  table td .btn_list .btn {
    min-width: 100%;
    margin: 5px 5px;
    margin-left: 0 !important;
  }
}

#field_dialog_tree .modal-content{
  width: 100%;
}


.produit_list_group ul{
  display: flex !important;
  flex-direction: column !important;
}
/* violet : #241c34 */
/* orange : #f39200 */
/*  */
.fixed-sidebar .app-main .app-main__outer{overflow-y: auto;}
.table-cstm-responsive .control-label + div > .field-container > span:first-child {
  display: block;
    width: 100%;
    overflow-x: auto;
}

li.folder-root.open>ul {
  max-height: 9000px !important;
}