.bg-main {
  background-color: #388BB9;
}

.bg-second {
  background-color: #317AA3;
}

.box-shadow {
  -o-box-shadow: 4px 9px 14px 2px #cfcfcf;
  box-shadow: 4px 9px 14px 2px #cfcfcf;
  filter: progid:DXImageTransform.Microsoft.Shadow(color=#cfcfcf, Direction=180, Strength=10);
}

body {
  background-color: #317AA3;
}
body .btn:disabled {
  opacity: 0.2;
  pointer-events: none;
}
body .btn:hover:not(:disabled), body .btn.active {
  cursor: pointer;
}
body .btn__icon {
  font-size: 1.6em;
  line-height: 1;
  margin-right: rem-calc(8px);
  margin-left: rem-calc(-8px);
}
body .btn__icon .icon {
  display: block;
}
body .btn-main {
  background: #388BB9;
  border-color: #388BB9;
  color: #fff;
  font-weight: bold;
  min-height: rem-calc(40px);
  padding: rem-calc(4px 20px);
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
}
body .btn-main:hover:not(:disabled), body .btn-main:focus, body .btn-main.active {
  background-color: #317AA3;
  border-color: #388BB9;
  color: white !important;
}
body .btn-main:hover:not(:disabled) i.fa, body .btn-main:focus i.fa, body .btn-main.active i.fa {
  color: white !important;
}
body .navbar-default {
  color: white;
}
body .navbar-default .nav .nav-header {
  background-color: #317AA3;
}
body .navbar-default .nav > li > a {
  color: white;
}
body .navbar-default .nav > li.active {
  background: inherit;
}
body .navbar-default .nav > li.active > a {
  background-color: #388BB9;
  color: white;
}
body .navbar-default .nav > li.active ul.nav-second-level {
  border: 1px solid #388BB9;
  color: #a7b1c2;
}
body .navbar-default .nav > li.active ul.nav-second-level li.active a {
  background-color: white;
  color: #317AA3;
}
body .navbar-default .nav > li > a:hover, body .navbar-default .nav > li > a:focus {
  transition: all 0.3s ease;
  background-color: #317AA3;
  color: white;
}
body .navbar-default .nav > li > a.disabled {
  background-color: #1f706d;
  color: #a7b1c2;
}
body .navbar-default .nav > li span.menu-tooltip {
  background-color: #388BB9;
  color: white;
}
body nav.navbar-static-side ul.metismenu > li span.menu-tooltip {
  background-color: #388BB9;
  color: white;
}
body ul.nav-second-level {
  background: #388BB9;
  color: #a7b1c2;
}
body .iframe__wrapper {
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}
body .iframe__wrapper--etapes {
  min-height: 500px;
}
body .iframe__wrapper--contact {
  min-height: 300px;
}
body .iframe__wrapper iframe {
  --zoom: var(--iframe-zoom, 2);
  transform: scale(calc(1 / var(--zoom)));
  transform-origin: 0 0;
  width: calc(var(--zoom) * 100%);
  height: calc(var(--zoom) * 100%);
  border: none;
}
body .iframe__wrapper--description iframe {
  --zoom: var(--iframe-zoom, 1.5);
}
body .iframe__wrapper--temoignages iframe {
  --zoom: var(--iframe-zoom, 1.8);
}
body .input-file {
  position: relative;
  width: 200px;
  height: 150px;
}
body .input-file figure {
  position: relative;
  background: #efefef;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
body .input-file figure:hover {
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}
body .input-file figure:hover figcaption {
  opacity: 1;
}
body .input-file figure img {
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
}
body .input-file figure figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0;
}
body .input-file figure input {
  width: 0px;
  height: 0px;
  visibility: hidden;
  position: absolute;
}
body .input-file i.flag {
  display: none;
  position: absolute;
  top: 1px;
  right: 1px;
  padding: 3px;
  border: 1px solid red;
  border-radius: 3px;
  background: white;
}
body .input-file.edited i.flag {
  display: initial;
}
body .input-file.empty figure::before {
  content: "Choisir un fichier";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
}
body .input-file.empty figure img {
  display: none;
}
body .input-file .loader {
  display: none;
}
body .input-file.loading .loader {
  display: block;
  position: absolute;
}
body .gallerie__list {
  gap: 10px;
}
body #page__dashboard .kpi--top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #388BB9;
  color: white;
  padding: 30px 50px;
}
body #page__dashboard .kpi--top i {
  font-size: 4em;
  text-align: center;
  margin-bottom: 20px;
}
body #page__dashboard .kpi--top .title {
  font-size: 1.5em;
  text-align: center;
}
body #page__dashboard .kpi--top .number {
  font-size: 4em;
  font-weight: bold;
  text-align: center;
}
body #page__dashboard .box__kpi--middle {
  margin-top: 50px;
}
body #page__dashboard .box__kpi--middle .kpi--middle {
  background-color: #FCECE6;
  color: black;
  padding: 20px 30px;
  min-height: 155px;
}
body #page__dashboard .box__kpi--middle .kpi--middle .kpi--middle__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body #page__dashboard .box__kpi--middle .kpi--middle .kpi--middle__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body #page__dashboard .box__kpi--middle .kpi--middle i {
  font-size: 2em;
}
body #page__dashboard .box__kpi--middle .kpi--middle .title {
  font-size: 1.2em;
  display: block;
}
body #page__dashboard .box__kpi--middle .kpi--middle .number {
  font-size: 4em;
  font-weight: bold;
  text-align: right;
}
body #page__dashboard .box__kpi--middle .kpi--middle .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body #page__dashboard .box__kpi--middle .kpi--middle .btn i {
  margin-left: 20px;
  font-size: 1.5em;
}

#page__vitrine__buttons {
  position: fixed;
  text-align: center;
  bottom: 15px;
  right: 30px;
  z-index: 10;
  background: #ededed;
}

.add-etape__wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.etape--delete {
  align-self: flex-end;
  border: none;
  background: #ed5565;
  border-radius: 2px;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}
.etape--delete:hover {
  background-color: #e33b4d;
}

.ia_search__btn {
  background-color: rgba(43, 157, 153, 0.5019607843);
  color: #fff;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ia_search__btn:hover {
  background-color: #2B9D99;
}

.modal-ia-search__form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.modal-ia-search__form-row label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}
.modal-ia-search__btn-search {
  font-size: 30px;
  height: 50px;
  width: 50px;
  border: none;
  border-radius: 50%;
  color: #fff;
  background-color: rgba(43, 157, 153, 0.5019607843);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-ia-search__btn-search__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-ia-search__btn-search__wrapper .loader,
.modal-ia-search__btn-search__wrapper .loading-text {
  display: none;
}
.modal-ia-search__btn-search__wrapper--loading i {
  display: none;
}
.modal-ia-search__btn-search__wrapper--loading .loading-text {
  display: block;
  position: absolute;
  right: 30px;
  color: #676a6c;
  background-color: #f4f4f4;
  padding: 10px 15px;
  border-radius: 4px;
  max-width: 170px;
}
.modal-ia-search__btn-search:not(:disabled):hover {
  background-color: #2B9D99;
}
.modal-ia-search__btn-search:disabled {
  cursor: auto;
}

.media-type {
  border: solid rgba(43, 157, 153, 0.5019607843) 3px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 5px;
}
.media-type > input {
  display: none;
}
.media-type > input:checked + label {
  background-color: rgba(43, 157, 153, 0.5019607843);
  color: #fff !important;
  font-weight: bold !important;
  cursor: auto;
}
.media-type > input + label {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 6px 10px;
  text-align: center;
  font-weight: normal !important;
  cursor: pointer;
  transition: all ease 0.3s;
}

.edited-field {
  position: absolute;
  top: 0;
  right: -4px;
  padding: 2px;
  border: solid 1px #ed5565;
  border-radius: 2px;
  background-color: #fff;
}

.legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
}
.legend__edited-field {
  padding: 2px;
  border: solid 1px #ed5565;
  border-radius: 2px;
  background-color: #fff;
}

.info-publish {
  padding: 0 10px 20px 10px;
  max-width: 480px;
  color: #ec4758;
  text-align: left;
  font-size: 12px;
}

.loader {
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@media (min-width: 768px) {
  #page-wrapper {
    margin: 0 0 0 220px;
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.gestion.franchise .nav-second-level li a {
  color: #388BB9;
}
