/**
Colors.
 */

/**
Prints CSS rules according to given
https://frontstuff.io/generate-all-your-utility-classes-with-sass-maps
 */

/**
https://gist.github.com/jacurtis/30da4bf9a6c9b9b5cc0aebac512ca7c9
 */

.fc h2 {
  font-size: 18px;
}

/**
UTILITIES
 */

.p-none {
  padding: 0 !important;
}

.m-xxl {
  margin: 30px;
}

.m-r-sm {
  margin-right: 5px;
}

.m-r-md {
  margin-right: 8px;
}

.m-b-sm {
  margin-bottom: 5px;
}

.m-b-md {
  margin-bottom: 8px;
}

.m-b-lg {
  margin-bottom: 10px;
}

.m-b-xl {
  margin-bottom: 15px;
}

.m-t-sm {
  margin-top: 5px;
}

.m-t-md {
  margin-top: 8px;
}

.align-bottom {
  vertical-align: bottom;
}

.c-pointer,
.cursor {
  cursor: pointer;
}

.inline {
  display: inline-block;
}

.uc-first:first-letter {
  text-transform: uppercase;
}

.callout.alert {
  border-top: none;
  border-right: none;
  border-bottom: none;
}

.label.inline {
  padding: 5px 5px 3px 5px;
}

/**
BUTTONS
 */

.btn-no-style {
  background: none;
  border: none;
  cursor: pointer;
}

/**
TABLES
 */

/* Remove first top border of tables within other tables. */

.table > thead > tr > th > .table > thead > tr:first-child > th,
.table > tbody > tr > th > .table > tbody > tr:first-child > th,
.table > tfoot > tr > th > .table > tfoot > tr:first-child > th,
.table > thead > tr > td > .table > thead > tr:first-child > td,
.table > tbody > tr > td > .table > tbody > tr:first-child > td,
.table > tfoot > tr > td > .table > tfoot > tr:first-child > td {
  border-top: none;
  padding-top: 0;
}

/**
FORMS.
 */

.checkbox {
  margin-top: 0;
}

.checkbox label {
  padding-left: 0;
}

/**
 SPINNER RING
 */

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.spinner-ring {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-bottom: -3px;
  margin-left: 10px;
  z-index: 1;
  border: 2px solid #c08441;
  border-radius: 50%;
  border-left-color: transparent;
  background: transparent;
  -webkit-animation: rotate 0.6s infinite linear;
          animation: rotate 0.6s infinite linear;
}

.spinner-ring.spinner-small {
  width: 14px;
  height: 14px;
  margin-bottom: -2px;
  margin-left: 7px;
  border-width: 1px;
}

.spinner-absolute {
  position: absolute;
  top: 4px;
  right: -6px;
}

/**
CAROUSEL
 */

.carousel-indicators .active,
.carousel-indicators li {
  background-color: #337ab7;
}

.carousel-inner img {
  margin: auto;
}

/**
AUTH SCREEN (login, forgot passw...)
 */

body.authPage .authLoading {
  z-index: 999;
  background: #FFF;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

body.authPage .content-wrapper {
  background-color: #3c8dbc;
  margin-left: 0;
}

body.authPage .auth-pane_primary {
  padding: 0 65px 0 50px;
  color: #333239;
}

body.authPage .auth-pane_secondary {
  background-color: #f9fafc;
}

body.authPage .auth-logo {
  font-size: 150px;
}

body.authPage .auth-logo a {
  color: #333239;
}

body.authPage .rounded {
  border-radius: 5px;
}

body.authPage .auth-pane_primary .lockscreen-logo {
  text-transform: uppercase;
}

body.authPage .help-block,
body.authPage .auth-pane_primary a {
  color: #333239;
}

body.authPage section {
  width: 100%;
  max-width: 450px;
}

body.authPage .auth-pane_primary section {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1425px) {
  .auth-screen .auth-pane_primary section {
    margin-left: 80px;
  }
}

/**
Bootstrap treeview.
 */

.checkall-icon {
  position: relative;
  margin-left: 3px;
  width: 10px;
}

.checkall-icon .fa-check-square-o {
  position: absolute;
  height: 13px;
  background-color: #FFFFFF;
}

.checkall-icon.checked .fa-check-square-o {
  background-color: #3C8DBC;
}

.checkall-icon .fa-square-o {
  position: absolute;
  left: -3px;
  top: 4px;
}

/**
ADMIN . DATATABLES
 */

@media screen and (min-width: 768px) {
  .dataTables_length,
  .dataTables_filter {
    display: inline-block;
    float: right;
    margin-left: 15px;
  }

  .tableActions {
    position: absolute;
    z-index: 1;
  }
}

.dataTables_sizing select {
  display: none;
}

/**
DASHBOARD
 */

.dashboard .product-img .fa {
  font-size: 30px;
  margin-left: 10px;
  margin-top: 5px;
}

.dashboard #pestsEvolution td.na,
.dashboard #pestsEvolution td:first-child {
  vertical-align: middle;
}

/**
SIDEBAR
 */

.sidebar .contactItems {
  padding: 0;
}

.sidebar .contactItem {
  padding: 15px 25px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.sidebar .contactItem:first-child {
  border-bottom: 0;
}

.sidebar .contactItem p {
  margin: 0;
  line-height: 24px;
}

.sidebar .contactItem p,
.sidebar .contactItem a {
  color: #666;
}

/**
SITES
 */

body.sites .box-body .btn-social {
  white-space: normal;
}

/**
MODULE CONFIG MODAL
 */

.modal-body .moduleConfigItem {
  padding: 2px 10px;
}

.modal-body .moduleConfigItem:nth-child(odd) {
  background-color: #f4f4f4;
}

.modal-body .moduleConfigItem .form-group {
  padding: 3px 6px 0px;
  margin-bottom: 0;
}

.modal-body .moduleConfigItem label {
  font-weight: 500;
}

.modal-body .moduleConfigItem input,
.modal-body .moduleConfigItem textarea {
  height: 32px;
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.5;
}

/**
PDF
 */

.pagePdf h1 {
  margin-top: 0;
  margin-bottom: 30px;
}

.pagePdf img {
  max-width: 250px;
  max-height: 250px;
}

.pagePdf table table > tr {
  page-break-inside: avoid;
}

.pagePdf .content,
.pagePdf .box-body {
  padding-bottom: 0;
}

/**
TIMELINE
 */

.timeline-note {
  font-size: 15px;
  font-weight: bold;
  padding-left: 16px;
}

/**
Utilities.
 */

.m-0 {
  margin: 0px !important;
}

.mt-0 {
  margin-top: 0px !important;
}

.mb-0 {
  margin-bottom: 0px !important;
}

.ml-0 {
  margin-left: 0px !important;
}

.mr-0 {
  margin-right: 0px !important;
}

.m-2 {
  margin: 2px !important;
}

.mt-2 {
  margin-top: 2px !important;
}

.mb-2 {
  margin-bottom: 2px !important;
}

.ml-2 {
  margin-left: 2px !important;
}

.mr-2 {
  margin-right: 2px !important;
}

.m-5 {
  margin: 5px !important;
}

.mt-5 {
  margin-top: 5px !important;
}

.mb-5 {
  margin-bottom: 5px !important;
}

.ml-5 {
  margin-left: 5px !important;
}

.mr-5 {
  margin-right: 5px !important;
}

.m-8 {
  margin: 8px !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.ml-8 {
  margin-left: 8px !important;
}

.mr-8 {
  margin-right: 8px !important;
}

.m-10 {
  margin: 10px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.ml-10 {
  margin-left: 10px !important;
}

.mr-10 {
  margin-right: 10px !important;
}

.m-15 {
  margin: 15px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.ml-15 {
  margin-left: 15px !important;
}

.mr-15 {
  margin-right: 15px !important;
}

.p-0 {
  padding: 0px !important;
}

.pt-0 {
  padding-top: 0px !important;
}

.pb-0 {
  padding-bottom: 0px !important;
}

.pl-0 {
  padding-left: 0px !important;
}

.pr-0 {
  padding-right: 0px !important;
}

.p-2 {
  padding: 2px !important;
}

.pt-2 {
  padding-top: 2px !important;
}

.pb-2 {
  padding-bottom: 2px !important;
}

.pl-2 {
  padding-left: 2px !important;
}

.pr-2 {
  padding-right: 2px !important;
}

.p-5 {
  padding: 5px !important;
}

.pt-5 {
  padding-top: 5px !important;
}

.pb-5 {
  padding-bottom: 5px !important;
}

.pl-5 {
  padding-left: 5px !important;
}

.pr-5 {
  padding-right: 5px !important;
}

.p-8 {
  padding: 8px !important;
}

.pt-8 {
  padding-top: 8px !important;
}

.pb-8 {
  padding-bottom: 8px !important;
}

.pl-8 {
  padding-left: 8px !important;
}

.pr-8 {
  padding-right: 8px !important;
}

.p-10 {
  padding: 10px !important;
}

.pt-10 {
  padding-top: 10px !important;
}

.pb-10 {
  padding-bottom: 10px !important;
}

.pl-10 {
  padding-left: 10px !important;
}

.pr-10 {
  padding-right: 10px !important;
}

.p-15 {
  padding: 15px !important;
}

.pt-15 {
  padding-top: 15px !important;
}

.pb-15 {
  padding-bottom: 15px !important;
}

.pl-15 {
  padding-left: 15px !important;
}

.pr-15 {
  padding-right: 15px !important;
}

.text-color-white {
  color: #FFFFFF !important;
}

.text-color-gray_dark {
  color: #ACACAC !important;
}

.text-color-red {
  color: #dd4b39 !important;
}

.text-color-orange {
  color: #f39c12 !important;
}

.text-shades-light {
  color: rgba(0, 0, 0, 0.1) !important;
}

.text-shades-strong {
  color: rgba(0, 0, 0, 0.5) !important;
}

.text-brand-base {
  color: #c08441 !important;
}

.text-brand-odd {
  color: #fff !important;
}

.text-states-nouveau {
  color: #75d181 !important;
}

.text-states-r1 {
  color: #538bd2 !important;
}

.text-states-r2 {
  color: #ff7373 !important;
}

.text-states-r3 {
  color: #8974a2 !important;
}

.text-states-client {
  color: #f74747 !important;
}

.text-states-rebrasse {
  color: #4e4e4e !important;
}

.text-states-sans_suite {
  color: #afafaf !important;
}

.text-states-non_avere {
  color: #4e4e4e !important;
}

.text-sm {
  font-size: 10px !important;
}

.text-md {
  font-size: 14px !important;
}

.text-lg {
  font-size: 18px !important;
}

.bg-color-white {
  background-color: #FFFFFF !important;
}

.bg-color-gray_dark {
  background-color: #ACACAC !important;
}

.bg-color-red {
  background-color: #dd4b39 !important;
}

.bg-color-orange {
  background-color: #f39c12 !important;
}

.bg-shades-light,
.main-header .navbar .sidebar-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.bg-shades-strong {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.bg-brand-base,
.main-header .navbar,
.main-header li.user-header {
  background-color: #c08441 !important;
}

.bg-brand-odd,
.main-header .logo {
  background-color: #fff !important;
}

.bg-states-nouveau {
  background-color: #75d181 !important;
}

.bg-states-r1 {
  background-color: #538bd2 !important;
}

.bg-states-r2 {
  background-color: #ff7373 !important;
}

.bg-states-r3 {
  background-color: #8974a2 !important;
}

.bg-states-client {
  background-color: #f74747 !important;
}

.bg-states-rebrasse {
  background-color: #4e4e4e !important;
}

.bg-states-sans_suite {
  background-color: #afafaf !important;
}

.bg-states-non_avere {
  background-color: #4e4e4e !important;
}

.bt {
  border-top: 1px solid #e5e5e5;
}

.pos-rel {
  position: relative;
}

.pos-abs {
  position: absolute;
}

/**
Inputs.
 */

.form-control:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-dropdown .select2-search--dropdown .select2-search__field {
  border-color: #c08441 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #c08441 !important;
}

/**
Header overrides & mods.
 */

/**
Sidebar.
 */

.sidebar {
  border-top: 1px solid rgba(210, 214, 222, 0.3);
}

.sidebar li.sep {
  border: 1px solid #ececec;
}

.sidebar .sidebar-menu > li:not(.active):not(:hover) > .treeview-menu:not(:hover) {
  background-color: transparent;
}

/**
Boxes overrides & mods.
 */

.box .box-brand {
  border-top-color: #c08441;
}

.box .box-header a:hover {
  background: transparent !important;
}

.box .box-header .btn-primary:hover {
  background: #265a88 none !important;
}

.box .box-header .box-header-label {
  position: relative;
  top: 0;
}

.box .box-header .box-header-label.h2 {
  top: -8px;
}

.box .box-header .box-header-label.box-header-label_right {
  right: 0;
}

/**
Tabs
 */

.nav-tabs-custom > .nav-tabs > li.active {
  border-top-color: #c08441 !important;
}

/**
Widgets
 */

.info-box_small {
  min-height: 55px !important;
}

.info-box_small .info-box-icon {
  height: 55px;
  width: 55px;
  font-size: 31px;
  line-height: 55px;
}

.info-box_small .info-box-content {
  margin-left: 55px;
}

.authPage .bg-brand-base,
.authPage .main-header .navbar,
.main-header .authPage .navbar,
.authPage .main-header li.user-header,
.main-header .authPage li.user-header {
  background-color: #fff !important;
}

table.dataTable th:last-child,
table.dataTable th:last-child,
table.dataTable td:last-child,
table.dataTable td:last-child {
  white-space: nowrap;
}

/**
Card
 */

.card {
  position: relative;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group {
  border-top: inherit;
  border-bottom: inherit;
}

.card > .list-group:first-child {
  border-top-width: 0;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card > .list-group:last-child {
  border-bottom-width: 0;
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card > .card-header + .list-group,
.card > .list-group + .card-footer {
  border-top: 0;
}

.card-body {
  -ms-flex: 1 1 auto;
  -webkit-box-flex: 1;
          flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  border-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-top,
.card-img-bottom {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .card-deck {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-flow: row wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }

  .card-deck .card {
    -ms-flex: 1 0 0%;
    -webkit-box-flex: 1;
            flex: 1 0 0%;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
  }
}

.card-group > .card {
  margin-bottom: 15px;
  max-width: 460px;
}

@media (min-width: 576px) {
  .card-group {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-flow: row wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;
  }

  .card-group > .card {
    -ms-flex: 1 0 0%;
    -webkit-box-flex: 1;
            flex: 1 0 0%;
    margin-bottom: 0;
  }

  .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }

  .card-group > .card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .card-group > .card:not(:last-child) .card-img-top,
  .card-group > .card:not(:last-child) .card-header {
    border-top-right-radius: 0;
  }

  .card-group > .card:not(:last-child) .card-img-bottom,
  .card-group > .card:not(:last-child) .card-footer {
    border-bottom-right-radius: 0;
  }

  .card-group > .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .card-group > .card:not(:first-child) .card-img-top,
  .card-group > .card:not(:first-child) .card-header {
    border-top-left-radius: 0;
  }

  .card-group > .card:not(:first-child) .card-img-bottom,
  .card-group > .card:not(:first-child) .card-footer {
    border-bottom-left-radius: 0;
  }
}

.card-columns .card {
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .card-columns {
    -webkit-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }

  .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}

.card .position-absolute.badge {
  left: 5px;
  bottom: 5px;
}

/**
Ratio
 */

.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-1x1 {
  --bs-aspect-ratio: 100%;
}

.ratio-4x3 {
  --bs-aspect-ratio: 75%;
}

a.ratio {
  display: block;
}

/**
 */

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.object-fit-cover {
  -o-object-fit: cover !important;
  object-fit: cover !important;
}

