/**
*
* GLOBAL
*
*/
.conteneurCookie{
    font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0px -1px 8px 5px rgba(0,0,0,0.25);
  background: white;
  color: black;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  padding: 22px 32px;
  width: 64%;
  flex-direction: column;
  overflow: auto;  
  z-index: 999999999;
  text-align: initial;
}
.conteneurCookie .titre{
  padding-bottom: 12px;
}
.conteneurCookie p{
  font-size: 14px;
  line-height: 24px;
  margin: 0;
  font-weight: normal;
}
.conteneurCookie p:not(:last-child){
  margin-bottom: 0.5em;
}
.conteneurCookie a{
  color:#0F273A!important;
  text-decoration: underline;
  font-style: italic;
  font-size: 14px;
}
.conteneurCookie a:hover {
  color: #0F273A !important;
  opacity: 0.6;
}

@media screen and (min-width: 2100px) {
  .conteneurCookie {
    width: 50%;
  }
}
@media screen and (max-width: 1500px) {
  .conteneurCookie{
    width: 80%;
  }
}
@media screen and (max-width: 960px) {
  .conteneurCookie{
    width: 100%;
    overflow-x: hidden;
  }
}
@media screen and (max-width: 768px) {
  .cookieOpen.politiquePage .conteneurCookie {
      display:none;
  }
}
@media screen and (max-width: 500px) {
  .conteneurCookie{/*OK*/
    padding: 22px;
  }
}

/**
*
* PRINCIPAL
*
*/
.conteneurCookie .flex-cont{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.conteneurCookie .cookietitre{
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 12px;
  color: #0F273A;
}
.conteneurCookie .flex-cont .flex-texte{
  padding-right: 40px;
  width: 70%;
}
.conteneurCookie .flex-cont .divBoutonCookie{
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 10px;
}
.conteneurCookie .flex-cont .divBoutonCookie .boutonCookie{
  white-space: nowrap;
  display: inline-block;
  border: 2px solid black;
  text-decoration: none;
  transition: all 0.4s ease;
  color:#0F273A;
  cursor: pointer;
  background: #D9D9D9;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 64px;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
}
.conteneurCookie .flex-cont .divBoutonCookie .boutonCookie:hover {
  background: transparent !important;
  color: #0F273A !important;
}
.conteneurCookie .flex-cont .divBoutonCookie .boutonCookie:nth-child(2){
  background: #0F273A;
  color: white;
}
.conteneurCookie .flex-cont .divBoutonCookie .boutonCookie:nth-child(3){
  margin: 0;
}
@media screen and (max-width: 960px) {
  .conteneurCookie .flex-cont {
    flex-direction: column;
  }
  .conteneurCookie .flex-cont .flex-texte {
    padding-right: 0px;
    width: 100%;
  }
  .conteneurCookie .flex-cont .divBoutonCookie {
    margin-top: 10px;
  }
  .conteneurCookie.principal{
    overflow-x: hidden;
    height: auto;
    max-height: 440px;
  }
  .conteneurCookie .cookietitre{
    padding-bottom:0;
  }
  .conteneurCookie .flex-cont .divBoutonCookie .boutonCookie{
    padding-inline: 20px;
  }
}
/**
*
* PREFERENCE
*
*/
.conteneurCookie.preference{
  max-height: 70%;
  overflow-x: hidden;
}
.conteneurCookie.preference .logo-entreprise {
    /*display: none;*/
}
.conteneurCookie.preference .logo-entreprise::after{
  content: '';
  border-bottom: 4px solid #D9D9D9;
  width: 100%;
  display: flex;
  margin-left: -32px;
  padding-right: 72px;
}
.conteneurCookie.preference .logo-entreprise img{
  height: 32px;
  margin-bottom: 20px;
}
.conteneurCookie.preference h4{
  font-size: 18px;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 0.6em;
  color: #0F273A;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc{
  border: 2px solid #D9D9D9;
  padding: 20px;
  border-top: none;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc:first-of-type {
  border-top: 2px solid #d9d9d9;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn{
  display: flex;
  justify-content: space-between;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre{
  position: relative;
  cursor: pointer;
}

/*CROSS DEBUT*/
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre .menu-cookie-cross{
  height: 32px;
  width: 32px;
  position: absolute;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre.open .menu-cookie-cross{
  transition: all 0.4s ease;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre .menu-cookie-cross::before,  .conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre .menu-cookie-cross::after{
  position: absolute;
  content: "";
  background-color: #0F273A;
  width: 14px;
  height: 2px;
  border: solid 1px #0F273A;
  border-bottom: solid 1px #0F273A;
  transition: all 0.4s ease;
  top: 10px;
  left: 0px;
  border-radius: 10px;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre .menu-cookie-cross::before{
  transform: rotate(90deg);
  left: 0;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre.open .menu-cookie-cross::before{
  transition: all 0.4s ease;
  transform: rotate(0deg);
}
/*CROSS FIN*/

.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-titre{
  font-weight: bold;
  font-size: 16px;
  color: #0F273A;
  margin: 0;
  cursor: pointer;
  padding-left: 32px;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-actif{
  color: #2552BB;
  font-weight: bold;
}
.conteneurCookie.preference .texte-preference .div-btn-preference{
  margin-top: 32px;
  display: flex;
  justify-content: end;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-desc p{
  margin-top: 12px;
}

/*SWITCH DEBUT*/
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content {
  --size: 50px;
  --inset: 8px;
  --switch-width: calc(var(--size));
  --switch-height: calc(var(--size) / 2);
  --slider-size: calc(var(--size) / 2 - var(--inset));
  --switch-color-active: #2552BB;
  display: block;
  width: var(--switch-width);
  height: var(--switch-height);
  position: relative;
  cursor: pointer;
  margin: 0;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content input[type="checkbox"] {
  appearance: none;
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content .switch {
  display: block;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border-radius: 999rem;
  background: #ddd;
  transition: all 0.2s ease-in-out;
  border: 2px solid #a1a1a1;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content input[type="checkbox"]:checked > .switch {
  border: 2px solid #00000024;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content .slider {
  position: absolute;
  top: calc(49% + var(--inset));
  left: var(--inset);
  transform: translate(0, calc(-50% - var(--inset)));
  width: var(--slider-size);
  height: var(--slider-size);
  background: #a1a1a1;
  border-radius: 999rem;
  box-shadow: 2px 0px 9px 10px #00000008, 1px 1px 3px 0px #00000024;
  transition: all 0.2s ease-in-out;
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content input[type="checkbox"]:checked + .switch {
  background: #2552BB7A;
  border: 2px solid var(--switch-color-active);
}
.conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content input[type="checkbox"]:checked + .switch .slider {
  left: calc(100% - var(--inset));
  transform: translate(-100%, calc(-50% - var(--inset)));
  background: var(--switch-color-active);
}
/*SWITCH FIN*/

.conteneurCookie.preference .texte-preference .div-btn-preference .boutonCookie{
  display: inline-block;
  border: 2px solid black;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
  background: #0F273A;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 56px;
  text-align: center;
  text-transform: uppercase;
}
.conteneurCookie.preference .texte-preference .div-btn-preference .boutonCookie:hover {
  background: transparent !important;
  color: #0F273A !important;
}

@media screen and (max-width: 500px) {
  .conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn{
    flex-direction: column;
    position: relative;
  }
  .conteneurCookie.preference{
    padding-inline: 22px;
  }
  .conteneurCookie.preference p{
    overflow-wrap: break-word;
  }
  .conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-preference-cross-titre{
    margin-bottom: 30px;
  }
  .conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .switch-content{
    margin-top: 4px;
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .conteneurCookie.preference .texte-preference .menu-cookie-preference .menu-cookie-preference-btn-desc .menu-cookie-preference-btn .menu-cookie-actif{
    position: absolute;
    right: 0;
    bottom: 0;
  }
}