*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--main-color-body)!important;
  color: var(--main-color-texte);
  height: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0;
  overflow: hidden;
  font-family: sans-serif;
  flex-direction: row;
  font-size: 1.7vh;
  position: absolute;
  width: 100%;
  cursor:url(https://patisserie-avidonie.marinadevido.fr/images/cursor_gateau.png), auto !important;

}

.container {
  top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.entetePresentation{
  width: 700px;
}

.corpsPresentation{
  width: 700px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 20px 0;
  justify-content: space-between;
}

.box{
  width: 90%;
  height: auto;
  margin: 20px auto;
  border-radius: 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.boxPresentation{
  width: 40%;
  height: auto;
  margin: 20px 0;
  border-radius: 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.boxPresentation:last-child {
  margin: 20px auto;
}


.inBox {
  width: 100%;
  display: flex;
  margin-top: 5px;
  margin-bottom: 5px;
  align-items: center;
  flex-direction: column;
}

.inBoxRow {
  width: 100%;
  display: flex;
  margin-top: 5px;
  margin-bottom: 5px;
  align-items: center;
  flex-direction: row;
}

.inBox p{
  padding: 0 5px;
  width: calc(100% - 5px);
}

h2, h5 {
  color: var(--caramel);
  font-family: system-ui;
}

.btn
{
  border-radius: 1em;
  padding: 5px 15px;
  border: none;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn:hover{
  cursor: pointer;
}

.btn-add{
  border: 1px solid var(--chocolat);
}

.btn-add:hover{
  border: 1px solid var(--chocolat);
}

.btn_vanille, .btn_chocolat:hover{
  cursor: pointer;
  background-color: var(--vanille);
  color: var(--chocolat);
}
.btn_vanille:hover, .btn_chocolat{
  background-color: var(--chocolat);
  color: var(--vanille);
  height: 100%;
  font-size: 1em;
}

input{
  height: 1.5em;
}

select{
  height: 25px;
}

input{
  font-size: 1em;
}

#info_cgv{
  font-size: 12px;
}

label.cbx{
  user-select: none;
  display: flex;
  align-items: center;
}

label.cbx label{
  user-select: text;
}

.cbx span {
  display: inline-block;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}

label.cbx > .right, label.cbx > .left {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 30%;
  transform: scale(1);
  vertical-align: middle;
  border: 1px solid #B9B8C3;
  transition: all 0.2s ease;
}

label.cbx > .left {
  margin-left: 5px;
}

label.cbx > .right svg, label.cbx > .left svg {
  position: absolute;
  z-index: 1;
  top: 2px;
  left: 1px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}

.inp-cbx:checked + .cbx .left, .inp-cbx:checked + .cbx .right {
  border-color: var(--chocolat);
  background: var(--chocolat);
  animation: check 0.6s ease;
}
.inp-cbx:checked + .cbx .left svg, .inp-cbx:checked + .cbx .right svg {
  stroke-dashoffset: 0;
}

@keyframes check {
  50% {
    transform: scale(1.2);
  }
}

input[type='text']:focus, input[type='number']:focus, input[type='mail']:focus, input[type='password']:focus, input[type='date']:focus, select:focus, textarea:focus, .select2-container--default .select2-selection--multiple:focus {
  color: var(--chocolat);
  background-color:  #ebebeb;
  border-color: var(--chocolat);
  outline: 0;
}

input[type='text'], input[type='number'], input[type='mail'], input[type='password'],input[type='date'], select, textarea, .select2-container--default .select2-selection--multiple {
  width: 90%;
  text-align: center;
  border: none;
  opacity: 0.9;
  border-radius: 10px;
  max-width: 90%;
  background-color: #ebebeb;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--chocolat-lait);
  color: var(--chocolat);
  border: 1px solid var(--chocolat);
}

.select2-container--default .select2-results__option--selected {
  background-color: var(--chocolat-lait);
}

.select2-results {
  background-color: var(--vanille);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color:  var(--caramel);
  color:  var(--vanille);
}


.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color:  var(--chocolat);
    border-right: 1px solid var(--chocolat);
}


.container {
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  margin-top: 60px;
  position: relative;
  overflow-y: scroll;
}

.inContainer{
  display: flex;
  padding-top: 20px;
  width: 100%;
  max-width: 1500px;
  margin: auto;
  height: 100%;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.titre_connexion{
  position: relative;
  text-align: center;
  height: calc(1.5em + 10px);
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#btn-connexion{
  display: none;
  left: 17%;
  position: absolute;
  width: auto;
  height: 100%;
  transform: translate(-50%, 0%);
  align-items: center;
}

.centrer{
  padding: 5px 0;
  text-align: center;
  display: flex;
  height: auto;
  margin: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

p.centrer{
  font-size: 13px;
}

/*sulignage*/
::selection {
  background-color: var(--main-color-navbar-text);/* couleur de fond lors du surlignage */
  color: var(--main-color-principale);/* couleur du texte lors du surlignage */

}

/* width */
::-webkit-scrollbar {
  width: 15px;

}

/* Track */
::-webkit-scrollbar-track {
  background-color: var(--chocolat-lait);;
  border-radius: 30px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border: 2px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 9999px;
  background-color: var(--chocolat);
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--chocolat);
}

a:hover, .linky:hover , a.linky span:hover{
  color: var(--caramel);
  text-decoration: none;
  cursor: pointer;
}

a, .linky {
  color: var(--chocolat);
  text-decoration: none;
}

a.lien_clair {
  color: var(--beige);
}

a.lien_clair:hover {
  color: var(--chocolat-lait);
}

p.clair {
  color: var(--vanille);
}

.boxShadow{
  box-shadow: var(--box-shadow) 0px 1px 2px 0px, var(--box-shadow) 0px 1px 3px 1px;
}

h3,h6{
  color: var(--chocolat-lait);
  font-family: system-ui;
}

h4, h1 {
  color: var(--chocolat);
  font-family: system-ui;
}


.positionTitre{
  margin: 50px 0 10px 0;
}

.container::-webkit-scrollbar {
  display: block;
}

.inBox.erreur input{
  animation-name: erreur;
  animation-duration: 0.2s;
  animation-iteration-count: 10;
}

.border-bottom-bleu {
  margin-top: 20px;
  background-color: var(--beige);
  max-height: 11vh;
  display: block;
  top: 100%;
  position: sticky;
  width: 100%;
}



#footer_group {
  display: flex;
  align-items: center;
  padding: 5px;
  justify-content: space-between;
}


.divButton {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
}

.espace_gauche
{
      margin-left: 5px;
}

.espace_droit
{
  margin-right: 5px;
}
@keyframes erreur {
  0%   {border: 1px solid red;}
  50%   {border: 1px solid #ff000087;}
  100% {border: 0;}
}

@media screen and (max-width: 700px) {
  .entetePresentation, .corpsPresentation{
    width: 100%;
  }

}

@media screen and (max-width: 950px) {
  :root{
    --carrousel-font-size-h1: 18px !important;
    --carrousel-font-size-h2: 14px !important;
    --carrousel-font-size-button: 10px !important;
  }

  ::-webkit-scrollbar {
    display: none;
  }

  .boxPresentation{
    width: 90%;
  }

  body > .border-bottom-bleu {
    display: none;
  }


  body > .border-bottom-bleu {
    display: none;
  }

  .inContainer{
    height: auto;
  }

}

@media screen and (min-width: 950px) {
  .container {
    width: 100%;
    height: calc(100% - 100px);
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    top: 10px;
  }


  body > .border-bottom-bleu {
    position: fixed;
    top: auto;
    bottom: 0;
  }
  body .container .border-bottom-bleu {
    display: none;
  }

}

@media screen and (max-height: 420px) {


}
